skysight-inc/HackerNews huggingface dataset:
No, sorry. I haven't done much in the way of optimizations with JS, but I'll explain how this is optimized. This is actually a simplified version of the structure used in IronBabel (emulator platform of mine, http://sourceforge.net/projects/ironbabel/ )

You have a hash table mapping an address to a block length, block function, and a hash/checksum. Your execution loop looks for the program counter in the hash table. If it exists, you take <block length> bytes from the program counter, hash/checksum it, and compare it against the hash table entry.

If the cache entry misses, you need to recompile the block. Starting from the program counter, read instructions and rather than executing the operation (as in an interpreter), you append the operation's code to a string. When you hit a branch and output the code, you break the loop. You now have the code of the block.

Wrap it in a function, eval it, and put the function in the cache.

There are a number of optimizations that can be done (see IronBabel for specifics), but the easiest is to group blocks into a state machine. Simply push all of the code into a big while(true) { switch(PC) { case 0xDEADBEEF: ... }} and break out if you hit a block that isn't in the state machine.
I meant nothing towards you. PG's gonna write essays on whatever he wants. I was just pointing out evidence of the adulation/infatuation some of the HN denizens have for you.

BTW I know Calif. Ave. too, I used to eat at Chu's every now and then (the little potsticker hole-in-the-wall shop). Is that still there?
How Mr. Q Manufactured Emotion
I'll take a thoughtful essay on architecture and the power of government over the crap OMG look at this crazy Sh!t! and the self help How to lose weight/How to get a date/How to be social. articles which are hitting the front page more and more often.
I just got CS4 (from one of the suites). I haven't had time to use it.
Wait, so people were drooling over CitySourced but then weren't willing to pay 3 bucks for it?

Something seems very wrong about that.
That's a valiant attempt to connect the dots from Jung to startups, but if you're willing to be that arbitrary you can connect anything to anything.

the conscious, probing tools of analysis (if not quite science)

There's no "quite" about it. There is an enormous intrinsic gap between analysis as practiced by Jung and science in the modern Western sense. That's not a criticism; I am no idolator of Western science (and have been a fan of Jung for years, though not of Jungians). But let's not pretend that Jung's writings would find any place in a peer-reviewed experimental journal.
For instance, strong lock-in is good for the VC, but bad for your customers.
pg made me do it.
SecondLife Sued For Counterfeit Sex Toy Suit
For the nth time: everything on Hacker News does not have to be about programming. This is a community made of real people who have real feelings and most importantly people who can have mature conversations about anything that matters.

Ass kissing? Ugh.

If you don't like a story, flag it. Stop whining or leave.

Also see http://lesswrong.com/lw/3h/why_our_kind_cant_cooperate
A lot of folks seem to have modded this up, taking it as a rhetorical question. But I'm serious. Lotus Notes seems to have fairly reliable large-scale server-side storage, but the user interface is crap. The Outlook UI is a lot better (actually, a lot better than many mail UI's...) but I don't know much about the Exchange backend.
I understand the title change for HN, but it's definitely a takeaway point from this article that if you're an iPhone developer, it's well worth picking up the phone for any unknown 408 number ;-)
Cool to know there are so many iPhone developers doing well in the Twin Cities. Found out about @akardell through @dcgrigsby's tweets. Any other iPhone hackers around the Cities?
Not that accurate -- a better method is to use the Google keyword tool and numbers you have internally on response rates. You will get a more accurate range that way.

Of course, relevancy of the ad to the keyword is the critical factor. If your ad or service is not appropriate to the keyword then you cannot expect a good response rate.
If I were Apple, I would say, "Hmmm... Nah. How about we keep selling your music just the way we are now."

I mean, what are they going to do about it? They are always welcome to pull out of iTunes. But, strangely, they don't want to do that. I wonder why not?
If I can't hear it, I can't buy it. Yeah, there are bands I would buy without question, and if enough people whose opinion I trust agree... But otherwise, I'm going to be somebody they can't sell to.

And no, I'm not making micropayments to get stuff to decide to make macropayments.
This reminds of the time they chopped down all the trees along Fergusson College Road in Pune. It was one of the most beautiful streets in the city with trees on both sides forming a canopy almost covering the entire street.

The excuse then was creating more space for vehicles and improving traffic flow.

The trees are gone; the traffic jams haven't. Very sad.
I never knew that exists. Thank you very much for this.
I have a similar experience from college. We'd get an empty Java project, a "runner" and a set of simple test cases in the form of input/expected-output files.

We were told that the teachers would run hundreds of test cases more on out code, so we'd better think about it.

A very important thing to remember is that this course was a programming course (concurrent, I think), NOT a software development course. Many of these "I had to do this stupid thing in school that I'll never need in the real world"-rants miss those differences.
Classes (and OOP) are there to help you, and they apply to a specific set of problems - use them where they help, and don't when they don't.

I just finished a game with monsters, soldiers, snipers, movable barricades, etc. Someone who's class-crazy would probably make a soldier class that inherits from a generic "entity" class, ditto for each monster type, etc - I don't think that's efficient, I wind up with too many files and too much repetition. Instead I built a single "character" class with a constructor that takes a "type" - monster, soldier, etc - and drive behavior of each method with "if" statements where required.

I'm sure some purist is having heart strictures right now, but I'm not writing an API - I'm working in a living structure where the map format and drawing format may change from day to day, and I don't want to make updates in half a dozen files if the rules for aiming change. I want a single "aim" method that behaves differently based on type.

I subclass system objects all the time of course, but like the author I rarely subclass my own objects. Am I being pragmatic or foolish?
Court Case Info: http://regmedia.co.uk/2009/09/16/secondlife_alderman_class_a...
I can't quite put my finger on it, but I think this comment shows a slight lack of... something... hmm...

This is a bit disorganized, but I'll try to lay out how the gears are turning in my head:

When you implicitly call out a community or someone very admired in that community (whose also running things for free for a lot of people's enjoyment), it's courageous but it burns some of your future ability-to-speak-out-and-others-will-listen-edness.

If you were to make similar comments frequently, eventually people would just shrug it off instead of burning the mental energy to apply difficult critical thinking.

Now, I was one of those disagreeable kids who used to argue with teachers when they got their math or chemistry wrong, and eventually I stopped doing that and started thinking:

"Do I want to burn some of my speak-out-and-people-will-listen-edness on this particular topic?" Because you only have so much, and you might want to use it on something important later.

Does the tree submission get submitted and voted if it's not Paul Graham or another very admired poster? Probably not. But it's a minor thing to take a banner up against, and it just oh-so-slightly decreases the resources you have by taking up that banner. And maybe it minorly gets on the nerves of a few people, and they don't like it, and so you get oh-so-very-slightly less attention/goodwill in the future.

Or maybe not. Just something to ponder.
He said "ass kissing," not "ass kicking". I don't know if that makes a difference to you, though.
I feel it's appropriate to mention our humble news/daily content start-up in a meta-publishing thread. We're recruiting a team of people who enjoy writing for a one-day proof-of-concept effort, and if the experiment works it's angels, YC and beyond. If you are a news addict you'll probably have fun. E-mail is in my profile.
Evolution is a Tinkerer
I found the controversy fascinating. Yes, there is a danger of a circular debate ("Well, yes, but X"; "Well, yes, but Y"; "Well, yes, but X", etc...), but the article forced me to reconsider my assumptions, and that's great. Even if I still use Photoshop, it's good to examine why.
It is sad though, that Cal. Ave, is considered on the most nicer areas of Sillicon Valley. There is nothing really special in it that you can't find in any dinky town in the us, minus the charm that small towns have. Compare to any nice areas to Cambridge, or W. D.C. or NYC, or Boulder. With the money flowing in the area, that that's what they can achieve? At least during the gilded age, the rich folks built memorial things, that are part of this country's cultural heritage. Todays' rich, just build bigger pools or planes, and that's it.

Tells you something about rich geeks being really introverted, and just want to keep on themselves.
I wish there were sales figures on the graph to give an idea of scale.
The easiest way is to join a sailing club, if there is one nearby. They often have a sailing school and boats you can borrow. Alternatively you can buy a cheap dinghy.
Ooh got carried away in anger there.

Corrected, thanks.
Memo to Start-ups: You’re Supposed to Be Changing the World, Remember?
Drooling might have been an over dramatization on my part. But I think there was a #citysourcedcommittee (something like that) started on twitter.

I did hear multiple mutters of two ninety ninety around me because they neglected to mention a price on downloading the app. They are trying to build a tribe (in Seth Godin's words). Their application is not very good if only a few are reporting issues and they could have overcome some chicken and egg issues by making it free for a week.

I think the real issue might be the fact that these were applications that did not solve an immediate pain and yet wanted an upfront payment. In CitySourced's case, there was no graffiti or potholes in the room for people to report but people wanted to download it and play around. Perpetually required maybe months of caching to see a benefit but wanted a $99 upfront fee. (They've since started offering a trial)
Is this the first interesting person they've met? Nothing beyond schedule exists on the other 9 days. Seems like a bad run of luck.
On-demand book printing machine
Yeah I use FW for all my projects. Much easier than PS for web stuff. PS was really designed for print anyway while FW was designed from the beginning to be a web designer's tool.
I'd say that totalitarian states tend to have governments that last longer than in capitalist countries (even though I feel that the capitalistic aspect is not related to the totalitarian part…), thus I'd say that capitalist countries are more likely to want to "accomplish short term, idiotic goals".
Cisco: IPv6 and Smart Grid Make Sense Together
In my experience, old people are frequently the best people to end up next to on a plane. Given 80 years, everyone will have some absolutely fascinating experiences.
Javascript primitive conversion quick-reference
The controversy here is so unecessary. They begin with "Why we skip..." Note, the word "we". They're making a case that works for them and may work for others that haven't considered it. They're not trying to tell you how you should do things and they're not asking people to tell them how they're wrong. People have just forgotten that there is no one way to do things.
Right. But I don't think the facts support that he was a "lazy, lazy man" or that he only worked for "short bursts."
I'm into movies, and my home setup is way better than a theater.
Google plans to bring back paperback books
Interesting post, but since a lot of people here seem to make a big deal about their objectivity, I can see why this would annoy TriinT enough that he'd post about it. As you imply, he might've thought about it and decided it was worth risking some of that goodwill.
I wasn't being sarcastic...
I actually like this
In case anybody else ever needs this:

mv file file.wve

sox file.wve -2 -c 2 -r 44100 file.wav

lame file.wav file.mp3

Enjoy. If you have more of them send them over and I'll convert them in case you can't get the recipe to work.

I mailed you that one mp3. And I messed up the recipe, the first line of course should not have the .wve at the end of the first file argument.
> if Twisted followed this example straightforwardly .. then Tornado would never have been written.

The only reason Tornado came about is that it is far more interesting to write your own code than to learn someone else's. It has very little to do with whether Twisted was designed well or not.
HN is a community, not a utility. All the usual dynamics apply.
No it isn't. :)
No, I've met tons of interesting people. It just takes a while to write.
I like the image of Firefox 1.5 on that page. That was my favorite iteration of their UI.
I stand by my comment. My opinion is based on evidence: some high-karma members can get away with stuff other members can't get away with. If a newbie posted about oaks getting hacked, the post would be flagged right away. Of course, since PG runs HN, the community should indeed cut him some slack as a token of gratitude.

My comment was an attack on the herd phenomenon, not on PG. It was not meant to offend anyone. If it does offend anyone, well, I really don't care. If it burns some of my future ability-to-speak-out-and-others-will-listen-edness, then I don't care either. Worst case scenario, I can always join with a new username, like IamNotTriinT.
While the critique is not without basis, perhaps part of the problem is that the industry's a tad spoiled by a constant string of game-changers? Not even the transhumanists are claiming that innovation's going to happen in consistently accelerating rates.

And who knows? What if TC50 was held just a month later, when somebody else's pet project's finally had its last cog hammered into place? Much depends on the timing of the thing.
I realise this is new news, But any hope for students outside the US?

Really enjoying W7.RC at the moment, Would be great on my budget to be able to do it this way.
This is awesome.

The transition part especially reminded me of iMUSE (http://en.wikipedia.org/wiki/IMUSE) which creates seamless transitions between music tracks in LucasArts games as you move between areas.

This significantly enhances the immersion of the games, and 99% of the players probably never even noticed. And that's the point. They're not supposed to notice. They're supposed to be immersed.
Scala vs. Clojure: Concurrency
Cho's is still there, and it's still serving out delicious pot-stickers and dumplings for cheap.
This is an excellent guide for beginners, and gives a good understanding of how pin tumblers work (and a few other types of locks). Also, there is a good survey of tools and their particular uses. If you are interested in learning about lock picking, read this guide and go down to your hardware store and get a deadbolt to practice on. You can make your own tools, but if you're lazy, Southern Ordinance is a great retailer. Good luck!
Here's a first crack at the effect: http://gist.github.com/188773

I'm not much of an elisp programmer, but this seems to work reasonably well. It depends on Emacs 23. To use, load and run mini-map-mode.
I think this article is a bit misleading. It's easy to skip photoshop when you already have a house style for your application and a base css template already set up.

Things are a bit different if you are starting to build a brand from scratch.
How come when I click on another day (say Day 8 for example), I am no longer able to navigate back to Day 10?
Crew for someone else. I have had 10-15 people come out for their first days with me in the last 3 years. My suggestion is to find the local clubs and just shoot off emails saying you are looking to start sailing and wondering if any boats need crew.
You don't need to join a club to sail, only the owner of the boat really needs to be so you can usually find someone who is willing to teach you on their boat.
Because the free wifi at Oakland is very crappy and I cant deploy the rest of the site's changes.
I think one interesting dynamic is that publishers have visibility. I am mostly thinking about books. There are book clubs and book reviewers. I wonder how many people buys a book just because it's on Oprah's Book Club. (apparently, a lot, http://en.wikipedia.org/wiki/Oprah_Book_Club). And then my next guess is that there are PR people at the publishers that push reviewers and book clubs to endorse their book.

I think you can draw an analogy with content aggregators like Digg or Reddit. There too many books for the average person to consume so they look to some book club or reviewer to tell them what they should consume. I believe the publishing dynamic may change if a book "content aggregator" received a wide following.

Is there a digg (or reddit!) for books? If not, someone here want to create one? :)
Unless you're running an Active Directory domain, more than likely. And really, this isn't that confusing.

http://www.microsoft.com/windows/windows-7/compare-editions/...
I would never trust an exploding knot while rock climbing.
The audience was mostly full of professors and PhD students, I would not call them idiots.
For me the paper would have to be very stretchy, I tend to go back and insert stuff. But ... years ago I had the privilege of working with one of the most awesome designer/programmers I've ever met. We would argue and sketch away in a meeting room with huge whiteboards on three walls. When we were in agreement we would go off and code and document the stuff, wiping off the parts as we completed them. When the whiteboard was cleared, we were done with that module/class, whatever. Then we'd attack the next module. Wrote an all-of-business custom app (think ERP++) for our client in about three months. Don't think we could have done that with paper.
That's almost exactly what Firefox 3.5 looks like for me in Linux. No oversized back button or anything like the default Windows theme.

I imagine there's probably a classic icon theme that will change the icons to match those old ones.
Recognize Any of These Names?
I suggested you use gmail for a very good reason there, very good at filtering out spam.
http://news.ycombinator.com/item?id=829189
This list is way too complicated.

Simply know 5 knots and you are there.

Bowline - used whenever you want to tie a rope to an object with a loop at the end of the line. Really strong knot, but you can't tie it under tension so you won't get a perfect length if you are trying to tie something down. If you don't know what to tie, this is probably it.

Hitch - This is when you want to tie a rope around an object but the length matters or there is tension in the rope when you go to tie the knot. Useful in another 20% of situations. If you are tying something down I put a bowline on one side first since the length doesn't matter, and a hitch on the other since you will have tension in the line and want to tie it off with that tension in tact.

Know how to put a loop in the middle of a line. You can use the loop as a way to get extra tension in your line.

Figure eight stopper knot - whenever you need to keep a knot from going through something else. Not always obvious when it is useful.

Know how to properly tie the end of one line to the end of another.

If boating, also know how to tie a line to a cleat.

I've been boating/sailing my entire life, rock climbing for a few years too. Never needed to know more than that. Better to know 6 knots perfectly so that in an emergency you can literally do them with your eyes closed or not looking, than to know 15 and try to find the perfect one for some specific situation.
Actually that the point of the article, not all languages are equivalent on this front. Some have more than others. My claim is that Eiffel is a language with very few of those.
Sarah, We Got Your Memo
I used to think most American cities were ugly because nobody cared enough to make them beautiful. Reading this almost makes me think it's intentional. Very sad indeed.
I think it really depends if java is a language you know or java is a language you work with every day.

I think it's ok to be rusty on some specific cases until the time comes to use them if you don't use a language all the time.
Obama Gaining Snowe's Support? | America Outspoken
Green Metropolis
Where were the tree sitters at?
I totally agree with what Sarah says but I think those who complain, including investors, would probably dismiss bigger ideas as not concrete enough most of the time -- at least that has been my experience
Perhaps the startups most interested in changing the world are also least interested in impressing the attention-deficient flavor-of-the-month TC crowd?
Actually I was thinking this was an indication that someone has approached PG with a promising solution; so now he is giving away his thoughts on the problem but not any suggestions of a solution.
Let's assume the author is serious for a second; the company he/she is describing is just asking to get fed to the lions by a company that does not embrace mediocrity-as-policy mantra, and shows they actually give a damn about their product and their customers. Those customers they are pissing off, but aren't seeing leave, are staying because there isn't another option; as soon as there is, the exodus will begin.

On the other hand, the vast majority of companies are mediocre ... and they stay around for decades literally. It doesn't mean that they don't give a damn about their customers - no, they do, it's just they could do it better, much better. If they really tried. And still the customers stay. This is a great mystery, but still true.

As an example, if I go to the site that lists Australian ISP's (http://bc.whirlpool.net.au/), I can see 228 ISP's listed. How's that possible that so many exist - are they all exceptional companies? Do they all provide the same quality of service? Are all plans equally attractive? Clearly no, and I guess that top 10 ISP's may hold some 80-90% of the market. But still the other 218 still have enough customers despite of being 'mediocre'.
So You Want To Create Wordpress Themes Huh? – The Remix
Ever wanted to create a great looking WordPress theme but don't know where to begin? So You Want To Create Wordpress Themes Huh? - The Remix is an exciting and engaging series of tutorials designed to show you how to create your very own WordPress theme.
A shorthand for designing UI flows
I read the student worksheet. The RIAA stated that the cost of sharing a song online is 99 cents. That basically kills their arguments against Thomas/Tenenbaum.
AVRSH: A Command Interpreter Shell for Arduino/AVR.
This seems to basically be bitching about 'finally' (which is a perfectly legitimate thing to bitch about) -- but finally isn't java specific it also exists in JavaScript, C#, Delphi, and quite a few others (strangely however not C++, who'd have thunk it :D )
I surfed the gopher net and all I got was this lousy URL - gopher://gopher.floodgap.com/1/overbite/ (works in FF + others).

"Also, Internet Explorer should NOT be used at ALL! (I'll explain presently).", see gopher://gopher.floodgap.com/0/gopher/wbgopher

Edit: first it's poor links2 support, now no linkifying of gopher links, shocking ...