skysight-inc/HackerNews huggingface dataset:
> I believe speaking of monads, monoids, functors, and homomorphism when discussing an interview question for fairly fresh programmers is definitely overthinking it.

I agree. I said as much. I just thought it was interesting.

> I'm not sure what you think is so simple about your solution compared to [...]

Which solution? I didn't present an implementation in this thread. I did elsewhere (https://news.ycombinator.com/item?id=13726564), but I don't think that's what you're talking about? I was discussing specification, and the code fragment in my comment was a property, not a definition.

> Of course if you want flatten in Haskell you have it for Tree and Forest.

Yes, though Tree is a slightly less natural choice for this than a rose tree (aka `Free []`). Of course, you still have it (in the form of toList).

> If a Perl programmer wanted to pull in a CPAN module, there are many from which to choose. Of course, it was just done in a one-line subroutine.

... yes?

You seem to be desperately trying to defend perl against an attack you imagine me to have made. I have nothing against perl (at least, nothing beyond a strong desire for static types on large projects, but that applies equally to a great many languages).
That was certainly a badly worded title on my part. Shortly after posting it to HN – and reading the comments – I went back and amended the title and included a note about it in the post. It was a mistake and I take responsibility.

The reason I have a 43 day post history is because that's how long my site of the same name has been in existence. I've been a long-time reader of HN and commented (albeit rarely) under my own name for many years.

The reason many of my comments and submissions have been net neutrality related is because it's exactly the type of topic that my site deals with: technology and freedom. In addition to privacy, free speech & censorship, cryptocurrency & blockchain, etc.
I second that recommendation. I've read it twice following a recommendation here on HN and I think it's a great introduction and one of those books that has and will have a great influence on the way I live my life.
And droid.
No, that's not write amplification. Replication and storage engine fanout are not included. Instead, that number is the number of logical partition updates per row, per transaction. This makes the test comparable to tests of key-value stores that can only update one key per transaction. The FoundationDB test mentioned elsewhere here was reported the same way.

If you want to include write amplification, then multiply by 6x again to account for the replicated log and the tables themselves.
I had wondered if that was a thing; hadn't heard it.

Anyway, software developers, computer programmers, and software engineers have no ambiguity. Shorten those if you want, but "coders" is a leap.
Death is absolutely the most natural thing in the world. While it's viewed positively in some situations no culture views it as a universally good thing. Thus when people talk about natural as good they are simply they are using it as a fallacy to support their argument not some guiding life principle.

Also, saying everything must live according to nature is a tautology that disproves nothing.
Computing Research Assoc Releases Rpt on Surge in Computer Science Enrollments
It takes one sky-bump to throw every single one of those people against the ceiling head-first. This happens once in a while.

An Air Canada flight in 2015 had 21 people injured, including a broken pelvis.

http://www.cbc.ca/news/canada/calgary/tsb-investigation-air-...
That post is about Google cloud, where you're a paying customer and you're not shown ads.
Estimates are broken. We've just fixed them for you
Madame Bovary?

That prompted flashbacks to senior year of high school. I hated reading that book!
I'm not an economist, but as a student of history it seems America's dominance stems from being an arms dealer to Europe during both world wars, not getting its infrastructure razed to the ground in the process, and being both the bank and the builder for the resulting recovery.

It also doesn't hurt that the allies gave the US its best technological secrets during the war and the best minds from both sides emigrated to the US during and after the war.
This is the first I even heard of the service.
I wish so much to have these small processors in Raspberry Style form factor.
Easily Create Complex Workflows with AWS Step Functions
>Just leave it read-only

Because Google is a business, and hosting a "read only" version of a service that no longer serves their interests would be a waste of money.
A bunch of links related to Linux kernel fuzzing and exploitation
The cost is in engineering time to maintain and monitor. Both are likely nontrivial.

They should just put this stuff in labs/beta and let customers have the right expectations. Their current method is just bone headed.
You're right that one number trades off another. I'm not sure that only transactions matters, though.

Tracking logical writes makes the test comparable to tests of key-value stores that can only update one key at time, which is pretty much every other distributed database.
Hey buddy, why don't you just stop using it, and also consider not trying to force your will onto others through snide, empty internet comments
> Nothing to do with overpopulation of Earth.

I wouldn't say so. The forest is being cut down because there's profit in farming it. Why is there profit?

Because people are paying for higher priced food, and more people exist.

Resource demand per capita * number of people = Total resource demand

Overpopulation isn't the entire cause, but it's certainly a factor.

(Yes, yes, some people consume much more than others. But there's also a baseline minimum in food required, and also as we've eliminated the worst poverty over the past 20 years, that raises the baseline)

So since 2000, we've added 1.5 billion people and dramatically increased the size of the middle class and also cut the worst poverty. Which means more resource consumption at all levels, multiplied by a greater number.

I should note that more efficient global transport and supply chains is also a cause. It's now a lot easier to take resources from the amazon and sell them to north america, europe, asia, etc. When trade and transport were less efficient, there was less incentive to use all resources to their pure maximum.
But it's a blind attack that is much more likely to hit big players.

And seeing as cloudflare has some of the biggest pipes on the net, it would be easy to saturate a pipe to gather as much data as possible from any sites you can find that are affected.
> tooling held back by a painfully slow and inefficient runtime.

I really hope that mruby or crystal will solve that problem.
Secrets to long lasting cell phone battery
Given the answers that cloudflare is giving I's say it's quickly approaching zero.
It's because PDFs have no concept of lines or paragraphs. It's just characters at an x,y co-ord which happen to line up. So figuring out whats a line or a column is a pain in the ass.

That's most likely why copying and pasting sucks too.
I no great fan of Dyn, but I spend all day hearing "security is important", that my users and enterprises require security, and that I should do X, Y, and Z for security.

If Dyn delivers where Cloudflare does not....it's not something that can be ignored out of hand.

Maybe Dyn's email was rude maybe it wasn't, but I think perpetually too few people make real decisions based on security, and I'm a little forgiving of pushes in the other direction.
.NET, obviously! :'D
Quoting the top definition of "subvert" from http://www.thefreedictionary.com/subverter:

> To overthrow or destroy (a government or an established order or authority).

Note the part in parenthesis, which is exactly why I chose the name for my site. I do not like the FCC, nor government in general.

How does that square with my original comment? In my view, one less government regulation is a step in the right direction. I want government to stop forcing itself into the role of regulator of the internet.
The requirement to agree to honor the remote wipe request is optional at the server. That is to say, you can use the EAS protocol and not also require remote wipe, if you want to. In theory you could also interpose an EAS proxy between your device and the server that pretended to honor the remote wipe request but not not pass it on to the device (unless the server is setup to check client certs).

Source : I have implemented this protocol.
Buffett, as an active investor, can outperform the market, while active investors as an aggregate might not. I fail to see any ludicrousness.

> Buffett Annual Report is a long form sales letter to persuade people to buy more Berkshire shares.

Nonsense. Buffett doesn't care one whit about people buying more Berkshire Hathaway shares. If anything, he wouldn't mind people selling shares and driving the price down to below 1.2 x book value, so he can buy them back at a discount.
I once flew a (non-indian) airline with a large group of people from india on it (to be honest could have been from some of the neighboring countries too, but looked like the average group of Bangalore engineers) - who stood up and retrieved their coats and carry on from the overhead bins while the plane touched down. A fly around or bumpy landing could really have ruined their day. I was just thinking "that makes sense if you ride on the roof of the bus from the airport home...".

As anecdotal as it gets but still eye opening.
It's doing 12k rows in 3k user-issued write operations/transaction per second.

Counting any kind of "internal write effects" that result from a user write (i.e. write amplification) is obviously done to mislead in the benchmark and does not make it comparable to key-value stores.

12k writes/s is the number of rows that are written from a user perspective. So 12k/s is also the number you have to use when comparing it to key value stores. But of course, comparing Fauna with eventually consistent systems is not a really fair comparison. You don't make it fairer by misleading in your benchmark though.

Also, just because some other vendor posted a misleading benchmark on hn (I don't know if they did) that doesn't make it right or means you should do it. Just call them out on it too.
Yeah, and if you have an eternal perspective whereby you believe your time on earth is a brief moment of exile from the almighty then acceptance of the conditions found in Job is made easier.
These days the risk of an accidental wipe seems so trivial to me, since every app (photos, music, notes, docs, podcasts etc) I use is of the local-sync-backed-by-cloud variety.

So I guess I can understand not trusting the IT department but I worry very little about losing the data on the device.

Of course if you're not sold on the cloud-backed model because of privacy concerns and you prefer treating your device itself as a source of truth and a secure store then I can understand the attitude.
They have a built-in dryer.
The thing that kills me about this is that we're basically saying: "Sorry we cut down too many of our trees to build a powerful economy from nothing in under 300 years, but you can't cut down yours to do the same because we need those trees to offset our CO2 production"
Neither is true. I'm a software developer who works in a completely unrelated industry. I'm just intrigued by technology and freedom, which is what I write about on my site – and why most of my HN comments and submissions are on related topics.
Do you have any time in mind other than 2016-10-21?
Link: https://www.amazon.com/Berkshire-Hathaway-Letters-Shareholde...
"All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a fresh water system, and public health, what have the Romans ever done for us?"
Yes, and more when you want to send a PDF based document to a Kindle.
Indexes aren't internal write effects, they are user-defined. But we will have additional benchmarks later on that focus on row commits only.

We tried to replicate a realistic workload rather than just target the best case or worst case performance profile.
I get where you're coming from. But please also understand that "pride for one's country" and "pride for America" are two separate domains, and that when people lack pride for America it isn't some kind of "political correctness" (I mean seriously, it's still politically incorrect to bash the American government and its activities)

It is way, way, way, more complex than that and I'm sure you know this.

I know you were just defending what you saw was a wrongful attack against yourself, but you accidentally snuck in attacks on other demographics in the process.
> The system I'm working on has Python as a build dependency. The devs are creating reports using Jupyter notebooks.

Hi, just wondering if someone could explain these points here. I don't know enough about either to know what the implication is or what the OP means.
Show HN: React Trend. Simple, elegant spark lines for React.js
Off-hand, I can't give specifics. Lehman is one situation that comes to mind.

Another, not WS-based, is that he disowned his granddaughter for talking about the family in a documentary about the ultra-rich.
Tennessee originally wanted to fight for the North and much of Western North Carolina didn't want to join the confederacy because most of the people in these regions owned no slaves and were rather poor Irish, Scottish, etc. immigrants rather than aristocracies and industrial tycoons like a lot of the Deep South and didn't see any benefit to supporting slavery. However, they did always wonder what'd happen if they didn't join the rich Southerners and the union lost. There's a lot more factors obviously but lumping in Appalachia with the south is an oversight that is pretty misplaced.

Tennessee and much of Appalachia has been historically on the side against slavery and corporate interests until somewhere around 60 years ago. I don't know how it happened besides hand-waving "Southern Strategy."
Is it because they do not have API, no backup for G Suite users, and no new development happened for a while? I.e., bugs in their Chrome extensions are serious (the last update is from Aug 16 2016 and nothing after that date).

Yes - I'm very confident Keep will stay.
Not only that, but it's better to start planning for a post SHA-1 reality before there's a real fire drill.
Why oh why did someone name a programming language "Go"?

For some reason when I read the headline I thought I was going (sic) to see the Go Game coded in the Go Language.

But this is JS.
Thanks for the thoughtful and respectful comments, I hope my answer manages to stay in that spirit, too.

> I think the same is true for Christianity too

Disagree, concerning the Abrahamic religions, as what is good is rarely original, and what is original is rarely good:

1. What is good (golden rule, some of the 10 commandments) is not very original. The golden rule has appeared in ancient Greece (Thales), China (Confucius), etc. half a millennium before Christianity, and other places independently. By contrast, Stoa and Buddhism were, I'd venture, among the first to arrive at and codify certain substantial insights that constitute large parts of their teachings.

2. What is original is mostly fairly absurd, if looked at dispassionately. If you strip Christianity of the superstitions, its essence is basically gone.

Just as a small example: it is still current position of the Catholic Church that the eucharist is actual transformation in substance of wine and bread into actual blood and flesh of Christ. (There was a (possibly apocryphal) case in Germany of a vegetarian asking whether he could participate in the communion, and he was told that he could not as a vegetarian, because it IS flesh.) If you erroneously believe that it's purely symbolic, you'd be subject to the punishment of anathema (which is worse than excommunication), if the Church were consistent with its teachings.

> religions offered a way of life that attempted to reduce violence, illness and suffering.

Yes, at the time. But not today.

> what would you speculate if you didn't have the knowledge of how the universe, the planets and life, including us, developed? In that case, a creator provides the fewest assumptions.

Yes, at the time. But not today.

In that sense, Stoa and Buddhism have aged better than the Abrahamic religions, maybe because they were more empiric.
Thanks for the link. I wouldn't necessarily call them similar though. One is a handy list of RSS feeds, the other a newsletter that summarizes selected articles.
Still though, bookmarked :-)
I went looking for this again today. It's not the article I was talking about, but you might find this interesting:

http://pages.cs.wisc.edu/~shanlu/paper/TSE-CPMiner.pdf
If I understand correctly, you could literally keep smashing f5 on an affected page and get a different chunk of memory every time. An attacker could have potentially collected a lot very quickly with a simple script.
Nor ksh, which was the common shell for the SVr4 line (Solaris et al.). It has some extensions to sh that bash picked up, some that bash imitated just badly enough to be incompatible, and some that bash never picked up (e.g. floating point expressions, which I use surprisingly often).

The terminal emulator I use, mlterm, isn't on the list either. Its killer feature for me is a configuration that solves the vim ESC/Alt prefix problem.
By that logic a write to a postgres table would also count as N+1 writes, where N is the number of secondary indexes defined on that table?

And also, by the same logic, replicating a write to three machines counts as three writes when the replication factor is user-defined, right?
I'm a bit confused by this post, the 'enums' in rust are actually 'algebraic data types' and not enumerations like what the author is showing in python. the code here isn't really very equivalent and if anything just shows how much less expressive python is than a language which has proper algebraic types.
What precisely did you like about it ?
What makes Uber uniquely asshole-like?
She says in her next tweet that she doesn't know who it is or what their aims are. I doubt Uber is attempting to smear her. I don't think the people involved are that evil, but I'm pretty confident they aren't that stupid.
It's easy to find funds that had great performance in the past. If anybody knows how to pick those that will perform in the future, they are keeping it a secret.

And you might not be able to invest directly in rentec, but their holdings are public [1]. So if they really had a good secret, it could be replicated.

[1] https://www.holdingschannel.com/all/stocks-held-by-renaissan...
Can you say couple of lines why someone should read this ?
Farewell to Kenneth Arrow, a Gentle Genius of Economics
Plus I hadn't realised they had 3,580 state tax returns as well so that's probably like 100k pages.
It makes a very unlikely event (crash) slightly more likely, and it makes the consequences of slightly less rare events (heavy turbulence, diversion, emergency landing...) worse.

There is very high chance that it makes no difference to anyone at all. That's why it's seen as a "no big deal". I when something is VERY unlikely making it even ten times more likely doesn't matter to people's perception of risk.
Can anyone please suggest an OSS variant in this space? I would kill to use something like this, but for my use case has to be OSS.
Apologies guys.
The link will be up within a few minutes.
Does anyone know why it is that their insurance businesses post underwriting profits? Is there anything structural? Why does GEICO have such a cost-driven moat?
PocketSphinx+PG+JavaScript Voice/Text Experiment
I don't often see this sort of pride in America. Normally the flavors I do observe are hyper-nationalistic and filled with bravado...

I'd go even further: our current presidential administration spends a lot of energy telling us that America sucks because the people in it suck, the government they built sucks, and the ideals they aspire to suck, and that the solution is to deal out cruelty to the right kinds of people.

I don't understand how anyone can listen to that bilge and interpret it as any kind of patriotism at all, but they do. The hyper-nationalism and bravado are a natural result of an underlying emotional condition apparently shared by about a quarter of the populace: an inability to feel pride in anything but the capacity to dominate.

This is why a few sentences by Warren Buffet feel like such a breath of fresh air. It wasn't always like this, Buffet's far more constructive and positive sentiment is perfectly normal.
Here's the post by Waymo: https://medium.com/waymo/a-note-on-our-lawsuit-against-otto-...

> Recently, we received an unexpected email. One of our suppliers specializing in LiDAR components sent us an attachment (apparently inadvertently) of machine drawings of what was purported to be Uber’s LiDAR circuit board — except its design bore a striking resemblance to Waymo’s unique LiDAR design.

> We found that six weeks before his resignation this former employee, Anthony Levandowski, downloaded over 14,000 highly confidential and proprietary design files for Waymo’s various hardware systems, including designs of Waymo’s LiDAR and circuit board. To gain access to Waymo’s design server, Mr. Levandowski searched for and installed specialized software onto his company-issued laptop. Once inside, he downloaded 9.7 GB of Waymo’s highly confidential files and trade secrets, including blueprints, design files and testing documentation. Then he connected an external drive to the laptop. Mr. Levandowski then wiped and reformatted the laptop in an attempt to erase forensic fingerprints.

The full legal complaint is at the bottom of that post. It doesn't say how Waymo detected it, but presumably they have internal IT logs.

The claim is not about anything in his brain.
No opportunity to see ads when Alexa browses the internet for you, the new adwords soon to be the market for purchasing targeted Alexa NN reenforcement points!
> the big boost was started by the industrial revolution

Exactly. Now, lets look at some of the causes of the first Industrial Revolution

First, large tracts of lands in Britain, largely held in the commons, were stolen from the peasantry and given to private individuals and landlords, as part of the Enclosure movement. This forced the peasants to look for work in cities en masse, providing cheap labor for the capitalists.

Second, Britain's African Slave trade constituted a big part of the early accumulation of capital that made the revolution possible.

Cheap cotton from the colonization of India as well that produced by the slave labor in North America fueled the textile industry, which was at the heart of the industrial revolution. India's share of the world economy fell from 20% to less than 5%, chiefly because the capital required for industrialization was siphoned off to England

https://en.wikipedia.org/wiki/Enclosure
You mean change the one associated with my account? Good idea. I'll give that a shot. Hopefully won't lock me out completely.
For purposes of this benchmark, the first yes, the second no. But neither of them are free.
It's easy to be self-effacing when everyone views you as the investing messiah! I do agree with you - it is refreshing to read those quotes from the CEO. But he's "earned" it so-to-speak. Less successful people would probably not make such quotes because they have more to lose.
Original video: https://www.youtube.com/watch?v=0KR2MSFROLI

CMUSphinx: http://cmusphinx.sourceforge.net/
Huffington said this time all problems will be fixed. I trust her, can we give them some time before saying 'takes an old path '.