Live data from Hacker News

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

news.ycombinator.com

411–420 of 617 posts

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

#411
Amongst many other reinvented wheels; PopH264 - https://github.com/NewChromantics/PopH264 A cross platform (mac, win, ios, android, magic leap, pi, linux) h264 decoder and encoder library with a nice and simple CAPI (alloc, push data, pop data, free). I use it in unity, my own engine, node.js server and just doing an unreal bridge.

There just wasnt a simple cross platform library with hardware support. (Anyone who suggests libav hasnt tried it outside of an statically linked demo app :)

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

#412
post #401

Earlier quoted context omitted.

Not op, but I wrote something equivalent based on a linux script that I found [1]. Here's the mac version of the script [2]. You need tesseract [3] installed for the OCR. For launching it using a keyboard shortcut I use a hammerspoon [4]. Example of how I bind it [5] [1] https://github.com/sdushantha/bin/blob/master/utils/ocr [2] https://github.com/JJGO/dotfiles/blob/master/scripts/bin/ocr [3] https://pypi.org/projec…

Nice, I started with tesseract, but moved to Google Vision as the quality was better. Azure's offering was better for hand written notes.

Interesting, that doesn't really work for me as I sometimes use it to OCR sensitive stuff from scanned documents, and it wouldn't work offline. I found tesseract to work pretty reliably for my use and only fail when scanning non-ASCII characters.

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

#413
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.

Glad to hear that, tried my best to present it in a clear and concise way. Quite the task in itself.

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

#414
Still in the process but: a software renderer, a cross-platform gfx / audio api, a scripting language, code editor, sprite editor, ... (libs are all written in C for portability and easy scripting integration) Totally meaningless (to others) wheel reinventing, but it makes me 100x happier when making games and apps!

DIY everything is my path to programming happiness (in any field in fact). Tools should be extensions of your body, tools made by others are unlikely to be that.

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

#416
post #412

Earlier quoted context omitted.

Nice, I started with tesseract, but moved to Google Vision as the quality was better. Azure's offering was better for hand written notes.

Interesting, that doesn't really work for me as I sometimes use it to OCR sensitive stuff from scanned documents, and it wouldn't work offline. I found tesseract to work pretty reliably for my use and only fail when scanning non-ASCII characters.

Yeah, I only use it for things where the context wouldn't matter. For example grabbing an account number from a document.

I've been experimenting w/ CoreImage detectors (mainly for categorisation of scanned documents based on QR codes).

When I clean things up today, I'll see what can be used.

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

#419

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…

I definitely want something like that.

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

#420
post #128

I built a "Pokemon for Sushi", where I kept track and collected all the different sushi that I ate, and where I found it. It connects to the Foursquare API, so I can just pick the sushi shop from a drop down through my phone https://torodex.herokuapp.com/netas

I love the idea! Sushis are indeed very "pokemon-like" they all have very different characteristics and very cute looks. Have you thought about gamifying it somehow? Also I hope there's some kind of stats and lore on each sushi, so going on this page would be like exploring a pokedex.
Post reply on HN