BrianTheeBiscuiteer

joined 1 year ago
[–] BrianTheeBiscuiteer@lemmy.world 13 points 20 hours ago

This is the kind of AI they're "celebrating": https://en.m.wikipedia.org/wiki/AI-assisted_targeting_in_the_Gaza_Strip

Fucking deplorable.

[–] BrianTheeBiscuiteer@lemmy.world 1 points 2 days ago (1 children)

How does "foo" mean "get"? Half the battle of writing correct code is writing code that's easy to interpret. Do you always look at the guts of every function you're about to use?

[–] BrianTheeBiscuiteer@lemmy.world 1 points 2 days ago (1 children)

Don't know but copyright holders have demonstrated a few cases where they got AI to blatantly rip off copyrighted pictures or music.

Another ridiculous policy I've seen (many years ago) is logging in too fast. I used to get locked out of my banks website all the time and I used autotype with KeePass so I was baffled when it wouldn't get accepted. Eventually I had a thought to slow down the typing mechanism and suddenly I didn't get locked out anymore.

[–] BrianTheeBiscuiteer@lemmy.world 6 points 2 days ago (1 children)

I'm highly considering this as a daily driver. Docs need a bit more organization and not sure how big the community is but it checks a lot of boxes for me.

[–] BrianTheeBiscuiteer@lemmy.world 5 points 2 days ago (1 children)

It's a good read (or listen if you're into audiobooks) but it's also easy to find the main points summarized.

[–] BrianTheeBiscuiteer@lemmy.world 3 points 2 days ago (1 children)

branching ≠ if ≠ conditional

They're all related but can't just be used interchangeably. "if" is a reserved keyword to indicate a specific syntax is expected. It's not the semantics the author was trying to change, it's the syntax, and the overall point is that you aren't always required to use the specific "if" syntax to write code just like you're not required to use "while" to achieve looping.

[–] BrianTheeBiscuiteer@lemmy.world 1 points 3 days ago* (last edited 3 days ago) (2 children)

What's the purpose of foo? Why an ambiguous single character variable? What if the property was there but the value was null? Why not use (assuming JS) optional chaining?

I'd approach it more like this:

function getWhatevrProp(userData) (
  const default = { whatevr: "n/a" };

  return { ...default, ...userData }.whatevr;
}

Sorry, read too fast the first time. It's more likely Python. I also don't know Python well enough to give recommendations on that.

[–] BrianTheeBiscuiteer@lemmy.world -2 points 3 days ago (10 children)

Always love seeing the trope:

*writes awful code*

See! This is why this language sucks!

[–] BrianTheeBiscuiteer@lemmy.world 20 points 3 days ago (3 children)

Usually it doesn't solve my problems but it gives me a few places to start looking. I know some models are capable of this but to get a perfectly accurate and useful response would probably require it to recall a specific piece of input it was given and not just an "average" of the inputs.

If you're into short stories the Illustrated Man by Ray Bradbury is a good one.

And while I didn't read much Issac Asimov myself my wife, who loves reading but dislikes sci-fi, read one of his books (Foundation) in a day and said he's an excellent writer.

To each their own. Some won't like the repeating code and some won't like the distributed logic (i.e. you have to read every if and if-else statement to know when the else takes effect). I think the use of booleans like isDriverClose makes the repeated logic less messy and reduces inefficiency (if the compiler didn't optimize for you).

 

I'm incredibly close to pulling the trigger to make WattOS my new distro for my netbook. I've been using antiX for a while and it's really great overall but the lack of systemd has worn me down I feel. A few programs I want to use just don't work properly without systemd and I don't have the patience to fill in the gaps myself.

My only real concern with WattOS is the fact it seems so mysterious. There's very little info on their site and NO LICENSE OR SOURCE CODE OR REPOSITORY! I highly doubt Russia or China are trying to weasel their way into old AF computers to create a botnet but I've never seen a Linux project be so secretive.

Anyone else have some light to shed on this project?

33
submitted 2 months ago* (last edited 2 months ago) by BrianTheeBiscuiteer@lemmy.world to c/linux@lemmy.ml
 

Couldn't find the project in my browser history or Lemmy saves. I'm pretty sure it was Lemmy though that led me to find a GitHub project similar to OSTree. It sounded like it was maintained by one person and it hasn't been updated in a long time because the author thought it was "done" and they used it frequently.

It was a tool that let them basically create images that could be booted from and it was easy to layer software on top of a base image and I think there were config files similar to Containerfiles but didn't look the same. Don't think it be was "goldboot" either but that might be a little closer to what the project does. I don't think it was something Fedora specific either like bootc.

Update: Found it! It was in the history of a laptop I rarely use (of course). The project is https://github.com/godarch/darch and it does appear to be those things I said: layered, docker-like, bare metal, and OS agnostic.

 

I just pulled down the latest Firefox Dev Edition AppImage and still getting the same result. I try to login to GitLab and I get an endless loop of checking whether I'm human or not. I tried to turn off tracking protection for GitLab and Cloudflare and added both to accept all cookies. In the network tab it eventually shows 403s. Anyone else have this happen or know if I can disable any more safety/privacy features to get it working?

6
submitted 3 months ago* (last edited 3 months ago) by BrianTheeBiscuiteer@lemmy.world to c/nintendo@lemmy.world
 

Been waiting for it to go on sale and figured my son might like it since he plays Minecraft a lot. Wondering if I gotta watch out for in-game purchases though (can I require password for purchases?) and online interactions (def don't want him chatting with others). It is seems pretty hack and slash but if a lot of reading is involved maybe he's too young for it (6 ½).

Edit: Sorry, meant to say Dungeons, not Legends.

36
submitted 4 months ago* (last edited 4 months ago) by BrianTheeBiscuiteer@lemmy.world to c/linux@lemmy.ml
 

I've looked at a lot of other immutable distros and I might just end up using one of those, but I feel like taking on a bit of a challenge and there's a few things I'm not very keen on with existing solutions (last paragraph is my idea if you want to skip the context).

Most immutable systems I've seen require a reboot in order to apply system changes. What is this, Windows? Yeah, reboots are quick but restoring my windows and getting back into my groove is not quick. Also, every immutable OS I've seen wants you to opt-in to a rollback. Rarely do I see the full effects of installing a package or altering a config immediately. By the time I notice an issue maybe it's too late to rollback to before the change or maybe I've done a few other things since and I don't want to rollback everything. I would much prefer to make "rolling forward" or persisting changes to be a very conscious process.

I started messing with BTRFS and I think I've come up with a process that will get me what I want, no matter the distro. Please poke holes in my idea. So I think I can use BTRFS to hold data for the rootfs in three different subvolumes (at minimum): root-A, root-B, root-Z. root-Z is my golden image and it represents what I want root to look like after reboot. root-A and root-B are the active and passive instances of rootfs, but which one is active will flip-flop after every reboot. So if I boot with A, B gets replaced with the contents of Z. In the meantime I can do whatever I want with A. Not sure how I'll update Z (chroot or "promote" the active subvol to be Z) but without an update every reboot is an automatic rollback.

Thoughts?

 

Couple of things for me.

One is tiny croutons. I don't see them anywhere anymore. They taste the same but it's kind of a pain sometimes to keep the big ones on your fork. The small ones were a little more satisfying to snack on too.

Second is Blue Nehi. Never met anyone else that's tried or heard of it. Damn it was good though. Big Blue is kinda similar but those always taste under carbonated.

 

Do I have to do some special search query? My favorites tab shows posts only.

view more: next ›