Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
domnit
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
domnit
16y ago
It seems like semicolon insertion is an example of browsers being liberal acceptors of slop. Good that the rules are codified by ECMA, much like HTML5's error recovery parsing rules, but I wouldn't omit semicolons on purpose.
2.
▲
by
domnit
16y ago
Phase-change memory.
3.
▲
Nothing up my sleeve number
(en.wikipedia.org)
3 points
by
domnit
16y ago
|
0 comments
4.
▲
by
domnit
17y ago
Psh, people have known for ages that marijuana can expand the mind. (Sorry, that one was just too easy.)
5.
▲
by
domnit
17y ago
In a real world program you would validate input and make sure you get something callable (with either technique). The only additional unexpected behavior is when there could be unexpected handle_xxx attributes. If we take for granted that
6.
▲
by
domnit
17y ago
As a dynamic language, Python already has similar tables built in. You can use something like: getattr(self, 'handle_%s' % action)
7.
▲
by
domnit
17y ago
Schematic tables [ http://subtextual.org/OOPSLA07.pdf ] are an extension of this idea that can handle arbitrarily complex conditionals. Unfortunately, they only work in Subtext [ http://subtextual.org/ ], an unreleased research language. Sc
8.
▲
How the H1N1 vaccine is made
(kottke.org)
22 points
by
domnit
17y ago
|
2 comments
9.
▲
by
domnit
17y ago
> here is an idea that can be easily implemented right now and that will cover the 100% of the web design community needs.
10.
▲
by
domnit
17y ago
> If you think for a moment how exactly non-standard fonts are used in the web design, it will immediately make perfect sense. They are used sparingly for headers, menus and such and they are always rasterized. Non-standard fonts are us
11.
▲
by
domnit
17y ago
Their claim is pathetic, based on hypothetical misrepresentation. I hope they save face and drop it, and maybe rethink how how many lawyers a community college needs.
12.
▲
by
domnit
17y ago
I wouldn't put all those messages up there with my own copyright notice. Besides that, I only see profile pics next to a few cyclists, so that could use a fix. Seems like this could be useful to someone in that community--maybe try pulling
13.
▲
by
domnit
17y ago
Digg can avoid pissing people off with this by adding their own framebuster. If the frameset's HTTP referrer is Digg, then the DiggBar is a potentially useful toolbar. If the referrer is something else, it should redirect to the original pa
14.
▲
by
domnit
17y ago
If you figure out the answer to this, politicians, PR people, and journalists will be knocking down your door. Once misinformation is publicized, it is very hard to correct. This can only be assuaged by making the public, through education
15.
▲
by
domnit
18y ago
I like this game a lot. There are very few original abstract / geometric games. Tetris is a classic because there is nothing like it in the real world (and because it's really fun). Kudos on creating a new kind of speed puzzle gameplay.
16.
▲
by
domnit
18y ago
Reading is another activity done in sedentary solitude. A seven-year old shouldn't spend all day reading or coding, and most wouldn't want to. I wouldn't fret about how young to introduce programming to a kid. I learned to program when my d
17.
▲
by
domnit
18y ago
They're new, so I don't want to dismiss them, but if their selling point is their larger-than-Google index, I'm not buying. On my sample query, I got a web proxy in both the first and second pages of results. It's easy to have a large index
18.
▲
by
domnit
18y ago
I'm not at the point where I need to disconnect my laptop, but during exams last week and the week before that I used this user stylesheet in Firefox: @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain(twitte
19.
▲
by
domnit
18y ago
This looks very interesting. I'm far from knowledgeable in this area, but I'd think radiation-created transient errors would be a serious problem with something this small.
20.
▲
by
domnit
19y ago
You can fetch all of the comments by comment_link_id in a single query, then work with the result to recursively print the tree.
21.
▲
by
domnit
19y ago
Learning a library is not the way I would recommend learning a language. At 12 years old, javascripter has no time constraint to build a product fast. javascripter, learn about Javascript's language features. Learn about nested function and
22.
▲
by
domnit
19y ago
I haven't gotten through all of it, but I really like the New Turing Omnibus, by A.K. Dewdney. It's about computer science, not how to program, so it would be interesting to non-hackers, too. Even if you are familiar with all of its topics,
23.
▲
by
domnit
19y ago
How odd. I was meeting my dad in NYC, waiting for him in a Starbucks, gave him the corner it was on. He went to the Starbucks 1 block over. After waiting for me a while, he asked an employee if there were any other Starbuckses nearby, and g
24.
▲
USA state-by-state per-capita Walmart vs. Starbucks
(stat.columbia.edu)
7 points
by
domnit
19y ago
|
4 comments
25.
▲
by
domnit
19y ago
You're right, I take back that it's a "bash", but it is informed by anti-gay culture. I don't want to get into a discussion about that, because it's very much besides the point. I only included it because I thought it betrayed the childish
26.
▲
by
domnit
19y ago
What the advice misses is that even at an early stage, you need decisions in place that allow scaling. For example, if you buy 1 truck for your one-person shipping company, you can move 1 container at a time. Adding a second truck lets you
27.
▲
by
domnit
19y ago
Ugh. "Sucks balls." Ignore gay bash and hesitantly click. So new layout features of a beta browser release are breaking some layouts. I wonder if the author ever used a Mozilla pre-release browser.
28.
▲
by
domnit
19y ago
S3 is pay per use, but it's for static data hosting. EC2 is pay-per-use virtual machines, but it's at the granularity of machines. If you need a bunch of real, or real-looking servers, that's good, but it's too expensive if what you need is
29.
▲
by
domnit
19y ago
Thanks for the reply, avinashv--I almost took the article at face value. I should know by now to be wary of "Top n Xs" articles. Good to have both sides, anyhow. George Saunders has a great study of Dubai in his essay collection, the Braind
30.
▲
by
domnit
19y ago
I use NearlyFreeSpeech.net < https://www.nearlyfreespeech.net/> , which I heard about from BugMeNot. It's pay-per-use, so it can be very cheap (equivalent to a few cents / month, except it's not billed monthly). If you have a spike
More ›