Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rmrfrmrf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
451.
▲
by
rmrfrmrf
11y ago
It's OK, I'm sure whoever did it had a warrant.
452.
▲
by
rmrfrmrf
11y ago
Oh wow, I totally missed that. Thanks for clarifying!
453.
▲
by
rmrfrmrf
11y ago
sure :P (EDIT: Just kidding; the parent's point totally flew over my head). I've actually created classes this way in the past when I worked with a team of enterprise Java developers lol. You could also make magic getter/sett
454.
▲
by
rmrfrmrf
11y ago
That's part of why I think CoffeeScript isn't going anywhere anytime soon.
455.
▲
by
rmrfrmrf
11y ago
Thank you for this detailed and informative explanation!
456.
▲
by
rmrfrmrf
11y ago
Pardon my ignorance, but what is a graph database?
457.
▲
by
rmrfrmrf
11y ago
I never thought of using a typealias for a function or specific form of dictionary; that's very cool! Thank you!
458.
▲
by
rmrfrmrf
12y ago
Coming from a print design background, I've actually had a really hard time developing effective user interfaces because I've been stuck in the "print" mindset. Left-aligned text certainly looks good on print, but in UI
459.
▲
by
rmrfrmrf
12y ago
Do as they say, not as they do ;)
460.
▲
by
rmrfrmrf
12y ago
One would think it's obvious, yet this is what the person in the linked article suggests doing :/
461.
▲
by
rmrfrmrf
12y ago
The "concatenation case" completely defeats the purpose of using a pepper and leads me to believe that you're not qualified to be giving this kind of advice.
462.
▲
by
rmrfrmrf
12y ago
Yep, it's already happened; CoffeeScript just implemented support for generators with v1.9.0.
463.
▲
by
rmrfrmrf
12y ago
::adds "publicly spanked by Brendan Eich" to resumé:: But seriously, that article is insanely ahead of its time. Or we're progressing reeeaaally slowly. Or both.
464.
▲
by
rmrfrmrf
12y ago
JavaScript has been in the throes of an identity crisis since its inception, and IMO we're just now starting to get to a point where developers are leveraging its power and dynamism in its own right rather than trying to cram into a st
465.
▲
by
rmrfrmrf
12y ago
The biggest potential problem is using a file/global-scoped "use strict" directive in a .js file that gets concatenated and minified with other files that are not strict mode compliant, thus unintentionally modifying the beha
466.
▲
by
rmrfrmrf
12y ago
I guarantee you're not designing your databases correctly if they only take you 10 minutes and only a CREATE TABLE statement every few months.
467.
▲
by
rmrfrmrf
12y ago
If you're doing a "tracer bullet"-style method of development where the requirements aren't quite set in stone, MongoDB and other schemaless databases can really save time when it comes to adding basic functionality quic
468.
▲
by
rmrfrmrf
12y ago
I read that statement less as arrogance and more as one's internal thought process when an interview starts to go in the wrong direction. Before any interview or presentation, I have an idea in my mind of how the conversation is going
469.
▲
by
rmrfrmrf
12y ago
You're absolutely right, for what it's worth. Direct <script> tag injection didn't work when I tested it, but the following sure does! new Timesheet('timesheet-default', 2002, 2013, [ ['09&#
470.
▲
by
rmrfrmrf
12y ago
If PRs were a instantaneous thing, I don't think it would be a problem. However, if you've ever looked at a network graph of a repo that requires rigorous code review or doesn't have a diligent maintainer, some of those forks
471.
▲
by
rmrfrmrf
12y ago
Close, but I checked it and the value of `i` won't bind to the function. You also have to use `...` (exclusive range) instead of `..` to prevent an off-by-one error. Here's one way: foo = (n) -> ((a) -> a).bind(null, i
472.
▲
by
rmrfrmrf
12y ago
> it reinforces my own feeling that "The Internet" might one day be regarded as nothing more than a phase that simply faded in and out of our human evolution. Ah, yes, much like industrialization faded after the transcendentali
473.
▲
by
rmrfrmrf
12y ago
I really can't stand when people get caught up in formalities. As far as I'm concerned, all meetings are time-wasting leisure activities where people revel in their ability to bullshit their accomplishments of the past week. We ha
474.
▲
by
rmrfrmrf
12y ago
Just looked this up and you're right: in Firefox 3.6, there's a bug where the XMLHttpRequest response body won't be populated by Firefox if the status code is 400. Seems like a little-known bug that has been vaguely reference
475.
▲
by
rmrfrmrf
12y ago
Looks like an interesting workflow, but I think I still prefer using a compile-to-js language like CoffeeScript over the use of shims. I know it's a silly thought, but to me, shims sort of violate the separation of responsibilities bet
476.
▲
by
rmrfrmrf
12y ago
That's what open source is for, my friend!
477.
▲
by
rmrfrmrf
12y ago
Seems like it could be used as a way to lazily copy objects; a solution like this could make a lot of sense if, say, a server had entire objects instantiated and the client only needs to know they exist, but not what each object contains.
478.
▲
by
rmrfrmrf
12y ago
* Cue
479.
▲
by
rmrfrmrf
12y ago
In a strict typing environment, the other major issue is that int is cross-platform and forward compatible whereas uint32_t, uint64_t, uint8_t, uint16_t, etc. will all always be unsigned within a specified bound, so whenever we have 128-b
480.
▲
by
rmrfrmrf
12y ago
I'm ashamed to say that, in the few Python projects I've done, I have resorted to delegating date parsing out to PHP in the past given its amazing date parser. Aside from how silly that sounds, it's actually a pretty fast sol
More ›