HN user

salgorithm

551 karma
Posts10
Comments21
View on HN

You can have a lot of fun with a tiny traffic light using an Arduino and three different color lights. There are bunch of things you can do to build on it.

- 3d print a stand (here's one I did https://github.com/SalvatoreT/howmm/blob/master/week06/Traff...)

- incorporate an infrared sensor + infrared light to simulate triggering the red -> green flow

- make an intersection with each of the lights working together to show the right thing at the right time

- add a crosswalk

A while back I wrote this useless site where you put in a string and it gives you a Ruby one liner to output that string.

https://monkeynumber.xyz/

i.e. "bird" gives you

ruby -e "srand(267343);puts 4.times.map{rand(97..123).chr}.join"

which will return "bird" if you run it from your command line

I do a brute force attempt at it, but (maybe one day) will peel back Mersenne Twister and get a more optimized implementation.

Halfsies 3 years ago

I wonder if growing up with similar-aged siblings gives you a natural advantage at this game.

Tokenized Tokens 3 years ago

I could imagine developers using something like this to get credentials off laptops.

The anecdote I always share about my 2013 internship at Square involves Bob. It took place during the quarterly Hack Week, when the company allowed everyone to take a break from work and build whatever they liked. Cash App (known as "Square Cash" back then) had just been launched, and the only way to send money was by emailing someone with a dollar amount in the subject line and cc'ing cash@square.com. My fellow interns and I decided to expand this email functionality by building a "pay by Tweet" feature with essentially the same mechanics (https://twitter.com/hackweek9bot).

We downloaded the codebase (I believe it was called "Franklin") and found ourselves struggling to get it up and running. I entered the room where the Cash team was seated and started asking a random guy questions about the dependency injection library (Guice) and various other topics. After about half an hour of answering my questions, he compiled a list of documentation for me to read and sent it to me via email. I returned to my Hack Week team and forwarded the email to them. "Oh, dude, that's our CTO," one of my teammates informed me. At that moment, I was convinced I would be in trouble for bothering an executive. However, instead of that, I ended up receiving a fist bump during our science fair-style project presentation. He was a genuinely cool guy.

I was confused by the first chart where they cropped off the Y-Axis label.

I thought the X-Axis was "# of people at the company" and the Y-Axis was "# of developers". That wouldn't make sense because the "less than 10" person company would have "16.40" developers!

I found the survey they mentioned. The Y-Axis is "Number of Internal APIs" which makes much more sense. https://rapidapi.com/blog/rapidapi-developer-survey-insights...