Live data from Hacker News

Ask HN: Have you created programs for only your personal use?

news.ycombinator.com

311–320 of 671 posts

Re: Ask HN: Have you created programs for only your personal use?

#311
I wrote Empire for my own enjoyment. Turns out, my friends (and even my not friends) liked it, too.

https://classicempire.com/

Also a disassembler, editor, file dumpers of various formats, directory comparators, accounting aids, audio file declicker, hard disk driver, a program that would image a floppy disk, VT52 emulator, etc.

Re: Ask HN: Have you created programs for only your personal use?

#312
post #234

Every so often I want to derive a fraction from a decimal value, such as 0.571 => 4/7. The key point is I want good approximations, not exact values. That is, I rather get 4/7 than 571/1000. I had found a tool at one point that did it, but it stopped working, so I made my own. https://voces.github.io/dec2fract/

You seem to be sort of doing this by brute force; a non-brute-force way to do this is with Aryabhata's Pulverizer Algorithm to get a continued fraction you can then truncate to get convergents.

571/1000 = 0 + 1/(1000/571) = 0 + 1/(1 + 429/571).

429/571 = 1/(1 + 142/429).

142/429 = 1/(3 + 3/142).

3/142 = 1/(47 + 1/3).

So 571/1000 = 0 + 1/(1 + 1/(1 + 1/(3 + 1/(47 + 1/3)))), or, in the notation that is conventional for continued fractions, [0; 1, 1, 3, 47, 3]. The truncated convergents are [0], [0; 1], [0; 1, 1], [0; 1, 1, 3], [0; 1, 1, 3, 47], and the full fraction. These convert back to rational numbers respectively as 0, 1, 1/(1 + 1/1) = 1/2, 1/(1 + 1/(1 + 1/3)) = 4/7 (your desired approximation), and 1/(1 + 1/(1 + 1/(3 + 1/47))) = 189/331. Except for 0, these are exactly the same ones your program finds, but the Pulverizer only required four divisions. (The difference in efficiency is insignificant for manually entered fractions with a modern computer, though.)

This is explained in places like HAKMEM, the Machinery's Handbook, and I think the Aryabhatiya. But I don't read Sanskrit, so I've never read the Aryabhatiya.

Re: Ask HN: Have you created programs for only your personal use?

#313
I created a small program using arduino and IR receiver to control PowerPoint slides using any available remote control. I had to create a small go program to interface with arduino-cli so that I don’t need Bluetooth or any other hardware, just the serial port

Re: Ask HN: Have you created programs for only your personal use?

#314
Lots, sometimes intentionally, sometimes not. I'd say most of the things I have on my github I wrote for myself and then put them up just in case someone else might find them useful.

OTOH I thought some people would enjoy this but no one did so unintentionally it's just for me.

https://mopho-v.org

I use nearly it every day on one or more of Windows, Mac, Desktop, Laptop, and VR (via Oculus Rift's ability to show the desktop in VR). It does have a couple of semi-showstopper bugs that I need to fix but I'm lazy and it continues to mostly meet my use-case well enough that I haven't gotten around to fixing it.

Re: Ask HN: Have you created programs for only your personal use?

#315

Earlier quoted context omitted.

Thanks for responding! I have the same issue with having multiple brokerage accounts. I haven’t signed up for Personal Capital because I read that they try to upsell you on wealth management services by phone periodically, plus I am uncomfortable giving my brokerage login credentials to them (or any other third-party service). So I was wondering if you were in the same boat!

Yeah I was definitely uncomfortable about giving brokerage logic credentials to anyone. Some brokerages can give you a read-only API key you can supply to an app, which is nice for systems like this. Maybe see if yours do that? Wealthica is a Personal Capital competitor. Maybe take a look at them?

I’ll check them out, thanks.

Re: Ask HN: Have you created programs for only your personal use?

#316
Yes, a few bigger than small software development utilities. One I use almost every day is jeo.py, a TUI for scoring Jeopardy! I was initially scoring using a Google sheet, but this is easier to use without looking down at the keyboard. https://github.com/bi1yeu/jeopy

Re: Ask HN: Have you created programs for only your personal use?

#317

I created a program that prints QR codes onto sheets of peel-and-stick labels. When someone scans the code, they are directed to a simple web app that manages food sharing with my four roommates. We noticed that we buy a lot of the same things (bananas, avocados, eggs, etc), so we implemented a system where anyone can stick a QR code onto something they want to share, and anyone else can scan it to record what they t…

Are you maintaining a per item price list? Is is generic or updated after each trip to the market?

0.25 per egg assumed the dozen cost $3 but what happens when I go to a value brand and my cost is $2 or the fancy $5 dozen eggs. Does the roommate have to update the price per item for everything they buy?

How do things like a bag of chips work? Cost per weight probably makes the most sense but the overhead of such a system seems enormous.

Also, what happens when your roommate gets mad at you because they bought those eggs for a specific meal they planned on cooking for dinner and now have to go to the store for more or change their plan? This is the main reason I most had a no sharing rule with my roommates.

Re: Ask HN: Have you created programs for only your personal use?

#318
I have To Do List web app that I built for myself in python/django. It's has a kanban board feel where, as time passes, items move from Future -> Today -> Overdue. If Today or Overdue has too many items, I reschedule them to a future date. So the app acts as a To Do List, Kanban board and a Calendar. It has minimal javascsript so it's fast.

Re: Ask HN: Have you created programs for only your personal use?

#319
post #265

Earlier quoted context omitted.

From books? Having anything that's natural language will kill your entropy, way way below correct horse battery staple. Moreso if it's indexed by Google Ngrams.

Theoretically, maybe. But I'm tempted to believe that for all practical purposes it's a 60+ chars password.

Don't. It isn't.

Re: Ask HN: Have you created programs for only your personal use?

#320
Yep, mostly to do with saving articles and replacing my use of Pocket.

I host a simple API that converts web pages to markdown files using headless browsers and save them into my cloud storage. I can now read the pages offline and free from clutter using a simple markdown viewer or use my own personal website to read them online.

I also have an email address that converts the mails received in it and turn them to markdown files using the same headless browser mechanism. Now my local text editor can sort of act as a mail inbox of its own.

I'm pleasantly surprised by the things I could accomplish with Shortcuts (Mac, iOS) + some webhooks.

Post reply on HN