skysight-inc/HackerNews huggingface dataset:
No. Unfortunately, I don't know enough about actual campaigns/strategy to do so. Not that I don't find the topic interesting, but I just never did enough background reading to pull something like that off (unless the Flashman books count ;-), and when you're on deadline, you don't have the time to do detailed research on off-topics. Woulda been cool though -- maybe if women do less reading of that topic, those types of detailed analogies would be used less, but I do think everyone loves a good, violent analogy whenever possible
That should be CNC mills, not lathes.

A mill makes mostly flat 3D parts like laptop chassis. http://en.wikipedia.org/wiki/Milling_machine

A lathe makes turned (round) parts. http://en.wikipedia.org/wiki/Lathe
> So what are some dumb things developers constantly do?

People will give tons of various anecdotes on this, but they apply to them, not you. The stories they tell are just the scorched remains of a unique learning experience that can rarely be communicated verbally.

Keep doing things that seem interesting and hard. Don't be afraid to do stupid things. Everyone has to do a stupid thing at least once to learn from it. Identifying and eliminating your own stupidity afterwards is what will make you good.

Whether you identify the stupidity yourself, or has it pointed out by some helpful master is up to you. Both work.

TL;DR: http://ed-thelen.org/comp-hist/samp-IBM-think-sign.jpg
To what end? I guess they could troll your "mobile app installation counter" if they really want to, but so what?

If someone wants to misrepresent how many times they've installed your app, there's nothing you can do about it. (They could just uninstall then reinstall over and over.)

Though... obviously they should only be able to mess with their own statistics, not the global statistics.
Survetement Lacoste
Well, I am suspicious about an article that talks about lathes with regard to making Macbook parts. A Lathe is a machine on which parts are spun at great speed. It is good for making things like the legs of tables, etc.

http://en.wikipedia.org/wiki/Lathe

Apple's unibody technology uses CNC machines which are more appropriately called mills. They are not that uncommon, and are widely available to everybody... and have been for years. Maybe Apple uses machines from a particular segment of the market that has dried up supply, but it is rare that a company has too much demand for a product and isn't interested in building more.

EG: There's no evidence Apple has cornered the market on CNC machines, which can come from a wide variety of companies.

However, companies like Foxconn, do invest billions in buying large quantities of such tools and then dedicate them to manufacturing apple products, because Apple's specifications require them to do so. (This from an article I read interviewing Foxcon's founder.) The Band on the iPhone 4 required 1,000 custom metal machines, for instance. No doubt many of those billions invested in those machines come from Apple.
Ask HN: iPad2 4.3.5 wifi issues, help find a solution?
Just received my new iPad 2 straight from Apple last night. Came with 4.3.5 preinstalled. Was tearing my hair out over connectivity issues until I found that turning off the WEP or WPA or WPA2 - i.e. turn off all security - "fixes" it.<p>So tonight I spent some time trying things with the iPad 2 and a monitor on the router.<p>If ANY type of security is turned on, then the router sees the iPad 2 connect, but shows it as having the IP of "0.0.0.0". If I try to enter a static IP, this makes no change at the router, and there is no obvious change at the iPad 2. If instead I try to use DHCP, then the iPad 2 initially shows nothing. If I renew lease I then show an IP of "169.254.176.38" and a subnet mask of "255.255.255.0", although the router still sees it as 0.0.0.0.<p>Once I turn off security, then DHCP works. HOWEVER, if I try to setup a Static IP it STILL does DHCP as evidenced by the fact that disconnecting and reconnecting the iPad gets an IP address that is NOT the one I have put in with the Static IP.<p>Since it works without dropping with security turned off, I doubt this is a hardware issue. I am wondering if "fixing" certificates in 4.3.5 broke something else?
Node is appealing because Javascript is ubiquitous, but I doubt it's harder to learn Erlang than it is to learn to write everything in nested callbacks.
Nitpick: Node doesn't do anything in parallel, it can't, it does things concurrently.
Most viruses kill the host cell, or at least render it incapable of performing its normal function, so if most of the cells of a type are infected you are in trouble anyway.
Show HN: My weekend project - Chessboard picture recognition
> In my experience Node.js is more difficult than synchronous code. But it's also, by far, the easiest way to get something running that's massively parallel.

It's asynchronous, not actually parallel. Only a single CPU core will be used in node.js.

However, waiting asynchronous tasks will let other tasks run meanwhile, which can feel like parallelism.
Why would the bank spend more money to tear it down instead of trying to make some of their money back by selling it? That's what banks try to do with other buildings.
I think that the point was that the AST for a Scheme program isn't that different from the AST for a Python program, even though the code looks different.

Unfortunately that point is false as well. The AST for a Python program will generally involve a lot of message dispatches that won't exist in the AST for a similar Scheme program.

To get a sense of the difference, in Python if you yield, your code actually gets turned into a class with certain methods that get called repeatedly, and restart your method at the correct place with the correct state. By contrast equivalent code in Scheme will somewhere under the hood have call-with-current-continuation, which works by very different mechanics.
I do like the idea of having it as a capstone. It's what Brian said: "I wish we could teach SICP both to incoming freshmen and seniors before they leave." I definitely understand a lot more of everything the second time through as a TA!
"mei" is "may". "me" is "meh". :)
First of all, the proper term for the tool in question is a CNC mill, or "CNC machining center" as it's sometimes termed by the manufacturers of such machines. A solid block of material enters, and the finished product emerges.

Inside the CNC mill, a variety of rapidly spinning milling cutters (think of an intelligent Dremel tool) cut out the part. The work piece is stationary (for the most part) and the tool head moves. A typical CNC machining center will have an automatic tool changer so that it can cut with a variety of different milling cutters (bits) as it performs various cutting operations.

In contrast, a lathe (manual or CNC) rotates the work piece (typically a cylindrical piece of metal, or bar stock, such as square or hex stock) and a non-rotating cutting tool trims excess material.

Now with that out of the way, the story is a bit suspect. What's to prevent the competition from buying their own factory with 10,000 CNC machining centers? Or bankrolling their preferred vendor to do so?
Apparently now they hit the App Engine quota. Y U NO HOST YOURSELF? i want to say.
Hmm, nice spot. Incorrect assumption of synonyms on my part.
> I recently wrote a project that needs to do 100's or 1000's of possibly slow network requests per second. The first try was Ruby threads. That was a disaster (as I should have predicted). I had an entire 8-core server swamped and wasn't getting near the performance I needed.

I don't mean to be offensive, but welcome to at least the 1980s. We've known this doesn't scale for ages. The fact that you even tried it and thought it might be a viable solution just shows your education has failed you. I am highly biased against Node, I think it is a giant step backwards. Every blog post I have read that says the opposite admits they have no experience in anything else so they just default to Node being good. I only hope Node is a fad.
That's what replaceState() is for. https://developer.mozilla.org/en/DOM/Manipulating_the_browse...
It sounds like your experience was very similar to mine. Except that I long ago upgraded my 80-char margin to 120 :)
True that there's nothing terrible they can do when it's just statistics. The obvious solution would be to remove the global variables altogether, so that each user only has their own (from which the global versions are calculated).

That way, if the user was to do stupid things to their own variables, they could just be removed when calculating the global ones.
Raid on Russian Firm May Have Taken Down MacDefender Malware
As a mental exercise, consider the thought process behind the perspective that this is "anti-competitive".

1. Apple has taken a technology- metal milling- that has existed for at least half a century, and used it to make a nicer laptop case.

2. Apple uses the modern manufacturing method to do this, requiring expensive CNC machines.

3. Apple introduced popular products that, when you open them, look like they were hand crafted by master metalworkers in the 1940s (I'm serious!) while their competition is still shipping cheap plastic cases.

4. Even though there are dozens of suppliers of CNC Mills of all type, Apple's requirements contain the market for a particular type (this is speculation on my, and the articles part.)

5. Therefore, this is "anti-competitive" because Apple's competition can't just copy the unibody case idea and order machines and make their own unibody cases?

6. So, what could possibly be the remedy? To fine Apple for being successful with an innovative new case design? To institute some government board of allocation to allocate the (currently, and only temporarily) limited supply of CNC machines?

If Apple hadn't been competitive-- that is, if Apple hadn't innovated and come up with a new case design-- there would be no demand for these machines from non-Apple people. So, this is a result of competition on Apple's part.

Sometimes I imagine that people think that if Apple is successful by doing something better, that this is "unfair" and that Apple should be punished.

Hell, I wish I could make a crapy video editor and then force Apple to give me some of their final cut profits, because, really, it is so unfair that apple makes such a good video editor, I'm just one guy and I can't hope to compete with that, right? (Just kidding, forcing Apple to do that is aggression, and is immoral. I'm just being illustrative. While I've thought about making a video editing app, I've not done that, actually.)
This is a pretty common pattern for any work you have to do asynchronously, pretty much all libraries should be implementing this for you so the first 3 lines should be all you code

getSomething("id", function(thething) {
// one true code path
});

function getSomething(id, callback) {
var myThing = synchronousCache.get("id:3244");
if(myThing) {
callback(null, myThing);
} else {
async(id, callback);
}
}

a minor quibble with language style isnt exactly what I would call "A Giant Step Backwards"
Mere implementation details! I shall apply for my patent forthwith. (That is, I have no idea what most of those terms mean) :p

The necessary internal variation sounds like it'd be the fatal flaw here, unless there's some way to determine 'good' changes and 'bad' changes.

As you said above, there are already repair/watchdog proteins for specific sections, so maybe that could be the basis for additional checking in other high-risk areas (Telomerase?).
Wikipedia is my charity of choice. No other entity (apart from perhaps Google) has done so much to actualise the potential of internet and deliver so much benefit to the world.
The rules of Go are explained here:
http://www.angryflower.com/timefo.gif
Are You the Tortoise or the Hare of SEO?
This is BS. If you don't allow yourself to do stupid shit you're not being creative or explorative enough in the pursuit. You may be a technical master but you will never be a game-changing luminary.
U.S. Cybercops Caught Flat-Footed by Massive Global Cyberattack
lol I was afraid I had just clicked on a hentai link at first.
I'm not sure how true PG's essay is in regards to American middle schools.

But my limited understanding of societies confirms one of his central point: being social requires a lot of effort, being popular is a full-time job.

Attitude has very little to do with it, I have lost count on how many people I've met who are both assholes and funny/charming.
Using Topshelf, Quartz, & Other OSS Bits Part 2
The Mars' circumference is ~13000 miles / ~21000 Km. If the landing site is on the correct side of Mars, the astronauts have to travel, let's say 2000 miles / 3000 Km, without roads or gas stations. So probably in the fists expeditions the persons will explore only the neighborhoods of the landing site, and will not be able to travel to the interesting sites.
I knew it would be like that as soon as I read the headline. 400% increase in anything is very rare, unless the actual incidence is small.

Additionally, 400% is a pretty sensational(ist) number, and any time the headline sounds trumped-up, it usually is.
How To Dupe The Press With Out Of Context Statements
I think you are missing the point. The question is what would one do if the building fell into disrepair and no one wanted to pay to maintain it. See Detroit for an example of this happening to houses.
In my opinion, in this context, the appropriate time to "do stupid shit" is after you've become a technical master and have the ability to "do stupid shit" with a high level of artistry.
I think you should look at the HN community as a model, rather than 4chan. Consistent pseudonyms, tied to karma seems to work. No?
This article echos one of Nassim Taleb's central themes, that what doesn't happen (or that we don't do, or we actively avoid) is often as or more valuable than what happens/what we do/etc. But we tend to discount the value of things that we can't see or that didn't happen, thinking everything of value must be 'actionable', and that's a mistake.

It's a pretty common idea among traders as well. One of the fundamental teaching examples is why it's better to avoid a loss than make a gain:

Say you start with $100 and take a 50% loss down to $50. Now, what percentage gain will it take to get you back to $100? Many people new to the game will unthinkingly answer a symmetrical 50% gain, but of course that's wrong. To get from $50 back to $100, you need a 100% gain.

For every loss, getting back to even requires asymmetrically more % gain. I imagine poker players are very aware of this harsh fact as well.

There's even an old misquoted Japanese/Chinese proverb that hints at it - If you sit by the river long enough, you'll see the body of your enemy float by. Implying the power of doing nothing and letting your adversary shoot themselves in the foot. (http://news.ycombinator.com/item?id=1225153)
Same here. I was thinking it was unintentional until I checked the website and saw the girl cartoon.
This is so funny. I like it. +1 for humor. Parse.com just sounds so ordinary.
Are you looking for freelance work or permanent position?
In the comments section on the blog, someone mentioned that the scammer might be running a call-center for the companies, where they get paid by the minute for their services. I think that would better explain the 6 minute requirement than the 'lead generation' argument.
Amen to that. The power of Node is this language style already makes tons of sense to experienced front-end developers who deal with async flow for everything they do.
What about a virus like Herpes which enters a nerve cell? My understanding is that nerve cells have extremely long lifespans so inducing apoptosis in them has the potential to destroy physical sensation no?
Anyone doing a Perl version or a !GASP! Tcl version?
I remembered this from "The Man Who Makes Your iPhone":

When Apple's iPhone4 was nearing production, Foxconn and Apple discovered that the metal frame was so specialized that it could be made only by an expensive, low-volume machine usually reserved for prototypes. Apple's designers wouldn't budge on their specs, so Gou ordered more than 1,000 of the $20,000 machines from Tokyo-based Fanuc. Most companies have just one.

http://www.businessweek.com/magazine/content/10_38/b41950584...

Could very well be that the machines are exactly these, designed only for prototyping and not exactly something you can easily get ahold of in a large quantity for mass manufacturing.
I do have a twitter account. But I haven't made this service popular.
This is the first time my word is published like this.
I want to thank you a lot
I don't know anything about "chess theory" but are there some squares that only certain pieces can get to? I don't think it's possible for a Knight to ever be on some squares, so maybe you could use logic like that to narrow down the piece detection.

It may be easier to just track the game state from the start instead of trying to identify the position of the board at a random snapshot in time.

Cool project though, seems like a good intro to image processing.
Appears sluggish on Firefox too.
> "If it's not broken don't fix it."

Definition of stupid shit is relative though, what's stupid in the codebase today may not have been so stupid 3 years ago. What might look stupid upon first visit might actually be the only reasonable way to solve the problem.

But then there's other stupid shit, hacks for quickly solving a certain edge case. For example abusing Java type erasure and collections.

Other stupid shit from experience is avoiding risk of "new" technologies, (Still on CVS).
A music analogy. I know a woman who is a wonderful harpist. She's a freaking musical genius who comes up with awesome and highly imaginative stuff, and has the guts and skill to execute it. However, she often does this thing where she accelerates near the end of the number. I think she's just being sheepishly modest, but it makes the end feel like a cartoony little apology. Really, instead of speeding up, she might just as well segué into "Shave and a Haircut...Two Bits!"

There's an analogy here for both authors and software developers.
Then the page will require JS to be enabled.
Heroku is a Glaswegian-Bovine greeting. Strickly speaking it should be Arighku.
Thanks for the downvotes, HN!

>That's certainly an interesting way to look at it, but it doesn't change the fact that Android does make money, both for Google and for carriers/manufacturers. So, again, it's not an artificially lowered price, and while it certainly augments search, it's not subsidized by search.

Google's revenue sources from Android are mostly mobile searches that would happen anyway. I bet they make as much if not more from iOS devices.

http://techcrunch.com/2010/10/15/google-android-money/

http://www.mobilespoon.net/2011/07/can-microsoft-generate-mo...

It's a moat because Google was afraid that it might get locked out of mobile search default (eg. WP7) and while iOS uses Google, what if Apple changes the default to iSearch or Bing? Remember how Apple didn't approve Google voice for iOS for a whole year? Google would be screwed out of mobile search revenue in a big way, esp. if Bing/iSearch/xyz are close enough to Google.

>Your argument for maps and finance is stronger, but the analogy isn't great. For one, Google doesn't have close to the monopoly that MS had. For another, it's really hard to draw the line between the products, and equally hard to say whether Google's use of its search engine to point to its own services is unfair, if it really believes its own products are better. I would characterize their position on this issue as still some distance from MS + IE on the 'fair' to 'unfair' spectrum, but still in 'fair' territory. Of course, I never found the bundling line of argument against IE to be particularly compelling.

Google has a LOT of marketshare, esp in many non US regions. Eg 91% in UK.

http://www.chandlernguyen.com/2011/03/search-engine-market-s...

IE was actually better than Netscape in the late 90s, early 2000s. Netscape screwed itself by not releasing a new version during the dotcom boom between 1997 and 2007. http://www.joelonsoftware.com/articles/fog0000000069.html

So the point about Google really believing that it's product was superior doesn't matter. A maps startup would need to be 10x better than Google maps out the game to even get funding since searching on Google for the name of a city doesn't even mention MapQuest, Bing Maps or Yahoo Maps. Would you support a forced default map choice on Google like the one for browsers in EU on Windows?
I heartily agree - I may have overstated my case slightly with the "Giant Step Backwards", it just definitely seemed that way on initial experience.

It also made for a better title than "Confusion, Then Indifference, Slowly Turning Into Understanding & Affinity"
They may have had access to helmet cam footage or similar.
To me, it seems closer to "be mindful" or "be deliberate". You can keep practicing with those better than you, but if you don't know what you're doing wrong, or how to fix it, you won't get better.

You have to know what you're doing wrong, so you can stop doing it.
But, um, concurrently means "at the same time," too. Merriam's first definition is actually "running parallel."

Wouldn't it be better to describe it as running serially, using non-blocking asynchronous function calls? Guess that doesn't really roll of the tongue, though.
Not quite. The point is that you can often get the most improvement by focusing your effort on eliminating really stupid mistakes.
"For example, the program is able to determine whether each square is white or black by calculating its average color and comparing it to the black and white colors"

I bet you could get away with determining the color of a corner square and assuming the rest.
Torchwood Season 4 Episode 5 
Torchwood Season 4 Episode 5
The other issue, at least at my school, was there were at least as many smart, non-nerd people as nerds. And nerds could be real fools. But nerds definitely have a habit of overestimating how smart they are compared to other people.
"It turns out (once you play enough games and get pretty damn good at it) that it's actually quite a limited and simple game. Once you're down half a pawn or so there aren't many possibilities to generate a counterattack on another part of the board to make it possible to win without relying on your opponent making a subsequent simple mistake."

I do not find this to be the case. Even with games involving the top few players in the world (rated 2700+ FIDE) you will often find that players come back from a computer evaluation significantly below -0.50.

Also, you can be at a significant disadvantage and still be able to draw the game. It is really rare that one mistake can decide the game. -0.50 is well within the drawing range.

"One reason for my early enthusiasm in the game of Go was because it's such a complex game it's not really clear when a "simple" strategic error has been made. Perhaps more importantly, because both players experience much more difficulty choosing moves than in chess, there's usually a reason to play on when you've made a mistake even when playing a highly competent player."

On the other hand, chess endgames can often stay up in the air for a really long time, with two or even three results possible. Go endgames (almost by definition) consist of both players grubbing out a point or two here and a point or two there, with all group life and death already decided, so it is rare that the game is decided late.

(If it helps ground any of my assertions, my USCF chess rating is 1870 and my AGA Go rating is 4 kyu. I don't know whether I would certainly be a low-ranking amateur dan by now if I had stuck with it.)

By the way, I note that Josh Infiesto does not appear in the USCF rating list, so either he did all his playing before 1991 when they started keeping computerized records, or his games in which he wiped the floor with 1500-level players were informal non-tournament games.
Broken promises of privacy