Better HN
topnewbestaskshowjobs
Log inSign up

aaronrandall

290 karma · joined Dec 15, 2013 (12y ago) · 16 submissions

Submissions

1.

Ranking tech companies by their climate credentials(gosupercritical.com ↗)

2 points · by aaronrandall · 3y ago · discuss

2.

A brief history of the strangest emoji(aaronrandall.com ↗)

1 points · by aaronrandall · 8y ago · discuss

comment 10y ago · link · parent

The Pigpen symbols certainly are distinctive, recognising them helped me get started.

That's great to hear, hope your kids enjoy. Thanks!

comment 10y ago · link · parent

Very cool! Although it doesn't solve either of them perfectly for me (e.g. "HEY BUYS" instead of "HEY GUYS").

Would love to read more about how that tool works :)

comment 10y ago · link · parent

Great question :) Frequency analysis is actually still pretty useful for ciphers more complicated than a monoalphabetic substitution cipher. Take a polyalphabetic substitution cipher (similar to the one you described), where a key is used to determine the offset for each character. In this example the key is ABC:

Key: ABCABCABCABCA... Plaintext: MYNAMEISAARON... Ciphertext: MZPANGITCASQN...

At first glance, frequency analysis would be useless against this ciphertext. But if you can work out the key length (in this case, 3), you can group every 3rd character together and then perform frequency analysis on each group, as we know each group as been encrypted with the same key, making frequency analysis relevant again.

6.

Cracking the Adventure Time cipher(aaronrandall.com ↗)

241 points · by aaronrandall · 10y ago · 24 comments

comment 10y ago · link · parent

That's a great question! My original plan that once I had extracted all the items from the plate, the app would then detect the average colour of the remaining regions and "fill" the gaps - that wouldn't work well with plates that have different patterns, but would probably be good enough for plates of a single colour.

Due to time constraints (and ultimately solving the majority of the problems I had originally aimed to with this project), the app replaces the cropped circular region with a plain white plate (a separate image contained in the app) before placing the extracted items.

Maybe I'll go for the more advanced implementation if/when I spend more time on this project!

comment 10y ago · link · parent

Awesome, glad you enjoyed it :)

comment 10y ago · link · parent

Thanks, glad you enjoyed it :)

10.

Show HN: An algorithm to automatically turn photos of food into faces(aaronrandall.com ↗)

211 points · by aaronrandall · 10y ago · 28 comments

comment 11y ago · link · parent

I'd love to see someone build this as a bookmarklet - I wouldn't know where to begin with image processing in JavaScript. Maybe a project for another day...

comment 11y ago · link · parent

That's a great idea. If I could get the image processing to run fast enough, I'd love to get to a point where you could have Screentendo overlay a video (of a scrolling level for example), and have the level blocks generate as the video played.

comment 11y ago · link · parent

Thanks, glad you liked it!

comment 11y ago · link · parent

Yeah I played around with building levels in TextEdit while I was developing the app - it's a lot of fun watching lines of text turn into platforms for Mario, and it allows for iterating on level design really quickly :)

comment 11y ago · link · parent

You'll need to install cocoapods (the dependency manager) using:

  sudo gem install cocoapods
then in the project root, run the following to install the dependencies:

  pod install
I'll update the GitHub repo with instructions :)

16.

Turn any part of your screen into a playable level of Super Mario Bros(aaronrandall.com ↗)

120 points · by aaronrandall · 11y ago · 28 comments