I made Smocker[1]. It's a mock server we use extensively with my coworkers because we develop Go HTTP "micro" services and most of the tests we write are integration/component tests. We needed a way to mock the external services to test our service in an isolated way. Before that we used http-mock-server but it came short in a lot of ways: JSON config (very bad when you need to configure it to return JSON payloads),…
Ask HN: What are some tools / libraries you built yourself?
191–200 of 617 posts
Re: Ask HN: What are some tools / libraries you built yourself?
#192Uses a game loop to iterate over parameter collection.
I type something like “create kubernetes cluster” it checks for cloud creds or asks, and proceeds to gather the cloud providers params.
F5 saves state to JSON :)
It’s opinionated in that it only ever spins up a new account under an org. Blue/green accounts :)
Infrastructure people are insane to babysit all that (I used to be one).
It’s old man sysadmin rearing his ugly head again.
Re: Ask HN: What are some tools / libraries you built yourself?
#193Re: Ask HN: What are some tools / libraries you built yourself?
#194As a frontend developer I often struggle with the component library to use. At last I set out to create my own https://nfui.js.org . It isn't complete yet. I still need to fix SSR and create a few essential component. But so far it is coming out great. With bundle size There are many I have tried before this project, but there is something always missing. I primarily work on React and so my experience can be a little…
have you tried tailwinds and their uikit tailwindui?
Re: Ask HN: What are some tools / libraries you built yourself?
#195https://github.com/JaDogg/sbx - flashcards console app (not sure if there are similar applications)
https://github.com/JaDogg/pydoro - pomodoro timer console app (I couldn't find such application)
Re: Ask HN: What are some tools / libraries you built yourself?
#196IIRC, I started out with Android Studio's dump viewer, but I wanted to check a "nested" attribute (.x.y.z) for all instances of a class -- and there were several thousand instances. I quickly tired of expanding and scrolling the nested attribute lists.
I think I also tried MAT's OQL, but still missed the ability to add whatever logic I needed on-the-fly.
My "Show HN" post got no traction, and I don't think very many people have used it, but I'm still proud of it.
Re: Ask HN: What are some tools / libraries you built yourself?
#197I made a CLI interface for the Microsoft Academic API so you can search for papers, download them, and generate HTML from a collection: https://github.com/mila-iqia/paperoni I'm using it to automatically collect papers published by members of the research institute I work for, it's working pretty well. I also made a small utility to sync folders on-demand on my different machines: https://github.com/breuleux/synecure…
paperoni is awesome! I once implemented the crossref api in rust in order to search for publications from the command line https://github.com/mattsse/crossref-rs
How complete is crossref? I can't find my own publications on the search page they have on their site (well, I found one), but the search engine is garbage so I don't know whether it's because they're not in the database or if it's just an issue with the search. I assume it works better with the API.
Microsoft Academic is quite complete from my experience, I haven't really managed to find any paper that wasn't in their database unless they're very recent. Only downside is the need to get an API key (but they're free up to 10K queries/month or so, which is plenty).
Re: Ask HN: What are some tools / libraries you built yourself?
#198Re: Ask HN: What are some tools / libraries you built yourself?
#199Open source spinoffs from Tarsnap: https://www.tarsnap.com/open-source.html scrypt: Because the world didn't have any strong password-based key derivation functions. spiped: Because using stunnel or ssh tunnelling to connect to servers is gross . kivaloo: Because I wanted a high performance KV store optimized for small values (e.g. 40 bytes) rather than larger "items" (each containing multiple key-value pairs) or "bl…
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?
Re: Ask HN: What are some tools / libraries you built yourself?
#200Dbmate: 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…