Better HN
topnewbestaskshowjobs
Log inSign up

nwpierce

3 karma · joined Nov 19, 2022 (4y ago) · 5 submissions

https://github.com/nwpierce
Submissions

comment 1y ago · link · parent

That sounds a little like what I came up with a little while back. My lib can stream JSON to/from my own compact binary format that is easy to traverse/emit in C:

https://github.com/nwpierce/jsb/

comment 2y ago · link · parent

Somehow I didn't run across that one in my searching - I'll check it out. I've been working on a json C library myself:

https://github.com/nwpierce/jsb

My goal was to convert a stream of JSON to/from a binary stream that is easier to traverse and manipulate.

comment 2y ago · link · parent

I don't recall reading such, but I can tell you from experience that there was absolutely some sort of physical sensor, electrical, or software problem. I was sitting stopped at a red light with my foot square on the brake when the engine on our 2009 Corolla started revving hard. The brake held, and I was able to pop it into neutral and safely turn the car off and on again. Then it was fine.

It did it to me at least one more time in a similar situation. I am very glad not to have been driving in traffic when it happened.

The trouble went away after some of the recall work was done, but we never fully trusted that vehicle again. For what it's worth, we still drive a pair of Toyotas.

comment 3y ago · link · parent

Writing a json parser is definitely an educational experience. I wrote one this summer for my own purposes that is decently fast: https://github.com/nwpierce/jsb

comment 4y ago · link · parent

I came up with a qemu wrapper a little bit ago that meets my needs - https://github.com/nwpierce/qvm. Glad the VMWare option is out now though!