skysight-inc/HackerNews huggingface dataset:
The EU chemicals directive (REACH) actually goes the other way: you have to at least perform a safety assessment on everything you want to sell or include in a product.

The problem is that cannabis was never shown to be more harmful than tobacco scientifically in the first place, but the public and politicians were led to believe that it was. By the 1950s equivalents of "fake news".

You can see a similar "manufacture of risk" process going on with vaccines at the moment, which is very dangerous. It's also routine for the UK press to engage in ridiculously exaggerated anti-drugs campaigning, as it fits their sensational moralistic worldview.

Arguably more of a problem is the "we know this has risks but we can't feasibly ban it" category: alcohol.
There are degrees of hummous.

I'm sure store-bought is made with lots of oil. When I make it at home it's mostly chickpeas with a little tahini, usually about 1tbsp per carton of beans.

Tahini = ~90kcal / tbsp
Chickpeas = ~150kcal / carton

= 240kcal / bowl of homemade hummous

If I'm eating it with carrots I'll get about eight servings from a bowl. So say 100g carrots is 40kcal, plus 240/8, equals 70kcal.

Right enough it about doubles the calories from the carrot, but it is a _lot_ tastier, and 70kcal isn't going to break your budget too hard if you're being careful generally.
Pretty clever
Like any company: when the majority of its stakeholders decide building tools for $CLIENT is not in their best interest anymore.
Yeah, by no means I am an ambassador of them. For me, it was so-so vs bad really.
The Controlled Substances Act is flawed because of the locked and immutable nature of it, besides the fact that the drug wars are a failure and it is a health issue not a criminal one.

Any drug on the CSA should have to be re-proven every 1-3 years to be medically dangerous to be kept on the list.

The problem is that once drugs get classified as a controlled substance, it is very difficult to get them out because neither the public nor legislature can easily remove it. The CSA list is managed entirely wrong. The CSA was setup to target certain dissidents initially by Nixon, it is nearly criminal that the drug war is ran by an organization that is untouchable and maintained by the enforcer.

The CSA should be completely abolished or recreated with expiring classifications, and the FDA can make recommendations on safety but then it is up to the people to decide. We need a Right to Body amendment at some point to get the state out of it and make drugs a health related matter not a criminal one.
http://www.targetprocess.com - project management

http://slack.com - team communication
It's more that human's judge their status relative to their peers, not by any absolute scale - so despite having more absolute wealth after moving to the city, their status relative to everyone else is far lower than it was back in their village.
Software-Defined Radio for Engineers [pdf]
PCIe 2.0, USB 2.0, SATA / AHCI, and more protocols are 8b/10b. So all of these protocols were 10-bits per byte.

Modern protocols tend to be 64b/66b or better. So that's why I listed "assuming 8b/10b", its hard to memorize which protocols are which.

Apparently I'm wrong. 10G Ethernet seems to be a more modern 64b/66b in any case.
Do people claim that education boosts intelligence? It can improve problem-solving skills (it's not a given, e.g., going to school doesn't mean you'll learn anything) which could lead to better performance on IQ tests, but that seems like a separate discussion.
I've met dozens of people who have made a good living from starting off with nothing. Do they specifically have to be in a garage?

Luck plays a huge role. So does talent, skill, and opportunity. You screw up if you think of it in only one of those terms to the exclusion of the others.
It's not that the Japanese couldn't communicate in English.

It's the fact the Japanese felt, like Asians generally do, they shouldn't disrespect their partner by saying what the partner said seemed liked gobledycook to them.

So the Japanese internalized the failure to understand and eventually did things the way the knew...
I think they don't count the numbers the way you do, to rig the statistics they seems to count jobs that are done by machines and wil be done in the future by AI to.
Confessions of an accidental job destroyer
Better than Ever: The New Tower Has Launched
Since proper email transport encryption is finally getting some momentum with DANE and MTA-STS, I'm surprised that STARTTLS Everywhere doesn't mention them.

DANE is being recommended (mandated?) by the European Union, and is on the rise. MTA-STS is backed by Gmail, Microsoft and many others, which is likely to give it traction.
Right, this is what I was driving at. This does not belong on HN, as it is neither interesting nor novel. And it's self-promotion which, when it's also completely unimpressive, stinks even more in my opinion. If the OP had posted a link to his blog which explained his ML project in detail -- and it was an interesting project and not for example an Intro to ML Coursera project or something equally lame -- then perhaps it might be appropriate for HN. This is not that.
I gave a quick glance through this and it seems pretty good especially for beginners. I noticed at the beginning it goes straight into installing the vue cli with yarn or npm. Might be helpful for beginners to know what npm/yarn (and for that matter node) is and at the very least how to install it.

I understand that this is supposed to go with a complimentary course which might explain these things, but might be good for reference.

That being said this seems like a great resource that I would recommend to any new people that are starting with web front end, great work!
The general consensus on Hacker News is that drugs are banned as a method of control over undesirable populations, rather than out of any real concern for people's health.

Undoubtedly, someone will reply to your comment with the quote from Nixon's advisor about how they invented the war on drugs to target the antiwar left and black people.
Meanwhile in Texas, the supreme court has just ruled that city-wide bag bans are illegal:

http://www.txcourts.gov/media/1441865/160748.pdf
Video job applications next for recruiting?
Obviously not all british humor is found unfunny in america. I did not state this as universal truth but it can be a contributing factor.

I don't see the gender analysis being stronger considering we have two data points.
Ask HN: Someone interested to learn how changing habits could decrease pain?
After dealing with severe back pain for almost 10 years, I was able to decrease my pain significantly by changing habits, routines and the way how I interact with my general environment. The most frustrating part was, or still is, that good resources are very rare and after helping some close friends and receiving their feedback, I decided to start a blog about this topic. My knowledge is far from being great, but I think I do understand how our environment (sitting, sleeping, …) significantly affects our health in a negative way. Since my goal is to share my insights the best and most comprehensible way possible, I would like to make a “personalized” test run via email, messaging, whatever you would like, before launching the actual blog. If someone is interested feel free to write me a short email (it’s in my profile).
This would have been great before serverless came along.
Bozeman: A Blessing and a Curse
Interpol rolls out international voice identification database
Answering the updated question regarding the security of running what is described in the post, but using Xephyr and not the desktop's existing X11 session.

It is as secure as the individual components, that is whether there are security vulnerabilities in LXD, and in Xephyr. There are currently no pending security vulnerabilities to fix in either (as far as I know).

Of course, the same goes with VirtualBox. It is as secure as there are no pending known security vulnerabilities (https://www.techrepublic.com/article/10-new-vm-escape-vulner...).
No, all of that example was malpractice in the 80s when it was written. Note the context: it's highlighted as malpractice in a talk by Brian Kernighan!
Μοναδικές στάσεις για τρίο που πρέπει να δοκιμάσετε – ESCORT ATHENS
The effects of technological development in the market
IRC, textfiles, pastebin links and a remote filesystem accessed with sshfs. It's for an oss project.
Ruby on Rails – how to create perfect enum in 5 steps
JavaScript is getting real tired of your jokes[video]
It's interesting how HIBP considers mainstream dating sites sensitive on par with adult sites, while shady hacking related forums are fair game.
As a sidenote, Chrome OS uses LXD in a similar way to run Linux GUI applications like the terminal application they showed in Google I/O 2018.

Here is an article on how they do it,
https://blog.simos.info/a-closer-look-at-chrome-os-using-lxd...
The most 1Password has ever done (in my experience) is submit after I select the login to use, even on sites with only one login. I disabled that aspect, and I always have to toggle the helper via ctrl/cmd-\. It has never pre-filled a login field without me asking it to, and that's across v4, v5, v6, and v7.
I wrote above. Kannur district in Kerala, India has banned plastic carry bags. Now, shops in the main town area do not give away plastic bags. And most textile shops have started packing in Paper bags or cloth bags.

I have been there its effective, specially when people complaint when shops use plastic bags. But out of the town area, its different. You will still find small shops giving plastic bags.

https://www.thebetterindia.com/97890/first-plastic-free-dist...
Papua New Guinea polio outbreak declared
> I was watching the gullible filling out their "loan applications" and setting themselves up for $500/month for the next ten to twenty years before they could pay off the 'loan'.

I presume that quite a few of these are actually timeshare employees playing the role of "conspicuously convinced punter"
Tangentially related questions: How do you know you're not "fully realizing your potential"? Why are you not learning new skills (even dead-end jobs have learning opportunities)? What makes it a "dead-end job"? Can you afford to quit your job to "prep and search"? Why can't you do that and do you job that pays the bills?
Rust 2018 roadmap: The new features planned for the Rust language – InfoWorld
WP3 Security Standard Released by Wi-Fi Alliance for Next-Gen Wi-Fi Security
From what I've understood from the last two pages, it seems that under the law, cities lack enough legal authority to perform these types of bans.

> The Act’s exemption does not save the Ordinance because the City has not identified a law authorizing the manner in which the City seeks to regulate. The general grants of regulatory authority the City relies on do not authorize the manner the City has chosen and, more to the point, do not supersede the express directive in the Act.
Friends don't let friends use AOL (2000)
Complete anonymity you say? Please show me how you bypass "lawful search".
> there is a substantial, but not huge amount of luck

Luck in turn based games make some playstyles impossible. Being aggressive is hard. You may only have to be extremely unlucky in one attack to get completely exposed the next turn. In Wesnoth is even worse because you have to grind your units to death.

I know that the game is that way on purpose but I feel that it makes it a niche game. For me, it has all the bad parts of a card game and a an RPG.
Unrestrainable appetite has a natural answer: dietary fat.

Food cravings, hunger pangs, insatiable demands to scarf things: that's often the dark side of an insulin cycle where carbohydrates play a determinative role. But barring issues better treated with psychiatry, most people aren't going to feel the urge to snack after eating a soup-bowl worth of butter...

Its mildly nauseating to eat too much fat. Eliminating insulin spikes makes appetite control 100 times easier. Every body is different, but if you might want to consider a (low carb) high-fat diet for a while.

Also: eating once a day is a bad habit unless you're working things correctly. Maybe check out the "OMAD" (one meal a day), types to see how they're eating? High fat generally plays a role there, too, for satiation and energy reserves.
I've been playing around in this area for a while and I think there is a lot of potential - although I'm not sure code search is the ultimate expression of how this should be used.

There's another interesting paper called code2vec[1]. Code2vec uses the AST of a code snippet and builds an embedding of those rather than dealing with is as just a sequence of tokens which some earlier attempts do.

This paper does the same, which is nice.

Code2vec (at least the demo at [2] which I think is the same thing) is extremely sensitive to variable names. I'm not sure if that is a bug or if they are including that in their embedding.

If people have specific things they'd like to do if they had a tool which had deep understanding of the intent of code I'd be pretty interested to hear about it. Contact details in my profile, or reply here.

[1] https://arxiv.org/abs/1803.09473

[2] https://code2vec.com/
I don't think people per sqkm is the most relevant metric of overpopulation, it's more like people per available resources.
BlackBerry CEO Talks Impact of Trump's Tariffs Among His Big Automaker Clients
Welcome to the world of Statecharts
Out of curiosity, why were you carrying that much cash anyway?
I think it'd be trivial to let a machine rewrite this for Twitter of Facebook (or Reddit).
The head of my cs dept said something along the lines of "we wont teach you everything, but we will teach you how to teach yourself"

The engineers I go to for advice are the ones that enjoy learning CS (and do so actively)

From a hiring perspective, we look for passionate people as a baseline, but we're more skeptical of people without a cs degree. We have several rockstars without a cs degree, but it lowered their chances for us to give them an offer
Can Element AI Break Big Tech’s Hold on A.I.?
Email - Seriously having tried out literally everything I could, email is still the both worst tools and best tools for the job. Worst because you cant really get much efficiency out of it, best because everyone knows how to use it and there is no learning curve involves.
In Mumbai (and India), law enforcement is a huge challenge regardless of the laws.
It seems to me this article uses Physics to justify the view that courts should "abstract new laws" as they deem necessary.

This is wholly undemocratic and while it claims to solve one problem (that of legal frameworks growing obsolete) it creates the problem of 'laws by committee' or 'expert rule'.
It's not good for deliverability to send emails to fake accounts. I wouldn't want fake email accounts in any list I was creating.
How chatbots can ‘cross the chasm’ from novelty to enterprise
Let me get this right. A recruiter posts a video job ad, then a job applicant submits a video pitch to the recruiter on why they are the best candidate for the job?

And the pre-screening questions, if a potential job candidate doesn't get answer the pre-screening questions right they are not able to apply for the job?
The End of Safe Gay Sex?
> I'm not sure [fasting] at all. Your brain may try to prevent the next "fasting time"

There are a lot of varieties of 'fasting'.

Intermittent Feeding or 'Time Restricted Eating' involve upping dietary fat to control hunger feelings and ensuring daily caloric needs are met within a shorter timespan. This leaves the body enjoying 'fasting' benefits for longer while enjoying a normal diet.
not OP, but I imagine it might be one of: it's valuable (sellable) information, fraud is more likely to come from anonymous/disposable email address sign-ups for services, tracking is more valuable when tied to a (semi-) verified/verifiable identity, valid email addresses can be enriched via other sources of information people might have access to?
Back in the day it was pretty much granted you ended your strings with a \0.
Hindsight isn't really in play, here. The examples given are just plain wrong, rather than outmoded.
10th Foundation Day Celebration
One and a half years ago I migrated to New Zealand from Turkey.

* It was almost my first time abroad, my English wasn't great, and I was new to the culture. However I was amazed that how welcoming and patient people were. I hear the opposite from my friends living in Europe and US.

* I found a job while in Turkey, and the company sponsored me for the visa; and since they were an accredited employer the visa process was painless.

* Job variety is definitely small. I think it is not that hard to find _a_ job since there's usually demand for IT; however they are all pretty similar to each other(big finance/telco companies). If you have a specific interest (FP/Haskell and smaller companies in my case) it would be hard to find a job you like.

* Rent is expensive. Almost every one of my single friends flatshare, but I was able to find a one bedroom flat to live with my partner. I pay about 40% of my salary to the rent.

* However I do not think living expenses are too much. Our weekly shopping are usually cheaper compared to Turkey relative to the income. And most of the stuff we like to do for fun is usually cheap or free.

* People are nice. The city feels safe. Nature is great, lots of great hikes just an hour drive from the city center.

Overall; I can not compare with Europe or US since I've never been there, but I'm glad I am here now. And moving here was not that hard, so I think it has everything it needs to be a Tech hub, other than momentum.
It seems to me this article uses Physics to justify the view that courts should "abstract new laws" as they deem necessary.

This is wholly undemocratic and while it claims to solve one problem (that of legal frameworks growing obsolete) it swaps democracy for 'laws by committee' or 'expert rule'. As a computer scientist I'd call this unscientific or at least a sloppy proposal.
This is one of the investments no normal person with a healthy common sense would even consider to invest in. So if you see "timeshare" and are not dropping the flyer into the trash can, that already says that you are open to getting screwed over. It's like the "African prince died, gives you $10 mio if you give us your credit card details".

That said, there is nearly no game or investment that doesn't at least have some people trying to cheat others.
HACKERS AL DESCUBIERTO
I know there are already plenty of comments about the problems but might as well give mine too...

In one sentence: this guy managed to reinvent a variant of strcat and get it completely wrong.

Here's a somewhat better version:

char *combine(char *s, char *t) {
size_t m = strlen(s), n = strlen(t);
char *ret = malloc(m + n + 1);
if(ret) {
memcpy(ret, s, m);
strcpy(ret + m, t);
}
return ret;
}
Well, I didn't find any substantial reports about the consumption (or reduction in) of alcohol in Bihar after the prohibition after a courtesy look.

And whatever numbers I did find- they were about the reduction in crimes- simply seemed juked and to lure the people.
You also don't want the dolly in your kitchen because you don't know what it rolled over before that. As an Ocado driver pointed out to me.
This is a pump and dump scheme. The article poster is a marketer https://www.linkedin.com/in/simyanting/
Can't you just always do that anyway? Especially if you invite lots of people and don't want to handle lots of money infront of your guests... (and you don't use cards)
It's not a population density problem but a housing supply problem.

There just simply aren't enough houses in NZ. Simply finding somewhere to live can be a struggle, let alone somewhere affordable.
The washable aspect is key - they will have to take steps to work on that too. As a foreigner, when I'm in India, I know that I have to pay attention to (for example) which chai sellers the locals know to wash their cups properly, and to make sure that I see bottles of water are properly sealed before I drink from them. Water in particular will be a problem for foreigners if people start selling or serving it in jugs.
A better way to store carbon is to make charcoal. Plastic is made from oil, leaving that in the ground is easier than pumping it up, turning it into plastic and then dumping it into the ocean.
I know a person that uses a paintball gun to keep people out of his apartment building's dumpster (identity theft from documents stolen out of trash is a huge problem where he lives) and also to tag delivery trucks and (yikes) delivery drivers that do this kind of hit-and-run delivery. He'd had enough of things being broken in this way.
the usual suspects: JIRA, Confluence, (lots of) email, WhatsApp groups and cisco webEx.
The fixed-location variable allocation strategy the author mentions is called overlaying or compile-time stack[0]. It's still very much alive today, thanks to architectures like 8051 that are not really stack-friendly (even though they do have a stack).

> The Keil C51 C Compiler works with the LX51 Linker to store function arguments and local variables in fixed memory locations using well-defined names

[0] http://www.keil.com/support/man/docs/bl51/bl51_overlaying.ht...
a) I pay taxes in the country I reside in.

b) I have set up a LLC. Of course I have to pay a lot of tax. If I want to have 100 dollars deposited to my account I have to charge my client 250 dollars. Still there are several benefits to having an LLC. It enables me to optimise how much I pay in tax, usually I can go from 60% tax to somewhere around 50%. I buy everything related to my business via the business. Conference trips, computers, headsets, screens, books. That way I can spend money "pre-tax", before I lose the 50% by paying it from the LLC as salary. Essentially I get those items for 50% off compared to if I had bought them with my own money. I can also get the VAT back.

When you have an LLC the contract between you and the client will actually be between the LLC and the client. That means you are not personally liable for any damages, for example if you get sick and can't deliver the client can't go after you personally. Also should you for some reason go bankrupt you are (typically) not personally liable.

Note that this is how it works in Sweden, but some of it might be applicable in Portugal.
Ora - free & perfect for small to mid projects.

https://ora.pm/
Yeah, but at what volume?
Another (non-Rust) but still interesting attempt towards this is being done by Microsoft:

https://blogs.msdn.microsoft.com/webdev/2018/03/22/get-start...

In their case they compile a small enough subset of the .NET runtime to WebAssembly, and they got some JS to do the interop (I imagine till that glorious day of freedom comes). It's amazing what they've got working so far honestly.
MobPro Amsterdam Is Hiring a Front-End Developer (React)
A bit inaccurate.
Deutsche Telekom AG owns the majority of the Infrastructure and outright refuses to invest in it.
Why should they? For them its simply not lucrative to install fiber for a place like Brandenburg with a population density of 84 people/ Km²

The Goverment tried to fix it by forcing the Telekom to allow other companies to use their lines.
So now you can chose who you pay for your internet access thats served over 50 year old copper (Not even an exaggeration for some parts)

The Telekom still decides what, if anything, happends to the lines.
There is a constant haggle between goverment and Telekom where the goverment is basically begging the Telekom to invest in the infrastructure.

The Telekom doesnt want to and tries to find cheap workarounds (vectoring) that simply don't cut it and also damages the competition.
As long as they can serve overpriced Internet they are happy.

Now that the problem has been ignored for several decades it has become too expensive and complicated.

This is the prime example for what happends when you privatize a vital part of your infrastructure and hand it to a profit oriented company.
But that does not stop people from wanting to privatize roads and water too.