skysight-inc/HackerNews huggingface dataset:
Just using accelerometer, as some point and shoots do, is pretty inaccurate but still somewhat usable. Using all the sensosrs on a modern phone (including signal strength from known wifi/tower beacons) would yield much better results.

My point is more in the spirit of: I got excited because there's little or no such apps on playstore, offline maps aren't anything new.
You've already answered a bunch of these, but I figure a hard number would help put Amazon in context with other tech employers:

> "- What is the median employee tenure (a.k.a. how bad is the turnover rate)?"

When I was there, strictly limited to engineering roles, 18 months.
Also, cameras are much more sensitive and higher resolution if they are B&W. A colour camera has to have a bayer matrix filter in front of the pixels (or some other weird trick) which throws away a load of the light.

Generally, when telescopes want colour images, they will take several pictures with different filters in front of the telescope, then combine them. This is useful because you can have a wide selection of filters, including ones for specific science-related wavelengths, like hydrogen alpha, or oxygen emissions. A normal colour camera is limited to three filters.
My daughter is 17 months and recently diagnosed with Autism. For the first few months everything was bout getting a diagnosis so that we could begin therapy asap.

Since then I have spent more time trying to see what some of the research suggests in terms of biological and genetics causes. There's a huge community out there experimenting with their children's diets and exposing them to a number of vitamin and drug therapies. I haven't been sufficiently convinced that the risks of many of these therapies outweigh the reward. We did start her on a gluten-free diet (she has digestion issues and gluten intolerance runs in my family) but only because it wasn't risky to try.

I don't really KNOW anymore than I did before my daughter's diagnosis... but the lack of substantial research in some of these areas is concerning as a parent. I can understand why a parents may seek to implement some of these drastic changes to help their kids... but I fear that we know so little that it may cause more damage.
Thanks for the warning.

Of course using a secure library is preferred. Though it's really hard to use something that isn't very well documented and I just have a few months of experience working with C. Which is also a potential dangerous combination.

I found another library that wraps libpng https://github.com/nilx/io_png
Maybe I could be more successful with that library.
That, and you have to actually go into the bush to get them. If you can successfully start businesses, a year of founder work is itself worth a significant amount of money.
the best map ever .... this is what i was looking for longest time ....used it on nokia ...they user vector formatting map technology which is just awesome ... wondering why google or others are not using it(?)
Is there any repo of Facebook D code? I thought they were making an investment in D. But this is a bit surprising because it seems possible that they use more Go than D.
"Java is no one's first choice for writing desktop UIs, whereas .NET is standard for business applications"

From my PoV neither Java nor .NET is the first choice for UI. HTML and JS is. Especially for large multi-million dollar software. I know what I'm talking about here. Yes, HTML&JS are bad and crap, but may times better than applets or desktop apps. Nobody likes vendor lock-in.

When it comes to server side .NET is much worse than JVM.

So now, you got the picture why Mincro$oft made this desperate move. Developers, developers, developers...
It's a systemic problem. One option is to decriminalize cracking, and then to associate a fine with creating vulnerabilities. It's straightforward to find the original author of some code. $500 maximum fine, or something on that level.

Changing the system (obviously) has a bunch of other obvious (and a bunch of unforeseeable) consequences. However, code would get a whole lot tighter.
I've been doing a strict ketogenic diet for almost six months. Very low carb from veggies mostly, 25% of my diet is protein, and about %70 healthy fats.

My allergies were terrible before, now they are barely there and manageable taking the occasional zyrtec. My gastrointestinal issues are mostly gone, although I've read that could be from a reduction in inflammation in the gut lining, but might be related to changes in my gut microbes too. Hard to tell.

My energy levels are more sustained and even (no more crashes), and my moods are generally better. Who knows if my changing gut flora is the reason, it might be. I know not feeding those little buggers tons of sugar really changes things up! :)

Or it's all placebo and I'm just healthier in general. Either way I'm feeling better. I'm sure science will eventually figure out if the link is causal or not, but in the meantime don't let my anecdotal story sway you too much.

edit: oops I forgot to mention I also take a probiotic every now and then. Align is the name, I like it but I don't take probiotics regularly.
There is an inherent overhead to all dynamically typed languages like Ruby and Python, method dispatch. Overcoming this problem is not easy and even JRuby with all the muscle of the JVM JIT is still pretty slow compared to the statically typed equivalent in Java or any other language that doesn't have to pay for method look-ups during run-time.

The situation is not hopeless though and projects like Truffle/Graal (https://wiki.openjdk.java.net/display/Graal/Truffle+FAQ+and+...) are pushing the boundary of what is possible in terms of performance for dynamically typed languages. There is also PyPy and RPython (http://tratt.net/laurie/blog/entries/fast_enough_vms_in_fast...) which again leverages some neat JIT techniques to make things fast.
>> Sorry but that's totally unrealistic. You're making assumptions that do not hold in real life. A refugee which will seek asylum from Greek/Italian authorities will end-up 99.99% in a concentration camp. He might very well be beaten first. Police brutality in Greece is renowned.

If that really is the case I can understand why they don't want to stop!

>> Perhaps it should be, or (given the raise of right-wing anti-EU all over Europe[1]) maybe it's just too late.

You might be right. There is a lot of public discussion in the UK about leaving the EU entirely. It's not just UKIP, the conservatives have promised a referendum on membership if they win next year too.

This whole area of debate is very sensitive and I think it would probably steer the debate even more towards UKIP if it were to start now. Nobody wants to actually talk sensibly about this stuff.
It's weird the C#, CIL, and the CLR are more open than Java, Java Bytecode, and the JVM.

Java has many more high-quality open-source libraries than C#, but hopefully over time C# will catch up.
The ugly side of AngularJS
:D I know, the title is just a little misleading. And the article doesn't seem to make any mention of the automated parachute system.
MasterCard and Visa to simplify hated verification systems
Recent previous discussion:

https://news.ycombinator.com/item?id=8580091
I would say, git isn't harder than any other distributed vcs. However, its tooling leaves a lot to be desired: its terminology is non-obvious and requires sifting through dense man pages (or dense reference books), it's hugely inconsistent (e.g. git remote rename vs git branch -m), and rebasing and merging can create confusing messes for users to sift through.

DVCS is hard. Git is hard. They're hard for very different reasons.
Very cool. However I wonder if someone will try this on sharing sites like facebook to see if it works.
My sister is a psychiatrist and has the same opinion on the subject.

There's nothing wrong with postulating and analysing it, even if the views are perhaps unpopular. Nothing should be beyond discussion even if it's uncomfortable for some people. Without making a judgement (I have no opinion on this myself), all arguments need contrast.
Like I was writing above, she put herself in a position where someone higher up in management knew that her Stanford degrees were fake, but nobody else knew. So that someone totally owned her - they could use her as the "dark hand" for literally anything (putting inconvenient people on PIP, fudging inconvenient metrics to advertisers / business partners / executives / etc).

Now that this is public, things will change for her, for sure ...
I have no idea how to evaluate this, or even tell what it is. Could someone help me out?

I see that it's a bunch of packages, under the heading of "Facebook Go". I assume this is something related to Google's Golang?

I click on "tool" ("Go library that wraps the go tool"). This has a README that points to a documentation link. And that documentation says things like, "Build the Command and return the path to the binary."

So, I guess we're talking about some kind of compiler here? A Golang compiler? How to I get it, how do I use it, and what -- if anything -- does this whole mess have to do with Facebook?
Wait, why is it clearly the wrong decision? I think using tabs for indentation is great.

I agree gofmt is amazing, and for any language I'd happily trade whatever my personal style is for consistency and and gofmt-like tool.

Can gofmt really change semantics? I would assume that's a bug?
> Makes me wonder why the C compiler (gcc?) isn't clever enough here and is not inlining all that non-sense.

There's an indirection through a function pointer (ci->me). The manual optimisation is there to see whether the function pointer matches a baseline pointer, and apply that baseline directly instead of invoking the "generic" dispatch machinery (which involves setting new callframes & al)

If you look at the whole function, there's a few special case before that which statically dispatch the case of a comparison between numbers or strings, so here we're in the "general" case and one last optimisation available is to see whether equality has been overridden at all.
Heroku is DEAD: ec2 container service announced
Heroku and imitators are dead in the water with this, IMHO
I would replace recommendation #5 with: use a different key on each physical machine. My home desktop has a different private key than my private laptop, and at work I have yet another SSH private key.

This makes more sense to me than separating keys by "purpose", since it aligns better with the threat model (machine gets compromised).
Foods that are killing you: Aspartame in Diet Soft Drinks
It takes a lot of guts to do this. Only time will tell if this was a genius move or... I am rooting for genius. Good on you for swinging for the fences.

Also, smart to talk about this publicly. Of course, it's good reading. But also many people like buying from those who care about the product they build than from a faceless bigcorp. You can't buy that sort of credibility.
AWS EC2 Container Service
Amazon EC2 Container Service (ECS)
Amazon EC2 Container Service (Preview)
And the sane, ethical response to that is, "I'm told Amazon takes the long view, and the long view here is that we will maximize FCF by not betraying partners and not doing anything we wouldn't want to appear on the front page of Hacker News."

Because, you know, that could happen... 'some day'.
as in the destriction explained, this only works when the image is loaded inside a javascript src tag
Amazon Announces EC2 Container Service (ECS)
Crash investigation (Source - NTSB : http://www.ntsb.gov/news/2014/141112.html)

According to the pilot, he was unaware that the feather system had been unlocked early by the copilot. His description of the vehicle motion was consistent with other data sources in the investigation. He stated that he was extracted from the vehicle as a result of the break-up sequence and unbuckled from his seat at some point before the parachute deployed automatically.
Recorded information from telemetry, non-volatile memory, and videos are being processed and validated to assist the investigative groups.

... The investigation is ongoing. Any future updates will be issued as events warrant.
That collection is technically kind of interesting too. The puzzle code itself is written in portable C, using a custom-built common framework and UI abstraction layer that allows it to run on pretty much any platform.

http://www.chiark.greenend.org.uk/~sgtatham/puzzles/devel/
An img tag won't execute a script, it need to be the src of the script tag.

I'm curious to see the really specific case where this is needed. What actually will scan to make sure it's an image but then set it as a src on a script tag?
Show HN: DoddleMail – Manage your email and to-do list in one place
One of the biggest problems I've had is keeping track of my emails and to-do list, so DoddleMail is my shot at solving this problem. Check it out, and let me know if it helps you stay organized :-)
I regularly construct/test/burnin Supermicro servers here in home office before sending them off for collocation

The noise is something else from just one server with the fans being especially annoying

In a datacenter environment a single rack makes a mighty annoying noise and vibrations.

I would not want to be living anywhere near a rack lol
Is this post an ad? Because if so, it's like the most obvious one I've ever seen on HN.
That's because the magic is a lie.

I have this book. I've also worked on many Scheme systems and the internals of CMUCL. I was once a Lisp weenie.

The things that made Lisp special are not so special today. Basic things like garbage collection or dynamic typing exist everywhere. The more esoteric things, like CLOS, are esoteric for a reason (they are very difficult to use and impossible to master). The one feature that people still hype has always been a double-edged sword: macros. Scheme entirely ran away from the macros that Common Lisp has, and for good reason. But Scheme still has not developed a hygienic replacement that is equally powerful (and easy to use). They never will. It's been decades now.

The problem with macros and pet DSLs is that the best advice for using them is: don't. They can subtly alter the semantics of your code, and they conflate run-time vs compile-time. Not many people can elegantly weave through all these dimensions at once and not make a disaster. Homoiconicity has been oversold. The practice of CONSing everywhere is just awful, and slow. It's not the '80s anymore. CONS doesn't make sense today.

When you have first-class functions, closures and GC, you have the best things from Scheme/Lisp.
But why not both? You can publish on Google Play and have an .apk listed for download on your website as well.
This is a hostile environment, nobody can have a rational conversation about this without burning a lot karma (of which you have more to spare).

Nobody here except those that have those experiences has anything useful to say about non-cis gender identity. Possibly also psychiatrists/psychologists not married to a particular ideology on the topic. From my admittedly few conversations with transgendered people, it's complicated and there are no easy answers to what precisely it is.

Part of the problem is you're using "delusional" stigmatically, which damns you and poisons the conversation.
If I've already been learning Haskell, should I keep going or stop, drop everything and learn F#? I'd like someone with F# and Haskell experience to answer.
The only thing wrong is you. Who cares... roll eyes...
While speed is a factor, it isn't the only factor. The altitude at which they are unlocked matters as well. Moving at Mach 1.0 at a lower altitude could subject the plane to far greater forces than at Mach 1.4 at a much higher altitude, where the air is thinner.

Furthermore, where the force is coming from probably also plays a role. The angle of the force applied to the feathers may change when the force is not coming from a fall, but is instead the result of the engines provide force from behind the fuselage.
An Easier Way to Deploy Cassandra Clusters
wow that's super interesting! Align is the only other probiotic I've tried because they actually did some clinical trials with it. I'm ordering some of your product now, gotta support companies that are willing do to actual science, thanks for posting!
go fmt will reorder your imports, which means that if there is an import ordering dependency, it will either be exposed (or hidden) by go fmt.
Show HN: StackTracer-a simple tool to troubleshoot slow perf in .net
some javascript files are merged over params like ?js=foo.js_bar.js but indeed the attack surface is very small
Such a ban would presumably put Veracode out of business as well, since such tools could easily be weaponized to find vulns in other peoples software.
The turbine works because there is a pressure gradient across it. The hot steam rushes faster if the other end is colder.
> Looks like Kivin was surprised when HR told his manager that he requested to be transferred. His manager then used this information against him, by putting him into a 'performance improvement program' which blocks transfers to any other group for some period of time.

I learned this one the hard way myself. The change wasn't motivated by any grief or frustration, I was simply looking for career growth since my role wasn't offering me any new opportunities. Instead of what I thought would happen, my boss identifying I could offer the company more in that new role, he was offended I'd ask to change teams and retaliated. I ultimately left the organization soon after because he had made it an absolute nightmare.

> HR is not your friend. HR is not there to protect you and your career. HR is there to protect the company AGAINST you.

This was very shocking to me to realize early on in my career, I'd always heard that HR was on my team. I quickly learned that they're just there to keep the assembly line happy and functioning.
Although it's perfectly understandable, from both entities' point of view, to want the terms of the agreement kept secret ... part of me feels as if they owe it to the public, whom each side marshaled in support of their positions -- Amazon at http://www.readersunited.com and Hachette at http://authorsunited.net -- to let us know what the resolution was.

True, the Times article broadly describes what each side agreed to, but since we don't know how much money changed hands, or what other concessions were involved, we don't really know whether it was a victory for Amazon or Hachette. Both sides say they're satisfied, but there may be gritted teeth.

As an author (though published by one of Hachette's competitors), I sure would like to know whether this agreement will set a painful precedent for other publishers.
How much are you spending per month? Surely there are things you could cut.

I recommend setting up a Mint.com account and taking a look at your monthly expenses. You might be surprised at how much you're spending on, say, restaurants or fast food per month.

In general, I would also recommend reading http://mrmoneymustache.com/ for good ideas on ways to lower your expenses. Here's the uber-post containing the most basic (and most effective) ideas: http://www.mrmoneymustache.com/2013/02/22/getting-rich-from-...

Any savings can be paid right toward the loan as additional principal. (Note that your loan may have a prepayment penalty; you'll want to check before you begin sending in more than the expected payment.)

Edit: According to https://commonbond.co/blog/the-truth-behind-student-loan-pre... , no federal student loans have prepayment penalties, and it is illegal for private student loans to charge them as well as of 2008.
You are the link. You eat mob owned meat.
From a user of the app.
Could you elaborate on why server-side .NET is much worse than JVM?
Really nice idea, but it seems like quite a reliable way to win is to fill all the squares in red, and then change all the places it tells you are wrong.

Perhaps rather than pointing out which cells are wrong, highlight the group/row/column that break the rules instead. That might make it slightly harder.
This stuck out to me, too. This is exactly the scenario where you want to bring in a third-party consulting team.

My team has been hired for this role several times: we receive full access to the technology stack and the target's engineering team. We then prepare a thorough report that the potential acquirer can ask us questions about, discuss any concerns, and request potential solutions to any issues and associated costs.

This has at least three benefits:

1. Isolating the target from revealing their IP to the acquirer,

2. We're experts in the target's stack (say Rails), whereas the potential acquirer may be more of a Java or Django shop, and be unaware of stack-specific issues to look for,

3. Allowing us to offer an unbiased opinion: we don't have any vested or emotional interest in the sale going through or not, so we can be pretty blunt about anything that might be an ongoing issue.

I won't say how much we charge for a service like this, but it's absolute flea spit compared to the $14 million on the table.
Amazon EC2 Container Service (ECS) – Container Management for the AWS Cloud
Toshiba’s high-tech grow rooms are churning out lettuce that never needs washing
It does not change semantics. If it does in some case, that's a bug and please report it.

Edit: I see, import order can affect the order that the init()s in different packages are invoked, presumably. I stand corrected.

Edit 2: But that should not matter since the language doesn't specify any dependence on that.
Is it different from the dozen of posts on new Amazon services each time they are released?
Show HN: Generate a TODO.md from todos and fixmes in your code using Gulp stream
People are often confused about how a JIT can be faster than a static compiler - this is a great example of why that can be the case. A dynamic compiler would be able to speculatively inline through the function pointer, where in a static compiler that is not tractable with what we currently know about compilers.
" .NET has a key advantage over Java in its support for clients. Despite the significant improvement JavaFX delivers over Swing, Java is no one's first choice for writing desktop UIs, whereas .NET is standard for business applications. "

This will be interesting. Obviously, .NET is the best way to make desktop GUI in Windows; I wonder what they will do to support GUI creation on Linux and OSX.
I agree. Git is powerful, flexible, and (once you grok it) quite simple to understand ... but it baffles new users, and is a complete turn off for people who happen not to be software engineers, even those who are otherwise highly intelligent.

I work trying to bridge the gap between a team of mathematicians and algorithms engineers, and a team of embedded software engineers. Most of the embedded software engineers "grok" git (after some practice), and are (fairly) happy using it on a day to day basis.

The Mathematicians and Algorithms engineers, on the other hand, aren't really interested in getting to grips with Git (or any version control system for that matter). They'd rather spend their time thinking about mathematics and statistics. (Quite rightly).

The decision to use git, whilst justifiable for many valid technical reasons, has definitely thrown up some additional challenges for me and for our organization.
> From my PoV neither Java nor .NET is the first choice for UI. HTML and JS is.

That's a real vindication of the "worse is better" theory.
Here is such a bad brand name, especially for foreigners, which makes it that much more surprising that a company like Nokia, from Finland, would choose a name like that. I guess they were led by an American at the time. But I would change it, even now, to something better. I think it would be worth it. Make it more of an International name.