Lurker News
Curious to know if anyone has written programs for their own, regular, & personal use. And if so what they are? E.g. A colleague of mine tracks all of his homes energy use through a custom program which disaggregates the energy consumption per device and outputs a report to a tablet.

Comments (651) 385 threads

Earlier comments
linsomniac2 replies#
Decades ago I had a friend that needed to scan his CD cover to start selling it online. I only had a Linux machine. So I looked up the documentation for the HP scanners, found it was well documented at the protocol level, so I bought one.

I wrote some CLI tool that could trigger a scan and read the data back, into a file. Worked well enough, but I wanted a GUI.
I started thinking I wanted to make a GUI for it. I started thinking "I'll need to do X like xv does, I'll need to do Y like xv does, I'll need to do Z like xv does..." Clearly, what I needed to do is extend xv so it could do scanning. I spent a weekend making the prototype, and it worked brilliantly.
xv was open source but licensed $25 for commercial use. I made a deal with the author, John Bradley to become a reseller for xv. Over the next few years I sold, I don't remember exactly, but maybe thousands of copies. To people, to government labs, to businesses large and small. It was the beginning of a company that I ran until around 7 years ago, and that just shuttered for good a few months ago, 25 years later.
All for program I wrote to scan a friend's album cover art.
https://www.linuxjournal.com/article/4029

iku#
Wow. Thanks for this story.
vishaltelangre#
Very inspiring and insightful story! Thanks for sharing it.
chasd005 replies#
I created a program that outputs one of my kid's name if the day of year is even, the other kid's name if it's odd. I use it to determine who's turn it is to take a shower first. They'll argue with me and each other all day long but for some reason they will not argue with the computer.
amanzi#
Love this!
politelemon#
Call it Shower Power
ghewgill#
I do that too! One of my kids was born on an odd year, month, and day, while the other was born on an even year, month, and day. They know who is who and they don't argue with the calendar. (We do it by day of month and we find another way to decide if we need to on the 31st.)
srcreigh2 replies#
has it been more than a year? How does Jimmy feel about going first on Dec 31 (day 365) and Jan 1 (day 1)?
netsharc1 reply#
I guess it could be change to count whether if the number of days since Jan 1, 1970 up to today has been odd or even...
conductr1 reply#
Probably since otherwise you’d just need a calendar or somehow know the date which most people do without custom code

Continue this thread — 1 reply

evan_#
They don't have to take a shower on New Year's Day.
oh-4-fucks-sake1 reply#
Install a second shower-head and make them shower together. Parallel processing is your friend here.
heyoni#
Imagine how messy async showering would be?
doodpants3 replies#
Heck yes, all the time. While it seems like the major computer/OS vendors these days are trying to turn computers into limited purpose appliances, I was first exposed to computers as a child in the late 70's, when it was expected that anyone who owned a computer would also want to program it for their own purposes. My own personal projects tend not to be very large in scope, but can be quite handy. Some examples include:

- A Pomodoro timer that has exactly the features and user interface that I want
- A script to perform backups of select files and directories from a source drive to a specified backup volume
- A "pixels-per-inch" calculator that allows me to compare the resolutions of displays that I may be interested in purchasing; by entering the width and height of a display in pixels, and its diagonal in inches, it calculates the density in pixels-per-inch, and the dot pitch in millimeters
- Various user-friendly graphical interfaces to aid in solving different types of puzzles (think sudoku-like logic puzzles)
- Programs to actually solve various types of puzzles all on their own (I've written over 70 of these in the last 10+ years!)
- Various command line scripts for code management tasks (i.e. useful for sofware development itself)

mark-r#
I have a pixels-per-inch calculator too, but mine is an Excel spreadsheet. Lets me see all the displays I've been interested in or own, even things like phones.
slig1 reply#
>- Programs to actually solve various types of puzzles all on their own (I've written over 70 of these in the last 10+ years!)

Cool, are these open source?

doodpants1 reply#
No, they're not in any public repo or anything. Besides, if you solve puzzles using a solver you didn't write yourself, it's cheating. :-)
shubhxms1 reply#
Can you at least share a list of the puzzles? :)

Continue this thread — 1 reply

gotaquestion2 replies#
Huh, I've never been asked that.

Yes, for over 30 years. I could never list them all. Nearly every thought I have becomes a program. I've written x86 asm game hacks (DOS era), 2D tile games (80's), Windows MIDI composers, game frame languages, ray-tracing renderers, OpenGL visualization, PID controllers, camera controllers, video controllers, circuit simulators, flight controllers, so so so many games, scripts for analyzing data, scripts for scraping websites, ODBC readers for my cars, FM synths, game solvers, and that's just stuff in C, not even getting started with the bazillion websites.
Over decades, programming becomes such a part of your life, that it is simply the way you move about the world, and think about it.

WesleyJohnson6 replies#
I wish I could shift my thinking to do this. I've been a web developer for 17 years and love programming. But any time I've tried to build my own projects or products, it's usually a revamp of an existing product or game, and I quickly lose interest.

I lack the ability to see everyday "issues" that could be resolved with programming. But if someone asks me to solve an issue with a program, I could probably come up with something pretty quickly.
Curious if anyone else has this problem, or have found a way out of it?

seeingsharp#
If you find a way, let me know
gotaquestion1 reply#
I didn't say everything was finished. ;-)

In fact, I'm not sure how to decide if something actually IS finished. Sometimes I just want to understand something, and when I get to that point, I call it done. I just like to learn.
Like with my FM synths: I made a TX802 clone a long time ago (in software), and once I got to a certain point I was like, "Yep, got it." I just wanted to construct something that could implement the FM algorithms and a filter. That's all. I could have made a fully-fledged MIDI synth, but I just wanted to understand synthesis. Or with ray tracing: once I got spheres, cubes, transparency, and reflections and a simple scene text-file syntax, I was like: I should add NURBS, but that was way too complicated, so I called that "done" because I understood how it worked.
You can ALWAYS keep going. Nothing is ever really done. When you lose interest, that's just your brain saying, "I learned enough, let's do something else!" Think of your brain on hobbies like a Golden Retriever: short attention span but always happy!

WesleyJohnson#
That's not a bad outlook and I had never thought of it that way. Even if I don't finish the project, at least I'm actively coding and having fun. Thanks!
WA#
The way out for people like you and me is to realize that most problems don’t need to be solved with software. When you find an effective solution that doesn’t involve code or computers at all, you can congratulate yourself.
mnorris1 reply#
>>> I quickly lose interest

Working on self-directed projects didn't come naturally to me either and I had to learn how to get over this motivation issue.
It's taken me 10 years of working on side projects to finally be able to figure out which things I will actually finish vs. which ones I just like the idea of and will invariably give up on. It's some combination of what do I think is useful to myself or others, what can I turn into a small prototype in a short amount of time, and what can I actually accomplish in a short time [1].
Accountability was important for me to launch three side projects in the last year. I declared to my friends on New Years that I was going to make and launch a game that I had designed within that year. I kind of entangled my desire to finish projects with my desire to follow through with what I commit to.
I didn't actually finish it in that year, I finished it in January of this year, but I tried! I set it down a lot and ended up getting stuck multiple times. Probably because of that pesky day-job and regular life. My friend asked me if I had launched, and that caused me to put in a final weeklong sprint and launch it. If I knew how close I was to finishing I would have finished it months earlier. I ended up simplifying a lot of code in the first few days of that last sprint and all of a sudden finishing seemed possible.
Because I devoted myself to launching that one game, I have since been creating more and more things and launching them or getting them to a stage where they're generally useful.
In my case, having the confidence from finishing one project made it easier to start newer projects because I knew whether I could finish them based on my past success.
>>> I lack the ability to see everyday "issues" that could be resolved with programming.
Almost every idea that I have could initially be conceptualized as a revamp of an existing product or game, but I'm super excited about them because they're my revamp that I'll gain a skill from and will help me to work on more complicated things later.
I take notes whenever I have an idea and will expand on ideas that I'm still interested in later. I basically use the snowflake method, creating more elaborate detail about the ideas I'm most interested in. Sometimes they evolve a lot after expanding on them too.
Honestly 99% of my ideas are terrible, so I trained myself to try to write down every idea that I have and then later on when I'm itching to start a new project I can decide whether it's a project that I will actually finish vs. ones I just like the idea of.
[1] https://xkcd.com/1425/

withinboredom3 replies#
Is there somewhere we can purchase/play the game? I'd be interested in giving it a shot!

Continue this thread — 3 replies

blihp#
You're probably going for things that are too large in terms of scope and/or scale and don't really solve any need for yourself. Think about bite-sized problems that will help you with your day to day work/hobbies and don't try to solve them in an 'enterprisey' or bullet-proof way... think the simplest thing that can possibly work. Then over time, start getting more ambitious. It doesn't matter if it only works for 2% of cases (as long as it's the 2% you care about), runs slowly, is a memory hog, crashes every 8th time you run it or any number of other things you'd never dare do for 'production' code. Assume it's a throwaway project and then be pleasantly surprised if it isn't.
mkl1 reply#
If you don't need/want it yourself, and no one's paying you to do it, yes, you'll lose interest. I don't have your problem; I reach for code as a solution pretty quickly. Probably key is I'm not trying to "finish" personal projects or make a product, just doing as much as I need at the time.

Since you know web development, maybe install TamperMonkey and start "fixing" or improving websites you use regularly. You can often make a significant difference to your experience with a few lines of code written in a few minutes (changing/adding CSS rules, making links visible instead of hidden in dropdown menus, reordering/recolouring things, presenting information in a more sensible way, adding shortcut keys, converting static tables to DataTables, etc.). Over time some of my user scripts have grown to many hundreds of lines, and even been adapted to be essential components of workflows of me and my colleagues. They make my job/life easier dozens of times a day.
(Most of these are for internal websites or idiosyncratic to my needs, so there's no point in sharing them.)

WesleyJohnson#
Thanks for the suggestion on TamperMonkey, I'll check it out.
phaedrus#
I have a similar list - except I've never finished anything.

Load more comments