skysight-inc/HackerNews huggingface dataset:
Netflix gets huge props for paying their engineers handsomely, especially the infrastructure guys. And they still spend more on content acquisition than they do on payroll. The fact that their lackluster catalog costs them more than a staff full of $400k/yr+ engineers and executives sheds light on the real problem: it's too goddamn expensive to get the licensing rights to show a movie or television show.

My wife and I own two gyms and payroll is our largest expense by multiple orders of magnitude. Every business I've ever looked at or been involved in, payroll has been the largest expense, often by one order of magnitude or more. The fact that licensing still beats out Netflix's payroll is insane.
I've used WordPress as a developer for over 10 years. It's hands down my favourite CMS because it is super flexible. You have access to the entire code base so if you want to modify something, you can!

>No version control
You can use SVN or git with WordPress. There are a number of tutorials online. You can use this for the WordPress core files, your plugins (3rd party and your own), your theme files, and even your Photoshop/Illustrator design files.
I put my theme php in a plugin, instead of in the functions.php file, which keeps everything compartmentalized.
I also use the underscores starter theme, and have built my own starter theme CSS files to go with that. This really reduces and isolates my custom changes.

>slow GUIs
I haven't found the GUI to be slow during production. I use a local install hooked up with git/svn. Choosing quality plugins carefully helps a lot as well. I've seen a slow GUI on low-quality hosting, but even there, using a great caching plugin and tweaking the zlib settings on the hosting account can often help. Following the recommended guidelines and enqueuing and concatenating js and css files is also good advice.

> bad GUIs,

I find the base GUI works well for users. I find that some plugins, and especially some third-party themes with overly complex options panels, can become unwieldy. I try to avoid those whenever possible. I try to make sure that users get the appropriate user role, which also simplifies the experience for them. I've also used third-party plugins to hide some admin options if users say that there is too much going on. That helps as well.

> over-reliance on 3rd party support,
As Endy mentioned, that's one of the benefits of an open source community. If you don't see what you like, you can build it. I think that one of the major obstacles isn't the number of plugins, but being able to spot the quality ones. Try for ones that have been around for a while, that have a large user base, that have developers who respond quickly and reliably in the forums.

> difficulty migrating to production server.
WordPress uses serialized data in its database. Whatever option you choose needs to take this into account. There are guidelines on how to move your files around on the WordPress.org site.
There are also couple of really good third-party plugins that let you migrate from local to staging to production servers with one click. I've used these a lot.
Another key element is to make sure that your local development environment matches your production environment as closely as possible.

I hope that makes you more optimistic about your experience going forward. I've tried quite a few CMS/ecommerce systems, but using WordPress has made my work easier, not more difficult.
“Reading, Writing, Doing” – [Episode #102] Make Money Online
No mention that the average wage in Tanzania is $45 to $50 a month? As a proportion to wage it is actually more comparable than at first glance.

As a solution though, I think we need reciprocity between drug regulatory agencies and open up drug sales between countries that have reciprocity. For example, if a drug is approved for sale in Canada it should be purchasable by people in the US and visa versa. It would allow competition between regulatory agencies (which should in theory make them more efficient because they have to compete) and lower the cost of bringing a drug to market because you no longer need to get approval in as many countries. Which in theory should lower consumer costs.

Combine that with transparent pricing so that everyone knows what the costs are before they need to make a purchasing decision and we might be part way to a solution.
The answer is that we buy health insurance, not health care.
Ben Godacre's book Bad Pharma is pretty good.

He points out that a large % of this R&D cost is actually marketing.

A lot of R&D is also spent on taking existing drugs and subtly changing them so that a non-generic one can be launched.

So it's not as cut and dried as it seems.
> It's unclear to me why another drug manufacturer doesn't come in and undercut the price.

From the sound of things these diseases were until very recently isolated to poorer countries. Even today, with the increased number of cases, there might not be enough money to be made based on a few sick North Americans to justify tooling up to make a new drug. (Some of that is about FDA regulatory approval, but not much since it's not a new drug. They'd be manufacturing something that has already been tested and approved.)

Ideally the drug company making this thing would just stop being boneheads about pricing. Having this in the news will probably help.
Au contraire, we'd be connecting to the internet with _extremely_ expensive equipment. See https://arstechnica.com/tech-policy/2013/02/why-a-one-room-w...
Another tip - if you just let the steel cut oats soak overnight they will cook in ~50% of the time the "old fashion" way
I thought this was going to be an article about the marijuana industry and the rise of e-cigs. In fairness, there's an interesting article to write there too..

EDIT: Great idea to write an article like this right before the holidays. Sometimes I wonder if the author owns stock in the companies they are basically promoting...
It's funny this came up today. This is my five year old: https://photos.app.goo.gl/SkK1T0FZwpx5DeWO2

She was helping me solder together this robot kit. I asked her to wait a minute while I ran downstairs to get my camera. When I came back up, she'd decided to just do it by herself.

Right after I took this photo she yelled "Mommy, Daddy is letting me do something really dangerous all by myself!" :P
Chrome 63 now forces .dev domains to HTTPS
https://signal.org/blog/whatsapp-complete/
https://news.ycombinator.com/newsfaq.html

Can I post a job ad?

Please don't post job ads as submissions to HN.

A regular "Who Is Hiring?" thread[0] appears on the first weekday of each month. Most job ads are welcome there. But only an account called whoishiring is allowed to submit the thread itself. This prevents a race to post it first.

The other kind of job ad is reserved for YC-funded startups. These appear on the front page, but are not stories: they have no vote arrows, points, or comments. They begin part-way down, then fall steadily, and only one should be on the front page at a time.

[0] https://news.ycombinator.com/user?id=whoishiring
You know how it goes with China and you know how it goes with Chines cars...

http://www.cartoq.com/50-copy-cat-cars-from-china/
> working

Well, yes, it'd be horrible to burn a working system to the ground.
Thank you for this. I couldn't have said it better. I think "jelling" is necessary, but doesn't have to happen all 5 days of the week.
Stocks are also traded on many different order books [1], each of which will have different prices, so the quoted price is just as made up (although usually by ignoring all but one venue rather than averaging across them).

Also worth noting that for both stocks and cryptocurrencies, the price that is shown is almost always the last traded price not a quote for a price you could trade at anyway.

[1] in the US, for example: https://www.sec.gov/foia/docs/atslist.htm
Please let us know what is "working" for US citizens about the current system.
Same here. How does file swap (cf. https://wiki.archlinux.org/index.php/swap#Swap_file_creation) could help out to let an underlying file system distribute the usage of the ssd? Combined with recreating a swap file on every boot (say on a frequently booting desktop machine), this could make a difference.
indeed on ubuntu 16.04 64bit, when my chrome has 20+ tabs, some new tab could trigger a memory thrashing, that uses up all the memory and eats up a few GB disk, cpu load jumps up to 10x, the computer basically becomes unusable.

i would rather a OOM kill the chrome process in this case, it wastes less time on me, a re-open of chrome will keep all the histories anyways.

also on embedded system where the RAM is fairly limited, and no hard drive attached, and its storage is measured by MB instead of GB, you simply can not have the swap partition.

I want to run the system without swap actually.
Karratha?! I was south of Perth - maybe it was the same ones! I went to call the observatory, so I dialed the operator (remember operators?) and she said "You saw the lights too? If you find out what they are, call me back!"... I never got through to anyone though and just let it go.
Oh shit, git: Getting myself out of bad situations
I think partly people want an explanation for why women's participation in tech has declined so much since the 1980s. Consider:

----------------------

Suppose there was overwhelming evidence that 95% of women were terrible at technology and 5% of women were awesome at technology. There are roughly 7 billion people on the planet, roughly 3.5 billion women, roughly 1.5 billion women who work outside the house for a wage. In this scenario, where only 5% of women love technology, there are 75 million working women who are awesome at technology. According to the Bureau Of Labor Statics, the USA had 1,256,200 software developers in 2016. The BLS also tracks some other minor categories, such as Web Developer, which have about 150,000 jobs. Lump all the sub-categories together, and let’s say there are 2 million such jobs in the USA. Let’s be wildly generous and double the number for the EU, and triple it for Asia. That gives 12 million software developer jobs in all of the advanced and developing economies. So even with exaggerated assumptions about women’s inherent weakness in technology, we still end up with a scenario where every single programming job in the world can be filled by a woman who will be awesome at the job. There is no need for men, at all, in the tech industry.

http://www.smashcompany.com/business/business-productivity-h...
Refactoring Algorithmic Code Using a Golden Master Record
A good way of validating an idea is to look at empirical evidence, or the results of the application of that idea in other places.

A good example of this is the current tax debate. Republicans claim lowering taxes is a great way to "jump-start" the economy. But if you look at Kansas, a state that has been running that experiment for half a decade, you realize that it's a terrible idea.

https://www.npr.org/2017/10/25/560040131/as-trump-proposes-t...
I'm not going to disagree with the article, because I haven't done any testing myself that would suggest that the point made are wrong. I do however find it amusing to login to a system with 32 or 64GB of memory with a 2GB swap. It seems humorous that those 2GB should somehow do anything if you already used 64GB of RAM.
I personally would write a simple plpgsql stored procedure, but I would not trust user input and only allow a defined set of colums from a defined set of tables.

Sure, you can limit it to a single table and to a certain set of columns e.g. A B C D E. Can you give me an example of a simple plpgsql stored procedure to do this?

you can have lots of dynamic sql but that might become a rabbithole, just as with an ORM

That's not my experience. In a language with good introspection and/or where most entities are first-class, you can do this rather easily. In Python that would take two or three short lines.

It sounds like a problem you shouldnt have

This is a bit of a cop-out :) allowing the generation of simple reports configured by the user is a typical need for us.
> If, on the other hand, you just mean 'killing'

I don't, I was going for "things everyone, pretty much everywhere, accept as evil".

>but it's ridiculous to describe 'people criticizing me on the Internet for what I say' to 'censorship'.

First of all it's not "people criticizing me", it's "people applying a detramental label to me". And, no it's not (yet) government sanctioned censorship but I'm sure you realize it has an effect of shutting down the discussion.

>and to allow them to advocate for others doing the same. What exactly do you mean by 'mobbing'?

But in modern times with social media, I think we need to begin to realize that this is too much power for individuals to have. Anyone can simply decide that someone is bad for any reason and all and then advocate for others to get them fired, boycott their business, etc. To apply these kinds of consequences to people used to require going through the justice system.

>Are you really going to compare online speech to physical violence?

That's not what I was talking about here. I was describing a case where a group of people started deciding what kind of speach was ok and how that turned out. If there were brown shirts today they wouldn't engage in those tactics, they'd probably get lots of online accounts to brow beat and shut down any conversation they don't like. It would probably be even more effective than trying to go beat everyone into submission.

>How do you determine which of those are 'unambiguously evil'?

I go with well established societal consensus.
Project Betfair, part 7 (an HFT market-making strategy for Betfair in Scala)
1. The vast majority of the cost of FDA regulation is in ensuring the effectiveness of medicines, yet whenever someone defends the purpose of the FDA they cite examples of medicine safety.

2. The FDA keeps arsenic out of our medicines and that's totally related to fulfilling arbitrary and expensive effectiveness regulations! Ineffective and dangerous medicines like fen-phen getting through just proves we need more regulations! Baaa!
How did the situation evolve since 2014
+1 for spectacle, keyboard shortcuts are now muscle memory, can't live without developing on a single 28" 4k monitor.
Older Adults' Forgetfulness Tied to Faulty Brain Rhythms in Sleep
بث مباشر اون سبورت
I mean, incidents do happen:

https://pics.onsizzle.com/why-im-not-allowed-to-cook-dinner-...
Cargo cult system administration.

No, you should not 'almost always add swap space'. What you should do instead is tune your system for its intended use.

If you need swap as an 'early warning system' that you're about to run out of memory you're already doing it wrong and the OOM killer is a piece of code that has default settings that can be tuned, ditto for the virtual memory manager in the kernel.

http://www.oracle.com/technetwork/articles/servers-storage-d...

https://access.redhat.com/documentation/en-us/red_hat_enterp...

Select appropriate equivalent for your kernel where applicable, and don't forget about the per-process limits in ulimit.

This sort of 'almost useless' advice is pretty annoying, it shows that the writer has an interest in the matter but didn't bother to dig in deep enough to make the advice truly useful.

Also, the comment on that article that implies that swap will allow you to update a running process because it is backing the image is wrong, the backing is simply done through the filesystem and swap space has nothing to do with it. The practical upshot of which is that you're not going to be able to reclaim the space held by the binary if you should remove it because the 'file is busy' until the last instance of that process exits. In the meantime, if you really want to run the newer version under the old name or path then you're free to unlink it or 'mv' it to a different location and to start the new binary from the default location. On some Unixes you can even overwrite the binary using an mv command making it look like the old one has disappeared but again, under the hood it will still be held open, you can check this using lsof or whatever is your local equivalent to see that the file is indeed still present. In a pinch (and you really really have messed up if you ever need this trick) you can re-link the running image by hard linking to the inode.
"Buy Bitcoin, hold Bitcoin, buy some more Bitcoin."

It'll work until it suddenly doesn't.
How to Create a Design System in Sketch (Part Two)
A whitepaper is not a contract. It's a description of "what does this do and why should you care", i.e. literally the thing you're buying into in an ICO.
They have different rules than we do. Adjusting rules is fairly easy: change the bloody FDA. Agency lives at the pleasure of administration. We had (D)s in control of all three branches of government. Now we have (R)s in control of all three branches of government. The reason why this is not changing is because a compelling case is made that the current rules for !Garbage are better than the proposed alternatives.
SSH browser and Rsync transfer engine
The median monthly household income in the U.S. is $4710.

The difference is two orders of magnitude.
if your treating bitcoin as anything short of gambling, you probably in for a big surprise one day.
For machine learning in general, there's NIPS, ICML, and JMLR. Nowadays these conferences/journal have a nice mix of theory and practice. For natural language processing the top ones are ACL (NACL/EACL) and EMNLP. The computer vision it's CVPR and ICCV. For robotics (which uses lots of machine learning) it's ICRA and IROS. IEEE may also have some relevant material.
Looks like i really didn't - sorry.
250K insurance is fairly low, for some bitcoin accounts.
Ask HN: Packt Publishing is down?
503 errors for last few hours while trying to access account and cart.
Crypterium – Cryptobank for Cryptopeople: only 14 hours left, door closed
Elon, raise your hands and back away from the keyboard. No one has to get hurt.
In the examples you gave, they were huge markets and they were ripe for disruption. As the article laid out, most of the drugs which have experienced this huge hike are ones with very limited markets. It’s not worth it for a pharmaceutical company to jump into a new drug with almost no market for it.
I studied all this stuff in university during the dark ages, and still have to do a double take whenever I see “nm” measurements. These things are atomic scale, and we use them all day long as if nothing happened.
Social Selling Definition
Interesting, I sort of remember an interaction with NUMA as well. I don't believe this is a bug, just a miss-understanding of the way the underlying system works. From what I remember when swapiness is 0, there are lots of reports of processes that use more than a single NUMA node worth of memory getting killed by the OOM killer, even with plenty of free RAM available. I unfortunately don't remember the details, but this prevented the memory from being able to be allocated to the additional node.

I've heard of this mostly with mysql, where it's common to have a big server with lots of RAM, but a single large process that uses most of the system RAM. The way we got around this, was by setting the process to allocate interleaved among the NUMA nodes.

I'll have to dig into the overcommit.
Not just ubuntu. We tell our engineers to remove their swap partitions because sometimes the test suite will consume all remaining memory and push into swap. If that happens, pretty much the only thing you can do is a hard poweroff. If you're fast, you can Ctrl+C and only lose a minute or two, but often you're just completely stuck.

Much better to OOM and have the test suite killed early.
So there's no way for a company to compete on how to hit that price threshold while still turning a profit?
s/plaintiff/defendant/g # my bad
Over the past week, a series of articles from the Guardian about the UN report on poverty in the US were posted to HN. It breaks my heart when the richest region of the richest country seems unable, or unwilling, to solve its vast inequality problem.
Not if there is collusion or cartel pricing. There are also regulatory means of limiting competition. The basic economics notion works in a market that is mostly free. I suspect that most things related to the American health care system do not qualify as a free market.
In the US, copyright law says you own what you create. What AOL's TOS must do is provide you with terms under which you license your stuff to AOL. Nowhere in the law does it say they have to give you a way to export the creations that you put into their system.
We have one very interesting and totally unregulated market that is quite similar. The market is cosmetics and beauty products. As long as products make no medical claims it is total buyer beware. I seriously doubt anyone in the United States wants that to be applied to medicine and medical instruments.
but the delays are the problem.
take your brain force!
You can get the book for much less on amazon[1] though for a reasonable price (including a look inside). There is even a direct link to Amazon on his website.

[1]: https://www.amazon.com/How-Sharpen-Pencils-Theoretical-Contr...
Would you say, then, that the industrial world is more "formal" for lack of a better word? Or maybe just more realistic in your opinion?
In line with the enduring trend of public discourse, all nuance is cast aside.

We self-evidently need regulation of medicines and medical devices, at least until we hit some glorious future utopia of flawless consumer knowledge. Otherwise, people will come along, and they will sell products and devices that will harm people, and they will do it by lying about them and covering up their problems.

On the other hand, it's possible that the relatively slow pace of regulation and medical testing could cause problems bringing potentially beneficial treatments to market. This might represent an excess focus on safety at the expense of the benefits in access to new and innovative treatments.

Naturally the argument should be something along the lines of "I think we should reform medical testing to enhance the availability of innovative treatments" versus "I think that the loosening of medical regulation will result in an increase in the harmful outcomes of dangerous and untested treatments". Both ideas that are totally reasonable to think might be the case, and for which you can imagine undertaking some kind of evidence-based process to establish if reform is needed, and if so what form it might take.

But of course, snark is much easier.
My point is about game development in general, not one exact game. The fact that in general, you make a trade-off between performance and features doesn't excuse the fact that there are actually bad games made by bad developers out there - in fact, I usually work in legacy codebases and have seen many examples first-hand.
Medications blow electronics market out the water.
Correct, if you were to go purely by the wages, the pill should cost $4 in the US not $400. It is still high, I was just pointing out that there are market differences. And to expand on that, the illness the drug in question is more common in Tanzania (per the article) so I can only presume the drug company can sell an order of magnitude more and might actually be making almost as much profit in aggregate on that $0.04 as they do the $400 here.
I thought there was no 3D parameterization of SO3 that was singularity-free, except maybe axis*angle.
Divorce Is Making American Families 66% Bigger
Is Anonymous up to its old tricks
> unless you take the slow tube.

That's competition, no?
Its a good question, but the swap advice is suspicious. If I would normally purchase a 4GB of ram instance with 4GB swap, then what happens when I purchase a 8GB instance? Do I still need 4GB swap? Hopefully this helps illustrate that it is really the applications you intend to run and the swap doesn't mean the system gets more efficient
Bad example. That's one ICO I would actually buy into myself if I discovered it in time. I'm a believer in timely executed jokes, much like many other people on the Internet.