Is there a programming specific distro?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA
    matcha_addict
    3w ago 100%

    What does a programmer need?

    • a text editor or IDE
    • language specific tool chains for building, running and testing your code

    This doesn't seem to be something a distro can solve beyond making it possible to install this stuff.

    Maybe the closest is nixos, because it allows a lot of flexibility in setting up different development environments that are fully reproducible. Gentoo is also close, as it allows the same but in a different way (without the extent of reproducible guarantees).

    8
  • A word about systemd
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA
    matcha_addict
    3w ago 100%

    Two questions:

    • do you admit that, comparing only its functionalities as an init system, systemd provides no benefits over alternatives?
    • what non-init functionalities does systemd provide, which are necessary and beats competition from other software that provides those features?

    Sure, the alternative init systems don't provide non init functionalities, but other software probably does.

    1
  • A word about systemd
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA
    matcha_addict
    3w ago 100%

    Not how I understood it. Rather, there are alternatives that have potential to be better than systemd, but systemd has the unfair advantage of receiving the funding and manpower.

    If alternatives had equal manpower, they may have had better success than systemd.

    1
  • Tor and Tails Merge to Fight Global Surveillance and Censorship
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA
    matcha_addict
    3w ago 94%

    Don't entirely discount a project only because it is funded by the US government. Do take that as a big yellow flag, but not auto reject. Better to just asses the project for what it is with caution.

    I find it much more likely that the US government has a huge interest in giving the public access to secure communication software that would be unbreakable by surveillance from a typical government. Why? Because those are the governments that are enemies of the US, and where the US is interested in regime change. And the existence of this software is much more influential towards regime change in those countries, rather than being threat to the US.

    In fact, these softwares are barely a threat to the US. The US has no issue with them existing because they have such a powerful hold on their state.

    17
  • Hezbollah strikes key Israeli bases in defense of Lebanon, its people
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA
    matcha_addict
    4w ago 100%

    I don't really trust these random sites. If you don't have evidence to show me then I will respectfully dismiss your claims, as I follow Al-Mayadeen myself and know their reporting well.

    9
  • Hezbollah strikes key Israeli bases in defense of Lebanon, its people
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA
    matcha_addict
    4w ago 95%

    Do you have evidence of Al Mayadeen lying or falsely reporting something?

    They are biased in the sense that they amplify resistance voices where mainstream media crushes those voices. But I have never seen them falsify reports.

    21
  • Why I Prefer Exceptions to Error Values
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA
    matcha_addict
    1mo ago 100%

    Can you please demonstrate how async workflows and monads resolve this issue?

    Wouldn't effect systems still be considered exceptions, but handled differently?

    5
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearUS
    Jump
    Trump says he won't debate Harris again
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA
    matcha_addict
    1mo ago 100%

    It would be in his interest to debate again and recoup the loss. With a bit of coaching he can probably bridge the gap a bit (but Harris would likely still come on top). Harris only looked good in comparison, but she was overall still pretty awful.

    2
  • Mbin instances
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA
    matcha_addict
    1mo ago 100%

    Even if I disable account registration, I may still be liable if somehow the content ended up on my instance due to federation right? Or is that not a concern?

    2
  • Today I removed Firefox (sad day)
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA
    matcha_addict
    1mo ago 100%

    Aren't some of these just Firefox pre configured plus some plugins? Wouldn't you get the same result by just configuring Firefox in a similar way?

    3
  • Mbin instances
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA
    matcha_addict
    1mo ago 100%

    Is there a still a concern for self hosters of public instances regarding CSAM content? And if so, any guidance on how to mitigate it?

    I am very interested in self hosting, but I am worried of its legal repercussions, especially since I am an immigrant in the country where I live and afraid to get in any legal trouble.

    2
  • linux
    Linux 1mo ago
    Jump
    BSD Vs. Linux
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA
    matcha_addict
    1mo ago 100%

    What's the benefit? You listed some minor things like ZFS and systemd, but is there a major benefit?

    Also, can't you do that with Linux? I use openRC on gentoo.

    4
  • linux
    Linux 1mo ago
    Jump
    BSD Vs. Linux
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA
    matcha_addict
    1mo ago 87%

    I've heard BSD people criticize Linux ecosystem as "fractured", and this discourages me from BSD. I see Linux ecosystem as one that grants you choice, and I love that. This criticism gives me the impression that BSD takes that away, that where will be one standard way to do many things. Maybe I am wrong or misunderstood.

    6
  • I am sure it was discussed here before, but I can't find a good way to search this community. Are there any arguments against having a user's identity federate, and be compatible across platforms? For example, let us say I sign up with my instance, matcha_addict@lemy.lol But what if I go on mastodon, and I want to have my own micro blog. Or maybe go to write freely and post some blog posts. I'd have to make a different account on each one. What if mastodon or write freely could just let me log in with my lemmy account (or lets call it federated account). This has several benefits: - users don't have to scratch their head on if I am the same person or not across these platforms - theoretically, someone following my feed can get updates on what I do on multiple platforms Now I understand this would be difficult to implement and iron out all the edge cases, but am I missing anything on why it wouldn't be a desirable feature, given it is implemented?

    70
    66

    From a practical sense, ActivityPub may be the obvious choice as it gives easier interop with the largest federated platforms. But what else? There are existing platforms built on these protocols, such as movim for xmpp, and another for matrix I forget. From a technical standpoint, are there any major pros and cons?

    32
    19

    I heard often about activityPub being challenging to implement. Now I know part of this is because, if you are building on activityPub, you want interop with existing platforms such as mastodon, and they do their own thing. But ignoring that aspect, what is so hard about activityPub? What could have been done better? I am a software developer, so feel free to use software dev concepts and terms when explaining. Thanks!

    65
    4

    Lemmy developers have said there are no near plans for allowing users to follow mastodon or other activityPub networks, so I'm considering another platform that can do this. It looks like mbin, Piefed and FediLab have the ability to do this. Has anyone tried them and have a comparison? I also heard it may be possible to do from just mastodon-like platforms. Anyone tried this?

    92
    30

    I know they're quite different technically. But practically, what does ActivityPub unlock that was not previously possible with RSS and basic web tech stack? I think I have an idea of the answer. RSS may provide a way for users to "subscribe" to content from a feed, equivalent of following and putting it in a unified feed. But it does not have a way for users to interact with the poster, like comments or likes. This may be possible with a basic web stack though, but either users will have to make accounts on every person's site, or the site has to accept no user auth. (but this could be resolved with a identity provider standard, like disqus does) I suppose another thing activityPub does is distribute content to multiple servers. Not sure if this is really desirable though? Anyways, did I miss anything?

    69
    41

    I recently learned about nsjail, a utility to sandbox applications or provide workload isolation. It seems to be lighter weight than firejail and possibly better suited for server applications. Has anyone used this? What's your experience with it? I'm curious about using it for my web server applications as an additional layer of Dr hotty.

    16
    9

    Is there any fediverse client out there (mobile or pc or web) that has support for multiple types of content, rather than just for one? Most apps I find are only mastodon-like (including pleroma etc.), or only lemmy-like, or only peertube-like. One of the main benefits of the fediverse is that I could theoretically access all of those from one platform. But the clients I saw don't seem to support it too well.

    75
    23

    Is there any fediverse client out there (mobile or pc or web) that has support for multiple types of content, rather than just for one? Most apps I find are only mastodon-like (including pleroma etc.), or only lemmy-like, or only peertube-like. One of the main benefits of the fediverse is that I could theoretically access all of those from one platform. But the clients I saw don't seem to support it too well.

    14
    5

    Hi all, I found a hobby in trying to secure my Linux server, maybe even beyond reasonable means. Currently, my system is heavily locked down with user permissions. Every file has a group owner, and every server application has its own user. Each user will only have access to files it is explicitly added to. My server is only accessible from LAN or VPN (though I've been interested in hosting publicly accessible stuff). I have TLS certs for most everything they can use it (albeit they're self signed certs, which some people don't like), and ssh is only via ssh keys that are passphrase protected. What are some suggestions for things I can do to further improve my security? It doesn't have to be super useful, as this is also fun for me. Some things in mind: - 2 factor auth for SSH (and maybe all shell sessions if I can) - look into firejail, nsjail, etc. - look into access control lists - network namespace and vlan to prevent server applications from accessing the internal network when they don't need to - considering containerization, but so far, I find it not worth foregoing the benefits I get of a single package manager for the entire server Other questions: - Is there a way for me to be "notified" if shell access of any form is gained by someone? Or somehow block all shell access that is not 2FA'd? - my system currently secures files on the device. But all applications can see all process PIDs. Do I need to protect against this? ## threat model - attacker gains shell access - attacker influences server application to perform unauthorized actions - not in my threat model: physical access

    65
    36

    The telegram app has a very nice interface, but I want to use a self hosted xmpp chat server. Is there maybe a fork of telegram that makes it work with a self hosted xmpp server? I would imagine that this is possible. If not, is there anything that at least gets close to how nice telegram UI is?

    27
    25

    Sorry, the question in title sounds naive. I have no doubt that math is essential in programming, but I am thinking about philosophy of programming and want to summarize when they're needed in programming. My attempt is below: Most applications of programming are making electronics do things through their interfaces. Whether that's telling a screen to display something, a network wire to transport data, a hard disk to persist data. But we often need math because we often transform data, or we might make said electronics do things based on user input, or an event. Transforming an event to data is a mathematical construction. Some applications are almost purely mathematical, like banking, crypto currency, or encryption. In your opinion, does this fully explain why we need math in programming? Is there a better way to sum it up?

    18
    11

    Hi all, I am looking for a local database that is easily accessible via the command line. It can be SQL or non-SQL Whats my use case? I want to use it kinda like a second brain. A place to save ~~my notes~~, my todo lists, my book reading lists, links / articles to read later, etc. I want it to be a good CLI citizen so that I can script its commands to create simpler abstractions, rather than writing out the full queries every time. Maybe sqlite is what I need, but is that ideal for my use case? Edit: removed notes, as evidently they aren't suitable for this and aren't like the rest.

    68
    57

    I am thinking to make the following tool, but wanted to get opinions before I embark on this journey. The tool builds container images. The images are optionally distroless: meaning, they do not include an entire distro. They only include the application(s) you specify and its dependencies. What else does the tool give you? - the build tool uses a package manager to do dependency resolution, so you don't have to manually resolve them like many docker files do. (NOTE: The package manager is not installed on the container image. It is only used by the build tool) - uses gentoo's portage to build the software from source (if not previously cached). This is helpful when you're using versions of software that aren't built against each other in the repos you download from - allows specifying compile flag customizations per package. - makes use of gentoo's existing library of package build or install recipes, so that you only have to write them for uncommon apps rather than in every docker file. I find it crazy that so many dockerfiles are doing their own dependency resolution when we already have package managers. What do you think? Is this tool useful or am I missing a reason why it wouldn't be?

    24
    12

    This instance performs spectacularly. Admin is always on top of everything. No drama, and I have high confidence that this instance won't disappear without notice. Our admin does not get enough appreciation, so big shoutout and thanks for your hard work ❤

    30
    4

    I understand that nvidia support for wayland is lacking, but I know it's possible. For context, I was using sway 1.8 for a while (no official support for nvidia). It was working almost perfectly, only minor issues. After the update to 1.9, I get constant flickering. I can downgrade to 1.8, but the fact that 1.8 was working tells me that it is possible for a window manager to work well for nvidia. The problem is the sway team does not want that headache (understandably so). Are there any alternatives that work well with nvidia?

    22
    16

    Bspwm has many appeals, and I do not want to focus on those. I want to focus on binary-tree separation of windows and its benefits vs alternatives. What's the appeal? For comparison, Sway and i3 allow for the v-split and h-split layout, so you can have 2 or more windows split side by side. You can nest them, so it is sort of an n-ary tree. It feels a lot more powerful. So why the binary tree? The others seem richer and more capable. Bspwm is marketed as more powerful than i3 but it seems the other way around?

    15
    2

    I am looking to program something similar to a simulation game, but free-form in its customization and scripting to the point where no strategy game will get me close enough. I initially thought to start from scratch, simulating all the basics. Simulating money, people, resources, maps, etc. Obviously this is very ambitious. Are there any libraries or frameworks that could help me with this? I don't want something opinionated that decides the model for how to simulate, for example, money or a person. I want to preserve the ability to simulate those with the models and math of my choosing. But maybe a library that has the foundations of simulation in general, so that I don't have to build everything completely from scratch? I understand what I said sounds very vague. This will be something I will discover as I do more of it, so forgive the vagueness.

    20
    6

    I am building an application that is using JSON / XML files to persist data. This is why I indicated "outside of SQL" in the title. I understand one benefit of join tables is it makes querying easier with SQL syntax. Since I am using JSON as my storage, I do not have that benefit. But are there any other benefits when using a separate join table when expressing a many-to-many relationship? The exact expression I want to express is one entity's dependency on another. I could do this by just having a "dependencies" field, which would be an array of the IDs of the dependencies. This approach seems simpler to me than a separate table / entity to track the relation. Am I missing something? Feel free to ask for more context.

    32
    22

    I like tasks.org but unfortunately it doesn't look like this will come any time soon. Plus points: - if the task can be assigned to multiple sub-lists (or projects, buckets, etc).

    16
    7

    I want a to-do list app that syncs from a json file (or other human-readable data format), so that I can view and modify the file (via a CLI like `jq`) from my computer too, and it would still reflect on my phone when it syncs. Does this exist? Preferably it uses a format simple enough that makes it possible / easy to modify it via jq.

    36
    9