Hacker News new | past | comments | ask | show | jobs | submit login

> https://github.com/surprisetalk/blogs.hn/commits/main

Uh, wanna talk about your commit messages? I mean I love it to bits, but I feel something needs to be said. Not sure what. It may be U+2603.




Ha! I added an “emoji roulette” script to my workflow for personal projects.

There’s something fun about seeing my experience with a commit randomly summarized by an emoji haha


What kind of algo is it that summarizes your coding session as "carnival tent emoji"?

Or does roulette imply (pseudo?) random?


Here's the entire script that determines the commit message:

  const ems = [ ':)' , ':-o' , ':(' ]; // etc

  process.stdout.write(ems[Math.floor(Math.random() * ems.length)]);
Sometimes I'll see a carnival tent or horse face during a late night coding session and think to myself, "Wow this emoji perfectly captures how I'm feeling right now!"

I know it's stupid, but it makes me smile :)


I feel you may also like lolcommits[0], it doesn't pollute the public repository, but takes a webcam photo of you and can optionally add the commit message into the image. Every few months I would convert the images into an animation and it's interesting watching the facial expressions, change in appearance and locations.

[0] https://lolcommits.github.io/


I'd have a fucking aneurysm if someone tried to pass off those commit messages at work.


You're not at work though, this is someone's personal project that they built for their own enjoyment.


Imagine being a doctor's patient and someone write that in your medical file! U+1F631

Luckily, this is clearly not a professional project in any way, so no aneurysms were had this day.


Glad I'm not the only one.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: