Oh wow I saw that tshirt at the store and said to my girlfriend "no way that script is functional, probably just for show". I should have persevered.
Decoding the obfuscated bash script on a Uniqlo t-shirt
51–60 of 253 posts
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#52OCRing this is a nightmare and is a good benchmark to any self-proclaimed good OCR/vision model. I think though it could likely be easily OCR'd if you give the image to any decent agentic harness with a good vision model, e.g. newest Claude/GPT ones, and tell them to split the image per lines, and then just OCR each line individually. I wonder if the script itself was written by an LLM before obfuscation? There seem…
Can't remember his name now, there's been so many distractions...
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#53Earlier 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...
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#54That's better than half the tech howtos out there.
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#55OCRing this is a nightmare and is a good benchmark to any self-proclaimed good OCR/vision model. I think though it could likely be easily OCR'd if you give the image to any decent agentic harness with a good vision model, e.g. newest Claude/GPT ones, and tell them to split the image per lines, and then just OCR each line individually. I wonder if the script itself was written by an LLM before obfuscation? There seem…
From the prototype shown here [0], and the way they talk about their process, I sincerely doubt it. Especially as they mention trying to make it hard for AI to handle the output.
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#56Earlier quoted context omitted.
I don't think it was written by an LLM, some things stand out: The congratulations text is both in English and Japanese. Contains a single heart emoji. There was an intention to have a cyan to orange gradient, but the range starts in an ANSI block, ends halfway through the 256 color block and 256 terminal colors are not arranged like a gradient at all. There's no sleep at the end of the loop where I feel like an LLM…
Human here. I added a sleep 0.5 at the end, it's too fast to read otherwise. Makes for a nice terminal screensaver!
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#57Basically it just clusters same characters and asks the human to find the problems, which is easy when you're looking at a series of pictures like ssssss5sss.
The UI is kinda least-effort. Should ask a modern AI agent to make it look nice and intuitive, sometime maybe.
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#58Well at least they're not instructing consumers to run curl | bash. That's better than half the tech howtos out there.
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#59https://www.wired.com/2000/08/court-to-address-decss-t-shirt...
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#60Earlier quoted context omitted.
I don't think it was written by an LLM, some things stand out: The congratulations text is both in English and Japanese. Contains a single heart emoji. There was an intention to have a cyan to orange gradient, but the range starts in an ANSI block, ends halfway through the 256 color block and 256 terminal colors are not arranged like a gradient at all. There's no sleep at the end of the loop where I feel like an LLM…
"the code is not quite detail oriented enough to be AI", times are changing