Live data from Hacker News

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

news.ycombinator.com

281–290 of 617 posts

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

#281
- a Geohash de/encoder cgi both human and machine readable: https://demo.mro.name/geohash.cgi to get a clean, public and easy to host, ad-free service,

- a layperson microblog engine PoC https://demo.mro.name/shaarligo

- a radio recorder for Bavarian public radio http://rec.mro.name for personal use (legal issues, ugly to install)

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

#282
Years back I made a circular progress bar library for Android. Nothing special but it was something that was missing at that time. Surprisingly, 1000+ downloads monthly (according to JitPack) and I still get occasional issues reported on GitHub.

The lib - https://github.com/krtkush/LinearTimer

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

#283
I built https://snipp.in because I was top frustrated about the loading times of notion. I am a developer and I take notes quite often, most of us spend a lot of time on an IDE and when we need format a quick json or copy a tiny snippet we often find ourselves in opening another instance of an editor with a txt file or random website to formate json. Snipp.in is a tiny jn browser editor, note taking app and a snippet manager all in one which looks like an Editor but really fast without any bs of signin/signups or cloud. It just stores everything in your browser using IndexedDB. It's also open-sourced at https://github.com/haxzie/snipp.in

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

#284
post #205

Created TAO[0] -- a minimal syntax that's even simpler than S-expressions. Building notations on top of it, currently focusing on one for data -- an alternative to XML, JSON et al. Open-source, prototyping on GitHub[1]. Keepin' it simple ain't easy. [0] https://tree-annotation.org/ [1] https://github.com/tree-annotation

It looks very neat. I quite like the example where tapping JSON code shows, which characters would be removed in TAO.

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

#286
My company does most of our development in Delphi, but unfortunately that means that crash dumps are very difficult or impossible to utilize with the embedded Borland/Embarcadero TDS debugging information. I wrote a utility that extracts the TDS info from a Delphi executable and uses an LLVM debug info library to write out a PDB and also modify the executable to point to that PDB.

The source can be found here: https://github.com/powerworld/TDSToPDB

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

#287
In 2013, I started https://webtorrent.io the first torrent client that runs in a web browser. It’s open source here: https://github.com/webtorrent

I built it to make torrent technology more accessible to the masses. We’re still actively building it and we even have a slick desktop app that uses the same engine for streaming.

WebTorrent also powers https://wormhole.app an end-to-end encrypted file sending service that I built with my friend jhiesey.

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

#288

Last year I built Recut[0], a native Mac app that helps speed up video editing by automating the rough-cut process. It finds silence, gaps, and pauses and removes them, creating a cut list that you can import into editors like ScreenFlow, Final Cut, Premiere and Resolve. Here’s the Show HN [1] from a couple months ago. I built it because I was making screencasts and cutting out silence + mistakes was 90% of my editin…

I'm not a vlogger or anything but this is a great product. Nice job!

Thanks!

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

#289
A message based p2p library. https://github.com/brendoncarroll/go-p2p

There is a single abstraction (the Swarm) which is capable of modeling communication, NAT, and identity. And you can layer them (Swarms) to provide whatever functionality you need. For the most part, you communicate using tell or ask methods.

The big name in this space is lib-p2p. It doesn’t have a UDP transport (it exists but is incomplete), and the examples were focused on manipulating streams so it wasn’t clear how to model message based communication from reading the docs. You also have to buy into many other abstractions when you use it e.g. multiaddrs.

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

#290
I made a library called Restruct. https://github.com/go-restruct/restruct

It is useful for parsing and emitting binary structures. It uses Go struct tags to allow you to define fairly advanced arbitrary structures. Unlike some similar libraries, it supports both reading and writing data. I used it to write a quick program that manipulates FL Studio project files, and another that extracts PNGs out of a blob (like binwalk but more accurate for this specific task.)

https://github.com/jchv/pngextract

https://github.com/jchv/flsplit

If you’ve never seen Kaitai, it might take a while for it to click what you can do with it. I was actually inspired by 010 Editor’s binary templates, but found out about Kaitai Struct after creating Restruct. I stole their idea of having arbitrary expressions and wrote my own expression engine for Restruct, and also ended up contributing improvements to Kaitai’s Go compiler too, for good measure. The bottom line is, these tools make it extremely easy to work with complex binary files. I can incrementally sketch out an unknown file format, like FL Studio FLP, and quickly test my assumptions about structure shape. Kaitai also has their IDE tool, which lets you use Kaitai interactively:

https://ide.kaitai.io/

I actually hope to do the same for Restruct, but want to re-engineer some aspects of it to make it work better in an interactive context.

Post reply on HN