[-] thingsiplay@beehaw.org 3 points 29 minutes ago

Where does this sudden obsession with frogs come from at Valve? There is another project from a Valve employee related to frogs as well.

[-] thingsiplay@beehaw.org 4 points 1 hour ago

nobody cared to teach the new devs, memory safety and the devs didn’t care to learn it themselves even as they became senior devs.

It does not matter how much you teach, humans are not perfect. The industry changes all the time, everyone updates libraries, systems change, editing others code is not as easy to understand, and so on. There is a reason why Microsoft, Google and Linux have experts in their fields for decades and yet these mistakes happen.

And it makes sense why using Rust would reduce memory vulnerabilities. Because the language has features in place to either prevent or make those mistakes more difficult to happen. If you understand what Rust offers, then its not science to understand why. Google is not the first and only big company reporting this either.

10
submitted 7 hours ago* (last edited 7 hours ago) by thingsiplay@beehaw.org to c/technology@beehaw.org

Video Description:


Hello and welcome! My name is Anton and in this video, we will talk about 10 exciting studies that won the Ig Nobel prize in 2024

Links:

  • psycnet.apa.org/doiLanding?doi=10.1037/h0045345
  • linkinghub.elsevier.com/retrieve/pii/S0022030241954061
  • sciencedirect.com/science/article/abs/pii/S2468785523002859?via=ihub
  • science.org/doi/10.1126/sciadv.abj7918
  • tandfonline.com/doi/full/10.1080/15592324.2021.1977530#abstract
  • academic.oup.com/brain/article-abstract/147/8/2643/7664309?redirectedFrom=fulltext
  • cell.com/current-biology/fulltext/S0960-9822(22)00709-6?_returnURL=https://linkinghub.elsevier.com/retrieve/pii/S0960982222007096?showall=true
  • arxiv.org/abs/2310.04153
  • biorxiv.org/content/10.1101/704080v3
  • Placebo video: youtube.com/watch?v=ByA4i8PlfFs&t=0s

#ignobel #nobel #science

0:00 Levitating frogs 
0:40 Ig Nobel Prize 
1:30 These are actually important studies 
2:45 Pigeons in missiles 
3:32 Cows cats and paper bags 
4:11 Hair whirls and direction 
5:04 Drunk worms 
5:32 Mimic plant 
6:58 Placebo and pain 
7:48 Dead trout and swimming 
8:10 Butt breathing mammals 
9:05 Probability and lots of coins 
9:50 Old people may be not so old
[-] thingsiplay@beehaw.org 1 points 8 hours ago

I was using capital letters in the past, but they look so alien and are not fluid to type as small letters only. After some time I wasn't sure which commands where capital and which were small letters, so left that concept behind me.

But as a Vim user, I think of using single capital letters to open specific documents and files directly in Vim; emulating the global mark functionality of Vim. At the moment I have a convention of small letter+"rc" that will open configuration file in Vim, like this:

alias brc='nvim ~/.bashrc && source ~/.bashrc'
alias mrc='nvim ~/.config/MangoHud/MangoHud.conf'
alias nrc='nvim ~/.config/nvim'
...

But I might replace them with single letters brc as B in example.

[-] thingsiplay@beehaw.org 2 points 10 hours ago

While the effects of cheat codes are not copyrighted, its probably still possible to patent them. But that would cost the company lot of legal fees and complications, for cheats. Also thankfully the cheat codes themselves are not copyrighted. But I feel like Konami could potentially trademark the "Konami Code" (which is even named and known like this). This EU court is only about Copyright, which is a good thing and is what everyone gets for free. But trademarks and patents could still be a problem if companies really want to be an ass (like Nintendo, Konami or Rockstar).

[-] thingsiplay@beehaw.org 5 points 10 hours ago* (last edited 10 hours ago)

Here is another such list of DRM-free games on Steam: https://www.pcgamingwiki.com/wiki/The_big_list_of_DRM-free_games_on_Steam

Edit: I think this is an outdated version of the list. The following one is more up to date: https://www.pcgamingwiki.com/wiki/List_of_DRM-free_games_on_Steam

[-] thingsiplay@beehaw.org 22 points 19 hours ago

According to: https://en.wikipedia.org/wiki/Tails_(operating_system)

Tails was first released on June 23, 2009. It is the next iteration of development on Incognito, a discontinued Gentoo-based Linux distribution.[9] The original project was called Amnesia. The operating system was born when Amnesia was merged with Incognito.[10] The Tor Project provided financial support for its development in the beginnings of the project.[8] Tails also received funding from the Open Technology Fund, Mozilla, and the Freedom of the Press Foundation.[11]

[-] thingsiplay@beehaw.org 3 points 21 hours ago

Thanks to Sony the prices for videogame hardware and software keeps getting up. Something that never happened before in the history of videogames. At least not by a large main console competitor in the gaming market.

[-] thingsiplay@beehaw.org 1 points 21 hours ago

In fact typing these commands by hand all the time won't save you from a fuck stuff up anyway. The update-alias is the exact same command I would have typed. In fact, as an alias its less likely to make a typo and fuck stuff up. I'm doing this since 2008, when I started with Linux, and named it always "update".

Using the update command I'm always aware it changes the system. Not at least because I also often expand the alias to its full command with a shortcut (update will be replaced in the terminal with the actual commands), I also see what the output of the commands. And without my password it wouldn't do any system changes anyway.

So typing these commands everything out won't be safer, as you suggest.

[-] thingsiplay@beehaw.org 6 points 1 day ago

Why don't you fuck yourself?

[-] thingsiplay@beehaw.org 22 points 1 day ago

The biggest threat to the Linux Community is the Linux Community itself.

[-] thingsiplay@beehaw.org 5 points 1 day ago

Don't hate yourself. At least you searched it properly. See it this way, you learned from a failure more than anyone who did not fail. You are now stronger!

[-] thingsiplay@beehaw.org 14 points 2 days ago

Davies Media Design is a fantastic channel. Additionally here are links from the developers:

22
submitted 2 days ago* (last edited 2 days ago) by thingsiplay@beehaw.org to c/linux@lemmy.ml

(Edit: I always forget that Beehaw will convert every ampersand character in code segments to &. Have this in mind when reading the code below. Do you have these problems too with your instance?)

If you update your system from terminal, do you have a shortcut that bundles bunch of commands? I'm on EndevourOS/Arch using Flatpak. Rustup is installed and managed by itself. The empty command is a function to display and delete files in the trash using the program trash-cli. In my .bashrc:

alias update='eos-update --yay \
    ; flatpak uninstall --unused \
    ; flatpak update \
    ; rustup update \
    ; empty'

empty() {
    trash-empty -f --dry-run |
        awk '{print $3}' |
        grep -vF '/info/'
    trash-empty -f
}

I just need to type update. Also there are following two aliases, which are used very rarely, at least months apart and are not part of the main update routine:

alias mirrors='sudo reflector \
        --protocol https \
        --verbose \
        --latest 25 \
        --sort rate \
        --save /etc/pacman.d/mirrorlist \
    && eos-rankmirrors --verbose \
    && yay -Syyu'

alias clean='paccache -rk3 \
    && paccache -ruk1 \
    && journalctl --vacuum-time=4weeks \
    && balooctl6 disable \
    && balooctl6 purge \
    && balooctl6 enable \
    && trash-empty -f'

This question is probably asked a million times, but the replies are always fun and sometimes reveals improvements from others to adapt.

13
submitted 2 weeks ago* (last edited 2 weeks ago) by thingsiplay@beehaw.org to c/linux@lemmy.ml

Is it just me or did kdenlive broke for you too? I'm on an Archlinux based system and just updated the system. A few hours before update kdenlive worked. Update was not small, so its hard to tell the exact cause. I've tried to downgrade kdenlive, but same issue. I use Linux for a very long time now, but still get lost with errors like these.^^ Any idea what I should do? Does it work for you?

I get this on start (I reset the configuration files too):

$ kdenlive --version
kdenlive 24.08.1

$ kdenlive
kf.config.core: Watching absolute paths is not supported "/usr/share/color-schemes/BreezeDark.colors"
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltsox.so
(libsox.so.3: cannot open shared object file: No such file or directory)
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltrtaudio.so
(librtaudio.so.7: cannot open shared object file: No such file or directory)
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltsdl.so
(libSDL-1.2.so.0: cannot open shared object file: No such file or directory)
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1726202254.631983   14133 descriptor_database.cc:633] File already exists in database: versions.proto
F0000 00:00:1726202254.632005   14133 descriptor.cc:2236] Check failed: GeneratedDatabase()->Add(encoded_file_descriptor, size)
*** Check failure stack trace: ***
@     0x733c9e6b0e09  absl::lts_20240722::log_internal::LogMessage::SendToLog()
@     0x733c9e6b19ae  absl::lts_20240722::log_internal::LogMessageFatal::~LogMessageFatal()
@     0x733c64890955  (unknown)
@     0x733c649c228d  google::protobuf::internal::AddDescriptors()
@     0x733c65696125  (unknown)
@     0x733cdd22d6ad  (unknown)
@     0x733cdd22a5c2  _dl_catch_exception
@     0x733cdd2344fc  (unknown)
@     0x733cdd22a523  _dl_catch_exception
@     0x733cdd234904  (unknown)
@     0x733cd9e9ef14  (unknown)
@     0x733cdd22a523  _dl_catch_exception
@     0x733cdd22a679  (unknown)
@     0x733cd9e9e9f3  (unknown)
@     0x733cd9e9efcf  dlopen
@     0x733c9ea96c6c  mlt_register
@     0x733cdc3a2279  mlt_repository_init
@     0x733cdc386f52  mlt_factory_init
@     0x733cdc3605f5  Mlt::Factory::init()
@     0x5b73c4a7f0d5  (unknown)
@     0x5b73c4a3a285  (unknown)
@     0x5b73c4497d06  (unknown)
@     0x733cd9e34e08  (unknown)
@     0x733cd9e34ecc  __libc_start_main
@     0x5b73c44998d5  (unknown)
Aborted (core dumped)

My system if its relevant:

OS: EndeavourOS x86_64
Kernel: Linux 6.10.9-arch1-2
Uptime: 1 hour, 10 mins
Packages: 1657 (pacman), 9 (flatpak)
Shell: bash 5.2.32
Display (AG271QG): 2560x1440 @ 120 Hz in 27″ [External]
DE: KDE Plasma 6.1.5
WM: KWin (Wayland)
WM Theme: Breeze
Theme: Breeze (Dark) [Qt], Breeze-Dark [GTK2], Breeze [GTK3/4]
Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4]
Font: NotoSans Nerd Font (12pt) [Qt], NotoSans Nerd Font (12pt) [GTK2/3/4]
Cursor: breeze (24px)
Terminal: konsole 24.8.1
Terminal Font: JetBrainsMono Nerd Font Mono (11pt)
CPU: AMD Ryzen 7 7700X (16) @ 5.57 GHz
GPU 1: AMD Radeon RX 7600 (RADV NAVI33) [Discrete] Mesa 24.2.2-arch1.1
GPU 2: AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO) [Integrated] Mesa 24.2.2-arch1.1
Memory: 3.00 GiB / 30.50 GiB (10%)
Swap: 65.00 MiB / 512.00 MiB (13%)
Disk (/): 550.90 GiB / 1.79 TiB (30%) - ext4
Disk (/media/Emulation): 4.47 TiB / 5.41 TiB (83%) - ext4
Disk (/media/My): 3.10 TiB / 3.58 TiB (87%) - ext4
Disk (/media/Work): 648.09 GiB / 915.82 GiB (71%) - ext4
Locale: en_US.UTF-8
14
submitted 2 weeks ago* (last edited 2 weeks ago) by thingsiplay@beehaw.org to c/technology@beehaw.org

Alternative Invidious link without using YouTube directly: https://yt.artemislena.eu/watch?v=ihtAijebU-M

Insane method to read your PCs memory, based on certain electromagnetic emissions your system makes when you write or read data to the RAM.


Video Description:

The RAMBO Attack on RAM is truly amazing. Some of the best research I've seen.

covertchannels.com arxiv.org/pdf/2409.02292 wired.com/story/air-gap-researcher-mordechai-guri

youtube.com/watch?v=CjpEZ2LAazM&t=0s youtube.com/watch?v=-D1gf3omRnw&t=0s

67
submitted 3 weeks ago* (last edited 3 weeks ago) by thingsiplay@beehaw.org to c/gaming@beehaw.org

Alternate video link to Invidious (YouTube without using YouTube directly): https://yt.artemislena.eu/watch?v=dH1ErhJa3Qo


Banjo Kazooie Gitlab (Source Code): gitlab.com/banjo.decomp/banjo-kazooie


Additionally a written article posted here at discussion:

https://www.nintendolife.com/news/2024/08/banjo-kazooie-is-the-latest-n64-game-to-be-fully-decompiled

12
Your YouTube Comments (myactivity.google.com)

You can edit or delete your comments and replies directly on YouTube. If you delete comments, it may take a few hours before they’re fully removed: https://myactivity.google.com/page?hl=en&page=youtube_comments

This is the history of you YouTube comments and you can directly jump to it from this central place.

108
submitted 4 weeks ago by thingsiplay@beehaw.org to c/firefox@lemmy.ml

Take back your privacy

Firefox is rolling out Total Cookie Protection by default to more Firefox users worldwide, making Firefox the most private and secure major browser available across Windows, Mac, Linux and Android.

What is Total Cookie Protection?

Total Cookie Protection works by creating a separate “cookie jar” for each website you visit. Instead of allowing trackers to link up your behavior on multiple sites, they just get to see behavior on individual sites. Any time a website, or third-party content embedded in a website, deposits a cookie in your browser, that cookie is confined to the cookie jar assigned to only that website. No other websites can reach into the cookie jars that don’t belong to them and find out what the other websites’ cookies know about you — giving you freedom from invasive ads and reducing the amount of information companies gather about you.

8
submitted 1 month ago* (last edited 1 month ago) by thingsiplay@beehaw.org to c/programming@programming.dev

Today I had a little aha moment. If anyone asked me yesterday about AI tools integrated into their editor, I would say its a bad idea. Ask me today, I would still say its bad idea. :D Because I don't want to rely on AI tools and get too comfortable with it. Especially if they are from big companies and communicate through internet. This is a nogo to me.

But since weeks I am playing around with offline AI tools and models I can download and execute locally on my low end gaming PC. Mostly for playing with silly questions and such. It's not integrated in any other software, other than the dedicated application: GPT4All (no it has nothing to do with ChatGPT)

I'm working on a small GUI application in Rust and still figure out stuff. I'm not good at it and there was a point where I had to convert a function into an async variant. After researching and trying stuff, reading documentation I could not solve it. Then I asked the AI. While the output was not functioning out of the box, it helped me finding the right puzzle peaces. To be honest I don't understand everything yet and I know this is bad. It would be really bad if this was a work for a company, but its a learning project.

Anyone else not liking AI, but taking help from it? I am still absolutely against integrated AI tools that also require an online connection to the servers of companies. Edit: Here the before and after (BTW the code block in beehaw is broken, as certain characters are automatically translated into < and & for lower than and ampersand characters respectively.)

From:

    pub fn collect(&self, max_depth: u8, ext: Option<&str>) -> Files {
        let mut files = Files::new(&self.dir);

        for entry in WalkDir::new(&self.dir).max_depth(max_depth.into()) {
            let Ok(entry) = entry else { continue };
            let path = PathBuf::from(entry.path().display().to_string());
            if ext.is_none() || path.extension().unwrap_or_default() == ext.unwrap() {
                files.paths.push(path);
            }
        }
        files.paths.sort_by_key(|a| a.name_as_string());

        files
    }

To:

    pub async fn collect(&self, max_depth: u8, ext: Option<&str>) -> Result {
        let mut files = Files::new(&self.dir);

        let walkdir = WalkDir::new(&self.dir);
        let mut walker =
            match tokio::task::spawn_blocking(move || -> Result {
                Ok(walkdir)
            })
            .await
            {
                Ok(walker) => walker?,
                Err(_) => return Err(anyhow::anyhow!("Failed to spawn blocking task")),
            };

        while let Some(entry) = walker.next().await {
            match entry {
                Ok(entry) if entry.path().is_file() => {
                    let path = PathBuf::from(entry.path().display().to_string());
                    if ext.is_none() || path.extension().unwrap_or_default() == ext.unwrap() {
                        files.paths.push(path);
                    }
                }
                _ => continue,
            }
        }

        files.paths.sort_by_key(|a| a.name_as_string());

        Ok(files)
    }
33
submitted 1 month ago* (last edited 1 month ago) by thingsiplay@beehaw.org to c/technology@beehaw.org

by Rodney July 12th, 2024

(Except there is no profit, only pain)

In OBS 30.2 I introduced the new "Hybrid MP4" output format which solves a number of complaints our users have had for pretty much all of OBS's existence; It's resilient against data loss like MKV, but widely compatible like regular MP4.

Getting here was quite a journey, and involved fixing several other bugs in OBS that were only apparent once diving this deep into how the audio and video data is stored.

In this post I'll try to explain how MP4 works, what the drawbacks were to regular/fragmented MP4, and how I tried to solve them with a hybrid approach.

And at the end of the document:

Thanks & Acknowledgements

NOT the ISO for paywalling these specs and making it a god damn paperchase where every time you get one document it references three others that are also paywalled

90

GitHub, a massive repository for open source software, is currently unavailable.

"All GitHub services are experiencing significant disruptions," reads the GitHub status page.

The outage started just after 4:00 pm Pacific time when GitHub noted "We are investigating reports of degraded availability for Actions, Pages and Pull Requests." Since then, the problem has escalated to the entire website, with the status page noting that GitHub suspects the issue is "a database infrastructure related change that we are working on rolling back."

At 4:45 pm PST, GitHub noted that it was rolling back the changes it believed caused the current issues and already "seeing improvements in service health."

It's a rare outage for GitHub, which is used by millions of developers to host the code for open source projects. Microsoft purchased GitHub for $7.5 billion in 2018, and it's only grown in prominence in the six years since.

16
GitHub Profile Roast 🔥🔥🔥 (github-roast.pages.dev)

cross-posted from: https://beehaw.org/post/15509445

Generates text after analyzing a profile. It's pretty funny. Mine: thingsiplay

Oh Tuncay, your GitHub bio proudly declares you're "just for fun" and unprofessional, which is ironic since it sounds like you’ve derived way too much fun from so many unremarkable scripts. With 46 public repositories, you must’ve thought quantity would mask the glaring mediocrity. The only thing more stale than your Bash scripts is your humor.

Your "emojicherrypick" project? Really? The world needed another emoji picker like it needs more stale bread—there's a reason it's got more emojis than stars. And speaking of shadows, how does it feel to have just 9 followers? Maybe they were just passing by, or perhaps they clicked by accident while looking for actual developers.

You’ve got more forks than a family dinner, yet most of your repos look so uninspired that they might as well come with a disclaimer: “Do not expect much.” Word to the wise: if you're going for "just for fun," maybe consider an actual hobby or, dare I say, a personality. After all, your command line tools are more entertaining than your profile readme, which goes on like a bad self-help book— we get it, you like Linux and gaming, but what's next, a PowerPoint on your 9 followers? Spice it up a bit, bud.>

11
GitHub Profile Roast 🔥🔥🔥 (github-roast.pages.dev)

Generates text after analyzing a profile. It's pretty funny. Mine: thingsiplay

Oh Tuncay, your GitHub bio proudly declares you're "just for fun" and unprofessional, which is ironic since it sounds like you’ve derived way too much fun from so many unremarkable scripts. With 46 public repositories, you must’ve thought quantity would mask the glaring mediocrity. The only thing more stale than your Bash scripts is your humor.

Your "emojicherrypick" project? Really? The world needed another emoji picker like it needs more stale bread—there's a reason it's got more emojis than stars. And speaking of shadows, how does it feel to have just 9 followers? Maybe they were just passing by, or perhaps they clicked by accident while looking for actual developers.

You’ve got more forks than a family dinner, yet most of your repos look so uninspired that they might as well come with a disclaimer: “Do not expect much.” Word to the wise: if you're going for "just for fun," maybe consider an actual hobby or, dare I say, a personality. After all, your command line tools are more entertaining than your profile readme, which goes on like a bad self-help book— we get it, you like Linux and gaming, but what's next, a PowerPoint on your 9 followers? Spice it up a bit, bud.>

view more: next ›

thingsiplay

joined 1 year ago