News for hackers. Stuff that matters.

code-faster

Re:Make Ubuntu packages 90% faster by rebuilding them on Tuesday March 18, 2025 @08:10PM (#43406825)
Could you release a fork of jq whose make does all this fanciness? I use jq A LOT so would love a turnkey solution to make it faster.
Re:New Junior Developers Can’t Actually Code on Monday February 17, 2025 @12:22AM (#43075456)
The reason why these articles appear every 5 years is because many engineers pride themselves on how they solve problems. And then when they see people solving those problems without putting in the hard work that they had to put in, it really bothers them.

This is a timeless post. We'll see it today. We'll see it in five years. We'll see it in 10 years.

He was great, he deserves, in death, no dishonor
I love pieces like this. They're great programmer sociology if such a field existed.
Re:Why is it so hard to buy things that work well? on Monday December 16, 2024 @09:27AM (#42431231)
Will AI change this? If AI can assess who is good for us, then we can get somewhere
Re:Douglas Crockford Is Not Your Dad on Sunday December 08, 2024 @04:39PM (#42360785)
All you're doing is creating a new spec that's not JSON. JSON has no comments. Your spec does. Your parsers handle both specs.

https://xkcd.com/927/ applies

Re:Tyler-Style Font Maker on Thursday October 31, 2024 @10:31PM (#42013539)
I had to double take back to HN that this wasn't some super custom website pulling my name out of cookies.
CSV is great because excel can import it, but it can't import USV, so at that point, why use USV when you can use JSON?

https://github.com/tyleradams/json-toolkit/

Let's do both. There's two crimes:

1 - Giving away info without consent

2 - The crime of abusing police resources.

Seems like the corporations are criminally negligent for leaking customer info. What if the best way to stop swatting was to go after them?
Re:Analyzing multi-gigabyte JSON files locally on Saturday March 18, 2023 @11:47PM (#35215844)
> Also note that this approach generalizes to other text-based formats. If you have 10 gigabyte of CSV, you can use Miller for processing. For binary formats, you could use fq if you can find a workable record separator.

You can also generalize it without learning a new minilanguage by using https://github.com/tyleradams/json-toolkit which converts csv/binary/whatever to/from json

Re:Fq: Jq for Binary Formats on Thursday December 23, 2021 @10:54AM (#29663035)
https://github.com/tyleradams/json-toolkit

Convert json <-> xml, csv, yaml, logfmt

So to support all formats, you write a binary <-> json converter.

Re:M4 as a templating language (2020) on Thursday July 29, 2021 @07:10AM (#27995112)
Having used m4 in practice, it's easier to get the job done with a custom python script.
I really like this tool, but I'm not sure what it gets me more than jq (and https://github.com/tyleradams/json-toolkit to convert non-json to json).

What can angle grinder do better than jq?

Older »