Live data from Hacker News

Ask HN: What are some tools / libraries you built yourself?

news.ycombinator.com

371–380 of 617 posts

Re: Ask HN: What are some tools / libraries you built yourself?

#371
A perennial topic of Hacker News seems to be browser tabs; yet another post about the topic appeared on the front page earlier this weekend, if I'm not mistaken. While the exact cause of all the consternation is still up for debate, my attempt at a solution has been the application of the Unix philosophy[1] to the problem. I've made a browser extension and a couple of accompanying host applications[2] that allow the user to interact with browser sessions as files, and I've been very satisfied with the result. I'm looking to implement some additional functionality, namely around auto-saving and streamlining moving tabs between sessions, in the future.

[1] https://en.wikipedia.org/wiki/Unix_philosophy

[2] https://github.com/paysonwallach?tab=repositories&q=amber

Re: Ask HN: What are some tools / libraries you built yourself?

#372
Back in 2015 I needed a convenient & fast post-processing and image alignment tool for (mainly) astrophotography time lapses, that's how ImPPG was born [1, 2]. (If GIMP had had high-bit-depth support back then, I'd probably try to write a plugin instead.) I still use it, and make small additions every now and then. It's seen some use in the community (probably mainly for solar imaging); GitHub reports a couple thousand downloads for the release that's been up the longest.

[1] https://greatattractor.github.io/imppg/

[2] https://github.com/GreatAttractor/imppg

Re: Ask HN: What are some tools / libraries you built yourself?

#373
I made this chrome extension to help with inline replies for gmail:

https://chrome.google.com/webstore/detail/reformat-gmail-inl...

It's basically a compressing of the copypaste+"quote-button" thing that people do. I reply inline quite a bit, so I've found it useful.

Just made this too (and am pushing a quick update soon) - it tracks how much time you spent on each chrome tab, and when you hit Alt-T it gives you your tabs, sorted approximately by time spent recently, so you can find your place better. https://chrome.google.com/webstore/detail/historia/hfibppfil...

Re: Ask HN: What are some tools / libraries you built yourself?

#374

Earlier quoted context omitted.

Can you elaborate on what makes stunnel or ssh tunneling "gross"? Is it the network overhead they add or is it the complexity of the protocol, or is it something else?

Protocol complexity, number of vulnerabilities in the codebase, and for ssh there's reliability as well. (SSH tunnels multiplex connections over a single TCP connection, whereas TLS and spiped map one TCP connection to one TCP connection.)

But what's wrong with stunnel?

Re: Ask HN: What are some tools / libraries you built yourself?

#375
I was working for a team that didn't have any mobile developers so we had outsourced an iOS app to connect with our SOAP based API. A few years later, our mobile app was woefully out of date, so I thought I'd take upon myself to 1) learn Swift and 2) convert the library over. Unfortunately, it was a nightmare to work with SOAP (and XML) in Objective C and Swift, so I played with an abstraction to help with parsing XML. The end result became an early version of SWXMLHash [1].

The irony is that I never finished the rewrite, but the library was helpful to other Swift developers so I've been maintaining it since.

[1] https://github.com/drmohundro/SWXMLHash/

Re: Ask HN: What are some tools / libraries you built yourself?

#377
Tiny library to work with transactions with very popular Node Postgresql driver: https://github.com/golergka/pg-tx I'm pretty proud of this one, although it's very tiny, because before I built it, I used a stack overflow answer that turned out to have a nasty bug, and it wasn't an easy one to figure out. I mean, since I just told you where to look, it's obvious, but before I realised that I handled transactions wrong, I spent a long, long time looking in other places.

Telegram bot to deliver new Hacker news comment replies: https://github.com/golergka/hn-comment-bot It's hosting is broken and I've been meaning to fix it in the last month or two, but the code is working.

Re: Ask HN: What are some tools / libraries you built yourself?

#378
built a couple of tools that I use very often:

- zefaker[0] - a CLI for generating (random) data and exporting to SQL, Excel, CSV and JSON. Has helped in generation of test databases and test data for various scenarios. Much more convenient than a tool tied to a specific framework. Also gave me a chance to learn how to work with the Groovy script engine.

- groupby[1] - A CLI tool to group files into directories, by year, month or even day. Originally started writing it in Rust but got annoyed when I kept losing fights against the Rust compiler/borrow-checker; eventually drove me to learn Go...

[0]: https://github.com/creditdatamw/zefaker [1]: https://github.com/zikani03/groupby

Post reply on HN