skysight-inc/HackerNews huggingface dataset:
Good enough is exactly what we should be aiming for. Perfect means it will never ship.

The problem with good enough is that my opinion of it differs from yours, in possibly very important ways. Good enough to you may mean it compiles and executes 'happy path' logic just fine. Good enough to me means it's at least lightly commented, the code is formatted and indented properly (sidebar: THERE ARE STILL PEOPLE WHO DON'T DO THIS!), maybe a smattering of unit tests to prevent regression, and the code is semi-coherent (no spaghetti).

Now, most of what I consider good enough has little to do with if it executes more functionality than just getting it working. But in the real world, the lack of the other things I mentioned will ALWAYS cost me more money when I inevitably have to come back to the project months down the road.

The converse is also wasteful. Don't go re-inventing a CMS because you have a couple of web forms and you want to make a universal system so that all forms can be accounted for going forward. Keep it simple, but robust. Build the couple of forms, don't pigeonhole yourself, make a note that if we get over a certain amount of different forms it may be better to have a generic system underneath, etc. Don't over engineer it. Engineer for the things you know you have to handle given the current requirements, don't engineer for the things that will happen if you reach 10x volume (you likely never will).
> Then I asked the website to make a pdf into a word-file. It just inserted the whole pdf as a picture in word.

Really? I'm pretty sure that's not the way this works.
Or a really fun day at work!
To be clear, in this case I think it's quite unlikely, specifically, that Uber is looking for information with an intent to discredit, disparage, or defame Susan Fowler.

> They previously (and probably illegally) hired a private intelligence firm to dig up dirt on their opponents in a court battle

What was done there seems obviously inappropriate. It's unclear to what degree the intent was (I certainly understand wanting context). The situation was obviously very different.

> They did the same to intimidate journalists

Maybe. On the other hand: http://www.huffingtonpost.com/nicole-campbell/what-was-said-... And even in the Ben Smith's account they didn't actually do it.
A way around that would be to start products outside the Google brand, and only "adopt" them when they have gained significant traction, and long-term internal support.
I'm posting from an older Thinkpad with a Core 2 Duo. Comparing this to a C2750, they appear comparable[0]. This system runs Windows 10 fine, and so I don't see why the C2750 (and C3000) would not as well. Granted, an i5 outperforms them both.

[0] http://cpuboss.com/cpus/Intel-Core2-Duo-P8600-vs-Intel-Atom-...
It is hard to say how unlikely it is. A plane crash may be unlikely globally but may be more likely among the planes of an airline that considers this acceptable. Likewise, a drunk driver is more likely to cause an accident than the average driver.

And as I was saying, I understand this attitude from the passengers. For them the risk of a crash may be severe but highly unlikely and in comparison to the risk of loosing their job acceptable.
But I would have expected the average HN commenter to recognize the just like the risk is different for different types of drivers (and their cars due to maintenance) , the same applies to planes.
So those less rare events may be more likely than the average.

So making some events (and their consequences), that may already be more likely than the average for them, a number of times more likely is bad.

Than again the average is just as uninformative a statistical indicator for HN commenters as it is for drivers and planes.

This makes me think, when someone talks about something they perceive as the average of something do they perceive the median, the mode or actually indeed the mean(average)?
There is a case to made that we actually perceive the mode (value that appears most often) instead of the mean.
Heh, there was a report earlier on he was educated as a chemist because, of course he was. This Reuters report

http://www.reuters.com/article/us-northkorea-malaysia-kim-su...

makes it sound like it's much less clear who the hell he is. Some guy who was living in Malaysia and maybe they didn't mind burning all that much? Who knows.
Machine Learning from scratch: Bare bones implementations in Python
I think non-successful isn't the metric Google is using, else Reader would still be around.
1k is 6 months salary in Malaysia. I've met tons of people who would make an attempt for 25k, which is half the median salary in the United States.
Avoiding common HTML5 mistakes
Human society and history is a lot older than us and we are subject to forces set in motion long ago with very limited capacity to change this.

And human nature is a problem priests and moms and governments have been working on for a long time with very limited success.

It's kind of like when it's raining. You can't really get mad. It's a natural event that happens as the result of a proceeding sequence of actions and will eventually play out. So put on a rain coat.

I'm not advocating for helplessness either. We have to do what we can to improve the quality of human existence. That's our whole job. But acceptance of the scale of our lives and efforts and our current place in space and time I think is peace. We can't look at things in isolation but rather as how they connect in a series of cause and effects.

Sorry for the ramble. Just trying to discourage agitation. Agitation doesn't it make it stop raining and renders us less able to deal with it.
There are a bunch of competitors and SMBs very much care about the price tag so 100s of dollars is a massive stretch[0].

Note that this alleviates the pain of the staff, not the business ie vitamin for the entity paying for it, but pain killer for their part-time workers.

But, I do agree pricing is out of whack. I would probably try to charge directly based on the number of staff managed (eg: $1/staff member/month).

[0] I run a startup selling to SMBs in the service sector. Upfront dollar amount is a massive hurdle. However, upsells/elastic pricing based on users is easier.
I agree that his philosophy isn't super clear from Thus Spoke Zarathustra, but the parable-esque story style is what makes it easy to read. I suppose for clarity we should separate reading and understanding.
Of all these, I'd recommend The Master and Margherita. It is mischievous with deep allegory.
and Photos
>with Python, you have to hope that your integration tests are sufficiently exhaustive to catch this

If there is a border between code I trust and code I don't trust I put some sort of sanity type-checking to catch this type of problem early. This usually gives me immediate notification of certain classes of bug when a test invokes that code.

I also put other forms of sanity checking in that are not type-specific - e.g. check a file exists before passing it on to a method that will read it.

I am not sure if this style of programming entirely mimics haskell's main USP in python, but it sure makes tracking down certain kinds of error much quicker.

Integration tests attack the problem from one direction and strict type checking (whether static or dynamic) attacks the problem from the other direction.

IMHO you have to attack from both directions. Ever increasing integration test coverage is obviously subject to diminishing returns (in terms of bugs caught/investment), but so is ever stricter type systems.
I think this guy is just wrong, except maybe in saying that `log` is ambiguous and we should be using `log10` and `ln`. Incidentally he uses comma as both a thousand separator and a decimal point in the article.
Presumably they can cite the decision in Hooil vs. Pied Piper
I interpret this as Silicon valley losing its way. I'm not judging LSD use, but if you need it to get through the day then you need to find a different career. If you need your high paying, high stress job to afford your lifestyle, you need to find a more economically friendly environment.
FWIW FastMail also comes with file storage and notes.
The way services are deprecated and prices change makes me feel you are a product, at least if you are early adopter.
How about not? Drugs still have incredibly harmful effects. Some people take trips and never come back off these drugs.
Imagine going to work in the morning on a supposed "micro"dose just to realize you had an overdose and end up in a psych ward for two weeks. You'll also likely lose your job as most tech companies have no drug in the workplace policies...

This is just another BS article from someone who knows nothing about how drugs can very dramatically Fuck up a person's life.

(How do I know? I've worked with many recovering drug addicts in the past who all wish they had never started in the first place)
Thanks for the correction. And FWIW this is an insanely good question and it's hard for me to immediately answer! The things I want AVX512 for are very fat SIMD registers for my cryptographic code, and I've only lightly kept up with it since AVX-512 was pushed off to Skylake-Xeon only. So I haven't worried about highly heterogenous workloads (in my head).

I'd have to look up the specifics; but does AVX512 simply slow the clock, or does it actually have some kind of limited number of hardware ports? I wonder if some clock slowdown would be very much of an issue, since clock-for-clock, you should see better performance on Skylake anyway.

Just curious, what kind of workloads do you think you're looking at here?
Not to knock the accomplishment but to be fair, the passengers were really light (confirmed according to article).

This comment sent me on a journey to find obesity data on Ethiopia and I found this ranked list that tied back to the CIA factbook as source and places them next to last (currently): http://www.indexmundi.com/g/r.aspx?c=et&v=2228
I feel like I have the obligation to say that if you are a generally a happy person and good at what you do I highly doubt taking LSD in any dose is worth the risk of a bad trip. Not sure why HN has an affinity for LSD? It's pretty psychologically dangerous imho.
Awesome Digital Nomads - A curated list of resources for remote workers
Alphabet might fold in on itself and become Google again, which I suppose is what you mean, but Alphabet is 100% owner of Google, so any reorganization like that would be accurately ascribed to Alphabet.
> The golden rule is an excellent way to be an awesome human being.

The golden rule is not a specialty of Christianity. Some guy - I forgot the name - studied the ethical foundations of world's major religions and found variations of it across many different cultures and religions.

But that kind of underlines your point.

[Edit: Typo]
Sleep deprivation handicaps the brain’s ability to form new memories
Not sure why HN has an affinity for LSD?

Please don't make generalizations about the entirety of HN. You're a member of the HN community as well: do you have an affinity for LSD? If you have some stats backing this up, I think a lot of people would find it interesting: at least I would.
too bad these companies don't have an affiliate program.

https://www.iwantprepnow.co.uk/buy-prep-now
You may be right. But I see it from a different angle. I don't see this as using drugs to get through the day. I see it as trying to get something for nothing. It feels like a very Silicon Valley attitude to want to discover a free lunch; some sort of bonus optimization.

I would probably most expect this to come from Silicon Valley, Wall Street, professional sports, etc. Anywhere that fosters an attitude of seeking significant optimization or getting something for nothing.

Though this is all just personal perception. It's certainly filled with bias.
I would strongly encourage anyone looking for new perceptions that aid in concentration and/or creativity to first really try, and properly try, and without giving up too soon, the art of meditation.

It's cheaper, safer, longer-lasting, and most certainly a higher-quality experience once properly learned.
Per core they might be useless, but that's a lot of cores. So per dollar it might actually be good.
Cool release! Thank you for this. It's always great to see production code get released as opposed to pet projects.

What's interesting to me is that even though it's a flask app, it seems to be re-implementing large chunks of Django:

- Similar directory hierarchy including folder-per-app, templates, config

- A big settings object that gets passed around to things like Celery

- SQLAlchemy for the ORM/database glue, some other components for migration management

- Re-implemented authentication that has a very similar feature set to django.contrib.auth

This convergence reinforces that I should keep using Django or Rails for new web/mobile products. I find myself doing all of the above when using Go or Haskell for the same task.
Frequently Asked Questions: Submarine Cables 101
Not sure if a hipster's magazine could be an authoritative source.

The first paragraph told me that I should stop reading and what kind of Stoicism I would find below.
It makes no sense for North Korea to carry out such a public attack in an airport when they are already viewed so poorly as being a totalitarian state with a slave economy. They're corrupt, but they're not stupid.

This seems state sponsored, and considering all the conflicting reports, and various news releases is various countries, I doubt we'll ever know who really killed him.

In 30 years, declassified documents may even point to the US's CIA. After all the US did cause the 73 coupe in Chile, Bay of Pigs, Iranian Contras, the instalment of the Shah in Iran, MKUltra .. it would make sense that a State (US, South Korea, Japan?) sponsored this and did it because they want another war.
Why has the Git history been squashed for security? What in the history of this repo is sensitive? Were there passwords or credentials?
One thing I used to do was to badmouth my own code to my team during our team code review/chat sessions. It usually went that we would pick a problematic section of code from some project, we'd talk about an elegant snippet of code we came across (from any project we came across), and some interesting new things.

During the problematic code section if I was harsh they usually knew it was my name they were about to see in a commit log. It was a dramatic effect to prove the point: even the people who are supposed to be championing quality have a bad moment for whatever reason, no one is safe from shitty code or bad ideas and executions, and anyone can write something elegant and sneaky awesome. One bad commit doesn't make a shitty engineer, so don't go calling everyone else's code garbage. If you're really as good as you think you are you can fix it.
Keep in mind that this is the version 1 so might straddle the line between pet project and production.

IIRC, they built a version 2 due to various issues.

But, yeah, version 1 should definitely be built using tech that comes easiest to you.
> Cheap cotton […] fueled the textile industry, which was at the heart of the industrial revolution.

It's always been my understanding that _wool_ had been the early carrier of the industrial revolution? That by the time cotton entered that picture, the revolution was well underway?
One possible difference is his access to tailored research and treatment.

When Finnish geneticist Leena Peltonen-Palotie was diagnosed with rare sarcoma in 2008, her colleagues started big project to save her life. Her cancer became the "worlds most studied cancer" for a short period. They sequenced her genes and used large screening robot to test tens of thousands combinations of different drugs against tissue samples taken from her.

They actually fond a cure for the sarcoma she was diagnosed with, but the cancer had already mutated into a form that did not respond to the treatment and she died two years later 2002. I believe this might have been the first ever for this kind of large scale tailored cancer research. Weirdly enough I can't find any mention of this research effort in English speaking magazines.

https://en.wikipedia.org/wiki/Leena_Peltonen-Palotie
Cloudbleed should be a concern for everyone
Predictive Analytics
A Message from American University Presidents
tl;dr: ~5.3 years.

I collected all Wikipedia articles on American billionaires who died in 2008 - 2017: http://tools.wmflabs.org/dschwenbot/intersection/index.php?l...

That got me 74 results. I wgot the articles and manually removed the women based on related Wikipedia categories (turns out https://en.wikipedia.org/wiki/Aubrey_McClendon was a man, I would have removed him just based on the name).

Then I grepped the files for '"[0-9]\{4\} births"' to get the year of birth (this string marks the corresponding category). Two men didn't have a known birthdate, so I threw out their articles, too. This left me with the years of birth for 65 American billionaires. I got their years of death analogously.

After that I calculated their ages as the difference (yes, this could be off by +-1 year, but my method is not exactly rigorous anyway). The mean of these values is ~82.6. 29 of them are >= 86. The mean of those is ~91.3, or 5.3 years past 86. Considering the huge error bars, this is well in line with the general population average.
Any huge codebase will have some C at some point. You use Linux? It's in C. Plus they mentioned that they were trying to replace the vulnerable code before that bug happened.
It's probably going to cost you time, more than hardware, I'd honestly suspect? Any simple Atom-based NAS should really have enough "oomph" for like, a REST HTTP API that you can talk with. I have a 4x core C2000 about a foot from me that would do great. You can piece one together for a cheap few hundred $ (like $300 can probably get you something decent). But you're going to have to program all the shit together, that's consuming.

I've been looking at this for my home. Realistically I've just been spending a lot of time so far just modeling my database schemas so I can eventually put APIs on top of it all to talk with.

Mostly just make sure you pick some devices you can think you can interface with, have been reverse engineered, or get ready to reverse it yourself I suppose (which might be easier than you think, considering how bad embedded security is)...
I did something similar (not a router, but we considered it), and its not that difficult on the hardware side. Our home automation hub was just a Raspberry Pi 3, and had more than enough power.

If I were doing this just for my own home I'd probably get a half decent NAS capable of running Linux and then run home-assistant.io on it rather than building everything from scratch. Home Assistant gives you a decent UI, integration with almost any hardware you can think of, programmable automation, and an API to build against if that isn't enough.
Finance, News, Mail, Fantasy Sports, etc to name a few where they are still in the top three of the category.

Yahoo was never really a search company (even its founding, it was a "directory", not a "search"). Sure, they pretended fairly well from 2004ish (following their move off Google results) to 2009 (when they did the Bing deal), but the company never really nailed search or more importantly search monetization despite acquiring one of the first great search engines (Altavista) and the actual inventor of the tech Google stole for its cash cow Adwords (Overture).
What is it North Korea would lose by carrying out such an attack?

The DPRK already basically holds the people hostage for the aid they do get, so I'm not sure what further sanctions would be forthcoming from this.
Not to excuse this in any way, but that sort of sky bump is a rare event, which is why you can find a news story about it. And, also per that story, people can end up getting hurt in those circumstances even though they're seated.

Again, we don't have standing room planes for very good reasons. And breakdowns in safety protocols should be worrying. But as a one-off event, the incremental danger is actually pretty slight.
Step Functions is a massive improvement over SWF. As the author said, there are major differences and areas for improvement. Lifecycle management of state machines is pretty poor, especially considering that deleting state machines is hit-or-miss. You'll need to version your state machines yourself--which is still less painful than SWF versioning. Also, because there are no "domains" as in SWF, development can be more of a pain. The last SWF feature that would let me drop SWF completely would be signaling ("sleeping" a workflow until an event occurs).
I doubt that rumour is true, likely the team moved on to something else until 802.11ax comes.
Ah yes... you see it anywhere that people are closely matched and seek perceived "edges". Athletes wear their copper bullshit, Valley types take stimulants and psychedelics. It's a symptom of people not understanding the nature of survivorship bias, hindsight fallacy in general, and an inability to delay gratification for a greater reward.

There's nothing inherently wrong with the drug, but there's something inherently wrong with the behavior around it, by people who are so desperate for edge. Down that road ultimately lies Lance Armstrong, and East German women with beards.
Of course it doesn't. Risk (of an event) is an aggregate of the severity (of said event) and the probability (of that event happening). The damage is just the severity.

It is actually irrelevant in this case how risk is actually calculated from these two because almost no one actually calculates it before a plane ride. (Though it is probably calculated for heads of state/royalty/CEOs/etc..)
How Virtual Reality is revolutionizing businesses
From: https://www.federalreserve.gov/releases/z1/current/z1.pdf

"The net worth of households and nonprofits rose to
$90.2 trillion during the third quarter of 2016."
> 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.

A very interesting related book that I've read about that period and which I'd recommend to everyone generally interested in economic and social history is E. P. Thompson's "The Making of the English Working Class" (https://en.wikipedia.org/wiki/The_Making_of_the_English_Work...). I'm generally leaning on the right side of politics and economics (I'm a sympathizer of both Bentham and Benjamin Constant, who are not receiving very kind words in this book), but I found it super interesting and I find it intellectual honest to try and and understand opinions (and related facts) coming from multiple sides of the story.
But the specific HTML that causes the problem is a common error that can be seen on plenty of pages, and the window which the vulnerability was active for was huge. How could you know that someone is intentionally using that erroring page to exploit the vulnerability?
Normally the story is that you need certain institutions to make it work.

Rule of law (contracts, low official corruption), absence of arbitrary confiscation risks (ie the King is not going to suddenly come and grab your stuff), unfettered movement of goods/people/ideas. Generic ideas that allow you to compare across societies.

I actually studied economics, and the explanation of how growth arrived does not normally rely on slaves. It tends to focus more on the advent of early parliamentary government (Glorious Revolution), presence of coal in northern England, and advancement of science and technology.

There's no absolutes in economic history though, and you might well find an argument that the triangular trade aided the industrial revolution. That's more of a vignette that explains why England in particular might have prospered, rather than an explanation of how growth gets started in general.