lonesomeCat

joined 11 months ago
[–] lonesomeCat@lemmy.ml 2 points 6 days ago (1 children)

This is hot

[–] lonesomeCat@lemmy.ml 6 points 3 weeks ago (1 children)

I've seen a many-to-many relationship written as a column of CSV ids.

Also same ppl used "ID" instead of "id" (sometimes Id even) which made ORMs cry hard

[–] lonesomeCat@lemmy.ml 30 points 1 month ago

You guys are getting PRs?

[–] lonesomeCat@lemmy.ml 1 points 2 months ago

I'd call ones with FreeDOS OS-less

[–] lonesomeCat@lemmy.ml 6 points 2 months ago (2 children)

I got my new laptop back in April, had a Windows 11 preinstalled (I wish it wasn't the case, it would've been cheaper but it's very rare to find OS-less PCs in my country)

Anyway, I prepared a Fedora installation before the laptop got home, booted Windows once to make sure everything (regarding hardware) works, and the rest is history.

[–] lonesomeCat@lemmy.ml 5 points 2 months ago

I'm a developer and the dev tools on Windows sucked and ate my RAM.

[–] lonesomeCat@lemmy.ml 2 points 2 months ago

It's not your choice, it's Spacer's Choice!

[–] lonesomeCat@lemmy.ml 3 points 2 months ago

I kinda feel like big tech regrets that we got away with PCs running all foss software. The existence of GNU/Linux saved us in a way, I think some still try to lock us behind Windows I guess but Linux options are not going anywhere and they keep growing stronger I believe. However when it came to smartphones they tried so hard to keep them locked and far from what a natural computer would offer (running anything as long as your CPU architecture supports it). While Android phones got some freedom in the past I believe they're getting more closed and harder to tweak. Also I was there when iOS jailbreak peaked with all the crazy stuff (it was still hard to switch OS though). Fast forward to smart watches, now these are far more locked than phones and very limited in terms of freedom (even tho some run standars CPUs architectures). I think no way would big tech allow glasses to have freedom and they would make them close to what watches offer these days, maybe worse. I really believe that we should be able to run whatever the hell we want on hardware as long as it is technically possible.

Tl; dr: GNU/Linux saved the PC industry, corpos will not let that happen again with another industry.

[–] lonesomeCat@lemmy.ml 2 points 5 months ago

Running RTX4050 mobile on Fedora 41 (internet too crappy to upgrade to 42)

Works great!

Except for unreal 5 games but idk if that's a driver or a proton issue :/

[–] lonesomeCat@lemmy.ml 5 points 6 months ago

Definitely the latter

[–] lonesomeCat@lemmy.ml 1 points 7 months ago

Two thrones is a cake walk compared to WW

[–] lonesomeCat@lemmy.ml 7 points 7 months ago (3 children)

Prince of Persia Warrior Within

 

I want to be able to format my system without formatting my home, I know I can keep them seperate partitions but I would prefer if I can have dynamic sizes of each, can I achieve that by creating a sub volume for each? Would I be able to distrohop without removing my home while keeping the sizes dynamic? I never sat up a BTRFS before so I'm clueless

 

So I got a new HP Victus 2023, and I want to install Fedora on it, it has an RTX 4050 and has win11 preinstalled, my last laptop was a 2014 Toshiba and I only had to disable secure boot for Linux to run, is there something else to disable before installing Fedora ? Maybe TPM?

 

I've installed xone and xboxdrv.

The controller vibrates on plug in but the LED stays off, if I hold down the Xbox button it boots in Bluetooth mode.

Xboxdrv reports no controllers found.

lsusb reports the controller ~~and it has a file in /dev/js0 (or something similar).~~

Update: there's no js file in /dev/input

retroarch reports detection of Xbox controller on plug in.

I added my user to input group.

My system is up to date.

I installed the system with the XFCE build.

The controller works as intended on Arch, Windows and Android via USB and Bluetooth

Update 2: I installed jstest-gtk and it's not detecting the controller at all

 

I installed LXDM and LightDM, I couldn't login from the DM in either cases, so I decided to run LXQt using startx which worked, except I couldn't sudo from the terminal emulator inside LXQt, while I was able to sudo normally in tty, I've tried enabling elogind, nothing changed, my user is in the wheel group and my system is up to date

 

I have the following migration:

(Schema::create('user_images',function(Blueprint $table){ $table->id(); $table->binary('image'); $table->unsignedBigInteger('user_id'); $table->foreign('user_id')->references('id')->on('users'); });)

And the following corresponding model:

`class UserImage extends Model { protected $fillable=[ 'image' ];

public function user():BelongsTo{
    return $this->belongsTo(User::class);
}

}`

I am trying to create new UserImage records with UserImage::create but it is always failing, I am sending the image data using curl:

curl -v -F image=@$1 $URL/api/users -H "Accept: application/json"

I have tried so many things but I got different SQL-related errors, I am not sure how am I supposed to encode the image data to get them stored, I know that accessing $request->image returns only a temporary path of the image on the HDD.

view more: next ›