j4k3

joined 2 years ago
[–] j4k3@lemmy.world 3 points 1 week ago

The UEFI boot system is tricky and you need to get along with Secure Boot to do this. Secure Boot is outside of the Linux kernel. Both Fedora and Ubuntu have systems for this. Fedora uses the Anaconda system and I believe they do it best. I have had a W11 partition for 2 years and never used it once. It can't even get on the internet with my firewall setup, but it is there and never had any issues the 3 times I logged into it.

I think all of the Fedora systems support the shim key and secure boot but I know Workstation does. For Ubuntu I think it is just the regular vanilla Ubuntu desktop that the shim supports. This may be somewhat sketchy with Nvidia or maybe not. Nvidia """"open sourced"""" their kernel code but the actual nvcc compiler required to build the binaries is still proprietary crap.

I have a 3080Ti gaming laptop. It isn't half bad with 16 GB of video RAM from all the way back in 2021. Nvidia is artificially holding back the vram because of monopoly nonsense. The new stuff has very little real consumer value as a result, at least with AI stuff I run. The hardware is a little faster, but more vram is absolutely critical and new stuff that is the same or worse than what I have from 3 generations and nearly 5 years ago is ridiculous.

The battery life blows and the GPU likely won't even work on battery. It will get donkey balls hot with AI workloads, especially any kind of image gen. This results in lots of thermal throttling. All AI packages run as servers on your network. If you are thinking along these lines if running your own models, get a tower and run the thing remotely.

I manage, and need the ergonomics for physical disability reasons, but I still would prefer to have a separate tower to run models from.

Anyways, you can sign your own UEFI keys to use any distro, but this can be daunting for some people. The US defense department has a good PDF guide on setting your own keys. The UEFI bootloader for the machine may not have all key signing features implemented. There is a way to boot into UEFI directly and set the keys manually but this is not easy to find great guides on how to do it step by step. Gentoo has a tutorial on this, but it assumes a high level of competency.

Other than signing your own keys, the shim keys mentioned are special keys signed by Microsoft for the principal maintainer of the distro. These slide under the Microsoft key to keep secure boot enabled.

If you boot any secure boot enabled OS, the bootloader is required to delete any bootable unsigned code it finds. It does not matter if it is a shimmed Fedora or W11. If you have any other OS present in the boot list, it should be deleted. W11 is SB only, and this is where the real issues arise.

[–] j4k3@lemmy.world 2 points 1 week ago

Ghost of .ee – too soon

[–] j4k3@lemmy.world 11 points 1 week ago (1 children)

::: spoiler An X... New rimless cross spoke omnidirectional wheel pic of a tank trap

[–] j4k3@lemmy.world 1 points 1 week ago* (last edited 1 week ago)

Are you insane? Debian is a base distro like any other and runs more hardware than any other. It has all of the bootstrapping tools to get hardware working.

Canonical is a server company and Ubuntu server is literally the product.

Arch is absolute garbage for most users unless you have a CS degree or you have entirely too much time on your hands and don't mind an OS as your life project. Arch abhors tutorial content in all documentation and therefore dumps users into a rabbit hole regularly. Pacman is the worst package manager as it will actively break a system and present the user with the dumbest of choices at random because the maintainers are ultimately sadistic and lackadaisical. Arch is nearly identical to Gentoo with Arch binaries often based on Gentoo builds, yet Gentoo provides relevant instruction and documentation with any changes that require user intervention and does so at a responsible and ethical level that shows kindness, respect, and consideration completely absent from Arch. Arch is a troll by trolls for trolls. I'm more than capable of running it now, but I would never bother with such inconsiderate behavior.

[–] j4k3@lemmy.world 7 points 1 week ago (7 children)

Fedora's Anaconda system makes UEFI secure boot easy and ships with SELinux integrated but set to permissive by default. Their built in network filtering tools are pretty easy but I still just use OpenWRT on a separate device. Silverblue was nice for a few years but I switched to Workstation for a machine with Nvidia hw.

[–] j4k3@lemmy.world 2 points 1 week ago

Has to harm billionaire asset to matter. Killing the rest of us is a game billionaires already enjoy and would applaud the Panem twist of a visiting team

[–] j4k3@lemmy.world 12 points 1 week ago (1 children)

Those are called trolleys because they don't have doors

[–] j4k3@lemmy.world 8 points 2 weeks ago (1 children)

Isn't there a universal interface for photon on any instance? I tried using them at some point but neither is compatible with my networking practices. In only use Alexandrite.

[–] j4k3@lemmy.world 5 points 2 weeks ago

rooting for titular futa-merr phallus

[–] j4k3@lemmy.world 30 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

You lose the I/O and power efficiency is no comparison. You can get better power efficiency and sometimes some I/O with an old router and OpenWRT, but you'll be in the class of a Beagle Bone and a much harder learning curve. I've never managed to get a sensor or peripheral working on some old laptop's SPI or I2C buses like how easy it is on a Rπ.

 

Or is there maybe a way to set the pager for all help related queries to some command? I'm using bat and would like to pipe all --help through | bat --language=help by default for the syntax highlighting and colored output... Or if you know a lower effort way to color the output of --help let me know.

 

https://www.youtube.com/watch?v=U4a_kJkVUis

Big Clive's video description:

This is not a sponsored video.  I feel it's important that people should know about this evolving technology, and Naomi is working on making it affordable.

During the pandemic YouTuber Naomi Wu presented plans for traditional mercury vapour based UVC sterilising lights with a special housing, to sterilise air in a room without exposing the occupants to the 254nm UVC light.

With the evolution and availability of the new era 222nm excimer lamps, Naomi has gone on to design a full product designed to be easy and convenient to deploy in populated areas like medical practices, waiting rooms, retail environments, food preparation areas and live events.

The special feature of the 222nm wavelength is that it is long enough to deactivate viral and bacterial air contaminants, but short enough not to pass through the outer layer of dead skin or the tear-layer of humans.  That means that it is currently considered safe to use in occupied areas.

The filter on the front of the light seems to specifically pass 222nm.  Without it there is a very slight hump in the spectral output at around 237nm.  The filter attenuates that completely.

Excimer is an abbreviation of Excited-Dimer, where a dimer is the joining of two molecules.  In the case of the excimer lamps the molecules are encouraged to bond temporarily in a plasma discharge, and when they revert back to their non-excited state they emit a photon of light at a specific wavelength determined by the chemistry.  In this case it's molecules of Krypton and Chlorine that form brief molecules of Krypton-Chloride (KrCl), before reverting back and emitting 222nm photons in the process.

The process of creating the plasma is very similar to dielectric barrier ozone generators.  By coupling to the gasses capacitively the lamp also avoids contaminating the gasses with the electrode materials.

Note that the unit uses 500mA at 12V (6W) but has a generously rated 12W power supply that runs cool.

This technology looks like it may be valuable in medical, care, travel or social environments to limit the spread of pathogens.

Here's a link to Naomi's pleasingly-named online shop:- https://cybernightmarket.com/products

 
 

I've been watching some One Marc Fifty stuff on YouTube. I can follow him well, and I'm decent at much of the hardware stuff. At least I can compile OpenWRT or do a basic Gentoo install with a custom kernel. I dread staring at NFTables, but can hack around some. I don't fully understand networking from the abstract fundamentals. Are there any good sources that break down the subject like Ben Eater did with the 8 bit bread board computer, showing all the basic logic, buses, and registers surrounding the Arithmetic Logic Unit? I'm largely looking for a more fundamental perspective on what are the core components of the stack and what elements are limited to niche applications.

I just realized I want to use self signed client certificates between devices. It was one of those moments where I feel dumb for the limited scope of my knowledge about the scale of various problems and solutions.

 

I've made the effort to secure mine and am aware of how the trusted protection module works with keys, Fedora's Anaconda system, the shim, etc. I've seen where some here have mentioned they do not care or enable secure boot. Out of open minded curiosity for questioning my biases, I would like to know if there is anything I've overlooked or never heard of. Are you hashing and reflashing with a CH341/Rπ/etc, or is there some other strategy like super serious network isolation?

65
submitted 10 months ago* (last edited 10 months ago) by j4k3@lemmy.world to c/linux@lemmy.ml
 

My old man has a bunch of .dox stuff saved. He has complicated large files saved that are not supported by any of the FOSS conversion tools. I've tried Libre office, Abi Word, and every command line tool and converter I can find. These are entire book sized files.

I have a W10 machine with Word. Is extracting the .exe and running it with wine feasible without making an epic mess or massive project of this?

 

This is something that perplexed me a few years ago with Flash Forth on a PIC18/PIC24/Arduino Uno. I was using the Python serial emulator S-Term because it is simple in the source code and worked. I really wanted a way to load more structured Words into the FF dictionary with bookmarks in a way that made sense structurally. That lead to a desire to execute code from the uC on the host system, but I never wrapped my head around how to do this in practice.

As a random simple example, let's say I set up an interrupt based on the internal temperature sensor of the PIC18. Once triggered the uC must call a Python script on the host system and this script defines a new FF word on the uC by defining the Word in the interpreter.

How do you connect these dots to make this work at the simplest 'hello world' level? I tried modifying S-Term at one point, but I didn't get anywhere useful with my efforts.

 

The ComfyUI prompt and workflow is attached to the image: https://files.catbox.moe/s3qufb.png

You can't copy pasta this prompt. There are a few nodes that are specific to SD3 and required.

::: spoiler EDIT: more proof of the chain that lead to this image. They were not all this good. I'm cherry picking for sure and these are just webp's without workflows attached:

 

Prompt was through ComfyUI, so it is embedded in the image: https://files.catbox.moe/aiy8p1.png

It was supposed to be a pug kangaroo hybrid but the AI apparently wanted to throw in some monkey too.

41
submitted 1 year ago* (last edited 1 year ago) by j4k3@lemmy.world to c/linux@lemmy.ml
 

I want to extract and process the metadata from PNG images and the first line of .safetensors files for LLM's and LoRA's. I could spend ages farting around with sed or awk but formats of files are constantly changing. I'd like a faster way to see a summary of training and a few other details when they are available.

 

Felt sexy, needed to share. Not my gen, just one from a NSFW LoRA posted on civitai.

https://civitai.com/models/103021/sexy-catholic-school-uniform-oranimerealisticor?modelVersionId=110260

view more: next ›