Better HN
topnewbestaskshowjobs
Log inSign up

adisbladis

221 karma · joined Oct 5, 2012 (14y ago) · 52 submissions

Submissions

comment 2y ago · link · parent

Tvix explicitly targets stable Nix features, so supporting Flakes is a non-goal.

Many users have a poor understanding of what Flakes _actually_ are: They are a bit of UX glue on top of existing Nix features:

- Input/output schemas for `flake.nix`

- A lock file format

- CLI features to work with the two above

It's entirely feasible to build out a Flake user interface & evaluation support on top of Tvix without making it a first-class evaluator feature. See https://github.com/edolstra/flake-compat for prior art.

The key point of Tvix _not_ having support for Flakes is to not make special snowflake evaluator features that are tied in with it.

comment 3y ago · link · parent

This is only true if use a Docker based workflow using `FROM nixos/nix`. This image exists mainly as a way for people to try out Nix with, not to build production images on top of. We ship many things which bloat the image size but makes it nicer for interactive usage.

Using dockerTools from nixpkgs is much better and gives you much smaller images closer to Alpine size.

comment 3y ago · link · parent

Fastly sponsors NixOS.

comment 4y ago · link · parent

Lenovo's paid warranty has been fantastic for me in the multiple countries where I've used it (Sweden, Hong Kong and Mexico). In all three they sent out a local service technician that fixed the problem on-site.

Once it was a a worn out SSD that was replaced with one twice as big as that was the only thing they had in stock (Sweden), another time it was a broken connector on the motherboard (Hong Kong) and the third time it was a broken display (Mexico, Cozumel). I was most impressed by the service in Mexico as it's pretty far from any major cities and the technician came out after only a day.

If good warranty service is important to you I cannot recommend enough to get a Lenovo (T, P or X series) laptop and shell out for the extra warranty.

comment 4y ago · link · parent

https://github.com/leoluk/paperlike-go/ also exists for the Dasung and is FOSS.

comment 4y ago · link · parent

The way I position my hands over the trackpoint my thumb is already hovering over the touchpad.

Having to hold down a button to scroll is terrible ergonomics.

comment 4y ago · link · parent

I exclusively use the trackpoint for mouse input and configuring the edge scroll to occupy the entire touchpad meaning that I can use my thumb to scroll without moving my hand away from the trackpoint.

In libinput the edge scrolling is hard coded to 7mm and previous attempts at making it configurable were rejected.

comment 4y ago · link · parent

As someone who absolutely despises libinput (I have an unsupported use-case which will never be supported) I applaud this effort.

Thank you!

comment 5y ago · link · parent

IMO (shameless plug, I'm the author) the best way to manage Python environments with Nix is poetry2nix: https://github.com/nix-community/poetry2nix.

10.

Developing Python with Poetry and Poetry2nix: Reproducible Flexible Python Envs(tweag.io ↗)

2 points · by adisbladis · 6y ago · discuss

11.

WorksOnArm - How NixOS Is Enabling Edge and IoT Projects(worksonarm.com ↗)

4 points · by adisbladis · 6y ago · discuss

comment 6y ago · link · parent

You may also want to take a look at https://github.com/nix-community/poetry2nix

Disclaimer: I am the author (and also the author of vgo2nix).

comment 6y ago · link · parent

These specific ideas? To the best of my knowledge, no.

Other related ideas like Nix/NixOS/Guix are solving some of the same problems outlined in the article in a much more systematic way that are not reliant on any one file system.

comment 6y ago · link · parent

I guess you're talking about _defer_? https://gist.github.com/adisbladis/6e6241e1f0cc1b3ed8c183198...

comment 6y ago · link · parent

A bit of a shameless self-plug, but you can use both Poetry _and_ Nix! https://github.com/nix-community/poetry2nix

16.

A pass extension to check passwords against the Have I Been Pwned API(github.com ↗)

1 points · by adisbladis · 7y ago · discuss

17.

Encrypted ZFS mirror with mirrored boot on NixOS(elis.nu ↗)

1 points · by adisbladis · 7y ago · discuss

18.

Frosted: Free Posix OS for tiny embedded devices(github.com ↗)

1 points · by adisbladis · 7y ago · discuss

comment 7y ago · link · parent

It's very similar to what OsmAnd (free software map application for Android is doing).

The standard application from the Google Play store is limited in how many maps you can download and you can purchase the OsmAnd+ app for unlimited maps. Or... Get the same OsmAnd+ from f-droid :)

I quite like this model of charging users that are using the proprietary ecosystems. It sure worked on me, I happily paid for OsmAnd+ =)

comment 7y ago · link · parent

Because it's a Linux classic. I remember playing this game over 10 years ago.

comment 7y ago · link · parent

The Japanese culture is also extremely conformist and rule following. In my (limited) experience the letter of a rule is very important while the intent of the rule is not considered much.

I'd expect the rule to be enforced but I don't _really_ know.

comment 7y ago · link · parent

My girlfriend recently got one and it's a great machine!

Sure, it's no T/X-series but you are not paying for that either. I can't think of a better machine around the price point it's at.

In Hong Kong the 1080p model was on sale for ~400USD (with mechanical 500GB drive and 8GB RAM), well worth the money!

comment 7y ago · link · parent

In Japan tattoos are generally banned from spa areas (which there are a lot of, pretty much all capsule hotels have one).

It was explained to me that this was a roundabout way of banning the Yakuza.

24.

Nixos 19.03 Released(discourse.nixos.org ↗)

1 points · by adisbladis · 7y ago · discuss

comment 8y ago · link · parent

Go already has a concept called 'package' (think Java package).

comment 8y ago · link · parent

Imho all these tools like nvm, rvm etc are deeply flawed and doesn't really do their jobs all that well.

Where I work we use the nix package manager. Making sure your team is using the same version of node is just a few lines of config away:

  with (import <nixpkgs> {});
  
  mkShell {
    buildInputs [ nodejs-8_x ];
  }
Pinning the whole package tree is just a few more lines away and offers you full reproducibility but I omitted it for brevity.

Another upside is that this approach is language agnostic and works for all tools packaged in the nix package repository.

comment 8y ago · link · parent

No sadly Opensnitch is dead. Evilsocket for whatever reason went back to OSX and I (who was the other large contributor) did not feel the motivation to work on the project anymore.

28.

Librem 5 Phone Progress Report(puri.sm ↗)

186 points · by adisbladis · 8y ago · 66 comments

29.

NixOS Linux Lets You Configure Your OS Before Installing(linux.com ↗)

9 points · by adisbladis · 8y ago · 1 comment

12