Live data from Hacker News

Ask and Show HN: Ever coded for love? Willing to share?

news.ycombinator.com

71–80 of 224 posts

Re: Ask and Show HN: Ever coded for love? Willing to share?

#71
One of the first programs I wrote on the Amstrad was a random number driven matchmaking program that would pair up boys and girls in my primary school class. I guess that was more titillation than love though.

I created a web based adventure in about 1998 for a girl’s birthday (featuring the A-Team, the cast of Friends, Peter Stringfellow, Alf from Home and Away, and many other celebrities whose photos I could find easily). I don’t have a backup, archive.org only had it partially and it was full of absolute filth so I wouldn’t really want to resurrect it.

In 2011 my wife (different woman, despite the excellence of the above) and I were struggling for baby names so I made a Mac app that used Bayesian stats to find out what kind of sounds and spellings you liked. I later polished it up and released it on the Mac App Store to some small but satisfying number of sales.

My son (named via the simpler algorithm of my wife deciding on her favourite name) is now 9 and I write code for/with him. Yesterday we wrote an app to show random arithmetic problems for him to practice on, in GAMBAS which is excellent for kids learning to code.

My dad wrote programming books in the 80s and we grew up around computers and learned to code quite young. I guess if anything I’d struggle to separate programming from love even if I tried.

Re: Ask and Show HN: Ever coded for love? Willing to share?

#72
post #63

Earlier quoted context omitted.

That game is really good! I'm not a gamer but I really enjoyed it. Took me a minute to figure it out but then I had fun. Is the source open?

The source is open ( https://10-5.de/game/c2runtime.js , seems to be built with the framework "Construct" so you'd have to find the actual game logic in there) but it doesn't seem to be open source so don't go copy-paste it willynilly.

It’s great seeing our game engine pop up in posts like this!

Re: Ask and Show HN: Ever coded for love? Willing to share?

#73
For an anniversary I built a (password-protected) site which showed a search box. When my wife searched for terms related to her, it would bring up pictures, stories, poems, etc. I'd had a bunch of friends secretly submit their own media so that there was a bunch of content! It took me probably a year to put everything together and come up with all the terms, but she loved it!

Re: Ask and Show HN: Ever coded for love? Willing to share?

#74

I made a game for our wedding-website. The player has to control her and me simultaneously. It's pretty short, though. I did everything myself, graphics, music, gameplay. https://10-5.de/game/ A funny anecdote: Some years ago, a person asked me if it would be ok to modify the game for the wedding for his friend. They wanted to play it at their wedding as a joke. At first I didn't know what to say, but then he told me…

Just played- super fun! Really cute idea for a wedding website, no wonder your buddy wanted to borrow your idea!

Re: Ask and Show HN: Ever coded for love? Willing to share?

#75
post #66

For our wedding, I asked my now wife and a few friends and relatives to fill a “guests’ distance matrix”, where 0 equaled superclose friends and 5 complete strangers, and from a random initial layout, it bruteforced random swaps between guests untill reaching minimum distance configurations. It was a pretty dumb algorithm, but it took into consideration table capacity, party size and closedness of tables. Of course,…

Organizing the seating arrangements at our wedding was such a pain. I remember we suggested doing "self seating" where everyone could just eat wherever they chose, and it was like I suggested inviting Satan himself to host the ceremony. My mom and Aunts shot that down SO FAST.

Re: Ask and Show HN: Ever coded for love? Willing to share?

#76

My girlfriend complained that I ignored her texts on the messenger app LINE which is popular in Japan where we live. So I wrote a LINE chatbot that would respond to her texts with lots of interest "I'm so glad you messaged me, please tell me more!"

:D This is one of my favorites in the entire thread.

Re: Ask and Show HN: Ever coded for love? Willing to share?

#77
I was adopted at birth, and the start of my career as a programmer revolved around helping build websites and services for clinical psychologists and adopted children, as well as maintaining the forums and other channels where clinical psychologists talked about, well, all the things you talk about on forums. I made a custom CMS using CakePHP and did my damnedest to link it up with the forum. Back then I had barely a year of experience doing programming but somehow I made it all work while I was on sick leave for depression.

I kept that up for a fair few years until I got burned out with handling a full time job and going home to do more of it. However, looking back and looking at where things are now...well, some of it remains: https://clinpsy.org.uk/

That's my first legit project (amongst a couple) and I wish I had that fervour and desire to do the same again. The community around that was fantastic and it was pivotal in my decision to find my independence.

Re: Ask and Show HN: Ever coded for love? Willing to share?

#78
I'm not a good C programmer by any means. I'm in high school and still learning and most of my knowledge is straight from K&R. That being said, I made this short program for someone I care about:

view-source:https://archive.org/download/aurora_20200721/aurora.c

Here it is without the ASCII art:

view-source:https://ia801401.us.archive.org/32/items/aurora_20200721/pre...

Both compile with a quick `cc aurora.c`. It prints random ASCII to fill up the terminal (I use it at 80x24), and at some point it adds my friend's name (aurora) and highlights it.

She said it was cute.

Re: Ask and Show HN: Ever coded for love? Willing to share?

#79
Naming our first child was tricky. My wife and I had a final list of 5 names, any of which would work as a first-middle combination. She’d randomly toss out two: “Washington Stewart? Kennedy Frakes?”

After a few minutes of that I just wrote the loop to give us all possible combinations; and from there we selected the name.

It took 2 minutes tops, and I’d have forgotten about this except she still talks about how I wrote a program to name our child.

Re: Ask and Show HN: Ever coded for love? Willing to share?

#80
Not out of that kind of love, but one of the first games I made, when I was about 11, was a "birthday party simulator" for my elder sister who was sick at the time.

It was a very simple game as you can imagine, and I have since lost the project files, however. I think it was made in Game Maker 7. I do not recall the exact mechanics but it had various birthday activities like filling and popping balloons, eating cake, and talking to people (not much in terms of dialogue though!)

Post reply on HN