skysight-inc/HackerNews huggingface dataset:
Yes, scary. And given Mayer's penchant for numbers your suspicion is almost certainly the case. It reminds me of Henry Ford saying "If I asked people what they wanted they'd say a faster horse". Mayer was suppose to lead the company not be a poll-following huckster.
I would argue this is inertia and a hype train that never slowed down -- up until the last 2 or so years that is.

I do agree with you that thinking in FP takes a bit more experience however.
I don't have any idea what you're talking about when you say 'functional came before OO'.

I'm guessing you are talking about Lisp, but not only are Common Lisp (and the languages it evolved from) not at all functional in any technical sense of the word, many of them only had dynamic scoping, and often used mutation of data structures implicitly.

Stop talking nonsense.

EDIT: If you are talking about scheme, then the same exact points apply. On top of all of the above points, nobody in the world other than a few extreme language-philes ever use any of the functional languages, and for good reason. Functional programming is nonsense, the only people that talk about it are academics and people who want to seem smart. Functional != Structured Programming, Functional != Procedural, 'functional' has a precise meaning: treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data. Neither Schema nor Lisp nor any but a very few quite obscure languages satisfy this.
I use -W4 and -WX with MSVC to enable the highest warning level and flag all warnings as errors. Then I disable a couple of the more pointless warnings (unreferenced formal parameter, unreferenced local function, unreachable code...) that would otherwise keep me from being able to use -W4 without jumping through arbitrary hoops.

The problem with GCC, at least at the time I was using it several years ago, is that there seemed to be no way to disable individual warnings. Is that still true (or was it ever?)
Clinton campaign – and some cyber experts – say Russia is behind email release
Jerry Brown signs bill to restrict, register homemade guns
There's some research that suggests conservative people have a preference for simple answers. I think I see elements of that in Brexit and Trump.

Trump for example, rails against NAFTA. And let's just set aside the fact that he blames Clinton for it, when it was written and signed and voted in by Republicans. Even if it was a Clinton or Democrat thimg, whether it is good or not is complex, I'd want an expert to explain it to me. That leaves an opening for people like Trump.
The internet certainly hasn't been a panacea for the spread of information or the dissemination of "truth", but it is nonetheless a valuable communication tool that didn't exist before. As an older person, I can't stress how difficult it was to get timely news and information a few decades ago that didn't come from NBC, CBS, or ABC. Many of us knew that pundits and politicians were telling just as many lies back then as they were today, but there were no avenues to distribute proof of these lies in a timely manner. Their disdain for facts was just as great, but their lies were harder to expose.
The argument about encapsulation was the most confusing for me. I do not see where the problem is in the example he gives: either you want an object of class A to be used by multiple objects (of different classes possibly), and we have no problem, or you want every instance of A to be used by one and only one instance of some class B, and in that case like you said either you make a deep copy / create the object inside the constructor instead of passing it around. (if no state is needed)

I guess he does make a point about inheritance and how confusing it can be, but like you said OOP still has value outside of inheritance.
afaik, this is how Facebook does it, but with regional sources of truth.
If you signed up for FB in Paris and move to San Francisco, your master profile lives in Europe in perpetuity and you'll use your regional cache forever in the USA.
The number of people moving far away from their home DC's should be a reasonably small fraction of the total for it not to matter.
You are spot on here actually - I'm using AWS might as well go to the original dynamo db then.

https://aws.amazon.com/dynamodb/
In Canada the Canada post system is notorious for being very bad at delivering things. So although my billing information is at my house, me and most the other people in my office have things delivered to our work instead.
Splitting ACID: Towards RISC-Style Database Systems
I'm not so sure. Here's my reasoning, but I'm just using logic, I'm really not super in-tune to this stuff.

If the company knew thought its stock was 10x overvalued (Yahoo's stock did drop 90% a year or so later) then they really only sold it for $570 million. That is, if Yahoo knew its stock would be worth 1/10 of its current value in a year, buying a company with $5.7B in stock will add value to Yahoo so long as The acquired company ends up being worth >$570M.

That being said, if they knew their stock was overvalued, it would be best to issue additonal shares, as $1 is worth $1 regardless. Similiar to how undervalued companies should buy back their stock.
I suspect that every-time something like this is done, it is the triumph of the combination of stupidity and greed in the government (or those influencing it and expecting to profit from it). I very much doubt the economics here ever benefit the average citizen (actually it will likely weaken the economy) - if anyone has references of similar experiments that point to the contrary, I would be very interested to know.
>I would have started competitors (startups) internally for all of Yahoo!'s key products (buy Y.com and test them under that) and told the current product owners if their products were not better faster than these startups could build them they'd be replaced.

If only those in charge of Yahoo and other failing companies knew of such a cunning strategy...

/s
It will be interesting to see what the deal will mean for the privacy policy of Yahoo search, and whether that will be acceptable for Mozilla.
Ask HN: Are there any good async C++14 Microservice libraries?
Adoption of HTTPS helps somewhat to counter this, but note that advertisers and content sites are also complicit. Carriers wouldn't have injected such headers without demand from content partners and other run-of-the-mill sites.

Vilifying carriers only attacks half the problem.
Or for that matter nobody would type anything they don't want to end up in a government database somewhere.
Why Did Google Erase Cooper's Beloved Literary Blog?
> For a long time I thought that was a normal part of cs curriculums, but it seems not.

Alas, not all CS programs are created equal. Many skip entirely over FP because it isn't 'what the industry does'.
Most British people likely believe this as well. There's a reason 'political correctness gone mad' is basically a meme over here.

As far as the study goes... interesting that more republicans and independents seem to think this is an issue than democrats. Guess the left's obsession with identity politics may factor into that one.
> It's like he learned OOP in the '90s

Well, if he's been doing OOP for decades, isn't that likely to be the case?
There are things that are painful to express in a pure functional language. I'll give you an example: rasterize a triangle to a mutable buffer. (An inherently mutable and stateful algorithm). You can certainly do this in a purely functional language, but I doubt it will be any clearer or more performant than its procedural C counterpart.

I think pure functional programming is super useful in other contexts, for instance, a compiler. I'm weary of people suggesting that a specific school of thought is universally applicable, though.
To your point 3 there is absolutely nothing unreasonable about being prepared for reasonably foreseen events of the sort you describe. I don't live in a particularly rural area but we do get blizzards and I live down a long dirt driveway. I certainly know where flashlights and lanterns and gas stoves are where I can quickly grab them if the power goes out. (I also have a couple sources of wood heat--including a woodstove that I had installed partly as heat backup.) f course, I have first aid kits handy but that's a good idea in any case.

Frankly my main concern if I lose power for an extended period in the winter is my pipes freezing. Personally, I'll be fine.
It is mind-boggling to me that the character of the DNC emails isn't basically under 24/7 emphatic media coverage and on the minds of all citizens.

The only counter-argument I can imagine is basically what Bernie Sanders himself said -- that it's no surprise. lolwut ... who cares if it's a surprise.

The administration of the Democratic party: (i) conspired to push favor in the direction of a predetermined candidate long before any public preferences were known, (ii) made some outrageous and extremely, extremely, as-extreme-as-anything-you-want-to-say-about-the-Republican-platform bigoted remarks about homosexuals, often as fucking jokes and (iii) kicks around the idea of finding an audience plant to question Sanders on whether he is an atheist to win votes.

And what's the Democrat response? Russia's trying to do it. WTF!!!??? Don't believe expressly bigoted email data showing that popular opinion is ignored, mocked, and conceived as an opportunity for engineering. No. Discount that. Becuz Russia izzz 4 Trump. Jesus.

There's nothing further to say. It's not an excuse to vote for the equally train-wreck Republican ticket, but it's an overt and unequivocal confirmation that the parties, in every pragmatic sense, are identical, and that for the overwhelming majority of Americans, apparently even marginalized Americans in certain minority groups, there is absolutely no fucking difference between the two parties, no justification for favoring one over the other, no impending immigration or terrorism or international relations crisis that's going to drop like the sword of Damocles on us if one is elected over the other.

They. are. the. same. The. exact. same. There. is. 100%. zero. debate. about. it. any. more. So. just. fucking. stop.

The content of the email leak was one of the most depressing things I've experienced in my lifetime. Followed quickly by the equally depressing rationalizations basically trying to say "that's just politics" and downplay it. Vox immediately posts an article saying "they found no smoking guns" blah blah blah more of the same shit. It's just unbelievable the degree to which we are engineered.

Sorry. Had to vent.
It's not just Medium. I get followers on Twitter who have that kind of bio, except that the bio words are separated by pipe signs. My bogofilter tells me that they are all likely part of a scam of the same group. Further confirmed by the content of their tweets, which follow a pattern.
The crypto code is all very internal to the kernel, so of course it will be GPL. Besides, I personally think that all kernel drivers should be GPL because they are essentially all derivative works of the kernel. The ability of module loading to get around the GPL is one of the more worrying decisions made by Torvalds.
Hopefully, just making the business a partial coop would be satisfactory.
> our disdain for facts is just more apparent, not a new phenomenon.

If the disdain for facts is having macroscopic effects on society now, and was not before, this is a distinction without a difference. Simply redefine "post-fact era" in your own view to, "now it can have a much greater impact than it could before" and the article's analysis remains mostly intact.

> Facts have always been irrelevant compared to cheering for your team. Facts have never mattered when it comes to partisanship or tribalism.

This is the crux of our disagreement, I think. I believe you are mistaken, or at least that the degree to which "facts are irrelevant" to people has undergone such a large increase that it is having many more visible and serious effects on society.

Consider something like Watergate, which caused the President's party to demand his resignation. Would that happen today if the exact same events transpired? It absolutely would not. People in the same tribe as the sitting President, whichever that is, would just brush off the whole thing as lies and spin created by the media. The "post-fact era" is what changed between then and now.
http://abstrusegoose.com/389
What about college students who might be using a credit card with a billing address for their parents' home but live in dorms with different shipping addresses every year?
I'm on Medium, I think because it's really easy. I don't like it very much. I see a ton of really awful stories there and I don't really align with the culture.

I'm thinking about launching my own blog again but haven't decided what I really want to do.
Hillbilly Elegy: A Memoir of a Family and a Culture in Crisis
Nitpick: as far as I can tell that's _almost_ correct.

http://www.softwarepreservation.org/projects/c_plus_plus/ind... leads me to http://www.softwarepreservation.org/projects/c_plus_plus/cfr..., which shows that the first external C++ release didn't have // comments.

The first commercial release had, though (http://www.softwarepreservation.org/projects/c_plus_plus/cfr...)
-Wno-specific-warning (I think it's always had this, or at least for a very long time).
Then it's hearsay and worthless and you shouldn't repeat it, frankly. If you do, people should call you out since you're inciting FUD.
>I once sold a $1 beer to a friend for $2. Let's back-of-the envelope that: 100% markup, $1 profit. If I buy and sell 1 billion beers per year, that's a profit of $1B/year. Ok, so given a 5 year return on investment, that means my beer business is valued at $5 billion.

And if you've convinced enough people that this is the case, so you get at least a few million dollars in investment, that would mean your company indeed has some value.

But selling $1 of beer of $2 to a friend once never got anybody anywhere.

You seem to conflate what happens in micro-micro-scale with what should be shown to be able to happen in the macro-world, for a valuation like $5 billion to start involving people investing lots of real money.

In other words, sure, valuations are based on extrapolation, but it's BS to think they're the same as (or based on) any small-scale extrapolation of an statistically insignificant transation (selling $2 worth of beer).

When the volume/sales/eyeballs/etc get so many that people start actually investing big money according to a large-sh valuation, the company has already passed a lot of basic tests...
There were initially no badges, the game existed for about a year without them.
Show HN: Soundbyte – a speaker with a computer inside
Came here to say exactly this. No reason you can't be extra careful during development and turn the flags off in release configuration.
The other one was Turkey joining the EU. They claimed that Turkey was imminently going to join and the only way to prevent Turks coming to Britain was to vote to leave.

In fact, UK has a veto, and Turkey won't be able to join until it gives back half of Cyprus (which is never).
Have you ever used multiple compilers? Try compiling the same thing written in C or C++ with: clang, then gcc, then icc and see how -Werror treats you within any remotely interesting code. It's hard to predict what one compiler feels is perfectly okay (or perhaps ambiguous) and another feels is downright wrong. It's downright infuriating in a cross-architecture environment. -Wall -Wpedantic and -Wextra are usually plenty.
So, clever bloke declares error checking is wrong or something.

As a non serious programmer it would seem to me that -Werror is either not granular enough or simply not fit for purpose.

I wonder if -Werror is defined in a standard somewhere and hence has a clearly defined meaning.
> Enabling -Werror in distributions virtually guarantees that they won't build: Even if you took care of all compiler warnings in all compilers for which you enable this switch, it's just a question of time till a new compiler version comes along that has a new warning message and - BOOM.

This is a feature. This triggers a review of the new warnings introduced by the new compiler version, to see if they have found bugs, or should be squelched per false positive, or should be squelched project-wide.

> Two recent examples are squid and qemu-linaro, two packages I had to compile from source as Debian GNU/Linux didn't have (good enough, or any) packages for them.

The fundamental problem here is using a contributor's build environment (where I want -Werror to get them to contribute warning-induced bugfixes, or squelches/ignores if they're really false positives) for a non-contributor's task (where they just want the final binary, and aren't going to bother reporting the warnings even if I want them.)

Non-contributors building from source isn't a relevant niche to me (I generally ship binaries), but I can sympathize with the request for a warnings-as-warnings fast build path for them.

But make -Werror the default build path, for developers. This needs to be opt-out, not opt-in.
There are only 2 go compilers, with very few warnings. C has a whole bunch of compilers and some of them have a whole bunch of warnings.
Sorry, but I think most people don't consider a badly designed service that disenfranchises customers arbitrarily and coincidentally saves HTC a bunch of money to be a "weird quirk."

Plenty of other companies are able to both honor their agreements and prevent fraud, why can't HTC?
> I can't believe he didn't mention Gilbert Strang. This should be the starting point for everyone, IMO.

Not everybody loves this book, you know. A lot of people find its sloppy, disorganized, chatty style quite irritating.

> Not sure the highly theoretical stuff is actually worth anything as far as getting things done, unless you go on to study Algebra and mathematics in general.

You've answered your own question. It's "highly theoretical", not "highly practical". The focus is different by definition.
>The horrific thing is: if I ask someone if the leave campaign will be charged for fraud, they think I am nuts. As if lying politicians are above the law.

Rather, democracy is above the law. Because demo-cracy (literally: "people in control" in ancient Greek) is that which makes the laws.

Besides, what "fraud" would the leave campaign be charged with? They didn't do any or at any level, any more fraud than the stay campaign.
I would say it is correct, it just seems a somewhat strange scenario to me. You know a problem is NP-hard and it of course has to be a decision problem or it could never end up in NP and then you show that it is indeed in NP, i.e. you show that it also has a polynomial time verifiable proof, which then makes the problem NP-complete. That does not sound impossible but I am not aware or can think of an example where it was hard to figure out that such a polynomial time proof is possible. I would love to know if there are examples but I really don't know.
Never more wasted time with access tokens from Uber
Does Trump flat-out lie? On the times I've examined what he's said, it seems he's rather careful to leave himself an out. I.e. he might be "technically" correct. Looking over Politifact on him, for instance, shows many cases where he'll make a claim on XYZ that's actually sourced, but it's on the high-end of their range, or from a source that's not very good.

Or it's things that can't be backed up, like his personal eyewitness accounts.
Uber for Drug Smuggling
Go has something of an imposed rigidity that a lot of C programmers I think wouldn't tolerate well (culturally, viscerally),- one example: the whole comment out all unused variables because you commented out a function for debugging purposes during development (couldn't just pass a flag to the compiler, at least last time I used Go).

Aside - I seem to remember a Blog post you wrote on your experience with the Go language and I think it pretty accurately reflected a lot of my own experience with it.

edit: found it [0]

[0] http://ridiculousfish.com/blog/posts/go_bloviations.html
Closing Romer's Gap (a gap in the tetrapod fossil record): The story so far
When you feel powerless the truth seems irrelevant.
Go only errors on a small number of things and, while some of those things would be warnings in other languages, I don't think it's fair to frame them in that light.

The go compiler strives to not print any output at all pretty much, and it does that by not having any warnings at all.

If you want warnings in go, you use tools like "go vet" which tell you "this bit is indicative of an issue".. the go compiler won't give that to you though.

As other replies said, Go also doesn't have many compilers. Really it's only 1 supported one.
They also don't add new "errors" to the compiler over time for this compatibility reason pretty much.
Ah, another lisp programmer, I see.
GCC has pretty much always had `-Wno-YOUR_SPECIFIC_ERROR`.

By that, I mean it was present in a random version from 1993 (2.4.5). But it wasn't there in 1987 (1.35, the oldest version that can be easily downloaded), so it didn't literally always have it.

Edit: I wasn't satisfied not knowing; so I dug through some more versions. The -Wno- flags were introduced in GCC 2.0 (1992). (Though only tracked down 1.41, not 1.42, the last of the 1.X line).
That inventory-checking robot may be the most useful AI startup product I've seen. It's a valuable and large problem, challenging yet tractable with today's technology.

Curious if anyone knows other valuable and unique markets being addressed by new startups.
The way to consistently use 'm' as thousand and 'mm' as million is if you assume a Latin derivation, with 'm' short for mille. https://en.wiktionary.org/wiki/mille#Latin ('mm' thus being 'thousand thousand', since roman numerals don't compose that way -- MM would be two thousand).

That doesn't mean that that's the way it evolved, but it's a way to categorize it mentally so it makes sense. While there's no logic for it conflating with 'million' and 'mega', at least 'mm' is fairly unique, unless you measure your money by its length.
> The reason it's not on the list is I just didn't see what it had to offer that isn't covered in later books.

It's concise and readable. Every word is used for a reason.
> It's downright infuriating in a cross-architecture environment

The only thing more infuriating than being unable to predict when your code is going to fail the build because of -Werror on some other compiler/arch, is your bugs generating warnings on some compiler/arch es that don't fail the build. Cross-architecture environments are one of the main reasons I want to enable -Werror and kin. I won't notice all the warnings otherwise.
I thought they were very smart to put a link to datacamp.com in the load message of data.table.
Wearing a seatbelt reduces the risk of dying in the accident. Doesn't mean the accident doesn't occur.
Extensible Double Dispatch for Racket
Driver involved in ModelX crash blasts Musk, claims Tesla drivers are ‘lab rats’
I agree whole heartedly. When I'm programming I typically want most things that would cause a warning to stop me in my tracks. However I cannot count the number of times I've been trying to build someone else's code and the configuration uses -Werror and things that didn't raise a warning on their version of gcc or clang do on mine and now I've got to fix possibly dozens of not actual errors.
Because marriage, like anything worth its while, is not just instant gratification, and it often takes effort to make good again.

Or, to answer in another way, because people in falling marriages feel like it's something worth saving, that they try to find help with achieving that. Who are you to tell them otherwise, and generalize that to all marriage counselors and people wanting to save their marriage?
If only they'd been using encryption...
Yes exactly. For example GNU coreutils auto enables -Werror for devs when running from a git repo, whereas tarball releases do not add that option. See:

http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=blob;f=confi...
The Situation