skysight-inc/HackerNews huggingface dataset:
Please keep HN threads free of religious flamewar. The parent comment wasn't particularly substantive but veering into general litigation of (biblical) religion definitely leads nowhere good. All such discussions are the same and therefore off-topic here.
5G has proven to cause a increase in tumor rates in male rats during testing. So I understand some desire to block this technology until better understood.

Cancer is increasing at an alarming rate - could be from many many factors but worth understanding more before just allowing wide scale deployment.

I'd rather live with 4G versus 5G and cancer...
> zsh also performs much better in practice than bash. Not only does it run the same code faster, it subsumes a great deal of functionality that normally requires external utility calls (which are very slow) into the shell itself.

For the uninitiated: Zsh parameters expansions and globbing (called "filename generation" in the docs) are beautiful. As I said above, I don't write Bash scripts, I write Zsh scripts, and this kind of thing is why:

% cd /tmp
% mkdir example
% cd example
% touch foo
% touch bar
% mkdir "my documents"
% touch "my documents/baz"

% tree -N
.
├── bar
├── foo
└── my documents
└── baz

1 directory, 3 files

% for f in **/*(.);
> do echo File ${f:t} lives in ${f:A:h}
> done
File bar lives in /tmp/example
File foo lives in /tmp/example
File baz lives in /tmp/example/my documents

> Like what? I'm not sure i'd noticed that myself. Sometimes the documentation is vague, maybe hard to find (e.g., the completion system's documentation is a bit overwhelming), but it's always been there when i went looking for it.

Fair enough. Although IMO "vague and disorganized" is just as good as "nonexistent". Just try reading the docs for `autoload`/`typeset`/`local`, or `zstyle` [0], or `zmodload`. The whole thing badly needs to be tagged and reverse-indexed by functionality ("how do I accomplish X"), not by flag ("what does foo -q mean?"). I wrote a long comment about this kind of documentation recently [1].

> The plug-in ecosystem (i assume you mean OMZ, zplug, and stuff like that) is entirely unofficial and most of the zsh developers don't seem to care for any of it because it tends to be slow, error-prone, and often just unnecessary. It's also a major support burden for the people on IRC and in the mailing list, which doesn't endear them to it. Might be cool to have something official though.

Yes, this. It seems like everyone and their mother at one point decided to try to write a "package manager" for Zsh.

But I think the problem with these unofficial plugins is mainly that sourcing thousands of lines of shell script on every terminal load, and running potentially dozens of functions before every command, is just plain slow. Zsh might be faster than Bash, but it's still really really slow. Just looping over 1..1000000 takes well over a second in Zsh, but less than 1/2 second in Python (which is already considered a slow language).

What I haven't tried is zcompile-ing all my startup scripts. Would that help?

And of course, actually documenting the C API and build process would be a good first step for the maintainers and devs. The example module is easy enough to follow, but actually writing a module is another matter entirely. This is especially frustrating because AFAICT Zsh builtins are themselves implemented as a statically-linked module called "zsh/main", so it must be a powerful system.

[0]: https://unix.stackexchange.com/q/214657

[1]: https://news.ycombinator.com/item?id=15479273
> You’re quibbling about words.

So are you, this whole thread is you quibbling about words.
With your cars on trains idea you almost get what I am saying, but why do you need the cars to go onto trains?

Trains - or Elon Musk's "skates" - allow you to use existing cars, without having to wait for the whole fleet to go electric and self-driving, but sure, in the future they could not be needed.

An advantage that does hold even for future cars is saving their batteries for outside travel.
You open things up to select sharps earlier than the general public, with limits. They get the benefit of potentially better lines and you get the information benefit of what the pros think the fair price for any bet is, allowing you to adjust the line before allowing bets from the general public. That's how a lot of the offshore sportsbooks handle it, but it may not actually be legal to do so in Vegas. I don't actually know.
Yes -- customers don't like it because it's too hard to win.

Said another way, customers will choose to place bets with market makers, instead of some paramutual operation.
I used a branch and prune algorithm, starting with the 1 digit primes and then adding digits to the right, pruning using a non-memoising prime test and testing for left truncatability to see if the new numbers should be added to the sum. The tree came to an end fairly quickly, which made the algorithm fast.

I also avoided any string manipulation, favoring truncating by using integer division for right truncation and modulus for left truncation.

Is that similar to your algorithm?
Yeah, compressed using zip there's about 50MB difference between a bacteria and a human... at least kurzweil said something like that ;D
I miss Theano
Partisans always 'debunk' every claim made that disagrees with them. It's not a meaningful signal.
"In May 2007 the company pleaded guilty to misleading the public about Oxycontin's risk of addiction and agreed to pay $600 million in one of the largest pharmaceutical settlements in U.S. history. Its president, top lawyer and former chief medical officer pleaded guilty as individuals to misbranding charges, a criminal violation and agreed to pay a total of $34.5 million in fines. Those executives are: Michael Friedman, the company’s president, who agreed to pay $19 million in fines; Howard R. Udell, its top lawyer, who agreed to pay $8 million; and Dr. Paul D. Goldenheim, its former medical director, who agreed to pay $7.5 million.

"In addition three top executives were charged with a felony and sentenced to 400 hours of community service in drug treatment programs."

https://en.wikipedia.org/wiki/Purdue_Pharma?wprov=sfla1

I wouldn't really consider them a scapegoat.

"As shown in Figure 1A, the selection of OxyContin as a primary drug of abuse decreased from 35.6% of respondents before the release of the abuse-deterrent formulation to just 12.8% 21 months later (P<0.001). Simultaneously, selection of hydrocodone and other oxycodone agents increased slightly, whereas for other opioids, including high-potency fentanyl and hydromorphone, selection rose markedly, from 20.1% to 32.3% (P=0.005). Of all opioids used to “get high in the past 30 days at least once” (Figure 1B), OxyContin fell from 47.4% of respondents to 30.0% (P<0.001), whereas heroin use nearly doubled."

http://www.nejm.org/doi/full/10.1056/NEJMc1204141

The abuse-resistant version had some unhappy consequences.

"Available data indicate that the nonmedical use of prescription opioids is a strong risk factor for heroin use. Yet, although the majority of current heroin users report having used prescription opioids nonmedically before they initiated heroin use, heroin use among people who use prescription opioids for nonmedical reasons is rare, and the transition to heroin use appears to occur at a low rate."

http://www.nejm.org/doi/full/10.1056/NEJMra1508490#conclusio...

Of course, the issue here is not that oxycontin is a gateway drug, but that prescription opioids are being abused, and Purdue and oxycontin are undoubtedly at the forefront of that.
Why even have a strain relief if it's not good enough.

And a not good-enough strain relief is no relief at all.
that would definitely require them to not be "dumb" anymore.

A simple sunset/sunrise detector can be had from a cheap photo-resistor. 30 minutes prior to sunset sounds like it needs at least a micro controller with a real time clock and a lookup table with sunset times
This is what I don't understand about this blog post. It goes directly against this narrative that I've been hearing for a while now (and which you are pointing out with sources), that independent bookstores are thriving.

What makes them different than this place? I've never been to the store in the article. Maybe its because they're still trying to sell new books, and the thriving stores are all selling used books?

So many people I know (anecdotal, for sure) seem to still prefer to read physical books. Even younger people, in their early 20s. Beyond that, some people will still want to collect the physical representation of something they really love.

Certainly, this will not be as many people as before ebooks were around. Still, there has to be more to the story with this one store. It doesn't seem to add up.
If what you say about Brown is true (Wikipedia is not a reliable source on politically controversial issues), it's not evidence. That's just one incident in among claims by millions of people that have been going on for generations.
Probably the bookmakers are actually OK with the betting activity that is described in the paper, but they have limits on successful accounts as a safety mechanism to prevent themselves from losing too much money in the event that somebody comes up with an unforeseen method of winning lots of money.
I must be missing something here - in step 3, PMI for x, y is calculated as:

log( P(x|y) / ( P(x)P(y) ) )

Because the skipgram probabilities are sparse, P(x|y) is often going to be zero, so taking the log yields negative infinity. The result is a dense PMI matrix filled (mostly) with -Inf.

Should we be adding 1 before taking the log?
If the park and ride lots didn’t fill up the bus would be viable for our household. We actually went from using the bus to not using it because of this issue.
> we

The fallacy in your comment isn't that you're wrong about addictions, it's that you're assuming two population samples are the same: 'HN users who complain about drug addiction' and 'HN users who create addictive technology'. Those are two different values of 'we'. (I worry about being in the latter group. HN is pretty addictive.)
If they decided they needed to get emergency power for radio communications to people and the choices were between generators w/ a supply of gas or portable solar charging kits I know which I would choose.
Twitter and NYtimes
You're comparing what I assume is high end bus costs, as the prices I found for buses were much lower[1], to low end car costs and still ignoring the infrastructure costs. Yes buses and trains cost more per car but they use far less space during transit. Since our transit problems are due to peak throughout times we need far more infrastructure in terms of highways, bridges, etc if we plan around cars than if we plan around mass transit. As the poster you replied to said, if we can't get people to agree to fund mass transit due to the sticker shock when it's a much smaller price than building a highway or making tunnels, how are we going to get people to agree to fund all this extra infrastructure we'd need for everyone to have their own car for all transportation?

[1]https://www.thoughtco.com/bus-cost-to-purchase-and-operate-2...
People who make outlandish claims make it into peer review and then into news papers and get funding.

People who doing boring true but important things can have a harder time.

(Upvoting stories like this means we are part of the problem, but not sure of a solution)
I'm not against dense cities that were designed before cars. Those can be great and I really am happy they exist. I just think that trying to make Los Angeles into a Manhattan or a Paris should not be the goal of the urban planners of LA. Houston and Atlanta are also not going to be able to change that much. It would be very hard to do; really impossible without some kind of wholesale destruction by war. Maybe some other way of city living can be a great also. Let humanity try it out. There are lots of cities in the world. If Elon Musk leads a group to start building a tunnel from his house to SpaceX as an experiment, I'd say encourage that effort. LA with lots of tunnels should be much better that what it is now and could be something great and completely unexpected.
If you already have html/css files, then "dropping them under /src/www" will already just work - that's how servers have worked since time immemorial, no "build step" required.

But compiling isn't what a web server does, and it seems like having the server automatically do what a developer is going to do anyway when they push to production, and likely not very often, isn't a significant gain in efficiency. The point of having a separate build chain for these types is that you're emitting what are meant to be static resources anyway.
Ah, I guessed that you might be taking some approach that generated numbers to try.

Mine was the brute-force "calculate all primes under a million then test them all" approach.
I don’t much about Social Capital, but $10 million is plenty to start a fund. (plenty even if you only use a portion of it)
Too many loans, they'll probably fail big and it will be a bang...

But it is impressive though, I just can't believe they will actually achieve it. Already done internal loaners are failing and they are holding back European expansion ( Chinese firms) on command of the Chinese government.

But as usual, we will see
Hundreds of Mysterious Stone ‘Gates’ Found in Saudi Arabia’s Desert
Ask HN: New startup, which cloud provider to commit to for Kubernetes?
Hi HN,

I'm a technical co-founder at a healthcare startup working towards setting up infra for our ASP.NET Core application. I'm comfortable with Docker and have recently started learning and using Kubernetes to deploy the app and various services. So far it's been a great experience that simplifies a lot of setup and management I had to do manually in the past.

The issue I'm running into now is deciding which cloud provider to go with to deploy and maintain the Kubernetes cluster. I've tried several different deployments and providers and still have trouble deciding which one to commit to. I was hoping to get some feedback from those of you who have experience deploying, running, and maintaining applications on top of a k8s cluster and have formed some preferences and opinions around some providers and tools. Any guidance greatly appreciated!

Have tried:

* Tectonic on Azure using Terraform

* Google Container Engine for Kubernetes (GKE)

* Azure Container Service for Kubernetes

Did not try:

* AWS

* Red Hat OpenShift Container Platform

Rough notes:

* Tectonic requires a license. The integration into Azure is also not as first-class as I would've liked—took me a while to figure out the proper provisioner setup for a custom StorageClass resource I had to create so that PersistentVolumeClaims would properly provision an Azure Managed Disk.

* GKE on Google Cloud Platform feels like the most first-class integration of a Kubernetes cluster into its host cloud platform. The new dashboard built into GKE is consistent with the rest of the console's design system and still exposes valuable information about Kubernetes resources. A StorageClass was already provisioned with no additional setup necessary.

* GCP HIPAA BAA feels less mature than Azure's. Also lacks managed SQL Server db solution.

* Azure Container Service config is too opaque—no k8s version flexibility, unclear roadmap around sync with upstream updates
You're still extremely optimistic about the 'intelligence' of state of art data driven approaches, even if they aren't general intelligence. I'm not sure where that optimism is coming from.

The chess example... "They were wrong about AI never beating grand masters, they're going to be wrong about X". Well, if you make the board bigger, there won't be an AI system that can beat a human.

Play Dota 2, but introduce a random variable that can't be known beforehand by anyone, like things in the real world, and the AI will always be beatable.

Great for specific domains, obviously, but your optimism about doing more advanced stuff, perhaps doesn't seem so grounded.
If people are idiots, why deny them the possibility to realize their potential?
What a great write up. Thanks for sharing this.
The million dollar question is: "Did you (w/your N=1) try the exact same calories as your keto diet, but then with more carbs?" No, you did not, and because it is hard to eat foods which adhere to the keto formula you lose weight on a keto diet.

What people also fail to mention with their anecdotal evidence is their age and gender. It is relevant because young bodies and brains are still growing, increasing calorie demand compared to a middle age adult.

> It really is the carbs and sugar that do you in, no matter how organic or home-cooked/homemade those carbs may be.

It really is the calories that do you in, no matter what type of calories or how you restrict yourself otherwise. All the diets are just some kind of abacadabra (or facade or placebo effect if you will) to make you focused on your calories intake, for example with specific rules about having to avoid certain products or ingredients which make it difficult to follow so that e.g. the subject cannot snack in between meals.

If you take in a lot less calories than the amount you require, you'll burn fat quicker. You'll lose weight quicker as well (although if you also start exercise, muscles weight more than fat). A lot more calories leads to building up fat quicker and gaining weight quicker. Both, eventually, until you are on the level of your calorie intake.

It furthermore also stands to reason that something with sugar is more difficult to limit than keto products because the former is more tastier. From an evolutionary PoV it makes sense because the sugar from fruits was a quick way to give us energy.

Furthermore, you should ask yourself whether the ingredients of the high carb food are needed. You'll find that you don't need them in the first place, possibly not in the amounts you eat them, but if you eat one cookie with the coffee in the evening that doesn't suddenly "ruin your health" because it is high on sugar. It doesn't "ruin your diet" either. The problem is that people cannot stick with one cookie in the evening with coffee. They snack far more, between meals. Yeah that adds up. Look on the packages and do the maths.

All the bad stuff is on the packages as well, very convenient: saturated fat, sugar, and salt. What a coincidence that our governments demand this being listed!
Say, that gives me an idea... What if there was a way to turn the effluent into food?
There's EZ-ride in Boston which has a few routes and uses the same model of buses as the mbta as far as I can tell[1]. There was also Bridj in Boston and DC, which wasn't buses but Vans and it was supposedly changing it's routes to meet demand on a frequent basis[2]. Bridj did shut down however.

[1]https://en.m.wikipedia.org/wiki/EZRide
[2]https://en.m.wikipedia.org/wiki/Bridj
thank you for your work on this, I was thinking last week of nice to have assistant like echo or google, but I don't trust either company
Stanford's Ultra-Cheap Batteries Are Ushering in a New Age in Energy
It's been quite an education.

Don't get me wrong. It's not perfect. It can't be.

But it's the best job I've had by a country mile.
Haven't used it but I've heard openHAB is an option to speak to the various devices (alexa and hue directly supported, sonos and roku supported through IFTTT)

http://docs.openhab.org/addons/io.html
> if you've prioritized your features 'right', each additional one makes your product attractive to fewer and fewer marginal users.

Only if they are independent. Features A + B may attract a bigger public than both feature A or feature B alone.
The comment under the video was saying that the rabbits were suffering mutations, not that virus itself was dangerous. Also a couple of teenagers out in the field aren't running a rigourous set of experiments. The rabbits may be perfectly edible still but no longer palatable
In America, we worship people that create great fortunes. We idolize them and consider them geniuses. The source of their wealth is not important, even if it is obviously illegal or immoral. The only consideration is whether they built a successful business and managed to retain most of their money. This is the dark side of capitalism and the profit motive.
I took the bus for about 2 years, mostly commuting from First Hill to Factoria. It's about an hour each way, if you don't miss the bus. If you do, it's more like 1.5 hours each way. MLT was an hour there and 2 hours back on the bus, plus a 30-minute hike before and after each way. Bellevue was an hour each way but I went to the gym between commute and work.

After driving for 6 months, I moved across the street from my workplace (literally). Since then, I've moved onto another job in Redmond, which is just 15 minutes down 520. And the traffic on that part of 520 is so good that half of the drivers go 70 until they reach Microsoft.
There's a fine line between physical and psychological addictive experiences. You can always delete Candy Crush from your phone, not that easy to delete opiods from your system
Is Warren Buffett's fortune a crime as well?
Ask HN: What is the right founder level equity?
I am exploring a startup oppprtunity in SV (they are one year into it and have raised <1MM angel funding). What is the typical founder level equity under this [assume I know the produce space really well and could possibly execute on my own too] ?
Right, noticed the same. How many programmers are there in Redmond? Some of them might be HN contributors...
Cut off their feet, that reduces their luck.
Money can travel - your reputation, not so much. China has a solution, a social score that travels with you everywhere. Dystopian, but it could cure that worship of money thing.
There is some science we aren't still worried about reproducing.

https://en.wikipedia.org/wiki/Inverse-square_law

The focus on micro towers is misguided because the possible health threat is from the handset, and more micro towers means phones can operate at lower power, which would be a good thing for the worriers.
Sure.
https://github.com/home-assistant/home-assistant/pull/9272
Closed with prejudice as a “hack.” I actually spent some time to make this feature request implementation consistent with other code as another contributor mentioned.

https://github.com/home-assistant/home-assistant/pull/9270
The second one was based on an observed defect in the UI. The defect is still there but apparently this is flippantly a “feature” now.

Disagreements about implementation aside this is not the response I’ve gotten from better maintained projects.
Can you use the Nest's presence detection to turn your lights off when there's nobody home?

One of the "killer apps" for HA is connecting different silo'd smart devices.
The problem is that you think about marketing from the end rather than from the beginning. Spending money with FB or Google is one possible end. Another one would be inbound / content marketing. Another one would be trade shows. Etc.

However the beginning of marketing is researching how your product interacts with the market, which problem your product solves and for whom. A lot of times who you think your customers are isn't really who your customers are and why you think they buy your product isn't really why they buy it. And many times your product is capable of solving a problem for a much larger user group which however you just don't know about yet (but should definitely find out about).

Getting all these variables right is how marketing starts and besides your own time it doesn't cost you a dime. Once you have better knowledge about the market (who you target, at which price point, with what message, etc..) you will have a much better feeling on how to target that market and spending actual dollars on a marketing end (ads etc.) at that point will feel much more satisfying and less "voodoo".