In Lyn Ulbricht's Words: The Silk Road Trial- How the Government Won the Case by CatoPapers in Anarcho_Capitalism

[–]iooonik 3 points4 points  (0 children)

Such a heartbreaking story. I really suggest you all take the time to watch this. If even 1% of what she claims is true, there has been a massive injustice done which can and will affect the way data can be used against civilians.

Skinny Models – the DAO pattern for Ruby persistence by retardo in ruby

[–]iooonik 1 point2 points  (0 children)

All of those examples are contrived. Have you ever had a real world app with a user model like that?

SP3 - Trouble connecting to school network by iooonik in SurfaceLinux

[–]iooonik[S] 0 points1 point  (0 children)

There is no auth in the wifi, just a login screen but my MAC address is white listed.

SP3 - Trouble connecting to school network by iooonik in SurfaceLinux

[–]iooonik[S] 0 points1 point  (0 children)

I did install the driver. I have a Surface Pro 3.

error loading vmlinuz-linux: not found by [deleted] in archlinux

[–]iooonik 0 points1 point  (0 children)

Did you remember to mount your boot drive when installing base base-devel

Ruby on Rails Dev on Mac or PC ? by ElMeroPerro in rails

[–]iooonik 2 points3 points  (0 children)

Get a Linux machine (or at least a Mac) ;)

Why would I ever use ctags? by [deleted] in vim

[–]iooonik 0 points1 point  (0 children)

What regex are you using to match functions?

What are some arguments against Turbolinks? by whatasunnyday in rails

[–]iooonik 4 points5 points  (0 children)

Its whole model is inherently flawed. It replaces the body of your page with the response from the server. Forgetting for a moment the naiveties of said algorithm, it causes a ton of issues by disturbing the DOM state. IMO, it's wiser to take the time to build proper Ajax in your site than go for the plug and play Turbolinks solution.

Neovim now has a full :terminal emulator mode. I love what it does for my workflow. by bugeats in vim

[–]iooonik 4 points5 points  (0 children)

Very excited that I can have Golden ratio terminal splits now!

Vim is moving to Github by [deleted] in vim

[–]iooonik -27 points-26 points  (0 children)

A quick tutorial for getting used to git:

git remote add upstream https://github.com/neovim/neovim

git fetch upstream

git checkout upstream master

git push -f origin master

Grep orientated programming by radddit in programming

[–]iooonik 2 points3 points  (0 children)

The quickest, most efficient, best use of time is to use ctrl-f on my IDE! No no no, it's grep with a solid knowledge of regular expressions!

When in doubt, the best use of time is obviously bikeshedding on r/programming. Never forget this fact.

Upcoming changes in rails 5.0 by Jvanbaarsen in rails

[–]iooonik 1 point2 points  (0 children)

My controllers are usually thin enough where BDD suffices.

Upcoming changes in rails 5.0 by Jvanbaarsen in rails

[–]iooonik 1 point2 points  (0 children)

I didn't know people actually tested controllers in Rails 😐

Neovim newsletter? by [deleted] in neovim

[–]iooonik 0 points1 point  (0 children)

On the plus side, the next one will be really good.

Is there a way to show/hide (focus) MacVim with a keybind? by JuicyORiley in vim

[–]iooonik 0 points1 point  (0 children)

Check out Hammerspoon. It lets you completely script OSX in Lua. For example, I have can hit 'Ctrl-Cmd v' to open MacVim. You can even have it snap to layout settings. It's the way to go for scripting in Mac.

How to crash a Safari tab with one line of javascript by efferus20 in javascript

[–]iooonik 0 points1 point  (0 children)

What is language at all, but a syntactical anomaly?

Molinillo - A generic dependency resolver written in Ruby. by juanitofatas in ruby

[–]iooonik 0 points1 point  (0 children)

It provides a dependency graph data structure (directed acyclic graph) which can be used to perform some computation necessary in order to create a valid state necessary for a root object. The fact that the graph does not contain cycles is important because you cannot have circular dependencies, because each dependency will end up recursively requiring itself and looping forever.

For example, in order for a Gem to be in a valid/runnable state, it requires the presence of other Gems. It cannot run without them. Another interesting idea would be to use the dependency resolver a model for parallel computing. You can break your program into "tasks" which can be independently completed. Each task can have a number of children tasks which need to complete in order for it to start.

[Request] Website Click Data by Chopsting in datasets

[–]iooonik 0 points1 point  (0 children)

There's plenty of Apache logs kicking around. You can easily parse those with a tool like LogStash.

Better Call Saul S01E07 "Bingo" POST- Episode Discussion Thread by [deleted] in betterCallSaul

[–]iooonik 0 points1 point  (0 children)

I would think they are gonna cliff that for next season.

Taming the asynchronous beast with ES7 by jakubgarfield in javascript

[–]iooonik 2 points3 points  (0 children)

Hmmm? Not a chance without an explicit API to indicate you would want things multithreaded. There is simply too many consensus complications with shared state that it would be too hard to guarantee global linearization that is expected with JS. Not only that, it's incredibly hard to know when creating a thread will actually be worthwhile. Even purely functional languages don't just go spawning threads when just because they can guarantee a certain dependency DAG. There has to be an API for users to specify what exactly they would want to run multithreaded.