Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
judofyr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
601.
▲
by
judofyr
15y ago
For Rubyists who wants to play with DCPU-16: https://github.com/judofyr/rcpu It's a DCPU assembler (written in a Ruby DSL) and an emulator/debugger (which allows you to step/run through the execution). Next up I'm going to implement libra
602.
▲
by
judofyr
15y ago
I don't know much about Python, but how does Request/WSGI solve async/long-polling/WebSockets? It would be a shame if they re-did the HTTP stack without solving these issues.
603.
▲
by
judofyr
15y ago
I keep hearing about this, but has anyone actually done this?
604.
▲
by
judofyr
15y ago
I agree that prototypal inheritance is simple and powerful; JavaScript's version of it on the other hand… By introducing constructors you get this weird mix between classical and prototypical which isn't elegant at all :(
605.
▲
by
judofyr
15y ago
Missing from the FAQ: What's the difference between Freebase and Wikidata?
606.
▲
by
judofyr
15y ago
I think he mixed up the observation and the conclusion/interpretation: Well, as soon as you "observe" it, we will no longer see an interference pattern
607.
▲
by
judofyr
15y ago
Am I the only one who is a bit underwhelmed by this "amazing" blog network? Most of the blogs seems like linkblogs that doesn't add more information. When I see the materialistic design now, I just think "oh look, just another shallow blog.
608.
▲
by
judofyr
15y ago
Right, but then the employee will only ask for both your passwords…
609.
▲
by
judofyr
15y ago
Interesting. This doesn't happen here (Chrome on OS X).
610.
▲
by
judofyr
15y ago
> One guy being annoyed that his super-elite design can be replicated in a matter of hours is not a reason to backtrack. It took Curtis a lifetime of experience to end up with this design. Simplicity doesn't mean there wasn't hard work
611.
▲
by
judofyr
15y ago
There are two aspects here: One is the visual design, and even the author agrees that it's probably too similar: http://news.ycombinator.com/item?id=3744356 The other is the idea/concept. Creating open-source versions of unique ideas is n
612.
▲
by
judofyr
15y ago
Note that this is from Nov 2011. Since then there's been a massive discussion about handling requires in a multi-thread environment. A lot of the problems with autoload comes from the fact that requiring isn't thread-safe, so if that gets
613.
▲
by
judofyr
15y ago
Or you can buy the tmux book for $11 which tells pretty much the same: http://pragprog.com/book/bhtmux/tmux
614.
▲
by
judofyr
15y ago
How so?
615.
▲
by
judofyr
15y ago
Implicit self and late binding in Ruby makes it hard to implement a proper namespacing system without breaking other semantics :( After working with Perl (which has a similar namespacing), I must it's something I really miss when I come bac
616.
▲
by
judofyr
15y ago
GitHub uses the email-field in the commit to connect a user to a commit.
617.
▲
by
judofyr
15y ago
There's also Bananajour if you want to share on the local network: https://github.com/toolmantim/bananajour
618.
▲
by
judofyr
15y ago
I think it's perfectly fine to not "give him a break." How else is he going to learn manners?
619.
▲
by
judofyr
15y ago
Why isn't this possible? if true: (something; then_another_something) if true: do something then_another_something end Then "do … end" is the same as "begin … end" in Ruby. Also, you might be able to get ri
620.
▲
by
judofyr
15y ago
I'm not against using REPL, but it's not viable to solely write in REPLs, therefore we need to teach "how to run things in files" and then we're back at crappy HTML-files.
621.
▲
by
judofyr
15y ago
Right. Let's teach programming in an environment that we never use to create full projects. REPLs are fine to experiment with, but it's important to learn how you would write "real" code. Dumbing down this essential concept is just silly.
622.
▲
by
judofyr
15y ago
> The obvious benefits of Javascript in the browser are that it is distributed universally Pretty much any open-source language is available on all platforms. Besides, you still need to setup an editor, so it's not like you can skip the
623.
▲
by
judofyr
15y ago
> There really is no setup Except for creating an HTML-file and understanding how all that works. > and the OS becomes (to a degree) irrelevant. This is pretty much true for any language as long as you don't use platform-specific f
624.
▲
by
judofyr
15y ago
See also Haiku.rb: http://timelessrepo.com/haiku
625.
▲
by
judofyr
15y ago
> Ruby Debug is impossible to get working in 1.9.3. Ruby 1.9 ships with a debugger: require 'debug' Besides, I've often find Pry way more useful: https://github.com/pry/pry
626.
▲
by
judofyr
15y ago
> It's been a long time, but I think your assumption is probably flawed. My assumption? My assumption was merely that you should measure it before you start worrying about it. I'm not trying to say that isn't a problem (it might very
627.
▲
by
judofyr
15y ago
And in the same way: measure how long it takes to get an answer from your DB before you start worrying about these number.
628.
▲
by
judofyr
15y ago
When you have public profiles, checking for presence of an account is pretty easy anyway.
629.
▲
by
judofyr
15y ago
Hacker News is smaller, yet takes longer to serve: http://cl.ly/31360A1E2s2j031s0S2O
630.
▲
by
judofyr
15y ago
Core != Stdlib. Core is implemented in C. There are 111 methods just on the String class in core…
More ›