Readit News logoReadit News
moojd commented on The Nix NGI Team: Advancing Open Source with Nix   discourse.nixos.org/t/nix... · Posted by u/idabzo
gipp · a year ago
Nix the language has issues for sure (error messages for starters), but "complexity" isn't really one of them IMO. It's quite a small and simple language.

The complexity comes in with the ecosystem and nix-the-build-system, each of which has a dozen different ways to do any given thing, all of which are in active use simultaneously. Some are pretty baffling, like nixpkgs' dual role as both the main package repository and the (almost entirely undocumented) de facto standard library

moojd · a year ago
Exactly this. One of the first things I tell people struggling with nix is that nix is simple and almost all of the complexity lives in nixpkgs. Knowing where to look for help (is this a nix, flakes, NixOS, or nixpkgs thing?) is one of the hardest problems for beginners.

Nixpkgs specifically needs to be entirely rethought. It has become too large and complex to manage both technically and politically with the number of contributors. Separating out the lib, stdenv/tooling, and package definitions would be a good start.

moojd commented on Edmunds EV Charging Test: How fast does each EV charge?   edmunds.com/car-news/elec... · Posted by u/belter
b112 · 2 years ago
Not sure where you get these numbers, bjt a 600km range is 480km when charging to 80%, and you don't wait until 0 range to try to find a working fast charger.

That means 600km becomes 400km or less at 80% charges, and when you drove 140km/hr or more, the acceptable speed in many US states, that means less than 3hrs, and 600km isn't rated at 140km/hr speeds!

In other words, EVs don't work for long range driving.

Some may drive slow, or not count the 10 minutes to get on/off road and find a charger, and the 20 minutes to hook up and charge, and the potential to not find a free charger.. but I did.

And when I used these sensible, real world values, a trip from Quebec to California, which I take from time to time, changed from 3 days, to 8.

Lots of people drive like this. Lots. Especially Canucks wanting to escape snow, darkness, and wolves.

I've seen all the replies before, and all of them take some random thing, which I base on reality, averages, and fact, and try to pretend that ot doesn't matter.

But it does.

As others have said, if you are city driving only? Great! And many families have two cars, and that's another great place for an EV. One EV, on gas.

And we will get there range wise. We're just not even close yet, for long drives.

moojd · 2 years ago
My personal experience (model y lr) is 4 hour trips are the sweet spot and anything over 6 hours becomes a drag. I can reliably go over 200 miles @ 80mph without charging but after the first charge you have to stop every 100 miles or less. When we do long cross country trips (8+ hours per day) we take the gas car.
moojd commented on 280M e-bikes and mopeds are cutting demand for oil far more than electric cars   theconversation.com/the-w... · Posted by u/rglullis
rootusrootus · 2 years ago
For all the chatter on HN, Europeans in general drive quite a lot. It's fascinating to hear people rail against cars here, and then step back out into meatspace. I just chuckle at the contrast between the dreamers on Reddit/HN and folks in the real world.
moojd · 2 years ago
I just got back from a road trip in France and the UK and it's funny how much of the reddit-tier discourse is correct yet simultaneously so wrong. There are plenty of rural towns where everyone owns cars. There are highways, strip malls, large shopping centers with massive parking lots, and populated areas with bus service at best. The difference is the scale and the US lands embarrassingly far on one side of it. Even in the smallest rural towns in France we visited, we could hop on regional rail to the nearest large metro area.

Deleted Comment

moojd commented on 280M e-bikes and mopeds are cutting demand for oil far more than electric cars   theconversation.com/the-w... · Posted by u/rglullis
JAlexoid · 2 years ago
No one is asking you to live there or not have a vehicle.

What makes it a problem is the financially unsustainable suburban sprawl(single family zoning laws or covenants with the same effect) and people's expectations of car owners being catered to primarily.

I mean... why else would high density cities like Atlanta and DFW have massive X+Y lane interstates cut through the city? In so many places in the US it's straight up impossible to walk 1000ft.

moojd · 2 years ago
> No one is asking you to live there or not have a vehicle.

Several of the most upvoted comments in this very thread are advocating banning vehicles.

moojd commented on Fossil versus Git   fossil-scm.org/home/doc/t... · Posted by u/susam
Supermancho · 2 years ago
A large number of Fossil positives are related to not having rebase. It feels like this is a huge concern for functionality that many people, do not use that often. The last time I used rebase at a job was maybe 5 years ago?

Other than that my bigger gripe is when I read something like this:

> Git strives to record what the development of a project should have looked like had there been no mistakes

Git does not strive to do this. It allows it, to some degree. This is not the same thing at all and is basically FUD. I would say the debate is ongoing as to the value of history rewriting. It's probably a tradeoff that some orgs are willing to leverage and Fossil is masking that they allow less flexibility in workflows as an obvious advantage, feels slimy.

moojd · 2 years ago
I like that git allows rebase, as long as it is only done in prs or local. Rebase in the sheets, merge in the streets.
moojd commented on Show HN: Flake schemas – teaching Nix about your flake outputs   determinate.systems/posts... · Posted by u/biggestlou
grhmc · 3 years ago
Hey folks, this is Graham -- CEO of DetSys. Happy to help answer any questions!
moojd · 3 years ago
Thanks Graham! Glad to see some attempts at improving the dx of sharing expressions with flakes instead of just derivations. I've seen libraries and tools handle this in a ton of different ways. Do you think there will ever be a standardization of the 'lib' output?
moojd commented on Microsoft is unbundling Teams from Office in Europe to address regulator concern   theverge.com/2023/8/31/23... · Posted by u/rntn
draugadrotten · 3 years ago
> No business is going to use Discord in a corporate environment.

The current crop of students are all using Discord to collaborate during lab work. Wait 2-3 years until they are team leaders at work and there will be Discords everywhere. I can promise you every Fortune 500 already is using Discord in production, just as they are using generative AI.

moojd · 3 years ago
Enterprise discord is one of those obviously inevitable things that I can't believe doesn't exist yet
moojd commented on Run a macOS VM on Apple Silicon from a double-click with Vimy   eclecticlight.co/2023/08/... · Posted by u/akyuu
cj · 3 years ago
> Perhaps I'm a poor sysadmin. _everything_ locally installed makes things real weird after a while (years).

Same experience here (years). Because it’s something that creeps up over time, the problems aren’t obvious overnight.

moojd · 3 years ago
My path was vm -> containers -> nix. With nix flakes and the direnv extension in vscode you can get a clean per-project dev environment with zero docker overhead and without dev tools cluttering up your global environment and causing issues.
moojd commented on Node.js 20.6.0 will include built-in support for .env files   twitter.com/kom_256/statu... · Posted by u/mariuz
prng2021 · 3 years ago
Can you provide a concrete example? What do you mean by other software not parsing it the same way?
moojd · 3 years ago
Some execute them as a shell script and others parse them as a newline separated list of key value pairs

u/moojd

KarmaCake day461September 18, 2017
About
[ my public key: https://keybase.io/mooj; my proof: https://keybase.io/mooj/sigs/AfQQqgJbHRteeex6ikj_NIJ_3bk5Hss3VFXMWN5FToE ]

hn [at] jmoo [dot] io

View Original