skysight-inc/HackerNews huggingface dataset:
If you're using Go with Docker 17.05 or higher, I recommend a multi-stage Docker build. Official documentation here: https://docs.docker.com/develop/develop-images/multistage-bu...

The default Go Docker images include everything needed to compile Go. But once you have a binary, you really only need an image capable of running your binary. I've seen images sizes reduced by over 95%.

Revising the example in the article:

FROM golang:1.10
COPY . /go/src/bitbucket.code.company-name.com.au/scm/code
WORKDIR /go/src/bitbucket.code.company-name.com.au/scm/code/
RUN CGO_ENABLED=0 go build main.go

FROM alpine:3.7
RUN apk add --no-cache ca-certificates
COPY --from=0 /go/src/bitbucket.code.company-name.com.au/scm/code/main .
CMD ["./main"]

The `CGO_ENABLED=0` and `apk` are oddities of Alpine Linux specifically. The image you choose to run your binary may not need these.
They only ever looked pixel perfect in one browser on one OS in a 1200x800 window. For everyone else, they broke.
Exponential curves have a tendency to turn into S-curves when fundamental limits are reached. Aircraft might be the most obvious example. Moore's law is looking that way as well.

We can expect this to be true of other business models as well; the question is where the limits are.
The Wealth Report [pdf]
The point is that Disney by and large wasn't "creating something new" - he was reusing and re-purposing existing stories that were in the public domain, something that extending copyrights severely limits.
This is neat. How does it work with search engines? Just lots of 404s once articles 'disappear'?
GOPATH is going away with vgo so it wasn't really good at all as it forced the developer to adopt a specific folder organization. The fact that go maintainers acknowledged this issue is a sign they are ready to move the language forward.
There are deep secondary markets around late-stage venture-backed companies. Robinhood investors seeking to exit around this valuation have options.
About 140,000 websites are added to the internet every day, though.

Are you sure it's actually true that most of those sites are multi-billion dollar startups with super-slick frontends and that almost no one makes self-hosted sites anymore, or is it more likely that the web has gotten large enough that non-commercial, non SEO-driven sites are simply harder to notice?

The "big platforms" are still a rounding error in terms of the total content on the web.

The web isn't like old network television where there are a limited number of channels and limited number of slots for content. It hasn't moved from being the playground of geeks to business majors, but the playground of geeks to everyone, including, yes, the business majors.
Yeah, I appreciate TBL, but I don’t think he can take credit for the web. The web picked his project as its nest, more than he did anything to conjure it.
This argument always strikes me as kind of odd. As far as I can tell, it boils down to "other countries like Canada are better negotiators than us, and our companies give them better prices."

But if that's the case, it just seems like really good evidence that squeezing drug companies and making aggressive demands drives down drug costs and encourages them to move R&D costs out of the country. Why wouldn't the US be all over that?

I dunno, I just always feel like I'm missing something when I see this. Other countries have better health care than us, but we can't use their tactics, even though they seem to be working really well, because... we're nice, and we don't want their drugs to cost more?

If we accept that having R&D based out of the US is a bad thing, then why are we fighting to keep it here? Shouldn't we increase regulation until all the pharmaceuticals move to Canada?
It’s a good thing that Go is such a good language, because getting started with it is downright PAINFUL compared to Ruby or Python.
Good idea. If there were some way to store that data in a more permanent form, that would have been awesome. Either way, a small nit.

> Peerdium would not have been possible with WebTorrent, QuillJs and Vue.js

I think you meant "Peerdium would not have been possible WITHOUT WebTorrent, QuillJs and Vue.js"
Yeah, custom hardware (ASIC/FPGA depending). Liveness is trying to detect things like Slowloris [0], with things like timeouts, SYN cookies (which ask the client to do some minor work), etc.

[0] - https://en.wikipedia.org/wiki/Slowloris_(computer_security)
I rest my palms. No issues.

Smaller touchpads have always been more uncomfortable and harder to use for me.
> CO can not just kill the occupants, you could have a big pile-up on a motorway due to CO poisoning.

Do you have a source for this? I would be interested in reading about it.
More generics isn't really the solution. The US actually has more generic prescriptions as a percent of total prescriptions than most developed countries and US spend on drugs as % of healthcare spend is similar to other OECD countries. The cost comes from high priced innovative meds. They are high priced bc they are expensive to develop -- $2.7b to get a drug approved per most accepted estimate. Most of that is cost of failure. So the issue is if we cut those prices we stop innovation. R&d in most disease areas has already slowed dramatically bc it's too expensive / risky
Just-In-Case vs. Just-In-Time Learning
Wow I like the way you think! Hit me in a blind spot I never knew I had.
Couple of quick notes from my phone, as a googler gopher:

- IIRC package management was historically left to the community to solve for, rather than the go maintainers mandating how package mgmt should be done. Many languages have followed this model. I've never heard of it having to do anything with our mono repo model. The community never ended up standardizing on a model; since then, the go team has endorsed godep as the official experimental package manager, whose learnings were used to design vgo. Vgo is very new, and still being iterated on; check it out though!

- vgo removes the need for GOPATH

- There is a one-line installer to set up your env. It's very useful and simplifies a lot of what this blog talks about.

Sorry I don't have links - on phone at airport! All the above should be easily googleable though! :)
You are asking the wrong question here.

The right question to ask is how many CO deaths from accidentally leaving the car running in the garage were happening before the introduction of key fobs vs. now.

The difference amounts to the multitude of easily avoidable deaths that lie entirely on the auto manufacturer's shoulders.

A dozen people is a dozen people too many.

Stopping the engine when exiting the car with a fob should be the default, as it is consistent with the old, physical key behavior - and will prevent someone from driving off with your car while you have the key (as happened to someone in the thread).
As far as speed-of-evolution, it is worth understanding that the slower speed is at least partly a by-product of different goals. This talk, "Stewardship: The Sobering Parts" by Brian Goetz, is informative and well worth the watch: https://www.youtube.com/watch?v=2y5Pv4yN0b0
I think it's really obvious what people think, the question is whether people know or not. I think it's pretty obvious this should be considered criminal theft. This is like if you hire guys to sweep and dust the shelfs in your bank vault and you walk in on them taking pictures and writing down every single item on a ledger. All across the country. Not that you should hire people to clean your bank vault. This should be extremely illegal. We just really need more congressmen who know what an email address is.
Pizza shops don't have a VC-funded growth trajectory built in and thus don't spend prodigious amounts of money (relative to their volume) on marketing.

Blue Apron spends about a million dollars on marketing. Every 2 days. I am using them as an example because they're publicly traded and so that number is conveniently available; I don't believe them to be grossly out of line with the other delivery startups.

(To be fair to the startups: they're attempting to change a core cultural ritual! That's not a quick or easy sell.)
Go, the language being good is debateable. The tooling and ops story is great though
There's a well-worn advertising quote "I waste 50% of my advertising budget. The problem is I don't know what half."
Would be nice if there was a description of what it is when you load the page.

The first 5 links on the page, all of which contain the word "Archive", aren't descriptive enough?
Yes it is a shame we can’t study this topic as it is such a interesting area. It would be nice if people understood different doesn’t mean inferior.

The thing many people forget about those of us that are Neanderthal hybrids is that all us hybrids carry different parts of the Neanderthal genome. Pinning down what genes are linked to what phenotypes would be very, very interesting.
So ABC Strassen (one of the variants in the paper) is crossing over at 4000x4000 on 10 cores and ahead on fewer cores. I shared this as the current state of performance engineering for Strassen-like algorithms. It offers modest benefits in more practical regimes than the conventional wisdom. I agree that many applications of dense matrices do not benefit.
Something tells me it will be similar to the fear mongering of cookies policies circa 2014.

Meanwhile as ICO reporting, only on average 50 companies/sites have been investigated and punished, per year.

https://ico.org.uk/action-weve-taken/cookies/

Most likely with GDPR being so damn popular, they will be overloaded on day one. Heck, I personally have 5 different emailers I never provided my email to, that I just wait for the end of May to report! Do I believe each will be prosecuted and extracted out of $25MM in penalties ? Nope.
MySQL Engine Features InnoDB Based Physical Replication
> They might be a good answer for newbies that want to spend 100$ on a stock for the first time, but for anything else I will stay with Ameritrade. Thanks

I don't think you're their target audience. Their marketing materials say things like "democratize markets", "investing for the rest of us" and "learn to invest in the stock market". Also notice that the screenshots of their app feature portfolios with low dollar amounts, compared to the larger dollar amounts the big-boy brokers use as examples in their marketing.

Because they're targeting newbies, and because of their behavior in that context, I think Robinhood wants to be your bookie more than they want to be your broker. The marketing pitch on their landing page reads "Robinhood lets you learn to invest in the stock market for free.", but the updates they've introduced while I've been paying attention to their app seem to be aimed at encouraging people to do risky, stupid things with their money. I assume they plan to monetize this somehow.

What follows are some examples of things I think are pretty scummy, given that Robinhood's target user is an investment newbie:

- They pressure new accounts into paying a monthly fee for what are essentially margin trading accounts, but the vast majority of people should not be trading on margin.

- They promote aggregated news stories from crap outlets like seekingalpha to their users, but curiously not educational material with sound investment advice. Another indication that their pitch about learning, which probably makes newbies feel safer using RH as a platform, is insencere.

- They added the ability to trade cryptocurrencies a short time back. The vast majority of people should not be investing in cryptocurrency. I tend to agree with Nicholas Weaver that most coin funds/offerings are basically scams or thefts waiting to happen. The values of the coins are volatile, and what happens if governments decide to make it difficult to exchange them for desirable currency? At least you can buy drugs on TOR, I guess?

- They recently added option trading. The vast majority of people should not be trading options. It's probably closer to straight up gambling than buying stock at random.

If they really wanted to open up markets to any average Joe with a smartphone and help them learn to invest, rather than encourage them to lose all their money, they wouldn't be prioritizing the things they have.

Just for contrast, you know what simple things Robinhood users can't do? They can't check the managment fees when looking at a fund. They also can't sort their portfolio into short and long term holdings before choosing to sell stock.
Vuesax for vuejs great new functionality to change thema of colors ️
Another option for even smaller images is to use distroless: https://github.com/GoogleContainerTools/distroless#examples-...
Anonymization won't really help because you can't store unique identifiers. IPs, emails device identifiers, etc and anything derived from them (no hashes of that data either) are all prohibited. So you can't really build a profile of someone if you've got no key to look it up when you need to target someone.
Ottilia Cormos
Medicaid should consider medical tourism. Sure it’s absurd to have to ship patients halfway around the world to literally take some medicine but it would be cost effective...

https://en.m.wikipedia.org/wiki/Medical_tourism
Ask HN: What are you currently self hosting?
Ask HN: What are you currently self hosting
Yep agreed. As a salesperson, knowing someone went to college is often more helpful than knowing what exact college someone went to - too personalized is just creepy. I think the trick is somewhere around the space being able to accurately engage someone with of "hey you look like the sort of person who might be interested in xyz".
Let's take the nostalgia goggles off though... the old web was more colorful, certainly less uniform, but I wouldn't call it "amazingly creative." Most of those sites tended to look a lot alike as well, especially on Geocities.
What lies beneath: the subterranean secrets of London's super-rich
I like quite like Java but Oracle scares me. They've started charging for runtime licenses, which I never heard of before. Oracle is a good enough reason to avoid Java.

http://www.theregister.co.uk/2016/12/16/oracle_targets_java_...
Except that at least of the source material for Disney classics was based on public domain sources that was younger than Mickey Mouse is today. Pinocchio (the book) was released in 1883,and thus only 73 years at the time of the Disney movie (source: https://www.forbes.com/sites/derekkhanna/2014/02/03/50-disne...)

It is somewhat hypocritical to lobby for removal of the same protections that enabled your own success.
As the parent mentions, vgo is still very experimental. But if you'd like to try it out (or contribute!), I recommend the following links:

The official Go issue: https://github.com/golang/go/issues/24301

And Russ Cox's Tour of vgo: https://research.swtch.com/vgo-tour

Which is part of Russ Cox's vgo series: https://research.swtch.com/vgo
Same; I think it's because the only way to submit the form is to hit "enter" (as the page describes), which doesn't seem to be possible on the mobile keyboard
The same way they maintain them when they are occupying them: they have staffs of workers to clean, maintain the grounds, provide security, etc.
What it's like to be an introvert and what everyone gets wrong about them
Vuesax new framework for vuejs
And yet, when the well-bred Englishman sells his books about dwarves and dragons to a publisher, it's totally different.

Isn't that always the way?
I was in prison at the same time Mitnick was (but not at the same prison), and in about 1997, Justin Petersen (Agent Steal) showed up at the prison I was at, and we got to know each other well. He's one of the other main figures in The Fugitive Game, and he said this book was probably the most accurate of the several books about the Mitnick/Poulsen/Petersen story. I read the book in prison one night and I couldn't put it down until I finished it.
Can Artificial Intelligence Help Find Alien Intelligence?
It's essentially still the same thing: having the bigger pipe.

A distributed DoS attack has many sources, and when including botnets on infected consumer systems you have legitimate source addresses/devices as well. This defeats most "blackhole the source" options as the source is the same thing as legitimate visitors/customers.

So for a DDoS that simply tries to saturate your link(s) and where you can't blackhole the source, the only 'protection' is having more bandwidth than the attacker(s) has (or have).

After that a few other things come in to play, attack-traffic from legit sources may have a pattern, so while you can't blackhole upstream, you can prevent traffic with a pattern to get to the actual application/site. This is relevant in cases where you might suffer from application overload before link overload. If your link can handle the DDoS traffic but your application can't, you're still screwed. (and with application I include load balancers, databases, storage etc.)
Why not just go ahead and use Kotlin? What's stopping you?
One possible solution: have the government buy the rights for cost + some preset mark up. Then make it a government program to produce and transmit. Could earn some serious well wishing abroad by making it available for cost/free for developing nations. That’s how to lead the world.
Assuming that's true do you think that removing other countries ability to bulk purchase drugs would cause the prices in the US to actually drop?

Also given a capitalistic marketplace you'd think US drug consumers would also band together to bulk purchase and drive down the rates. You'd be crazy to make a law to prevent that kind of thing.
Proponents of recreational firearms or cannabis certainly use arguments like this.
Neanderthal were certainly no less intelligent than their East African cousins, but they were different.
I've been using `scratch` final builds .-

FROM golang:1.10
WORKDIR /go/src/bitbucket.code.company-name.com.au/scm/code
COPY ./ ./
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o /dist/main .

FROM scratch
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=0 /go/src/bitbucket.code.company-name.com.au/scm/code/dist/main /
ENTRYPOINT ["/main"]

It requires a bit more "magic", but is a smaller build at the end.
I'm pretty sure that most of the cost of normal banking does not stem from storing the currency amounts in customer's accounts (which is analogous to storing their private keys for them), but rather from providing customer service, securing the data and compliance with regulations.

A crypto-currency equivalent of a bank that could replace
traditional banking for the majority of users would have all those costs as well.
So if the only person reading the article closes it, is the article lost? Since there is no one else to retrieve the data from for future readers.
I suspect if they looked at attached garages and their toll when cars are left running the incident will be higher. How many people have died because of attached garages? Folks can help mitigate this by having carbon monoxide detectors in their garage and in the house. Car manufactures tho should have this built in, if the car is not running and the CO level inside get's too high, shut it off and sound the car alarm. The only challenge is that CO sensors seems to need replacing more than the life of the car and of course the price of car will go up and those without the need will be upset.
But if all those people get in and all try to get into the single elevator in the building it will be a problem :p (link DoS vs. application DoS)
> If it works, people often _need_ it to prolong their life or improve their health. What drug companies are selling... isn’t like what other companies are selling.

It is very much like many other products. If you don't have food you will die of starvation, if you don't have shelter you will die of exposure, etc.

The real issue is drug patents. Nobody is complaining about the price of ibuprofen any more than they complain about the price of eggs. But the patent system is doing what it's supposed to here -- twenty years ago any patented drug didn't exist, and it nominally only exists now because the inventors judged it to be sufficiently profitable to conduct the research. If you make it less profitable, you'll get less research.

There is no drug research fairy. If you don't want the money to come from high insurance premiums that pay for high drug costs, it has to come from somewhere else. And just devising some other method (like taxes) of extracting the same money from the same general public isn't really going to change much.
Tolkien wrote stories, Disney did not. At least that's how I interpret it.
> Like many creative types, Vinge lacked the business savvy to fully exploit the market potential of his ideas.

Um, what? He is a successful CS professor, and beloved hard SF author. Anyone should be happy to be as successful as he is.

At any rate, the singularity is coming, wether we like it out not.

My main argument is: look at Intel Corp.

Intel is emblematic of the entire semiconductor industry. Like with how much they have struggled with the recent process nodes. And look at the industry roadmap, there are only a few nodes left for any kind of silicon lithography.

What is the tech sector going to do when there are no gains to be had with making chips cheaper and higher performance? Do you think Intel's investors are going to be OK if they say they can't make chips and better than they currently are? The stock price will crash, board members and executives will be fired, to be replaced by people promising a return to growth.

Is there a way forward for Intel? Yes, several, falling under the broad category called molecular nanotechnology, which is all about building machines with atomic scale precision. This will allow Intel to build faster chips, but will also be a revolution in other areas too. And then we can reasonable talk about things like biological immortality.
Probably more accurate as hundreds of millions.
Ask HN: Should coders usually offer a warranty for bug-free software?
Yeah, but the anti skid pad in my bathtub (which might prevent drownings) is slippery when damp, so I fell in the bath while taking a shower, and could have been killed.

I guess that sort of death goes under the “drowning” category, since the bath mitigation can kill shower-takers.
> As a Python developer, I am no stranger to slightly ridiculous packaging / environment woes.

Speaking of which, what is the best way to start a python project in 2018, now? Python's version and dependency management is my least favorite aspect of the language.
It's a shame that all these years later nobody else knows who JSZ is.
I think the argument is that the drugs would simply not be developed at all. Personally I'm inclined to call the bluff as it's not clear that the profit motive has led to the most effective drug development—there's a huge sales culture in pharmaceuticals that incentivizes prescription drugs beyond the balance that doctors and patients would naturally arrive at.
I would suggest anyone who is interested in reducing drug prices listen to this econtalk episode with Robin Feldman[0]. They discuss her book "Drug Wars how big pharma raises prices and keeps generics off the market"[1]

In the episode they discuss all sorts of shenanigans that pharmaceutical companies pull. If you want real reform you need to look at weak patents, eliminating "reverse payments" to generic companies, and obstruction to bioequivalence testing. Drug companies routinely manipulate the current laws, specifically Hatch-Waxman in order to stifle competition from generics.

[0] http://www.econtalk.org/archives/2017/06/robin_feldman_o.htm...

[1] https://www.amazon.com/Drug-Wars-Pharma-Raises-Generics/dp/1...