Live data from Hacker News

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

news.ycombinator.com

81–90 of 224 posts

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

#81

I dated someone whose father had a small business that made home goods products (e.g. specialty laundry detergent, waterproofer, etc). He was a smart but challenging guy. Definitely the sort of father who didn’t think any guy was good enough for his daughter. Remember the first time she took me home to meet her parents in South Carolina for Thanksgiving he was, literally, cleaning his gun on the front porch. He prima…

One more that’s fun, though maybe doesn’t really count as “programming.”

I got married a few years back. We built a wedding website for people to get details on our wedding and to RSVP. It was pretty standard (think we just used Squarespace) except we included tracking pixels for the largest ad networks (Google, Facebook, etc) throughout the site. We then bid on impressions from anyone whose browser had triggered the pixel.

We bid something absurdly high, like $1,000/CPM (i.e., $1,000 per thousand ad impressions). As a result, we were always the highest bidder for those impressions of people who’d visited our wedding website. Because of how ad network bidding works, where you generally pay what the second highest bidder bids, and because we only invited around 200 people to our wedding, we didn’t end up spending much at all. Think all in it ended up costing around $100. But for our guests, our wedding followed them wherever they went online.

If you hadn’t RSVPed yet, we showed banners encouraging you to RSVP. Once you had, we previewed some of what we had planned. And then, for a week afterward, we ran ads thanking people for coming. We set the entire thing up in an afternoon and then it just ran automatically over the next few months. I was stunned when I checked in on it after the wedding how little it had cost.

Ad retargeting is super creepy, and it was scary to see how granular I could make the targeting for very little money. But, in this case, I think it may be one of the few times people really loved being followed around the Internet by an ad.

Nearly everyone commented on how fun it was. Friends would send us screenshots of our ads next to articles they were reading. And many of our privacy conscious friends with ad blockers actually turned them off temporarily when they heard about it so they could get retargeted by our wedding.

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

#82

I dated someone whose father had a small business that made home goods products (e.g. specialty laundry detergent, waterproofer, etc). He was a smart but challenging guy. Definitely the sort of father who didn’t think any guy was good enough for his daughter. Remember the first time she took me home to meet her parents in South Carolina for Thanksgiving he was, literally, cleaning his gun on the front porch. He prima…

One more that’s fun, though maybe doesn’t really count as “programming.” I got married a few years back. We built a wedding website for people to get details on our wedding and to RSVP. It was pretty standard (think we just used Squarespace) except we included tracking pixels for the largest ad networks (Google, Facebook, etc) throughout the site. We then bid on impressions from anyone whose browser had triggered the…

Wow, that is... unique.

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

#83
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.

Sure it was!

I think letting me do the algorithm and looking at the results was her loving way of getting me out of the way.

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

#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.

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

#86

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.

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

#87
Wrote code to solve a Ladybug puzzle for my little daughter.

Wrote a Sudoku solver for my wife, and a Cryptoquote puzzle solver for her as well, for when she gets stuck.

Wrote an election list manager for a municipal candidate I supported.

A program to choose the position of strips of tongue-and-groove hardwood flooring, so that the cracks would not be adjacent. Had to measure every piece. Just so I would not have to listen to my wife remark "What a shame those two pieces are so close" for the next ten years. Named the program "Birch", from the wood. Ran ten minutes on a 286.

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

#89
post #64

I created https://pokemoncries.com because my girlfriend said she was really good at this as a child and I thought she would like it. She LOVED it. I polished it a bit more after this and posted it on reddit. I was amazed by the reactions/usages. People did “Pokémon cry challenges” on YouTube and it was quite viral in the Pokémon community. It has still good metrics and I updated it with the last generation. I just l…

This reminds me of a similar minigame on the living room TV in Hey You Pikachu for N64. Good stuff.
Post reply on HN