bloodfart

@bloodfart@lemmy.ml

This profile is from a federated server and may be incomplete. Browse more on the original instance.

bloodfart,

There’s two things you might be talking about here:

The old way of making sure nickel cadmium batteries didn’t degrade, which was to discharge them all the way and charge them back up all the way. Your new laptop is almost certainly using lithium ion batteries which are chemically “damaged” more through that process than just leaving them plugged up all the time.

You could be talking about the old way of dealing with charge controllers, where the controller relied on the bios or os to tell it what to do and didn’t “know” how to respond to batteries at different stages of charge. This hasn’t been the situation for like fifteen years. Nowadays charge controllers go “yup, ready to go boss, 12345mah of charge, 90%” when some bios or os polls them.

You don’t even need to manually keep your battery in the 20-80 range nowadays since almost every charge controller automatically monitors temperature and adjusts charging parameters to not damage the battery. It’s not like the old days where the charge controller was just an ic controlling a fet acting as a slucegate between the battery and the power brick.

Heck, lithium ion batteries nowadays last longest the longer they’re plugged in. Running them to <10% every charge cycle actually diminishes battery life!

Tldr welcome to the future, don’t worry about it!

bloodfart,

While you’re right that going all the way up to the 4.2v that the battery is rated for is worse than if it just stayed at 4v, by not discharging to half or more you’re reducing the charge cycles which directly correlates to longer life.

Ultimately in lieu of a charge controller or os that does that for you, the easiest way for a user to extend battery life without going psycho mode is to charge they phone, eat hot chip and lie.

I know all the macs and iphones have that predictive charging thing where if you’re always leaving your phone or computer or phone plugged in overnight they’ll keep it around 80% or so till about an hour before you wake up and charge the rest of the way then.

Windows computers have something called smart charging but I don’t have any experience with it.

Theres a bunch of different ways to control charging in Linux.

It really seems like this is a solved problem and I’m glad to not be worrying about plugging and unplugging my phone to maximize my battery life.

bloodfart,

Cat /proc/cpuinfo will tell you the bogomips.

If your old core processor is slow, open the laptop up, remove and clean the fan, remove the heatsink and clean it and the processor die with isopropyl alcohol and apply new thermal grease before you put it all back together.

If you have bad I/o with an ssd of some sort, do a spinrite level 2 scan of the drive. It reads and then rewrites all the blocks, which fixes the problem.

I used this exact model for years and idk what your expectation is but I found it to be right fast.

Don’t bother benchmarking a laptop unless you’ve cleaned the dust out, regreased the cpu and run a lvl2 scan on the ssd. All you’ll have is a number that tells you “yep, it’s slow.” And someone like me will say exactly what I just did.

I was looking at the firefox flatpak on flathub. Won't this warning make a non tech-savy user anxious? This might make them think they'll get a virus or something like that. (programming.dev)

Imagine your friend that does not know anything about linux, don’t you think this would make them not install the firefox flatpak and potentially think that linux is unsafe?...

bloodfart,

Good.

People need to view out of channel software with a hairy eyeball.

Hell, I run Debian all over and it’s absurd that the main repositories don’t do checksums on downloaded packages!

bloodfart,

I’m double checking this myself now, but there are plenty of tools (debsum) they’re just not part of the default implementation as of last time I looked.

bloodfart,

i’m almost 100% that debsums on apt stuff and the --verify flag in rpm distros do what sfc did. (kinda, debsums and --verify check against a list of checksums from the repo, i’m pretty sure sfc cracks open an actual known version of the files and compares em with whats on disk)

idk what dism does.

bloodfart,

yeah apt just trusts the server if it properly identifies itself

the barrier to entry for attacking that seems pretty high though

if that freaks you out, switch to a rhel derivative, they got a shiny progress bar

bloodfart,

Bash is fine. Zsh on Macs is fine too. I can’t stress how useful it is to learn busybox if you end up with a shell on an embedded device.

All these crazy shells people talk about are kinda like race car controls. I’m not driving a race car, I’m driving a box truck with three on the tree.

bloodfart,

Dialectic. It’s a way of understanding and squaring contradictions.

wikipedia on the subject.

bloodfart,

Oh that’s a good normal thing for it to do.

bloodfart,

Someone else wrote that you’re overwriting straight into your device. Here’s how to figure out how to do it right:

Find out what block devices are available: lsblk

Lsblk will list the block devices on the computer. You can see from it weather or not the computer sees your usb and what filesystems are available on it. You might say “well of course the computer can see the usb, it booted from it!” But when you’re using a live environment the question isn’t did the computer see the usb, but does it currently see the usb.

Once you confirmed that the computer can see the usb, use df -h to find out if and where it’s mounted.

The df command shows disk filesystems and it’ll tell you which ones are mounted and where. If you see your disks file system, make note of where and skip ahead to output handling! The -h makes this command human readable by saying 32G instead of 32000000000B.

If you don’t have the file system you wanna put your output in mounted, make a directory with mkdir <directoryname> and mount the file system in it with mount /dev/<file system device> <directoryname>.

The spaces in the mount command separate the different arguments like <command> <source> <target>. You’ll be able to know your file system device from the lsblk command earlier. The mount command puts a block device somewhere in the running computers file system. Think of it like bolting something to a beam or hanging a picture on a wall.

Verify that you have access to the newly mounted file system by looking at it with ls <directoryname>. What do you see? What should you see? I don’t know.

Like I said, someone already told you that you shouldn’t overwrite directly to a device, but you can do it even better! Use the | character to send output to the tee command and give it a file as an argument like lspci | tee <directoryname>/output.txt

Tee sends output to a file in addition to the terminal as opposed to instead of the terminal window. It’s useful!

Hopefully that gets you going.

I have installed Linux on several of these laptops that need wl and as much as it’s nice to be able to do it without internet access, the easiest way is to plug up a wire and let the package manager figure out that it needs wl every time it upgrades the kernel.

bloodfart,

Good. They should block the roads too.

Is there a simple way to severly impede webscraping and LLM data collection of my website?

I am working on a simple static website that gives visitors basic information about myself and the work I do. I want this as a way use to introduce myself to potential clients, collaborators, etc., rather than rely solely on LinkedIn as my visiting card....

bloodfart,

The Supreme Court was low key right to overturn atfs bump stock ban, so going through congress to get a ban is the right way to do it, but…

It’s a dumb thing to blow political capital on.

bloodfart,

yeah, he lost me years ago but i got no beef with someone for whom this year is a bridge too far.

bloodfart,

If you’re currently running a rpm distro, you can make it easier on yourself by using the duke nukem forever command to make a list of your installed programs: dnf list installed.

Once that’s outputting an appropriate format, dump it into a text file with | oldprogs.txt.

On your new computer, that same duke nukem forever command can be used to install from the list with something like dnf install << oldprogs.txt

I bet you can come up with a way to stuff all that into a neat little one liner that’ll provide error handling, output teeing and everything else!

bloodfart,

Ty, it’s early yet…

bloodfart,

There’s gentoo options for a lot of older architectures. I even got it running on a 32bit power machine.

Back in the day gentoo meant compiling everything from source, but nowadays there’s precompiled binaries.

If you’re doing the evanescence routine on older hardware, check to see if there’s cheap ram and ssds available that work with its interfaces. Usually the trick with pata is to use old cf to sata adapters because cf is pin compatible with the little pata interfaces they’d put on laptops.

Consider cleaning and reapplying thermal paste to the cpu. You won’t even need to take it out of the socket, just don’t dump isopropyl all over the board while cleaning.

If your old computer has a cool old sound card there’s never been a better time to use a tracker that takes advantage of its built in synthesizer!

bloodfart,

Shoo, it’s been a rough week for sddm over here…

bloodfart,

If you still have the card those came off of you can put it back in a galaxy (or any android device?) and export them. Pretty sure the phone uses some kind of error correction scheme to deal with failing sd cards.

bloodfart,

I don’t have a 470 in front of me. Did you push the “external display” function key combo or configure it in your desktop environment?

bloodfart,

I use Debian and rhel. That’s basically the two things you’ll see in the world and the two toolsets that familiarity with is useful.

There’s some little computers running weird shit like 9front or gentoo but if you wanna branch out from Debian stable but not get weird I recommend learning rhel.

Of course, if your backup laptop is really a backup, install stable on it and be done.

bloodfart,

Yeah I haven’t run into suse because I live in a place that gets lots of good ol boy deals from red hat but that would be the other good choice!

E: actually, you’re right I should learn suse! The time is now!

bloodfart,

Do it the official way. SIM cards are cheap.

bloodfart,

usually monitors can be freely rotated. if yours can’t, the back usually has a square vesa mount on the back and you can just take out the four screws and reattach it the way you like.

bloodfart, (edited )

Cd into the directory first, then run rm -rf, then cd back out and rm -r just the directory.

E:fb

The anti-AI sentiment in the free software communities is concerning. (lemmy.world)

Whenever AI is mentioned lots of people in the Linux space immediately react negatively. Creators like TheLinuxExperiment on YouTube always feel the need to add a disclaimer that “some people think AI is problematic” or something along those lines if an AI topic is discussed. I get that AI has many problems but at the same...

bloodfart,

Thinkpads, macs and dells are what I use.

They’re cheap and have lots of spare parts lying around.

Found a security bug in LMDE6, need some help (i.imgur.com)

I have an older Intel laptop that has a 1600x900 display, and I find that if I put the machine to sleep, connect an external monitor with a higher resolution, and then turn it back on, the login screen doesn’t adjust to the new resolution and it reveals what I had open (see photo)....

bloodfart,

This shit right here is why you absolutely must use xscreensaver.

Not some repackaging of the hacks.

Not some implementation with your wms decorations.

Xscreensaver.

bloodfart,

I like my security bugs well publicized with documented workarounds as opposed to undiscovered and undisclosed, thank you.

Apropos of nothing, Xscrensaver is my bellwether for moving to Wayland. When it’s officially ported I’ll switch.

bloodfart,

I mean, it absolutely could if stuff like ext_session_lock weren’t incredibly insecure.

There’s a thread on the maintainer of xscreensavers website that talks extensively about this and it got me trying to get just some stubs hooked into several wayland environments, seeing how the sausage is made and putting Wayland back on the shelf.

bloodfart,

None of the desktop environments like xscreensaver because it breaks their window decorations and input handling. It does this for security purposes because its job is first and foremost to be as secure as possible then once that’s done go ahead and make pretty pictures.

If it sounds crazy that input and window decorations would be insecure, peruse the maintainers webpage and be horrified.

Wayland needs infinite workarounds to get xscreensaver working because the way you’d do it under the Wayland framework is with a weird method called uhh ext_session_lock (I reference it in another comment but I’m not sure that’s the right one now.) which at least as of about a year ago let screen locking programs handle passwords directly!

I think it’s an artifact of open source software being maintained by people who are on the payroll of companies that rely on the software.

bloodfart,

Yes. Make sure neither are mounted.

Use larger block sizes with bs=<like, idk, 16M> will make it go faster.

bloodfart,

CSS are used to establish whose phone (the therefore who) is in a location and whose phone (and therefore whomst) sent and received data at what times.

That information is what police will use as probable cause to get warrants against the services you use if not your person or home.

bloodfart,

dd

Sometimes stuff won’t chain boot from within ventoy.

bloodfart,

Before you start trying to figure out which ram stick or ssd is bad, run “apt clean”. That clears the cache that it’s saying is all fucked up.

bloodfart,

Slackware like 7-12.

Basically until they pulled fortunemod.

bloodfart,

Literally get isos faster from torrents than from the mirrors lol.

Would it be possible to install Linux on this HP Chromebook Plus?

This is the laptop in question. It has an x86 processor so basically any distro should work on it. However, it is still a Chromebook which likely means Google fuckery in the BIOS. But it’s great value for the money (can get it $300 off at Costco) and if I can plop Linux on to it then I’d love it.

bloodfart,

Yes you’ll be fine.

Don’t buy chromebook, but if you’re convinced it’s the right choice you’ll be fine.

Should I reinstall linux mint (error during installation)

I recently dual booted linux mint on my laptop, and I came across the infinite squashfs error (an infinite amount of “SQUASHFS error: Unable to read page” and "SQUASHFS error: Unable to read data counting up, I think because I took out the usb and pressed enter too quickly) I couldn’t do anything, so I shut down and...

bloodfart,

No, you’re fine. You just yanked the install media before it was done putting itself away. Depending on how it was made, the install media might not even be damaged.

Is there any way to turn my Linux machine into a docking station?

The thing is like this: I have a windows laptop I use for work, and a Linux desktop machine. I have a single screen keyboard etc. and I switch between the two using a docking station. But, I wonder if there is a way for me to “cut the middle man” and just plug/unplug my linux machine....

bloodfart,

Okay, I think I get it:

Op has a Linux desktop with a usbc hub attached to it. The hub has all their shit plugged in so when they wanna use their laptop they just unplug the hub from the desktop and plug it into the laptop.

Op wants to get rid of the hub and just plug their laptop into their desktop (or into the hub or something) and get access to the desktops resources like keyboard, mouse, monitor and Ethernet.

Did I get that right?

If so, You Can’t Do That.

You actually can, but it’s a huge insane headache! Resource sharing that just works is a plan9 thing, not a windows or Linux thing.

Some possible workarounds:

Put the Ethernet on the hub. Get a usb network adapter with Linux and windows support and use that.

Get a little Ethernet switch and a couple of wires instead and then you have Ethernet when you put the laptop on the desk.

Get a little switch and some wires instead, and use something like barrier (the fork of synergy) for keyboard and mouse sharing.

bloodfart,

the death toll of the operation is up to 274 palestinians and 3 hostages now.

bloodfart,

Your computer is going into s1 and the driver for your card can’t wake it back up.

bloodfart,

Damn, I thought I had you clocked.

Getting hot maybe? Some of those baseband chips are downright tiny and can’t really dissipate the heat they build up under heavy use…

Did you look at dmesg/journalctl to to see what the kernel says when it falls over?

E: spelling/autocorrect

bloodfart,

Mostly right there with you. It’s disturbing to see mods just publicly admitting their process is capricious and wack expecting to be congratulated and lauded for openness.

I never thought I’d be posting AMAB next to a lib.

bloodfart,

I’m not saying this to start a fight, but as a person who used btrfs for a situation it was not suited for: there need to be some tools for migrating off btrfs here.

bloodfart,

Not that I was aware of a couple of years ago. I ended up copying to a different media, reformatting and copying back and accepting the loss of the snapshots.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fightinggames
  • All magazines