Live data from Hacker News

Ask HN: Tools you have made for yourself?

news.ycombinator.com

291–300 of 458 posts

Re: Ask HN: Tools you have made for yourself?

#291

I built this image differentiation tool to automate comparison of images generated by two different (one legacy, one replacement) image processing services: https://github.com/nicolashahn/diffimg Seems to have become useful for a lot of other people, which I didn't really expect.

I came across this library just the other week when looking to do some basic screenshot diffing as part of some automated regression testing. Super useful, thanks for your work!

Re: Ask HN: Tools you have made for yourself?

#292

A few months ago I wrote (and expanded over time) two simple scripts for note-taking and time tracking at work (because our official time tracking tool is kinda lackluster). They're really nothing special, just editing some Markdown files stuck in a Git repo, but they're a vital part of my daily toolbox. I've pulled them out into a separate repo and published them here: https://github.com/T0astBread/sticky

Lol, my little project is scratching the same itch. I also wanted a easy way to get a clean state to start the day / next section of a day.

Since I focus on todos, I wrote a editor which creates a new section (as your daily script) and copies over all unfinished entries.

https://github.com/coezbek/rodo

Re: Ask HN: Tools you have made for yourself?

#293
I built a small (borderline trivial) script that I put at ~/bin/update on my regular user account on every server. Its purpose is to do whatever I’ve decided is most appropriate to keep that server up-to-date.

For most Debian-based servers, it’s approximately:

  sudo apt update
  sudo apt upgrade
  uname -a
  prompt me to hit y if I want to reboot that server now. (This is what uname is for: to orient me to where that window is connected to prevent downing a server I don’t want to.)
This pattern means I can customize it for any given server without having to remember what/why for each. (This context is for my home network; I don’t claim that this is a great practice for production workloads, but it’s nice and handy for my home network.)

Re: Ask HN: Tools you have made for yourself?

#294

A few years back, my car was one of the millions with an airbag recall. For months, they sent letters saying it was my turn, but if I called to book an appointment, they'd say they didn't have the part in for me yet, and I had to check a web site to see if it was really my turn. So I wrote a script that would poll the web site using curl and notify me via Slack if the status had changed. I put that in cron, and every…

I did something similar for the Walgreens website for my mother when vaccines were new and appointments were hard to come by, it worked pretty perfectly and we were able to schedule her an appointment shortly after she was eligible.

Though, somewhat humorously, very soon afterward eligibility was expanded to everyone in my state and vaccination appointments were much easier to find.

Re: Ask HN: Tools you have made for yourself?

#295
post #255

Sounds dumb but I go camping a lot and still want to access various informational APIs when I’m in limited cell reception areas so I built a bridge that allows me to hook my APIs up to text messaging. I just send a text like “news” and get the latest headlines over sms. It works pretty well even when I don’t have data access I can still usually get the text messages back.

Very cool. When I was travelling around Canada I also wanted a sms 2 api gateway.

3G/4g data was expensive and reception limited. But sms was free and unlimited, and more widely available.

Re: Ask HN: Tools you have made for yourself?

#296
As part of my job, I report a lot of phishing sites. This gets very annoying very quickly.

As well as reporting to SafeBrowsing, etc. for each site you also need to look up the domain registrar and hosting provider (via WHOIS) and email them.

Rather than do this manually every time, I wrote a small CLI to automate the lookups and even open pre-templated emails: https://github.com/bradleyjkemp/abwhose

I'm now redoing this as a web app so that I can do the entire reporting process without leaving the browser: https://phish.report

Kinda fun trying to "speedrun" the process down to as few clicks as possible.

Re: Ask HN: Tools you have made for yourself?

#297

I once wrote a script to record the Tinder profiles I swiped left and right on, then fine tuned a CNN using the data and integrated it into an automatic swiper. It swiped right on my now partner!

Next step: https://www.removeddit.com/r/AskReddit/comments/1f607z/comme...

Re: Ask HN: Tools you have made for yourself?

#298
post #255

Sounds dumb but I go camping a lot and still want to access various informational APIs when I’m in limited cell reception areas so I built a bridge that allows me to hook my APIs up to text messaging. I just send a text like “news” and get the latest headlines over sms. It works pretty well even when I don’t have data access I can still usually get the text messages back.

Very cool. When I was travelling around Canada I also wanted a sms 2 api gateway. 3G/4g data was expensive and reception limited. But sms was free and unlimited, and more widely available.

I’m working on turning it into an online service - shoot me an email to recurry@outlook.com and I’ll give you a free unlimited account if you’d still like something like that.

Re: Ask HN: Tools you have made for yourself?

#299
post #276

Brandon Sanderson, my favorite writer, keeps some progress bars in his website to let the fan know what he's working on. Unfortunately, those progress bars aren't visible in mobile devices. So I made a website for myself to keep tabs on them. And also for the other fans. Link: https://bransan.vercel.app

Thanks for this! That limitation of the mobile site always annoyed me. Slightly coincidental that I just finished rereading the Well of Ascension minutes ago.

Re: Ask HN: Tools you have made for yourself?

#300

I have a small YT channel [1] and I used to spend 30-40 mins recording and then 2-4 hrs editing to get a final 10-15 min video. Then I fully scripted my video editing using Python+MoviePy [2]. The time savings are sweet. I just feed it my raw video and get the finished video a few minutes later. It cuts out all the dead air as well as the parts I don't want (which I indicate in-video). In general scripting video edit…

As an oldies station DJ from back home would say, this is good stuff! The use of screen color as an in-band indicator for what segments to keep or toss is especially elegant. One question: If you find yourself silent for some period that you want to keep (maybe while something happens on the screen), how do/would you inhibit the dead air filtering?

I've never thought about keeping silent parts in since that's just not my use case, but conceptually you could do that if you introduced a third marker (color other than red or green) to indicate "keep with silent parts".
Post reply on HN