[-] Doods@infosec.pub 3 points 1 day ago

I think most FOSS zealots simply despise capitalism in general

No, my ideal economic system is capitalist in nature, I just don't trust western powers (the enemy) with my data. I say western powers, but that includes Russia and China and other things.

[-] Doods@infosec.pub 1 points 1 day ago* (last edited 1 day ago)

running video games, or any OpenGL thing including 2D games and GPU-accelerated terminal emulators is a bad experience

The thing you replied to; I don't open social media often enough to reply on time, so I sent you a late reply.

[-] Doods@infosec.pub 1 points 1 day ago* (last edited 1 day ago)

Also, sloppy focus aka focus-follows-mouse

It's one of those features I always wanted to try, but always forget to look up how to actually enable and start using it, so I never actually tried it.

[-] Doods@infosec.pub 1 points 1 day ago* (last edited 1 day ago)

I just got some idea yesterday regarding impl blocks, ready to be my respondent?

I had a big impl block with 4 levels of indentation, so I cut the block, and replaced

impl InputList {
    //snip
}

with mod impl_inputlist; and moved the impl block to a new file, and did not indent anything inside that block.

The advantage this has over just not indenting the impl block in place, is that people will have difficulty distinguishing between what's in the block and what's outside, and that's why the impl was moved to its own exclusive file, impl_inputlist.rs

Maybe I am overstressing indentation. Ss there something wrong with my setup that prevents me from accepting 4-space indentation?

I use:

Editor: Neovide

Font: "FiraCode Nerd Font Mono:h16" (16px fonts are addicintg)

Monitor: 1366x768, 18.5 inch, 10+ years old, frankenstein-ly repaired Samsung monitor.

Distance: I sit at about 40-60 Cm from my monitor.

That leaves me with a 32x99 view of code excluding line numbers and such.

[-] Doods@infosec.pub 1 points 1 day ago* (last edited 1 day ago)

Inaccurate report,

I just ran Neovim in terminal and was used to Neovide, so I thought it was choppy.

Intel HD 630.

There is, however, a 2D game - which I am not going to disclose the name of - that's pretty broken. (It uses Adobe Flash as an engine)

Also the steam client doesn't maximize properly with tiling but I am sure that's reported.

I have been daily driving Cosmic for a week now; it caused me Arch-syndrome, everyday I run sudo apt update hoping to get some polish to the desktop.

Edit: there's more...

Neovide's transparency is completely broken, and shows a blank, though not a pitch black, color and screenshotting it results in seeing the text with a checkered background. (In the resulting screenshot only) (Running on Proton 8.0-5)

clipboard=unnamed plus, the setting supposed to unify Neovim's clipboard and system's, doesn't work. clipboard: error : Error: target STRING not available

I also was unable to transfer a file to my phone using Cosmic Files, but Nemo worked, though I read that's fixed in some Blog.

Edit II: I just discovered popdev:master it seems to be a general unstable branch instead of just Cosmic things, but I took the risk and added it, I just have to remember to remove it once 24.04's released

39
submitted 1 week ago* (last edited 1 week ago) by Doods@infosec.pub to c/linux@lemmy.ml

Tabs are 8 characters, and thus indentations are also 8 characters. There are heretic movements that try to make indentations 4 (or even 2!) characters deep, and that is akin to trying to define the value of PI to be 3.

I am in love with this awsome document; I love its guidelines, and coding conventions.

However, when Rust was introduced into the kernel, they butchered these beautiful guidelines, I know it's hard to look at such heretic actions, but you have to see this:

The default settings of rustfmt are used. This means the idiomatic Rust style is followed. For instance, 4 spaces are used for indentation rather than tabs.

How can this even relate to the ideology of the first document? I am deeply saddened by these new rules.

I know this is "The Rust experiment", but this must be fixed before it's too late! This has to reach someone.

A counter-argument might be:

The code should be formatted using rustfmt. In this way, a person contributing from time to time to the kernel does not need to learn and remember one more style guide. More importantly, reviewers and maintainers do not need to spend time pointing out style issues anymore, and thus less patch roundtrips may be needed to land a change.

And to that I say that rustfmt is configurable per project, and if it isn't, then it has to be. Doesn't something like .editorconfig exist?

Edit: I think I read enough comments to come up with a conclusion.

At first, forcing another language's code style upon another sounds backwards, but both styles are actually more similar than I originally though, the kernel's C style is just rustfmt’s default with:

  • 80 character line.
  • 8-space hard tabs.
  • Indentation limited to 3.
  • Short local-variable names.
  • Having function length scale negatively with complexity.

The part about switch statements doesn't apply as Rust replaced them with match.*

The part about function brackets on new lines doesn't apply because Rust does have nested functions.

The bad part about bracket-less if statements doesn't apply as Rust doesn't support such anti-features.

The part about editor cruft is probably solved in this day & age.

The rest are either forced by the borrow checker, made obsolete by the great type system, or are just C exclusive issues that are unique to C.

I left out some parts of the standard that I do not understand.

This all turned up to be an indentation and line-size argument. Embarrassing!

*: I experimented with not-indenting the arms of the root match expression, it's surprisingly very good for simple match expressions, and feels very much like a switch, though I am not confident in recommending to people. Example:

match x {
5 => foo(),
3 => bar(),
1 => match baz(x) {
	Ok(_) => foo2(),
	Err(e) => match maybe(e) {
		Ok(_) => bar2(),
		_ => panic!(),
		}
	}
_ => panic!(),
}

[-] Doods@infosec.pub 14 points 1 month ago* (last edited 1 month ago)

Didn't eat it, have to wait for sunset.

Probably tastes the same as other cheap options, they rarely differ in taste.

Edit: I am really bad at tasting things, but I don't think it tasted different from what I expected.

390
[-] Doods@infosec.pub 17 points 1 month ago* (last edited 1 month ago)

These posts get tens of likes but no comments, because nobody knows what to say anymore. The situation is clear, the motives have been revealed and the details are trivial, and pointless.

Should we stop talking, the situation will only decline, but should we speak the declination will happen slower.

Edit: I wrote a comment that looks pretty cool & I am somewhat proud of it, actually

[-] Doods@infosec.pub 15 points 2 months ago

The KDE Plasma 6 open-source desktop environment

Makes me wonder, are there closed-source desktop environments for Linux?

[-] Doods@infosec.pub 14 points 3 months ago* (last edited 3 months ago)

Stop revealing our plans! Our police force can hardly arrest protestors fast enough!

-Most Governments

[-] Doods@infosec.pub 30 points 4 months ago

Being an adult has nothing to do with age, I saw 30 year-old children and 13 year-old men.

1
submitted 4 months ago* (last edited 3 months ago) by Doods@infosec.pub to c/mineclone2@lemmy.world

This texture pack, called Minecraftclone, is the best MC texture pack for MCL out there, because the only competition is NS-textures and this one which doesn't have a download link.

All the textures are taken from Minecraft 1.20 except for:

  • Horses, taken from 1.12
  • Bells*
  • Any feature not present in vanilla MC*

*: They are taken from mods with varying levels of editing done by me.

This pack supports the following mods:

  • MineClone2 Emerald Stuff
  • More Ores*
  • Technic*

*: Partial support

This pack is a work-in-progress, and lacks:

  • Most trims.
  • Lectern.
  • Brewing Stand.
  • Sun & Moon

https://mega.nz/file/mcI1BIoI#jSB-T5RsZXzNpue4OEr_LQwZcEAbh-e_MOqbsFVT7SU

Keywords for search engines to increase visibilty:

  • Minecraft textures for Mineclone
  • MC textures for MCL
  • Minecraft texture pack for Mineclone

I am also planning promote the pack on r/Minetest if this post fails to attract search engine results.

7
submitted 9 months ago by Doods@infosec.pub to c/linux_gaming@lemmy.world

I have a huge library of game EXEs on my computer, but they run at a 4:3 aspect ratio as they're old, Proton/Proton-GE/WINE-GE keep the aspect ratio and place black bars left and right, which is desireble, unlike wine who stocks them to the left side of the screen.

[-] Doods@infosec.pub 15 points 9 months ago

I didn't mean we should stop improving, what I meant is we should focus more on the efficiency and less on the raw power.

11
submitted 9 months ago* (last edited 9 months ago) by Doods@infosec.pub to c/diy@beehaw.org

I might clean under a non-functioning button after this.

I used an old charging cable with a broken micro USB port.

16
Is this fixable? (infosec.pub)
submitted 9 months ago* (last edited 9 months ago) by Doods@infosec.pub to c/diy@beehaw.org

My 9yr old sister felt something is preventing her leg from moving, so she used violence.

A joystick USB cable.

*Without buying - or ripping off - another USB head of course.

71
submitted 9 months ago by Doods@infosec.pub to c/gaming@beehaw.org

This might seem stupid, but hear me out.

Fallout 3 on Epic is 39 GiB, the reason for that huge size is you're forced to download all the language packs, same story for Tomb Raider and FFXIII.

As someone with a monthly data limit of 140 Gib, and who has to share it with a family, these - unnecessary - download sizes are unacceptable and make me want - and plan - to pirate the game -which even though I didn't play for I still legally own*- and only having to download 7 GiB.

I would've complained about disk space but you can just remove the extra languages conveniently located in saperate folders**.

This also applies to single player games with privacy-invasive DRM and usability-hurting DRM***, and for people who hate the idea of DRM in general.

*Own as a service and a using license.

**Unless you are tight on disk space and cannot fully download the game before removing the files.

**DOOM 2016 didn't work on Linux duo to the DRM being incompatible with proton.

7
submitted 9 months ago* (last edited 9 months ago) by Doods@infosec.pub to c/linux_gaming@lemmy.world

I made a git hub issue, but I want to ask here as well in hope of finding success

After running heroic in the terminal, the following thing catchs my eye: The terminal hangs at either

[Backend]: Running Wine command: wineboot --init or [Legendary]: Using cached install info or ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 -and 2 & 3- times!

sometimes I get a notification to install mono when switching WINE versions (WINE-GE).

Somewhere along the loading process a "wineboot.exe" blank windows appears depending on the wine version (heppens with proton) and stays for a while. I am using Wine-GE

Things I tried:

-Deleting the "Games" folder in my home folder - Only heroic used it anyway.

-Adding the game to steam through Heroic's "Add to steam" button.

-Reinstalling heroic and all of its dependencies.

-Manually adding the game's EXE to steam and forcing a Proton version.

-Launching the game by double clicking it in my file manager Nemo.

Surprisingly, only the last two things succeeded in running the game properly.

Terminal output after a successful run:

(Excuse my inability to use a code block on this)

`[doods@doods-pc-7500 ~]$ flatpak run com.heroicgameslauncher.hgl [13:0803/011856.095179:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory Gtk-Message: 01:18:56.754: Failed to load module "xapp-gtk3-module" Gtk-Message: 01:18:56.791: Failed to load module "canberra-gtk-module" Gtk-Message: 01:18:56.791: Failed to load module "pk-gtk-module" Gtk-Message: 01:18:56.792: Failed to load module "canberra-gtk-module" Gtk-Message: 01:18:56.792: Failed to load module "pk-gtk-module" [13:0803/011856.811049:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [13:0803/011856.811105:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [13:0803/011856.819964:ERROR:socket_posix.cc(147)] bind() failed: Address already in use (98) [13:0803/011856.820012:ERROR:devtools_http_handler.cc(312)] Cannot start http server for devtools. which: no wine in (/app/bin:/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/MangoHud/bin:/usr/lib/extensions/vulkan/OBSVkCapture/bin:/app/bin/heroic/resources/app.asar.unpacked/build/bin/linux) (01:18:56) INFO: [Legendary]: Running command: XDG_CONFIG_HOME=/home/doods/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version (01:18:56) INFO: [Legendary]: Legendary location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary (01:18:56) INFO: [Gog]: GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl (01:18:56) INFO: [Connection]: Connectivity: check-online (01:18:56) INFO: [Connection]: Pinging external endpoints (01:18:56) INFO: [Backend]: DRM module staus { oimompecagnajdejgnnjijobebaeigek: { name: 'Widevine Content Decryption Module', status: 'new', version: '4.10.2557.0' } } APPIMAGE env is not defined, current application is not an AppImage LaunchProcess: failed to execvp: xdg-settings (01:18:57) WARNING: [Backend]: Failed to register protocol with OS. [13:0803/011857.103342:ERROR:browser_main_loop.cc(274)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed [13:0803/011857.103557:ERROR:browser_main_loop.cc(274)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed [13:0803/011857.103689:ERROR:browser_main_loop.cc(274)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (01:18:57) INFO: [Gog]: Running command: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/doods/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json --version (01:18:57) INFO: [Connection]: Connectivity: online (01:18:57) ERROR: [Gog]: Unable to syncQueued playtime, userData not present (01:18:57) INFO: [Nile]: Running command: XDG_CONFIG_HOME=/home/doods/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/nile --version (01:18:57) INFO: [Backend]: Loading Screen Ready (01:18:57) INFO: [Backend]: AreWeAntiCheatYet data downloaded (01:18:57) INFO: [Frontend]: Refreshing undefined Library (01:18:57) INFO: [Legendary]: Refreshing library... (01:18:57) INFO: [Legendary]: Refreshing Epic Games... (01:18:57) WARNING: [Backend]: refresh not implemented on Sideload Library Manager (01:18:57) INFO: [Legendary]: Game list updated, got 26 games & DLCs (01:18:57) INFO: [Backend]: Frontend Ready (01:18:57) WARNING: [Backend]: listUpdateableGames not implemented on Sideload Library Manager (01:18:57) INFO: [Gog]: Found 0 game(s) to update (01:18:57) INFO: [Backend]: Checking for current version changelog hostname: invalid option -- 'f' Try 'hostname --help' for more information. (01:18:58) INFO: [Legendary]: Checking for game updates: XDG_CONFIG_HOME=/home/doods/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary list --third-party (01:18:58) INFO: [Legendary]: Running command: XDG_CONFIG_HOME=/home/doods/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary list --third-party (01:18:58) INFO: [Backend]:

Heroic Version: 2.9.1 Boa Hancock Legendary Version: 0.20.32 Dark Energy (hotfix #6) GOGdl Version: 0.7.3 Nile Version: 1.0.0 Jonathan Joestar

Electron Version: 24.4.1 Chrome Version: 112.0.5615.204 NodeJS Version: 18.14.0

OS: Freedesktop SDK KERNEL: 6.4.6-200.fc38.x86_64 ARCH: x64 CPU: Intel Core™ i5-7500 @3.4 GOVERNOR: powersave RAM: Total: 7.62 GiB Available: 4.68 GiB GRAPHICS: GPU0: HD Graphics 630 VRAM: 256MB PROTOCOL: x11

(01:18:58) INFO: [Legendary]: Checking if EOS Overlay is enabled: XDG_CONFIG_HOME=/home/doods/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary eos-overlay info --prefix "/home/doods/Games/Heroic/Prefixes/default/Tomb Raider GAME OF THE YEAR EDITION" (01:18:58) INFO: [ExtraGameInfo]: Using cached ExtraGameInfo data for Tomb Raider GAME OF THE YEAR EDITION (01:18:58) DEBUG: [Legendary]: Using cached install info (01:18:58) INFO: [ExtraGameInfo]: Using cached ExtraGameInfo data for Tomb Raider GAME OF THE YEAR EDITION (01:18:58) DEBUG: [Legendary]: Using cached install info (01:18:58) DEBUG: [Legendary]: Using cached install info (01:18:59) INFO: [Legendary]: Abort command "XDG_CONFIG_HOME=/home/doods/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary eos-overlay info --prefix "/home/doods/Games/Heroic/Prefixes/default/Tomb Raider GAME OF THE YEAR EDITION"" Error occurred in handler for 'isEosOverlayEnabled': AbortError: The operation was aborted at abortChildProcess (node:child_process:746:27) at EventTarget.onAbortListener (node:child_process:816:7) at [nodejs.internal.kHybridDispatch] (node:internal/event_target:735:20) at EventTarget.dispatchEvent (node:internal/event_target:677:26) at abortSignal (node:internal/abort_controller:308:10) at AbortController.abort (node:internal/abort_controller:338:5) at callAbortController (/app/bin/heroic/resources/app.asar/build/electron/main.f23c4159.js:2:404) at Object.onOutput (/app/bin/heroic/resources/app.asar/build/electron/main.f23c4159.js:190:23627) at Socket. (/app/bin/heroic/resources/app.asar/build/electron/main.f23c4159.js:100:743) at Socket.emit (node:events:513:28) { code: 'ABORT_ERR' } which: no wine in (/app/bin:/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/MangoHud/bin:/usr/lib/extensions/vulkan/OBSVkCapture/bin:/app/bin/heroic/resources/app.asar.unpacked/build/bin/linux) (01:18:59) INFO: [Winetricks]: Downloading Winetricks (01:18:59) DEBUG: [Legendary]: Using cached install info which: no wine in (/app/bin:/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/MangoHud/bin:/usr/lib/extensions/vulkan/OBSVkCapture/bin:/app/bin/heroic/resources/app.asar.unpacked/build/bin/linux) (01:19:00) INFO: [Legendary]: Found 0 games to update (01:19:00) DEBUG: [Legendary]: Using cached install info (01:19:00) DEBUG: [Legendary]: Using cached install info (01:19:01) INFO: [Backend]: d6264d56f5ba434e91d4b0a0b056c83a: Setting wineVersion to {"bin":"/home/doods/.local/share/Steam/compatibilitytools.d/GE-Proton8-7/proton","name":"Proton - GE-Proton8-7","type":"proton"} (01:19:02) DEBUG: [Legendary]: Using cached install info (01:19:02) INFO: [Backend]: Starting the Download Queue (01:19:02) INFO: [Backend]: Launching Tomb Raider GAME OF THE YEAR EDITION (d6264d56f5ba434e91d4b0a0b056c83a) (01:19:02) INFO: [Backend]: Preventing display from sleep (01:19:02) INFO: [Backend]: Checking if wine version exists: Proton - GE-Proton8-7 (01:19:02) INFO: [Backend]: Preventing machine to sleep (01:19:02) INFO: [Backend]: Stopping Power Saver Blocker (01:19:02) DEBUG: [Legendary]: Using cached install info (01:19:02) DEBUG: [Legendary]: Using cached install info (01:19:02) DEBUG: [Legendary]: Using cached install info (01:19:02) DEBUG: [Legendary]: Using cached install info (01:19:03) INFO: [Backend]: Checking if wine version exists: Proton - GE-Proton8-7 (01:19:03) WARNING: [Backend]: You are using Proton, this can lead to some bugs. Please do not open issues with bugs related to games (01:19:03) INFO: [Backend]: Checking if wine version exists: Proton - GE-Proton8-7 (01:19:03) INFO: [Backend]: Checking if wine version exists: Proton - GE-Proton8-7 (01:19:03) DEBUG: [Backend]: Running Wine command: run wineboot --init (01:22:57) INFO: [Legendary]: Launching Tomb Raider GAME OF THE YEAR EDITION: XDG_CONFIG_HOME=/home/doods/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/doods/.var/app/com.heroicgameslauncher.hgl/.steam/steam STEAM_COMPAT_DATA_PATH="/home/doods/Games/Heroic/Prefixes/default/Tomb Raider GAME OF THE YEAR EDITION" STEAM_COMPAT_INSTALL_PATH=/mnt/9d0ba9a2-ba39-4b1c-84d9-1198e5020470/EGS/TombRaiderGOTYE WINE_FULLSCREEN_FSR=0 PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=heroic-TombRaiderGOTYE PROTON_LOG_DIR=/home/doods/.var/app/com.heroicgameslauncher.hgl /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary launch d6264d56f5ba434e91d4b0a0b056c83a --language en --no-wine --wrapper " '/home/doods/.local/share/Steam/compatibilitytools.d/GE-Proton8-7/proton' run

(01:25:05) INFO: [Backend]: Stopping Display Power Saver Blocker [13:0803/012505.514317:ERROR:browser_main_loop.cc(274)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed [13:0803/012505.514366:ERROR:browser_main_loop.cc(274)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed [13:0803/012505.514425:ERROR:browser_main_loop.cc(274)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (01:25:05) INFO: [Frontend]: Refreshing legendary Library (01:25:05) INFO: [Legendary]: Refreshing library... (01:25:05) INFO: [Legendary]: Refreshing Epic Games... (01:25:05) INFO: [Legendary]: Game list updated, got 26 games & DLCs (01:25:05) DEBUG: [Legendary]: Using cached install info (01:25:05) DEBUG: [Legendary]: Using cached install info (01:25:05) INFO: [Legendary]: Running command: XDG_CONFIG_HOME=/home/doods/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary list --third-party `

Update: I found a repo for fedora on their github page, downloaded it and games started working fine.

30
submitted 10 months ago* (last edited 10 months ago) by Doods@infosec.pub to c/linux@lemmy.ml

Is there a way to achieve compact view in Nautilus?

I have always used Nemo (Cinnamon's file manager) on Gnome to achieve said functionality, but it looks alien compared to the rest of the Desktop and therefore I want to use Nautilus.

(Picture: compact view in Nemo, I found said picture online)

view more: next ›

Doods

joined 10 months ago