Hacker Newsnew | past | comments | ask | show | jobs | submit | thikonom's commentslogin

A somewhat similar project by Man Investments: https://github.com/manahl/arctic


it would be cool to see this window effect when using splits on vim. Anyone knows if there is a terminal plugin for that ?


apologises, i didn't know that it was not the original article. Mods can edit the link. robert_tweed you can file a DMCA Takedown Notice to the owner of the blog.



pretty poor language choice to teach parallel programming concepts


you could use move_iter() instead of iter(), its more idiomatic.


Huh? They serve two different purposes. `move_iter` returns an iterator that consumes values (i.e., ownership transfers) while `iter` consumes borrowed references to values (i.e., no ownership transfer).

The only place in the code, that I can spot, where `move_iter` is even available is on line 46. But I don't see any compelling reason to use move_iter there (plus, `validation_sample.len()` in the final println would have to be moved up and let bound before the call to move_iter).


I think they were trying to say that borrowing is preferred over ownership transfer.


I don't need ownership inside the loop, so using `.iter` is fine. `.iter` is also allows the inner loop to be free from destructors, meaning it will be tighter and (likely) faster.


For network bound operations Twisted's cooperate / coiterate come handy.


does anyone know the coloscheme used in the snippets ?


It's using highlight.js, but doesn't seem to be one of the default styles. [0] Maybe it's custom?

[0]: http://highlightjs.org/static/test.html


The title of the article sounds oxymoronic.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: