skysight-inc/HackerNews huggingface dataset:
http://infinite-food.com/ .. our machines will produce custom meals on demand direct from fresh ingredients based on a smartphone order. No need for kitchen/utensils/crockery/groceries. Discounts for regular customers. Investors welcome :)
Good thinking. You are right that there's a short window between the 2 rsyncs that allows for a newly-created file being created at say the remote end just after (or maybe during? --would need to test) the remote-local rsync that would get deleted by the subsequent local-remote rsync call.

Since there's no lock or anything this vanishing new file just after creation is a possibility. I just wrote this yesterday, I'll be using it extensively, I'll see how annoying this is, and if there's something to do about it.

As a side note, ssh failure has not been a problem (yet), since the script does the same strategy when starting up. In fact I kill and restart this script a lot. I havent played with archive extraction, this is mainly for source code editing.

edit

It would seem that a small modification to the --delete behaviour of rsync to only delete files at the other end that are older than say 30 seconds would handle this edge case. I'll see how annoying it is and if it warrants the time to investigate this.
I’ve never seen a community put so much effort into building an ecosystem as Rust. They have working groups for everything, they’ve slowly won over some extremely high profile programmers, and they’re taking on the areas of computing that are the hardest to solve as a manually memory managed systems language. Hats off the team, and I’m excited for all the game changers that are still in the pipe like the faster debug compiler.

After a lot of languages that are just rehashes of what we’ve already seen, or just a different subset of features, Rust is a languages that actually feels like it’s from the future that's finally going to start moving us forward after a lot of stagnation in industry while PL theory has continued to move forward.

If you haven’t given Rust a shot yet now is the time. You can get rust up into the top ten. :}
The originally submitted article didn't have that title (see https://news.ycombinator.com/item?id=19459834).
I used a hybrid approach with mint and spreadsheets.

Not a huge fan of mint, but I have about a decade of history in there. The UI is awful but every transaction continues to show up. So I export all to a spreadsheet every so often and manage everything in that sheet.

I've tried plenty of tools. Quicken, QuickBooks (online and offline), msn money when that was a thing, a few online services, etc. None of them got it right as far as I'm concerned.

Mint doesn't get it right either. And my spreadsheet isn't very good. But it gets the job done with very little hassle.
Issues like being a parser?
MMT is neither modern (its basically Abba Lerner's "functional finance" from the 40s), nor it's even a coherent theory. MMT fans don't like to draw up models that can be understood by other economists. With functional finance you knew exactly where Lerner stood and his claims were challenged with real-world data and the theory faded with relevance. With MMT if you try to challenge them in any way they will claim that they are misunderstood - the "not a true Scotsman fallacy".

This is why MMT is ignored in most academic circles - it doesn't bring anything new, and neither it does in a scientific way and understandable way.

There is also the question of politics - there is a perception that mainstream economists are right wing that is why somw turn to "heterodox" economics. Of course this is non-sense, and mirrors libertarian obsessions with Austrian school economists. Mainstream economics can inform both left-wing and right-wing policy making, just fine.
Correct me if I'm wrong, but I believe the circumstances under which Spotify would have permission to read your messages are

1) if you use their Messenger app plugin

2) if you had connected to Messenger through Spotify's desktop app. I believe this feature has been deprecated for a few years now, though.

Even if you sign up for Spotify using your Facebook account or connect your Facebook account to Spotify that does not give them access to your Messenger messages. It is my understanding that it required the user to opt into specifically connecting Messenger for that circumstance to occur.
It’s essentially a decentralized Twitter-like system. There are multiple clients with varying degrees of good UI (textual and graphical).

I felt that the real problem is the same most new networks have: everyone is on other centralized networks

The other problem is discoverability is challenging. My experience trying to find people worth following was kind of meh: it seemed like it was (I’m still not sure if this is accurate) necessary to connect to
Multiple different servers, to follow people who had chosen different servers as their main account.

Maybe it would be better with more usability? But fundamentally it has to compete with network effects of other platforms, and most users simply do not care about centralization: it’s not a selling point, it’s just a fact
My first 18 months in the Bay Area were in a $1600 spare room with no cooking allowed. My mental and physical health both tanked. Things are better now, but when the time comes to leave my current job, I want out. The cons severely outweigh the pros if (like me) you are starting from next-to-nothing, have no family to keep you here, and you don't find your personal identity through your job. I would recommend working literally anywhere else.
Yes, I get that. And maybe it works out OK, most of the time. But I've surely seen lots of horror stories on HN.

Also, building in-house isn't that expensive. Or at least, not compared to developing in-house. I'm not all that technical, and I setup my own Docker registry, for example.

I am one of those people who only allow minimal required JavaScript :)
The future of the podcast isn’t advertising or subscriptions. It’s both
Submit button problem sounds solvable if people keep bugging the support.

It's 1 day job, probably button image or form URL includes 'ad' or something.
QuickBooks online from Intuit is big in European countries. Works also good in Android and iOS.
If you go really big use Xero (but not cheap).

If I would live in the US I would use Freshbooks (not so good for Europe if you need to handle VAT taxes in my opinion).

It's also good to speak with your accountant what to use (if you have an accountant).

Personally I use Google Spreadsheets but only because I only write invoices 1-2 times a month and I don't have ton of expenses.
>I don't really think Amazon acquires their stock through grey channels

There are plenty of vendors selling to Amazon that aren't the brand owner. Look up Apple vs Mobile Star, they sued a company that was selling (allegedly) fake products to Amazon as a vendor that showed up as "sold by Amazon", nothing to do with commingling.

And the fraction of customers that care about choosing which seller to buy from is low, compared to those who care about price and speed of shipping.

Amazon turns off commingling on high risk products, fwiw.
If you have automatic partial application you lose the ability to have multi-arity functions. Functional programming is about functions, not operators. In Clojure you can compose and partially apply functions with the normal functions "comp" and "partial".

https://github.com/clojure/clojure/blob/clojure-1.9.0/src/cl...

https://github.com/clojure/clojure/blob/clojure-1.9.0/src/cl...
the problem isn't tech - its people.
I agree. Resolution is 1% of what makes a TV serial. 99% is storytelling, the setting, character, drama, emotion, and so on.
https://news.ycombinator.com/item?id=19435815
I'd be curious to know also how many people are still being paid for their work as artists through movies, TV, video games, etc. I bet it is also a significantly larger percentage of the population than a few hundred years ago.
It Was Just a Kayaking Trip. Until It Upended Our Lives
Hey, thanks to this comment, I just discovered that if you hit Cmd+Shift+C in Chrome it'll let you inspect any element by clicking on it. Cheers!
The buzzfeed article goes into more detail, but the short answer is that the fraudsters buy a cheap banner ad in an app. They then resell that space for a higher fee, running a video that is hidden behind the banner ad. Because the video just keeps running, the brand whose ad it is ends up paying even more to the fraudsters.
Rick Steves Wants to Save the World, One Vacation at a Time
1) That's true. Let's that it's barely a problem.

2) According to the WHO, Korea only drinks marginally more that the US, and Japan less: https://www.who.int/gho/alcohol/en/. TBH, this is a bit of a stereotype.

I'm confused by how to interpret 3. Are you saying:

- "If it's only for medical use, then it will not worsen the situation". I would overall agree with you on this.

- "Even if it's freely available it will not worsen the situation". I don't believe this.
I don't see how going from a situation where smoking is 1: illegal, 2: actually complex (unlike in Europe/North America), 3: extremely risky on the legal side, 4: socially taboo, to a situation where you can have shops on the street would not worsen drug issues. I can't find any studies has been conducted in any comparable societies, so we are both speculating, but I just find your point absolutely unbelievable.
Okay, I will call you old-fashioned. These things exist, and you cannot bury your head in the sand.

Do you know what happens when cannabis is illegal and people decide to skirt that? People synthesize technically-legal alternatives, and give them acronyms like 'JWH', and sell them online.

It may not seem too harmful, making the products of public research on the effects of cannabinoids on rodents available to the public. But the legislatures will catch on eventually, because it is a clear end-run around the law, right?

Fast-forward a few years, and look at all the harm that this causes; it's like heroin -> fentanyl. What is wrong with the principles of harm reduction?
I believe the proper spelling is wourder
I agree on principle that no company should be allowed to externalize security risks.

Where I disagree is that for a small company that doesn't use SQL, being forced to pay someone $10,000 to spend an extra week testing every single endpoint for SQL injections isn't going to mitigate any potential vulnerabilities, nor would being allowed to opt out of that requirement externalize any risk.

And if we're going going to say that companies shouldn't be allowed to externalize risk then that requires some baseline understanding of what risk actually is. And at the end of the day, it's impossible to separate risk from the value of the assets under protection, as Bruce Schneier has been saying for 20+ years.
It can be if you want to. But yeah, businesses probably want to pay someone for it. And many ISPs will do it for their customers as well.
ah got it, thanks.
bag + fat fingers + swipe/autocorrect = back
I think the issue is that there are lots of number crunchers out there thinking :

"Well this ad campaign is profitable when we spend $100 on highly targeted Facebook ads, let's spend $10000... Oh they don't have that many impressions to sell us..."

"Where are we going to get all those ad impressions from?"

"Shady Bob's affiliate network has millions of impressions to sell us!"

"Great. That should work. The sky's the limit on this ad campaign! We're going to be rich!"
Time is likely the currency we all spend.

Human activity of all kinds is exchanging time with each other. I spend some time doing A and give you some. In return you spend time doing B and give me some.

Ultimately we all have a finite amount of time available.

When you start assessing things in terms of hours exchanged rather than dollars, euros or pounds you see how it all works.

Baumol’s cost disease explains itself for example. It still take the same number of hours to be a violinist and a concerto takes the same amount of time to perform. And we still value violinists so some of them get paid.

Our machines reduce the human time element embedded in other products and services and that reduces their value in exchange terms. We see that expressed as the dollar price of violinists going up.

There’s even a film In Time where this idea is explored Hollywood style. Not the greatest film but the philosophical idea behind it is fascinating.
Until they support .ca I can't use them at all.
I have a bridge to sell you
Good catch. Really makes you question the validity of their methodology. Although I suppose you could argue there isn't a single dialect of SQL in the top 20.
The Perfect Decision Fallacy
Sweet, you mean there's going to be a ton of studios and 1 bedroom apartments coming onto the market then?
I have a bunch of Excel spreadsheets that I use to handle invoicing and expenses; they're easy enough to feed into tax software at the end of the year.
If they had not kicked stormer I would be jumping on this - unfortunately it shows me that it's another service that can not be trusted to remain a neutral dumb pipe. Even worse they showed the world that they can be used to take things down / offline.

The day that happened I lost faith in American Internet, and actually now advocate for regulation of registrars and companies like cloudlfare - when you corner so much of the market (through low pricing using google's resources and others) for protecting transmission of data / information and you start blocking data on whims - you are no better then [insert other censorship regime here] -

they are not the only ones, godaddy has shown itself as a censor for various groups and so have others.

I can understand refusing to be a host / disabling hosting, but as far as data transmission, domain name registrars and similar internet functions, it should be let everything through and don't get involved imho.
Go, use cobra. It's awesome and really easy to get started and complete the project.
While Germany isn't an Asian country, my Grandpa was German.

As you can imagine, he had a far more positive view of Western occupation than Russian occupation.

He was not a member of the Nazi party, but was in the military.
The story, as best as I can recall:
After they ran out of gas, the soldiers were given bicycles and panzerfaust, and told to head East, because the Russians were invading.

He hid in a hole as Russian tanks drove past. He deserted, and went West as fast as he could, deliberately getting himself captured by the invading US forces.

He said he was treated better by the Americans as a prisoner of war than he was by the Nazis as a soldier. I don't think any soldiers captured by the Russians would say the same.

Not long thereafter, the war in Germany ended. While the soviets plundered East Germany, the Americans with the Marshall plan helped rebuild West Germany. My grandfather, having not been a member of the Nazi party, was also treated very well during this period.

Even though allied bombs destroyed 80% of his home city, this earned the US enough goodwill in his eyes (and probably many of his generation) that throughout the rest of his life, he supported the US (even while he didn't agree with everything they did). His daughter ended up marrying an American.

If enemy soldiers thought you'd treat them better after they surrender than they're being treated now, they're not likely to fight very hard. Unfortunately, I think we have an instinctual urge to punish enemies. We like negative sum games.
Hello World in Laravel – Tutorial Article
I think they mean that when they search 'donald trump news' they have a set of results in their mind they expect to see, and Google gives them back something different.

That's a really hard issue to solve...
A few years back Lockscreen was identified as one of the most underutilized real estate on the mobile phone. So a lot of phone companies started selling it to the highest bidder. While Samsung shouldn't be needing it, a lot of the lower end Chinese companies make razor thin margins on the phones, even if a company offered $1-3 for pre-installing an always running app that would show ads to users, they'd happily take it.
> Call me old fashioned

No, its not really a matter of being old fashioned - it's a matter of being authoritarian.

> but I do not think that a society that smokes weed is better than a society that does not.

The society that doesn't forbid people who want to smoke to do so is better because it is more free. That is valuable in itself, although this point seems to have fallen out of fashion on HN these days.
Pilots transitioned to 737 Max 8 with self-administered online course
There is optional args for JS.

And it's not hack since it's a partial form of pattern matching.

Although simple and consice is absolutely not JS is famous for, a lot of functional programming languages with consice design do the same thing.
For most of my life it seemed impossible.

But a couple years ago I happened upon a magic eye image while laying with my laptop on my chest putting the display quite close and things just clicked. Now I'll spend hours flipping through magic eye images, it's only gotten easier with practice and the effect is incredible considering there's no drugs involved.
When programmers want a job, employers aren't so impressed by online courses, but hey I guess it's different in the airline industry.
I feel it's definitely more fun. There are few new things to say about the advantages. Clearly isolating state management from side-effectless code just enables a lot of very nice things. FP gets you thoughtful and openminded coworkers.

There is definitely a hiring advantage in our case, attracting good programmers who came to us mainly because they wanted to learn FP or were already using FP, but probably depends on what your local job market is like.
My understanding of the policy matches the parent comment from communications I've had. Is this a recent policy change?
How much of it is because there's a reason (of sorts), to do a complete re-think, when you're porting tools over?

C and C++ have been stable for years, and so has all the little UNIX tooling that was built using them. People are excited by Rust, and take it upon themselves to re-build these tools, as they have well defined requirements and characteristics.

The reason these tools might be better is because thought has gone in to modernising and enhancing existing features. That might not be so feasible/ easily doable if you were juggling a decades old codebase to start off with.

I'm not sure what my point is, entirely... But ripgrep is good! I have replaced awk and grep with it, because it just feels more... user friendly?

EDIT: remembered my point. Are you switching to Rust tools because they are written in rust/ benefit from Rust in some unique way, or because it's a common platform people are re-implementing and re-imagining classic UNIX tools in?
Other than what the other posters mentioned, you have things like annotations in Java that allow for cool features such as validation and constraints, and auto translation between types. This is extremely verbose and error prone in golang because no such mechanism exists.
The shell from Plan9, rc, is simply the one I am most comfortable writing in. It has very straight-forward syntax. And while the language is very powerful, it is small enough that I can remember most of the quirks. But I do not think it is objectively better than other scripting languages.

It is the same with mk (the Plan9 redesigned make). They took a few lessons from problems they had discovered in make and improved them. And made it simpler in the process.
One of the issues is that there just isn't that many advertiser focused platforms that give the advertisers the data they need to actually do the analysis of that ROI. So they just kind of spray and pray sometimes.
Your site should be very important that everyone tries to hack it.
Is it possible that the times you're frustrated that verbatim search isn't working are the same times there are no decent results to your query anywhere on the internet?

It seems to me the main failing of Google is they have no good way to say "We understood your question, but the answer isn't on the internet".

Instead they just return a set of not very relevant results.
I would argue that the American people are far less hypocritical than the government.

Most Americans who do marijuana, cocaine, MDMA, etc. will fairly readily admit to it if you are in their circle of friends. Heroin, crack, and crystal meth have a bit of stigma associated with them and so will get relatively less admissions unless you are a bit higher on the friend scale.

Most marijuana users I know will tend to offer you some fairly unprompted.
"implicit proponent" is an oxymoron.
Actually seems legit: https://hub.docker.com/_/surprise
From the customers point of view, those two things are pretty similar.
Do you really think it's ethical to use violence against people who consume a certain plant or substance merely because they happen to live in a culture that doesn't approve of that?

To me it seems extremely likely that drugs and their legalization will ultimately be put in the same category as the legalization of homosexuality or the freedom of speech
My take: If it was called property, you could legally sell your kidney, and they do not want that for a lot of reasons. However, the govt protects you and me by other laws. If someone ties you up, takes your kidney etc etc, they will be charged with worse crimes than stealing property (kidney).

Once in a hospital, they have to destroy the tissue, fluids etc so you sign at the dotted line, or is implied, that after that it's theirs to destroy. You can't walk around with your amputated arm for example. Or use for research, if that's the case.

Personally, I think that the patient should consent first and then cut into the profit or be paid a certain amount if his "body" is commercialized.
Why should this be done at pre-commit time? And what automated system will be able to guess a ticket number based only on what's in a commit?

I'm all for validation that all commits must have some metadata/ticket numbers attached... at the time it is merged into master. Not on my local machine.

I probably did `git add -A && git commit -m WIP` at least 7 or 8 times today alone. But all my commits that made it into a PR were squashed, divided up logically, and renamed before they went in.

I'm trying to imagine a system where some automated thing prepends "TICKET#123 WIP" before every commit I make, locally, even if they're all getting thrown away before I squash/rebase/reword my commits. What's the point?
You Shouldn't Trust Ken Thompson
There is an app my wife made that I use: it's for expense ticketing. It's available here: https://spendtrim.com
> TBH, this is a bit of a stereotype.

I live in Korea. The amount of people who binge drink often and are hard drinkers in general, is higher than what I ever saw in the United States. It may be a bit overstated as a stereotype, but it is absolutely true.

Also, in the US, you do not have to go drinking with your colleagues/boss after work, out of social pressure. This is still common in Korea, especially for older workers. It's only now changing for the younger generation.

> socially taboo, to a situation where you can have shops on the street would not worsen drug issues.

These already exist, they're called "bars". One can pay money and enter a stupified state of consciousness, either quickly or slowly.

Unlike other drugs [including alcohol, a drug], marijuana is not physically addictive. I'm not advocating for hard drug stores to be present like bars are; I'm saying I don't have a problem with say, Colorado's style, so far. Making marijuana easier to smoke in Japan or Korea wouldn't be as dire as you're making it out to be.
Yes, the sample should be the top thing. I wanted to hear an article before anything else.