HNHacker News
TopNewBestAskShowJobs

ymse

1 karma · joined December 26, 2022

submissionscomments
ymse··on What Is Nix?
Nix packages can not modify the system globally, by design. Not even on NixOS. This is why Nix allows unprivileged users to install anything.

When you install a package with Nix, all you are doing is drop a symlink in your ~/.nix-profile pointing to some /nix/store/<unique-identifier> item.

When you build a package with Nix (also does not require root privileges), it happens inside a container that can only write to /nix/store/<unique-identifier>.

The <unique-identifier> is a cryptographic hash based on all the inputs (dependencies) to the package (also /nix/store/<hash> items) as well as the build script.

ymse··on Proxmox VE 6.2
Hi, thanks for the link, very interesting.

Indeed the similarity with Ganeti is only on the surface: being a scalable infrastructure management tool, DRBD as a first-class supported disk backend, etc.

The cluster replication and consensus model is very different: Ganeti has a single "master" node that makes all the decisions and replicates cluster state to other nodes.

ymse··on Proxmox VE 6.2
Only if you don't care about stability or maintenance costs.
ymse··on Proxmox VE 6.2
LXC is supported too.

Thanks for checking the dates, I thought Proxmox was newer.

ymse··on Proxmox VE 6.2
> I don't think there is another notable, proven, open source clustered manager of both actual VMs and containers.

Googles Ganeti is strikingly similar to Proxmox, to the point where I suspect Proxmox started as a reimplementation:

http://www.ganeti.org/ (developed at https://github.com/ganeti/ganeti)

It does not come with a GUI, though there are a few third party ones. It has API endpoints for everything, a fully featured CLI client, and is extremely stable.

Googles marketing department does not want you to know this, but Ganeti runs most of its internal infrastructure (not public facing stuff).

No affiliation, just a happy user.

ymse··on OpenSSL high-severity bug – affects 1.1.1d, 1.1.1e, 1.1.1f
OpenSSL actually did a breaking API change as recent as 1.1.1e (reverted in 1.1.1f to be fair):

https://bugs.python.org/issue40018

And broke the ABI in 1.0.2g:

https://bugzilla.redhat.com/show_bug.cgi?id=1313509

I don't mean to bash on OpenSSL here and agree they generally do an exceptional job at keeping the public interface stable. Just offering some context. These things are difficult.

ymse··on My experience with NixOS
It's one of the things you just can't do without once you become accustomed to it. I can not imagine going back to needing root privileges just to install or try a package, or being unable to roll back to earlier revisions.

I hear Nix even works on macOS too! :-)

ymse··on My experience with NixOS
The vanilla Linux kernel contains many proprietary firmware blobs, which is why GNU and Guix uses the "Linux-Libre" fork.

There is a maintained nonfree Guix channel here if you don't care about such blobs or need other proprietary software: https://gitlab.com/nonguix/nonguix

ymse··on The Invention of the AeroPress (2014)
I think you mean inverted method? I would not recommend it though. The risk of spills is too high (it will fall over at some point), and there are simpler ways to brew with more consistent (and IMO better) results.

Here is a technique I have developed after many years of almost daily brewing. I call it the "30-30-30" (anyone get the reference?), but each step has a lot of room for variance, no timer necessary.

* Mount the AeroPress on a 3dl mug and add ~17g of medium-coarse freshly ground coffee.

* Add 20-30g of hot water to let it "bloom", which releases CO2 and other gases trapped in the beans from the roasting process. Leave it for 15-30 seconds until most bubbles have popped (if any). Very fresh beans should bloom longer.

* Pour water up to just above the 4 mark. I like to spin the AeroPress while pouring to stir it, but you can also pour in circles like a pour-over. Try to make it foamy by having the water break just before it hits.

* Let it drip for ~30s (or until the water level is just above the 3 mark).

* Slowly plunge for another 20-30s.

That's it! The water temperature should be between 85 and 95 °C; any hotter will burn the grounds and lower temperatures won't be able to extract as much flavour.

ymse··on Survival Ball: Making the Game, in 1716 Hours
I recommend skipping the article and jump straight to the movie if you have the time: https://archive.org/details/The.Yes.Men.Fix.The.World.P2P.Ed...

It was released under a Creative Commons license on recommendation from the EFF, so that the U.S. House of Chambers could not stop it (yes, they tried!).

The movie is a documentary of sorts, featuring two people who go to conferences posing as high-profile businesses, promoting oft-ridiculous products to make a point...the only problem is, people keep taking them seriously (even Halliburtons SurvivaBall).

At one point they end up live on BBC news and inadvertently wipes $1B+ off a companys public stock value.

It is hilarious, and well worth the watch.

ymse··on Debian Buster will only be 54% reproducible, while we could be at 90%
Sorry, I think my use of "artifact" here caused some confusion.

Each of these "artifacts" are actual isolated builds of complicated programs such as Chromium or GCC. The technical term is "derivation", which produce "outputs".

All of those packages can be reproduced from source now or 100 years into the future and SHOULD produce the exact same binary output. If they don't, it's a bug.

ymse··on Debian Buster will only be 54% reproducible, while we could be at 90%
It means that the items could not be found on the remote server(s).
ymse··on Debian Buster will only be 54% reproducible, while we could be at 90%
I think GNU Guix offers what you are after.

I maintain my own build farm and tried comparing my results against the official CI server:

  $ guix challenge --substitute-urls="https://ci.guix.info"
  14,224 store items were analyzed:
    - 4,972 (35.0%) were identical
    - 265 (1.9%) differed
    - 8,987 (63.2%) were inconclusive
Of the 5237 build artifacts that were available on the substitute server, only 265 (5%) differed.

All of these items can be (and have been) built entirely from source, starting with Guix' initial "binary seeds", on (probably) different hardware and kernel compared to the CI system.

ymse··on Guix: An advanced operating system
I can't speak for Nix, but getting Guix up and running on your favourite distribution can be achieved with this two-liner:

  wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
  sudo bash guix-install.sh
ymse··on Guix: An advanced operating system
> Then there's the whole promise of it being usable from multiple platforms ("you don't even have to use NixOS, just use the package manager for awesome builds") -- It was supposedly amazing for building some software packages, but the reality was always so sticky and never quite panned out.

The vast majority of Guix users are on other (so-called "foreign") distributions (i.e. not GuixSD) -- I think the opposite is true for Nix/NixOS.

I'm not sure what's "sticky" about it, can you elaborate?

ymse··on Choice of search engine on Android nuked by “Anonymous Coward” (2009)
Interesting. I only had one Android repo on this computer, but found one commit from "Anonymous Coward" (2012):

https://android.googlesource.com/platform/system/core/+/4474...

Can we find others? :-)

ymse··on Inside China’s Dystopian Dreams: A.I., Shame and Lots of Cameras
A friend of mine speculated that total surveillance (and thus control) of society will eventually make the world consistent in logical terms.

Which necessarily makes it incomplete following Gödel's incompleteness theorems. Here completeness refers to diversity: to maximize completeness is to encourage genetic (and memetic) variation. If society is consistent, such a proposition becomes absurd.

It's an interesting thought experiment, and I don't think the consistent state is reversible. Luckily it requires that all of the world (intelligentsia) agree on the same set of rules, so there's still time.

Taking this argument to the extreme: perhaps the reason we haven't met civilisations from other worlds is simply that they all made the same logical error once the tech was available.

ymse··on Ask HN: Who are some unsung heroes in open source that need more support?
As someone who has packaged a lot of software for Debian, CentOS, Gentoo, NixOS, and GNU Guix, I have to agree -- it's by far the most difficult platform.

I actually believe much of the Docker hype can be attributed to this. Why bother learning packaging when you can just script something and throw it in a container.

Now I just use Guix on any distro for my up-to-date/custom software needs.

ymse··on How a Hacker Proved Cops Used a Stingray to Find Him
Ha, funny you should mention that. I am in fact looking for a job. Luckily the one interview I've had since losing the phone was on-site.

If I need to participate in on-call rotation or similar, I expect the employer to issue a phone. For a remote job, I will obviously get one myself -- but then strictly for job-related activities.

(by the way, if anyone is looking for an experienced infrastructure engineer/"DevOps" guy, give me a cal...errh email)

ymse··on How a Hacker Proved Cops Used a Stingray to Find Him
I lost my phone somewhat recently. It's been great: I read more books, and get a lot less distractions throughout the day. The privacy implication is a huge bonus.

The main drawback have been that people rarely label apartment doorbells anymore, so if you don't know which button to press you're in trouble. Another is getting hold of old friends if you don't know their email address (I don't have Facebook either).

Overall, I'm fairly content with the situation, and am seriously considering not getting a new one. Another benefit is that I'm more likely to bring my laptop if I go somewhere, and thus when I do connect to the internet and have time to kill, I often get work done instead of mindlessly browsing HN/reddit or playing games.

ymse··on The Surface Book 2 is everything the MacBook Pro should be
I'm sorry if the post came across as assuming. I just wanted to spread awareness, not necessarily aimed at you.

There are good and trustworthy projects out there IMO. I use GuixSD and OpenBSD for all my computing needs and have 0 reason not to trust them. Curious to hear any arguments against either.

To paraphrase the venerable Mutt email client: All operating systems suck. These ones just sucks less...

ymse··on Google ups its Linux Foundation membership to the $500,000/year Platinum level
> I've worked a few gigs, and shipped some products, where we didn't use any GNU software at all.

That's very impressive (assuming you were developing for Linux). I guess no one used Emacs, or GDB, and you were cross-compiling (using Clang and LLD) from Windows or macOS?

ymse··on The Surface Book 2 is everything the MacBook Pro should be
> Why is Apple's OSX, which exhibits a lot of the same behavior with spotlight, exempt from this concern?

They aren't. Neither is Ubuntu[0]. Luckily there are plenty of other operating systems that take your privacy seriously.

Join the bright side.

[0] https://www.gnu.org/philosophy/ubuntu-spyware.en.html

ymse··on Google ups its Linux Foundation membership to the $500,000/year Platinum level
It's funny and sad how Linux Foundation gets all the attention from these corporations, when GNU/FSF have been just as (or more) enabling for their success (ignoring Android for a moment).

Imagine what GNU could do if they had just a fraction of the donations LF receives. Perhaps we could finally get good, affordable hardware that respects our freedoms.

Misunderstand me right, Linux Foundation does great work and deserve the success, but they likely would not exist if it wasn't for the FSF.

ymse··on Slack outage: Connectivity issues affecting all workspaces
Matrix (https://matrix.org) is a good alternative to both Slack and Discord. The most complete client implementation is Riot (https://riot.im/).

The protocol itself is federated, so you can communicate with other Matrix users from your self-hosted instance. There are also bridges to IRC, XMPP, even Slack..

ymse··on Why Open Source Misses the Point of Free Software (2016)
> But not doing so is not the inherent submission to evil that using proprietary software is, in their view.

No one says using proprietary software is evil. What you do with your computer is none of my business.

Distributing software without giving the recipient a right to inspect, modify and share it is what is evil.

ymse··on Ask HN: What has your experience with lesser-known TLDs been?
> And unlike many new TLDs, like .io, ...

FWIW all two-letter domains are country codes (ccTLD). .io has been around since 1997 :-)

ymse··on Ask HN: How much are broken wings of a netadmin that cannot write code?
Python is the #1 language for Net/Dev Ops. Knowing a little will go a long way once you start managing everything with Salt or Ansible (both written and extended in Python).

Here's a good introduction: https://www.learnpythonthehardway.org/

ymse··on NixOS 18.03 Released
Guix has an overlay facility called $GUIX_PACKAGE_PATH[0]. Packages found there will take precedence over distribution packages.

As an end user you don't really need to know Scheme. The OS configuration and package definitions are very "DSL-like", but you do have the full power of Scheme available.

[0] https://www.gnu.org/software/guix/manual/guix.html#Package-M...

ymse··on #deletefacebook
There's an interesting case going on in Norway right now. The head of the Justice Ministry is being impeached because she made a post on Facebook saying that the police should be able to withdraw the passports of suspected terrorists without a court case.

When the labour party objected publicly, she accused them of being "in favour of terrorism" (again on Facebook I believe), which was very unfortunate seeing that their youth division were the target of the 2011 terror attack on Utøya.

So right now other parties in government are questioning her ability to serve as Minister of Justice and Public Security and she will likely have to leave her post this week.

I could not find any sources in English, but it's the headline of any .no news sites at the moment: https://www.nrk.no/norge/krf-har-holdt-skjebnemote-om-mistil...

Page 1 of 7Next →