Live data from Hacker News

Ask HN: What apps have you created for your own use?

news.ycombinator.com

441–450 of 793 posts

Re: Ask HN: What apps have you created for your own use?

#441
Created an extension, for browser/email client, to quickly open web pages with selected text as input to save lots of time in copying and pasting. Initially intended to save my time in work, after making it generic now I'm happy to see others also finding it useful. https://quickowl.app

Re: Ask HN: What apps have you created for your own use?

#442

These are the things I've created, some mostly for my own use, and others just for fun: 1. https://gptgames.io - A gaming platform using OpenAI. It came from a silly idea for another project I have, and I ended up putting it together in 1 month. 2. https://creepyface.io - I wanted to animate my face on my resume, and I decided to allow everyone else to do the same. 3. https://react-guitar.com - I wanted to learn guit…

I'm using creepy face on my own site. How fun :)

Oh that makes me so happy!

Would you mind sharing your site with me so that I can see how it looks?

Re: Ask HN: What apps have you created for your own use?

#443

A few years ago, my wife and I decided to adopt a rescue cat from battersea.org.uk. However, it was a frustrating experience as the staff didn't always update the website regularly, and we'd find that any suitable cats would be snapped up before we'd even seen them. I spotted that the website served its data to the frontend via an unsecured internal JSON API, so I built an Elixir app that would poll the API endpoint…

Why not go straight from the json to Twitter?

Good question!

The primary reason was to learn Elixir, so this was just a well-timed excuse to explore the language (and Phoenix, the web framework).

The secondary reason was that my wife was the main client, and she doesn't respond well to raw JSON. Each tweet would be just the cat's name, photo, and a link to the website. I also did some filtering as certain cats have safety requirements we couldn't meet, e.g. no neighbouring cats, no children)

One of the main issues I had to figure out early on, was "how do I distinguish which cats are new, compared to the previous response?". This was made harder because I couldn't rely on the ordering; occasionally previously-posted cats would have details updated and they would move position. Postgres UPSERT was new (to me, at least) at the time, and it seemed like a very handy way to offload the responsibility. There were never more than 50 cats listed at any one time, so it was reasonable enough to request all the animals at once, and let the database figure out which cats were new, based on a combination of identifiers that would make them unique. I could also filter the updated records to see _what_ had been updated, e.g. the cat had now been rehomed.

Another thing Elixir did really well was the polling mechanism. It's absolutely trivial to spawn a worker that can repeatedly perform a task and asynchronously hand it off to be processed.

Hope that answers your question!

Re: Ask HN: What apps have you created for your own use?

#444

Earlier quoted context omitted.

Why not go straight from the json to Twitter?

How would you keep state of which pets have already been posted?

Hi! I answered this in the other post, but the Postgres UPSERT was the key. By using a combination of attributes (It may have just been name & D.O.B), In a single operation I could figure out if the cat has been posted (and update the existing row), or create a new row.

This worked as there were only ever 30-50 cats online at one time. If it was a thousand, I'm not sure what I would have done.

Edit: I realise now this was a rhetorical question. Oops!

Re: Ask HN: What apps have you created for your own use?

#446
I created a super simple web app (using Phoenix LiveView) to track spending and budgets. I found all the options to be overly complicated. My wife and I have monthly recurring spends (rent, healthcare, subscriptions, etc.) that we share and we each want to know what our daily spending limit is.

I couldn't find a simple app that would automatically read our transactions reliably and generate this daily spending limit.

My app does 2 things: Shows transactions: https://imgur.com/a/aJ9G02q Shows limit overviews: https://imgur.com/a/ugnmnFq

Stack: - Phoenix LiveView - Postgres - Plaid

Re: Ask HN: What apps have you created for your own use?

#447
In my job I am constantly given two lists and needing to vlookup on them. After spending so much time opening Excel to do this, I wrote a simple app and compares two lists of strings and gives you the shared items or unique items from the left or right.

https://github.com/adderthorn/CrossCompare

Post reply on HN