skysight-inc/HackerNews huggingface dataset:
Not sure I understand you...for reference's sake, here's the location:

https://maps.google.com/maps?ll=41.24586,-73.009073&z=17

How direct of a path you take from the offramp depends on the signage, it's not unreasonable to think that the writer missed it.

And when you say: "Even with that ridiculous path it's only 0.5 miles."...you did read the OP right?

Musk uses this chart in which he says the reporter "circled" around for 0.6 miles:

http://www.teslamotors.com/sites/default/files/blog_images/s...

0.6 is very close to 0.5. This doesn't prove the reporter didn't do something nefarious...but the line between accidentally and purposefully taking a circuitous route here is not a wide margin.

I mean, if the reporter wanted to screw with Tesla -- and while ostensibly being unaware that he was tracked -- why wouldn't he just miss his exit a couple of times and get stranded on the side of the freeway? If you wanted maximum damning effect, that's what I would go for...driving around a McDonalds seems less efficient.
Of course not. Had you known it was a forgery, you wouldn't have spent $50 million. That would apply just as well to buying a bottle of Heinz ketchup tainted with rat poison.

But people know what's in Heinz. They know what it tastes like. They keep buying it at the price Heinz and their grocer charges.
I don't think this is the whole story.

IBM is aggressively pursuing growth markets. Growth in the USA is more or less stagnant so they are looking elsewhere to increase revenue.

It doesn't hurt that in many growth countries you can get 2 developers (or support engineers) for the price of one American developer (or even better). This allows IBM to provide local services and support for less cost.
> Second what you are saying also goes to the heart of the issue of job creation. People talk about startups creating jobs. But there is only so much purchasing power in the economy. A startup offering a product or service that is charging is going to take purchasing power away from a consumer or business that is most likely already spending that money somewhere. The only net gains sometimes are only if a country can take jobs from another country or a state or region can take jobs from another state or region or city.

That's the flawed zero-sum perception of economics, and history has proved that wrong. If it was true we'd still be living in caves and providing everything for ourselves.
I just installed Ubuntu 12.10 on a pre-loaded windows laptop and it works just fine with UEFI/Secure Boot enabled. I just could't boot from CD but a LiveUSB install worked just fine with UEFI/Secure Boot enabled.
It means, at the time you bought, you thought the painting was worth $50 million. Later, when you discover it's not, you'll be less likely to buy anything else from that art dealer. Same as anything else in life. People keep buying ketchup because ketchup remains valuable to them, even at $2 a bottle.
It reminds me of a high tech version of "The Cuckoo's Egg" by Clifford Stoll. In his case, he shorted out wires to cause transmission errors and made up fake data for the cracker to download.
I don't think that we can classify government programs as being charities. Many of us believe in helping those who are in need, but for this was can give our money and time freely to organizations that address certain issues. Governments take your money by force, and spend it on things for which you have no say. It isn't "society" doing it.
You can access the CAN bus pretty cheaply (there are several cards available around $200 with linux drivers, maybe cheaper if you're willing to do more than plug it in and turn on wireshark). That said, the last time I worked on ECMs, the messages were not standardized at all. You needed a spec to define what variations of ECMs were available as well as what the individual values would mean. I feel like GM was standardizing this more than others in an effort to consolidate ECMs they were shipping (runtime config via "calibrations" I believe), and all manufacturers might be using standardized parts now, but you'll still need to know not only the message inventory for your vehicle, but you'll want to know whatever diagnostic protocol that your manufacturer uses to sit on top of CAN. Keyword Protocol 2000 was used by DaimlerChrysler was used when I was still in the business and GMLAN was used by GM for these purposes.
And when AWS goes down, your heroku dynos go tits up
Want to learn to program? Here's your first lesson
Broder (the NYT reporter) cites a $101,000 car, but the Model S pricing doesn't come close:

http://www.teslamotors.com/models/options

It could be an honest mistake, but it seems more likely the inflated price is meant to solicit comments like yours.
Spoon - Distributing instrumentation tests to all your Androids
I Swear This Is The Last “Harlem Shake” Post We Do
>No, that's not a log of the temperature reading. They logged the temperature SETPOINT. An important distinction.

It's a thermostat controlled temperature, though.

There's no reason to turn it down if it's set to a comfortable temperature, because it will automatically shut down when the proper cabin temp is reached.
Tesla should have records of all of the communications and should open them up. I suspect the calls themselves will confirm the driver's story and I suspect that tesla has these recordings, so the real question is why haven't they used those to defend themselves?

More generally this is a sad day for HN. Attack the argument, don't attack the actor. This isn't CNBC or Fox: attacking credibility doesn't constitute a logical refutation of the nYT piece.
Your example is an interesting case of using anon inner classes to be able to wrap and pass back static functions.

Alas, all the alternate functions are defined in one place in advance for the caller/user of "funcMap()", which makes it hard for an app to put in definitions for a library. To get out of that, you have to make an interface than funcMap()'s container implements, and add more code -- Yegge's point! (verbosity)

It's still a useful technique, just verbose.
NYC

ff Venture Capital

Engineer/Developer/Hacker in Residence

Looking for an awesome engineer to come in-house and join our team.

-Define and test your best practices while developing in-house proprietary products. Such products will be used by both our portfolio and offered to the greater startup community. If these products are successful, we may spin them out to be an entirely separate companies.

-Support ff Venture Capital in all things engineering/technical, including providing technical due diligence on potential investments.

-Support specific portfolio companies as needed, including, but not limited to coaching/mentoring young companies and tech leads, and performing technical interviews.

Check out ff at: http://www.ffvc.com

Check out the full listing at:
http://ffventure.theresumator.com/apply/iMl5nU/Developer-In-...
Pure CSS animations can be paused and resumed via Javascript. It's not trivial to stop them and preserve last known state of the node, and apply next animation so that is starts with that state.

Controling CSS Transitions is even more difficult and requires multiple actions like: remember current transform, remove transition, apply remembered transform etc.

Yes, CSS Animations have events for animation start and end, but Anima gives intermediate events, for any transformation in a set.

So it's not impossible to control CSS animations, but it's much easier with Anima. In `CSS` mode Anima has `pause()` `resume()` and `stop()` methods
If you read people's comments here two things are obvious:

(1) Few people have little if any understanding of federal government contracting. This solicitation is the norm, get used to it if you want to earn big money in a market where few dare tread. The government is, for obvious reasons, highly risk averse - so fly by night untested products from day 1 startups usually aren't an option. As are products from companies and individuals who don't thoroughly understand the regulatory environment of dealing with health data and the ramifications of having to report directly to Congress because of an app that leaks sensitive data, no matter how inconsequential it may be. To create a winning product, you need to take the time to understand the environment of the VA.

(2) The fact that so many people here choose to complain about the complexity of the challenge means that it is worth doing. They are already ruled out as competitors, and it is a worthwhile cause as many veterans, including myself, would greatly benefit from this type of functionality.

(3) Yes, M is a horrid, horrid language, but there are available interfaces so that you don't have to really touch it (much). There is a fairly robust XML-RPC system in place and some other options for reading and writing data in and out of VistA.
But that's how PR works. A company or their PR agency pitches a story to the journalist, who is constantly in search of good content in exchange for publicity. While the journalist and the publication get the final say, there's an agreement of what's going to be covered, and what's out of bounds. What Musk and Tesla are doing here is sinking PR agencies' willingness to work with the Broder and NYT on a future story and reducing the chances they will get media test drives of cars in the future.

The NYT is huge and important, so they'll never be completely shut out. But I'm guessing they'll be pretty far down the waiting list for the Tesla Model X media car.
Why is it on first page? This is probably the dumbest post I've seen on HN.
Within months the supercharger network on the East Coast will have more stations that will make these precautions unecessary. This was just a snapshot in time, with the minimum number of stations possible with the car's range.
If you read it the other way around this means that top-secret technology the military is using is at least a decade ahead of its time.
David Millar: Technology is the future for cycling not doping
We sat down with Team Garmin Sharp's David Millar to talk about how technology is the future for cycling, not doping.

"Cycling is a bonkers sport, it got a bit too mad the last twenty years, but we’re back to it being the right sort of mad."

http://bit.ly/XaLkKC
Well that's the interesting thing, I'd imagine that there is some kind of penalty but I have no idea what. Misrepresentation of a food product to consumers? Maybe. It's tenuous, but I'd imagine it's very possible for them to spin it like that.
Ask HN: Most interesting place you have coded?
Kind of a funny thought, and I wanted to get HNs response to it: what is the werdest, strangest, or most interesting place you have programmed?

I'll start: My strangest place has to be in my dentist's office. I came in, was seated in the chair, and then was told the doctor was running late. As I was under a big deadline I reached down, opened the laptop, and got to work. 45 minutes later he came in.
What if (3D printing) metal follows the same path as plastic?
I was referring to the setting to turn Secure Boot off there, not Secure Boot itself.
XHTML, your 90s are calling…
> I worked for Lucozade (UK Gatorade) for a while. Our total cost, delivered to retailer, of a bottle was 12p. We sold it to them for min 50p and they sold it for at least £1.

FMCG goods have typically awful margins on them for retailers. A 50p markup sounds good, but consider that out of that 50p the retailer has to cover transportation costs, salaries, cost of display, cost of retail space, etc. Supermarkets are not exactly raking in profit.

And it's not such a rosy picture for the brand manufacturers either. The 20p raw cost of supplying the bottle of Lucozade doesn't include advertising expenses, which for branded products tend to be substantial (after all, that's how they become brands in the first place).

Lucozade's parent company, GSK, makes a lot of money, but nearly all of that money comes from bio-tech and pharma. They don't make nearly as much money from Lucozade, and there was actually a story a week ago that they're trying to offload the brand[1].

[1]:http://www.thisismoney.co.uk/money/markets/article-2274545/G...
No apology required; it's clearly a story of interest, or it wouldn't have made the front-page again. I posted the link to the other version of the story more for people to make a comparison of the two versions of events, and see the related commentary.
New Mexican here. The fascination is pretty much confined to Roswell. Yes, it definitely put the city on the map, and yes, it drives some tourism. But Roswell is not large and it's hard to imagine how a city would petition for classified stuff to stay classified. Besides, cranks are cranks and no quantity of facts will serve to dissuade them. Roswell's UFO crap is already extremely hokey. It's part of the culture now, so it doesn't matter if there's a reason for it or not. Just like Zozobra up in Santa Fe, it's just this thing.
just say neigh.
Not too often, but I find myself using the screwdriver for a chisel, and the hammer for a plumb bob.

I probably need to buy more tools :-)
> Now you're embellishing the facts.

One, I'm not a reporter for the NYTimes, and two, I am giving my opinion.
We did this in unicorn.rb `:backlog => Integer(ENV['UNICORN_BACKLOG'] || 200)` and then set the UNICORN_BACKLOG variable by the Heroku command line `heroku config:set UNICORN_BACKLOG=25 -a <app_name>`. We have been as high as 1024 and as low as 10. We settled in at 25 for us.
So some progress on the 3D printing of metal. Apparently you can get one of these machines for $750,000 plus or minus depending on options. As the price gets lower and the rate gets higher, this changes a number of machine shops. Very cool stuff.
Their server is down. Here's the content:

-- by Rohit Sethi on February 13, 2013
-- http://blog.sdelements.com/author/rohit/

The latest Rails security flaw [1] is example of a common anti-pattern. Ned Batchelder wrote an awesome post [2] explaining how a similar issue may also exist in Python’s YAML parser [3]. Looking at these vulnerabilities, I am reminded of similar flaws in other frameworks and libraries.

The issue in each case is an abuse of extensibility. At first glance the idea is clever: allow for run-time execution of new code or binding of server-side variables without changing your compiled code, thereby greatly enhancing extensibility. For example, provide extensions to your Python YAML parser that allow you to create arbitrary objects and execute Python code; provide extensions to XML Template parsing that allows for arbitrary command execution [4]; or dynamically assign user-supplied parameters to server-side variables [5] (aka mass assignment) based on the parameter name. This kind of vulnerability is by design in contrast to many other by accident vulnerabilities. We called the mass assignment anti-pattern out [6] several years ago when doing a security analysis of the Core Java EE Patterns for OWASP.

I have a strong feeling we’ll see more vulnerabilities of this type, particularly with the rising popularity of standards like SAML that are built upon several layers of libraries implementing and extending complex specifications. These kind of issues can sometimes be hard to catch with an automated scanning technology, which means most organizations adopting the status quo of application security due diligence [7] will undoubtedly miss detecting some instances of extensibility abuse.

Security-minded developers can protect themselves by taking the following steps:

Turn off unnecessary extensibility in third party libraries and frameworks
Do not use untrusted input in libraries that provide broad extensibility, such as Apache’s Xalan [8] with extensions enabled.

Be vigilant about monitoring for and patching newly discovered vulnerabilities in frameworks and third party libraries. Wherever possible, sign up for security mailing lists or groups like Ruby on Rails Security [9]

[1] http://www.zweitag.de/en/blog/ruby-on-rails-vulnerable-to-ma...
[2] http://nedbatchelder.com/blog/201302/war_is_peace.html
[3] http://pypi.python.org/pypi/PyYAML
[4] http://labs.securitycompass.com/tutorials/xslt-command-execu...
[5] http://www.codeproject.com/Articles/471784/Exploiting-Micros...
[6] https://www.owasp.org/index.php/Category:OWASP_Security_Anal...
[7] http://blog.sdelements.com/raising-the-bar-on-application-se...
[8] http://xml.apache.org/xalan-j/extensions.html
[9] https://groups.google.com/forum/?hl=en&fromgroups#!forum...
Fingerprint the requestor by IP; what's that? You're making more than 1 request per second to more than more vehicle ID and you're not a trusted partner? BAN LIST
I wouldn't hire you either.

I'll guess that you never passed any fluid mechanics courses either.

See? I can return snark for snark. Now let's actually discuss some physics.

There's a fundamental difference between applying thermodynamics in this case, and the regenerative braking one. That you don't know that is what's damning.

For the same trip from New York to Boston in a Toyota Camry, traveling at 80 mph the whole way takes 2.75 times as much energy as traveling at 30 mph. See http://ocw.mit.edu/courses/physics/8-21-the-physics-of-energ... and apply scaling factors to verify.

That provides a lot of headroom to add starts and stops on the 30 mph trip without using more energy than the faster trip. In fact, even without regenerative braking, you could add in multiple stops/starts per mile and the slow trip still saves energy in a conventional car. (Well, until you consider rolling friction going up hills, I don't have a good back of the envelope for what that adds.)

I'm being deliberately unfair to make a point here. Standard "highway driving" for EPA efficiency is assumed to be 60 mph. Traveling at 80 mph is a lot, lot worse than 60 mph. Elon knows this, and calls out the journalist's speed because Elon knows what difference this efficiency makes.

If the highway trip is taken at 60 mph it is much harder for a slow trip to take less energy.

Now do you understand that speed hurts efficiency?
just made my day. I so want a flying nyan cat now
"Our society as a whole doesn't have the epistemological foundation needed for the level of technical sophistication it has."

I think a better description of the problem is that our cognitive infrastructure isn't robust enough to handle the interconnectedness and complexity of modern society. Epistemology and technical sophistication are both just subsets of two larger problems.
and the quality film.
Not true at all. Many off-brand ketchups are thin and overly vinegar-y,
Is the SIM soldered? Or can you drop a T-Mobile SIM card in?

/T-Mobile user
Hah awesome - check it out on FB or pinterest
Build A Stacey Flat-File CMS Template
> I mean, you have to drive it slow

Are you trolling? No, you don't have to drive it 'slow'. Citation needed, and one that isn't this NYTimes piece that's currently being called in to question.

> possibly turn off the heat in the winte

No, you don't. You're just making things up.

> charge it for an hour at a time?

Yeah. Problem?

> That's craziness.

No, it's not. You know what's craziness? Humanity driving cars that burn things and pollute our atmosphere to the point of causing and accelerating global climate change, driving species to extinction and gunning towards global upheaval. That's craziness.
I know what Reddit comments are, but what is SJVN?

(Not disagreeing with your comment.)
Meh, you've had these for years. I'd put it at even money that some RF protocol stacks on recent vehicles are vulnerable to exploitation and connected to one of the CAN buses on the vehicle so you can pivot to a more critical system. Hurray for drive by exploits (literally).

I'm honestly surprised that criminal organizations haven't paid/coerced engineers working how to steal certain cars using a remote control, because I'm pretty certain that with some effort, it's possible.
DHTMLX JavaPlanner v.1.0 Released
DHTMLX released a brand new web control DHTMLX JavaPlanner for Java (incl. Grails, Struts, Spring MVC Frameworks).
You bring up a valid concern - I'd say that this isn't something that you'd use all the time with your email, but it has its time and place (just like off-the-record gchat), and when it is needed, it really comes in handy.
Any 3D Designers on HackerNews? Enter 3D Model Competition
I haven't, although I'm sure with enough effort, I could build a one-off tool to figure out what exactly the problem is.

If I was developing Chrome's compositor, sure, I'd do that.

One difficulty is that the "bad" code is actually generated HTML and CSS. Well, the generated code is fine, it's the browser that eventually has problems with it, but you get what I mean.

There's probably a way to capture that output in buffers over multiple event loops, and then do something like Bugpoint over that output and see if I can't reproduce/reduce the issue.

I'm also not sure if the Canvas drawing I'm doing is part of the issue or not, so I'd probably have to capture that as well...
> Shifting to cruise control did not affect the drainage curve at all, and when he called Tesla they suggested that cruise control was a Bad Idea, because the Tesla has regenerative braking, so you see that he turns it off at about 225 mi and starts stop-and-go driving in the city.

Braking and cruise control are mutually exclusive domains. You can't drive with cruise control in stop-and-go traffic even if you wanted to.

Turning off cruise control on the highway might have some small impact on efficiency, but the cause would not be braking.
Valentine's Card Ideas (for code lovers)
Georgia to ban muni broadband if one home in census tract gets 1.5Mbps
Can't Opera open source the Presto engine? If they want to contribute some of their ideas for Presto in Webkit, then open sourcing it could mean others will be doing it for them, if they were really good ideas.
> When we are guests in someone else's home, seems only fair that we honor their requests.

This is a ridiculous analogy. It's not a home, it's a business. If my friends want me to take my shoes off when I visit them, no big deal. If Best Buy does, that's frigging insane.
Why? The system could easily be built so that it by default only aggregates those services where the configuration indicates they can handle a concurrency below a certain level, and does random balancing of everything else.

The "everyone else who can deal with random dispatching right now" is a much smaller group than you think. Anyone who has long running requests that grind the CPU or disk when running, will be at high risk of seeing horribly nasty effects from random dispatching, no matter whether their stack in ideal conditions have no problem handling concurrent requests.

It's just less immediately apparent, as any dynos that start aggregating multiple long running requests will "just" get slower and slower instead of blocking normally low-latency requests totally.
Ahh, when I read the headline I assume Hurrah Linux was the name of the Linux distribution.
SourceTree for Windows beta signup
For all of its warts, Groovy really makes much of this more tolerable in an environment that readily interoperates (call either way in/out) with legacy Java code.

Java file handling with dozens of classes still seems a horrific solution, like you said. I don't miss having to constantly check return codes and "errno", vs getting IOException, but I do miss the simplicity some days of "FILE *" and fopen()/popen(). (I also don't miss maintaining code that FAILS to check error codes while doing I/O)

Thanks for your replies, by the way. Thoughtful without being combative.
Previous discussion here: http://news.ycombinator.com/item?id=4403906
Wikipedia article:

http://en.wikipedia.org/wiki/Avrocar
Disqus bait and switch, now with ads