Live data from Hacker News

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

news.ycombinator.com

91–100 of 617 posts

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

#94
I built emlearn, a Machine Learning inference engine for microcontrollers and embedded systems. It allows converting traditional ML models to simple and portable C99, following best practices in embedded software (no dynamic allocations etc). https://github.com/emlearn/emlearn At the time of creation, there were not many open source libraries for that niche. Now there are also deep learning frameworks like TensorFlow Lite for microcontrollers, but emlearn is a nice complement because it focuses on the simpler models RandomForest, Gaussian Naive Bayes etc.

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

#95
I made a small tool to script source-to-source transformations and apply them on C programs: https://github.com/lou1306/absentee

I used it during my PhD to automatically instrument benchmark programs for several different software verification tools (there is some form of standardization going on, but there are still a lot of corner cases where the same program will be interpreted, and thus verified, differently by two tools).

It's written in Python 3 and uses pycparser to do most of the heavy lifting. Currently it's a bit on the back burner, but I hope to come back to it soon-ish. Some desiderata:

* pycparser's AST API is not terribly efficient when you have to rewrite large subtrees, but I don't know if there are any nice alternatives. * That's probably a pipe dream, but I wish there was some easy-to-use library to get semantic info about C programs (like a symbol table). That would help me "teach" the tool some neat tricks, such as SSA.

By the way, thank you OP, as your post convinced me to make the repo public.

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

#96
As 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 different from people working on other view libraries.

Following are few libraries I tried and my pet peeves with them. Material UI was just too complex in terms of use. I had to always have a doc open in a tab and refer it for even a simple component like toolbar. Antd bundle size is way too large and few essential components like timepicker is > 100KB gzipped. React bootstrap doesn't have theming and looks outdated (Bootstrap 5 will fix this).

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

#97
A low-level graphics engine, where each WebGL function has a corresponding HTML tag (web component), like a-frame but low-level instead.

https://hugodaniel.com/projects/shader-canvas/

The idea was to bring a more declarative vibe to the low-level WebGL API.

Done for a personal project, but I ended up using Three.js because my time to develop it further was running out :(

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

#98
There was a time in my team where we were taking just too much time and derailing in our daily standups, and the manager wanted to have a way to control how much time each one of us took during our standup and leave any further discussion for the 16nth minute. I created a [DSU timer][0] for the team which we used for quite some time and it served it's purpose. We later switched to another approach for our standups. It's currently [hosted][1] on github pages.

[0]: https://github.com/deathwebo/tinydiamond-timer [1]: https://deathwebo.github.io/tinydiamond-timer/

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

#100
post #87

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),…

Although I don't do microservices, this project is really interesting.
Post reply on HN