Better HN
topnewbestaskshowjobs
Log inSign up

notemaker

186 karma · joined Feb 7, 2018 (8y ago) · 107 submissions

Submissions

comment 4y ago · link · parent

I use activitywatch: cross platform, free, locally hosted.

comment 4y ago · link · parent

I just started reading Rust in Action and so far I'm finding it much better then the official book.

comment 4y ago · link · parent

Any user stories with *vim + mutagen for _large_ remote code bases? Vs code remote is the only thing that has been fast enough in my experience, but I would love to be able to use my local neovim instance for remote development instead and this tool looks promising.

comment 4y ago · link · parent

Thank you for replying! I wouldn't have seen this on my own

comment 4y ago · link · parent

They update, look for, and provide documentation. They realize the value of good documentation.

They review their own PRs, with a focus on making them easy to review.

They are vocal on public channels and aren't afraid to ask questions outside their team - making sure that communication that could be relevant for other people isn't sent over DMs.

comment 4y ago · link · parent

I just wished Bitwarden would integrate with this... I know 1password has.

comment 4y ago · link · parent

If you're adamant on doing this, make sure your team is on the east coast. With a 9h difference to San Fransisco it is hard to keep your hours within 9-5. Unless you're a night owl, in which case this advice is moot.

comment 4y ago · link · parent

Probably a play on words in Swedish, "tillit" means trust / confidence.

comment 4y ago · link · parent

The latest season of Westworld had a great vision om what prompt based character modeling could look like.

comment 4y ago · link · parent

Worst case you could set up a router that denies all traffic by default, then work your way up to least privilege, and tunnel into the network with wireguard.

comment 4y ago · link · parent

I don't think there's a single point of origin. Personally, I found my way to it through hacker news ~1 year ago where multiple interesting articles about nix suddenly started making their way to the front page.

As for why people have started adopting Nix/NixOS at an increasing rate, I think a lot of ut boils down to the maturity of nixpkgs. It's very quick to just get going.

comment 4y ago · link · parent

Nice! I wrote about my experience as well in case it's useful, https://skogsbrus.xyz/blog/2022/06/12/router

It's a bit long, but the title sections should let you skip to the interesting bits.

Here's the latest code as well: https://github.com/skogsbrus/os

comment 4y ago · link · parent

re LSP, there is https://github.com/nix-community/rnix-lsp

comment 4y ago · link · parent

Very nice. I did this myself earlier this summer with NixOS + PC Engines APU2. Costed ~320 USD.

Having a serial connection when tinkering with network config was absolutely crucial for me.

comment 4y ago · link · parent

Keep in mind their growth rates though. In 2019 AMD had 6.7B in revenue and Intel had 71.97B.

comment 4y ago · link · parent

NixOS does not fit into this, but Nix the package manager could.

> Nix is a purely functional package manager. This means that it treats packages like values in purely functional programming languages such as Haskell — they are built by functions that don’t have side-effects, and they never change after they have been built. Nix stores packages in the Nix store, usually the directory /nix/store, where each package has its own unique subdirectory such as

> /nix/store/b6gvzjyb2pg0kjfwrjmg1vfhh54ad73z-firefox-33.1/

> where b6gvzjyb2pg0… is a unique identifier for the package that captures all its dependencies (it’s a cryptographic hash of the package’s build dependency graph). This enables many powerful features.

https://nixos.org/guides/how-nix-works.html

Git LFS / Git Annex might be able to suit your needs, but they're essentially "just" Git with some modifications to make large files easy to work with.

One of the "powerful features" of Nix mentioned above is reproducible builds, which sounds like what you're looking for.

comment 4y ago · link · parent

I think of conda as jupyter notebooks. It's ok to experiment with and get something running quickly, but it's a bad idea to use for production code.

Personally I never use either of these tools.

comment 4y ago · link · parent

Check out photoprism. Kind of like a self hosted alternative to Google Photos.

comment 4y ago · link · parent

https://normative.io seems to have some remote positions that are open. They do carbon emissions accounting for businesses.

comment 4y ago · link · parent

Amazing read and a beautiful website. I'm battling the urge to redesign my own site (yet again) with this as inspiration.

comment 4y ago · link · parent

+1 for APU2. I've written about my experience with it (+ NixOS) here: https://skogsbrus.xyz/blog/2022/06/12/router

As the other commenter said though - max speed is 1gbps. And approx 200mbit/s over wifi with 5ghz and the same network card I used.

comment 4y ago · link · parent

Bitwarden. Envious of 1password's integration with fastmail for disposable email addresses though.

53.

Building a Router with NixOS(skogsbrus.xyz ↗)

6 points · by notemaker · 4y ago · 1 comment

comment 4y ago · link · parent

It's crazy how good nixos+git gets when you've iterated for a while. I'm using the same setup on my work laptop, my home PC, and my router.

Coming up on my 1 year anniversary with NixOS and couldn't be happier, even though it has taken quite some time to adjust to (and I still barely know the language).

Having one place for all configurations is such a breath of fresh air, and having my work & home PC being identical (even Gnome is declaraticely configured!) is so nice.

Before NixOS, I resented using my private PC because it was never up to date with what I had configured on my work PC, but now that's just a "git pull && nixos-revuild switch --flake ." away - regardless of what has changed.

comment 4y ago · link · parent

I, too, need to review my code in Gitlab/Github/Gerrit in order to catch errors - somehow they're much more prominent there (like you said, I suppose it's due to adopting a "reviewer's mindset") rather than just looking at `git diff`.

But if possible I would like to review my work in the terminal as a part of my workflow, not needing to context switch to the browser. Has anyone found a good solution to that?

FWIW, using tmux & nvim.

comment 4y ago · link · parent

This mindset is similar to what people with wired headphones think of Airpods et al. It's not an apparent benefit when you're in the bubble of thinking it's normal to have a wire going across your torso all day and hearing the thuds and bumps propagate through the wire to your ears. But when you buy a pair of wireless buds and have them for a week - you don't go back. You've discovered freedom.

Likewise, with battery, you don't think it's an issue now because you know your laptop's limitations and therefore rarely unplug it. But when you get the ability to do so - you'll start to adapt to your new freedoms.

comment 4y ago · link · parent

Yep, that's one solution. Another is using X :)

comment 4y ago · link · parent

I imagine this is very dependent on your hardware. In my case, I'm using a Lenovo P1 (gen 3).

To be honest, I could have survived the segfault thing if I could predict when they would occur. But coupled with the fact that my laptop draws >100W at peak and that my monitors only supply ~70W or so over thunderbolt, my laptop disconnects the peripherals attached over thunderbolt on power peaks. When this happens, Gnome segfaults and I lose whatever I was doing outside of tmux :)

X stays out of my way and allows me to get work done.

comment 4y ago · link · parent

Yes, I was a bit imprecise. It is Gnome's Wayland support that is too unstable. Given the thread topic, I didn't think to be explicit :)

comment 4y ago · link · parent

I'd like to use Wayland, but it's not stable enough. I've lost count of the number of times I've lost work due to a segfault and then being logged out. And lots of applications still don't support it for screensharing (looking at you slack).

My bug in particular seems to be related with thunderbolt or USB c connected monitors. A disconnect will prompt a segfault.

I'd like to contribute with a proper bug report and I probably would if I hadn't had everything working with gnome+X. But now I just can't motivate spending time on it over other things in my life. Hope they have telemetry for segfaults at least.

1234