I first used ed(1) back in the ye olden days of early 1980s, vi was like a major advance.
Came in handy when I had to talk a guy through updating a Solaris config file to allow the box to boot when he only had a serial console in the early 2000s.
ed is good. If, for whatever reason, I was forced to only use line mode editors for the rest of time, you can't do much better than ed (besides ex, I suppose)
My rule of thumb is that if you want to keep your code clean, always returning an empty collection is preferable to returning an empty response on that branch. You don't need a guard clause to null/undef-check before consuming the result. The rule applies whether we're consuming the response from a repository or an http request.
So in the comments here we have the usual about us-east-1, it's centralized, it's a SPOF for AWS, they should fix it, don't put your stuff there, etc.
This was one data centre in one zone of a multi-zone region.
Yes IAM/R53 and others are centralized there, yes, reworking those service to be decentralized and cross-region would be a Good Thing. But us-east-1 is already multi-zone (6 with a seventh marked as "coming in 2026") with multi DC within zones. From memory, when a global service like IAM is out, it's more likely to be bugs in the implementation or dependency than a "if this was cross-region it wouldn't have died" issue.
But this wasn't an outage of any AWS global service this time. The only one that seemed to have more impact was/is MSK. Which is likely to be more of an issue with Kafka than anything AWS related.
Governments already have everyone's ID, including DOB. They say that the problem is non-adults accessing adult sites and services. So therefore, the sites need to know that users are over 18 (or the selected government age).
There should be a standardized government ID service/API that allows a person to let it disclose their age (or other user selected information) to a requesting site/service. That's all that is needed if the government ID service has appropriate 2FA and security.
Both the request and the response can be appropriately anonymized so that the government doesn't know the site, and the site doesn't know the person's identity.
Why isn't this a thing yet? As far as I know, no one has proposed it.
In theory, every EU state will have to support this soon so users can use it to verify age privately online. Still work to do to roll this out for real, but the technological part is very much already happening and I think the rollout plan is committed.
No. You seem to not understand how government works. It will never be anonymized so it's an awful idea, you basically suggest to link accounts to a passport.
The german gov id supports that. They have a PKI and the id is a smart card with a cert and private key on it [0]. It lets you answer the question "are you over 18" with a zero knowledge proof. I guess it only proves you have in your possession a valid id AND know the PIN to it, but that should be fine. France apparently has this, too, according to the article.
This is the technology behind the digital wallet/age verification app. A challenge with these systems is that card readers that actually support this kind of thing are excessively rare and expensive for what they do, especially when used with desktops.
My German isn't that great, but I can't find any sources that state that the German eID can use ZKPs directly. From what I can tell, it uses basic signatures, and the new/upcoming wallet app will take care of ZKP generation. But maybe I'm missing a source in German?
> Both the request and the response can be appropriately anonymized so that the government doesn't know the site, and the site doesn't know the person's identity.
Yes that's how it's done in France for instance, and generally how it's being discussed in the EU.
> There should be a standardized government ID service/API
Most European country already have one, some are still testing theirs. They're required by the EU to make one accessible to their citizens by the end of this year, in the context of the eID project [0].
Exactly. Governments that really care about age verification should provide the tools to do so. They have the means to do so without violating privacy. Something like the Dutch DigiD service (the one they're about to sell to the US despite literally everybody opposing that) would be a great basis for this; just add an age verification service to it. They already know who you are in the most legal sense possible.
In Russia we have gosuslugi.ru (state services), which nowadays requires 2FA and hasn't been compromised in any major way so far.
Among other things they provide a way for a third party to use it as identification service and a user chooses which data about himself he wants to share. No anonymity, though, and I don't see how it can be implemented so that the verification provider doesn't know which service is requiring age verification.
You seriously think Russia's state services are not compromised by intelligence?
Also, yea, no anonymity is the problem. Why would you want your government to be able to track every single website you've ever visited -- especially considering we're talking about an autocratic regime?
I'm astonished at the naivety on display on a community called "Hacker news."
>You seriously think Russia's state services are not compromised by intelligence?
The state services are required to assist intelligence and law enforcement in lawful investigations, the intelligence don't need to compromise anything.
>Why would you want your government to be able to track every single website you've ever visited
I don't want anyone to track every single website I visited.
>considering we're talking about an autocratic regime
Glad you see the EU for what it is.
The problem is that verifying age requires disclosing your identity and the fact that you use a certain service. Whoever is the provider of such verification, it learns too much about you.
Is the state a worse choice for that than a commercial entity that has fewer resources to secure itself against hacking and might even sell the data itself?
I would rather not have age verification at all and glad there is no such thing in Russia (yet?).
"hacked", such a shame what happened in the background; it was a teenager who saw some url like "view_my_id_documents?id=1234" and just incremented the number, and could download the documents of other people (did on dozens of millions).
The Germans "owned" the holocaust because the Nazis (German) started, conducted, and maintained the systematic collection, extermination, and destruction of certain classes of the population under their control.
I assume the point is that what make them acknowledge and repent from what they did is that they lost the war.
Many massacres and genocides are "owner-less" and obscured by history. To give a few exemple, you might find, but the trail of tears is not as front-and-center in US' history teaching as the holocaust is in German history teaching.
You'll find similar situations for all colonial powers who didn't get dismantled and forced to accept their wrongs after losing a war. You may even go as far as to say that Germany is the outlier here.
Is it not just the same as when people suddenly started having "an ask"? It is some kind of in-group speak that it is important that you adopt just to show that you are with the times.
I believe this wording originates from references to a Stock Ticker machine and the Ticker Tape which would "print" the "latest" values of stocks, interest rates etc.
3. I have the dock on the left hand side, not bottom and I have a 2 monitor (iMac 5K 27"+ Dell 4K 27") setup with the iMac flat in front of me and the curve/2nd to the right. Menu bar is then close to the main windows.
6. Use Macports to add all the Linux/Unix utilities, works with MacOS properly (eg Python/Java frameworks). Ports can have variants, plus you can have multiple versions installed side-by-side with `port select`. https://www.macports.org/
Not sure about fonts, on a 5K iMac they're fine and the 4K Dell works too. You need to use a resolution that fits with Mac's ideas of resolution, so I've got the 5K and 4K both at 2560x1440, which is Mac's idea of 2x resolution.
One option for the menus maybe is keyboard searching. Command-shift-/ aka Command-?then type the name and arrow navigate. (Key sequence might be wrong, it’s muscle memory at this point)
I wonder if Thaw could be modded to repeat the menu bar?
Dock can be hidden/revealed with a key sequence but I like the auto-hide with long delay to pop up idea, suggested elsewhere.
Hey thanks for those tips. I just installed Ice and Thaw is a fork that is maintained, so I'll try that out. I have my dock on the left already, and have heard about Rectangle, but haven't tried it yet.
Another point, if you enable Settings > Desktop & Dock > Mission Control > Displays have separate Spaces, then you get a menu bar for each display, which helps with the menubar / window being far apart.
Speaking from Australia (Melbourne, where coffee is a religion), I get a freshly brewed, freshly ground, "dialed in" every morning, double espresso from a barista that has qualifications to understand the best roast and best grind for the coffee.
Came in handy when I had to talk a guy through updating a Solaris config file to allow the box to boot when he only had a serial console in the early 2000s.
reply