skysight-inc/HackerNews huggingface dataset:
Indeed, that's the thing I rather swept under the rug. I'll definitely take precautions if it's at all easy to avoid the assumption that just because my `--dry-run` stage said something was safe, it will definitely be safe by the time execution passes to the "do-it" stage. However, in general you are indeed doomed the instant you decided to split the tool up this way.

I have never actually encountered such a race condition while using any tool I've written this way. But I do remember one place where I specifically didn't add a feature to the tool because it was so vulnerable to a TOC/TOU race condition. Instead, I turned that feature into a "did I just manage to do the thing successfully, and if not, why not" check at the end of the "do-it" stage.

So yes, that concern is extremely valid, and if you're doing an operation whose validity is liable to change after you've done the check, then you do just need to follow a different approach for that operation. (But then there's probably no possibility even in principle of a `--dry-run` for such an operation anyway!)
Stress-Response Compound Widespread in Animals Is Found in Plants
A recent study found that repeating the “F” word during an ice water expe (cont)
I also think the reducing friction for the installation of downloaded DMGs from somewhere on the internet is not being done on purpose. There's so many points that MacOS makes you have to think 'do I really have to install this and do I trust this?' instead of just double click and tapping 'next' and 'ok' until it's installed. I think Google also not really participating in adopting the preferred installation flow on Apple devices is also done on purpose.
You could store your money in stablecoins, tied to the price of USD, wheat, energy, whatever you like. Decentralized USD stablecoins not actually backed by USD already exist.
Why not? Rust isn't limited to what Haskell does, and a lot of it's features are driven by a desire for parity with C++, which does have variadic generics.

Other languages in the same domain (like D) also have variadic generics.
Hope you're not in PHP, Perl, or Ruby!

http://emailregex.com/
And we locked children in cages and separated them from their parents. You can find something to be outraged about in any country you care to look at.
Not at all. They both have different scaling characteristics - serving a static file (assuming you didn’t do it via a CDN for some reason) uses a lot less resources than serving a backend request. If it doesn’t, you’re doing something terribly wrong.

If you couple them like you’re suggesting then you’re wasting resources by scaling out your FE serving infrastructure needlessly.

And at some point you’ll possibly end up splitting your backend into multiple services. Would you couple a frontend container to each of those?
ACE2 binding is common among coronaviruses. This is neither unique to covid-19, nor uncommon generally.
U.S. Backs 15% Global Minimum Tax to Curb Profit Shifting Overseas
Obligatory Cantrill reference https://youtu.be/wTVfAMRj-7E?t=5046. The whole series of these are well worth a listen.
This seems on point. The conversation at the dawn of personal computing would have been:

> Where's file X for project A?

> On the floppy disk for project A.

And that more or less continued for most users through the 90s, but then it got confusing to the entry-level user:

> Where's file X for project A?

> In My Documents, under the folder "Project X".

Which, I'd bet, is one of the reasons why cloud-based editors have taken off - the file is "in Google Docs", rather than in a directory hierarchy on the filesystem. GDocs presents me with a more or less flat view of all of my documents. I hate this - I have to go over to Google Drive to organize them - but I can understand how it'd be much more approachable to the average user.
they WERE the sweet spot at one point (at least, DVDs were), but they've fallen behind and are no longer worth it.

All the issues with hard drives (single "read" mechanism, limiting bandwidth) are doubly so when the medium exists outside of the read-mechanism and multiple manufacturers need to try to stay compatible with each other. It seems difficult to improve the medium independently of the read-mechanism.

I don't really know how the tape-drive industry manages to keep up. Tape just has some huge fundamental advantages in surface area I guess... but Tape also only promises read compatibility for 2-generations. So the whole industry manages to move forward on a decent cadence.

---------

SSDs are now the right size and price for typical end-user devices. But HDDs are still the king of capacity for all datasets below 50TBs, while Tape reigns supreme at the highest end in price per TB.
I totally support local manufacturing. We are too dependent on China to make stuff.

I love when China innovates (DJI) or drive prices down with creativity (Xiaomi). But much of China's competitiveness comes from poor treatment of people.

China's secluded internet and constant surveilancy makes harder for people to speak up and express themselves differently that how "society" dictates.
SPACE works for previewing many/most types of files, not just images! Video, audio, text, pdf, html etc. Folders too.
Business treats regulation as damage and routes around it.
>You could save the file somewhere else, and drag the file (perhaps from the icon in the title bar) into the folder.

You can do this in Windows. Save the file, open the save dialog again, drag the file icon to the Explorer window with the folder you want open. Hold shift to toggle copy/move.
It took Apple more than 10 years to get a CPU that performs same or better as Intel's CPUs and can be put into a laptop or a desktop computer.

To produce a "decent non-apple ARM desktop and laptop computers" other companies need to have started developing such a CPU 5 years ago.
I don't think the cultural convention of directories in Linux is well suited to spatial filesystem navigation. Still, it'd be nice to still have the option, especially with AppImage doing a reasonably job of approximating the one-file-application paradigm of Macs.
I've decided that the best way to validate email address is to not validate them, but require that any signup be finalized by the individual following a link emailed to them.

This allows a person to use any damn thing they want as their email address, provided it works and they can get the email.
Whether or not COVID-19 was a half-baked biological weapon that was accidentally released, it would be great if we took this opportunity to actually end biological weapons research globally.

There’s no reason to think it’s more likely for China to screw up like this than the US, Russia, or the scores of other nations with similar programs.
Glad this popped up.

I'm a Windows user and had to help a Mac user. Let's just say Mac definitely is my cup of tea.

And since those that i was helping ( an architect and a large property owner) didn't even remember their password to install an application.

I wouldn't consider them a actual user of the OS either ( just a consumer).

If they have OS X, they are free to search for someone who can actually help them, but it's not me. And it's almost the first thing i say on the phone.
Interesting, thanks for the detailed answer
I don't completely disagree, but to take the other side:

When you're being hired both you and the company are taking a bet. The company is betting that you're worth $x+$y/year, where $x is the salary and $y is bit extra to accommodate the risk that you aren't, you're betting that it's worth working for the company for $x-$z/year, where $x is the salary and $z is a bit extra to accommodate the risk that you aren't. I.e. both sides price in risk.

After a year or two, the risk on both sides has largely evaporated. The company now knows that you are (or aren't) worth $x+$y, and you know that it actually is (or isn't) worth working for the company at $x-$z.

There's now a delta between $y and $-z (assuming the initial estimates were accurate) where it "makes sense" for you to stay, the company could pay you more, but why would they? If it wasn't for the fact that shrinking salaries is a negative experience for the employee (more negative than the dollar difference) they could also pay you less. Splitting the difference by not changing the salary at all seems fair, and nicely lines up with the agreement you already have in place.
Not OP, but I've noticed the same with Linux over the past year or two. Stability has taken a distinct dive for the worse.

Two different Ryzen APU based computers I've built running whatever Ubuntu happened to be the latest. Tried both KDE and XFCE and they freeze about 1-2 times a week. The computers haven't crashed and if you ssh in everything seems to be running fine, but mouse/keyboard/screen are completely frozen. One computer dual boots Windows and I can run Windows for a month on it without rebooting and it never misses a beat.
I just have a entire domain for the purposes of spam. Anything sent to there ends up in my bulk folder. I use amazon@domain.com so I can tell who sells my email or gets hacked. Never noticed someone trying to send a email to any addresses I haven't previously used.
As with any OS, you can adjust the trackpad settings though, and eg require a click instead of a tap, for example, and disable most of the "advanced" gestures.
No it's in assembler.
Thanks so much, you read my mind.
Totally agree. This is why I avoid using Linux because it adds approximately 30 million lines of technical debt to my service, and I definitely don’t need all of the kernel APIs it offers.

So I build my own out of assembly. Now my REST api is free of technical debt!
For whatever reason, I have a really hard time with the Mac filesystem and have resorted to either command line or files in docs or downloads.
Recent M1 user here - I had a PowerPC mac back in the Leopard/Tiger days. I thought OSx would have come on leaps and bounds since then.

It's....more or less unchanged. As well as this crazy installer thing, there's quite a bit about Macs that just seems off.. My list of "things that don't seem right" as a long term Windows/ChromeOS user

- Window snapping isn't built in outside of fullscreen mode (seriously?!)

- Sleeping the mac does not sleep the mac, it wakes up at all sorts of times

- Every time the OS updates, I have to go through a setup process again, trying to upsell me on iCloud drive. Nothing updates as nicely as ChromeOS but I'd hope for at least a reboot and back to where I left off

- TouchID for login works....but not often enough - it constantly pesters me for a password

- Pressing enter renames a file rather than opens it. What?

- The Finder is either named ironically or I'm not getting it - file paths are obscured, seeing file details is hidden behind a dialog.

We bought the M1 because ChromeOS didn't like our old Samsung printer and the VPN software my partner uses and Google had killed the update life for it for...reasons. In an expensive lesson of "whoops", the Mac doesn't like the printer either.

A lot of this is me getting back into it and getting used to things, but I sort of miss ChromeOS.

In Apple's defence, the hardware is amazing and the bluetooth is fantastic. Could have put a port on either side to make charging nicer though.
But is that true in tech where tenures keep on decreasing? If you are losing the entire staff every 2-3 years or so (my last employer), the push clearly exists and it is widespread.
I ended up giving up on that after one too many websites rejecting my custom domain (which I’m the only one using) on signup. These lazy / ignorant colleagues are annoying -_-‘
Amongst other gripes people have mentioned (and I agree with), here's another:

cut. There does not seem to be a way to cut and paste a file/folder. The best I could figure out is to drag the icons, hold down the finger, and move the cursor to the desired folder on the sidebar (or another window) and release the finger. This is either extremely difficult to pull of, or I am less dexterous than I think I am.

Why not have cut as an option in the drop down menu? I really can't figure this one out. What UX mantra suggests this.

Also, dragging files around is also a difficult feat to overcome. You either press down too hard (end up opening all selected files in their target applications -- RIP ram, let's restart the computer), or too gently and nothing happens.
Well, not at the promised rate, because they're not 1000x as efficient (which they would be promised in article upon article over 4 decades and compounded).
This is what Trump meant by "fake news". As much as the HN crowd hates him, he's right about that. We don't have a regular report-the-news media in the US anymore, we have a propaganda arm of the authoritarian left and a satellite network of reactionary right wing outlets that are about as bad. Glenn Greenwald has had some excellent writing about this recently.

My general position is that if something is reported by a mainstream media outlet, there's a good chance that the opposite is true.
"Know what, brother? I tell you that studying the humanities in high school is more important than mathematics — mathematics is too sharp an instrument, no good for kids."

Stephan Banach quoted by Steinhaus in Through a reporter’s eyes, Roman Kaluza, 1995
Perhaps not to you. I think they'll make effective use of whataboutism on Belarussian state TV and newspapers. The similarities make it almost too easy for them.
Cries in removal of abstract types (e.g. `val x: A#T = ...`).

While Scala 3 filled a soundness hole, it opened a practical crater (and no, path dependent types are not a viable substitute).

Too bad, many nice improvements overall.
The Finder is atrocious. It's the worst default macOS app and probably the worst program period I've ever used. It's been so dumbed down that it's basically unusable for anyone slightly experienced.

- There's no way to create an empty file

- There's no easy way to cut a file/folder (Cmd-x doesn't work)

- There's no (?) way to keep everything consistently sorted and aligned

- ~~Tags are useless and just take up space for nothing~~ This one is entirely subjective. I retract it.

- No "parent folder"...

There's some great features in Finder but it sucks at so many things it's just frustrating to use. Windows Explorer is infinitely better. It has less cool features (no tabs for instance) but is so much better to actually use.

I get that some features are hidden to avoid confusing non savvy users, but preventing experimented users to do basic stuff is criminal.
I think you're right when it comes to security, but in order for that to work Apple would have to admit that checking apps for security issues is not inseparable from imposing rules that are supposed to benefit their own business model.

That said, here's a challenge for everybody (including myself) who doesn't like Apple's app store monopoly and side-loading ban:

Apple now requires apps to ask for permission before tracking users. Facebook is _very_ unhappy about that. Imagine what would have happened if alternative app stores were allowed on iOS.

How long would it take before a Facebook/Google sponsored app store would emerge that would carry all ad funded apps? How would you prevent this from happening?
No, HN replies are basically carbon copy of the top tweets about this.

Not sure why this story is getting so much attention on HN tbh. I guess the connection to Snowden makes it mildly relevant.
I mean, yes. But the price difference between a bike and the Ami is also huge.

It’s because they’re different things.
Or you could use ⌘+E to eject it.
fastmail is reasonably popular. Gmail is bigger, but fastmail is big enough that they cannot be ignored, unlike when I ran my own personal server and often found myself in blacklists without any knowable way to get off.
> and probably get every cough and cold checked out just in case

I work with infectious disease lab workers, and this isn't correct. None of them get every cold checked out just in case. Labs have no procedure for that. If anything, it's the opposite as they are confident of their immune system.
In some cases changing the law is itself illegal, which brings us back to the original question.

There is also the matter of protecting a persons right to commit a crime when it involves behaviors that should not be criminalized. A same sex couple being in a relationship is something that we should protest for, even if it is illegal. Not just making it legal, but also protesting specific examples of it being criminalized.

Is free speech itself something worth protecting enough that we should give it some level of special protection? In a world where the only person who doesn't have to know the law is the cops enforcing it, who are given their own special protection from harm they cause, I don't think it is an unreasonable request.
This is the way. However, I only found out about this after years of using Macs, I think by randomly happening to notice that functionality one day.

It's not obvious in the slightest. No affordance indication, no tooltip, no flashing indicator or walkthrough demonstration when you get a new Mac, nothing happens if you hover over it or click it, no real reason to think there'd be extra functionality in an unadorned window title, etc.

I like the hardware and I like the advantages of a *nix OS for dev stuff (compared to Windows - at least pre-WSL), but the only thing MacOS has going for it is looking graphically decent and having decent performance (as far as I can tell). The actual UX is quite odd and arcane in many ways. Definitely not intuitive.
It IS a good way to ingrain a behavior that, when used on a Windows system, will bias the user forever.
Its not that three got sick, that would be unremarkable. But three got sick so seriously as to seek hospital treatment.

That would be unusual. Given the proximity to the covid19 outbreak, there's a high probability that's the first known cases of covid19 - if confirmed.
That would demonstrate an understanding of email -- it is a very hard problem -- but probably also an unpleasant attitude you might not want in a co-worker. Whether the problem is worth solving is very often not your call as an engineer.
This is beautiful. To me, cars are appliances and I couldn't care less what they're like as long as they get me from point A to B safely and at minimal cost and time. I hope we get something like this in the US one day.
Sorry about your wrist. Thanks for brightening my Monday. Fast recovery to you.
Story of a Figma “bug” when pressing Shift and 2 on the numpad
Or, they were skeptics of the words of a compulsive serial liar and manipulator. It’s not partisan to stop trusting somebody like that.

Edit: it is factually true to say Trump lied in manipulative ways constantly, and easy to confirm. This is not a partisan statement, it’s a fact that can be checked. Here are 5276 examples: https://projects.thestar.com/donald-trump-fact-check/
Nice. I've always wanted to go to Crater of Diamonds, not so much to actually find a diamond as much as I just like the process of finding things like that. Kind of like looking for agates on Lake Superior's North Shore. Finding crystals is just as good in my book, might have to give that a shot.
I can also survive 825 meters per second from a gun. If the gun is long enough.
I think software engineering as a profession would be a lot better off, and a lot of people would be happier, if more people made sure they got some real variety in their first ten years or so. Work at a startup and at a FAANG (if you can). Work at a company that needs software developers but don't have that as their primary business. You'll be miserable and probably not last long, but it will give you perspective. Work at a hardware company. Try different markets, different technical specialties, different roles, different stages of development. Careers are long. You might be surprised at which combination ends up appealing to you, then you can spend the majority of your career being happier. Between greater ability to focus and all the contacts you made earlier, you'll probably climb higher in the end too.
It's a large lab. Perhaps a couple hundred work there.

...but even still, 3 admitted to hospital for flu symptoms in that demographic is very high, statistically - even if literally ALL employees caught the seasonal flu at the same time.
Gold's utility value is such a small fraction of its reserve value, that it's moot. And gold has had 1000s of years to find an alternative utility. Even if we did, it's unlikely that that utility would be worth more than gold's market price. I.e. high prices deter utility (this applies to BTC too).

Bitcoin (or potentially Ethereum) in particular are a much more efficient reserve than gold; being a reserve unit doesn't require any physical characteristics, but security, pseudo anonymity, and portability can be significant driving features in adoption.

[Opinion and speculation alert:]
It's clear at this point that Bitcoin's original currency goals are mostly lost, but Ethereum has a good chance of actually meeting them with ETH2. Bitcoin has become a significant reserve unit though, and it's energy costs is the only major risk against it (hence a potential flight to ETH). Although people who invest billions (including indirect investors via ETFs) don't particularly seem to care.
Other specific-utility cryptos might also succeed, though I expect most of them to be built on top of ETH.
> Beijing purposefully destroyed DNA evidence, and obliterated the team who first sequenced the CoVID genome

In civil trials there is the principle of “adverse inference”. When the defendant has either destroyed evidence or else has not produced evidence they would have been reasonably expected to have, the jury is instructed to assume they are what the plaintiff characterizes them to be.

I think this principle holds in this case. There is a lot of circumstantial evidence for the Wuhan lab leak theory. The Chinese government has destroyed a lot of evidence and host gone to great lengths to keep documents and people away from investigators.

Based on all this, I think the preponderance of evidence is in favor of it being a lab leak.
Internet and Public Sphere: What the Web Can’t Do (2014)
>they ARE NOT that intuitive unless you live on the App Store, or only consume the Apple-made software which might be fine for 70% of the population, but the moment one ventures outside of the walled garden, one might get lost.

Well, condidering the different ways to do the same thing in Windows and Linux, it's still quite easy.

But admittedly it could be easier.