Live data from Hacker News

Decoding the obfuscated bash script on a Uniqlo t-shirt

tris.sherliker.net

171–180 of 253 posts

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

#171
post #147

Earlier quoted context omitted.

Has anyone ever made a monospace font with dynamic kerning? Which is a silly thing I never thought of until I read the above comment. This sounds nonsensical at first glance(and it may be) but hear me out. We use monospace fonts for a reason, they stack in a grid nicely. But within the confines of that grid there is room to shift a character left or right a bit which may lead to a nicer to read monospace. (it is equa…

Monaspace has a feature called "texture healing" that does something similar: it allows bigger letters to "steal" space from adjascent smaller letters, to make it easier to read. The result is that the letters are still in a grid, while still allowing for bigger letters to "breathe". https://github.com/githubnext/monaspace/blob/main/docs/Textu... It's the main reason I use monaspace as a font.

What a brilliant idea, neat. Thanks for the link.

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

#174
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

I watched the link but I didn’t see where he talked about making it difficult to OCR? What exactly was done that made it difficult to OCR?

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

#175

Earlier quoted context omitted.

Ahem... My code usually clocs at 50/50 (or thereabouts)[0]. Has, since my very first real engineering project (in 1987)[1]. I discuss in detail, here[2]. But one reason that I like LLMs, is that they help me to write even more documentation. I have found that I can instruct an LLM to revise my documentation, and make it even more effective. [0] https://github.com/ChrisMarshallNY (My GH profile. Pretty much everything…

Your code isn't as unnecessarily commented as this. E.g. look at this line https://github.com/RiftValleySoftware/RVS_Spinner/blob/d44ee... An LLM would have commented `// Create temporary UI view.` Completely redundant comments like this are a classic hallmark of LLMs: # Set frequency scaling factor freq=0.2 Dunno why I have been downvoted for stating the obvious. Also from my brief look at one file it looks like you…

I didn't downvote. There's nothing wrong with your comment. It's just a bit silly, because humans definitely write that much. I learned from Apple and Adobe headerdocs.

I worked for a Japanese company that accreted comments.

Yeah, lots of whitespace.

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

#176

I don't understand the font bit. This is a terminal script, it uses the font that your terminal uses?

Your terminal doesn't typically use Consolas. You can do:

    $ wget  https://archive.org/download/PowerPointViewer_201801/PowerPointViewer.exe
    $ cabextract PowerPointViewer.exe
    $ cabextract ppviewer.cab
    $ open CONSOLA*.TTF
and use Consolas on Linux, but it's not available by default.

What they're suggesting is that a lot of their users are logging into an Akamai Linux box from a Windows machine, and therefore aren't "real Linux geeks".

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

#178

If you enjoy this kind of thing, you might also like Martin Kleppe's work, such as the Quine Clock: https://aem1k.com/qlock/ I reverse engineered it to a unobfuscated version a few years ago: https://gist.github.com/olooney/a89db3932b089925b71b68d7e9f2... He's done a ton of other great ASCII visualizations as well: https://aem1k.com/

This is really cool, and I appreciated your reverse engineering.

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

#179
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

But it's not hard to OCR? And I don't know why the article dedicates an entire section to it.

On a Samsung S24U I held down the "circle to search" homescreen button which brings up the AI tools interface (I don't know what it's officially called), held down on the text and copied the whole thing in one shot.

It took like 2 seconds.

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

#180
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…

Is it? Android tap and hold/image text select one-shotted it in 2 seconds.
Post reply on HN