Readit News logoReadit News
kjuulh commented on Dotfiles feel too personal to share   hamatti.org/posts/dotfile... · Posted by u/speckx
twp · 25 days ago
It's not a question of share everything or share nothing - with https://chezmoi.io you can choose exactly what you want to share:

* You can keep your entire dotfile repo secret by using any private git hosting, including your own git hosting or a private GitHub repo.

* You can keep individual files secret by using age or gpg encryption. If you repo is public, this only reveals the existence of the file, not its contents.

* You can keep individual parts of your dotfiles secrets, e.g. API keys, by encrypting them or storing them in your password manager. All popular password managers are supported.

Disclaimer: I'm the author of chezmoi.

kjuulh · 25 days ago
Chezmoi has been a blessing to use. It is one of the only tools I've used that had been able to survive me neclecting it for months and then getting back to it. I'd love a more interactive diff when my dotfiles have driften too much. But otherwise it is perfect for my needs.
kjuulh commented on Woman takes 10x dose of turmeric, gets hospitalized for liver damage   arstechnica.com/health/20... · Posted by u/burnt-resistor
speeder · 2 months ago
So I live in the EU where such supplements are supposedly safe. Article said that supplements that mix pepper and turmeric are dangerous. And the dose that was dangerous to the woman was 2000mg.

I looked on my table toward the bottle of turmeric my parents gifted me recently, saying they heard it was good and bought on a famous "health" store.

Bottle is: turmeric + pepper "designed for max absorption" and dose is 10000mg.

kjuulh · 2 months ago
I was working at a small farm-shop at some point, we sold smoothies of turmeric and ginger, we had to label it clearly, and restrict sale for pregnant woman, young kids and the elderly because large doses can be dangerous. As far as I recall both are a natural blood thinner.

Edit: in europe

kjuulh commented on Next month, saved passwords will no longer be in Microsoft’s Authenticator app   cnet.com/tech/microsoft-w... · Posted by u/ColinWright
AJRF · 2 months ago
I have a degree in computer science, 10 years experience in some complicated fields and I can’t figure out PassKeys.

They are woefully designed and implemented, wish we just cut our losses with them and stopped pushing them.

Tuck them away in settings, not on the default login path.

kjuulh · 2 months ago
I felt the same when implementing OpenID connect flows according to spec. It uses the browser in creative ways ;) Especially the device flow, absolutely insane complexity for what it is.
kjuulh commented on I Switched from Flutter and Rust to Rust and Egui   jdiaz97.github.io/greenbl... · Posted by u/jdiaz97
kjuulh · 2 months ago
I actually wanted to ask you about this at our last meetup (Rust Aarhus), so nice to see it on hackernews. It did seem you switched away from flutter. ;)

How is shipping egui apps vs flutter. I'd imagine that especially shipping a rust integration with Flutter might be a bit of a pain

kjuulh commented on Hyprland Premium   account.hypr.land/pricing... · Posted by u/DaSHacka
calmbonsai · 2 months ago
How to fail at a product website lesson #1: Don't describe the purpose and show the experience of your product on the home page.

I have no idea what "Hyperland" is.

kjuulh · 2 months ago
It is weird, this is their main website: https://hypr.land/

Which has a demo. This website seems to only be for the account / payments.

kjuulh commented on Hyprland Premium   account.hypr.land/pricing... · Posted by u/DaSHacka
kjuulh · 2 months ago
I've got absolutely no problem with them taking donations / having a premium option. But it is very difficult to comment on when there is no indication what the premium experience brings.
kjuulh commented on Rust compiler performance   kobzol.github.io/rust/rus... · Posted by u/mellosouls
crohr · 3 months ago
What kind of CI runners do you use then? Do you self-host?
kjuulh · 3 months ago
You can rent bigger runners from github. They're still not as fast as third party ones, but it takes 5 minutes to set up and is still pay as you go. I just see a lot of people use the default ones, which are very small.
kjuulh commented on Rust compiler performance   kobzol.github.io/rust/rus... · Posted by u/mellosouls
kjuulh · 3 months ago
Could Rust be faster, yes. But honestly, for our use-case shipping; tools, services, libraries and what have you in production, it is plenty fast. That said, Rust definitely falls off a cliff once you get to a very large workspace (I'd say plus 100k lines of code it begins to snowball), but you can design yourself out of that, unless you build truly massive apps.

Incremental builds doesn't disrupt my feedback loop much, only when paired with building for multiple targets at once. I.e. Leptos where a wasm and native build is run. Incremental builds do however, eat up a lot of space, a comical amount even. I had a 28GB target/ folder yesterday from working a few hours on a leptos app.

One recommendation is to definitely upgrade your CI workers, Rust definitely benefits from larger workers than the default GitHub actions runners as an example.

Compilling a fairly simple app, though including DuckDB which needs to be compiled, took 28 minutes on default runners. but on a 32x machine, we're down to around 3 minutes. Which is fast enough that it doesn't disrupt our feedback loop.

kjuulh commented on GCP Outage   status.cloud.google.com/... · Posted by u/thanhhaimai
dinvlad · 3 months ago
Except that AWS, CloudFlare and a bunch others are also down :-O
kjuulh · 3 months ago
Downdetector shows they've got issues as well, but it can be fairly unreliable, as people don't know which service is behind their apps.

I at least have no issues on their services across a few regions, and their console works fine.

kjuulh commented on GCP Outage   status.cloud.google.com/... · Posted by u/thanhhaimai
kjuulh · 3 months ago
I wonder what the damage ($) for having a good portion of the internet down for an hour or two ;)

u/kjuulh

KarmaCake day267March 22, 2021View Original