Skip Navigation

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/)EX
Posts
0
Comments
457
Joined
2 yr. ago

  • The similarities are superficial at best. The only thing similar is that it uses braces for attribute sets (objects) and square brackets for lists. And I guess quotes for strings.

    But otherwise it's a full (functional) programming language, with functions, variable bindings, etc.

    Flakes aren't perfect, but they are really good for ensuring that you have completely reproducible builds since the version used for every dependency is pinned.

  • "Lemmy" (the software) doesn't have any data. It all resides on servers owned by people other than Lemmy's developers. They have the user data and would absolutely be subject to GDPR.

    Again, no matter what Lemmy's devs put in place, it doesn't matter because the instance admins can do whatever they want.

  • GDPR is really designed to target software controlled by a single entity, but this isn't that. The instances are responsible for their content, full stop. There's no way of forcing an instance to delete content, and even if there were, since the admins are running it, there's nothing stopping them from removing such a feature.

    There's also nothing stopping admins from deleting content from their servers (it's just a database, after all).

  • There are many strategies for maintaining test environments for that kind of thing. Read-only replicas, sampling datasets for smaller replicas, etc. Plenty of organizations do it, so it's not really an excuse, imo.

  • Rust does a lot more than that. It has a far more powerful, flexible, and higher-level type system than Java all while being much more performant.

    Every single time I've heard people cite Java's ecosystem, I've yet to see them using anything that Rust doesn't have a better alternative to. Java's ecosystem is massive, but most of the time, you don't actually need it. Unless you are doing a lot of third party integrations that have Java sdks or something, there's not a lot it buys you. If you're just making typical web applications with a database, Rust has you completely covered and will do a better job of it to boot.

  • That is rapidly changing. More and more huge tech companies are spinning up sizable Rust teams. Rust is basically at the place Go was a few years ago. It's on the verge of becoming mainstream and has a huge community behind it.

    I personally view sublinks as pretty pointless and short-sighted. It is frankly not that hard to pick up a new language and contribute to a project for an experienced developer, so I see little reason to try to rewrite it if nothing new is really being offered. If you look at the GitHub of each, sublinks does not have more contributors or anything like that, so the value proposition seems dubious at best.

  • https://en.m.wikipedia.org/wiki/Regular_language

    HTML is famously known for not being a regular language. An explanation isn't required, you can find many formal proofs online (indeed, a junior year CS student should be able to write a proof after their DS/algo/automata classes).

    This very old post is funny because despite it being so famously known as being irregular, stack overflow questions kept popping up asking how to use regular expressions to parse HTML, which you can't do.

  • Umm, you do realize no one manually enters all of the spaces, right? Basically all editors support an expandtab feature which inserts the amount of spaces you want whenever you hit the tab key.

    Code formatters behave exactly the same regardless if you're using tabs or spaces, so not sure what you're talking about.

    I did not miss the point. I fully understand that's why people want tabs. I just think it's a pretty stupid and petty reason to make for a worse experience when viewing code in places you don't control. I still don't know why using spaces is an issue when we enforce standards in literally every other facet of contributing to a codebase. We enforce coding styles. Indentation is part of the coding style.

  • This is simply false, many systems have them configured by default to 8, particularly most CLI tools. Git, for example, is 8, and btw, changing it is not readily done and requires you to hack around it by using a custom pager command. In fact, all core gnu utils (and even bash itself) default to 8, as well vim, emacs, nano, gedit, etc.

    I use 2 spaces since I work in Haskell, which is a significant whitespace language where you want certain syntactic constructs to exist at a different level of indentation from your main code block. So yes, I have configured it. 2 spaces is also exceedingly common for HTML (browser Dev tools renders HTML with 2 spaces, even).

    There is not a universal indentation width, though it is almost always universal within a particular language or perhaps project, in which case it's much better to have everything standardized. Code formatters enforced on a project are the norm, and those are way more impactful on how the code is read. But they are valuable because consistency is valuable. And yet, somehow you don't have huge scores of developers complaining about being forced to format their code in a way they don't like.

    As I said, you don't necessarily control the environment in which you are viewing code. A common example is reading code over a shared screen. So you can easily end up reading code in a way you don't like anyway, so it may as well be some reasonable (if not preferable) standard that everyone is using.

  • Code can be viewed in more than just an editor. It might be in a terminal, rendered in a browser, etc. Sometimes you might even have to view it in an environment you don't control. I am very disinterested in configuring each and every tool to have sensible tabstops, if such a tool can even be configured.

  • For an adult? Nah. You can certainly kindly let them know that this isn't really gonna work and explain why (and let them know you appreciate the effort), but the rest of it is way overkill and could easily be seen as patronizing, imo. They're an adult, not a 13 year old.

    Also, I interpreted the OP as finding it humorously absurd (which it is) rather than being frustrated or anything.

  • With a quick search on Zillow for Lincoln, Nebraska (~300k pop college town), cheapest I can find is $90k for a 1 bed/1 bath 500 sqft condo. $100k for a 1 bed/1 bath 500 sqft house, though technically that's a foreclosure so you might not consider that to count. The cheapest normal house for sale that I can find is $110k for a 2 bed, 1 bath 1500 sqft house. It's an older home, but actually a pretty decent location (close-ish to downtown).

  • It's not the case that viruses can't exist on Linux, it's just very improbable through normal usage. The key difference is that the overwhelming majority of software installed on Linux is through a package manager, which is a tool that downloads software from a maintained, trusted, and vetted repository of software. So instead of googling "Firefox download", clicking on (hopefully) the right link (and getting this right gets harder and harder with Google fucking up search results), and downloading the software from the website, you simply execute a command in your terminal like apt install firefox (for Debian-based systems, command can vary by distro you're using) and it pulls the software from a trusted repository. This alone eliminates the most common attack vectors, since usually Windows users get viruses by downloading random executables off the internet.

    Generally, the way you get viruses on a Linux system are through finding/exploiting vulnerabilities in software which is very hard to pull off generally and are usually resolved fairly quickly once they're discovered (And of course, Linux is not unique in this respect, any computer can be target of such attacks).