Live data from Hacker News

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

news.ycombinator.com

381–390 of 671 posts

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

#381

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

I took some screenshots to give better context to my answers below: https://imgur.com/a/5Vx9aOR

To initialize an item, you take a QR code off a sheet of QR stickers (each one has a random v4 UUID as part of the web app URL) and choose a sharing method. In the case of eggs, I would simply enter whatever I paid for the eggs, and it is up to the roommate that scans the code to decide whether to take it or not.

There are four "sharing schemes" supported so far - share by quantity, by rotation (so someone can join the rotation to replenish something like a spice), by percent (so someone can offer/claim 25% of a leftover pizza), or the whole item (probably ideal for the bag of chips example).

The whole system is very hands-free and opt-in, and everything stays synchronized with Splitwise (I wanted to add some screenshots of that bit, but my roommate's names were all over - I might set up an example or GitHub repo for this project some day).

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

#382

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…

What label printer do you use and did you end up automating the printing process or just the QR code generation process?

I use a regular desktop printer and feed in sheets of sticky address labels (the 1" x 2.625" and 2" x 2" squares are ideal). I wrote a Java program to output QR codes with random IDs onto a PDF document, and generated one long PDF such that I could pre-print a couple thousand labels.

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

#383
post #329

Most of my light bulbs are color-temperature-adjustable. So I wrote a small program which varies the color temperature throughout the day and night. I started by matching it to the solar elevation, but ultimately I like it more just on a fixed schedule. I've also programmed it to make a more dramatic warm shift near bedtime, and to fade up a bedroom light when it's time to wake up. Due to the inevitability of scope c…

I was about to make something just like your light bulb system for my own home (minus the vacuum part anyway). Any chance that code is open source? Very interested in any other details you’d be willing to share.

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

#384
I ended up with so many random git repos, shell scripts and other miscellany that I ended up writing a tool to manage that stuff using a yaml file so that it's easy to transport and recreate my setup anywhere.

"garden" is kinda like a mashup of the flexibility/power of shell scripts with the convenience of being able to declare your development environment.

https://github.com/davvid/garden

I was kinda surprised when someone submitted the first issue =)

https://github.com/davvid/garden/issues/1

git-cola was pretty much written for my own personal use but it grew a few more users along the way.

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

#386
post #375

Earlier quoted context omitted.

Wouldn't a generator like this significantly increase risk of succumbing to dictionary attacks? I probably just don't understand part of what it's doing, but I'm curious.

It depends on what your baseline is. With knowledge of the generation algorithm, a dictionary attack on a password generated that way will definitely succeed, but on average it will take 2⁸³ tries (twice that at worst). At a billion tries per second this is 300 million years, almost long enough for the Sun to engulf the Earth if your attacker devotes only a single CPU to the task. There are commonly used password has…

In short, oodles of noodles is a better chew than fewer, stranger noodles in your alphabet soup.

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

#387
Sure... my most recent one is an app for the sport of Boxing. It's what I tinker on when I'm tired of coding on business software stuff.

It's getting to be a pretty cool too. It has a "Scorecard" and database for boxers, and I've taken my first (shallow) dive into "Sports Analytics" to predict a winner of an upcoming bout, and it's working pretty good too.

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

#388
I have pretty garbage short-term memory in addition to (or because of) ADHD. I made a macOS app to let me take screenshots of parts of a screen and keep them around while I work, essentially extending my own short term memory. I call it ScreenHint (it's essentially a reimplementation of a similar app called Snappy that no longer seems to work) and I use it pretty much every day, any time I'm at my computer.

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

#389
I wanted to have a digital journal that:

1) backed up simply by storing in Google Drive (no special servers or DBs)

2) was principally for Markdown, but capable of storing entries of any type

3) dispensed with any form of folders in favor of tagging and a powerful search, using only the filename to store the tags

I couldn't find anything I really liked, so built https://github.com/mieubrisse/cli-journal . Haven't needed to modify the code in 2 years and it's still working great.

I'm currently (lazily) working on Montu, a terminal app that will read in a Markdown checklist and allow you to check things off with Vim-like bindings while editing the underlying checklist: https://github.com/mieubrisse/montu . It started with my desire to automatically check off the parent checkbox when you check off the children, and grew from there.

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

#390
post #141

Earlier quoted context omitted.

> Hundreds! Doesn't everyone? I certainly have. Interestingly, one was the same "sanity check" program for my internet connection, because of the same ISP you mention. Amazing coincidence...I don't think. :-)

I've written one too, if you count a simple shell alias for ping google.com Comcast "service" has probably driven the creation of more trivial internet connection test programs than any college course in the world.

I get more calls from users of my apps that have Comcast as the access provider than any other, and by far. The first thing I do when they have connection issues is check downdetector.com
Post reply on HN