Live data from Hacker News

Decoding the obfuscated bash script on a Uniqlo t-shirt

tris.sherliker.net

101–110 of 253 posts

Re: Decoding the obfuscated bash script on a Uniqlo t-shirt

#101
This reminds me of a T-shirt I once saw that read:

          perl -e '
     "$a="etbjxntqrdke";
  $a=~s/(.)/chr(ord($1)+1)/eg;
        print "$a\n;"'
It's cursing. Don't run it if it might offend you.

Upon seeing this, I decided to golf and came up with a shorter version:

  perl -e "print chr 1+ ord for split //,'etbjxntqrdke'"

Re: Decoding the obfuscated bash script on a Uniqlo t-shirt

#102
post #24

Earlier quoted context omitted.

They're referring to the font on the T-shirt.

Thank you for spelling it out for me because I thought I was looking at a completely hallucinated AI article...

Author here. All hallucinations are my own. Now you point it out, I see why the jump in context from the terminal back to the tshirt font would give the wrong impression.

Re: Decoding the obfuscated bash script on a Uniqlo t-shirt

#107
post #92

> I ran OCR in a few ways: First, using the built-in OCR of the circle-to-search feature on Android, which is often very good. Second, by using Tesseract with a few options and tweaks. And third by running it through Claude. After diffing the three to look for mismatches and getting Claude to output a table of locations for quick scanning, it became trivial but time-consuimg to tidy up the remainder I bet 10$ I'd spe…

(Author here) for unrelated reasons my typing is very slow at the moment, so I was keen to automate. I see that people are getting different results from Claude than I did though.

Re: Decoding the obfuscated bash script on a Uniqlo t-shirt

#109
post #9

I thought it was funny that the author used a variety of OCR tools with mixed success before spending a lot of time manually fixing up the output from the best one, rather than just typing it in

That was also my thought… but I grew up mashing rubber keys for hours copying “games” out of magazines and books! Then hours after fixing all the typos!

I spent hours typing 6502 assembly. It went a lot better when someone dictated: LDA, STA, BEQ, LDY, STY...

Re: Decoding the obfuscated bash script on a Uniqlo t-shirt

#110
post #48

Earlier quoted context omitted.

Safari's copy-text-from-image feature manages the entire base64 part of the string, except for the first character (I instead of a T). Weirdly, it gets much worse performance if you try to copy the entire string, including the hashbang part. I wonder what it's doing under the hood to get such good performance?

Didn't know Safari had this. Looked it up, you put mouse over text, then just select and copy it - very cool! https://support.apple.com/en-gb/guide/safari/ibrw20183ad7/ma...

It’s actually a system feature, not strictly a Safari feature. It also works in Photos, Preview, etc.

On meetings I will often take a screenshot of the URL someone is presenting. I’m then able to just open the image and click the URL in the image.

Post reply on HN