HN user

Toxygene

89 karma
Posts0
Comments25
View on HN
No posts found.

To access a private CodeArtifact repository, you have to first fetch a short-lived token, then supply that as the password when you access it via npm/yarn, poetry, etc. In most cases, this is an inconvenience that can mostly be paved over with the AWS CLI or a shell alias.

This quickly get messy though. We use AWS CDK and build our assets in a Docker container. Each time the token changes, Docker invalidates a bunch of layers and rebuilds the image. AWS CDK sees that and uploads a new .zip to S3 or an image to ECR. Then Security Hub sees a new Lambda function or image, scans it, and carpet bombs my email whenever a CVE is found.

It's ... not ideal.

Bitten by Unicode 2 years ago

Another option would be to detect and/or normalize Unicode input using the recommendations from the Unicode consortium.

https://www.unicode.org/reports/tr39/

Here's the relevant bit from the doc:

For an input string X, define skeleton(X) to be the following transformation on the string:

    Convert X to NFD format, as described in [UAX15].
    Remove any characters in X that have the property Default_Ignorable_Code_Point.
    Concatenate the prototypes for each character in X according to the specified data, producing a string of exemplar characters.
    Reapply NFD.
The strings X and Y are defined to be confusable if and only if skeleton(X) = skeleton(Y). This is abbreviated as X ≅ Y.

This is obviously talking about comparing two string to see if they are "confusable" but if you just run the skeleton function on a string, you get a "normalize" version of it.

If you are asking why the study isn't covering a period of time including winter, it's because the study goes for a full year and this is only a report at the half way point.

On Tuesday, the group released data on the halfway mark of the pilot program, showing that rates of homelessness and food insecurity decreased, while shelter and employment rates increased over the past six months.

While at a conference last year, I got COVID. My hotel refused to extend my stay, and wanted me to take an ambulance ride to another "COVID quarantine" hotel. I had a bad fever, was far away from my home and family, and didn't know what to do.

I had deleted all my social media accounts years ago, but on a whim, I created a new Twitter account and posted @ the hotel and the conference organizers, asking for help. Within 30 minutes, my hotel stay was extended and I was able to fly home five days later.

I wanted to share this story because I wanted to bring some positive perspective to the discussion about these platforms. I don't know if a government-built social media platform is a good idea, but I think there's merit to a discussion of a "public utility".

Migration was a complete nightmare for me. I had a couple of accounts for myself and kids. I used Gmail "plus addressing" for all the accounts. MS actively prevents creating accounts using email "plus addressing" so I had to go through the nightmare of creating several MS accounts and migrate each Mojang account. Every step of the process was painful and slow. And that was just the account setup part. Then I had to create user accounts on their Windows 11 machine and fight with the account linking there. Several hours, and an absurd amount of cursing, later, it was done. Never again. I'll just make my kids play on their Switch if anything goes wrong on the future.

he's the only recent president who didn't start a new war

Not for a lack of trying. The assassination of Qasem Soleimani was authorized by Trump and led to several direct attacks on each other and only stopped after Iran accidentally shot down a commercial passenger plane originating from their own country.

Reminds me of the Venmo scam I encountered a month ago. Some person I don't know sent me $50, then tried to send me a request for $50, but accidentally sent me another $50. I'm confident this was a scam, so I sent a support request to Venmo and let them deal with it. It was pretty frustrating that I was never prompted to accept the funds. Is this standard practice with many of these "send money" applications?

[...] why was it never codified in law?

The findings of the SCOTUS in Roe v. Wade was:

The Due Process Clause of the Fourteenth Amendment to the U.S. Constitution provides a fundamental "right to privacy" that protects a pregnant woman's liberty to abort her fetus. [1]

In other words, *the SCOTUS finding said* abortion was codified in law -- the U.S. Constitution.

Edit: clarified the summary to attribute the finding to the SCOTUS and not to my opinion

[1] https://en.wikipedia.org/wiki/Roe_v._Wade

The worst programmer I know is myself, six months ago. The most arrogant programmer I know is myself, in six months.

I'm not sure if/when it changed on the site, but MySpace listed the time comments were made in the comment posters local timezone instead of the readers timezone. It was such a strange thing that I still remember it decades later.

I'm a developer in the Midwest and my team participated in the signaling contest for the MTA Genius Challenge[1]. I handled gathering the raw data from our hardware and generating visualizations for testing, troubleshooting, and eventually presentation. Using a variety of hardware (ranging hardware on the train and through the subway tunnel, Ulta-wideband[2] transmitters for sending data, ect), we developed a Communications-based train control[3] system that would allow for moving block signaling[4].

It was a fascinating few months of problem solving and troubleshooting. I have fond memories of sitting at a folding table on the 7th Ave platform during a cold week in January.

That said, I don't envy those still working on this project. There are so many problem -- old signaling hardware that breaks down frequently and has to be manufactured by the MTA because no one produces the parts anymore, slower train speeds, track fires, train malfunctions, passenger-related delays... the list goes on and on. I hope they're able work it all out because I really enjoyed riding and working on the subways, even if only for a couple of months.

1 - https://www.youtube.com/watch?v=GMjSi0ftLjA

2 - https://en.wikipedia.org/wiki/Ultra-wideband

3 - https://en.wikipedia.org/wiki/Communications-based_train_con...

4 - https://en.wikipedia.org/wiki/Moving_block

I worked with Tony a number of years ago and have been following him on social media. He does a lot of public records research, and for the last two+ years or so, he's been fighting the Hennepin Count Sheriffs office over public records requests about law enforcement's use of biometrics. As of April of this year, the Minnesota Court of Appeals ruled against Hennepin county. I'm not sure if the county is planning on appealing to the Minnesota Supreme Court, but based on their behavior so far, I'd bet on an appeal.

If you need more convincing, check out his blog at https://tonywebster.com/.

PS. Direct link to his post about the MN Court of Appeals outcome: https://tonywebster.com/2017/04/minnesota-court-of-appeals-d...