skysight-inc/HackerNews huggingface dataset:
If you cache on the level of SQL-statement strings you can skip the transformation into the AST. It's very cheap to quickly hash the string and look it up. If you have a site that is going to use the same queries over and over (e.g. for front-page data or popular categories) then the query will likely be exactly the same and the string hash is cheaper. If you had to build an AST for every single query you're just adding an extra layer of complexity that won't gain you much.

The only reason I can think of for a query with different literals in the conditionals to have a different plan would be if a histogram of frequencies was actually kept such that different literals created large differences in result sizes which then get fed into a join and affect the join logic. But that's going to be pretty rare and is a level of optimization that is unnecessary. It's also not going to make a huge difference unless the query is very complex, because the plans for simple queries are... simple.
And coincidentally, leiningen is having problems downloading an unrelated project from google code. Surely HN didn't overload google code?
For sub-hour scheduled or recurring tasks, most users prefer a scheduled background task with DJ, rather than old-school cron. There are a bunch of ways to do this, for example:

Delayed::Job.enqueue(work, 0, Time.now + 5.minutes)

Docs: http://docs.heroku.com/delayed-job
This should print YayYayYay.

Here is code that calls the above repeat() function, printing what it returns:
print repeat('Yay', False) ## Yay

http://code.google.com/edu/languages/google-python-class/int...
Windpipe transplant success in UK child (Crafted from his Stem Cells)
Ten Keys to Winning Any Argument
Aldi has quite a success in the US now. Walmart tried to get into the German market, OTOH. They give up after wasting a lot of money. There was more competition then they could take.
Which isn't necessarily right, the whole "good code is tight code" thing.

If you're writing something simple, abstractions are probably just extra typing.

If you're building something that actually has multiple parts, those parts should be abstracted from each other.
Browser cache it is. After a reload the number shows as 1.2.
Just installed an Intel budget ssd two days ago, fresh updated install of Ubuntu 9.10 had the boot time cut down by just over 10 seconds compared to the mechanical drive. Apps start very quickly GIMP, Blender, OO Writer et cetera are all under 2 seconds. 2-3 meg pngs opening in the GIMP take a fraction of a second. "sudo hdparm -tT /dev/sda1" nets ~1330MB/sec over many runs for cached reads on the Intel and on the two mechanical drives. Buffered disk reads on the Intel are in the 156MB/sec range, and 51 and 58MB/sec on the mechanical drives. 6 seconds or so to transfer half a gig of DV video from the mech to the ssd. It's also very quiet so you don't have that grinding on boot or opening a folder with pdf/image previews. Chrome and Firefox don't seem to have the stalls that they did earlier when transferring to disk. Installation plate to fit into the 3.5" bay was fiddly even with a removable hdd cage, so was plugging in the cables as it's such a tiny drive. Very pleased all up, 5/5 on value (remember it's only 40gig though).
so, like, did he press battery charges against the border guard? or is it not possible to be battered by an officer.
What's so inane about "Ride the tiger / You can see his stripes but you know he's clean"? Pretty deep to me.

Seriously, though, I'm a fan of Blue Oyster Cult's lyrics, which can range from pretty nonsensical (She's as Beautiful as a Foot) to basically the straightforward relation of a story (Then Came the Last Days of May).
I've seen a few simple hello world programs using Node.js. Anyone have a link to something a bit more complex?
With Outlook, with a few lines of VBscript, you can iterate over the addressbook, for example. With Pine, you, umm, can't. Outlook is vulnerable because it exposes features that can be easily abused. Pine isn't because it does less.

Now if you are a corporate software developer and you want to build some sort of workflow application (remember this is in the days before the web was ubiquitous) you could very easily do it with just Outlook and Exchange, which you had. Chances are someone in your department could do it, you wouldn't even need to involve your IT department.

Microsoft were naive to think that the features they included wouldn't be abused, I'm not excusing them there. Of course software can be more secure if it does less. Like the very best firewall is the AirGap(tm).
Wow. I wasn't aware this existed. T-Mobile needs to advertise this because this is worth switching for. Now, I just need to wait out my ATT contract.
Germany has companies like Siemens. With a couple of hundred thousand employees all over the world. Hundred thousand in the US alone.
very true. I'd like to touch on that next actually, and how it ties in with abstract art, which needs to be interpreted more than 'sensed'.
http://dl.dropbox.com/u/135901/rare_words.py
You could have a cheapo server be the "timekeeper" that sends a web request every minute to a heroku app which in turn does whatever you need.
but fear that electromagnetic RADIATIONOMFG causes cancer

That is certainly sound science - certain wavelengths of electromagnetic radiation cause cancers. Why do you think people are advised to avoid prolonged exposure to sunlight (ultraviolet spectrum), or are given lead protection when receiving X-rays (x-ray spectrum)?

Your post is an excellent example on how superstition and ignorance spreads; when someone spouts nonsense and falsities with an air of incredulity. Please, if you do not know what you are talking about, do not speak on it.
On a weekend night, I have been known to get a bit drunk and put on some Pink Floyd, sometimes on vinyl if I have the album I want. So yeah, some of us uni kids still listen to the full albums.

But not the Grateful Dead. You hear "Friend of the Devil" and "Casey Jones" and think, oh hey, these guys are pretty good. Then you hear pretty much anything else they've ever done and realize that most of it is a session where everyone was too wasted to remember when to stop the song.
Nothing says the ear can't be trained. But there's always innate capacity you start with. Your talent (or ability, if your wish) depends on both. That's why I said "I'm not so sure it's all about education", the key word being "all".
This is my inscrutable face.
A lot of people teach music theory as a kind of musical analysis. This is wrong, both as a practical matter and a historical one--for instance, harmonic theory was first exposited by Hugo Riemann well after the classical period was over, and voice-leading by Fux long after the death of Palestrina, the greatest of the 'voice-leaders'.

Analyzing music makes about as much sense as analyzing food. You can't describe musical deliciousness, you just taste it, and certain talented people can make new kinds, so long as they are well versed in the ingredients. That's what music theory is--being able to think about ingredients, so you can create and/or execute musical recipes.

I hope that analogy wasn't too silly.
The go programming language also has such a dashboard. http://godashboard.appspot.com/benchmarks Takes a while to load, fyi. I think dashboards like these are a great idea and all implementations should have something like it.
The 'socialist internet' discovered in Chile by Pinochet after his 1970s coup
True! I tried salsa and hated the music! After I tried lindy hop and loved it! I also like classical music but what I hate at the radio is the tone of the radio guy (boring and try to say stuff I don't understand)... less talk more music! People do like classical music in movies, right?
Whatever bebop did to "destroy" the jazz that came before it very likely would have happened anyway. The big band jazz of the sort Ellington was best known for was dying out, primarily for financial reasons, and an increasing number of people who wanted to dance along with music were dancing along with rock rather than jazz.

But, looking back at the big picture that even Ellington couldn't see at the time, I don't think that bebop destroyed jazz at all; it was the next evolutionary step, just as Ellington's jazz was a step beyond Dixieland-style jazz.
Very interesting articles from Wired where one of their writers tries to disappear and there's a contest to find him:

http://www.wired.com/vanish/2009/08/author-evan-ratliff-is-o...
http://www.wired.com/vanish/2009/11/ff_vanish2/
http://www.wired.com/vanish/
WWF? World Wrestling Federation? haha
Even With 8.2 Million Uniques, 4chan Is Only Worth $45,000
"PALM's cash, cash equivalents and short-term investments balance was $591.9 million at the end of the third quarter of fiscal year 2010."

They are burning through cash right now, but with a market cap now just shy of $700m I think a buyout is reasonable . . .
It seems to me like it's only dangerous in the context of XSS or bad server-side validation. With Firebug I can run any arbitrary JS on any website I like, even change what's already there. But that just affects me, unless the site uses what I can modify on the server and doesn't validate it there.
Shouldn't this have been implemented as a wiki?
You mean like the WePad?
Robert'); DROP TABLE Students;
I can't wait for an iPad/iPad-like device with a nice back light for reading. I can't read printed text below about 14pt comfortably, and I can't read e-Ink at any point size comrotably. I've had to resort to reading ebooks on the desktop, or laptop, where I can enlarge the font AND have the back light. I know a lot of people don't want the light for reading, but for a lot of visually impaired users, the light is essential to being able to see the text.
http://www.jazzoasis.com/methenyonkennyg.htm
Isn't it important to define success conditions before throwing around words like "failure"? Usually it's considered two or more people "fail at conversation" if they don't manage to:

1) understand what others are trying to convey

2) make others understand what they're trying to convey

Even given that definition, it's questionable whether the listener or the speaker failed, if the listener does not understand the speaker's language. Was it acceptable to expect the listener to understand it?

Without going into any further details, my point is that I think your metaphor is inadequate, basically because it implies that the artist's intention is invariable to have his or her art appreciated by as many people as possible.
The current market share of Jazz in America is mere 3 percent.

That doesn't mean most people don't like Jazz. It just means they don't tend to seek it out ahead of other alternatives. Jazz isn't associated with pop culture which is to say sex, relationships, and high school / college kids. But most people, should they find themselves in a space with a good jazz band playing, would enjoy it.
I love it! Jetzt geht's los!
I don't know, I don't think it is. He and his band were killing it. Tons of energy, you couldn't help but want to get up. They were going to have a good time whether the audience wanted to or not.

But still, the demographic at a place like that is 50+, white, tourists, with disposable income paying a $35 cover ($65 on the weekend). It's $60 for a cheap bottle of wine. Young people just can't afford to be invested in it, so they go drink PBR on the LES and dance to Dam-Funk DJing.
Definitely a good idea. Blogs are inherently non-dynamic, except for the once-in-a-while article posting, for which you can have a tiny piece of public-facing software dedicated to that one small task (if you even want that). Or your software can just rsync the new version of your blog to the live server.

I've written off commenting on blogs... so while that was the reason why I made Angerwhale dynamic, I will never be tempted to make that mistake again. Blogs are static pages with an index, per-tag indexes, and a few XML feeds. No database queries should be made to show someone a blog post.
RedMonk's Stephen O'Grady: Why I Am Against Software Patents
Jeff Dean is like a god around here. Fact: Jeff Dean was forced to invent asynchronous APIs one day when he optimized a function so that it returned before it was invoked. Also, gcc -O4 sends your code directly to Jeff Dean for a rewrite.
It's not centered around libel, at all. There's only a very small percentage of 1 star reviews, less than 2%, and most of them make their point without being rude or hateful.

Anything that seems hateful, defamatory or gossip-like gets censored from public view and hidden from the search engines.

Thanks for the feedback about the categories. I'm working on allowing people to narrow down categories like you described.

I'm open to any suggestions you may have that would make it seem less "centered around libel" - I thought I was doing a good job with it already, but maybe not.
The analogy isn't silly, it's very apt and I've used it before. The problem is that there's nothing wrong with associating analysis with music theory. Music theory is not merely analysis, but it's still an important component just as being able to identify the different spices in a dish is an important component of being a cook.
Shrug. It's been around for ages:

http://www.idealist.org

Not sure why this is a big deal.
Yup! Our new site has only been up and running for 9 days, but already seeing an influx in upgrades. It's too early to tell if that's from the new design, but I believe it's being able to upgrade immediately.
OK for this particular cause. I was more about a general stance: trying to slow down the rate of change in languages. The slower the change, the less confusing the language.
I'm doing this solo and have a lot on my plate, but I'll get there! :)
This argument is not sound at all. The statefulness of your code has nothing to do with why we write unit tests. Even if you write a purely stateless function, it would still be useful to write a unit test to check for correctness. If you are doing TDD, you wrote the test before you wrote the function and that way you know exactly when you are done (because the test now passes). If you wrote your test afterwards, it is still useful if you ever change the behavior of the function, because any unit tests that were written that use this function will now let you know where and in what manner your change has affected the entire code base.

If you are writing bad stateful code that has a lot of bugs and you are not smart enough to figure out how all the states interact, unit tests will help you a lot, but there are many other scenarios where unit testing is useful.

I would not say good code has few unit tests. I say arrogant code has few unit tests. If you write few unit tests, as the size of the codebase grows, you have increasingly less certainty about how any change to the existing codebase will affect other parts. When the codebase is small, this is not a problem. If you are very intelligent, the size of the codebase that you can manage in your head might be quite large. But you are just wasting mental capacity that might have been doing so many more interesting things if you didn't have to remember everything and could trust your unit tests to give you the information you need when you need it.
On further reflection, so why exactly was he punched in the face? The article doesn't say, and google is flooded with biased 'omgwtfbbq' stories. I mean it seems pretty clear that he got shafted, but I'd still like to see the opposing timeline before he was punched.
Also check out a couple supplements to The 100 Best:

1. A bonus chapter about industry books that weren't included - http://100bestbiz.com/100Best-IndustryChapter.pdf

2. There is also a website where you can submit your favorite business book - http://www.myfavoritebizbook.com
Agreed, it's a good book -- and maybe we can help him with his legal expenses. As you said, the hard science in it is very good. And I'd add that it's done with a lot of imagination: he covers a lot of novel ground (pun intended).

I'd also recommend his book Starfish, which shows just as much imagination and almost as much hard science. However, by the second book in that trilogy (Maelstrom) there was a lot of political agenda showing through. That's not necessarily bad, but since I happen to disagree with his agenda, and I was reading it purely for pleasure, I was disinclined to finish that book or the next.
Calacanis vs DHH on This Week in Startups
Agreed. But: I don’t really know exactly what these guys are looking for, still I’m pretty sure (because of the ads) they’re having an hard time finding it. I won’t say programming as a profession is special, because it’s not, but from my experience even finding just a good coding “cog” is a huge win from the employer’s perspective.
What I think it happened is that those guys went looking for somebody “ready for industry” into the university, and they hit the wall. I know a lot of very, very smart guys that are studying CS: I’m sure one day they will be awesome hackers but they will need a lot of experience under their belt before they can provide real value to a “real world” project.
Visual art is distinctly different from music. It's possible to be entertained and feel emotion for visual art that is not a photorealistic depiction. Music, meanwhile, has certain rules that need to be obeyed in order for people to want to experience it. I'm sorry, John Cage might have some interesting concepts, but it's completely unlistenable. There are just some things that you cannot develop a real taste for.

Think about the culinary arts. It too is an art, but with even more restrictions on what can be done than music. "Experimental Chefs" can't just start dabbling in putting sawdust and latex paint in their dishes and still expect it to be eaten.

That being said, experimental musicians have the right to push the envelope and discover what the boundaries of taste are. Sometimes they'll fail, and sometimes they'll discover something interesting, but experimentation alone doesn't cause it to be good or bad.
"You may not and You agree not to, or to enable others to ... create derivative works of the SDK or any services provided by the SDK"

I wouldn't bet on Apple (if they decided to care) allowing you to do what Adobe's doing but only on Macs as Ansca are doing. Ansca just sounds pissed off because their whole market seems to be Flash developers:

"You'll see many similarities between Corona and ActionScript. You will feel right at home, and porting your Flash game or application to Corona is straightforward. You can have your Flash based game ported to Corona within hours of downloading Corona."
Tell HN: Open Government Initiative Deadline is Today
Background:

About the Open Government Initiative: http://www.whitehouse.gov/open/about

About the public participation period: http://www.whitehouse.gov/blog/2010/02/23/make-your-voice-heard

I just learned about the Open Government Initiative last night.The OG Initiative was setup to improve the transparency of US government operations as well as provide a method for the public to influence govt operations. To achieve the latter, the govt opened up a window (Feb 23 - Mar 19) for the public to submit feedback (new new ideas, vote and comment on submitted ideas etc.) to any one of the numerous government agencies.

The deadline to submit this feedback is today! Each agency has a website where you can provide feedback (the links to these are in the blog post referenced above). For example, this is NASA's website: http://opennasa.ideascale.com/

I hear NASA has been quite receptive of the ideas submitted through its portal. One suggestion was that NASA support existing communities that are working on space-related ideas. NASA followed up quickly by providing funding for the SpaceUp barcamp: http://www.nasa.gov/open/spaceup.html
In what industry is that? It sure isn't in those of my clients :/
I can do it even with a desktop computer and a 29" monitor :) It comes down to the matter of convenience.
What was your question? My wife is desperately trying to get out of Jury duty (busy life, bad timing), but not having much luck.
It doesn't sound that bad in German.
And the effectiveness increases as the victim increases in age.
On of my favorite essays on music is by an art critic/dealer named Dave Hickey. He wrote a collection of essays called Air Guitar, which is worth picking up even if (like me) you're not interested in art dealing or art criticism. He's a very lucid writer about the value of art for life.

Anyway, in the chapter "The Delicacy of Rock-and-Roll" he ends with thoughts on what he considers to be the two most fundamentally American musical forms: jazz and rock-n-roll. Here's the quote:

"Jazz presumes that it would be nice if the four of us--simpatico dudes that we are--while playing this complicated song together, might somehow be free and autonomous as well. Tragically, this never quite works out. At best, we can only be free one or two at a time--while the other dudes hold onto the wire. Which is not to say that no one has tried to dispense with wires. Many have, and sometimes it works--but it doesn't feel like jazz when it does. The music simply drifts away into the stratosphere of formal dialectic, beyond our social concerns.

Rock-and-roll, on the other hand, presumes that the four of us--as damaged and anti-social as we are--might possibly get it to-fucking-gether, man, and play this simple song. And play it right, okay? Just this once, in tune and on the beat. But we can't. The song's too simple, and we're too complicated and too excited. We try like hell, but the guitars distort, the intonation bends, and the beat just moves, imperceptibly, against our formal expectations, whether we want it to or not. Just because we're breathing, man. Thus, in the process of trying to play this very simple song together, we create this hurricane of noise, this infinitely complicated, fractal filigree of delicate distinctions.

And you can thank the wanking eighties, if you wish, and digital sequencers, too, for proving to everyone that technologically "perfect" rock--like "free" jazz--sucks rockets. Because order sucks. I mean, look at the Stones. Keith Richards is always on top of the beat, and Bill Wyman, until he quit, was always behind it, because Richards is leading the band and Charlie Watts is listening to him and Wyman is listening to Watts. So the beat is sliding on those tiny neural lapses, not so you can tell, of course, but so you can feel it in your stomach. And the intonation is wavering, too, with the pulse in the finger on the amplified string. This is the delicacy of rock-and-roll, the bodily rhetoric of tiny increments, necessary imperfections, and contingent community. And it has its virtues, because jazz only works if we're trying to be free and are, in fact, together. Rock-and-roll works because we're all a bunch of flakes. That's something you can depend on, and a good thing too, because in the twentieth century, that's all there is: jazz and rock-and-roll. The rest is term papers and advertising."
> Not enough data types in CL [reader]

Huh? CL's reader handles structs, hashes, and vectors in addition to strings, lists, atoms (with packages), lots of number formats (including Roman), and the ability to express AGs, not just trees (yes, cyclic too). Plus some other things that I forget. (Arrays?)

What else do you want to read?

No matter - CL's reader is programmable....
Why?

PS: Is YUI3 gaining traction? Has features missing in jQuery? ...
Jumo is a similar idea to idealist but I think/hope jumo can do it better. Chris did a great job to help organize the movement supporting Obama during his campaign, if he can do something similar for a bunch of non-profits a lot of good could come from his efforts.

It is also a big deal because it is Facebook's co-founder who is doing this. Almost any company that he is launching would get press.
> It's true that s-expressions don't give you a literal syntax for hashmaps or arrays, but note that some lisps (e.g. Clojure

CL's reader is especially rich, and it's programmable....