HackerTrans
トップ新着トレンドコメント過去質問紹介求人

zanecodes

no profile record

コメント

zanecodes
·11 日前·議論
So I don't have to spend 10-15 minutes saving all my open files (including the scratchpad ones I haven't named) and then later reopening all my applications, recreating all of my tmux windows and panes, setting up my vim splits and tabs again, and starting all of my stopped Docker containers?
zanecodes
·先月·議論
Not that it detracts from your point, but PowerShell defined Linux-like aliases for PowerShell commands, not the old CMD.exe binaries.

So ls would actually match the behavior and accept the flags for Get-ChildItem, not dir.
zanecodes
·先月·議論
If only there were some kind of third party we could all collectively agree to delegate enforcement of cooperation to...
zanecodes
·4 か月前·議論
>MinIO

I have some bad news for you: https://news.ycombinator.com/item?id=47000041
zanecodes
·5 か月前·議論
I'm pretty sure that if you need ubiquitous surveillance to ensure that your citizens don't commit crimes, you don't have a high-trust society, by definition.
zanecodes
·5 か月前·議論
Ah yeah, I guess I assumed by the use of the term "contructor" that GP meant a language like Python or Java, and in some cases it can difficult to prevent misuse by making an unsafe constructor private and only providing a public safe contructor that returns a sum type.

I definitely agree returning a sum type is ideal.
zanecodes
·5 か月前·議論
Given that the compiler can't enforce that users only enter valid data at compile time, the next best thing is enforcing that when they do enter invalid data, the program won't produce an `Email` object from it, and thus all `Email` objects and their contents can be assumed to be valid.
zanecodes
·5 か月前·議論
The far right are largely the people voting against robust safety nets and low inequality...
zanecodes
·9 か月前·議論
You might be interested in IPFS [1], and content-addressed storage systems more generally.

[1] https://en.wikipedia.org/wiki/InterPlanetary_File_System
zanecodes
·9 か月前·議論
You can directly pass JSON to Terraform by putting it in a `.tfvars.json` file [1], as far as I can tell this has been supported since v0.5.0 which released in May 2015.

Terraform doesn't have a built-in deep merge function, but it will merge `.tfvars.json` files in the order given on the CLI, if you specify multiple `-var-file` arguments. For what it's worth, as of Terraform 1.8, you can also use functions from third-party providers like isometry/deepmerge [2] to perform a deep merge.

[1] https://developer.hashicorp.com/terraform/language/parameter... [2] https://registry.terraform.io/providers/isometry/deepmerge/l...
zanecodes
·3 年前·議論
I only have to sign up to Github once, not once per project.