428 karma · joined Dec 10, 2018 (7y ago) · 147 submissions
Living near Amsterdam. Husband, father, software engineer.
* LinkedIn: [@gonzalodiethelm](https://www.linkedin.com/in/gonzalodiethelm/) * Twitter: [@gonzus11](https://x.com/gonzus11)
comment 3w ago · link · parent
If you mean "changing the rules a few hours / days before they should be applied", Chile (again) did this a few years / decades ago, and it wreaked havoc: all scheduled meetings were off by one or two hours, you could not rely on your calendar, etc.
Plenty of stupidity going around in Chile / South America, rest assured.
comment 10mo ago · link · parent
comment 1y ago · link · parent
Can you add methods to any type? There is an example of adding a method to a builtin type (string) -- can you add also add a method to a union type?
Any plans to add some sort of enum type? If yes, will it be possible to add methods to enums?
How do you support (or intend to support) Unicode? It says "Strings use ASCII encoding" -- why not UTF8?
The example with a timeout channel does not show how / when the timeout will be triggered. Is this a special kind of channel?
It says "Packages will be synchronized to the $HOME/.nature/package directory" -- will this respect the XDG standard directory structure, which defaults to $HOME/{.cache,.local,.config}?
comment 1y ago · link · parent
comment 1y ago · link · parent
> Fred Brooks, in Chapter 9 of The Mythical Man-Month, said this: Show me your flowchart and conceal your tables, and I shall continue to be mystified. Show me your tables, and I won't usually need your flowchart; it'll be obvious. That was in 1975. Eric Raymond, in The Cathedral and the Bazaar, paraphrased Brooks' remark into more modern language: Show me your code and conceal your data structures, and I shall continue to be mystified. Show me your data structures, and I won't usually need your code; it'll be obvious.
comment 2y ago · link · parent
One question: you say that "Transfer-Encoding: Chunked responds with 411 Length Required, prompting the client to resend with Content-Length". Is there a reason for doing this (security perhaps), or is it just a choice?
comment 2y ago · link · parent
Incidentally, the fact that you cannot write this type of one-liner in any meaningful way with Python is one reason I do dislike that language.
comment 2y ago · link · parent
comment 3y ago · link · parent
I also believe we could solve many of the integration issues between multiple tools, by having them all optionally spit out a universal, easy / easier to parse format -- even JSON would be good here. So you could do
ls --foo --bar --json | jq ...
and be able to process the output to your heart's content, without having to do any kind of white space parsing; as a free bonus, you get automatic support for file names with embedded white space...The best we have for now is jc (https://kellyjonbrazil.github.io/jc/), which knows how to do this for a closed (but growing?) set of commands:
ls -l *.db | jc --ls | jq .comment 3y ago · link · parent
comment 3y ago · link · parent