skysight-inc/HackerNews huggingface dataset:
If you learn compilers using Lisp / ML / etc., you can skip learning about parsing upfront and just use Lisp expressions. That's one of the reasons why the Lispers and MLers have so much cool compiler literature. If you're writing a compiler in C, you're stuck doing parsing and tree manipulation manually.

Nowadays, you could also use JSON, Python dicts, etc. for data literals. Either way - worry about syntax later.
This is a great overview about the two interpreters! However, I think you're being a bit inaccurate about how flexible the Rubinius VM is. It is certainly more than flexible enough to support a wide variety of non-Ruby languages.

The core Rubinius team bas been working towards a language-agnostic core, and toolchains for building your own language on top of the Rubinius VM. See http://rubini.us/2011/02/17/rubinius-what-s-next/#multi-lang... and http://rubini.us/2011/02/23/introduction-to-fancy/

There are already a good number of language projects that build upon it: http://rubini.us/projects/ Fancy is one of the more mature languages built on it (and it's self-hosted): https://github.com/bakkdoor/fancy. There's even an (immature) Python that runs on top of it: https://github.com/vic/typhon.
Show HN: HTML5 mobile web application for address sharing
Is there a transcript? I prefer to skim.
In addition to DIY market we also have those designers who until now had to hire a programmer to turn their designs into a functional website (with cms or without). Thanks for the landing video suggestion!
4 Things Entrepreneurs Should Ignore From the Steve Jobs Formula
PhantomJS seems like something I should pay more attention to.
I'm not the author but I guess there would be a few reasons:

1. Familiarity with x86 assembly. It's probably the assembly language that the majority of people who write assembly language know. 6502 probably being 2nd place

2. Easier to port small x86 assembly programs

3. Even if it's stuck in the 80's it's the most widely used assembly language and there are dedicated online communities of people still writing x86 asm today in 2011.
The dynamic keys remind me of Art Lebedev's Optimus keyboard designs: http://www.artlebedev.com/everything/optimus/
Idea: IndexCloud (Does something like this exist?)
This is a great overview about the two interpreters! However, I think you're being a bit inaccurate about how flexible the Rubinius VM is. It is certainly more than flexible enough to support a wide variety of non-Ruby languages.

The core Rubinius team bas been working towards a language-agnostic core, and toolchains for building your own language on top of the Rubinius VM. See http://rubini.us/2011/02/17/rubinius-what-s-next/#multi-lang... and http://rubini.us/2011/02/23/introduction-to-fancy/

There are already a good number of language projects that build upon it: http://rubini.us/projects/ Fancy is one of the more mature languages built on it (and it's self-hosted): https://github.com/bakkdoor/fancy. Note that Fancy was originally written as an interpreter in C++ - they ported it to the Rubinius VM at a later point.

There's even an (immature) Python that runs on top of it: https://github.com/vic/typhon.
>It’s not guaranteed that something of high quality will make it on Reddit, but it’s absolutely guaranteed that something of low quality will be destroyed there.

That's not true at all. There are tons of low quality posts. There's just such a high turnover that you tend to forget some of the stuff that you automatically skip or filter.
Hate to disagree with you. But having written many parsers (and even a few parser generators) it really isn't that difficult if you understand the theory. People encounter problems usually because they don't understand the theory and don't know how to write a grammar.

From a software engineering perspective it's annoying. It's not terribly difficult and it's not that interesting, it's just annoying.

Nothing could be further from the truth. It is relatively easy to resolve an ambiguity arising from this structure. Indeed, Aho et all use it as an example for how to eliminate ambiguity from a language[pages 211-212 in the second edition. section 4.3.2 "Eliminating Ambiguity"].

I agree that this is a bad example but you should remember from the literature that CFG is undecideably ambiguous. It's of course resolvable by GLR, but that's not the point.

For more information I'd recommend you read these papers, starting with Ford's master's thesis. [1] Also remember that I wasn't talking about using packrat vs. a standard GLR parser -- I was talking about what you should do if you want to learn how to implement a parser. Packrat is easier to get right than the corner cases in GLR.

[1] http://pdos.csail.mit.edu/~baford/packrat/
I just went through the presentation.

> It covers Backbone Views and little bit of Events. And covers them nicely. Although, I would NOT suggest it to a pro developer (mainly due to 1 hr).

> Backbone Model, Collection, Router, Sync etc will be, hopefully, covered in the next rounds. (Somethings will need to be revisited when wiring models etc)

> A lot of time the presentations digresses.

> Didn't talk about the setup - how haml, backbone is integrated; though I agree that it shouldn't be focus when starting.

> Thanks to the video, I learnt a couple of things - views can be passed tagName..., params.name, haml each block

> Finally, I'll add that Backbone looks even more cleaner in coffeescript (errors due to missing comma? no more a problem!)

And jotted down comment after each 10 minutes into the presentation.

> 10 minutes: not really backbone (jquery, javascript gotcha mostly) - admitted at minute 11

> 20 minutes: nice smooth sailing - el, tagName

> 30 minutes: learnt a few things new things! but a bit slow for me :(

> 40 minutes: mostly jquery/inheritence, next minutes are going to be about jquery templates

> 50 minutes: focus lost in favour of templates, haml (but probably better for web-developer learning it)

Teaching and motivating is a tough thing. Keep up the good work, waiting for the next part.
The laptop looks very nice as far as design goes, but as a 3k gaming machine it leaves a lot to be desired. I am starting to wonder if some of these technology companies are intentionally trying to lose money.

The GT 555M is a mainstream consumer video card. It can be found on laptops around $700 and I doubt it will run BF3 well at anything higher than medium settings. As a $3000 gaming machine that hasn't even been released yet, it should have a 6990M or a GTX 580M.

Finally, what kind of gamer who is willing to spend $3000 on a laptop is even going to use a trackpad? I wonder how much this ridiculous, unnecessary addition adds to the price of the system.

To put things in perspective, an Alienware M17x with a 6990M starts at 1799, and an identical clevo/sager would run about 1600.
[There should be a standard disclaimer for "I'm correcting you because I think you would benefit from knowing, not because I mean to be an ass"]

A physician is a medical doctor. A physicist studies fundamental laws of our universe.
The production ANTLR and GLR parsers are very fast, but I think packrat is just easier to get right if you're just starting out.
What if you're left-handed? Seems like you're kind of screwed on this one.
Well, HN programmers eat him up so he's still the same.

For designers, including Flash devs/designers, he's also still the same (a fanatical old coot determined to prove '96 browser text is superior to multimedia).
Your intuitions are betraying you. Gravity as you know it is a very special case, albeit a common one.
iHonor Steve Campaign: Pay a visit to nearest Apple Store
http://en.wikipedia.org/wiki/HTTP_referrer

The misspelling referer originated in the original proposal by computer scientist Phillip Hallam-Baker to incorporate the field into the HTTP specification.[1] The misspelling was set in stone by the time of its incorporation into the standards document Request for Comments (RFC) 1945; document co-author Roy Fielding has remarked that neither "referrer" nor the misspelling "referer" were recognized by the standard Unix spell checker of the period.
I love your commitment to purity here. Things could certainly be made much faster in Ruby if most of what makes it useful in certain contexts were abandoned. The complexity of invocation alone seems to be fairly unique with the potentially vast tree of class/module hierarchy along with metaclass, method_missing, and first-class, dynamic invocation targets (classes and modules).

I think many people don't realize that "Ruby is slow" because they're building on libraries that make extensive use of Ruby's dynamism with little regard given to performance. Imagine implementing Rails without *eval, method_missing and singleton classes.

Pull up a Rails console in an application with a few plugins, run "included_modules" on a class, and you'll see how many potential modules are involved in invocation. The last Rails project I worked on has 61 modules included into ActiveRecord::Base, mostly by plugins. I think there is plenty of abuse of the extension facilities that results in this type of overhead (what justifies Ym4r::GmPlugin getting included into Class?), but this is the world in which we live.
This article is ridiculous, sure actual obesity costs are probably a small fraction of overall health costs... but the larger costs come in the form of other health issues caused by obesity -- diabetes, cardiovascular disease, etc etc...
I will grant I do not know the details of Clojure's dispatch protocols, but I've always felt like there's more that invokedynamic could do. Sounds like that's the case. My statements were based mostly on brief discussions with Rich about how dispatch happens...which made most of them sound pretty static in nature.

Regarding invokedynamic optimization: Most of what I'm playing with will go into the first Java 7 update. I'm helping to validate that it works, it's fast, and it's ready for consumption.
I wouldn't go that far.

But it is true (in my experience) that good looking people are a bit more self-absorbed than normal.
Too bad. The voting system isn't as robust as it needs to be for me to use the site on a regular basis anymore. Too many of the top rated threads are jokes, puns, or stupid questions.

Moderating by category made slashdot comments useful. In the user profile, setting all "Funny" moderated comments to -5 eliminated all the "In Soviet Russia" jokes. Repeated comments were marked redundant etc.

Reddit has become quite popular and as a result the comments have become less interesting and more populist. While it's great for the staff to run a successful site, the newfound popularity has pushed me away, and just as they released the Gold accounts as well.

I'd pay for a gold account if it gave access to an advanced moderation system. News.yc is still small enough and the community homogeneous enough that the really stupid shit gets moderated out. People are strict enough around here that the idiots leave quickly. Not having sub-sites helps as well to push away the people primarily looking for lolcats.
Apple's done this with great success in their re-use of the f-keys as system control buttons (as have other manufacturers.) I'm not sure most Mac users are even aware those are f-keys any more.
Could you go into a little more detail about how Jekyll isn't/wasn't versatile enough? Maybe a use case or two where it failed (or was too complicated) for you?

I'm actually about to learn Jekyll to make a blog today, so I'm very curious. My primary reasons for going Jekyll are that (a) it seems to have the most mindshare (in the Ruby world and in general) and (b) I can just deploy using git with Github Pages.

Relatedly, if anyone is a Jekyll user (which seems pretty common around here), are there any plugins/modifications I should be using?
These guys took out an ad in The Wall Street journal drumming up hype for this release.

Guys: I can buy a Sony Playstation 3 for a little over $200. Call it $300.

I can then buy an large television for $1000, and a solid set of speakers for $200.

That's $1500 all-in, for something that will play every single PS3 game flawlessly.

Why would I spend $2800 on this? What I am getting for $1300?

If it's the variety of PC games like minecraft, I can throw an additional $500 at a low-end gaming PC, hook it to my television, and play console and PC games.

A gaming laptop? Why?
I acquired this book when it was published in 2008, and I firmly believe my CS education would have been better for having had it several years before that. It's a very well-constructed course that can be completed by an amateur at a casual pace, or by a hardcore student in a couple of weeks of dedicated work.
Money can go a long way in mitigating lack of beauty (At least in men).
Noah Wyle imitating Steve Jobs (Macworld 1999)
Yes, fluid designs are possible. We are also working on option to specify media based rules for individual elements including serving different image resolutions to different devices. The main idea is to have one set of content that is then published in appropriate form to individual publishing channels.
A part of me thinks that this is whole thing is a marketing gimmick to create a bunch of touchpad fans.
1) I read the article
2) Did they try adding women to a women only group ?
3) Did they try adding men to a women only group ?
4) Did they try adding more women to a mixed group ?
5) Did they try adding more men to a mixed group ?
6) Did they try to remove all men from a group and replace them by women ?
6) Does this have to do with women being in a group, or does this just have to do with the group having elements from both genders collaborating ? The conclusions made in the article ,to me, seems more buzz-seeking than enriching.
Browsers supported are IE6+, IE Mobile, Opera Mini, Safari 3+, Chrome, Firefox 3+, blackberry browser, android browser, symbian's web browser, pretty much everything that renders the important parts of CSS1/2 and has JS support.

Pretty much an experience like http://m.twitter.com

The click delay workaround is like 15 lines of JS. It's one of the few issues (along with foreach) requiring a major workaround, if you design your HTML/CSS layouts properly. Also, don't forget you can take what you need from jQuery or other libraries. For example, the click delay workaround I think I grabbed from HTML5 mobile boilerplate, and my foreach function I grabbed from jQuery.
True. If you approach it from a standpoint of extrapolation from known values, you have a division by zero one way or the other.

What I'd intended was that the value of 1 was reached by applying the same algorithm that was applied to arrive at the other values: start with 1, multiply by the base once per instance of the exponent. No division involved.

It's still incorrect if we want to be strict, of course. That algorithm is not quite the definition of exponentiation, because that algorithm can't really be extended to work outside rational exponents. Exponentiation is defined across complex numbers (ignoring 0^0 for the moment). I think this is acceptable because I'm only shooting for an explanation, which doesn't need to be strict.
Maybe so you can do 10th anniversary, golden anniversary and so on? I can't get onto the site but that would seem plausible.
Ask HN : Is hacker a good terminology?
When the word hack is used, despite other elite explanations available in Oxford or Cambridge dictionaries people[1] will take it wrong - Hacker is a person who will make harm to your machine or the person who will break your computer.

Convince me, and I will others that Hacker the term itself defines a nice human/person living behind.

or I would like to know why people say so.

Edit:
[1](Your mother or your friend who doesn't know what HN is )
True, but I would have thought most designers like that would work at a web dev shop already, thought I couldn't say that for sure.

Forgot to mention: Looks like a great piece of tech and a great product. Can't wait to see where it goes after launch :D
Because it's a poor risk to take - you have this whole product you've designed, and if you built in an unproven pointing device and it flops, the whole product is a dud. At least with desktops a mouse or trackpad is cheap to replace, so a user might be willing to buy a computer with an unconventional input device knowing that it's only $50 to replace. Buy a laptop and find out you hate the pointing input, you're out 2 grand.
For those who can't remember, Noah played Steve Jobs in the infamous "Pirates of Silicon Valley" 1999 movie.
Hi, I am a cofounder of Genforma http://genforma.com and we offer django paas. our deployment and management infrastructure is now open source (see https://github.com/genforma/engage), please take a look!
The LPEG paper (http://www.inf.puc-rio.br/~roberto/docs/peg.pdf) is also pretty good. (LPEG is a PEG parsing library for Lua.)
Five ways Apple might become better with Steve Jobs
Hi, I'm really interested in developing tutorials / explanations that help merge intuition and rigor, theory and application. You can reach me at kalid.azad@gmail.com.
Ask HN:  Advice for interviewing/first time hiring
We finally reached a stage where we can start bringing on developers. Anyone got some awesome advice or cautions for hiring?
Most likely you're losing karma because you come across as trolling. In case you're not, picture "down" as towards the center of mass. On the surface of a sphere, that means perpendicular to the surface. At the edge of two faces of a cube, "down" is through the edge (between the faces), with the faces 45 degrees off-vertical. Like on a mountaintop.
Reddit still has a fantastic set of communities on it. Think of it more as a service, not one singular website.

Like usenet.

(These are some of the subs that I like, they might not be your thing, but they're examples of solid communities)

http://reddit.com/r/truereddit

http://reddit.com/r/longtext

http://reddit.com/r/depthhub

http://reddit.com/r/askscience

http://reddit.com/r/neuro

http://reddit.com/r/burningman

http://reddit.com/r/movies

http://reddit.com/r/linguistics

http://reddit.com/r/philosophy

And if you're looking for pictures, there are the "SFW \"Porn\"" subs:

http://www.reddit.com/r/earthporn+villageporn+cityporn+space...

Reddit certainly isn't dead. It's just maturing.
I disagree that there is an algorithm for doing it. The best way to get media attention is to involve yourself with the right people. Ideally you have a board of influential investors. Its not what you know, its WHO
The wikipedia article that's linked there is much more informative than the blog post. Please, link to original source.

http://en.wikipedia.org/wiki/Robbins_theorem
Do any of those have the trivial controller/directory model that Stasis has? It seems like a major win.
Essential Weapons in a Security Researcher's Arsenal
JRuby generates direct, "static" dispatches to the Fixnum class when you throw the --fast flag. However, this is not backwards compatible with MRI Ruby, so it's not default. Clojure does not attempt to maintain compatibility with anything, so there you go.
Great screencast.

Before I saw it, I could hardly spell backbone.js, now I can't wait to start my first project.
You can actually get a laptop with the same specs for about 900€. (the only thing that missed is the little touch screen on the right, and the 17", it was 15.6)
"I took out gravity as we know it"

Well, if you throw out ALL the rules....
It shouldn't, that's the thing. Your employees should be able to get hacked without any one of them potentially exposing your crown jewels.
Sex may be easy (well, in most cases) easy to define but race may be much very hard to define "objectively", e.g. see the novel/movie The Human Stain.
2. Easier to port small x86 assembly programs

I seriously doubt that people will do it. If people write assembly, they mostly do it either because of speed, or because it's impossible to do in any other way. None of the reason is relevant in context of VM assembly, which is usually meant to be a compiler's target.
Why Google Offers Will Fail
Update from Google: We're aware of a problem with Google Docs List affecting a majority of users. The affected users are unable to access Google Docs List, but we've provided a workaround below. We will provide an update by August 26, 2011 3:14:00 PM UTC-4 detailing when we expect to resolve the problem. Please note that this resolution time is an estimate and may change.
Affected users will see a 404 when accessing the Google Docs home page. You can access individual documents by clicking on the link in the original sharing email, or if you have saved the URL for that document.
will be headed to the Soho Store around 6.30 pm!
I understand that I can work to find subcommunities that havne't been destroyed yet, but check out The top rated comment in the top rated post in /r/Programming:

http://www.reddit.com/r/programming/comments/juzl0/what_does...

Extremely disappointmented this wasn't a picture of a dump truck full of bees.
Agreed. See quote below.

The total direct and indirect cost of CVD and stroke in the
United States for 2009 is estimated at $475.3 billion. This figure includes health expenditures (direct costs, which include the cost of physicians and other professionals, hospital and nursing home services, prescribed medications, home health care, and other medical durables) and lost productivity resulting from morbidity and mortality (indirect costs). Total hospital costs (inpatients, outpatients, and emergency department patients) projected forthe year 2009 are estimated to be $150.1 billion. ... CVD costs more than any other diagnostic group.

http://circ.ahajournals.org/content/119/3/e21.full.pdf
You don't remember all the cardboard keyboard overlays that used to ship with software?
NYC Mayor Orders Mandatory Evacuation From Low-Lying Areas
Of course you can get the disassembly of JITed code from Hotspot too, and the effects of boxed math are quickly visible. Escape analysis may help in the future, if it can be made more general.

While I consider type hinting an uglyish wart to work around limitations of the underlying VM, I also secretly wish we had such an escape hatch in JRuby. Oh well.
My 2 cents:

1.Do not hire devs without taking a test.

2.Hire developers for their "skills" and not for your affiliations with them.

3.Hire someone who is self learning and knows type of product/platform you are working on.

Why you may ask:

1. Test measures the work speed and efficiency

2. Respect people for their skills not for your relationship with them (eg. friend, relative etc..)

3. So that you won't waste time giving them keywords to Google.
The instruction set is vastly simpler than x86, but it does inherit some limitations for no reason. x86 had 8 named registers for so long because the mod_rm byte in x86 only has 3 bits for each operand. Adding the REX prefix byte in x86=64 complicates things a bit, but isn't too tough.

This VM doesn't have a particularly compact in-memory encoding - it uses an entire `int` for each argument! They could double the number of registers and the entire register set would fit in a cache line (except for EIP) at 4 bytes apiece. I guess it is nice that all 9 fit in one line now, but I doubt that was considered.
As a point of reference - the cliffs of Dover can be seen from Calais on a good day, and that's a distance of 34 km (21 miles). Wikipedia gives the max. elevation at Calais as 18m, and 107m at the White Cliffs, so that works out nicely (though the calculations would be a bit more involved than what the calculator you link to allows).
Great point. Some of the most attractive people alive aren't beautiful. See the entire genre of Rock & Roll for sources.
I am far from trolling. I don't know how to, on purpose that is.

Yes, I can picture it as you describe it.
>I love the comments that argue that since a preference for attractive (i.e., symmetrical) faces is hard-wired, we shouldn't try to legislate against it

Well, it is also hard to quantify. How are you going to prove to a jury that you are plain and thus got turned down?