Skip Navigation
Escape Simulator drops the Linux build to focus on supporting Proton
  • In a decade, most games will be cross platform but compiled for windows proton and people will have forgotten why. Then somebody or some group will come up with "cross platform compilation" and the circle will start a new only to return to proton or some form of it.

    Anti Commercial-AI license

  • PeerTube from your pocket! | JoinPeerTube
  • I'm curious, why an official app? Newpipe and grayjay exist. Couldn't this have been spent on improvements in peertube itself? Or were the main devs happy to switch focus for a while and become consumers of their own product? It could show them he pain points of building an external app and feed into improvements in the back end, but was this the reason for a mobile app?

    Anti Commercial-AI license

  • Are IDEs really like this ?
  • LOL. Let me guess "just use Emacs/vim"?

    No thank you bruv. Been there, done that. Terrible experience.

    https://github.com/emacs-tw/awesome-emacs

    https://www.spacemacs.org/

    https://vimawesome.com/

    https://github.com/lunarvim/lunarvim

    All of these emulated only a fraction of the power of IDEs, even after weeks of trying to get them configured properly.

    Inb4 "you're doing it wrong". Nah mate, IDEs work out of the box and don't require opening a text file to change settings while going through reams of documentation.

    I right click in a file and it shows me the most important contextual commands. No need to find the " leader key", scroll through all the 1 billion commands, I don't have to "download a LSP and DAP" then "configure treesitter" or whatever the fuck kind of apes are in the editor.

    Those editors have steep learning curves and get you productive eventually. IDEs get you there much more quickly. Yeah yeah, they hide complexity and "people don't know what's actually going on anymore" but sometimes I just want to get going instead of fighting my editor first. Feel me?

    Anti Commercial-AI license

  • Huawei's big comeback, explained
  • How is it possible that Huawei is the third biggest phone vendor and most apps still have trouble running without Google Services? I thought they were not able to come preloaded with Google Services for a few years and that they have many customers outside of China. Are all those customers just limited to Chinese apps?

    Anti Commercial-AI license

  • ChatGPT's o3 Model Found Remote Zeroday in Linux Kernel Code
  • Initially embarking on a manual audit of ksmbd to benchmark o3’s potential, Heelan quickly realized that the model was able to autonomously identify a complex use-after-free vulnerability in the handler for the SMB ‘logoff’ command—an issue Heelan himself had not previously detected.

  • Is anyone else feeling no interest in applying for jobs anymore
  • Where are you applying? Is it only locally for in office or hybrid jobs? I said "fuck it" and applied worldwide: Japan, Singapore, Portugal, Switzerland, Australia, Thailand, Canada, South Africa, Fiji, etc. You'd be surprised how many are actually willing to provide a work visa for candidates.

    Also, if you're willing to move or just work remotely, there are many more options. I was open to seeing a different place and so far that's been to my advantage.

    Relocateme, ethicaljobs, jobsforgood, ratracerebellion, 4daywork(week), offerzen (post your profile and let employers find you), remote dot com, and other sites all make this kind of stuff possible.

    Anti Commercial-AI license

  • Python needs an actual default function
  • EDIT: It does work. My (GNU) libc spits out version info when executed as an executable.

    How does that work? There must be something above ld.so, maybe the OS? Because looking at the ELF header, ld.so is a shared library "Type: DYN (Shared object file)"

    $ readelf -hl ld.so
    ELF Header:
      Magic:   7f 45 4c 46 02 01 01 03 00 00 00 00 00 00 00 00 
      Class:                             ELF64
      Data:                              2's complement, little endian
      Version:                           1 (current)
      OS/ABI:                            UNIX - GNU
      ABI Version:                       0
      Type:                              DYN (Shared object file)
      Machine:                           Advanced Micro Devices X86-64
      Version:                           0x1
      Entry point address:               0x1d780
      Start of program headers:          64 (bytes into file)
      Start of section headers:          256264 (bytes into file)
      Flags:                             0x0
      Size of this header:               64 (bytes)
      Size of program headers:           56 (bytes)
      Number of program headers:         11
      Size of section headers:           64 (bytes)
      Number of section headers:         23
      Section header string table index: 22
    
    Program Headers:
      Type           Offset             VirtAddr           PhysAddr
                     FileSiz            MemSiz              Flags  Align
      LOAD           0x0000000000000000 0x0000000000000000 0x0000000000000000
                     0x0000000000000db8 0x0000000000000db8  R      0x1000
      LOAD           0x0000000000001000 0x0000000000001000 0x0000000000001000
                     0x0000000000029435 0x0000000000029435  R E    0x1000
      LOAD           0x000000000002b000 0x000000000002b000 0x000000000002b000
                     0x000000000000a8c0 0x000000000000a8c0  R      0x1000
      LOAD           0x00000000000362e0 0x00000000000362e0 0x00000000000362e0
                     0x0000000000002e24 0x0000000000003000  RW     0x1000
      DYNAMIC        0x0000000000037e80 0x0000000000037e80 0x0000000000037e80
                     0x0000000000000180 0x0000000000000180  RW     0x8
      NOTE           0x00000000000002a8 0x00000000000002a8 0x00000000000002a8
                     0x0000000000000040 0x0000000000000040  R      0x8
      NOTE           0x00000000000002e8 0x00000000000002e8 0x00000000000002e8
                     0x0000000000000024 0x0000000000000024  R      0x4
      GNU_PROPERTY   0x00000000000002a8 0x00000000000002a8 0x00000000000002a8
                     0x0000000000000040 0x0000000000000040  R      0x8
      GNU_EH_FRAME   0x0000000000031718 0x0000000000031718 0x0000000000031718
                     0x00000000000009b4 0x00000000000009b4  R      0x4
      GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
                     0x0000000000000000 0x0000000000000000  RW     0x10
      GNU_RELRO      0x00000000000362e0 0x00000000000362e0 0x00000000000362e0
                     0x0000000000001d20 0x0000000000001d20  R      0x1
    

    The program headers don't have interpreter information either. Compare that to ls "Type: EXEC (Executable file)".

    $ readelf -hl ls
    ELF Header:
      Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 
      Class:                             ELF64
      Data:                              2's complement, little endian
      Version:                           1 (current)
      OS/ABI:                            UNIX - System V
      ABI Version:                       0
      Type:                              EXEC (Executable file)
      Machine:                           Advanced Micro Devices X86-64
      Version:                           0x1
      Entry point address:               0x40b6e0
      Start of program headers:          64 (bytes into file)
      Start of section headers:          1473672 (bytes into file)
      Flags:                             0x0
      Size of this header:               64 (bytes)
      Size of program headers:           56 (bytes)
      Number of program headers:         14
      Size of section headers:           64 (bytes)
      Number of section headers:         32
      Section header string table index: 31
    
    Program Headers:
      Type           Offset             VirtAddr           PhysAddr
                     FileSiz            MemSiz              Flags  Align
      PHDR           0x0000000000000040 0x0000000000400040 0x0000000000400040
                     0x0000000000000310 0x0000000000000310  R      0x8
      INTERP         0x00000000000003b4 0x00000000004003b4 0x00000000004003b4
                     0x0000000000000053 0x0000000000000053  R      0x1
      LOAD           0x0000000000000000 0x0000000000400000 0x0000000000400000
                     0x0000000000007570 0x0000000000007570  R      0x1000
      LOAD           0x0000000000008000 0x0000000000408000 0x0000000000408000
                     0x00000000000decb1 0x00000000000decb1  R E    0x1000
      LOAD           0x00000000000e7000 0x00000000004e7000 0x00000000004e7000
                     0x00000000000553a0 0x00000000000553a0  R      0x1000
      LOAD           0x000000000013c9c8 0x000000000053d9c8 0x000000000053d9c8
                     0x000000000000d01c 0x0000000000024748  RW     0x1000
      DYNAMIC        0x0000000000148080 0x0000000000549080 0x0000000000549080
                     0x0000000000000250 0x0000000000000250  RW     0x8
      NOTE           0x0000000000000350 0x0000000000400350 0x0000000000400350
                     0x0000000000000040 0x0000000000000040  R      0x8
      NOTE           0x0000000000000390 0x0000000000400390 0x0000000000400390
                     0x0000000000000024 0x0000000000000024  R      0x4
      NOTE           0x000000000013c380 0x000000000053c380 0x000000000053c380
                     0x0000000000000020 0x0000000000000020  R      0x4
      GNU_PROPERTY   0x0000000000000350 0x0000000000400350 0x0000000000400350
                     0x0000000000000040 0x0000000000000040  R      0x8
      GNU_EH_FRAME   0x0000000000126318 0x0000000000526318 0x0000000000526318
                     0x0000000000002eb4 0x0000000000002eb4  R      0x4
      GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
                     0x0000000000000000 0x0000000000000000  RW     0x10
      GNU_RELRO      0x000000000013c9c8 0x000000000053d9c8 0x000000000053d9c8
                     0x000000000000c638 0x000000000000c638  R      0x1
    

    It feels like somewhere in the flow there is the same thing that's happening in python just more hidden. Python seems to expose it because a file can be a library and an executable at the same time.

    Anti Commercial-AI license

  • Does this matrix plugin support federation between github and gitlab?
    github.com GitHub - matrix-org/matrix-hookshot: A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.

    A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA. - matrix-org/matrix-hookshot

    GitHub - matrix-org/matrix-hookshot: A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.

    It allows adding github and gitlab to the bridge, but I don't get what it does. Anybody know?

    1
    [Answered] Organic maps archived their forgejo repository

    What's going on @organicmaps@fosstodon.org? Have you gone back to github?

    Edit link to forgejo repo: https://git.omaps.dev/organicmaps/organicmaps

    Edit2: The project was forked https://codeberg.org/comaps/comaps

    5
    Is there are good alternative to IPFS?

    A distributed, content-addressed filesystem across the internet, not just in a home LAN, than can be mounted (fuse or whatever else), doesn't require storing data twice, has a reasonable API and acceptable documentation.

    Does something like that exist?

    4
    [Meta] How is this community different from ProgrammerHumour?

    Both seem to post similar memes and jokes. This community doesn't have a sidebar text to clarify what the community is nor when to post what stuff where, and it's not clear why the community exists.

    10
    Any suggestions for a self-hosted CI that can also be run locally?

    I left Github a while ago and have been relying on simple pre-push scripts in my workflow, but would like to be able to test PRs from others without putting my machine at risk. Besides codeberg and radicle (neither of which have reliable CI), I also have a build machine, where I could run CI jobs, however it is important that the CI jobs can also run locally so that external people do not require access to the build machine.

    Is there a CI that can do those things (run locally and remotely)?

    Anti Commercial-AI license

    37
    Is serverside anti-cheat too difficult?

    Why do so many games rely on client-side anti cheat and stuff like kernel level anti-cheat?

    Anti Commercial-AI license

    13
    www.vice.com Mark Zuckerberg Says ‘Everything I Say Leaks’ in Leaked Memo

    Mark Zuckerberg is pissed that everything he says behind closed doors is leaked. How do we know this? Duh, because of leaks.

    Mark Zuckerberg Says ‘Everything I Say Leaks’ in Leaked Memo
    10
    Whats the difference between Neonephos and Eurostack?

    The Linux foundation announced "neonophos", but Eurostack has been around for a while. Why do these two exist separately and not together?

    1
    [Resolved] Is there a way to stop windows from grabbing attention in plasma6?

    I configured steam to open on a separate desktop using window rules, but it also grabs the attention and plasma will automatically switch to the desktop it opened to. Is there a way to stop that from happening?

    Steam opens 3 windows, so switching to another desktop will be reverted 3 times.

    Anti Commercial-AI license

    4
    Can anybody explain why CUDA and Rocm are necessary and why OpenCL isn't the solution?

    I've read multiple times that CUDA dominates, mostly because NVIDIA dominates. Rocm is the AMD equivalent, but OpenCL also exists. From my understanding, these are technologies used to program graphics cards - always thought that shaders were used for that.

    There is a huge gap in my knowledge and understanding about this, so I'd appreciate somebody laying this out for me. I could ask an LLM and be misguided, but I'd rather not 🤣

    Anti Commercial-AI license

    16
    element.io A difficult chat: Messaging apps in Australian government

    The Australian Information Commissioner (OAIC) produced an excellent report on consumer messaging apps within the Australian government.

    A difficult chat: Messaging apps in Australian government

    An analysis of an excellent report into the use of consumer messaging apps within the Australian government.

    0
    Rust is the New C

    In terms of its usability, not its deficits.

    1
    I miss Django (and its ORM + documentation)

    It's been a while since picking up rust, but until now, most of what I've written has been CLI tools, proc macro libs, and async networking stuff. Web/application servers have been kept at arm's length while waiting for something to come around like Django.

    For those not in the know, Django is a web framework written in Python. It's opinionated, extensive, has many features, and has stellar documentation. It's old too and had major problems taking advantage of (back them) python's new async capabilities as well as "new" technologies like WebSockets. Popular frameworks popped up in the meantime like Flask and FastAPI that do use new technologies and python language features like type hints, however nothing has really come to be quite like Django.

    Django's ORM

    As usual, there are camps when it comes to this, but I'm in the "keep SQL away from me" or "one language for all" camp. Django's ORM does a mighty fine job of doing so. It's possible to write a django application without ever seeing a line of SQL. It helps me immensely to just think about models, application logic, and presentation.

    Django allows defining your models in python, generating and handling database migrations, making complex queries of 1-1, 1-n, m-n relations without an SQL syntax, storing objects, locking rows, optimising queries (again without knowing SQL), and much more.

    Queries

    My favorite, powerful query simplifications are QuerySet.select_related() and QuerySet.prefetch_related(). An example of Queryset.select_related:

    This is useful for a tree of 1-n objects. An example from the documentation: a Book has an author (foreignkey) which is a Person (1-n), with a hometown (foreignkey) that is a City (1-n). An author can have written many books (n-1), a city can have many people (1-n).

    Say you wanted to find 10 books from an author that lives in "Marrakesh" with the associated objects (Book, Person, City). In Django that's

    ```py

    Hits the database with joins to the author and hometown tables.

    books = Book.objects .filter(author_hometown__name="Marrakesh") .select_related("author__hometown")[:10] book = book[0] person = book.author # Doesn't hit the database. city = person.hometown # Doesn't hit the database. ```

    QuerySet.prefetch_related() does the same for m-n / many-to-many relationships and some other queries (see doc). No messing around with SQL, just python.

    Migrations

    The ORM also takes care of generating and managing migrations for you. To me, that's a major plus as it offloads the need for me to think about whether a specific type exists in the DB of choice. Most of the time django will handle it transparently. There are even django extensions / apps to optimise more SQL query generation like adding views, or choosing which index to use for a specific type or table, and so on.

    Django's documentation

    If I'm not mistaken, it follows the diátaxis method of documentation

    !diataxis

    which fits the project very well and allows getting started with django very easily as well as finding good, low-level, in-depth information quickly. Many projects have documentation but it's everywhere and nowhere in terms of location (where to find specific things) and depth (high-level vs low-level), making it less optimal for beginners and experts alike. If you want to step up your documentation game, do give diátaxis a shot.

    What prompted this

    I'm currently 3 days into exploring the rust web framework ecosystem and banging my head against it. It's very commendable what people have written in their free time and shared with the world, so I will not disparage any projects here. It would just be really cool if a django-like, batteries-included project started or reached production quality sometime. The closest candidate I found is Cot.

    Cot started in June 2024 and is a long way from django's level but has already grown to something quite impressive. If time allowed it and the project weren't on GitHub, and had a matrix chatroom, it would surely get contributions from me. Here's the announcement on the main dev's blog, which reflects some of my frustrations with the current web framework ecosystem in Rust.

    Until Cot is ready, I'll probably be using axum for application server, diesel for the DB-glue, and possibly leptos, yew, or just plain Rinja. Unless of course somebody knows of a django-like web framework in rust that isn't on awesome-rust...

    Anti Commercial-AI license

    1
    Is there an in depth analysis of what's going on in the gaming industry?

    I've tried watching videos about it, but they are not analysing the reasons. Instead it's just whining about the symptoms and hypocrisy of rich CEOs firing employees then buying a yacht. We all know it's terrible, but my question is "why". "herp derp, capitalism" and "omg, it's the fucking CEOs" doesn't explain anything.

    4
    [Answered: cannot] How can we contribute to Lemmy code from outside github?

    I don't have a Github account after deleting it some time after it was ought by Microsoft. Given the rise of anti-US sentiment and calls to stop using their products, more people leaving Github might be a real occurrence. How can I and others who have left, are leaving, and will leave Github, be able to contribute?

    13
    github.com Financial situation of The Matrix.org Foundation · Issue #571 · matrix-org/matrix-spec

    Is there any place where financial reports of The Matrix.org Foundation are published? Like, summary of income through donations, who is currently employed by The Matrix.org Foundation and how are ...

    Financial situation of The Matrix.org Foundation · Issue #571 · matrix-org/matrix-spec

    As of 2025-03-02, the matrix foundation has not released a single financial report despite being a non-profit.

    2
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)ON
    onlinepersona @programming.dev
    Posts 166
    Comments 4.1K
    Moderates