squaresinger

joined 1 year ago
[–] [email protected] -5 points 7 months ago

hEy, yOu lEaRnEd A bUzZwOrD aNd rEcEnTlY dIsCoVeReD tHe sHiFt KeY!!!! cOnGrAtS!?!

[–] [email protected] 3 points 7 months ago (1 children)

But this issue wasn't found because of code analysis per se, but because of microbenchmarking.

[–] [email protected] -2 points 7 months ago

Oh, we play dumb ad-hominem without any basis in reality?

I can play this too: Was your last school homework hard?

[–] [email protected] 3 points 7 months ago (1 children)

If the vulnerability is in the wild, what other security mechanisms do you have until it's patched?

[–] [email protected] 2 points 9 months ago

Most people I helped getting Linux to work are actually not techy at all and they haven't touched the CLI at all so far...

I guess it differs if you use Linux because you are interested in the technology or if you use it because Windows 11 doesn't run on your PC.

[–] [email protected] 4 points 9 months ago (2 children)

Tbh, I don't recommend beginners to try out multiple distros in the beginning. Realistically, if you don't have in depth Linux knowledge already, all you'll be able to differentiate is the look of the DE and the wallpaper.

I find, too much choice tends to confuse beginners more than it helps them.

So I'd rather recommend something simple like Ubuntu and let them try out the flavours with the different DEs.

Choice is better for later when people actually understand what they are looking for.

[–] [email protected] 3 points 9 months ago

That would indeed be very helpful. But if all the other usages keep draining the supply, it will only help extend artificial reserves.

[–] [email protected] 1 points 9 months ago

That happens if you don't have an actual legal team... I am sure they are doing their best, but if you don't have a lawyer, you can't do legal texts.

[–] [email protected] 1 points 9 months ago

Stuff only becomes valuable when it's mostly gone...

 

I recently switched my entertainment laptop to Linux after having my work devices on it for a few years.

The laptop has a Gforce 1050 Max-Q in it. I'm trying to run games from Steam that officially don't support Linux.

If I set the PRIME profile in the Nvidia control panel to "Nvidia only", everything works as expected.

But if I set the profile to "On demand", the whole system freezes a few seconds after I open a game.

I read some vague comment on Reddit saying it might have something to do with me using KDE.

If I run it on the Intel GPU, it works no matter what profile is set (but super slow).

The system is freshly installed using the proprietary Nvidia driver version 535.

Does anyone have an idea what could be wrong?

 

geteilt von: https://feddit.de/post/3048730

Github link: https://github.com/Dakkaron/Fairberry

Here's a video of it in action: https://www.youtube.com/watch?v=iDb8_ld9gOQ

I've been using it for almost two years now, and I'm not going back.

It's based on a spare Blackberry Q10 keyboard and a custom Arduino-compatible board that reads the keyboard matrix and outputs it as USB HID to the phone. From the viewpoint of the phone, it's just a regular USB keyboard, so no special software is needed.

But I do use a custom virtual keyboard to have just two rows of symbols that are not natively on the keyboard, as I didn't want to add another layer of rarely used symbols that I'd have to memorize.

(On the image you can see Ubuntu with XFCE4 running on it. I chose Ubuntu because it's what was easiest to get running in a chroot jail on the phone. I'm using VNC to display the GUI. I even managed to get FEX (x86/x64 emulator) and Wine running, so it runs x86/x64 Linux and Windows apps.)

 

Github link: https://github.com/Dakkaron/Fairberry

Here's a video of it in action: https://www.youtube.com/watch?v=iDb8_ld9gOQ

I've been using it for almost two years now, and I'm not going back.

It's based on a spare Blackberry Q10 keyboard and a custom Arduino-compatible board that reads the keyboard matrix and outputs it as USB HID to the phone. From the viewpoint of the phone, it's just a regular USB keyboard, so no special software is needed.

But I do use a custom virtual keyboard to have just two rows of symbols that are not natively on the keyboard, as I didn't want to add another layer of rarely used symbols that I'd have to memorize.

(On the image you can see Ubuntu with XFCE4 running on it. I chose Ubuntu because it's what was easiest to get running in a chroot jail on the phone. I'm using VNC to display the GUI. I even managed to get FEX (x86/x64 emulator) and Wine running, so it runs x86/x64 Linux and Windows apps.)

 

My laptop switched from AHCI to RST on its own (probably after a Windows update) and now I cannot boot my Kubuntu anymore. Live sticks also cannot access the drives. When I try to switch it back in the UEFI settings, it tells me that it will wipe the drive to do so.

Is this message correct? How can I change it back without losing all my data?

The device in question is a Lenovo Ideapad 720-15ikb with Kubuntu and Win10 dual boot.

0
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

This site looks kinda weird. For one, it looks much more polished than any similar site I've seen so far. They have really good SEO as well, always popping up pretty high on Google. They have a massive selection of content.

How can they still be up?

What's the catch/what's wrong with them?

Also, what do they mean by "preinstalled"? The game isn't preinstalled if I have to install it from them, is it?

 

geteilt von: https://feddit.de/post/1591834

It's all free (if you make it yourself) and open source.

https://github.com/Dakkaron/Fairberry

 

It's all free (if you make it yourself) and open source.

https://github.com/Dakkaron/Fairberry

 
 

Just save this as karma.py and run it with Python 3.6 or higher.

import requests
import math

INSTANCE_URL = "https://feddit.de"
TARGET_USER = "ENTER_YOUR_USERNAME_HERE"

LIMIT_PER_PAGE = 50

res = requests.get(f"{INSTANCE_URL}/api/v3/user?username={TARGET_USER}&limit={LIMIT_PER_PAGE}").json()

totalPostScore = 0
totalCommentScore = 0
page = 1
while len(res["posts"])+len(res["comments"]) > 0:
	totalPostScore += sum([ x["counts"]["score"] for x in res["posts"] ])
	totalCommentScore += sum([ x["counts"]["score"] for x in res["comments"] ])
	
	page += 1
	res = requests.get(f"{INSTANCE_URL}/api/v3/user?username={TARGET_USER}&limit={LIMIT_PER_PAGE}&page={page}").json()
 
print("Post karma:    ", totalPostScore)
print("Comment karma: ", totalCommentScore)
print("Total karma:   ", totalPostScore+totalCommentScore)
 

Jerboa shows promise, but it feels like it's not quite there yet. There are still some important features missing (e.g. selecting the language for a post) and frequent bugs.

As a better alternative, you can also use a browser that allows you to install Progressive Web Apps on the phone (e.g. Firefox or Vivaldi).

Just open your Lemmy instance in the browser, press the menu button and then "install". This will then create a shortcut on your desktop which lets you launch the web UI of your Lemmy instance as if it was a native app on your phone.

For me this works much better than Jerboa.

I am using Vivaldi, and this allows me to e.g. control how I want to open a link. If I just click it, it opens in the same PWA window as Lemmy (useful if you follow internal links on Lemmy). If you long-press it, there is an option to "Open with Vivaldi", which then opens the link in the regular browser activity, which is useful for external links.

view more: next ›