Live data from Hacker News

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

news.ycombinator.com

21–30 of 224 posts

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

#22
I've written lots of small things. Some of them maybe used love as an excuse to explore some interesting idea.

For valentines day once I wrote a stupid little hack in javascript where some hearts bounce around the screen and leave trails. I sent it to a bunch of girls including one that I really liked.

I have this penpall in Germany, at one point we were really close and would talk all the time. Before bed we would always send eachother long strings of something (it was Sl[eE]*p for a while, then when emojis became popular it was the sheep emoji) so I made her a little clock with sheep around it.

I probably was sexting more than I should. I used to not keep a pin on my phone (it's so inconvenient and on android you don't even need a lock screen) so to keep the kids at church from going through everything I wrote a little web page that lets you encrypt images along with a text note and generate a data: URI that has a tiny (homebrew! yikes!) RC4 implementation to decrypt them. The whole thing was entirely client side and kind of nifty IMO. I think I got one person to use it once. I ended up finding some ugly bugs in the application (not that it mattered, it's RC4 heh) for example the original version always included an image (it would be a black png that was always the same size if you didn't add one yourself.) So if someone sends a text note with no image and then sends an image using the same password you could decrypt the first few hundred bytes of the secret image without knowing the password.

There was a girl in college I was dating and I made her a display hack in GLSL that draws a 3d flower using the cosin rose. It was rendered by relating the fragment brightness to the distance of a bunch of points in orthographically projected 3d space. The whole thing unfolded from a single bright blob and as time went on the points would move across each other making this pulsating pattern that got more and more intense until the whole thing shrank back into the single bright point. I added some code to the viewer that would check the phone's accelerometer/gyroscope so when you moved the phone around the flower would move too which give it this pretty intense VR feel.

At another point in college I was dating this other girl, it seemed like we would be apart for a while and she didn't like video games so I wrote a chess program that would let us play over text by sending moves in algebraic notation (you could also play it on the same computer, it would even check argv[0] for "cgi" and give you a web interface.) I thought I had written something pretty minimalist and was all proud of myself until I found the 4k chess program for z80.

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

#23
post #16

Earlier quoted context omitted.

How did you download whatsapp chat history? I thought there was no way to do it. Please help me, I need a way too. Thanks!

I'm in Android and I see an "Export Chat" option under the menu of a chat with someone. I assume that's what I used but it was years ago.

Ohh.. I didn't know it could be done on a per-user basis.

Thanks a lot!

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

#25
I wrote an animated Valentine's Day card in the form of a Java applet for a girlfriend at university. It was extremely basic - soppy romantic phrases in various shades of pink drifting slowly round the screen and bouncing off the edges. She liked it, as far as I remember.

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

#27
post #11

Earlier quoted context omitted.

Wow, did you get something insightful from that? Also, would like to say how you made all that?

Pretty much a Python notebook. Well one thing I remember was usage of the word "love". After we said it in real-life, there was a huge spike in usage in the chat. But the interesting thing is that even before we said it directly (eg "I love you" ), there was a build up of indirect usage (like "I love spending time with you").

Would be great if you pubslish your notebooks :))

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

#28

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…

This is great, I loved it

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

#29

They are thankfully no longer in existence, but I actually cut most of my mid 90s web dev chops building tribute pages to my girlfriends, replete with image carousels, autoplaying songs, marquees ... Their chief effect was to make me indirectly desirable to a lot of other girls because they wanted their own vanity URL .. It was a strange and glorious time.

you may have missed a business opportunity there :-)

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

#30
I wrote a daemon that triggers every morning at 8am. It goes and fetches a positive quote, or affirmation, or advice and sends it as a text to the both of us.

Both of us wake up to the same positive thought every day.

Today's was:

Positive thought for today: Whenever we are afraid, it's because we don't know enough. If we understood enough, we would never be afraid

Post reply on HN