skysight-inc/HackerNews huggingface dataset:
In 100 years we may look back on this last month as the time when 'the machines were born'
Nice explanation. I'd never thought about the important role of indirection in productive employment.
> If you pull over 100 people with large amounts of cash, what percentage obtained it illegally? If it's greater than 50%, then you can always seize the cash under that standard.

That's an interesting question, but it's not obviously greater than 50%. Honestly, I don't think it's higher than 50% at all, but certainly it isn't so clearly higher that it should be accepted without evidence.
OS for messaging? Startup Cola hopes idea has fizz
I wish the full source for the Objective C case was provided. I'm curious to know how the value was printed.
Word+To+Live+By:+Kindness
I liked what the creator of Mithril had to say about this:

http://lhorie.github.io/mithril-blog/getting-over-a-fear-of-...
gumroad specializes in creative works and digital goods. Such as "Pay $10 and get this ebook on painting"
> everything that wasn't bolted down disappearing

> This same phenomenon was mirrored elsewhere in the ex-USSR

This wasn't limited to military hardware. I visited Russia right after the dissolution (summer 92), and there as a mixture of celebration and uncertainty about what was going to fill the power vacuum.

Organized crime was simply buying both land and power. With the exchange rate crashing 5 RUB:USD per day[1], literally everyone was panicking to get hard currency or anything that would otherwise hold value. I wouldn't surprise me if this attitude extended to military hardware if the price was right (and in the right currency).

[1] banks were giving ~95-100 RUB/USD when I arrived. A bit over two weeks later it was >180 RUB/USD.
Note that Syncthing just put out relay support, so you don't have to poke holes in firewall if you don't want to, and your data is still secure, as the relay server just relays the encrypted stream. In the (roughly) week since the feature was released, the public relay network has already routed over 2.6 TiB. (I run 2 relay servers on the public pool)
How we manage a mobile device lab with 100+ devices
If you want that, that comes at the cost of printing 0.99999999999999989 as "1".
We cannot expect the world to become more sane. We must ourselves engineer our way out of it. We will engineer our way out of surveillance with encryption. We will engineer our way our of highway seizure with bitcoin (or a similar tech). If does seem bad now, but we will solve it and we will solve it without needing to convince others it's broken.
I think it makes sense. Let's pretend that I find an iOS exploit. I can brick 50% of Apple devices or I can sell it for a million dollars. I'd rather be a millionaire than risk prison.
Walter Murch: The legendary film editor on underlying patterns in the cosmos
Why is this being downvoted?
Can a decrease in oxygen from 35% down to 21% really explain a decrease in insect size from eight-and-a-half feet down to just 3 inches? Is there an interesting mathematical relationship here, or are there more factors at work?
That's awesome. It looks very cool and pragmatically design. So as far as I can see:

- There is a database schema per actor type.

- Each actor has a separate physical (SQLite but with the backend replaced by LMDB) database.

Is this the case? Won't this be using a lot of file handles if there are thousands or tens of thousands of actors? I'm assuming you already optimize this by closing "idle" actors, but what if they're all "live"?

How do you coordinate safe schema changes across all actors? You mention that schema changes are performed "just in time", that is, not when an actor is idle. I can definitely see the benefit of doing that. But for many types of schema changes you do want a controlled migration where you ensure that all tables are fully updated. Can you force the schema upgrade by touching all agents with a dummy query, perhaps?

It looks like ActorDB is designed for schemas where data is strictly partitioned, and where data wouldn't cross these boundaries, because joins would be impractical/not performant. For example, in a Dropbox-style system, every user would be an agent, and every user would really only talk to a single agent at a time. So that's a perfect fit.

You also show a discussion thread example, where there is one actor per thread. This would mean that if you wanted to do something like "get all threads where user X has commented", you would need to either query all agents of type "thread", or you would need to maintain an agent that keeps track of [user, thread] mappings, and then either query each manually, or use the looping construct (section 4.1.4 in the documentation) to perform the query across the relevant agents. Am I getting this right?

How much failover testing have you done on your Raft implementation?
What's the rationale for null terminated strings?
In Java its such a pain to always account for possible exceptions. You have explicitly catch it or explicitly pass it on. Scala frees you of this hassle by not enforcing anything. So handy.
Who are "they", where are those people with these hidden agenda? The companies? Where some of us works and just try to do theie job. The politicans? Who cannot agree about anything but somehow figured out an hidden agenda where they secretly betray us. The Illuminati?

"I used to assume there were people in charge who knew what they were doing, who planned how things in society should work. As I got a little older I got more cynical, believing these people were trying to keep the rest of us dumb with shoddy schooling and mind-numbing entertainment, in the hopes they could get away with whatever it is powerful people are always trying to get away with.

Then as I got even older I realized that the people in charge are as clueless as the rest of us. Like our software, our society just kind of happened over the years and it’s always on the verge of coming tumbling down. Nobody really knows what they’re doing or what they’re talking about.

If you can get over the sheer terror of that thought, it’s actually quite liberating." Nick Bradbury
Remind me never to sign a memorandum with Britain or America...
Spot on. I would add to this explanation that the real confusion comes from the fact that in most languages when you write `0.1`, it doesn't mean 0.1 = 1/10 – instead it means the closest number to 0.1 of the form n/2^k where n < 2^53. Namely 0.1000000000000000055511151231257827021181583404541015625, which we can represent in decimal because 2 divides 10. And, of course, the illusion that `0.1` is actually 0.1 is supported by the great efforts [1] made to print floating-point values with the least number of digits necessary to reproduce them, so `0.1` still looks like 0.1 when you print it even though it isn't.

[1] http://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/pr...
5400mph winds discovered hurtling around exoplanet
Reports that Bassel Khartabil has been sentenced to death
It's interesting that "conservatives" and "freedom loving people" become pretty OK with tyrannical practices as long as they are practiced on some undesirable group. "Don't tread on me" becomes "Don't tread on me, tread on the brown people instead."
"And as a result we get less productive output, making us all poorer."

This is not necessarily the case. "Work effort" is not fungible. In the case of tertiary workers, a highschool drop-out working now is probably giving us less productive output over time than had they finished their education.
For an apt comparison, take 9 of your friends out to dinner and agree upfront that everyone will split the bill proportionally 1/10th. Watch how people think about spending, it really changes their utility calculus, from "Is this piece of cake worth $5" to "Is this piece of cake worth my 1/10th share of $5, or 50 cents?" Problem: everyone thinks that way, leading to a lot of wasteful spending, where "Wasteful" is defined as, "Things I wouldn't buy if I was paying for it myself".

Related: China is in the late stages of a credit-driven investment bubble where tons of construction (roads, houses, trains, dams) have been built. It's an open question whether it was "worth it", it probably produced a lot of construction jobs, perhaps some good infrastructure, and spread trade knowledge throughout the economy, but at a huge cost to their taxpayers.
Yeah, but Apple doesn't like unsigned code because they want to maintain control over everything, not because of security.
Do you have info on all the things he has ever said? Etc..
Sandstorm!
A living wage is also strongly dependent upon family makeup. Two childless individuals can survive on far less per adult than a single parent with three children.

So for starters, do the BI scale per individual, and if so, how? Assuming it scales flatly, it gives an incentives to have children because of economies of scale (this is not to say people will have dozens of children, as this is a single incentive among many, many of which are incentives to not have children).
We were recently working on designing a moderately complicated permissions system, and my impression is that it's impossible to create such a general-purpose engine and gem that covers enough of the cases that you'll have to manage, without creating something that is incredibly complicated to set up and manage. Except for a few standardized domains, you'll always have rules that are easier to express and maintain with some custom, domain-specific code.
I think another big negative here is just the fact that it shifts police org's focus towards crimes where they can "fund" themselves.

I repeat this statistic a lot, but the solved murder rate has fallen from ~90% in the 60s to ~60% in recent years. You'd think with all our new forensic technology and lower overall murder rates it would be opposite.
d3.js has ColorBrewer baked in available either as Javascript or CSS. Here's a handy static visualization of the scales: http://bl.ocks.org/mbostock/5577023

Any time you pick colors for a visualization, these scales should be your default choice. You can choose something else but you better have a good reason.
5 and 6 are acceptable. All the other ones, I would cut the interview short and leave the room - I've done it before but not at these specific companies.
Yes, I'm aware of aphyr's post, which reveals serious limitations in MongoDB. I said the replication story is great, not the consistency story ;-)
I very much believe that housing and education are necessities, and that builders and colleges, if the screws were turned to them more, would find ways to cut costs and make things more broadly affordable. I don't think throwing tons of debt at the problem fixes anything long-term.

Right or not, you'll get killed expressing that thought (no matter how well-intentioned) as a politician.
Most gun legislation dies pretty quickly in congress. I don't think the threat of violence from gun owners has particularly affected that process.
The Scientific type does arrive at the correct value. 0.3 is the correct answer, and Scientific gives it to you. I don't know why you would expect something else from a type which implements arbitrary precision arithmetic.
CanCan + Rolify does exactly what the OP wants.
I live in the Detroit Metro area, and despite the way the article was titled, the 100Gb and 10Gb service doesn't seem like the main announcement to me. I would love to get 1Gb/s for $70 a month, especially from someone other than Comcast.
Drug and sex objects are forbidden - but I see no mention of weapons. Typical.
Virus on Police Body Cameras
I don't really know those numbers (not sure if anyone does, and you know various treaties make any numbers published debatable because the official should be 0 or very close to it) officially they aren't supposed to make any new weapons and they have to disassemble existing ones and to dilute their highly enriched uranium stockpiles (Strategic Arms Reduction Treaty, probably some others too).
Uranium enrichment is usually measured in SWU's that's separation work units which basically means your capacity to separate Uranium with 1 ton of raw Uranium as the feeding source.
Basically to get 90% or higher enriched uranium you need about 1000-1200 SWU's which will produce 5-6kg* of weapons grade uranium from 1 ton of raw feed.
If you have en enrichment capacity of 20,000,000 SWU you should be able to produce about 100,000 tons of weapons grade uranium per year (enough for about 2000* non salted/boosted bombs)

As for books don't have anything on top of my head but this is a good source of info
http://www.world-nuclear.org/info/nuclear-fuel-cycle/convers...
The association of american scientists and similar organizations should also have plenty of nuclear related information.
As I had to Google this earlier, and you might do it now, may I be the 1st one to welcome you to the watch list.

* may vary based on your enrichment process

* based on common publicly known weapon designs (50kg per fissile core) not sure how low an Uranium fissile core can get once you start getting into salting and multi staged fission.

Edit: Just to elaborate on the previous comment.

The difference in effort required between weapons grade and fuel grade uranium is almost negligible (this is why breakout is so easy for nuclear powered states).
A 1000SWU on average will produce 5KG of weapons grade Uranium and about 100-120KG of reactor grade uranium.
A 1000MW nuclear power plant needs about 75 tons of fuel per year (or upto 18 months depending on the burn rate), a bomb needs under 50kg of Uranium.
See CVC 360

"360. "Highway" is a way or place of whatever nature, publicly
maintained and open to the use of the public for purposes of
vehicular travel. Highway includes street."

http://www.leginfo.ca.gov/cgi-bin/displaycode?section=veh&gr...
He wasn't sent to prison for asking questions any more than drug dealers are sent to prison for "asking" whether the US has a rational policy for drug enforcement.
Well, yes; 0.99999999999999989 isn't a 15 digit number, so it lies outside of the requirement.
Having written some of this code myself, I have to disagree; transforming SQL fragments is legitimately frustratingly challenging. I have to admit I don't know how to show a small example that captures the problem, though, because this is one of those cases where the small examples always look easy. It isn't until you're trying to support all of them at once that it is a problem. Combining two fragments that each specify tables, joins, where clause filters, and potentially subqueries with each of those recursively is nontrivial when you get down to it.

It also really doesn't help that "SQL is declarative" is basically a lie, and it very frequently totally matters which "synonymous" query you actually throw at the database, thus eliminating a lot of the obvious clean answers in any practically-useful library.
Whatever you want to call him, you can be sure he got called asshole plenty of times.
Psst. Any of you kids tryna buy an airline?
Agreed, and now that RethinkDB supports automagic failover, it's pretty much a no brainer... and while I like Mongo's query interface slightly more for most queries, RethinkDB avoids some of the weirdness when you have more interesting queries. And server-side collation/joins is a really nice feature in a document-centric database.

PostgreSQL really needs a MUCH better replication/sharding/failover story... While I would use PostgreSQL in a situation where all I need/want is a single server, where multiple servers are needed for HA/failover, I'd probably just defer to MS-SQL, only because pg is so convoluted in that regard.

As to MySQL/Maria... I haven't touched it in years, and every time I have some weird behavior drives me nuts. I find it funny that people can love mysql, and bash on JS.

I'd also like to acknowledge ElasticSearch and Cassandra... ES is wonderful to work with for what it does best, search, and C* is a champ when you need a really good distributed table/kv store, though I think that RethinkDB is a better option today, if you don't need more than 10-20 nodes (which is a LOT).
This just adds to the idea that sql kind of sucks in terms of usability. For the record I always use sql, but let's be honest with ourselves.
There is also a good transition story for porting code from Python 2 -> 3. The "problem" is largely a community issue: libraries with many dependents and a lack of authors to port them, institutions with large code-bases unwilling to port, and so forth.

The tooling hasn't been the problem. There are compatibility libraries (ie: six), source transformation tools (ie: 2to3), and plenty of books, blog posts, and talks on how to manage supporting both version of Python or doing a full port.
I thought CanCan was abandoned when Rbates took some time off?
https://github.com/ryanb/cancan
Sentiment Analysis in Spanish Tutorial
I'm not sure I follow? The point here was to show that a language can't represent the decimal fractions exactly.
What’s new in robotics this week? Robotic spacecraft riding the solar wind
Not only the US, I'm afraid. The German government wants to wage more wars, too. For "humanitarian reasons" and also bananas: https://www.youtube.com/watch?v=86ELBWLNdmg (this is an official propaganda video of the German military, not satire)
Or are HNers the ones living in a capsule (or more pointedly, in a bubble :) )?
Time Warner 100/10 Mbps at $50 per month in NYC. Promotion is at ~$45. But I invested my own router and my own modem (one of those Motorola SURFboard DOCSIS 3.0) to get the most out of my bucks. Verizon in the neighborhood can give a two-year promotion for similar price for FiOS optic, but I will have to get rid of my modem and try the experience... god knows good/awful.

Why is upload always so low? Is it expensive for upstream bandwidth?
Serious question. We're all problem solvers here. There has got to be a better way to get our elected leaders to pay more immediate attention to blatantly immoral and unconstitutional stuff like this.

As developers and engineers we should come up with a technology to force issue on things like this. I'm pretty tired of reading a story like this and feeling helpless to change it,
> I prefer no spaces around em-dashes for the entirely subjective reason that I find it aesthetically pleasing. It boggles my mind that other people look at an elegant em-dash and think, "Yes... with spaces... now it looks right."

I think it's because with no spaces, an em-dash looks like it's connecting two words into a single word.

Name another phrase-level punctuation mark (period, comma, semicolon, colon, quote, question mark, ellipses, parentheses) which isn't connected to a space. There's a reason for that.

[Hyphens, apostrophes, slashes, etc. are word-level.]
Yes, it was:
http://www.leginfo.ca.gov/cgi-bin/displaycode?section=veh&gr... states:

"360. "Highway" is a way or place of whatever nature, publicly
maintained and open to the use of the public for purposes of
vehicular travel. Highway includes street."

https://www.dmv.ca.gov/portal/dmv/detail/pubs/vctop/vc/d11/c...

"22400. (a) No person shall drive upon a highway at such a slow speed as to impede or block the normal and reasonable movement of traffic, unless the reduced speed is necessary for safe operation, because of a grade, or in compliance with law."

Yes, shocking. (Also, El Camino is a State Route, I'll let you look that one up.)
Enterprise Apps Can't Just Be Good, They Have to Be Great
Have you read the article? The entire piece builds to the conclusion that what you say is wrong - or at least, not as right as many people have thought in the past decade.

I don't entirely agree with it all.. but if you want to disagree with it, argue with it, don't just state your view that happens to go against the article without (I presume) having read it in the first place.

edit: Since the comment I replied to has since been edited, worth noting that what I replied to was just "Just like every other established industry, software is eating the advertising agency. This trend has been clear since the first release of Google AdWords." Not that the later edit contributes much more to the conversation in my opinion... Yes the article didn't prove its claim, but neither have you.
In the case of asking a fellow club supporter there is a social act that reinforces the community. Likewise, with a public announcement in the stadium. Clicking a link is solipsistic. It's a technical puzzle subject to all the distraction [case in point] of opinionated arguments about UI design A versus B.

To me, the black bar seems to be pretty close the minimum needed to fulfill the purpose.
I think that in reality, the innocent third parties concerned about their health and life on a road such as this are stakeholders. Moreover, there may be more of them so their needs would trump the few who simply wanted to drive fast and reach their destination 2 minutes earlier.

I'm not suggesting that the non drivers should always get their way though. There are roads where cars are allowed to be driven faster than this, and roads where pedestrians are not permitted.
Both sides in this debate, those in favor of "traditional" ads and those in favor or digital ad have a point but I think where things are going lies somewhere in the middle which will end up irking the zealots on either side.

The big egos of traditional advertising will be upset because not everyone on earth will have seen their latest "big idea." This is due in no small part to overall media fragmentation which digital (or the internet) but also cable have played big parts. When that Coke ad aired in 1971 how many channels were there? Maybe 6? Of course a large portion of the population was going to see your ad.

And on the digital side they'll have to accept that measurement isn't the be-all-end-all. Between crazy amounts of fraudulent data and the simple fact that creativity and "brand awareness" are really, really tough to quantify they'll have to concede that sometimes the traditional thinking around creative work and "big ideas" will need to win out over analytics.

Source: worked for several years in advertising on the creative side and then on the tech side (and part of the problem is that those two departments are, well, departments but that's a story for another time...)
I agree that direct action is almost certainly necessary (and likely to be more effective). That's no reason not to pursue all options; working within the system is can be done in parallel.
What do you think about the owncloud music app. Nobody has mentioned it but I'm considering it. Any feedback?
I've been using Pundit, which is model-based, rather than role-based, and it works really nicely with Rails conventions. Model-based feels more natural than role based, IMO.
Curious about how do the user launches the app store if any app-store app cannot be launched?

Isn't then the app store validated with the same method?
Ask HN: Broken tests, huge (250 commit) pull requests, growing team, what to do?
We have kinda lack of technical leadership in my current company. Master branch is broken, nobody cares too much, we have huge pull requests, team is growing. I tried to explain, but seems this problem is important for me only ("we're delivering features"). What should I do?

(Do you know any consultants in SFBA who already helped your company conquer early technical mess? (ruby/rails/js))
I love this, and did something similar.

If you haven't thought of it already, some estimations are probably worth considering - electricity and water can be more or less stable, and you might benefit from taking those baseline costs out of your calculation.

Also, it might be useful to add metadata in the form of tags or tag-groups in your spreadsheet; this will give you a bigger/more nuanced dataset if/when you have a hankering to analyze your behavior.

Less usefully, it would be cool if it looked like Civ.
That 90% figure isn't reliable given the tendency to force confessions out of "known troublemakers" that was far more rampant in the 60s.