Live data from Hacker News

Ask HN: Tools you have made for yourself?

news.ycombinator.com

391–400 of 458 posts

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

#392
post #83

I wrote a tool that reads numbers from stdin and outputs the percentile statistics of those numbers. https://github.com/zdwolfe/zstat https://pypi.org/project/zstat-cli/ $ cat nums.txt 456 366 695 773 ... $ cat nums.txt | zstat p0 = 56 p50 = 366 p90 = 773 p95 = 773 p99 = 826 p99.9 = 826 p100 = 826

OP here. A very similar tool I built prompted this question.

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

#393

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…

I had this same problem with making screencasts! Ended up building a Mac app [0] to do basically this, find the silence and chop it out.

I started off with a script too but realized I wanted more control over the timing, and the ability to manually designate some parts to keep/cut. Initially I only exported a cut list, so you could do the final tweaks in ScreenFlow or Final Cut or whatever. Now I’m slowly building out more in-app editing features and some other automations.

0: https://getrecut.com

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

#394

Decoder Ring: https://james.darpinian.com/decoder/ to look up error codes. Started with OpenGL, then added Windows error codes, Linux, HTTP, and Vulkan. I was a bit frustrated always pasting error codes into Google, as it doesn't always come up with the best result. You often have to extract just the code from a larger message, and potentially convert to/from hex or signed/unsigned, e.g. Windows error codes like "-20…

Could you please explain more about how the Decoder ring works? And how it's data is maintained?

Thanks for sharing!

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

#395

"tell me what tools you've made and i'll tell you who you are." Really. Probably i make one sw tool per month - whatever annoys me enough to go over the lazyness treshold. Most of my toys (made last 25+ years) stay at https://github.com/svilendobrev/svd_bin https://github.com/svilendobrev/svd_util (python stuff) apart of the bigger ones there with own repos most used stuff seems: * shell wrappers/configs to make usin…

I'm going to take a few hours out over the next few weekends and go through this. Thank you for sharing!

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

#396
There’s a program that reads the kindle clippings file and renders one random quote as my wallpaper, it runs on startup. I ended up liking it way more than I thought I would.

There's also a little website blocker that's just a list of buttons with preset websites to block and a delay for unblock, all that I tried from the web came with so much jank, complications and payments, so that's the reason for that. Also, very much worth it, a lot of the addiction in social media is really low strength, so tiny barriers like this or a chrome extension that disables yt recommendations have been very effective for me in reducing unintended usage.

A night light extension for windows that I made when microsoft's one stopped working, and I couldn't find a way to make software brightness and night light programs work well together. Both were modifying the gamma ramp, which would cause flickering in between each program's settings. I expanded it to handle monitors settings (contrast, bg) and multi monitors. There was also an attempt in having a whitelist for when specific processes were in the foreground and taking more than x% of screen space, but at the time it was kinda of a pain to implement and manual control worked fine.

An image viewer that was an experimental frameless, zoom-increases-the-window-size-when-possible. One thing that surprised me about it at the time was how much faster it was than m$'s w10 default image viewer, especially in image switching. I was using stb_image to load the different formats, but there was no attempt at optimization whatsoever.

I'm making a weight log app right now, but that's more of a "I mostly do cpp let's try doing something outside my normal programming environment". Completely gave up hope of programming this thing at a fast pace, the friction from switching environment/languages/approaches is very, very, very high. It seems now i’m in the tail end of having all the features in, some stuff takes a long time to load, like the camera module. I have no idea how I’m going to make that thing go fast, but ugh it’s shaping up okay ¯\_(ツ)_/¯.

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

#399
post #13

A webapp to help me calibrate hydraulic models of water networks. The original concept was in excel and VBA. I ended up pulling out the engine as a separate open source library which I've used on a few other projects. https://github.com/modelcreate/epanet-js#model-calibrate

i’m not familiar with hydraulic models and only marginally familiar with water and mapping, but this is cool

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

#400
I built PACT [1] to allow me to partition my CPU for different processes.

I built SASRip [2] and MediaReaper [3] to download media from the internet to better share with my friends.

I also have a myriad of small tools and scripts to automate most of my work, whatever that work is. I've done many different jobs and I've automated a thing or two in all of them. ----

[1]: https://github.com/sas41/ProcessAffinityControlTool [2]: https://sasrip.cf/ [3]: https://sasrip.cf/Home/MediaReaper

Post reply on HN