Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
judofyr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
571.
▲
by
judofyr
14y ago
use bignum; use v5.10; =cut def Factorial(x): output = 1 for i in xrange(x): output *= (i + 1) return output =cut # Direct translation sub factorial { my $x = shift; my
572.
▲
by
judofyr
14y ago
It's not abstractions per-se I'm arguing against. It's when you have a slightly flawed abstraction and instead of fixing the abstraction you introduce another abstraction to "hide" the flaws.
573.
▲
Abstraction Creep
(timelessrepo.com)
29 points
by
judofyr
14y ago
|
6 comments
574.
▲
by
judofyr
14y ago
Direct link to the PDF: https://www.dropbox.com/s/dnf2bxtsvu37z3v/pdf-thing.pdf
575.
▲
by
judofyr
14y ago
Someone has to say it: Damn, this looks fucking ridiculous! First we have the false modularity. You see a bunch of separate stuff (classes, methods, whatever) and think "Wow, nice, now we can reuse this all over the place!" The truth is t
576.
▲
by
judofyr
14y ago
The point of this article was that you can use a SHA1 in the pull-request dialog. Because no-one can change a SHA1, it's pinned to that specific commit.
577.
▲
by
judofyr
14y ago
In Ruby: foo = "Hello" def foo.to_s; "Hello world!" end Because "def" introduces a new local variable scope, you'll have to use #define_singleton_method if you want to close over variables: foo = "Hello" old = foo.met
578.
▲
by
judofyr
14y ago
The paradigm of a knob isn't that great at all. I think it's only because of the size contraints (you often need many controls) that you see knobs being used over sliders. A slider instantly tells you the current level (relative to minimum
579.
▲
by
judofyr
14y ago
It's pretty easy to extend it to several rules: https://gist.github.com/2589227#gistcomment-300423
580.
▲
by
judofyr
14y ago
And? This isn't very surprising. Exceptions are slower than regular/shortjump control-flow.
581.
▲
by
judofyr
15y ago
We may need your permission to do things you ask us to do with your stuff, for example [..]. This includes [..]. It also includes [..]. You give us the permissions we need to do those things solely to provide the Services. So I give Dropb
582.
▲
by
judofyr
15y ago
All iPhones prior to the 4S has been announced at WWDC and then released ~1 month later.
583.
▲
by
judofyr
15y ago
I think (with iPhone 4S) they're moving the release schedule to the autumn.
584.
▲
by
judofyr
15y ago
He's only outwitting the Prisoner's Dilemma in the sense that he's shifted his main goal to get some money (instead of everything). There are more certain strategies if that's your goal though: You can get the other part to join a mutual
585.
▲
by
judofyr
15y ago
> (from a startup POV)
586.
▲
by
judofyr
15y ago
Here's a slightly more fascinating video of Oobleck (water + cron starch) on a speaker: https://www.youtube.com/watch?v=Yp1wUodQgqQ
587.
▲
by
judofyr
15y ago
8 month ago: http://news.ycombinator.com/item?id=2831455 (65 comments)
588.
▲
by
judofyr
15y ago
So it's actually 100% the same as you would do with on-the-fly migrations in SQL: (1) Add column and add code moves the old data when you access it. Deploy. (2) Let it run for a while. Run a background job that migrates the rest (this might
589.
▲
by
judofyr
15y ago
> Why isn't this work a part of an official ruby release? nobu's lazy sweep collector is in trunk. Sokolov Yura's patches have been submitted; some of the merged, others introduce slight incompatibility issues.
590.
▲
by
judofyr
15y ago
https://github.com/mappum/0x10code Node.js. Express. Jade. MongoDB.
591.
▲
by
judofyr
15y ago
Ugh, what a crappy description. What about "Jade: Haml-style, indentation-based, interpolation template engine for Node.js"?
592.
▲
by
judofyr
15y ago
1.9.3 is stable and fine for deployment.
593.
▲
by
judofyr
15y ago
> The odds of notch finding this standard favorable to my standards are about the same as him favoring my standards. Huh? Notch doesn't have to give a shit about these standard. He's writing the emulator (and memory-mapped I/O); we stil
594.
▲
by
judofyr
15y ago
And? This is pretty old news…
595.
▲
by
judofyr
15y ago
Maybe the current drafts are flawed (e.g. I don't see a point for a file system draft at the moment), and maybe the people aren't the best, but the point is that we need to communicate and collaborate . I know we all like to say "why shoul
596.
▲
by
judofyr
15y ago
Too bad it doesn't follow the calling conventions proposed on #0x12-dev: https://github.com/0x10cStandardsCommittee/0x10c-Standards/b...
597.
▲
by
judofyr
15y ago
> rainbow tables can be built on-demand That's what we call bruteforce…
598.
▲
by
judofyr
15y ago
How does this improve salting? The point of salting is to avoid rainbow tables; as long as the salt is random you should be safe.
599.
▲
by
judofyr
15y ago
> What's the point of salt if salt is in plain sight? If you by "plain sight" mean "the same place as the hash" you're misunderstanding what the salt is for. If you want to access X servers in order to verify a password, you don't need
600.
▲
by
judofyr
15y ago
Nitpicks. It seems that he's talking about password hashing: > "Hashes are designed to be tamper-proof". Wrong. Cryptographically secure hash functions are. > "Hashes, when used for security, need to be slow." Wrong. Password has
More ›