skysight-inc/HackerNews huggingface dataset:
Probably a lot of sources, depends how well connected you are.

The biggest one is just routing information and rDNS hosts which give away a lot of the information required anyway. If you were really thrifty you would make agreements with services (or use services you run yourself) that have users supply their location information and use that to construct a more granular database. I suspect this already happens to a degree, some of the fake information I give out has ended up in at least one IP address database.

I strongly considered doing this at one point but lacked the connections to pull it off properly (not enough sources of data I could get without approaching random people, basically). A secondary concept would just be to crowd source it and have the information freely available, but I was never sure how to deal with people poisoning the database or just honestly supplying conflicting information.
From the link: "History remembers Upton Sinclair's The Jungle as a vivid exposé on literal and figurative sausage making, a piece that shocked the nation and led to the passage of the Pure Food and Drug Act. But all that happens in the first half of the novel, no one remembers the second half. And that is probably for the best. Rereading The Jungle recently, I again found the second half almost unbearable, especially the later chapters which devolve into clumsy, thinly-veiled socialist propaganda."

This appears to be precisely the reaction to The Jungle which Upton Sinclair complained about; he wrote the book to illustrate the harshness and exploitation of poverty, but everyone got hung up on the descriptions of meatpacking instead. Not on the conditions of the meatpackers, mind you, but on the conditions of the meat ("Oh no, not my food!")! As Sinclair said, "I aimed at the public's heart, and by accident I hit it in the stomach."
51 billion for GM, 17 for GMAC. The other 12 went to Chrysler.
I imagine browser language settings would be a useful indicator too. Not perfect obviously, but highly useful given enough data.
Piper: Custom product photography
"you realize that the things that were important to you when you were younger weren't that important after all."

On the other hand nothing wrong with having aspirations and if people didn't have aspirations many things in society would never be accomplished. Aspirations drive people.

I think there is a saying something like "the difference between men and boys is the size of their toys".

And in fact many of those "toys" don't matter once you get older simply because you are in a different place in life with different needs and outlook. Can't imprint that thought pattern when younger and quite frankly why would you? What fun would that be?

I remember when I was in my 20's I was able to afford a really nice car one that I had always wanted in my teens. About a week after getting the car I was very aware of the fact that I wasn't any happier than I had been prior to getting the car (and actually thought I would be) and maybe even a little less so (anticipation effect if you want to call it that). I was still glad that I got the car though and have always had nice cars since and never regretted it. But part of my motivation has changed. Back then it was to get a girl by having a nice car and to impress people (used to be like that, the "get a girl" part many older folks will tell you). Now I like it just because its a nice thing to have. And in some cases having nice things helps with business as well in the bricks and mortar world at least.. I can tie a few deals to the fact that I drove a nice car. Plus getting random comments from strangers does provide a boost.

As you get old you do become more mellow because you can be more mellow. Because in many cases you have either "arrived" or your needs have changed. The kids college is already taken care of and all of that, have a vacation place, nice house and so on.

But don't think for a second that it would be possible to "not care" "now" if the effort hadn't been put in earlier to insure at least some financial security. And I am not talking about living richly either. But having enough that you don't have to be concerned with money is a nice thing don't let anyone tell you differently.
The Pilgreens Project
I had blogged about a basic version of this right when AWS was announced: http://blog.0x82.com/2014/11/24/aws-lambda-functions-in-go/
Great to see there's still interest in the approach ;-)
This entire misguided exercise seems like a parody of hacker overquantification and using cold, hard metrics in order to spurn art.

Is The Jungle really the leftist equivalent to Atlas Shrugged, as the blogger seems to allege?
jSonar Canada INC , Vancouver | ONSITE | Hadoop Software engineers

We're looking for developers with understanding of Hadoop internals to develop the under-the-hoods of our Data Warehouse infrastructure. Experience with Apache Kafka is a big plus.

www.jsonar.com

email resumés to : info@jsonar.com
I could've more explicit.

Interactive dismissal only made possible with UIScrollViewKeyboardDismissModeInteractive introduced since iOS 7.

This article described solution for interactive dismissal with `sticky` input field atop the keyboard.
Nice! That looks like viz.js. I've been having a lot of fun with that library.
I find strange that practices of the Perl community are so largely not publicized. From moose object model, to CPAN, and now TAP (first time I read about it). I find it sad that in college we were fed the Java way of things (OMG, JUnit). I guess any old culture won't catch light.
The headline is misleading ("loses more than $4000 on every car sold"). Tesla has a healthy gross margin of over 23% on each car sold (as of last quarter). They have quarterly losses because of expansion and investments into growth.

If they stopped expansion (stores, service centers, superchargers, equipment, etc) and investment into growth (new hires, new models, etc), then they could be profitable since that would lower their expenses and they could use their gross margin per car to fully cover expenses. However, since they see a huge market, they are foregoing current profit and investing all of that and more into expansion and growth. This is only to be expected of a high-growth company in its early stages of growth.
...or bandwidth and time lag.
I hate this headline. Unless I missed something in the article, $4000/car is the overall loss divided by the number of cars they produced. The headline implies a loss a per unit basis, or negative gross profit. The reality is they have massive capital expenditures that are reasonable to associate with an expanding manufacturer doing tons of R&D.
In the EU, the sales tax now (I think, since this year) must be paid to the country, the buyer comes from (before, the sellers country was decisive). Also the height of the tax depends on this. So, at least in Europe there are plenty of small companies that could need such a thing, at least as long they don't have a payment-provider that handles the sales-tax for them.

I myself, could also be interested, but I think, I will leave that to my payment-provider ... (ugly, EU!)

Edit:
Ok, I should not, but why the downvote, please? When I wrote something wrong, than please explain!
NASAs Space Network Ground Segment Sustainment Project Preparing for the Future [pdf]
Teacher Shortages Spur a Nationwide Hiring Scramble (Credentials Optional)
Sources: Roger Stone quit, wasn't fired by Donald Trump in campaign shakeup
I think the distinction your looking for is "crafted" vs "manufactured". What is interesting is that the linage of these devices include lots of "craft".

- Vacuum tubes

- Wire wraping

- Core rope memory and some magnetic core memory.

Where it gets even more interesting is when you NEED craft for advancement. The most entertaining case I can think of is this one: http://www.smithsonianmag.com/history/neil-armstrongs-spaces...

http://www.thecredits.org/2013/09/bras-in-space-the-incredib...
Live-capture forensics of a CIN injecting fake Chrome install
I hate it when some relatively simple piece of math is described in the most complicated/impressive possible terminology to give the biggest splash.

They used a machine learning algorithm to reduce their food waste. Cool! That's a good thing - but calling it 'atomic scientists algorithm' does not really help anyone understand what the algorithm is doing.

I guess the next step is to describe a formula that involves addition and describe it using rank0 tensors and Einstein notation?
This is very enlightening.

Would the Swiss be compensated in some form for their efforts?

How would this work in international diplomacy?
Yeah, this is a brilliant series of articles. I really enjoyed it.
>It's interesting that there are still products (hats, watches, cars, ...) for which the finest examples are made by craftsmen with enormous skill, and not by machine.

Eh, for a lot of those, the thing you are buying is the... immeasurable something you get from it being made by hand. Uniqueness. What someone like me might call flaws.

My Toyota van is gonna be way more reliable than a Maybach Landaulet. It can haul more, too. Hell, if I got a more expensive Toyota, say, one of the faster lexus LS models that is more in the shape of the Landaulet, it wouldn't even be much any slower, and the LS is, if not affordable, at least realistic for your average silicon valley tech nerd.

I'm not saying that a Lexus LS really compares to a Maybach Landaulet in the market or in people's minds; it doesn't. One is like $70K and the other is like one and a half million. But the strongest objective advantage the Maybach has is simple exclusivity; There are a lot of Toyotas on the road; a lot of the value in the Maybach is in the process... and the process that makes it rare.

Objectively, I would easily argue that the Maybach is worse. It's going to be vastly less reliable than that Lexus. and certainly, for telling time, your $10 drug store watch is vastly superior to your hand-built analog wrist-art piece.

And if you want to get fancy, even the cheapest cellphones these days come with time synced from GPS satellites. (GPS is fucking amazing. One of those things where the more you learn about how it works, the more amazed you will be that it works ever at all.)

So... yeah, I'm not saying there isn't value in having a hand-built art-piece; sometimes, there's a whole lot of value. And if you've got that much money, why do you really care what time it is, anyhow? But I am saying that you're going to have to search pretty hard to find an example where the hand-built example is objectively better at fulfilling it's ostensible purpose (e.g. transporting people and telling time) than something mass-produced by machines.
How is this similar? VPaint is a unique animation tool; your tool has no animation.
Why Las Vegas has coped well with drought so far
This is actually guarded against in a macro:

#define UTF8_VALIDATE_PARAMETERS(_inputType, _outputType, _result) \
if (input == 0) { \
UTF8_SET_ERROR(INVALID_DATA); \
return _result; \
} \

If a NUL parameter is passed to utf8toutf16 and friends, they'll return UTF8_ERR_INVALID_DATA.

However, you are correct about codepoint_read's behavior. I actually have a test for passing NUL to the function, but the value of decoded isn't checked:

TEST(CodepointRead, InvalidData)
{
const char* i = nullptr;
size_t il = 0;
unicode_t o;

EXPECT_EQ(0, codepoint_read(i, il, &o));
}

It's definitely a bug, but relatively harmless. The function is only used internally and the calling sites guard against that kind of attack.

Nevertheless, I thank you for the extra set of eyeballs. I have been looking at these functions far too long, you tend to gloss over obvious problems after a while.

I'll be sure to get a fix in for the next release. :)
Root comment mentions smoother, lighter, more flexible. Lighter certainly seems like a desirable quality, I'm not wearing a hat to work out my neck muscles.
As a drummer wannabee I spend most of my time trying to keep focused on my deconcentration. It's the simplest definition of flow or zen I can think of.
How fast do you normally walk? 3m/s divided by five is around 60cm/s or about 2 km/h, that's pretty slow. I walk at around 5 mph or 8 km/h, although that is a little faster than most. I think average walking speed is normally about 5 km/h so this is really only twice walking speed at best...
I'm pondering making a port of LibreOffice without the Java dependency (to avoid the runtime and language model overhead) with my own custom user interface/UI framework.

From this I guess I need to take and port SalInstance and write my frontend for it.
Bothering Sam Altman As A Service?
I'll echo the "low cost, not free" thought. Stuff takes money to maintain. I don't want to build a service that depends on an unsustainable business model.
$12-$60 a year, every year, is worth 5 minutes yes.
Making /dev/random blocking optional doesn't help; in fact, it probably hurts, because it allows more Linux code to "safely" use /dev/random, and that code is dangerous on platforms where /dev/random does the old Linux thing.
50th Anniversary Party Favors Ideas
Keyword is loan. The loan in question was repaid this year.
In this case you need four DSLs - your core model and three DSLs for mapping the model to the specific storage backends.
Sounds good to me - at the high end of the car market, adding an extra 4k is not a big move on the price elasticity curve, but as long as it's profitable at the margin, then spending 4k of capital to "buy" market share seems sensible.

I would not rush to sell tesla shares on this headline, and at least they seem to know where the car market is going.
Just because it can be done badly is not a reason for abandoning it. To continue the aviation analogy, the solution there was to ensure that the people designing airplanes have had fairly rigorous training and that they have an adequate understanding of the relevant theory.
The talk about needing to constantly add more entropy or 'manage' it is nonsense. djb says it best: http://blog.cr.yp.to/20140205-entropy.html

Briefly, once you have say 256 random bits it is trivial to use AES and CTR mode and turn that into 2^71 random bits until you need to rekey. If you cannot get more entropy in the time it takes to use up all of those numbers something is completely broken. The only problem you can have is not having enough entropy to bootstrap (such as VMs or needing to generate a key at poweron on an embedded device), but this paper gives little more than lipservice to it.
JavaScript Debugging Tips and Tricks
I recently got a peak at how the established car makers operate especially concerning their software development. The amount of engineering that goes into making things scale across brands, market-segmentation, configurations, countries and getting the thing produced in high quantities while putting an incredible amount of engineering resources into literally shaving even a single euro of costs is insane. Tesla doesn't have to do any of this, yet.

It's like a non-programmer looking at Twitter or even Google. How can this be hard? Isn't it doing the same job as Spotlight on your local computer? It's not! It's a much harder problem, primarily because of scaling, fighting with SEO, etc. We do understand this for software. The car business is more complicated than it looks.
Bugatti burns VWAG's cash, loses more than $6.27 million on every Veyron sold.

This is actually true, but guess how many investors in VWAG actually cared? Not as many as you think. The Veyron was Ferdinand Piech's moonshot. It was the automotive Concorde. The physics involved are sort of nuts[1], especially when you consider it was developed in the late 90s and went into production over a decade ago. The R&D costs were ludicrous. They nearly burnt down the engine design building because the immense heat the engine spewed out on the test rig... yet still had to find ways to dissipate that much heat in actual use. It was considered an engineering and research exercise that could defray some of its costs.

This isn't much different. New automotive production line and models costing serious money up front? I'm going to die from a lack of surprise.

[1] Consider a valve stem cap. They're aluminum, and weigh ~1g. However at near 400kph, because of the centripetal force of the wheel, they effectively weigh 7.5kg at those speeds. They also had to redesign the schrader valves so they wouldn't deflate at those speeds. They also had to create new TPMS sensors because even Porsche's -- which were rated for around 350kph -- damn near disintegrated past 375kph.
Yeah sorry, that was my mistake in copying from the video. It was supposed to be an if statement. I'll leave it now because of the discussion on the issue
This is awesome. I've never heard of PLEAC before but it's exactly what I want to see when starting a new language. Idioms and best practices are much easier to grasp when factoring out superficial differences.
It's easy enough to skip ahead. I like that it doesn't leave any of that out; it's not so tedious that you can't scan for interesting bits, with the rest as reference material. Maybe I am biased from reading on a laptop where scrolling and scanning is easy?
How much of Java is needed for LO ? I oddly believed it was limited to spreadsheets formulas..
In concurrent software development, the third way (analysis) is the only way. You need to know (or find out) which resources can be accessed concurrently, and develop a theory of how this could lead to the observed error.
Eyeglasses with Face Un-Recognition Function to Debut in Japan
phpBB and sourceforge? what a throwback!
How was it repaid if they're losing money? Sounds like their debt was simply restructured this year (they paid off the loan by just getting more financing.)

The point is that the government is taking on a risk by giving tesla a loan, because they're not profitable and it's not guaranteed they'll be able to find a greater fool in the next round of financing.
Just like all other browsers, they make money from Google and other search engines. Think of every time your browser redirects you to Google or Bing search ... They earn quite a lot from this.
(Disclaimer: I work for MaxMind)

As far as formats go, if anyone is thinking of putting together a custom database with information keyed on IP address or IP ranges, I'd encourage you to look into our MaxMind DB format:

http://maxmind.github.io/MaxMind-DB/

There are open source file readers available in many languages: https://github.com/maxmind/?utf8=%E2%9C%93&query=MaxMind-DB

There's also an open source writer https://metacpan.org/pod/MaxMind::DB::Writer

Our officially supported libraries are actively maintained and pull requests are always welcome.

I'm actually about to begin writing a blog post on how you can create your own custom databases. I'll share it on HN once it's ready.
I'm not saying /dev/random's blocking would be optional; I'm saying the driver backing /dev/random would be entirely optional. Making it a link to urandom rather than having it entirely missing just avoids breaking old (misguided) userspace that still uses it; breaking userspace would make the proposal less likely to be accepted. Convincing various userspace components to switch to urandom, and for that matter fixing the documentation to stop recommending /dev/random, is a separate battle.
Honestly I would like to know what the overhead is in continually maintaining a custom cross platform UI toolkit for one application is versus just rewriting the UI using an existing framework like Qt. It seems like an awful lot of effort must be duplicated here.
Did you read The Dark Forest in Chinese? What about The Three Body Problem?

I read the latter in English. I wonder how much of the sometimes tediously long exposition and ham-handed language was due to translation.
I totally missed the fact that the HP Z620/820 supports v2 and v3 E5s. That definitely makes it a better choice for future upgrades.

The X5690 is comparable to the first generation E5-2640 (slightly slower), and the X5670 is comparable to the E5-2620.

Even the first gen E5 has the AVX instruction set, 4 memory channels (vs 3 for the Westmere-EP) and a faster QPI, so it might have better performance in certain applications.
No I haven't, but if you have the data to show otherwise, then by all means write it up.
This seems iffy. Maybe combined with CV Dazzle.[0]

[0] http://cvdazzle.com/
My only experience with MaxMind was the trouble we had when we got a new IPv4 assignment from ARIN. I filled out the form on their website the first week, our address was in the WhoIS records for our IPs, and our BGP announcements made our location obvious, yet they had our IP's (obviously from ARIN) showing up as originating from South Africa for months.

Seems like anyone who can look at BGP tables and whois information can get more current and accurate data than MaxMind.
Hmm. Can you determine such things using BGP? I guess that wouldn't be very accurate, though...
Change Your Name
That would be amazing. I'd love a datadump that could be accessed on my own servers instead of having to hit an API. The format of the datadump doesn't really matter to me, as long as there's documentation on how to read it.
I didn't quite grok the talk from just the slides. Is it a guide on assessing seriousness of a risk? Showing there are many risks the security industry takes and shouldn't, and spend too much on less risky issues? Was that what the car recall was about?
A lot of the advice in this article comes down to having perspective. E.g. I don't think the author misjudged her looks when she was younger--she just realized now that she's older it never mattered as much as she thought.

Getting married and having a kid was liberating for me in that regard. My desire to impress people who didn't matter or come across as cool and not derpy went almost to nil.
Ask HN: Best Linux sandbox?
After the recent Firefox incident I realized how I lied to myself by believing that I'm secure just by using Linux.

My setup is Ubuntu 14.04 LTS (job requirement) with XFCE. So here's my question:

What is the best Linux sandbox available right now?

Even better if it's something simple to use and battle tested. Main things I would like to sandbox is Firefox, Thunderbird, Wine, Torrent stuff and maybe Chrome (is it necessary? my chrome://sandbox shows YES to everything except "SUID Sandbox")
There are many problems with what they did, but I would not list using money inefficiently as one of them. Unless you're anti-advertising as a general concept. Weird.
>> The only explanation is that something has coded nonsense in a way that poses as a useful message; only after wasting time and effort does the deception becomes apparent. The signal functions to consume the resources of a recipient for zero payoff and reduced fitness. The signal is a virus.

Hmmm ... this makes me think of how much time I spend reading information on the Internet, reducing my fitness with little payoff. A virus indeed.
Sometimes (especially when concurrency is involved) this is not feasible, yet debugging is still possible. These are the cases that really test a developer's skills.
Its not really hard to predict normal scenarios. From the article " it helped the company to predict that it would sell more frozen yoghurt in the last two days than it has in the whole year."

For me, that is an extreme outlier and if they are able to predict even that, then there is something special about this algorithm.
Maxmind is low cost, not free, and has a pretty good track record. What would you want from an alternative?
It's not misleading.

It's a lie.
Opera is no longer working well on my old PC with windows 10 Speed Dial wont even load.
Smoother, lighter, and more flexible than a less dear Panama
hat. The bucket is almost certainly lighter than both, if you're
looking to relieve your neck from its tremendous burden.

ljw1001 was comparing watches by their ostensive purposes,
telling time, but the hats by something else.
Yeah, and the concept of "entropy can be used up" is stupid. :)

I thought maybe this was a flaw in the PRFs used in Linux, for example.