Live data from Hacker News

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

news.ycombinator.com

161–170 of 224 posts

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

#161
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,…

An alternate strategy for seating -

For our rehearsal dinner, we had maybe ~30 people, and did a 4-course meal.

For each course, everyone was assigned different tables, such that over the evening, everyone would get at least one course with everyone else

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

#162

At one point in the distant past, when a girlfriend broke up with me, I knew that she was still occasionally reading my blog. I made sure that all traffic from her ip and geolocation was getting Rickrolled. ¯\_(ツ)_/¯

This seems more like hate-coding...

No, not at all. Maybe just a playful stomp. Here's the explanation of how it all went down - https://bit.ly/31vAPes

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

#164

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 pr…

Cute. If I'm not mistaken there is a roughly 1% probability that it won't reach 11 instances of ! in which case it won't print your friend's name. Is that intentional? Otherwise maybe you could generate a random position for the aurora string before you run the loop and check for that instead of using the variable a.

Yeah, I think that actually happened in practice too. Fortunately she doesn't know how to compile C code anyway so I was the one providing the screenshot ;)

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

#165
Gosh, most of my side projects these days are for love.

1. Making a lite data analytics platform to help out a very close friend analyze some campaigns for an NPO she works for.

2. An interactive chord visualizer that visualizes triads in 3 dimensions (she's an amateur artist and intrigued by the visual side, I'm a musician and intrigued by mappings between sound and sight)

She's engaged to someone else now, but I still think the NPO thing is maybe a legitimately good business idea that I just need to shop around to gauge the wider demand.

The chord visualizer's also still neat. It's also a test-bed for a larger-scale ambition of mine of developing a platform for non-programmers to create interactive educational visualizations (in the vein of Nicky Case's articles, but with an emphasis on zero-code). That one's getting built for hate. Hate of the way our education system is held back for commercial gain.

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

#166

I built a love story „movie“ using the Office assistants from a C# program. Later that year we got married, and we still are - 14 years later

Liar! C# isn't anywhere near 14 years old! It came out when I was in highschool! From the wiki:

> It was developed around 2000 by Microsoft as part of its .NET initiative and later approved as an international standard by Ecma (ECMA-334) in 2002 and ISO (ISO/IEC 23270) in 2003.

Wait....2000 was 20 years ago. F. I'm getting old.

(I realize this feels pointless, but I honestly had to double-check the date it came out because I didn't want to accept I've been out of high school for 16 years.)

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

#167
I wrote some code to find good names for our kids. We were looking for Hindi names easy to pronounce in English so I wrote a roughly phonetic character based language model. I trained the language model based off names from US census data, and scraped a bunch of baby name websites for Hindi baby names. We picked both our kids' names using the list.

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

#168

Charlotte, my dear, let me not die... — Charlie Define ‘love’ Charlie. Love is not a toilet, get me?... — Charlotte http://www.ioccc.org/1990/westley.c She loves you not. Thirty years on and this still gets me.

20 years ago or so, I stumbled across a few poems written as perl code. They struck me as very clever at the time, but I haven't been able to find them again.

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

#169
post #84

Somehow on dating apps my most successful profile line has been “Message me if you want to learn an interesting fact about toast.” This led to me “researching” a lot of facts about toast and getting deeper and deeper into the bit. Long story short I now run toastfacts.com. I only have about 7 facts on there right now, but I “discovered” some more good facts last night which I plan to add to the site when I get home.

One of these is not quite right:

> The word “toast” comes from the Latin word “tost” meaning “toast”.

That's a Middle English word. You can trace its etymology further back to Latin

https://en.wiktionary.org/wiki/tostus#Latin

but it won't be just "tost" in Latin.

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

#170
I'm currently writing a simple program in Lisp for gamification of reading books: we have to pay with work done in pomodoros to earn the right to loan one. Making it for me and a friend of mine.

It's my first programming project, and it motivates to know my friend needs it too.

Post reply on HN