skysight-inc/HackerNews huggingface dataset:
Who's Linux Torvalds?

Oh you mean Linus, with an S

Interesting comparison with O'Reilly. Linus talks less but his words have more weight, Tim blogs, tweets, facebooks etc. frequently to get his word out.
People do things because of a broad variety of motivations. Often because of a combination of motivations. If it's helping and not hurting, who cares?
Off topic, but the article mentions the following Blogger change, which I'd missed:

As the Blogger deadline for cutting off FTP access for blogs like mine nears

Google search turns up:

http://buzz.blogger.com/2010/01/important-note-to-ftp-users....
See my other comment on how anti-patterns are supremely useful when you're working in a brownfield (existing subpar codebase, project, etc.) and you need to recognize the problems and having suggestions about how to fix them is very helpful.

You can also try reading the anti-patterns book for an introduction to many of the most important ones, or rather books: http://www.amazon.com/s?index=blended&link_code=qs&f...

Although I can only vouch for the tremendous usefullness of the first: http://www.amazon.com/AntiPatterns-Refactoring-Software-Arch...

Hmmm, I think it went out of print but it's back.
All of these keep a pool of worker processes, they don't fork each request. With a non-trivial application the speed difference is negligible, though the memory difference is not.

PHP also has language-level isolation from request to request, but extensions are still long lived and require the process to be killed in some cases when they misbehave.
I knew somebody would raise this point :-) You are right that the evaluation order would be wrong for "-" and "/".

I will probably implement support for left recursion in PEG.js - it is possible (see e.g. http://www.vpri.org/pdf/tr2007002_packrat.pdf). After that, the grammar could be rewritten to evaluate in the correct order.

(Another alternative - which works right now - is to change the parsing expressions to something like "additive ([+-] additive)*" and deal with the whole chain of operations with the same priority at once. I didn't use this in the example as I wanted it to be as simple as possible.)
Keep in mind that this is appearing in a magazine that is successful because of the success of high frequency trading and that the article is written by the member of a company that bases its profits on the ability to conduct high frequency trading.
Brilliant! Made me smile and nod a few times. Choice quotes;

Like many old farts my age, I don't know what to make of the sexual habits of younger generations. I hear about Hooking Up. ..[SNIP].. Let me assure you that Hooking Up was discovered long before it was named.

and

Some of the truest words I've ever written are:

It is more erotic to wonder if you're about to be kissed than it is to be kissed.
I remember reading a story a while back about progress made on deaths from heart attacks versus progress made on deaths from cancer. The key thing they zeroed in on was the fact that heart research focused on prevention first. They determined early on that it was too late to do anything once someone shows up in the ER with a heart attack. So, heart research focused on prevention.

While cancer was stuck in trying to cure the disease once someone had it. Overall the article stated not much progress had been made on cancer relative to progress made in heart attacks.

So I'm a little suspicious that cancer can now claim we're winning because of prevention. If you stop smoking it's helps BOTH cancer and heart attacks. I remember the group who pushed people to stop smoking, forever, was the heart association. Remember that little heart logo on all the ads?

This is overall good news, and I hope the researches focus more on prevention and research into what causes it. I find it tremendously interesting that "the cure" has been our focus for so long in medicine. I think drugs like Penicillin that cure got us stuck in that meme because they were so much a miracle. However, prevention is another tactic that's probably not been effectively utilized to keep us healthy.
For the tl;dr crowd, this will take you straight to the PDF:

http://sandal.github.com/rbp-book/pdfs/rbp_1-0.pdf

(But please read the article, it provides context :)
I talked to someone who trades options and stocks every day and the comment was that this is pretty well known; that the volume of calls and puts is discussed pretty widely every day. Like all such information about the market, once it's widely disseminated and acted on, the opportunity to actually act on it successfully diminishes.
Musicians by style and genreation..musicjuice.net is there right now
Musicjuice is the best choice for music lovers.Stay updated on passion of indie music and other favorite blogs with musicjuice.
That's not an issue for associative operators, so long as you keep track of precedence. x * (x * x) == (x * x) * x. But it may become an issue for more general grammars that need to handle left-recursion in a non-associative fashion.

The issue is that a top-down grammar cannot handle left-recursion, since it naturally leads to infinite recursion when being parsed from the top down.

I actually had to handle the left-recursion problem for a PEG I wrote in-house--right now I'm trying to convince my boss to let me open-source it :)
Whilst there maybe some nasty sensationalism going on here, that does not entirely exonerate Apple/Nokia. They put enormous pressures on their suppliers to deliver more goods in less time. The inevitable consequence is that the supplier pressures the production line to produce more and nasty shocks like this okay. The fact that this went on for a year or so unchecked means Apple is not auditing regularly enough. If Apple were running the production process itself I doubt this would happen, however when it outsources it does. Apple needs to be a good corporate citizen and also put its money where its mouth is, if suppliers do this cut them off.
Let’s abusively use cpp macros (or how to unswitch loop semi-automatically)
Regular patterns are usually matters of intent—being able to say "this code should have patterns X, Y, and Z" doesn't help you at all if those patterns aren't coherent to the goals of the code. However, "this code shouldn't have patterns X, Y, or Z" is useful, and therefore could be made to be checked automatically. Anti-patterns would then become like virus signatures in a codebase, found during compilation.
This looks sweet. Thanks sandal (for writing)/figured (for posting).
There are a couple other parser generators for JS:

* http://zaa.ch/2k - Jison

* http://inimino.org/~inimino/blog/peg_first_release - another Packrat (has an es5 parser as an example)

Plus a few more that work but produce generated code that's too slow to be useful.
Does one need to relocate to IIMA in order to take part in this? Plus what equity do you typically take?
This sounds like the best advice. Email the guy mentioning that he was recommended. Then negotiate from less that a grand to as much as you're willing to pay, never exuding urgency.

Don't lose sleep planning/hoping to snag the domain if/when it drops. It won't. Businesses don't abandon inventory.
I can't disagree with your first sentence enough.

Names matter. I'd have thought with a name like "nutter" you'd understand that, didn't you get teased at school?
Softraid: OpenBSD's virtual HBA, with benefits
For the sake of playing devil's advocate:

These chemicals are having an effect on the Chinese economy, and thus the world economy (globalized economic impact), as well as in some cases the environment. That kind of changes whose responsibility it is, because it really does affect all of us (this is a localized case, but there are many American manufacturers who manufacture items in China with methods that severely harm the environment in and out of China). Apple really should maintain more control over manufacturing processes. As a major player in both the US and the entire world, and a representative of the US economically (this is important because we constantly ask 3rd world countries to cut emissions and regulate things like this), they have a responsibility to make sure they don't do things like this in all areas of product creation (just because its offshore and outsourced doesn't mean they have 0 responsibility) when the cost of ensuring it to them would be essentially unnoticeable.

If it would be extremely costly to do this kind of regulation (since the Chinese obviously wont) on Apple's part, it would be reasonable to discount their responsibility, but it really wouldn't be that expensive if they wanted to. It's a bit naive to assume that Apple isn't knowingly turning a blind eye to manufacturing conditions. Apple obviously knows things like this are prone to happen when you outsource manufacturing in 3rd world countries, so maybe we should be asking them to do a better job of regulating who they do business with considering the range of impact they actually have...
Matrix Codes In Buildings, Clothing, Even Crop Circles
A buddy of mine is a blind hacker, he has a braille reader, but prefers text to speech. He's just recently spending more time in Python, so he's modified a text-to-speech plugin to convert 4 spaces to a single short "dit" sound. I can't imagine trying to keep indentation levels in my head.

His desk consists of an IBM Model M... and that's it... (He's also an audiophile, and has his TTS wired to the surround sound system in the room). I find I can use his system, but I have to slow the speech down to less than half the speed he runs it at.
I don't know what other value addition (identifying slow queries, scaling, replication etc.) you will be doing but setting up and maintaining a MySQL db is one of the easiest thing for me, a developer. And developers are your clients.
32k lines of code is one of the world's biggest Rails apps?

We clock in over double that, and still beat that number without counting auto-generated code (Ragel and Racc output), without counting views and templates, and without counting tests.

(We are, for the record, not proud of this number. "How did agility allow us to scale to such heights? Well, whenever we run into a problem, we fling more f'ing code at it, like a monkey with a handful of poop.")

There is no way either of these two apps --- ours or theirs --- can really be among the largest Rails codebases.
With regards to incorporation, I would only say the word "pressure" (at least in NY) might be too strong. They put it out there and make it clear - incorporate or clear out of the way. But in no way do they force you to do something you don't think you're ready for.

As for awolf's statement that it wasn't clear that it was a requirement, it's obviously meaningless to refute that subjectively. I will say that there's an entire section in the Founder's Guide (which you have access to once you're accepted) covering incorporation. The very first line is:

"Forming a company before the end of the semester and issuing the Bonus Pool Warrant is required to graduate."

Granted, that section might have been edited mid-year, but I remember understanding the point clearly before entering, mostly because I had an LLC and knew I'd have to convert it. It might suffer a bit from being right after the "Fundraising" section, which I'll assume most founders fast-forward to and reread over and over :)
This is completely incorrect and frankly your statement mirrors the problem. A "Bodybuilder" isn't only a professional (and even then your statement about substances is not grounded in fact). It can be anyone who is deeply interested in getting results out of their bodies. Most bodybuilders don't take steroids and other substances, they are just in tune with what makes their body build muscle and burn fat.

I really suggest doing some research.
I've tried this, i offered $100 for domain that i was kindof interested in. The domain guy laughed in my face, i bumped up my offer to 120 because it wasn't worth more than 200-300 to me, and im not going to start in that price range. The domain guy came back and said they were looking for five figures. Then i laughed in his face, and we haven't spoken again.

Yes they want to move product, but they also believe that you (or someone else) NEEDS that domain. They live on margin, not on volume.
There's a really good VM-based PEG parsing system called LPEG (http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html). Paper: http://www.inf.puc-rio.br/~roberto/docs/peg.pdf

It's for Lua, but there isn't anything in the VM design that requires Lua per se - porting it to another language's C API wouldn't be difficult. In my experience, LPEG has been quite easy to use for the sort of tasks one would normally apply regular expressions to (and then some, as it handles recursive structures far better), it's quite fast, and it's easy to tune incrementally. In my (not yet ready for release) Lua/LPEG webserver, I'm handling 1000+ requests per second in about 2MB ram total* , so LPEG's design has tamed the usual space issues caused by PEG memoization.

* Only a tiny amount of that time is due to request parsing, it's mostly because I'm still working the kinks out of the event loop.

One strike against it is that there isn't a whole lot of casual documentation, though the documentation that does exist (the research paper and a library reference) is quite thorough. Also, it takes advantage of Lua's operator overloading to make the grammars concise, which takes getting used to. Still, having it so thoroughly integrated into the language is extremely convenient, and it's quite a bit more expressive than regular expressions.

Also, here's a link to the PEG paper on the author's site, rather than behind the ACM's paywall: http://www.bford.info/pub/lang/peg.pdf . Gotta love the ACM.
Don't use that paper! I tried to use the parsing technique in that paper while working on a parser for use at the CME, and it caused me weeks of headaches.

First, you'll note the algorithm is extremely complicated--nothing like the simple top-down algorithm that makes PEGs so attractive. Not only is it complicated, it misses basic refactoring issues--some logic is duplicated across functions, and the functions interact in ugly ways.

Second, it doesn't even handle left recursion correctly. Throw a ruleset like this at their parser

A -> B "a"

B -> C "b"

C -> B / A / "c"

and it will explode into a million little pieces, because the authors did not account for any recursive rule having multiple recursion points. Don't even try something like

S -> A / B

A -> A "a" / B / a

B -> B "b" / A / "b"
If I Launched a Startup
I typed in my location as London, England but on the 'Your Results' page my location had been changed to Ilford K8, GB. It's very difficult to get it to show me the option for London, United Kingdom.
Yeah, there are domain names that sell for millions. Candy.com for example sold for $3 Million.
I think you'd have to make the product appealing to kids.

For example, someone built what is essentially an ipod for kids, but based inside a teddy bear

http://www.iteddy.com

Music devices inside stuffed animals isn't new. I (still) have a stuffed frog toy somewhere in my shed that contains a radio in its chest I received as an infant 27 years ago.

I suspect if you could build interactive applications embedded within a toy, you'd have a winner, especially if a parent could expand the applications on it.

Could you imagine an interactive teddy with its own app store powered by something like fisher price or hasbro?
It would probably look as fake as the example given.
The N1 will never do as well as the in-store phones.

Right, and they may not care. The main purpose of the N1 may be a warning to carriers that they can't cripple their phones too much because there will always be an open alternative.
http://www.paulgraham.com/disagree.html

DH1
what was the domain name you started and ended with?
There are folks within Sun/Oracle doing exactly that. One effort, Project Jigsaw, is aimed at splitting the large rt.jar into smaller modules to reduce the number of classes loaded on startup. Here is an update from last December:

http://blogs.sun.com/alanb/entry/is_the_jdk_losing_its

Somewhere in there is a comment that says the JVM loads around 300 classes to run an empty main class.

I'm curious to see what the merged HotSpot+JRockit JVM will look like in a few years.
Absolutely. Problem is everyone handing out PUA avoids telling you that because it is easier to market a "Method"(tm). Took me a few months and I know people who still dont "get it" years later.
And what use is the graph 'Obesity by Operating System'?
from last years FAQ

""When the company is formed we set up a bank account. When the bank account is set up we deposit a check for the full amount of our commitment ie. 5 Lakh directly into it. A company secretary is brought in to distribute funds from the company checking account as per the budget instructions. Adjustments to the budget can be made at board meetings. Founders do not have direct check writing control of the bank account."

Has any of this changed? (If not this is a sucker deal, hardly "YC style")

earlier discussion http://news.ycombinator.com/item?id=842150
This is just brilliant! Great work! I think you should be able to click the quote to go to the next one rather than having to go to the bottom of the page and click refresh. Other than that I loved it!
Vscsi(4) and iscsid - iSCSI initiator the OpenBSD way
Posts like this make the internet just a tiny bit more awesome. It reminded me of how great that movie was and at the same time made me see aspects of it that I had not thought about during previous viewings. thanks!
You don't need to relocate to IIM, you just need to be there from the 1st of June to the 10th to get your company incorporated and some awesome workshops we plan to have.

Ideally, we'd like you to work out of either Delhi, Mumbai, Bangalore or Hyderabad. We can give you living & working space in any of these cities.

Also, if you've just got an idea and no prototype or implementation of any sort as yet, we typically invest between 2-5 lakhs and take an average of 6% in equity.

If you've got a product out and some traction of some sort, we're open to other options.
So, is this the full version of the O'Reilly book [1] or something different? I'm curious about the business end of this project: did you sell this PDF before giving it away for free? How much revenue have you brought in? How much time have you spent writing/compiling/editing this book in it's current state. It seems like a very highly regarded book (judging from the Amazon reviews) so perhaps I am just out of the loop on this one, but I find the business aspect of these ventures most interesting.

[1]http://www.amazon.com/s?ie=UTF8&tag=mozilla-20&index...
I recently purchased a domain for USD 1k.

Key things: don't reveal your use of it (it's value to you) and aim low on the price.

I'd say that the key point is: Don't give away the value to you (hell I even used an anonymous email service to ensure I as the purchaser couldn't be identified) and be a penny pincher and aim low. I still paid a fair penny for mine, but it has actually made a difference to what I do and I think it was worth it.
The argument is essentially:
1) High-frequency traders (HFTs) increase liquidity. For the benefit of those who don't know what that means: there are actually a finite amount of shares of each company, and you cannot buy shares unless someone is willing to sell theirs to you, and you cannot sell shares unless someone is willing to buy them from you. You can imagine that you might not be able to sell your shares the instant you want them to if humans are in the loop on the buyer side (i.e., if a human has to review your selling price and decide whether or not to buy), and vice-versa. In contrast, if somebody has programmed a computer to automatically execute trades if certain conditions are met, you can buy and sell shares very quickly. This is what HFTs do.

2) HFTs provide transparent price discovery. This means that the computer programs the HFTs have set up will quickly and unambiguously tell you at what price they are willing to buy and sell shares. Contrast this with a hypothetical process in which you had to haggle with human representatives of each shareholder or potential buyer in order to figure out the price. It's similar to consumer vs. enterprise software sales (sticker price vs. "well, how much can you afford?"). In theory, transparent price discovery promotes fairness (everyone sees the same price) and encourages trading due to decreased latency and hassle.

3) Lots of repetition of 1 and 2. Also an assertion that HFT decreases volatility (average dPrice/dt), while most commentary on the matter assumes that it would increase volatility, due to algorithms that are either busted ( e.g., http://arstechnica.com/business/news/2010/01/how-a-stray-mou...) or interacting with one another in a bad way. It is disconcerting to me that the author cites empirical evidence without a hint of intuition or insight to help the reader generalize it; however, it is difficult to dismiss the evidence off-hand without looking at it more closely and/or being more expert than I in the matter.

Points 1 and 2 are by far the most common and obvious arguments for HFT, and the analysis in TFA is not bad, but not exemplary either. The rest of the article is basically redundant and comes off a little defensive. I found this article interesting ( http://www.zerohedge.com/article/whoa-glitch-hft ), though its tone is also less-than-objective.
I don't understand how you can argue against the research that shows that vegetarians who supplement with creatine perform better than vegetarians who don't. Vegetarians do not produce "enough" creatine on their own. If you want to disprove that, find research that shows otherwise.

The wallet analogy wasn't that great. Allow me to try. I have all the exercise equipment needed to stay in great shape in my house, but that doesn't mean I'm in great shape.
No.. They wont declare a patent war? Why would they?

Linux isn't having an enormous effect on their sales, and Microsoft aren't the sue-happy type anyway (despite claims by users), because they KNOW that lawsuits are frowned upon by users, and would cause an exodus.

I think its pretty obvious that the recent lawsuits by Apple aren't viewed favorably (and has probably encouraged users to avoid them). Furthermore, the same companies selling Android phones, are also selling Windows phones (whereas Apple are the only ones producing Apple phones). Why would Microsoft alienate its vendors?

There is nothing in this article which in the real world screams out that a lawsuit will happen. It's just a bunch of silly assumptions.
An IANAL answer is perfect for me, it's a very low key project that I ported. I was just hoping to move it from GPL to a 3 clause BSD license.
For comparison, rake stats reports BCC is about 6k these days -- not counting the Java client application.

When they reported 30kloc in the app the Enterprise developer in me immediately started thinking of "Where is the rest of the iceberg hiding?"
I was giving feedback. I know how to use my browser but that is hardly convenient. ;-)