mo_ztt

joined 3 years ago
 

Me

Sounds good. Can you make a function to clone an existing FileNode, initializing Addr to nil and Children to be a clone of the Children of the source node?

// FileNode represents a node in the file system structure, which can be a file or a directory.
type FileNode struct {
	Type     NodeType
	Addr     *grits.FileAddr // Address of the CachedFile in BlobStore
	Children map[string]*FileNode
}

GPT

In DigitalOcean and similar cloud service providers, resources like droplets (virtual machines) continue to incur charges even when they are powered off because the underlying physical resources (CPU, RAM, disk space) allocated to the droplet are reserved and cannot be allocated to another customer. This policy ensures that you can quickly power on the droplet again without data loss or having to go through the setup process again. However, to avoid charges for resources you're not actively using, it's recommended to delete any droplets or resources that are no longer needed. Remember, data backups and snapshots should be kept if you need to preserve data from the droplet before deletion.

Edit: It's still going. I assumed it was just a one-off, and asked about JSON serialization in Go, and it showed me this:

Then it tried to run some python code, then admitted that the python code hadn't worked, and then it answered my Go question.

[–] mo_ztt@lemmy.world 1 points 2 years ago* (last edited 2 years ago) (1 children)

Not only that, but:

Initially, three U.S. servicemen who had tried to halt the massacre and rescue hiding civilians were shunned, and even denounced as traitors by several U.S. congressmen, including Mendel Rivers (D–SC), Chairman of the House Armed Services Committee.

What's in Wikipedia doesn't match my memory; what I thought had happened was that Thompson did more than "try to halt." He landed his helicopter between US troops and a group of obviously harmless villagers and told his men to shoot the Americans if they tried to continue murdering the villagers.

He and the other soldiers who stopped the massacre and reported what had happened were viewed by most Americans as traitors at the time, and for quite a while after.

[–] mo_ztt@lemmy.world 1 points 2 years ago* (last edited 2 years ago)

This dude on Youtube did an in-depth examination of the weird corporate reasons why the ice cream machines can't be maintained properly. Sorry for the Youtube link, but I honestly couldn't find a text story that went into the same type of analysis about it.

Edit: Timestamped the link to skip some folderol at the beginning

 

Hi all!

I make tabletop game tokens, and I'm planning to design a set for miscellaneous objects in the game world. I've already got a draft list (chests, trees, campfires, healing potions, etc.) But I'm curious to hear from others, what item tokens do you use or wish you had in your collection? Are there any specific ones you'd like to have?

Thanks, appreciate any and all feedback.

 

As I understand it, the main fediverse softwares all implement ActivityPub in a little bit different way, and so don't fully overlap with one another in terms of how well you can see content from one on another and in what ways you can interact with it. Is there a summary anywhere that just has a quick breakdown of what operations (subscribing to follow a Mastadon user from Lemmy, replying to a Lemmy post from Mastadon, etc) actually work or partially work?

[–] mo_ztt@lemmy.world 1 points 3 years ago

The town was infested with some sort of radioactivity from underground that was hurting people. I had to crawl underground, through these super-tight tunnels deep under the earth with things getting more and more evil as I went, until I was able to track the source of the radioactivity to a giant monster that lived back up on the surface (via the tunnels) in an abandoned barn. I had to fight the monster, but I could fly inside the barn. I ripped its head off, but every time I did, it was just like a big rubbery mask and a new head grew back, until I figured out how to do it fast enough that it wouldn't have time to pop a new head out. When I did that, the real head came out: Tux the Linux Penguin.

That broke the immersion enough that I woke up, all amped up from adrenaline from fighting the monster.