Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diN0bot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
481.
▲
by
diN0bot
17y ago
one neat way to define a class is like so: function MyClass(a, b) { // use this function as an instance constructor // eg, var m = new MyClass('foo', 'bar'); this.a = a; this.b = b; } MyClass.prototype = {}; _extend(MyClass.pr
482.
▲
by
diN0bot
17y ago
i read a sci fi story recently in Asimov's in which every activity was rankable. it tracked a young man's attempts to "become somebody". he got to 124,425th in yoyo, 513,130th in honey making, 23,098th in blah. you get the point. the story
483.
▲
by
diN0bot
17y ago
or a universal topic dump. (my biggest pet peeve with hacker news)
484.
▲
by
diN0bot
17y ago
you can use factories for creation, which abstracts the conditionals into nice bundles. you can in a sense do factories regardless of having classes, in that you can always factor code into happy utility methods. the insight is thinking abo
485.
▲
by
diN0bot
17y ago
re: walking after a year: this is curious to me. on the one hand, success can spring from numerous failures, the numerous implying fast! imagine the inventor always inventing, multiple projects at once! a new one every week! on the other ha
486.
▲
by
diN0bot
17y ago
i was hacking on http://raphaeljs.com/chart.html first because the animation is just so beautiful. definitely got me digging into the SVG path specs http://www.w3.org/TR/SVG/paths.html#PathData but man is that code a rats nest. i
487.
▲
by
diN0bot
17y ago
dude, it's iTunes. (seriously. it's like reading a name literally versus the immediate brand and big-picture recognition of seeing a logo.)
488.
▲
by
diN0bot
17y ago
thanks for the heads up!! i'm mucking with the code now. edit: i had to patch uses of this.raphael.is(obj, "array") with my own isArray function, since the raphael object doesn't have an is property. i was using the latest raphael.js in the
489.
▲
by
diN0bot
17y ago
i like raphaeljs. i'm right now hacking on some graphs and wondering if i should merge some of the demo's from raphaeljs's homepage into a graphing library or not... i'm on iteration 2 after static google code api charts, so a little librar
490.
▲
by
diN0bot
17y ago
i just had a look (thanks for the link). i downloaded some code--good stuff, no doubt better with the full explanations. for various reasons i'm not buying the book. i do strongly recommend reading resig's blog posts. some excellent gems th
491.
▲
by
diN0bot
17y ago
i'm going, too. anyone want to do a hn meet up, at least briefly? feels kind of silly, what with being surrounded by tons of startup folks already, but might still be fun. since not much of the schedule is known, i'm giving the following sh
492.
▲
by
diN0bot
17y ago
i agree with you, but i've seen SO many public service announcements about Do Not Shake Babies that i've stopped questioning this. now, when i hold babies, i'm overly cautious not to jostle them.
493.
▲
by
diN0bot
17y ago
maybe they're happy just reading the RSS?
494.
▲
by
diN0bot
17y ago
very nice poem. probably doesn't belong on hn, but i'm glad i happened upon this little gem.
495.
▲
by
diN0bot
17y ago
i don't know how true it is, but i loved the story. at first the statements seem random, or rather i didn't find any emotional meaning to them. then i felt warmth and comfort. the trees and forests grow back. maybe humans haven't damaged th
496.
▲
by
diN0bot
17y ago
> "about 9 feet tall and weighed about 143 pounds." that doesn't seem right. maybe the trex still had bird-like bones? it's quite a muscular animal...maybe it means head to tail rather than height, but that still seems awfully light. ma
497.
▲
by
diN0bot
17y ago
so....what's excellent about it.... or do you mean you find it useful to use? i'm personally very cautious about introducing "magic" and "voodoo" into my repositories. i many times have to tweak libraries (add features, fix bugs), so it's w
498.
▲
by
diN0bot
17y ago
re: Haber: increasing the limit is both a good and bad thing. maybe it provides more people to tackle the problem of the limit, and maybe it makes the problem of the limit even more tragic.
499.
▲
by
diN0bot
17y ago
my immediate reaction to your comment was "wow good point." it's so easy to think our current values and trends are ubiquitous. so then i got to thinking...maybe our current values and trends, in this case promotion, were the same, but the
500.
▲
by
diN0bot
17y ago
meh. sounded kind of one-sided to me.
501.
▲
by
diN0bot
17y ago
uses google charts to generate charts. that's what i use on a similar project (also flot). i was hoping to see something with a little more javascript interaction. i have the same problem exploring Felton's reports: jumping around is jarrin
502.
▲
by
diN0bot
17y ago
even better would be a web app that took form html as input and spit back warnings and errors. it wouldn't be able to complete the whole check list, but at least you wouldn't have to look at 59 items every time.
503.
▲
by
diN0bot
17y ago
it's interesting to watch Nina Paley's interviews on YouTube. For example, on credit: http://www.youtube.com/watch?v=ZyH3UvfjGag&feature=relat... Incidentally, I started watching these interviews because when I got to the end of S
504.
▲
by
diN0bot
17y ago
> "If I decide to sit behind a desk, take calls, devise flawed business plans, and lie, do I DESERVE to be compensated like a bank CEO....If I sing and prance around on stage, am I entitled to $110 million a year? It's the same work Mad
505.
▲
by
diN0bot
17y ago
i wonder which way the causation is. maybe people who crash faster tend to be early risers because they crash.
506.
▲
by
diN0bot
17y ago
this is awesome. i recently tried to use GitHub for finding fun hacks, but i just couldn't find stuff very well. i'd like to find a community of hackers and startupy folks actually working on open source code, and i think this will help. mo
507.
▲
by
diN0bot
17y ago
i had the same problem. checking the READMEs of the entrants, it seems to be a GitHub Project Recommendation contest. for example, check out http://github.com/jeremybarnes/github_contest/tree/master
508.
▲
by
diN0bot
17y ago
my housemate's first python script was to help with documenting processes such as this one. when he runs the script it takes a screenshot and then provides a text box for him to comment in. it basically added version control to his mechanic
509.
▲
by
diN0bot
17y ago
ps - i'm not sure why there are <p> in my post. i put two line breaks between paragraphs.
510.
▲
by
diN0bot
17y ago
hmm... it's easy to view the huge popular projects and the created 2 hours ago projects. i'm looking for the goofy, short but completed projects in between. plus, it would help if the search results showed more of a description and possibly
More ›