skysight-inc/HackerNews huggingface dataset:
While I do agree that the Docker setup method in the post is more reliable, I recommend following this post on MSDN [0]. Exposing Docker to localhost like that really isn't the most secure of setups!

And it really is remarkable how much better development on Windows has become over the last 2 years.

[0] https://blogs.msdn.microsoft.com/commandline/2017/12/08/cros...
> Sure, they're beautiful and interesting from an intellectual standpoint

constructing an application which consists of updating a table and persisting it in a database for business tomorrow should not be a high art.

Most enterprise / business applications are not much more than glorified form fill-in, and the simple ones don't really deserve the multiple layers of abstraction. If you don't believe me, recall the relief of being able to "just edit the damn data" in the django admin tool when the regular application is misbehaving.
"(whose idea of a standard library is adding an underspecified `fetch` after 15 years of people writing wrappers around XMLHttpRequest)."

So true.
From its inception, ISS payloads for for-profit microgravity manufacturing have been considered as a driver for human spaceflight funding.

A bit of Spacehab history with a classic retro illustration ;)

http://www.astronautix.com/s/spacehab.html

One potential application moving forward are the very large, low defect protein crystals grown in the APCF

Advanced Protein Crystallization Facility - Protein Crystallization in Microgravity

https://www.nasa.gov/mission_pages/station/research/experime...
"When you're dead, that's it. There is no more. You're dead. The game is over. You've lost everything, completely. The only consolation is that it was going to happen sooner or later anyway."
Good point.

Also, consider it not just in terms of the amplification effect of wealth, but the suppression effect of threats of violence.

The "free marketplace of ideas" assumes the participants act in good faith to offer their ideas to the public, and respect what they decide. But if you wish to call for systemic violence against groups, it has the effect of silencing them out of fear (E.g., Yiannopoulos calling for Leslie Jones to be doxxed, or the KKK marching through my old hometown to let blacks know they should be afraid).

In this case, the norm of debate is an illusion. And if you're not concerned with debating in good faith, there are no obstacles to using deceit and lies. Speech just becomes a tactic of oppression.

In this light, rather than treat individual speech as absolute, overall free speech can be maximized by not tolerating those whose speech silences others. Fundamentally, I think it's heterological. Quoting from Karl Popper's "The Open Society and Its Enemies":

> Unlimited tolerance must lead to the disappearance of tolerance. If we extend unlimited tolerance even to those who are intolerant, if we are not prepared to defend a tolerant society against the onslaught of the intolerant, then the tolerant will be destroyed, and tolerance with them.
Nonsense, you must maintain some minimal speed otherwise bike gets unstable.
> And the human genome is similarly seen as something protected

It's not, I can publish/sell/do whatever I want with any of my genomic data I have desire to
Yeah, this happens quite routinely in the UK now.
Yep, understood. I don't know how much he was paid but his definition of not-affordable was not being able to afford more than a 1 bedroom apartment for him, his wife and baby as well as only being able to eat out once a month.

Of course, he knew what he was getting paid and it's not difficult these days to get a sense of cost of living for anywhere in world so he must have know what he was getting into.
Pensions (dne), social security (ha), somehow make your own business capable of supporting you into old age, work until you die.
I've moved on from there, but it was an internal function within a larger software dev house. In retrospect a pretty intense place to work, but I knew no different - it was effectively my first job out of uni. I got to that position after about 10 years.

You can read more about my background here IYI:

https://zwischenzugs.com/2017/10/15/my-20-year-experience-of...
Nothing is risk free, but the flu vaccine comes pretty close. There’s a reason the CDC recommends it for nearly everyone: the benefits greatly outweigh the small risk. I’ll trust them over a court adjudicating a program whose main purpose is to calm people’s irrational fears of vaccines.

From some quick searching, the only serious side effect from the flu vaccine I could find was a 1-2 per million incidence of Guillain-Barré syndrome. The link is still highly uncertain, and in any case that’s still quite a bit safer than something like ibuprofen.
I don't care about the general patents they give out. I think there should be patent categories like tech, physical, medical, etc

A tech patent should only last 3-5 years, which is a lifetime in tech to give you an upper hand.

I think that would help solve the problem. I mean its insane Amazon was able to patent a 1 click buy and just stop everyone else from using it for so long.
Conan the Barbarian comes to mind.

A tale of magick, poetry and raw killer instinct in a godforsaken universe.
The Firefox extension decentraleyes promises to cache common libraries locally. Thus making you, your own CDN.
The market is always shifting. People who deeply understand the companies in their portfolio will generally outperform the market at large by finding and exploiting mismatches in the market (i.e. active management). The question is how much people are willing to pay for active management. The more that investment moves towards index funds, the larger the gains to be made from active management. Higher demand for active management results in higher fees for actively managed funds, and investment capital goes back to index funds, and the cycle repeats.

If people forget anything about index funds, it's that they're not guaranteed to go up, just like any other investment vehicle. It's a reasonable choice to make to put decades' worth of savings away for retirement, because the stock market trends positive over the long-term, but people are kind of looking at index funds right now as "if I put my money in index funds then I'll be set for retirement because they're 'de-facto guaranteed' to go up over the long-term" and well, that's a dangerous over-simplification.
Java is the primary development langauge for Android. You can't really compare that to the stuff you are listing.

Can I run Visual Studio on my macbook? Does any of the companies developing webapps in C# actually deploy on Unix?

MS might aspire to have that broadness of platform but it is not actually there. It is in the Java world.
I appreciate the real experience in your post. But going into prejudicial generalization of your own (edit: that was before it was edited) helps nothing and is sure to create a flamewar. It may not be as bad as the prejudices discussed in the article, but it's bad enough to give us nothing but scorched earth, so it breaks the site guidelines. If you'd take those to heart when commenting here, we'd appreciate it. This one, for example: "Comments should get more civil and substantive, not less, as a topic gets more divisive."

https://news.ycombinator.com/newsguidelines.html
To do that we'd have to re-write our Constitution.
Right, if Social Security hasn't collapsed by the time you need it.
Hey I have no idea what your business is, but every case I've come across where people worry about GDPR is clearcut.

As you say, you must absolutely hold onto transaction history for tax purposes, at least! That said, unless you're selling arms or something (if compliance with the law is ambiguous go see a lawyer) you must honour an individual's right to be forgotten. You can do this without deleting records of transactions with that individual. You would however note that you can no longer identify the buyer because of such request x on date y. That should be as simple as deleting PII and then ammending the transaciton record with a comment.

Your biggest challenge here is how to handle the customer record. Do you delete it outright, and point the buyer field in the transaction record at a single GDPR ghost customer, or do you overwrite the customer data with random, non-PII values (I've always gone with the former)?

If your architecture is solid then these change requests should form part of ongoing BAU, no? Submit change request, develop, test, deploy...
This is awesome. Clojure has had similar frameworks for a while, but Clojure has a fairly steep learning curve. Really excited to try this in Scala. Wonder if this will be a new trend away from the totally separate webapp + rest API model...
Actually they are a lot less of the North Dakota population[1] being 4.7% of the population.

For 2016[2], North Dakota had a poverty rate of 10.7 (10th lowest in the US). Of that 10.7%, 8% were listed as White.

Given this, I don't think a significant amount of Scandinavian-Americans in North Dakota are in poverty. I guess any number is not zero, but North Dakota is probably the wrong state to use for a demonstration.

1) http://worldpopulationreview.com/states/north-dakota-populat...

2) https://talkpoverty.org/state-year-report/north-dakota-2017-... https://www.census.gov/quickfacts/fact/table/ND/PST045217#vi...
> The GDPR allows for reasonable usecases like this.

It allows for simple logs. It does not allow for simple immutable logs, because your customers must always be able to force you to forget about them. There's nothing about sharing data between organisations: the GDPR requires — with certain very minor exceptions — that someone holding personally-identifying information delete it on request.

As an aside, this:

> This actually enables further innovations for instance you can log a cars behaviour without a user fearing you might sell this information on to their insurance company.

… isn't really true: the logger can still sell it, it just may not.
Well, Gulag was profitable AFAIK
> I guess $33 billion is too expensive to get popular support, but it really isn't that much money

Especially when even a small bridge costs a billion dollars these days, e.g.:

https://ctviewpoints.org/2016/11/08/the-billion-dollar-bridg...
I'd love to see a list with approximate timelines! This strategy can backfire very hard if your taste in tech products is unconventional.
Ask HN: What books are you reading, Feb 2018
There have been numerous threads about the kinds of books that the folks of HN read, and I've enjoyed going through those answers. What technical / no-technical books are you wanting to grok this month?
If this was your literal first comment, it could be some form of SPAM or trolling protection
Not necessarily, you could be doing both at the same time. This is actually quite popular, as a kind of Grand Tour.

For example, a driving tour of the French Alps would, I think, count as driving for pleasure, especially when you could take a coach and do the same trip. You can even pay to go on organised tours, such as http://petrolhead.tours.
Ask HN: How do you test your docker images/docker-compose deployments?
When I'm writing docker services or docker images, I have to test it all manually and hope for the best.

But it's tedious and error-prone. Ideally, I'd want to check that a specific file is there with specific contents, or that when launching a container I can access a specific URL, etc.

What do you use for CI testing of Docker images and Docker services? Is there a best practice for doing that?
This echoes my experience, because this client-side check was definitely on the server side too, when, uhh, a friend tried to break it.
That is an excellent comeback (by Friedman), but maybe it's something that sounds good but is in fact inaccurate.
I think you misunderstood. I said index funds AND robo, just passive in general. ETFs alone are growing past $4 trillion.
Embracing Wynne Godley, an Economist Who Modeled the Crisis (2014)
Also been wondering how much this has been propping up the stock markets. If everyone is putting some percent of every paycheck into the stock market without even thinking about it, seems like it would have some systemic effect on prices.

Are more people currently contributing to their IRA's than cashing them out? Is there tipping point going by current population dynamics??
Most of the thin-skinnedness I observe is from so-called free speech absolutists, who want to say offensive things in public without fear of being shamed. But what they call shaming is actually their opponents exercising their own right to free speech. The freedom of speech that allows you to say something offensive is the same freedom that lets me criticize your offensive comments.

You say stop listening if your feelings are being hurt. That's one option. I can also call you out for being insensitive to my feelings. If you can't handle that criticism, then stop airing your views in a public forum, for your own good. Freedom = responsibility. You own your words.
Non-AMP link: https://www.reddit.com/r/CryptoCurrency/comments/7wonkf/the_...
> Keep identifying information (IP, UID, DoB, etc) in one table, and activity data in another, with a join linking the two.

You just made the log no longer simple. Now writing a log line isn't a matter of writing bytes to disk; it's a matter of looking up PII in one table, reading a key, then writing the key and the non-PII to disk. If the definition of PII gets more expansive … whoops.

> The degree of panic it's causing baffles me though. Sure, it requires design up front. Oh woe. But regulatory compliance always does.

You answered your question. The compliance costs, and it's for what is IMHO a non-right. I do not, and no-one has, a right to demand that my IP activity be erased. I do not, and no-one has, a right to change history.

Much of the rest of the GDPR is wonderful stuff, but the so-called 'right to be forgotten' is Orwellian.
Citation needed, or please reduce the phrase "quite routinely" to something less hyperbolic.

People have been sent to prison for abuse on twitter, but that doesn't count as voicing an opinion.
You mean you actually look things up on the Internet when you work? How unprofessional!

I for one rote-memorize all the aspects of languages and frameworks before using them. If I can't remember the name of some function, I just implement it from scratch using my superior knowledge or algorithms and data structures. Also, I write code on etch-a-sketch (sometimes whiteboard) in one go and then let a trained monkey type it into an IDE on a computer.
Realistically: yes.

It's uncomfortable and nobody ever wants to hear it, and it's quick to get shouted down (especially in forums like HN where everyone is either wealthy or only "temporarily" poor), but if you can't afford to put $5500 into an IRA each year while also keeping your emergency fund topped up for 12 months' expenses while also still having enough extra for at least one little vacation that year -- then you're poor. Not middle class, but poor.

And, statistically speaking, if you're poor now, then you're likely to be poor for the rest of your life. America continues to run on the idea that that's not true, but that's a clever bit of marketing intended to keep people from realizing just how truly screwed they are.

This isn't to say that you're destitute or that it's impossible to live well at more modest means. Many people do.
If you're seriously interested in this, just read Matt Levine every day - it's something he talks about on nearly a weekly basis.

https://www.bloomberg.com/view/articles/2015-07-22/index-fun...
If someone sends you something in the post telling you to delete their data, it should not be difficult to simply keep that record available when you need to restore an unrelated machines backup, unless you have incompetent IT.

"Who's IT?" -- Small and micro-businesses across Europe

This is part of the reason many GDPR consultants suggest applying an IT standard like ISO so that it’s clear you already know what backups are for and how to use it.

"We can't even afford a GDPR consultant. And who's IT?" -- Small and micro-businesses across Europe

A single machine/database with all your business data on it mixed with personal data and the only record of requests from subjects is criminally irresponsible.

Again, this is simply detached from the reality of many, many small and microbusinesses, community organisations, non-profits, etc.

It's absurd to think that every organisation that has reasonable need to handle personal data has a dedicated IT team, the people and budget to drop a few thousand on professional advice, the budget to buy extra equipment that isn't otherwise needed, etc.

It's also absurd to think that without those things, an organisation can't take reasonable precautions to protect that data or prevent its exploitation for illegitimate purposes.

Unfortunately the GDPR (as often happens with EU legislation) makes little allowance for any of this and thus imposes absurdly disproportionate overheads on smaller organisations.
Process Explorer uses ETW under the hood and you should too...learn this and become a Windows debugging master.

Admittedly ProcExp will make you seem amazing as it is but harnessing ETW power will make you unstoppable
They really did solve a lot of problems for us, but I don't think we over-engineered our solution, which I think is an easy rabbit-hole to dive into.
EURUSD: Vulnerable on Correction Though with Caution
I came across this from Memory Alpha when I was trying to recall the details of how Trek replicators worked:

The idea of replicators was unpopular with the writers of The Next Generation and Deep Space Nine. Ira Steven Behr commented: "I'd like to lose the replicators. They're my least favorite thing in Star Trek. A society that uses replicators is a doomed, finished society." (Star Trek: Deep Space Nine Companion) Ronald D. Moore added that "Replicators are the worst thing ever. Destroys storytelling all the time. They mean there's no value to anything. Nothing has value in the universe if you can just replicate everything, so all that goes away. Nothing is unique; if you break something, you can just make another one. If something breaks on the ship, it's "Oh, no big deal, Geordie can just go down to engineering and make another doozywhatsit." Or they go to a planet and that planet needed something: "Oh, hey, let's make them what they need!" We just hated it and tried to forget about it as much as possible."

This makes me laugh and cringe at the same time. They were writing for broadcast TV, so they couldn't really dive in and embrace all the implications of Trek's technology. It would be too alien for most viewers. On the other hand, Behr's quote in particular sounds like the antipathy to replicators went beyond the professional pressures the writers were under. It sounds like the preaching of a proud reactionary.
We're Reaching Peak Internet
Genomics of the Origin and Evolution of Citrus
This Is Peak Olympics: Athletes are reaching the limits of human ability
But government and self censorship is a real problem. Interesting juxtaposition.
It's easy to shoot yourself in the foot with any technology. People switch to a technology thinking they're writing better code with it, but in reality they're just a better at coding. Or it's a rewrite of something, in that case you know more about the problem you're solving. If you're bad at coding jQuery, when you switch to Vue or React, you then have gigantic mono components, if else if else rendering, 5000 state variables, or some other thing that you shoot yourself with.
I'm Sick – I'm Punching Someone
It already does. Far more people would live in the desireable areas of London and Manhattan, among others, if the housing were available at half the current prices. The effects in the greater Metro areas are less—people trade off commute time for lower prices/more space—but people still absolutely factor in CoL when making location choices. I certainly would never consider a number of areas for that reason.
1. Then a game console is not much relevant either.

2. Age of Empires is Microsoft's game in the first place. Of course they will want their assets to use their technologies. 3rd party adoption is a rounding error. On the PC, except for 1) hardcore indie games players and 2) games locked to the publisher's platform, everyone uses Steam. In the second case, where the games are exclusive to a publishing platforms (Origin, Uplay), they have similar attitude to Windows store as Steam.

Windows store is an existential threat to them. They will ignore it as long as possible.

3. Sure, that's why I mentioned The Talos Principle (a puzzle game). Xbox API will be handled exactly as PS API is.
I'm not sure how it's supposed to work either, but plenty of authority figures with lots of power in the speech marketplace have been telling me that free speech crackdowns will somehow help the powerless, so I guess I should believe them...
Amazon Echo and Alexa in-depth
What if you don’t ride a bike, for either physical or whatever reason? Say butt hurts, wind and rain ruin your hair?
> For HTTP logs, allowed use would be e.g. stripping the last octet of an IPv4, or stripping the last 64 to 80 bytes of an IPv6.

> That’s generally not identifying a single person anymore, and usually good enough for anything else.

'Usually'? Even if true (highly doubtful), that's not the same as 'always.' The whole purpose of logs is to be truthful accounts of pertinent data. A full IP address is a pertinent datum.

I'm going to step up on my soapbox and assert that any law which forbids me from indelibly recording that 192.0.2.17 requested /all-your-records-are-belong-to-us is a bad law.
73 Mind-Blowing Implications of Driverless Cars and Trucks
> Isn't it far better to encourage bad ideas to come out of the shadows, where those who espouse them can do battle (and face defeat) in their name?

In an ideal world I would agree. However, we are in a far from ideal world and our experiences since the Internet began show that this rarely happens in the real world.

CGP Grey did an excellent video on how the dynamics of speech tend to play out on the Internet: https://www.youtube.com/watch?v=rE3j_RHkqJc tl;dw: we self-segregate and our "tribes" rarely end up interacting in a meaningful manner. The consequence of that is allowing hate speech to exist in a space invites more hate speech in a self-reinforcing cycle (probably the best example of this is 4chan).

We've also seen what happens when hateful speech is banned. When reddit banned /r/fatepeoplehate the amount of anti-fat bullying on the site dropped precipitously. Does this not point the way forward on how to deal with hateful speech?
I don't see how making phone numbers mandatory makes Signal easier to use at all. There must be another reason for this restriction. Some say it's for spam protection.
Polyglotting and being able to run it on any platform is pretty cool
I guess I meant passive investing in general. Many funds are buying the companies at different percentages.
Australian sites among thousands hacked to include mining script
It’s not 2-way binding, it’s just a shortcut where Vue will generate the 1-way state functions for you to make development faster.
Want to know how you can easily stop this attack? What
I've done here is add the SRI Integrity Attribute and
that allows the browser to determine if the file has
been modified, which allows it to reject the file.

SRI does not fix this problem. If you put an integrity attribute on the script, then the next time BrowseAloud releases to prod their script will stop working on your site.

This is a product that works by running a script on your page to make changes. There's no option for defense in depth here: either you trust that their processes are secure enough that they're not going to XSS you, or you shouldn't run their code on your site at all.

The bar for including javascript from other sites should be a high one, but there are times when the tradeoff is reasonable. For example, I have Google Analytics [1] on my site, and I trust them to handle this responsibly.

[1] Disclosure: I now work for Google