skysight-inc/HackerNews huggingface dataset:
This article[1] comes up with a "guesstimate" of 108 billion humans having ever lived, while worldwide Facebook users number only 1.7 billion[2].

[1]: http://www.prb.org/Publications/Articles/2002/HowManyPeopleH...

[2]: http://www.statista.com/statistics/264810/number-of-monthly-...
I completely agree, that's why I said I wouldn't trust most countries to enact it properly. I think if done right it could be a good solution, I just don't think it would be a good solution. There's too much potential for abuse.
Why do sites do this? To make us hate them?
Congrats! The regex translation dataset generation is a great idea! 10000 lines could be the MNIST for regex :-)
Situations like that won't always be easy and probably require manual arbitration which also creates work unfairly too.

But I'm much more interested in the egregious stuff in the rest of the world that goes largely unpoliced and kills millions a year - the Costa Rica version of your story is intersections routinely blocked by busses that are eager to cross when there's no space and an orange light!
I grew up in La Quinta, right outside of the Salton Sea. It's also the middle of the desert. It's also one of the nicest places on the planet during the 9 months that it isn't averaging 110+ highs.
I wouldn't say amusing, though it is interesting, and taking note of Go and Dart, it may reflect what role Google thinks Python plays.
Excellent adding this to my 'Read soon' list ...
How does the zero-cost abstraction work?

Say we make a Future<Int> and then chain `.map(|x| x+1)` on a dynamic number of times (N). Presumably this requires storing at least N function pointers.

How can we store these N function pointers with zero cost? If it only takes one allocation, where does the N-1 future store its function pointers?
Yes. However, there isn't full support of existential types in the horizon – only returning them from a function (and using them inside the caller, as the type inference allows this). This resolves some specific pain points of the current Rust experience.

There may or may not be some extensions (like storing them in fields of structs) in the future.

Note that Rust supported existentials before too, in the form of trait objects. But this was only possible behind a pointer and using virtual dispatch, so the performance story wasn't perfect. The impl Trait syntax is supported through monomorphization.
I was introduced to simplenote via nvpy[1]. Found nvpy looking for a Notational Velocity clone for Linux.

I use native clients for simplenote on Mac and Android. It's pretty good.

[1] https://github.com/cpbotha/nvpy
Just dumb pipes?
Telcos are worried about becoming a dumb pipe, and keep trying to offer packages that I don't really care about. Is there an opportunity to just be dumb pipe? Could I just start a clec and offer dumb pipe service?
The API is "open", the source code for the server running the simperium.com syncing service is not.

As far as I know, open sourcing the server is something Simperium wishes to do when it's feasible.

Simperium Syncing Protocol: https://github.com/Simperium/simperium-protocol/blob/master/...
Deep Learning Sentiment One Character at a T-i-m-e
[CVE-2016-6317] Unsafe Query Generation Risk in Active Record
> What if it were true that free market nor capitalism no longer benefit the poor, what do we do then?

If that were true then we would switch to a better system. I don't think it is and I don't think there is one.

I don't know what capitalism's logical extreme is but if you are talking about anarchy then I am not for that. I believe government serves a very important role in capitalism. It enforces contracts (legal system), protects third parties (environmental hazards), and defends against foreign or domestic aggression (police, military).

This isn't to say capitalism is perfect! Of course not but it is better than every other conceived system and has proven so by bringing millions out of poverty.
Ask HN: Job with Travel
I am a developer/agile consultant/entrepreneur. I am currently looking for my next gig and would like something with a lot of travel where I would work with many different companies on short engagements. The specific type of work is less important to me.

My goal is to make many new contacts and learn about various industries and their current technology challenges.

I'd be interested in this groups thoughts on how to achieve this goal.
Actually, there is per-chunk HMAC support in the protocol and present revisions add HMAC for each chunk into Meta: https://github.com/Librevault/librevault-common/blob/master/...

This HMAC is computed over plaintext chunks and used to determine, if we already have this chunk in database (because of random IV we get different hash of ciphertext every time), not for verification.

And what is wrong about verifying integrity and authenticity by hash-then-sign?
Finland isn't in Scandinavia.
And I'm disagreeing with you. Most of people's basic needs can be met with automation and clean energy, full stop.

https://medium.com/the-wtf-economy/machine-money-and-people-...
As someone who grew up outside the Salton Sea (La Quinta), this is always interesting. Every time the real estate speculation market picks up out in the Coachella Valley, you'll hear people making noises about buying up land out there.

Also - it wasn't mentioned in the article, but is pretty important to anyone around there: it smells like rotten eggs. Really strongly. Some mornings in the Coachella Valley the wind will blow in from that direction and the whole place will stink until midday
Given it looks like coreboot's ARM support is still not quite there from what I can see, I'm not surprised they picked u-boot which has been running on ARM for some time.
This is a great summary.

Your final paragraph actually brings to mind the famous Don't Rewrite Software essay. Specifically: "it's just a simple function... but it has grown little hairs and stuff on it and nobody knows why. Well, I'll tell you why: those are bug fixes."

I imagine that as UBI goes to the table, someone will point out that unreliable mothers will squander the money and fail to feed their kids, and so we'll replay the same arguments that created WIC. Someone else will point out that UBI doesn't save the suddenly-unemployed from defaulting on their payments, so for stability's sake we should have payments scaled by lost income, and we'll reinvent unemployment insurance. Etc.

Obviously the existing welfare program could be streamlined and improved, but you're exactly right that it exists as-is for a reason. All the little convolutions exist either to make it more politically viable, or to handle some objective more specific than "give money to the poor". That's not going to disappear because UBI looks pretty.
"I have observed that many people do not in fact understand how the parties operate"

This generalization includes people in the party too.

"and that the primaries are a party and not a legal construct."

The primaries and caucuses are legally recognized party constructs.
I appreciate you clarifying this distinction. I was aware that I was using a non-normative definition that comes from radical leftist intellectual discourse, and I should have been more clear that I was presenting an alternative understanding of the term. I guess #2 is more readily understood in mainstream discourse under the term "structural racism".
This is probably better answered by how Rust handles errors generally:

https://doc.rust-lang.org/book/error-handling.html

Suffice it to say, similar magic tricks have already been at work to make handling errors not soak up a lot of space, and it'd work well with something like this, I think.
Yeah, since rust is eager existential types seem like a necessary evil.
Barberry herb
Direct link to release notes / changelog for 1.7:

https://tip.golang.org/doc/go1.7

Summary from the source:

"The release adds a port to IBM LinuxOne; updates the x86-64 compiler back end to generate more efficient code; includes the context package, promoted from the x/net subrepository and now used in the standard library; and adds support in the testing package for creating hierarchies of tests and benchmarks. The release also finalizes the vendoring support started in Go 1.5, making it a standard feature."
I'm completely new to marketing; my background is in application security and cryptography.

One of the open source projects I developed is a CMS that aims to offer superior security than the alternatives (Wordpress, Joomla, Drupal).

https://paragonie.com/blog/2016/05/keyggdrasil-continuum-cry...

What are some of the worst/most common sins that I'm committing here from a marketer's perspective, if any? (The common ones being mostly of interest to the discussion here.)
But the argument is it benefits the poorer more than it hurts the rich.

A society should search to maximize utility. Let's make some numbers up. One starving person has a utility of 1. One not starving person has a utility of 10. One mega-ultra-rich person has a utility of 100. One ultra-rich person has a utility of 99.

If you take money from 1 mega-ultra-rich person and give it to 2 starving persons:

99-100 = -1
2*(10-1) = 18
+___
+17

So the society gains 17 units of utility from the change. Are you claiming that 1 unit of utility for the rich is more valuable than 18 units of utility for the poor? Because the rich person agreed to society's contract, and figured out that they gain much more utility from roads, labor, police, laws than they lost from UBI. A rich American wouldn't be rich if they didn't receive any benefits from society.
For me that would be the fun of it, to go back to the days where the language runtime was the OS and we literally own the machine.
I think the issue there is getting a scheme that has the asymmetric validation. And you want the results of a crawl.

You could merkle up the different pages you've crawled, and combine with a part of your public key to get a unique hash. But, the question is why would someone pay for it?
Ingesting MySQL data at scale – Part 1
"1. A language is a dialect with an army and a navy"

Tell that to the speakers of 10s of languages of India, most of which are so different from one another that no definition would classify them as dialects. I wonder if that quip, even as a humorous one, makes sense when it fails for about 20% of all humans.
That's a near-perfect example of what the GP was referring to with "...instead of catching the low hanging fruit, people counter with bike shedding style questions of 'is it really abuse?'"

Ok, in that case lets also catch the low hanging fruit of black men raping white women. And if you say "a black man asking out a girl who doesn't like him isn't rape" then you are guilty of bikeshedding. <- Spot the fallacy yet?

If circularity is valid then as a victim I define names that start with "brei" to be harassment. You can tell I'm a victim because someone with a name starting with "brei" replied to me, which makes this valid. <- Spot the fallacy yet?

Consider the possibility that if you can't prove your point without deliberately resorting to logical fallacies, that your point might be wrong.
Yep, I agree! Will include peak and average in the future.
> On the other, I agree that the FCC is a federal governmental organisation that should not have precedent over a State's rights.

There's a bit of confusion here. This is not as much of a state's rights issue as it is a law vs lack of law issue. The court essentially said "make it a federal law, then that trumps state law...but your whims do not".

While I dislike the outcome, I'm not torn; the decision was absolutely correct. If this is something you want congress to address, contact your congressman.
What used to be the biggest advantage for Arduino - and still is, though diminishing quickly - is support for a variety of peripherals e.g. TFT displays, servos, analog and digital sensors.

With the proliferation of so many arduino hardware variations and knockoffs it's getting harder and harder to match the correct library with specific hardware.
<<Something can be aesthetically beautiful and morally terrifying and wrong at the same time.>>

That borders on psychotic. To watch people die and call the destruction aesthetically beautiful is mental illness.
Sneezing Midstream
Each chain produces a different static type. If you want to do a dynamic amount of chains (which seems strange to me? Got an example?) you would need to allocate and use dynamic dispatch, yes.

Basically

`MyFuture.map(x)` => `Map<MyFuture, X>`

`MyFuture.map(x).map(y)` => `Map<Map<MyFuture, X>, Y>`

This is obviously disgusting to expose to users, which is one of the reasons this post uses the `impl Trait` syntax to cover it up and say "well it's something with the right interface, the compiler knows it (so no need to do dynamic dispatch), don't worry about it".
Well, I built these things:

1. A mechanical/environmental monitor/display for a grinding/polishing machine for telescope mirrors. It measures the rotation speed of two key machine parts; also measures ambiental temperature and humidity. It displays all these parameters on a front panel.

http://florin.myip.org/blog/making-tachometer-grinding-polis...

2. Lights control for an aquarium

Regular fish tank, LED lights with timer. The lights would turn on or off suddenly, scaring the fish. :) I used pulse-width modulation and a MOS-FET to gradually fade the lights in and out over 1 hour.

3. PC clock

I've setup time limits on PC usage for my kids. But before Windows 10 the login screen on Windows 7 didn't have the time displayed, so they didn't know when their accounts would actually let them log in. I've found a big LED display that fits almost exactly in a CD-ROM bay, and built a clock with it. It's synced to the PC every time the OS boots up.
My code ran 20%+ faster on a recent 1.7RC candidate, it's a big win for a wide variety of use cases.
Well, you can do that, or you can try to establish a complete shadow economy on the blockchain, where both buyers and sellers use the crypto as a currency, and it only gets exchanged for cold hard (more troublesome) cash at the "leaves" which are ostensibly much smaller and more invisible amounts
Does anyone actually give you a real /64?

The NDP proxy hack is easy: https://github.com/DanielAdolfsson/ndppd

See also: https://www.zerotier.com/community/topic/69/default-route-ov...
How is giving people a better opportunity to make an informed decision monstrous?
Find a cause you believe in or your own niche.

I did this 16 years ago - I started OpenDomain years so I could give back to Open Source. I buy domains from squatters and let open source groups and non-profits use the domains for Free. I fund this all myself and have given domains worth millions today.
I don't have that much experience with Rust, but all modern C++ compilers would have no problem inlining a similar abstraction at compile time. Remember that they're turning the whole future chaining into a switch statement inside of a function that is re-entered until a completion state is reached. Ala async/await in C#.
Oh god. "Formula for primes" - I was involved in a way too long forum discussion where everyone involved was trying to convince the guy putting forth his idea for generating primes that he was merely going round in circles, proving and reproving identities.

As a former physicist, I think that math is way harder to talk about to laypeople, though there can be a wide variation in difficulty by subfield. Maybe number theory can be accessible, but analysis, say, would be pretty opaque. Not to mention some of the more exotic branches of math.
As mentioned in the post, given Rust wants to operate in the same space as C, this approach makes sense. However from a higher level, building more complex concurrent systems, dealing with futures/deferred-s/promises and/or a central select/epoll/kqueue reactor loop gets daunting and doesn't mix with complex business rules.

Deferred based approach has been a round for many years. I experienced it by using Twisted (Python framework) for 5 or so years. And early on it was great However when we switched to using green threads, the logic and amount of code was greatly simplified.

So wondering if Rust provides any ability to add that kind of an N:M threading approach. Perhaps via an extension, macro or some other mechanism.

Note that in C, it being C such things can be done with some low level trickery. Here is a library that attempt that:

http://libmill.org/

And there were a few others before, but none have taken off enough to become mainstream.
What you're talking about is std::function, a wrapper around raw lambda objects that performs dynamic dispatch. Since any lambda can be wrapped in std::function yet std::function, like all C++ types, must have a fixed size, it uses the heap as you say.

If you stick to the raw lambdas, however, the compiler knows the size and doesn't need to use the heap. Only problem is that their type can't be named. In C++, you can work around this with auto.

Without getting too much into it, Rust has a similar distinction between raw lambdas and Box<Fn(...)>. This library uses the former.
> Say we make a Future<Int> and then chain `.map(|x| x+1)` on a dynamic number of times (N).

Each time you call `.map` it statically produces a different type, similar to how iterators work. So you can't actually do that—unless you box the trait, producing an allocation chain.

Of course, in the real world you'd probably not write it that way, and you'd maintain a counter and do the add in one go, which results in a static state machine.
Let's implement all the retention tricks of a pron site.
I just click for the comments whenever I see a shared NYTimes story on HN, something I deliberately try not to do usually.
growing at 25PB every 3 month is impressive
I dont know much about Berkey filters. It looks like they are gravity powered. They might be weaker than the filtration you could accomplish with line or pump pressure.
Cloudera: Analytics and BI on Amazon S3 with Apache Impala (Incubating)
I think having a sunset clause on the sweetheart deals would be enough. You do want the municipalities to be able to offer the deals in order to get big projects done in the first place, but a lot of these deals go back to the 1970s and it's time for them to be gone.

But if, for instance, it becomes difficult/expensive to built electric car recharge stations for some reason and we as a society make a strong shift to electric cars, you want the municipalities to have some way to encourage somebody to make an investment in the infrastructure, and that may not happen without some kind of promise that after they build the infrastructure they can benefit from it (for a while anyway). I know that's not a great example, but hopefully you can abstract to my point, that is, that there could be some reason in the future to want to allow the deals. Just have them expire.
Some of these sorts of issues are simply going to be standard and not so avoidable. I'm all for it if it means that we get autonomous cars everywhere, even better if it means that one public transportation option is to call up a pod to travel in. But regardless of the future, most of these things are still positives from a broad view.

Things such as improved emergency response (so long as equipment is upgraded), tips on how to improve your own driving (upon request) to make your car last longer, aggrevate data on different things to teach new drivers, and how common behavior x, y, and z are. I have little problem with the auto-ticketing, provided the state tests the system once a year or two to make sure it is functional (and when it is contested). This stuff makes the roads safer.

Though folks could hack into his brakes or disable his vehicle, right now that doesn't happen often to actually fear, and safeguards could be put on the vehicle to keep him safe.

The bigger threats he mentions are private firms and law enforcement.

The biggest factor with law enforcement is to have safeguards to check the honesty and things like that. Make sure the laws are fair and that law enforcement isn't tempted to bend them.

Private companies, such as insurance companies, are slightly different. While I believe this could be changed with legal protections, I believe there is very little hope of such legal protections being made with the current political climate. I don't think the information is bad per se, as we could learn quite a bit about normal driving habits, but the companies could decide to lobby for things like better enforcement of traffic violations, lower legal BAC levels, and other such things to gain the same sort of safety.
Implementing a Debugger: The Fundamentals
Personally I wouldn't care so much if they called it "AWS Gateway Beta" or something. That its limitations aren't advertised, leading me to waste time trying to figure out what I was doing "wrong", is what frustrates me.
I hadn't made the connection, but you're right. This pattern comes up constantly when people become allies over some narrow point of convergence. In some cases, like UBI, the alliance will probably fall apart before anything gets done. In other, like Brexit, some huge change gets accomplished by a coalition that all wanted it for different reasons.

At least in the case of Brexit, the awful error was giving a simple up/down referendum. If the option to leave had been tied to a clear next step, it would have shattered the coalition and probably failed.

I'm not sure if you can regulate something like this, or if you just have to push the David Camerons of the world to not screw up so badly, but forcing people to put whole processes up at once would probably force a lot more movements to sort out whether they actually have any common ground.
So states should be allowed to ban abortion? We've already got precedence of State rights taking a back seat to individuals. I'd argue that in 2016, access to broadband should be a basic human right in a developed nation.
Could we get a less link-baity title? Something like "Viable Single-Developer Businesses" or the like?
It was a long forum discussion, and well over a dozen engineers, mathematicians, and physicists kept saying the same thing. Some wrong long (>500 word) posts. We were all ignored. This person was invested in the idea that they had an insight that centuries' worth of work had overlooked.
I really love corporate blogs like backblaze and netflix, even Amazon's has some interesting reading.
Yeah, unless it's just a redirect bug.
Yes, I was getting 500s due to Lambda connectivity issues with my authorizers last night.
Yes, this is the lowest layer of the story. For actually writing an app, writing something higher-level makes sense: consider the relationship between raw futures and Finagle, for example. You have to build out the lower layers before you can add the upper ones, though.

Rust doesn't natively supply anything like green threads, as they have too heavy of requirements. But there are librarys that can implement them, since Rust is so low-level: https://crates.io/crates/mioco as an example.
This looks cool. Any way to make it easily work with Relay?
These are supposed to go on sale next year. I can't wait to see what it does to prices of current SSD's.