News for hackers. Stuff that matters.

pacha--

Re:FastHTML – Modern web applications in pure Python on Tuesday July 30, 2024 @03:50AM (#41106953)
I’ve seen good Python projects and bad Python projects. Not all errors are caught at compile time and performance may or may not matter in non-cpu bound workloads. There’s no “right” language. Python can shine in the right context (including web applications).
Re:Z80 vs. 8088 Speed on Monday November 20, 2023 @10:57AM (#38349757)
The Z80 and 8088 are CPUs from when I was a kid. I clearly remember how 8088 was considered a much more advanced one back then. Nice to see this comparison. Thanks a lot for sharing.
Re:Interactive Examples for Learning Jq on Wednesday November 08, 2023 @03:49AM (#38188082)
Not a 1:1 replacement, but I created https://github.com/pacha/cels because I wanted to have a more intuitive way of working with JSON and YAML files
Re:That's a Lot of YAML on Thursday September 28, 2023 @03:23PM (#37694420)
I agree. I find working with templated YAML so cumbersome that I ended up creating a tool (Cels - https://github.com/pacha/cels) because of it. I like Jsonnet and Starlark but in practice I don’t usually need a new programming language for most use cases. Most of the time I just want to create a base document and apply patches to do modifications. That simplifies everything a lot. The experience of writing pure YAML is actually not that bad (a couple of things about the format are really questionable, but it is workable). I find that problems appear from the complexity of the solutions you have to add to adapt documents to different environments.

Show HN: Cels – A bit less YAML/JSON struggle

https://github.com/pacha/cels

I'm pretty sure my health is taking a hit from too much exposure to YAML and JSON. And, although I try to keep a positive attitude, I still am a bit annoyed by the fact that we are on the brink of being wiped off the face of the Earth by AI toasters and fridges, and we still don't have a straightforward way to patch these formats.We have Jsonnet, CUE, YTT, Starlark and Dhall. But I don't want...

( Read More... | no comments | 2 points | on HN )
Re:Using C++ as a scripting language, part 8 on Saturday July 29, 2023 @12:21PM (#36921748)
There’s nothing in the original message that suggests that the commenter was expecting a faster execution in an interpreted environment.
Re:Decoding James Webb Space Telescope on Monday December 27, 2021 @01:18PM (#29705082)
Six months if I recall correctly