skysight-inc/HackerNews huggingface dataset:
If the pill retailed for $0.04 in the US could the R&D be recouped?

Americans should feel good about high drug prices: that's your aid to the Third World right there. Not the most efficient technique but still better than not doing it at all.
Microsoft's AI chief says the technology isn't the biggest hurdle – Axios
If you live in a household that cooks rice once or twice a day every day, it's easier to have a dedicated device. If it saves you 2-3 minutes each time because you don't have to measure the water or watch the timing, then it's worth it after your 300th pot or so. If you eat rice only occasionally, then it's probably not worth it.

I did, at one point, have a multi-purpose rice cooker that had all kinds of setting similar to an instapot. I could put rice, mean, veg and cook the whole thing without attending it. It was nice, but when it broke down I didn't replace it.
Bitcoin: North Korea Targets Cryptocurrency Executives
may as well create and sign the transaction on paper also.
> I don't have to explain what I did with my money. I have the presumption of innocence. You don't get to trawl through my financial records looking for a crime

Do you think you have to pay taxes? If so, the government needs the authority to confirm that transactions are properly accounted for.
LinkedIn open sources website troubleshooting tools – SD Times
Government maintained track system that lease track access to private companies is problematic system because of several points where that relationship breaks.

1: Rail maintenance dictate quality, but is shared between all competitors.

2: Rail is located on ground owned by the government. There is no practical or legal option to operate a private rail network.

3: Lack of distinguishable features to compete, high barrier to entry, and a limited number of companies create an environment thats prime for oligopolies. High price, low service.

In contrast to Internet service providers which:

1: Quality of service is generally not dictated by
the back bone network.

2: Government tend to grant permission and funding to the first ISP that want to dig into government land to plant cables, but then deny completion afterwards and allow natural monopolies of those that were first.

3: Low barrier to entry could allow for many ISP.
Inside the Natural History Museum's mission to archive 80M items
Cool. I wonder if anyone has tried to do the transaction signing procedure manually.
Java Developer
We require:

Knowledge of Java programming language, Spring/Hibernate frameworks
Experience with databases and SQL
Communication skills
Good knowledge of English (communication and documentation)
Good mood :)
Bonus points for:

German language
Interest of processes, optimization
Good mood :)
As a reward:

Highly professional and ambitious organization
25 days of holidays
one day of home-office every week
meal vouchers (109 CZK per working day)
covering the public transport in Prague
language courses (Czech, German, English)
multisport card
free refreshment at the workplace
Opportunities for further development through workshops and training courses
Friendly and supportive work environment with fully stocked fridge and great terrace in the middle of the Prague! :)
Start date: Immediately

P.S.: Our team is looking forward to you! :)
Google to Shut Down Project Tango in Favor of ARCore
I always see people caring way to much about the amount of swap space used and not enough about the swap activity going on. It isn't the amount of swap space that slows a system down but actual swapping in/out of memory pages. In vmstat you want to pay attention to the "si" and "so" columns and in your alerting/graphing you want to keep track of the values "pswpin" and "pswpout" in /proc/vmstat.
If these are almost always exactly or near zero then that means the fact that some memory pages are swapped out has virtually no impact on the performance of your system.

There are two other important issues to take into account though.
1) Even if the memory pages swapped out are not accessed generally they might be forces back into memory because of some specific action. One example is a database that has all the hot records in memory but other records that are accessed only very rarely swapped out to disk. In general everything will perform fine in this situation but the moment you do e.g. a table scan and a lot of these records need to be moved back into memory you might see a disk I/O peak that might be quite a kick on the neck for overall performance if the database is really busy.

2) If you don't have any swap space configured you might still run into problems with swap which seem to be caused by a bug in the memory handling in the kernel. I've seen this on some KVM hypervisors which were CentOS 7 systems. These systems were equipped with 128G of RAM and had two virtual machines running which both were configured with 32G of virtual RAM. They ran fine until one day the kswapd kernel process ran with 100% cpu usage even though no swap swap was configured whatsoever (to avoid the situation mentioned above). The "fix" was to dump the systems caches with "echo 3 > /proc/sys/vm/drop_caches" which seemed to calm down kswapd again. As best as I can tell what happened is that the system used all the free ram for the page cache and buffers and when the system needed some memory it apparently prefered to swap pages out to disk (even though no swap was configured) rather than reclaiming page cache of which there was plenty to reclaim. Unfortunately that means there seems to be no bulletproof way to say "only use physical ram and never try to swap anything out to disk".
Even /proc/sys/vm/swappiness can be dangerous as a value of "0" doesn't actually tell the system to only swap if absolutely necessary but can lead to OOM situations even if swap space is still available (see https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux... for details).

TL;DR:
1) Don't just pay attention to the amount of swap space but to actual swap activity over time
2) Be aware of corner cases and bugs relating to swap
> It’s just there for people who can’t afford more RAM

So I should throw away my 5-year-old notebook that's still working perfectly fine just because the RAM is soldered in? Doesn't sound like efficient resource usage (both money and rare earths).
Can also be prevented by rotation composition order of Y,X,Z (where Y is up and Z is forward)
Thanks for the explanation. This clears up a lot!
You're right, I should have said "usually inherent". But it's a major reason for using quaternions.

While you stress the case of gimbal lock occuring within a single rotation, which is typically due to the use of Euler angles, there is also the problem of gimbal lock emerging through the composition of two or more rotations in matrix form. I'm vague on this point but AFAIK this problem can arise with rotation matrices whether or not Euler angles are used. Choose three successive unlucky rotation axes and you've got the problem.

This seems to get so complicated. See e.g. https://en.m.wikipedia.org/wiki/Davenport_chained_rotations
Sure, but what is harmful about the statement.

Dear person, who watched $show $number of times in one $time, $snarky_comment?

Netflix themselves might know who this person is, but there's no way anyone reading the tweet is going to be able to link it back to a specific person. Are you concerned that Netflix can query their own data?
Or maybe not including some sort of fat to prevent foaming...
I think you are jumping to a conclusion without having enough supporting evidence.

Regulation on drugs didn’t suddenly get 8,000x more expensive for drug companies in the last few years.

An alternative theory, which I can’t prove any more than you can prove yours, is that due to some pharmaceutical companies realizing they were leaving serious money on the table, they tried hiking prices. Once they realized there would be little repercussions, all jumped in and we have a new industry norm.
Edit: yes, based on our current position Export from US->Other Country->Import to US for medicine violates "Not Garbage" state. It is no different than importing USB chargers that sell in China for $1.02. We do not want the vast majority of the population engaging in this though those who know how to are allowed to do it themselves.
When running an instance where the biggest process is a garbage collected runtime, one does not want any swap at all. If the garbage collector is forced to walk through all of the pages in swap hunting for live references, performance is terrible. It is better then to have the process see only as much virtual memory as there is RAM in the system. It is a failure of Unix/Linux that there is no sensible API for managing real RAM from the point of view of the process.
While in general I agree with you that is not the case here. The drug's patent expired decades ago. The issue is that there is only 1 US manufacturer giving them pricing power.

It's unclear to me why another drug manufacturer doesn't come in and undercut the price. This is what happens in most other industries. My gut suspects the arduous FDA approval process, but I have no real evidence for this hypothesis.
How would you apply user-configured security rules in the database?
> Smartphone manufacturers sell mesh-first mobile devices for the developing world

I hope puri.sm is listening. This is what I want my Librem 5 to be!
Albendazole was developed in 1975. The R&D cost has been recouped ages ago.
Ask HN: What databases are cool kids using today for microservices architecture?
- Scenario involves building a platform where relational queries, aggregation, large paginatd lists are unavoidable.
- Data can be stored as json objects.
- Same database software (not db instance), will be the choice for multiple microservices involving users, orders, catalog etc.,
- Most of the micro services are written on nodejs.
- Small memory footprint, less db administration preferred.
Honestly, github and video screen are way more informative. Usually through cyclops.io so we can jump into whiteboarding or screen sharing.

If there was a way to have a single hosting platform. Where candidates could create 90 second video intros of themselves. Describing their projects, interests and personal and professional philosophies. With links to demos, apps, etc. A lot like YCombinator startup candidate videos. I think that could be tremendously useful! Best of luck ;)
"powerful", "really slick", "awesome". For a tool aimed at developers, I'd surely enjoy more technical terms.
Lockheed Martin teams up to build supersonic business jet
The issue is that there is no real competition for drug pricing in Canada due to the fact that the Canadian government imposes price controls. You are, of course, free to argue that this is a better way of doing things. But it's not "competition."
> per-day file bandwidth limit of 2000.00 MB

Doh.
I was thinking about doing something similar as an experiment, do you have any good resources to get started?
You should be securing your code (audio)
Even though I prefer accessing my mail and notes through IMAP, and my calendar, contacts and files through DAV using native apps on my computer and phone, I love using Fastmail's web user interface. It's fast, it's responsive (UI is simplified on mobile but it's still the same design; not an alternative layout) and it looks really good.

Site is down because of bandwidth limits. This is also a Fastmail feature: you can serve a directory uploaded to your file storage through HTTP. Even though there are bandwidth limits, it works as an alternative to GitHub Pages or to just make available some files you want to share with multiple people. However, it seems it doesn't survive a Hacker News hug of death.
Yes, this is true. There are other things that would change too. We could have these (or other) pills for pennies. However, we can't have a 24 hour drive through pharmacy on every other corner and an Urgent Care on the other AND pills for pennies. Yes, the companies are making tons but a lot of that money pays for people to make it convenient for you to get your pills. And as someone else commented, we are basically subsidizing the pharmaceuticals for the rest of the world. (But before you get too upset about that remember we also get slave labor in China to build our iPhones and TVs that now cost comparatively nothing compared to if they were made here.)
I haven't written very much SQL in my career, there is quite a lot of development that doesn't use it.
Do you know that you can debug HTML elements?
would I be able to create a turn-based deck building game from? Me and my friends always wanted to create Tanto cuore out of it.
The US Internet model of "growing responsibly" in response to demand works. That model is also illegal in nearly every U.S. city. Municipalities require you to cover every neighborhood within some usually comically short time frame like 5 years. Indeed, US Internet has come under fire for this: http://www.citypages.com/news/us-internet-appears-to-be-redl....
Easier to replace a C+ founder in an A+ market then figure out what to do with an A+ founder stuck in a C+ market

That's a great way to put it and encapsulates a general frustration I've had.
Uncertain Inheritance: Epigenetics and the Poisoning of Michigan
You're not really helping anyone if you die because you can't afford medicine.
Presumably, other first world nations also regulate drugs. Are the drugs as expensive in those nations? If not, why not?
Because there is no price the competitor can charge that the original supplier can't match. There is no profit to be made, unless there is only a single manufacturer.

Also, it's difficult to acquire approval needed from the FDA to demonstrate the new drug is safe and equivalent to the already approved because the original producer won't cooperate and provide relevant samples to their competition so they can demonstrate equivalence.
I couldn't find any info on his Wikipedia page about him working for the CIA.

Haven't read the linked article, but for a tl;dr, how reliable are the accusations, and what are the sources?
In my experience, I think engineering swap usage is more complex than this article leads on. While adding more swap may make sense for many systems, I've personally worked on several systems where disabling swap made a huge difference. It's just one of those things where there isn't a hard rule.

One of the issues I've encountered more than once with Java software, is what appears to be longer than expected pauses in the GC, that I've linked to swap usage. The theory is, if you have a reference that lives long enough to get promoted to an old generation, but then is released, the memory in question won't be used for quite some time. This can lead the kernel to detect the memory pages not being used, swap them to disk, but then when it's time to do GC, the process is just frozen while the GC is running and get's backed up. Depending on the workload this might be fine, however, on both the platforms I encountered this issue on, were real time applications which were engineered to have available memory for the application and did (and also had no benefit from using the free'd memory for IO cache). So in this case, disabling swap had a real and measurable performance boost for us, getting rid of some of the variability in our GC runtime and pauses.

Under low memory conditions I think is also subjective. So if I'm a distributed / highly available system that's doing message routing in a telco environment, I would rather have the OOM killer kill the process, and failover to a backup, then for the system to be up but unresponsive because it's spending a majority of it's time swapping too/from disk. Again, this totally depends on the platform.
Typical socialist answer. Burn a working system to the ground, so everyone suffers equally. At the very least the current system allows poor countries to enjoy cheap excellent drugs, researched and paid for by the wealthy western countries.
Right, they are not separable. They feed on each other. The only one that is fungible is timing/luck since being in SV gives you the ability to make luck with the VCs all invested in the (largely) the same bets.
How often do you experience power outages? I don't think it does, but I don't think it needs to either
The reconciliation is that some countries have what appears to be perfectly adequate regulations to address #1, but much smaller effect of #2, suggesting that some aspect of the US regulatory environment is suboptimal.
Did you read the rest of what I wrote?

Because the rest of what I wrote explains exactly why this is a lie.

Paying out 75 cents on the dollar does not mean they aren't propping up that corrupt system. Spotify likes to repeat this line about payouts as if it absolves them from any blame in a system where artists can't make money from their recordings.
This is dangerous advice. At least on Ubuntu 16.04 with stock kernel running due to memory pressure into swap kills the systems. Basically everything times out and you can only hard-reboot. Without swap you have an OOM at least something you can recover from. If you need swap just add a little like 1-4gb - because if you have spinning disks 64gb swap won't help you at all because every request to swap is magnitudes more slower. Might be different with NVMe but it's still noticable.
I enjoy having the option of buying drugs that are covered by strict regulatory controls. I understand that there is a cost associated with this.

If I choose to forgo that cost and roll the dice that I am getting arsenic as medicine that should be my prerogative.
Some photos from the Web Summit
Scalable realtime blog recommendation using neural nets with Vespa
The problem is that bread comes in different shapes and sizes and a lot of us like bread with a good crust. Not that I've used one in years but my recollection is that bread makers didn't handle any of that very well (nor did they really knead effectively).

They were fairly popular at one point but they've pretty much fallen off the radar--I expect because they don't really make very good bread.
It contradicts basic economics. If you raise prices 8000x and I will go into competition with you and raise prices 7999x i.e. do what MCI did to ATT and Vizio did to Samsung.
I'm aware of a general screaming into the void complaining here, so I'll add two different comments.

About the article:

Very interesting idea, and the Replay is a fascinating and in hindsight obvious way of being able to quickly test out new approaches without waiting for the data collection.

Screaming into the void:

If you're able to do all this, why do you still write "NEW EPISODES" on the thumbnails of shows you know I've already watched? Why do I have broken images constantly in my android app? Why can I not turn off autoplay of trailers (meaning if I don't want to have things spoiled I need to keep flicking around)? Why do you suggest I watch things I've 1. Already seen and 2. Told you I hated?
Articles like this is when you doubt whether journalism even deserves to survive (it does, inspite of the abundance of these poorly written, never researhed pieces). CNBC is a larger network, not the weekly paper in a small town. Why don’t they have someone with a bit of knowledge in cars or tech edit an article like this? Can they really not afford that?

There is barely any info on the car and the little info they give is obviously wrong. Why do they compare it to model X and not model 3; is it because its specs are simular to model X? Doesn’t look like a van or SUV at all.

Edit: here is a better article on the car with relevant info: https://electrek.co/2017/12/16/nio-es8-all-electric-suv-batt...
Unilever is actually 2 companies:

https://en.wikipedia.org/wiki/Unilever#Legal_structure

Unilever plc and Unilever N.V. ...operate as nearly as practicable as a single economic entity, whilst remaining separate legal entities with different shareholders and separate stock exchange listings
Said the king, before the guillotine fell and decapitated him
It's mostly satire, but of the best variety. He spoke at my university a few years ago, he definitely knows how to entertain a crowd.

https://www.youtube.com/watch?v=KabOfnbS4TQ
Adani cancels $2bn Australia coal mine contract amid cash crunch
I would like this. Often I want to flag an article because I feel it's of poor quality, but refrain from it because the mods might think I flagged it because of some partisan reason and my flagging rights will be taken away.
GraphDB is your only choice. But if you really really want to be part of the cool kid's club: BlazingDB.
Presumably there is other R&D to be done on other drugs? Or is the company making $399.96 profit on every pill?
Cortázar wrote some stories like "how to climb stairs."
And it is - you can import those drugs just fine. It simply means you have to jump through some hoops.

What we do not want as a society is that the guy on a corner stall that sells $4.00 USB chargers that may or may not explode sell a million pills to little old ladies which may or may not do what they are supposed to. This is the current societal contract.

[Edit:] Now I personally think we should live in the more Darwinian society and in my view we should allow dude on a corner sell pills just like he can sell chargers and should some benefit manager buy the pills from the corner dude from Nigeria without vetting the corner dude from Nigeria and his suppliers and therefore killing and maiming a few thousand old ladies, we should throw the book at the benefits manager and not the corner dude from Nigeria (who should be thrown a book based on fraud and not manslaughter) but that's just me.
I must admit that I've inherited two messes where someone used NHibernate as a replacement for SQL. In both cases, the schema was excruciatingly simple but the code performed excruciatingly poorly.

In once case the project was canceled, in part because it was so late due to the developers not knowing how to use a database. In the other case I put my foot down and removed NHibernate. The schema was so simple that it was just easier to put a few extra minutes into boilerplate code than to put time into learning a new thing.

I'd really like to see a good writeup about the use cases that tools like Hibernate excel at. The problem is that, in both cases, I had to work with a high-level manager who had very bad assumptions about what Hibernate can and can't do.
Why downtime? A developer commits their code, the CI server builds the code, run non database dependent unit test, it gets deployed to the integration environment, automated integration tests get run - fewer in number somewhat slower - it gets deployed to the QA environment and goes through a round of manual testing (sometimes), QA signs off and the build gets deployed to the UAT environment and waits for the business owners sign off, then we turn off the A side of the load balanced farm and it gets to deployed to the A side of the load balanced production servers, it goes through a round of smoke testing (automated and/or manual) and once everyone is satisfied, we make A live, set the load balancer to use side B and deploy to B.

All of the manual sign off steps are integrated with the automated release pipeline. As soon as the required approvals sign off, the next step of the pipeline is done.

Rolling back is just redeploying the previous released version. Branching, source control, etc is also a lot easier when all of your business logic is in code and you don't have to sync up the "right" version of your source control with the right version of your stored procedures.

Of course this is even easier when you're using a NoSql solution where your schema is also defined by your class models. But that's another discussion.....

Of course this doesn't have to just apply to code. With things like Packer and Terraform you can do the same with infrastructure. Automated infrastructure deployment is not my expertise...yet
How a Self-Driving Car Learns to Drive