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.
Re:Half-Life 2 and Dishonored art lead Viktor Antonov has died
on Sunday February 16, 2025 @06:16PM (#43072795)
He was great, he deserves, in death, no dishonor
Re:I spent 18 years in the Linux console and I don't regret it
on Sunday January 12, 2025 @09:37PM (#42679475)
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
How to Code for the Future
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.
Abundance Mindset (Not LinkedIn Cringe)
What OS should I drive?
LLM Workflows
Show HN: Hacker News DarkMode
Re:Show HN: Comma Separated Values (CSV) to Unicode Separated Values (...
on Tuesday March 12, 2024 @10:22AM (#39679863)
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?
Re:A man has been swatted 47 times for making a joke about Norm Macdonald
on Saturday February 10, 2024 @11:13PM (#39332595)
Let's do both. There's two crimes:
1 - Giving away info without consent
2 - The crime of abusing police resources.
Re:A man has been swatted 47 times for making a joke about Norm Macdonald
on Saturday February 10, 2024 @10:06PM (#39332338)
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:PostgreSQL is enough
on Tuesday February 06, 2024 @09:46AM (#39274737)
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
Best Dumb TVs
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.
Re:Show HN: Angle Grinder – A terminal app to slice, dice, and aggrega...
on Monday July 19, 2021 @03:17AM (#27880037)
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?
Re:Show HN: Transform a CSV into a JSON and vice versa
on Thursday June 03, 2021 @05:14AM (#27378781)
I have a couple of open source CLI tools to do this:
- https://github.com/tyleradams/json-toolkit/blob/master/csv-t...
- https://github.com/tyleradams/json-toolkit/blob/master/json-...