skysight-inc/HackerNews huggingface dataset:
^All of this.
As a stalwart Leica shooter of 10 years, it's not bitterness or jealousy I feel, but sadness at their having moved on from making tools to what amounts to more or less "just another camera," albeit of a rarified form.

The key moment for me was the M7, when they reversed the direction the shutter speed dial rotates. Though it seems rather innocuous, but as a daily "lugger" with 2 other older bodies, it basically said "Goodbye, we don't care about your type any longer."

That they couldn't really keep up with the immense digital R&D budgets of more mainstream camera companies was not entirely surprising, and I accepted long ago that a Leica purchase would consist of high cost, and performance (though not necessarily image quality) that equals a generation or two back as compared to Canon/Nikon.

That said, I wouldn't be surprised if this camera was immensely successful for them. The avant-garde design (as compared to the current retro-schtick) has cachet, <2K is a more reasonable price-point than the M models, it apparently performs adequately, and a new lens mount gives it plenty of "retail therapy" potential. This really is a page out of the Apple playbook.

Leica has been, for many years, not a single monolithic philosophy as manifested in equipment, but a company navigating a rapidly changing market. For a time they found a sizable market that echoed my wants, but no longer. Such is life, and Leica is not alone. Plaubel-Makina and numerous other companies were less fortunate or capable.

My "cred": 15+ years shooting/Leica CL/M3/M6/M7/M9:Canon/AE-1/D30/D60:Nikon/FM-3/F100/D90/D700/D3/D800:Fuji/X100S
Seth Godin for teens: being different, college, and loving failure
Completely unrelated, and the IRC client predates the IM service by 8 years.
Competition isn't bad. Markets are huge, don't let that part scare you.

However, two-sided market startups are very, very hard. Unless your business model works before having a liquid market form, you're probably doomed. Especially as a 1-man startup, it just sounds crazy. The thing with 2-sided market business is that the more you succeed, the more you have to grow the business, and it's usually not profitable at first.

Unless you're willing to get external funding and be in it for the long-haul and be OK with a largely binary outcome in terms of success (complete failure or big success), this is the type of business scenario I'd advise against being the best place to apply your efforts.
A tiny rant: Jekyll vs. Octopress
Regardless of how much of the checklist in a job ad you can check off, if you believe you can do the job then apply. Incorporate any feedback into your next application. Repeat until done.
If you can spare an hour to two once in awhile, go to local tech meetups, hopefully in the area you'd like to transition to, but go anyway.
Letter from David Simon (creator of The Wire) to Chief of Police of Ferguson
Sorry, should have clarified on 2. As an expansion of one of the examples given:

loadAndPrintFile: (contents) {
if (!contents) {
fs.readFile() -> (error!, contents)
}
console.log(contents);
}

i.e., expected behavior would be as if readFile was not an async function.

I'm asking because I built something similar (though it only worked with promises, not general async functions), and I'm curious to compare approaches :-) - mine is a sweet.js macro: http://pastie.org/9410315 (uses https://github.com/petkaantonov/bluebird and https://github.com/BranchMetrics/promise-accum). The basic syntax would be:

task {
item1 <- LoadItem(1);
item2 <- LoadItem(item1.foreign_key);
ret <- DoSomethingWithItems(item1, item2);
}
Sometimes, life is like a box of cacao products
Really like this answer, informative and entertaining to read.
Interesting! It would be neat to line-up the map with the red/blue political map. By first glance it looks like the red states are the happiest.

What is also surprising is that some of the poorer states in the US, LA, GA, AL are some of the happiest states, while the most wealthy, NY (Long Island), CA (around LA) are some of the unhappiest.

The declining mid-west cities makes sense to me.
The Great American Streetcar Scandal
Dropbox seems to be doing ok shipping python to customers.
Three (two of them about fifteen years old). I would be more interested to know about the distribution of interest in all the new TLDs my registrar keeps trying to sell me.
I thought that OpenCL was supposed to be the "open" standard for GPU computing... why is everyone rallying around CUDA instead? (seemingly)?
Teens to Seth Godin: Yada, yada, yada, purveyor of empty business cliches and trivilities...
I read another article some time ago, cannot think how to locate it, that suggested we might have had QM far earlier if someone had seriously pondered the question of what happens if one extends P to the range [-1,1].

I'm really looking forward to physics about 20 years from now, when a lot of the current work in mathematics and complexity theory and information theory has worked its way through the physics community. Valiant's evolvability and Deutsch's information constructor work and pretty much all of Aaronson's work will illuminate bizarre new paths.
I think he's referring to the opening line: "PRISM is a clandestine mass electronic surveillance data mining program"

Electrospaces describes it as follows: "It shows that PRISM is not about bulk or mass surveillance, but for collecting communications of specifically identified targets." [1]

[1] http://electrospaces.blogspot.fr/2014/04/what-is-known-about...
Looks fine in Chrome on MBP retina (NVIDIA GT 750M).
"Obvious reasons" is not a very convincing argument, and and I am quite curious why you are saying that a link that literally states things like:

"A human-controlled punching machine is 25 to 35 times more efficient than a laser cutter when producing a standard part"

"Fibre laser cutters are more efficient than CO2-laser cutters, but their power consumption is still 10 times larger than that of a slower but equally powerful human-controlled nibbling machine"

... and has tables like:

http://krisdedecker.typepad.com/.a/6a00e0099229e8883301a73d8...

(which is per item, by the way)

... is not supporting the claim that manual labour is more energy efficient for many tasks.
Around a dozen.
Pinball in Windows was just the first table of Maxis Full Tilt Pinball (which was published but not written by Maxis iirc), and was very fun, however, I don't think it was the best Pinball table made. That award I would give to Epic Pinball's Super Android table, which is shareware from the 386 era and runs fine in DosBox.
I think he was asking for actual incidents, not hypotheticals. Its not hard to think of bad things that could happen. But whether anything has actually happened is a completely different question.
The difference in accident rates between general aviation and commercial aviation is really striking, too:

"General aviation has the highest aviation accident rate within civil aviation. The rate is 6 times higher than for small commuter operators and 40 times higher than for transport category operations."

http://www.ntsb.gov/safety/mwl5_2012.html

For context, flying in a small plane with a private pilot is about as risky as riding a motorcycle. It's not incredibly unsafe, but it's not like getting into an airliner, either. Getting the GA accident rate down has proven a pretty intractable problem.
I agree with your sentiment, but I don't think he's pointing the finger at Chen.
The blog post merely points out a very significant pitfall in the FAA ruling. By the way, I would research the actual requirements of carrying passengers for hire before saying all you need is a commercial certificate. You need to comply with Part 135 which has very detailed and strict operational requirements and legal aspects.
Thanks! That helps.
That kind of advertisement is on the wall of FBOs across the company already. It's not at odds with the expense sharing exception.

Having to get a commercial license to simply do expense sharing rather defeats the purpose. Expense sharing makes it cheaper to fly, which is a worthwhile goal. Spending 3x the time and money to get a commercial license makes things vastly more expensive.
Failure, Writing’s Constant Companion
Washington Post adds Amazon buy-it-now links inside articles
Have you tried Windows 8? It's like the UX team had weekly gas huffing competitions.
Going on vacation, bookmarked, hopefully I can try it out, I like that it's looking to support Windows and Python 3 too.
Front end is harder because success is less objective. I think that backend has for more technically difficult problems, but if you want a straight answer to this question without lots of caveats then front end is harder.
+gazillion

Exercise, sleep, and diet were going to be my recommendations as well. I exercise most mornings, intensely. I try to get at least 8 hours a night, and sometimes 9.

As for diet, well, some folks wouldn't consider mine exemplary, but I learned what works for me, gives me decent energy all day long and keeps my emotions balanced. I know the "right" amount of coffee for me in the morning, the range when I can have 1 - and only one - in the afternoon (no sooner than one hour after lunch, unless I have a big dessert, no later than 3pm), how many beer I can safely have with any meal, etc.

Treat food like an enjoyable tasty drug, learn what works for you.

And, oh, yes: Take up a musical instrument. 6 years ago I started playing guitar. My favourite instrument has been the viola for at least two years now. No previous musical instruction, I learned it myself starting at 46. All it takes is effort and willingness and self-forgiveness and self-acceptance.
https://news.ycombinator.com/item?id=6598144
The JavaScript result of your example looks like this:

(again, beautified because DesignToJS crams everything in one line to preserve the line numbers of your actual code):

function loadAndPrintFile(contents) {
if (!contents) {
fs.readFile(function(error, contents){
if(error !== null && error !== undefined){
return error;
}
});
}
console.log(contents);
}

If you omit the function body, it will only expand to the end of the current logical 'context' (or whatever it's called)

I'd suggest writing it like this in DesignToJS:

loadAndPrintFile: (contents! console.log) {
fs.readFile() -> (error!, contents! console.log)
}

Result looks like this:

function loadAndPrintFile(contents) {
if(contents !== null && contents !== undefined){
return console.log(contents);
}
fs.readFile(function(error, contents){
if(error !== null && error !== undefined){
return error;
}
if(contents !== null && contents !== undefined){
return console.log(contents);
}
});
}

Edit: I just submitted a patch that avoids unnecessary binding of 'this' if 'this' is not actually used.
Love this stuff!

see also http://pelulamu.net/ibniz/
Having done a (simple, but non-trivial) memcached implementation in Rust, the pointer semantic is terrible right now.
The compiler tracks all the use of the values and assign them lifetimes. These lifetimes are tagged from a special form of use (value, mutable value, reference, mutable reference, and some more).

The idea of Rust memory-safety is to totally forbid two simultaneous mutable lifetime whatever the code path could be.

Whatever the code path could be. Do you begin to realize how strong this assumption is ?

Yes, the rust compiler is smart. But sometimes, it's not enough and you have to do the lifetime tracking job by yourself. It's awfully hard (even without recursion).
But you know what's even harder ? When all the common code patterns you are aware of for a given task doesn't provide enough warranty for the rust compiler. You know what you want to do. It's indeed very simple (can be an inner swap in some sort of algorithm) but you can't find a way to warranty the compiler that all should be good. Because in its own sort of bizarre logic, it makes sense. Then you're trapped. And you are waiting on #rust@irc.mozilla.org an hint from the bunch of truly marvelous guys who pass their time here.

TLDR: Rust can't express 100% what others languages do (ML or C based). And in the portion where it can, you have to do a lot of gymnastic to make it compile.

And our Memcached, you'll ask ? Well. After 6 days of work, we finally make it compile, and it worked quite fine. But then we got some mysterious tasking errors when reaching 20 clients and gave up at this point.
It's actually rather difficult to get a operating certificate to run a for hire operation.

That said, I completely agree that this was the wrong way to go about changing policy.
It doesn't include this stat on the website, but it's on the official Twitter feed: range is 100 miles.
Cool game, although I feel like it goes from really easy to really hard really quickly. 1710's my best so far ;)
As a huge car enthusiast, I'll chime in here and say that I really like the idea of this and the direction you're taking it in.

A couple things that concern me:

What was the reasoning behind the Daytona coupe over the Cobra roadster body?

Why use a real CSX chassis when you could drive costs down with a high-quality reproduction chassis such as a Superformance?

Additional thoughts:

I image a "drop-in" electric solution that fits a standard 289 mounts/bay would be very popular among the kit guys, and would open you up to the millions of cars fitted with these engines(all mustangs until 1995, mercuries, thunderbirds, alpines, etc)

I live in silicon valley, where can I see/drive one?
Non-paywalled link to paper http://www.hks.harvard.edu/inequality/Seminar/Papers/Glaeser...
Url changed from http://www.directionsmag.com/articles/lifemapper-shows-where..., which points to this.
I don't think it's a video.

Mods - did you edit the title? If so - you turned it from a rather cool tech demo into a ho-hum video in the eyes of anyone who came afterwards.
I'm really excited that PCWalton got some basic associated types support into Rust in time for the 1.0 milestone, that plus post 1.0 HKT (higher kinded traits/types) will make Rust a really compelling language for building amazing libraries :)

with those in place, some really beautiful api technology becomes possible to port to Rust. I really appreciate that the core dev team has those partly underway, and partly planned for the post 1.0 stuff.
I used to have the disc with hover and weezer song buddy holly. My favorite old windows game tho had to be Rodents Revenge. Between that and snake I could spend hours wasting time.
If user interface is eye candy to you then what does that say?
Well, it was made in nearly 4 hours. ;) We will work on it.
Even that page understates the difference. There has been no fatal crash of a major national US carrier since 2001, and there have been only a small handful of regional carrier crashes in the last ten years. There are fatal GA crashes all the time, and are common enough that they aren't even included on many online sites or covered much beyond local news. The most recent one seems to have been yesterday.
Yep - almost certainly not a video: http://labs.gooengine.com/examples/ballpoint/ballpointbot.js
Do you have the source released somewhere? I'm interested in Rust but haven't really written anything large - I would find it interesting to see what a large project looks like, especially the kinds of problems that come up (like you mentioned).
":bdel|q" would do the trick, then.

But I understand it's not a very good solution.
> Electric cars and hybrids are breaking the fuel tax methodology of funding highways

Then they might as well take a page off the Finnish playbook of late 1990's. (The "financially molested" chapter, to be precise.)

Finland has long had a punitive annual tax for vehicles that use diesel. After all, for a very long time, diesel was way cheaper than gas. In 1990's, the tax was ~5k FIM/year. Professional drivers had calculated that the break-even point was about 30000 km a year, and if you drove more than that, diesel was still cheaper.

Then, a company came up with a fully electric van. It ran on batteries only. It was cumbersome, and it was suited for in-city travels only. Nonetheless the Finnish legislators freaked out. A car that ran on something that didn't produce tax revenue? An abomination!

So they did what any (in)sensible legislators would do anywhere in the world: they mandated an extra tax to be levied on all-electric cars. Namely, 20x annual diesel tax. (A good van cost about 100k FIM at the time.)

The net effect was that for the privilege of owning an all-electric vehicle you would have needed to fork out roughly the price of the new car every single year as taxes. This particular law was struck off the books a few years later, when the onslaught of hybrids and electric cars had become apparent.

But it did show exactly how car owners were viewed, and how even a prospect of missed tax revenue was a cause for extreme measures.
I don't think that was the point. It's more about showing non-photorealistic rendering and some interesting compositing.
Granted, not identical from a security perspective, but you can achieve a lot of security separation for rtorrent by simply running rtorrent under a different user-id than the one you normally use (and restricting your homedir such that only your normal user-id is allowed to browse around within it).
Does this not depend on the NSA's rather dubious interpretation of 'collection' to mean 'collected but not actually analyzed by human eyes yet'?
Yeah. I think the introduction of <video> and <audio> make it pretty clear that those have failed.
I've used bpython for quite a while and this is definitely an upgrade.
Humans need not apply
Yes, see my other answer here: https://news.ycombinator.com/item?id=8187723
Nice looking car, although I'm not sure I would consider it a 'supercar' like the Bugatti Veyron, Lamborhini Aventador, etc. This looks like a nice electrified Shelby coupe kit car.
I haven't done a serious Rust project, but it appeared to me that this kind of thing was exactly the "why" of Rust. The expectations I had gathered was that many obvious pointer algorithms would not (and should not?) translate to Rust.

I definitely asked for a Rust review from the C POV, but I feel like they do a good job marketing the idea that it's not supposed to express 100% of what other languages do.

Or perhaps it's just further from reasonably expressive than I had believed.
The Siren Call of Contingency Recruiters
Show HN: Unsplash.it – Beautiful placeholders using images from unsplash
>What is also surprising is that some of the poorer states in the US, LA, GA, AL are some of the happiest states

Unless I'm reading that map wrong, Alabama was slightly below average. Also Georgia is pretty close to the middle for average income, and once you adjust for cost of living it's even higher.

It's interesting that the difference between Georgia and Alabama is so great, because once you remove metro Atlanta, the weather, culture, income, and cost of living are pretty close. So why does it seem someone living in rural GA is much happier than someone living in rural Alabama? By the way I live in Georgia, but only about 30 minutes from the Alabama line.
For some reason, they chose a Kindle DX which is not book-like at all, and would have substantially larger pages. Why wouldn't they have just used normal Kindles?
That is good to know.

To go automotive analogy, a bit like a deluxe sportscar manufacturer, e.g. Lotus, that have a good looking product that goes nicely, handles great, has heritage yet has some Toyota engine inside...

For this reason I think I would want to give the Sony product a try. Sony make the whole thing from lens to screen for stills, video and film. Their products seem more about being part of that whole thing rather than some guy spending ages hand polishing aluminium. For me Leica are doing it wrong but they know their market and they don't have the capability of a Sony to develop their own sensors.
Is the environmental risk really serious or is the poverty going to cause people to damage the environment anyway? Perhaps the money would bring more resources to protect the wildlife?
3D Printed Sugar
It's evidence of intent.
codecombat is awful. Lags a lot, has a bad UI and a lot of bugs.
In the US, anyway. I would like to see the effects of the better functioning society in Canada and the cultural differences in Mexico on the map as well.
Guys, talking about the H1-B is a moot point, he might as well buy a lottery ticket and then pay his way into engineering school somewhere in the world, given how US immigration looks.
That quote is from one the sites listed on nsa-observer.net's front page with the description "provide[s] documents and in-depth analysis on the NSA." Based on the author's Twitter feed, I'm assuming he's based in the Netherlands.
Surprisingly fun game - good work! Made it to 204 points on my first play. No idea if that's any good. It would be nice to have some sort of indicator so I know how good it is (if you don't want to do a leaderboard maybe calculate an average score?).
I'm surprised it has taken so long for insurance companies to start to do this, I was working with systems that could have done this over ten years ago.
> better functioning society in Canada

I would love if you expanded on this point rather than just throwing it out there. I live in Canada, tell me why my society is better functioning.
We will definitely do this. As I mentioned here it was made in 4 hours. ;)
Use Python. Build your prototype. Demo/display it. Throw it away and take what you learned building your prototype, as well as the feedback from your investors, and pick the right tools to get the job done. There is no "one lang" to rule them all.
Objectified (2009): A documentary on the design of everyday objects
Strangely addicting. I managed to get up to 410 after a few attempts. I think this would work really well as a mobile app, keep up the good work!
Google Maps Has Been Tracking Your Every Move, And There’s A Website To Prove It
Author here- glad to see this project gathering a little interest! The most elaborate Chip8 program I've written using Octo so far is an adventure game called "Cave Explorer":

http://johnearnest.github.io/Octo/index.html?gist=a1d72c7bbf...

I still have 285 bytes of RAM left over, though…

If anyone decides to tinker with games of their own I'd love to hear about them. I've also written quite a bit of documentation including tutorials and chip8-specific coding tricks which can be found on the project's github page: https://github.com/JohnEarnest/Octo
given that OS X ships with OpenCL, which already runs on nvidia hardware, and is open, and portable, i don' t understand why anyone would want to switch to CUDA.
Nice work Stefan :-)

For people who care about performance, Cython Numba and PyPy are a vital part of the Python ecosystem. They let you create highly performant code while retaining Python's clarity, learnability, and rapid development capabilities.

These gains don't come easily; instead, they are the result of years of thinking carefully about what the machine actually does internally and coming up with more direct paths to accomplish the same goal.

Thank you for your work.
I feel the same way, XP was a beast. It got dusty in the room when I played that 'Escape from Windows XP' game. She will be missed. (And still probably used in China for many years to come)
http://www.reddit.com/r/AskHistorians/comments/tq9fa/whats_t...
We changed the title to say "U.S.".
Fiverr CSRF Attack Explained ( How to avoid a phishing attack )