skysight-inc/HackerNews huggingface dataset:
It's recursive. Probably easier to get your head around the recursive solution to the towers of hanoi (http://en.wikipedia.org/wiki/Tower_of_Hanoi) and then start on the Chess code!
Good catch, although that would be easier to discount as an oversight.

[Edit: sibling post explains it.]
tl;dr version?
Why was the line between Customers and Orders removed? Adding CustomerID to Orders just does the same thing.

All they've done is remove the connection between Products and OrderLines, which is partially rational in the real world: what if you want to give a discount? A partial refund? What if your products change prices at times? If you don't include the cost on the OrderLine, you've gotta handle version issues for every single instance.

As to the product name... why would it change? A new company took over the product? I'll bet it has a different cost, new packaging, and a new description. Is it really the same product? And, by disconnecting them, they've now lost any ability to do comparative analysis, recommendations, num-sold... anything meaningful aside from displaying the order.

If your only goal is display, just save the rendered webpage you presented them. It has as much meaning, and will always look the same. If it's doing anything with your data, normalize away.
Ah yeah, I'm quite familiar with GGP. I'm very skeptical of its "generality", though, once you get away from anything that's vaguely similar to chess. For example, try writing Starcraft in GDL (even a discretized version); it's not impossible, but I sure wouldn't want to do it, and the result wouldn't be tractably usable by any GGP engines either. I'm working on a project currently that needs a logical representation of videogames, but I'm not using GDL, because it's just a pain in the ass for videogames (and I want an internal time axis also, not a state-transition system).

But mostly I was thinking on the playing side: I don't think any of the current GGP approaches can even come close to playing strategy-type video games, because they don't typically have any real notion of, as you mention, similarity between situations, or a decomposition into hierarchical or interrelated concerns. A Starcraft bot that treated Dragoon microcontrol as an equivalent-level problem to build order probably isn't going to do well. I think the robotics community might actually have a better starting point: architectures with interrelated components like SLAM, planning, motor control, etc., as opposed to trying to turn the "robotics problem" into one giant state space to be navigated by one giant algorithm. Trying to build an agent that plays two quite different strategy games well (Starcraft and Planet Wars) might be one way of driving the development of those kinds of decompositions.
You are not curing cancer.
Also doesn't detect stalemate.

umm...are you saying that when in a position where it's impossible to make a move, it still moves?
Moving some vectors around to make it look more similar - would I like to hit a nice solid wall at 60MPH or a parked car head-on at 120MPH.

The head-on collision has twice as much energy to dissipate, and introduces all kinds of projectiles and other stuff heading in my direction. I'll take the wall over the car.
clickable: http://somebodybuildthis.com
Ever notice that virtually all Agile success stories are written by Agile consultants and not by developers? Ever notice that nobody actually claims to have built anything from scratch with Agile?

The stories all read the same. Product has already been built. Developers stuck bike shedding over some piddly detail, when lo and behold the Agile consultant arrives to cut through the Gordian knot by placing the developers on a strict regimen of myopic thinking and inattention to detail.

Agile is bullshit.
A quote by somebody who is not an astronomer, clearly (she said, while in the other workspace watching data originating gazillion of miles away taken by an instrument that works only because of obscure quantum effects).

:-P

Seriously, I think starting to think your discipline is somehow superior to others is an open door to complacency. I think what I do is pretty cool, but what a lot of people do is pretty cool. Not sure why I would try to outdo a neurosurgeon ("gee, you are only working to a 10^6 dynamic scale").
Nice try, Alan Kay! <http://www.youtube.com/watch?v=s7ROTJKkhuI>;

(For those who don't feel like watching: "Arrogance in computer science is measured in nano-Dijkstras.")

As a Dijkstra fan myself, though, I feel duty-bound to emphasize that condemning a claim as having been stated by an arrogant man is just a somewhat more subtle way of stating an ad hominem fallacy.
Nice idea (heh), maybe pinch some top-rated ideas from http://halfbakery.com (with attribution) to kick things off a bit.
What Gets Measured, Gets Managed
A less sensationalist title:
Australia gets Chinese Money, China gets Australian Ore.
Bitmeyen şarkı 4.Bölüm fragmanı izle
I have pretty broad personal experience in the USA and globally. I also have the experience of talking about this with tons of other transplants to Seattle, as well as disgruntled locals, and reading a lot about it. Not much disagreement on this one - Seattle has deep issues with passive aggression and false niceties.

http://www.google.com/search?sourceid=chrome&ie=UTF-8...
It seems the author likes to use variable names to encode messages:

- "Biyubi" looks like his nickname (on his chess site [1] contact mail is "biyubi@gmail.com")

- there is also "o, S, C, A, R, T, G" which are his first name and surname initials

- and already mentioned "X(c, h, e, s)"

[1] http://nanochess.110mb.com/author.html
Oh, Interesting. I always figured GPS satellites were geo-stationary, but in fact (as you pointed out), they travel at 7000 mp/h :-0
Agreed. Smiles, promises, and handshakes from the vast majority of MBAs mean nothing. If it ain't in writing it don't exist, and to proceed otherwise is great risk.
Don't forget nature sounds (animals, etc.) and weather. They both played a big part in it for me.
Have you written about this anywhere? It sounds like there's an interesting story here.
Dupe: http://news.ycombinator.com/item?id=1628534
That argument can go both ways. If the pain of the memory is causing you to be hurt more, then repressing it is to your benefit.

Given what depression does to people, based on that argument alone, I'd say evolution strongly favors repression of any rare trauma.
Research Upends Traditional Thinking on Study Habits
I don't know about positional information, but I've had good luck with PDFBox for text extraction. And by good luck I mean as good as it gets considering I am using something for free and working with the PDF standard.

This was a system used in production but had several checks and fallback mechanisms because the process was unreliable.
Consumer Watchdog has Google watching you watch it keep watch on Google (whew)
What this article describes has already been solved with zip, gzip, 7z, bzip and forks of tar

The problem is that at the moment there is no open standard (there are IETF proposals) since each of these is either patent, copyright or trademark encumbered.
Obligatory Designer Clock
The thesis here is that young, poor women cheat much more than rich women. So much so that 30% of poor children were not sired by the men they think their father, while in rich families this is only the case for 2% of children.
It would seem his opinion only got worse with time:

http://www.azarask.in/blog/post/macintosh-project-genesis-an...

His mid-90s annotations retract things he thought politic to say in the 80s.
Castling is broken.
It's truly remarkable how nobody cared to attend to the bug report about the drift, given that they are in the business of making missile pilot software, and it turned out they can issue a patch in one day.
My teachers didn't have such a terrifying example at hand (they emphasize it with financial calculations), yet I still remember the issue and consider it when necessary. Poor QA :-S
I'd say it depends on what your goals are. If you want to build a following for your blog then it is definitely doing, but if your goal is to lose weight or renovate your home, then it is talking.
You can be both really. I'm not much of a talker, but I HAVE been talking about getting my truck registered again for the past year. My excuse: it's a lot of money, and I don't use it :)
Interesting observation. Though it demands what exactly is considered repression and the degree to which it is done. Person's memories are malleable over the time. A memory of an event 10 years back will be modified over the course of 10 years based on other events during that period. Rashomon Effect is not just among people or in a society, it also applies to a person and his internal loop. Also - correct me if I am wrong here - degree of repression if any also depends on the age (and thus mental setup of the person then) of person involved. There may be memories of trauma a 4 year old may have endured and long forgotten by his conscious mind but may surface in the form of unnatural phobias/fears. But as mentioned before, it is not hard for someone to plant an idea into someone else's mind or tamper with his/her memory and inject false ideas, particularly in a patient-doctor relationship.

Conclusion: Basing legal judgements or decisions purely on a person's memory is wrong. Our insight into memory is not deep enough to be making such decisions. Diagnosing a person who may be experiencing depression/fears purely based on his own memories sounds absurd.
I love it. So subtle irony towards the MVC...
There's a lot of sound advice in the thread (TL;DR: many red flags, get out now!)

I'd like to add my experience of having stayed at such a company, and getting the short end of the stick.

If you end up making the wrong choice -- yes -- you'll lose money, bills will be scary, etc etc. I hate to sound cliché, but you sound like a bright individual, and that stuff will eventually recede in your rearview mirror. If you stay and get screwed, you will still eventually leave, and then you will think about two things:

a) How stupid you feel for letting a company walk all over you. Like, "Aren't I smart enough to avoid those traps?" (Answer: only after you've fallen into them once or twice.)

b) Eventually, you'll appreciate the wisdom earned from failure. I worked for 4.5 years as employee zero, with little in the way of appreciation from my employer (not just material). I saw many things I now recognize as hallmarks of mismanagement. As much as I felt like a heel for not having the gumption to quit, I earned a great deal of experience that I rely on daily.

So -- if you end up staying, and you end up like me -- it's not all roses, but it's not all thorns either. Knowing what you don't want in an employer is often as valuable as knowing what you do want.

A final aside: there was no malice at my old company. They were decent people, but something else was always higher priority, and the results spoke for themselves.
I think it would be more like adrenaline, which masks pain so that you can continue to function.
I've seen that page before but then had a hard time today to find it again (lots of google and HN searches!). The idea is interesting and simple.
Does a video game demand the same quality as life support? A double float time since boot is handy.

God's right here. He's listening to you. You know that, right?

maintain discipline seated us overcoming groves went Predicaments
exhort vein parity hereafter teeming feverishness angels
altogether strongly vanities profit pronouncing rare Despite
advance shone senseless plainness indigested tender figurative
reproof Catechumen Augustine
But when would he tell you those things if he kept at Level 4 all the time? When you just happened to run into him at a hockey match or a Republican meeting?
I don't think he's using the nano-Dijkstras comment as an argument, but as a side joke. He refutes Dijkstras on empirical grounds: the US way of programming got the job done, as illustrated by the fact that most of the software in the world was being produced there.
Rob Pike On Go at Emerging Languages Camp 2010 (video)
CMU Snake Robot Climbs Trees
However, a concise, expressive, very high-level domain-specific language can make it impossible to express many idioms that would break the semantics of the domain.

As an analogy (I hesitate to use one because of the article), you could have a high-level representation of HTML that would make it totally impossible to generate <HTML></NOTHTML>, which is not the case if you use a general-purpose system. (not a foolproof analogy but anyway)
Don't forget getting your pals on the board (and having them put you on their boards) so you can give each high compensation packages and maintain control (extract the maximium value from the companies into your own pockets).
No, it just sits there.

Does it not report win/loose? I only played one game.
The CSS 2D [1] and 3D [2] Transforms Modules specify that browsers should expose an implementation of the CSSMatrix interface; unfortunately, only WebKit does this at the moment. However, since that's also the only browser in which the CSS 3D Transforms Module is implemented, it doesn't really matter too much yet. WebKitCSSMatrix [3] provides most of the low-level code you'll want to generate 3D transforms, including the fundamental multiply and inverse methods, along with convenience methods for scaling, translating, rotating elements around the x, y and z axes and rotating around arbitrary (three-dimensional) vectors.

[1] http://www.w3.org/TR/css3-2d-transforms/

[2] http://www.w3.org/TR/css3-3d-transforms/

[3] http://developer.apple.com/safari/library/documentation/Audi...
Does this teach me how to think with artificial intelligence?
The 2.85K is after Closure :-/
Americans and Europeans mean different things by "left wing" and "right wing." In Europe, the spectrum goes from socialists to fascists. In America, the spectrum is much more narrow. It goes from a highly regulated state to a highly deregulated state, speaking economically. So in America, being against huge corporations is basically a left wing thing.
copycats!
Looks and sounds great - I can't try it out since I'm an Android user, but best of luck to you. Make an Android version soon? : )
...hm, how many orders of magnitude down are the tidal forces this ignores?
>>> Like all digitally encoded information, it has unavoidably the uncomfortable property that the smallest possible perturbations —i.e. changes of a single bit— can have the most drastic consequences.

>> Error correcting codes do exist!

He acknowledged this explicitly immediately after, on the next sentence:

> [For the sake of completness I add that the picture is not essentially changed by the introduction of redundancy or error correction.]

Think of what happens if a single bit is changed in the error-correcting part of the program.
Googled: The End of the World as We Know It
When at level 4, I try to have the conversation at the door with me inside and the other person outside. Once, I was really tired, but the other person really kept going on and on, I gave several hints that I've had enough, but he just didn't get it, I even said "Okay, It's nice talking, but I need to sleep now." He answered that he understood, but for some reason understanding it didn't make him stop talking. I really didn't care anymore so I just closed the door slowly while still he was talking. And left it at that. My roomate who was watching said I was rude, I said I know and we both laughed.
One of my college professors was an outspoken opponent of missile defense systems (and the Patriot system specifically) that worked during the missile's reentry/descent phase.

His objection is that it's too easy for an opponent to defeat the system either by overwhelming it (MIRVs for instance) or by designing the reentry vehicle to make random movements which would make it really difficult for a intercepter to track. Even if the interceptor can hit it, it's more likely to knock the warhead off course instead of destroying it. If a nuclear missile is aimed at NY and an interceptor hits it so that it falls to Philly instead, that's still a net loss.

Saddam inadvertently hit upon the both methods - his engineers tried to improve on the Soviet scud design to give them more range (which they were successful at) but their improvements made the missile more likely to break up on reentry (which presented more targets than the tracking radar anticipated) and the lack of aerodynamics of the resulting pieces (including the warhead) the missiles fall in unpredictable ways which caused tracking problems. An opponent that actually tried to game the system could make his missiles more difficult to hit.

The professor is advocating for boost-phase missile defense since the missile movements are much more predicable.
Marak is definitely unpleasant for some. However, he regularly contributes code to the community that people consider useful. For example among many high profile developers, Tim Caswell, a cornerstone of the Node.js community voted 5/5 for utility on the Nodejitsu Node Knockout entry. You're acting like you're a part of the Node.js community? If you or anyone is going to be so negative, they should at least have one or more nodejs projects that have been publicly noted as useful or relevant. So ironically, you're quite a troll.
No, no, a thousand times no to your whole outlook here. If powerful general APIs are provided, people will build the (hopefully open source even) abstractions on top which wrap those up in cute, easy-to-read, easy-to-use bundles of functionality. JavaScript should have access to some real binary data type, should have some general APIs for doing fast math on those types, should have direct-ish access to APIs like cryptography and data compression, &c.

The reason that the web is built on a giant pile of hacky taped-together spaghetti (to mangle some metaphors) is that instead of providing access to real low-ish level features, every browser has had its own special set of half-baked high-level APIs and leaky abstractions.

So, for example, I hope that WebSocket stays as simple as possible, the way it is now (the way Ian Hickson argues for it to stay), instead of sprouting complex authentication, encryption, specialized compression, various multiplexing and tricky framing features, &c. &c. on top (as the Java community and the IETF mailing list on the subject keep bickering about).

The worst thing that can happen for the language and its community of developers is to continue to be treated as second-class novices who need our hands held and must be guided through APIs providing the precise features envisioned by some enlightened browser vendor. If instead we’re treated like adults, there are plenty of really really smart JavaScript coders who will be happy to experiment with abstractions on top of the language and give the high-level website developers awesome tools, which can evolve and grow over time. We should be making it possible in the language John Resig to build jQuery and processing.js, rather than making it easy for Joe Random Developer to access some specific high level thing in as few lines as possible.
Is it just me or is having the navigation on the right hand side of the page really unusual?
There's a recent one that's supposed to have done respectably on Pac-Man: http://www.vetta.org/2009/09/monte-carlo-aixi/
Which community is this in Cambridge?
Hi, I'm an intelligent American who occasionally tries talking about politics.

Many otherwise intelligent Americans are monomaniacal nutjobs or partisan hacks when it comes to politics. Of course, many Americans who are not otherwise intelligent are just as bad. People get indoctrinated in a certain political viewpoint and don't have the ability to take on good faith anyone who disagrees with them. As a result of this, it's so difficult to find someone capable of intelligently and thoughtfully discussing political issues that it's rarely worth it.
And enjoy sleeping with all the bugs? ;)
Blame Malcolm Gladwell and Chris Anderson. Those guys sold a ton of their books (airport books) and now their style is creeping into journalism.

The stories are not used as supporting evidence, references or as facts to build an overall conclusion to some new idea - but rather as infotainment, where the anecdotes are the whole point of the story and there is no real firm conclusion or over-arching theme that is proven.

The anecdotes are easy to digest and repeat, which helps not smart people sound smart when they tell the same stories to a group of people.
Analysis of how this works?
i want something like this. :-)
The CSS 2D transforms are frustratingly crippled in my opinion. Instead of allowing the specification of a full 3x3 matrix for doing homogeneous coordinate transformations (and thus general perspective transforms), only a 2x3 matrix can be specified. I’m really glad they actually give access to the whole 4x4 matrix in the 3D version.
Nice and simple! I like it!

Looks like you've already given some thought to iPhone support. I might also suggest adding fullscreen mode once the app is added to the home screen: http://building-iphone-apps.labs.oreilly.com/ch03.html#ch03_...

The "new thing" text input could use some CSS for smaller screens too.

Apologies if you already knew all this...
The Flash is buggy; when I mouse over the items, the little label doesn't "unfold" until about 10 seconds after I move my mouse out of the photo. I can see what it's trying to do -- it unfolds for an excruciating split second -- but I can't interact with the movie.

HTML works on more devices, requires fewer resources for an application like this, and usually works more reliably in my recent experience. Why use Flash for this interface?
Totally fair. I did say "millions" but I concede to your point.
I suppose that you know your own conversion rates well enough, but I personally am not going to click a PayPal 'buy now' button just to find out how much the book costs. In fact, not listing the price screams of scam to me.
Geostationary orbits would tie the satellites to being directly above the equator, which (a) would prevent the system from working beyond a certain latitude and (b) would cause an extremely bad distribution of "visible" satellites and angles between signals, precision would suffer.
I always rather liked "Less is more; more is less."
It’d be nice to have better docs, but it’s not especially in scope for browser docs. Instead, someone should point to some good basic resources about linear algebra: matrix math, homogeneous coordinates, eigenvectors and eigenvalues, etc.

This particular blog post doesn’t really say much.
I would wager that some of the NIH syndrome is due to top secret requirements and blackops development that makes things tough to get at source code for other systems.
Unless he is; there are computational biologists who try to use math/programming to cure cancer.
I feel like the stuff I studied in school leads 90% of the grads in my field to making electronic doodads that no one needs or websites that contribute nothing to society. Working on something that might, actually, help another person in serious way seems pretty rare these days.
Steve is the 'brave general' that sparked Apple, destroyed it, and rebuilt it again. He may have been a sociopath artist in his 20's but he grew up to be the world's greatest CEO in his 40's and 50's. Just look at the Apple 10 years ago and look at them now.