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

ctur

no profile record

投稿

US getting modern sunscreen formulations

theverge.com
3 ポイント·投稿者 ctur·24 日前·1 コメント

[untitled]

1 ポイント·投稿者 ctur·2 か月前·0 コメント

Pxhist: Fast, local-first shell history search and sync for bash and zsh

github.com
1 ポイント·投稿者 ctur·4 か月前·0 コメント

コメント

ctur
·昨年·議論
It’s fun to build things like this but if you want to nourish a user base you need to fully understand the landscape of similar tools and then explain your differentiating value. This is /particularly/ important for security related tools.

Specifically you should compare and contrast to tools like SOPS, Ansible Vault, pass, etc.
ctur
·昨年·議論
This is an unnecessary optimization, particularly for the article's use case (small files that are read immediately after being written). Just use /tmp. The linux buffer cache is more than performant enough for casual usage and, indeed, most heavy usage too. It's far too easy to clog up memory with forgotten files by defaulting to /dev/shm, for instance, and you potentially also take memory away from the rest of the system until the next reboot.

For the author's purposes, any benefit is just placebo.

There absolutely are times where /dev/shm is what you want, but it requires understanding nuances and tradeoffs (e.g. you are already thinking a lot about the memory management going on, including potentially swap).

Don't use -funroll-loops either.
ctur
·2 年前·議論
Architecture matters because while deep learning can conceivably fit a curve with a single, huge layer (in theory... Universal approximation theorem), the amount of compute and data needed to get there is prohibitive. Having a good architecture means the theoretical possibility of deep learning finding the right N dimensional curve becomes a practical reality.

Another thing about the architecture is we inherently bias it with the way we structure the data. For instance, take a dataset of (car) traffic patterns. If you only track the date as a feature, you miss that some events follow not just the day-of-year pattern but also holiday patterns. You could learn this with deep learning with enough data, but if we bake it into the dataset, you can build a model on it _much_ simpler and faster.

So, architecture matters. Data/feature representation matters.
ctur
·2 年前·議論
But not all things you might do with a dotfile (or, more generally, per-user customization) are just replacing files. Things like cronjobs, brew installs, `defaults` in MacOS, etc. Viewing dotfile-based customization as strictly files to obliterate with pre-existing files is needlessly myopic.

For this broader problem, there are other more complete solutions that are more robust and flexible. Personally I like dotbot (https://github.com/anishathalye/dotbot) as a balance between power and simplicity, particularly when managing files across multiple OS homedirs (e.g. linux server, macos laptop).
ctur
·3 年前·議論
He was and worked on, among other things, Python while there. He's a trustworthy source.
ctur
·5 年前·議論
It's back as of approx 14:47 PST.
ctur
·5 年前·議論
It isn't just DNS. If you happen to have cached entries, the site is returning errors as well.