Live data from Hacker News

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

news.ycombinator.com

531–540 of 671 posts

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

#531
I wrote a scrabble word generator a few months ago when I was really into playing scrabble online. It's too time consuming to use for a complete game of scrabble, but I use it regularly to help with Wordle:

https://i.imgur.com/f7KuOUy.png

A password storage app and generator I first wrote 15 years ago, then re-wrote 10 years ago.

Various Greasemonkey scripts (not sure if they count) to bypass paywalls on various sites.

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

#532
If we exclude smaller scripts then one thing that stands out is a small CLI application (written in nodeJS) which takes all emails from Gmail marked with a special label and uploads their attachments to special Dropbox folder for my company accountant.

So forwarding invoices to my accountant is as easy as throwing a special label onto the email and boom, done.

Was totally worth automating, been using it for like two years now.

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

#533
I have the feeling I am creating one every two weeks. If you tolerate windows, C# is a great multi-purpose language to develop quickly tools across desktop GUI, CLI and websites.

A UI over ffmpeg to look into downloaded movies and add/remove/rename/change default tracks without recompressing (or re compressing certain tracks only). And to autorename files with imdb titles and ids. And another one to collect timestamp from videos to edit out segments. Or to merge videos, auto finding the best size, fps, etc.

Own mp3 player with ability to exclude songs, import files from different sources and sync playlists with itunes on windows through COM. (Had so many bad experiences with itunes that I don’t trust it as my reference for song data, ratings and playlists and only use it to sync iphones).

Various tools to edit and manipulate gpx (fix time zones mostly and apply gps to photos) or srt files.

All sort of web scrapers.

A nimbletext-like on which you can drop files

A home website that contains the downloadable imdb data to manage my movie library and suggest movies I don’t own already.

Music sorter to try new songs with fast keyboard shortcuts to fast forward/flag/discard. Same for photos.

Lots of CLI tools: CLI for my domain names (for instance to maintain a dyndns-like subdomain). My own ACME client for wildcard certs that also updates various softwares with the new certificate (IIS, mail server, will look into synology soon). Tool for wake-on-lan my devices. A tool to auto-update the other tools based on a central repository. Various commands to put in a powershell script to send notifications, update my own "dead man snitch" website. Watch new real estate transactions in my neighbourhood on land registry (UK).

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

#535
I have created a Node.js program that would scrape comments from a certain blog, look up websites for email address (some commenters had a website attached) and put them into HubSpot. Then I have created a Chrome extension that would extend HubSpot page and show all scraped comments that belong to the profile, in a popup. This was back in my junior years, trying to get leads for my first product attempt. I felt so smart lol

Also, more recently. I created a simple command line program to print a password.

I.e. you enter b003q3gqbba-

and it prints it like:

1: b

2: 0

3: 0

4: 3

5: q

6: 3

7: g

8 q

9: b

10: b

11: a

12: -

What's the reason? The stupid, insecure password masking that some banks use.

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

#536

Hundreds! Doesn't everyone? Most of them are just bash scripts, many of which have now reached a complexity so high that I wish I'd started writing them in a different language but it's too late now. The majority of the rest are Python. Off the top of my head, the most used ones are: * A replacement front-end for "tar" and various compressors * A script to synchronize my music library to a compressed version for play…

* A replacement front-end for "tar" and various compressors

Could you elaborate on this? I feel like this is something that could save people hours of time. I'm so incredibly sick of the various decompression flags and tools, (de)compressing something on the commandline should be as easy as it is with a GUI.

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

#537
post #160

Hundreds! Doesn't everyone? Most of them are just bash scripts, many of which have now reached a complexity so high that I wish I'd started writing them in a different language but it's too late now. The majority of the rest are Python. Off the top of my head, the most used ones are: * A replacement front-end for "tar" and various compressors * A script to synchronize my music library to a compressed version for play…

> A secure-but-readable password generator I love pronounceable passwords, but there's research indicating that such generators typically produce lower than expected entropy. Do you mind sharing what algorithm you use?

Also passwords you can select by double click (ie certain special characters) and don’t have characters that look ambiguous (ilI, oO0, etc)

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

#538
post #523

Earlier quoted context omitted.

On which OS? There it is piped, but I can't make it display a "%" any way (why would it?). I'm on Linux, using head from GNU coreutils.

Arch Linux. When using Zsh the last char is always a '%'. When using Bash it does no show a '%' but there's no line break. Possibly an weird interaction with my $PS1.

That's definitely a Zsh thing, showing that there was no newline: https://zsh.sourceforge.io/Doc/Release/Options.html#Promptin.... It's not to do with PS1 or PROMPT, or head.

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

#539

Hundreds! Doesn't everyone? Most of them are just bash scripts, many of which have now reached a complexity so high that I wish I'd started writing them in a different language but it's too late now. The majority of the rest are Python. Off the top of my head, the most used ones are: * A replacement front-end for "tar" and various compressors * A script to synchronize my music library to a compressed version for play…

* A replacement front-end for "tar" and various compressors Could you elaborate on this? I feel like this is something that could save people hours of time. I'm so incredibly sick of the various decompression flags and tools, (de)compressing something on the commandline should be as easy as it is with a GUI.

I've memorized a total of two commands from decompressing things (`tar xfv $file` and `unzip $file`) and one for compressing (`tar cf $archive.tar $file1 $file2 $directory`) which seems to have done everything I've wanted for more than 20 years of unix usage. Is there something I'm missing out on? Sometimes, a `gunzip` or `7z` has been needed, but they are far apart that I can look it up each time. I'm not sure how I can save hours of time as non-tar or non-zip files is not something I often come across.

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

#540
I learned C++ specifically to make a tool for creating protein sequence alignments. In my field I often correlate function across proteins from different species. If you know something like, amino acid #136 from protein A is important for its function, you can use alignments to see that amino acid #249 on protein B probably has the same function. I made a tool to quickly make these comparisons.
Post reply on HN