hallettj

joined 2 years ago
[–] hallettj 1 points 1 year ago

This is an interesting idea! When I was learning Nix, and feeling frustrated, I often thought that a type-checked language would help with discoverability. But it seems like it might be difficult to combine strong type-checking with Nix expressions' use of lazy self-reference. So with Garn you get the type-checking, but lose the laziness. I'm interested to see how that goes.

[–] hallettj 2 points 1 year ago

It did have the drumming for me

[–] hallettj 7 points 1 year ago

Power tells you how large of a gap in grid capacity-vs-demand storage can cover while renewables are below peak production. That's the important number, as long as the energy stored is sufficient to last until renewable output goes back up.

Giving an energy storage number by itself could be misleading because it seems the batteries that have been built take longer than an hour to discharge. So for example 26 GWh storage does not equal 26 GW grid capacity.

But this article, like many others does seem to be loose with the power-vs-energy metrics:

If 6,600 MW doesn’t sound like that much, consider it is enough to supply electricity to about 6.6 million homes in California for 4 hours

Maybe the implication is that the total energy storage is 26,400 MWh?

[–] hallettj 1 points 1 year ago

Just a guess: I think Inform fits your description

[–] hallettj 2 points 1 year ago

I recommend Borg with a CLI frontend like Borgmatic. It's efficient for running frequent backups, storing only changes since the last backup. It gives you snapshots of each backup. You can mount any snapshot using a virtual filesystem without having to copy everything over.

[–] hallettj 4 points 1 year ago (1 children)

I love it! I'm sure this would be welcome in !imaginarywitches@lemmy.db

[–] hallettj 15 points 1 year ago

This points to an interesting feature that appears in English: phrasal verbs. This is where a verb is made up of a verb word used in combination with one or more prepositions or "particles". For example in the phrase "put cheese on the pizza" the verb word "put" combines with the preposition "on". (There is no particle in this example.) Even though the words "put" and "on" are not consecutive, and even though "on" has its own function as a preposition, "put on" together form a verb that is lexically distinct (has different meaning and rules) from "put" used with a different preposition or particle.

IIUC you even get a different meaning if you use the same words with a different function. With "on" as a preposition you get, "put cheese on the pizza". But with the particle form of "on" you get a different verb with a different meaning: "put on a coat".

The use you posted, "put cheese", looks like a transitive form of "put" which would be distinct from both of the phrasal verbs I described. My guess is that this is dialect-specific: maybe some English speakers perceive transitive "put" as valid, while others only use "put" as part of a phrasal verb.

Language is messy, and there is no authoritative set of rules for English so you'll find lots of cases where people disagree about correct grammar. One of the classics is whether "where" substitutes for a prepositional or a noun phrase. Lots of people feel it is correct to say, "Where is that at?" while others think that sounds wrong, like saying, "It's at by the corner." (I think this might be the basis for the made-up rule, "don't end sentences with a preposition".)

[–] hallettj 15 points 1 year ago (5 children)

Maybe a better case study would be figs since people actually eat those. From what I'm seeing in search results there is some difference of opinion, but maybe the prevailing opinion is that figs are fine for vegans because they are not intentionally exploitative or cruel to animals.

[–] hallettj 7 points 1 year ago

Fungi are more closely related to animals than plants.

I bring this up too. What my kid asks, "what is vegan?", and my wife says, "someone who eats plants", then I shout from across the room, "and fungi!" Tbh no one is amused but me.

There's nothing hypocritical about eating fungi! I just want recognition for the fungal contribution.

[–] hallettj 2 points 1 year ago

Aw, thanks for the reassurance! I'm sure you're right - he's a good kid; he'll turn out just fine.

[–] hallettj 10 points 1 year ago* (last edited 1 year ago) (1 children)

There are specs for that!

For system-wide installation the Filesystem Hierarchy Standard essentially says:

  • put it in /usr/local/bin/ if you want to drop a script somewhere
  • or put it in /usr/bin/

Both should be in the default $PATH for most systems.

For single-user installs the XDG Base Directory Specification says,

User-specific executable files may be stored in $HOME/.local/bin. Distributions should ensure this directory shows up in the UNIX $PATH environment variable, at an appropriate place.

Those locations will work in 99% of cases.

Nothing will work for every case because Linux systems are many and varied. For example I'm on NixOS which doesn't adhere to that particular provision of XDG, and doesn't adhere to any of FHS.

[–] hallettj 3 points 1 year ago (2 children)

I'm doing well here. There is pressure to make Halloween live up to the huge hype that the kids put into it. I think as long as there is candy they will be satisfied.

One of my biggest concerns rn is my eldest's fascination with all things military and police - which in my mind equates to being drawn toward a violent hierarchy. We've had talks about how some bad cops do terrible things, and the good cops don't do enough to hold the bad ones accountable, and on the horrors of war. It doesn't seem to sway him. I'm hoping he grows out of it. (He's 11.) Anyway his Halloween costume consists of carrying a Nerf rifle, wearing full camo (which is his daily wear anyway), along with any military-type accessories he can find.

view more: ‹ prev next ›