@Haijo7@snac.haijo.eu avatar

Haijo7

@Haijo7@snac.haijo.eu

Computer enthusiast from 🇳🇱, libre software and (retro & indie) video games.
He/him, cis het.
Game and software dev.
I hack all of my game consoles.
Privacy advocate. Anti big tech/FAANG.
Music from the late 20th century is just better.
Learning to play piano.
ANSI C is the best programming language.
Jung personality type is ISTP.
I have several mental disorders.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Haijo7, to random
@Haijo7@snac.haijo.eu avatar

a few weeks ago i read the code for a tetris clone i made a few years ago. the code sucked so i'm making a new one

RL_Dane, to random
@RL_Dane@fosstodon.org avatar
Haijo7,
@Haijo7@snac.haijo.eu avatar

did this on my desktop computer, there appears to be a problem with Plasma's wayland compositor. My monitor and computer kept de-syncing under heavy load, so the screen turned black frequently.
I'm still on Plasma 5 though, I'll wait for 6 to be packaged for Debian. If the problem persists on Plasma 6, I'll open an issue I guess.
I've read that changing some compositor settings can also fix this, but I haven't tried doing that.

foone, to random
@foone@digipres.club avatar

The god damn Nintendo switch doesn't support usb floppy drives? Even in homebrew?

What the hell, Nintendo? I want my money back.

Maybe I can hack this back in. I hate doing usb coding but maybe

Haijo7,
@Haijo7@snac.haijo.eu avatar

the device can run linux and android, those should have floppy drive support

cory, to ai
@cory@social.lol avatar
Haijo7,
@Haijo7@snac.haijo.eu avatar

robots.txt is a file server admins or web developers can add to the root of a website.
it contains info about the permissions for bots navigating the website. usually webcrawlers for things like search engines, or more recently to plagiarize text and images for fake neural networks.
under normal circumstances

User-agent: *
Disallow: /

should make it so no bots that obey robots.txt can access anything on the website, apart from robots.txt.
but the file from this link has a lot of other rules that should already be covered.
i get that people don't trust the authors of the bots to respect the rules, but adding more rules isn't going to help with that

CC: @cory

YoSoyFreeman, to gamedev
@YoSoyFreeman@mastodon.gamedev.place avatar
Haijo7,
@Haijo7@snac.haijo.eu avatar

@YoSoyFreeman @greenmoonmoon I've never used raylib, but it looks somewhat similar to SDL.
I've made a few personal projects that use SDL with Physfs.
Physfs allows you to read archives, anything from .zip files to doom .wad files.
The author recommends using zip files as a balance between speed and size. It allows you to mount directories and archives, kind of like you'd do with a usb drive. These are then treated as isolated file systems, so say you were to add mod support (lua is another good recommendation), you can ensure mods can't read or write outside of the mounted archives or directories

Haijo7,
@Haijo7@snac.haijo.eu avatar

modifying existing code is a good way to learn, but keep the license in mind. you might not be able to release your modified code depending on the license

CC: @greenmoonmoon

aral, to DuckDuckGo
@aral@mastodon.ar.al avatar
Haijo7,
@Haijo7@snac.haijo.eu avatar

a work in progress stand-alone search engine https://clew.se/
a search engine with only minimal websites https://wiby.me/
you're not going to find a lot with either, but people don't actually need search engines that much anymore. everyone just always visits the same websites, so bookmarks work just fine

Haijo7,
@Haijo7@snac.haijo.eu avatar

makes sense, but how often do you visit a website you have not visited before?

CC: @aral

Haijo7,
@Haijo7@snac.haijo.eu avatar

i guess it just differs from person to person. i don't visit websites i haven't visited before very often

CC: @aral

Haijo7,
@Haijo7@snac.haijo.eu avatar

i'm procrastinating on a game also made using only free software. i want to release the code without the assets under a free software license (just like doom). but if i do this i can't release the game on consoles unless i don't accept contributions. because of devkit NDAs

CC: @rah

Haijo7,
@Haijo7@snac.haijo.eu avatar

true, but this would make it difficult to update the console version because i can't include contributions from the pc version in the console version. i'd have to maintain two versions instead of just one. or not update the console version, but that's not a good solution either.
say a contributor fixes a bug, i wouldn't be able to use the same code in the console version because this code is property of the contributor and is GPL licensed. but the console version would make references to a proprietary console API of which i can't share any information, thus can't add the code. so i'd have to find a different way to fix the same bug or leave it as is

Haijo7,
@Haijo7@snac.haijo.eu avatar

maybe, actually. i could technically turn the game into a library and put the parts of the engine that handle input and output in a separate application. but i'd have to find a license that allows this. i don't remember the details about linking libraries in the GPL 3, iirc the LGPL has something to do with libraries. but this would also allow others to include the game library into a proprietary application, providing they don't make any changes to the code

djlink, to random
@djlink@mastodon.gamedev.place avatar

This is incredibly concerning, I wish I could use other OS exclusively for my work, but Windows is still the only place for a lot of dev tools. https://arstechnica.com/gadgets/2024/05/microsofts-new-recall-feature-will-record-everything-you-do-on-your-pc/

Haijo7,
@Haijo7@snac.haijo.eu avatar

I'm seeing many people wanting to switch to linux recently.
It probably won't take long for some tools to be ported or get alternatives on linux.
cross compiling from linux to windows works, in case that's something you're concerned about

heyfluxay, to random
@heyfluxay@retro.pizza avatar

Looks like I’m starting Crosscode.

Haijo7,
@Haijo7@snac.haijo.eu avatar

it's a pretty fun game. the puzzles and combat are great, but after beating the game it felt like the story wasn't complete. though maybe i'm just missing something

CC: @heyfluxay

Haijo7,
@Haijo7@snac.haijo.eu avatar

dualbooting is often messy because windows update can delete things required for linux to boot.
or to be more specific, it deletes grub, the bootloader.
i've heard you can use a different bootloader called refined to prevent this from happening, that might be worth looking into.
as for which distro, it doesn't really matter. the only real differences between distros are the package managers and repositories (servers for application and update downloads) they use by default. if you like frequent updates, you choose one that has frequent updates, if you don't, you don't

ayo, to webdev
@ayo@ayco.io avatar

what's the laziest dark mode implementation? is there a 3-liner code change? 😄 asking for a friend (not me)

Haijo7,
@Haijo7@snac.haijo.eu avatar

@media (prefers-color-scheme: dark) { color: white; background-color: black; }

Haijo7, (edited ) to random
@Haijo7@snac.haijo.eu avatar

i wonder if i can make a poll with only one option

YoSoyFreeman, to random
@YoSoyFreeman@mastodon.gamedev.place avatar

Spent the day TRYING to understand how to work with C++. Step by step, i guess, but i feel like is my first day ever using a computer.

I don't know if I'm in a stage of improvement or i'm stuck. It is a scary feeling.

Haijo7,
@Haijo7@snac.haijo.eu avatar

i recommend starting with C.
actually, i recommend sticking with C. C++ just adds clutter

joel, (edited ) to Miyoo
@joel@fosstodon.org avatar

deleted_by_author

  • Loading...
  • Haijo7,
    @Haijo7@snac.haijo.eu avatar

    i found a git repo related to the device a few weeks ago, apparently it uses a custom wrapper to run the proprietary ds emulator called drastic. i was hoping i could port this wrapper to other systems, but i'm pretty sure it can't be done because of how the emulator itself was compiled

    Haijo7,
    @Haijo7@snac.haijo.eu avatar

    The operating systems from the PS3, PS4, PS5, 3DS and Switch and Mac OS are based on FreeBSD. The Wii U probably also runs something based on FreeBSD.
    Linux for the PS2 is based on Red Hat.
    Chrome OS is based on Gentoo

    CC: @MDKAOD

    me, to random

    To those who argue "my VPN can't track me because I pay them in bitcoin":

    You know they have your IP address, right?

    Haijo7,
    @Haijo7@snac.haijo.eu avatar

    there is a vpn service that recommends people to connect to the vpn though tor

    eniko, to mastodon
    @eniko@peoplemaking.games avatar

    little #mastodon protip: due to how posts federate there's no guarantee someone will see a link/video preview when they see your post, especially on small servers. this means that you'll probably want to add some kind of relevant description in the post where you're posting the link, like repeating the headline or quoting a relevant excerpt

    Haijo7,
    @Haijo7@snac.haijo.eu avatar

    the fedi software i use doesn't support embeds

    Haijo7, to random
    @Haijo7@snac.haijo.eu avatar

    apparently the PSU in my PC is broken, this explains a lot

    Haijo7, to random
    @Haijo7@snac.haijo.eu avatar

    i was stupid and broke my desktop install after trying to mess with some mirrors. so i copied my home dir to another drive and reinstalled the OS. but it turns out that sudo cp -r doesn't copy hidden files and directories. so rip pgp and ssh keys.
    trying to recover the files now

    Haijo7,
    @Haijo7@snac.haijo.eu avatar

    i haven't used pgp a lot yet, and my public keys aren't on any key servers. i only used my ssh keys to access the server this fedi instance is running on, but i have other ways to access it. so it's just annoying, but there was no real harm

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • tacticalgear
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • lostlight
  • All magazines