SteveTech

joined 3 years ago
[–] SteveTech@programming.dev 3 points 10 months ago

Not really, but once you've patched the driver, run dkms status and dkms build <id from status> (e.g. dkms build nvidia/580.76.05) to rebuild the driver for your current kernel.

When you get it working, it'll be a good idea to write a little guide here for other people to follow.

[–] SteveTech@programming.dev 2 points 10 months ago

Oh no worries!

Also hdparam/nvme-cli will let the drive erase itself, and should be faster than operating through a computer. Like it can take seconds on some SSDs since it wipes the chips in parallel, and some drives are self encrypting, so it just deletes the key, leaving the scrambled data. But those usually won't work on USB drives.

[–] SteveTech@programming.dev 10 points 10 months ago (2 children)

The official driver already uses DKMS (at least in the newer drivers), so you should be able to patch the code in /usr/src/nvidia-470* and have it apply automatically every kernel update.

[–] SteveTech@programming.dev 2 points 10 months ago

Ah that sucks.

[–] SteveTech@programming.dev 3 points 10 months ago (2 children)

If it's an external SSD, I like to format my drives as f2fs, which is a filesystem designed for flash memory, so it might be a bit faster and last longer than ext4. But that's just personal preference and ext4 should always work fine.

[–] SteveTech@programming.dev 2 points 10 months ago (2 children)

one parallel port (DB25)

You might even be able to use the parallel port as basic GPIO, especially if it's on the I/O bus and not some sort of PCI adapter.

[–] SteveTech@programming.dev 6 points 10 months ago

Just to be that guy, 'use strict'; is specifically for JavaScript, and should still probably be used. With xHTML there were a few different DTDs that went in the DOCTYPE, Strict being one of them.

[–] SteveTech@programming.dev 0 points 10 months ago

Some websites like Facebook and Google work, but other websites like Lemmy (any instance), Reddit, my CMMS, various wholesaler sites hosted both in AU and worldwide, are affected.

I wonder if IPv4 is somehow wonky, but IPv6 is working fine? Since Facebook and Google definitely support IPv6, the others may not (although Reddit should too).

You could try comparing ping -4 and ping -6 when it happens. That is if your network supports IPv6.

If you do get any inconsistencies with ping, you could also try experimenting with traceroute/tracert, to see where the delay happens.

[–] SteveTech@programming.dev 2 points 10 months ago (1 children)

Don't Python scripts need python at the beginning of the command that summons them?

Not if the script has a python shebang (e.g. #!/usr/bin/env python3), then it will run like any other script.

[–] SteveTech@programming.dev 4 points 10 months ago (1 children)

You can setup a Forgejo Action that deploys the site using Cloudflare Wrangler. Codeberg uses Forgejo, and GitLab CI/CD should work too.

If Wrangler is too hard I think there's a webhook thing, but I'm not too sure.

[–] SteveTech@programming.dev 2 points 10 months ago

Pretty sure they're talking about why the meme says, 'WINDOWS', 'LINUX', and 'ios'.

[–] SteveTech@programming.dev 4 points 10 months ago

It's worse with AppImages since they bundle everything in the same file. At least flatpaks do a little bit of deduplication with their platform packages.

view more: ‹ prev next ›