Live data from Hacker News

Decoding the obfuscated bash script on a Uniqlo t-shirt

tris.sherliker.net

211–220 of 253 posts

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

#213
post #23

Earlier quoted context omitted.

Which distro are you running? Perchance did you run the shell script in alpine Linux (docker)?

Debian.

There is a python3 variant in this thread [1], but if that is not "standard enough" (as someone else may have mentioned bash itself is not POSIX), this awk would also work { Warning - this awk is 1000s of times faster than the bash. So, you really probably want that sleep { and sure 100s of times faster yet may be possible. } }:

    #!/usr/bin/awk -f
    BEGIN {
      # Split on spaces so multi-byte utf8 works
      nText  = split("♥ P E A C E ♥ F O R ♥ A L L", tmp, " ")
      for (i = 0; i 
As to "bug reports", the T-shirt published script also fails with LC_ALL=C for me as mentioned else-thread.

FWIW, I think ancient practice to reach for `bc` instead of `awk` or even the arithmetic built into shells often annoys. The only reason I keep `bc` installed at all is to compile Linux kernels. Someone had some patch set to Linux to eliminate this very dependency many years ago now.

[1] https://news.ycombinator.com/item?id=48830669

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

#215

Earlier quoted context omitted.

All I remember is that it had some to do with Bill Clinton sleeping with underage girls and Bill Gates with a nasty case of VD.

I think there's also someone who's very close to him who currently has the reins of power in government... or you forgot about this? He even sent the now-deceased man a birthday card with some words that strongly suggest he knew what was going on..

Huh? You talking about Iran?

(.../s)

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

#216
post #2

OCRing 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…

> OCRing this is a nightmare and is a good benchmark to any self-proclaimed good OCR/vision model. It's not that difficult, our industrial OCR model read it correctly on its first attempt with default parameters. The characters are easily separable, there is no structured background (think expiration dates on yogurt aluminum lids) that confuses the reader, there is no almost-text-like texture anywhere that would clut…

Cool. What's an industrial OCR model?

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

#219
post #71
post #42

I love this shirt! Here's a nice video from the actual designer about the process of making this shirt (including intentionally making it hard to OCR): https://youtu.be/jocGLiecpjU?t=526

Author here. Thank you so much for the link which I hadn't seen! I'm very happy to see this and I'm gratified that it was deliberately difficult to OCR, not just me.

As much as I hope for Peace, I would have suggested

echo "Fgnaq+sbe+Qrzbpenpl!" | tr 'A-Za-z+' 'N-ZA-Mn-za-m '

Post reply on HN