Live data from Hacker News

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

news.ycombinator.com

381–390 of 617 posts

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

#381

Dbmate: https://github.com/amacneil/dbmate I found most database migration tools tried to be too smart (I'm not a fan of automatic migrations), were too tightly integrated with specific languages or frameworks, or didn't support basic developer workflow pleasantries such as dropping and recreating the database. I created a simple single binary migration tool that runs migrations (sql files), and keeps track of applie…

I found that I wanted something really specific, and built a tool in Go that lets you write, modify and use plpgsql functions as if they were regular source code files rather than database objects. You can write them as Go packages, import those packages into other Go projects, and write tests - without maintaining migration files for anything other than the tables. Combined with IDEA’s plpgsql language support it’s made me super productive.

I’ve used it very successfully in production for a few years and have been curious if anyone else would find it useful enough for me to open it up.

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

#383

Earlier quoted context omitted.

What in the world does with C/C++/Java/Javascript syntax mean? Four different languages with four different syntaxes.

An attempt to allow code reuse for a subset of all of then.

You should word it differently because I never would have guessed that is what it means.

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

#385
- promnesia: a Memex-like tool to enhance my web browsing experience with more context and connections https://github.com/karlicoss/promnesia#readme

- cachew: library that allows to cache python function calls in an sqlite database with just a single decorator (leveraging on type annotations) https://github.com/karlicoss/cachew#readme

- dron: a friendlier 'frontend' for systemd which allows me to declare jobs as python code living in the same file -- combines best bits of systemd and cron https://github.com/karlicoss/dron#readme. I elaborate a bit more on motivation for it on my blog https://beepb00p.xyz/scheduler.html

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

#386
post #152

I commented my own project in another thread, but I have to say that reading all these is really inspiring. The HN community is pretty amazing.

I'm vaguely reminded of freshmeat.net, which I used to read religiously, some 20 years ago... back in the day :-)

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

#387
I maintain an Emacs package that is fundamentally based around user interaction (called ido-completing-read+[1]). At some point I realized that I needed a test suite for it, but at the time there was no easy way to test Elisp code that reads user input without actual user interaction. So I wrote with-simulated-input[2], a package providing a macro of the same name that let you run a piece of code while supplying key sequence to feed to that code as if the user was typing those keys. So now my package centered around user input has a fully automated test suite, and that's pretty cool.

[1]: https://github.com/DarwinAwardWinner/ido-completing-read-plu...

[2]: https://github.com/DarwinAwardWinner/with-simulated-input

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

#388
Daisy is a Kotlin (server side) message processing library based on some boilerplate I’ve written a number of times privately https://github.com/CarrotCodes/Daisy

I’ve been thoroughly enjoying using Kotlin for backend development for a few years, and gave coroutines a chance this year. Feels great to open-source something that’s been privately useful, and hopefully contribute to the wider ecosystem.

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

#389

Before I answer I'll just test whether this account has been shadowbanned like my previous accounts. It is a sad thing that I have to test for this but I'm not putting time in answering interesting questions for my answers to be blackholed again. - edit - Yes, shadowbanned again. Have a look at the comment history on this account and decide for yourself whether this is in any way defensible. I'm done with HN.

I don't think you are shadowbanned, i can see your comment. You're welcome on HN anytime you want to come back. Btw., when i first came accross HN, some 10 years ago, i had this same fear of being shadowbanned. Heh.
Post reply on HN