undu's recent activity

  1. Comment on I am disappointed by dynamic typing in ~comp

    undu
    Link Parent
    You've probably heard of OCaml, but I think it's worth mentioning. Rust's first compiler was done in OCaml, and the project was born to make a "C-like OCaml", this is because of OCaml's ML-like...

    At a fundamental level what I really want is a language that is all-pointers and has managed memory. Dealing with Rust memory constraints is annoying.

    You've probably heard of OCaml, but I think it's worth mentioning. Rust's first compiler was done in OCaml, and the project was born to make a "C-like OCaml", this is because of OCaml's ML-like syntax which feels off-putting to most people.

    On the bright side, you have a really robust type system, with inference, generalized algebraic datatypes (which are more expressive that the union you just described) along pattern matching; the uniform memory representation (most types are pointers, integers are the only exception); and the garbage collector is optimized for dealing with a big influx of allocations that this design causes. It has a heap for short-lived allocations, and another for long-term ones.

    Also the compiler is really fast and the binaries are quite optimized, they're comparable to Go, the tooling might not be there yet, because its academic roots, but now it's light-years ahead compared to 5 years ago, when I started using it.

    1 vote
  2. Comment on Android launchers in ~tech

    undu
    Link Parent
    I started using it around 2017 or 2018 and have never looked back. It's optimised for most-commonly used apps and search (app, contact searches, activities). I prefer it to the usual "search the...

    I started using it around 2017 or 2018 and have never looked back.
    It's optimised for most-commonly used apps and search (app, contact searches, activities). I prefer it to the usual "search the icon" workflow that the common launchers have.
    The only loss some people might feel is the lack of widgets, but I consider these a gimmick since launching any application is so fast anyway.

    2 votes
  3. Comment on Overwatch 2 devs fear story missions have been canceled in ~games

    undu
    Link Parent
    Maybe they've gone into unhinged mode more recently, but they started in 2010 with Starcraft 2 and its enshittification of multiplayer / battle.net: removal of local network multiplayer, lack of...

    Blizzard has gone full enshittify mode over the last 5 years.

    Maybe they've gone into unhinged mode more recently, but they started in 2010 with Starcraft 2 and its enshittification of multiplayer / battle.net: removal of local network multiplayer, lack of cross-region online play, mods coming late and with limitations, and other things I don't remember.

    8 votes
  4. Comment on Can anyone recommend a printer/scanner combo that works with Linux with no additional drivers? in ~tech

    undu
    Link Parent
    I have a Brother DCP-L2530DW, and the only requirement needed to connect it wirelessly with a computer is to enable mdns so the computer can receive the advertisement packets from the printer....

    I have a Brother DCP-L2530DW, and the only requirement needed to connect it wirelessly with a computer is to enable mdns so the computer can receive the advertisement packets from the printer. Then the communication happens over IPP both for printing and scanning, even if drivers might be available and you may use them.

    For printing I use CUPS, and for scanning I use Skanlite

    6 votes
  5. Comment on What's your go-to mono font? in ~tech

    undu
    Link Parent
    I Asdo use Iosevka. Because of it now I tend to stay away from non-narrow fonts, as I like the text to fit in its line. I have make my own builds in arch, with hand-picked shapes, using this...

    I Asdo use Iosevka. Because of it now I tend to stay away from non-narrow fonts, as I like the text to fit in its line.

    I have make my own builds in arch, with hand-picked shapes, using this package definition https://gitlab.com/unduthegun/ttf-iosevka-custom

    I probably should update it to the latest version, but it's been years that the font has been stable and only languages I don't use have been evolving

  6. Comment on As e-bike fires rise, calls grow for education and regulation in ~transport

    undu
    Link Parent
    I lived for some months in Oulu, and biked at -20°C there. while it's not pleasant, the fact that the infrastructure allows you to do it feels great. It even normalized cycling at around -10°C in...

    I lived for some months in Oulu, and biked at -20°C there. while it's not pleasant, the fact that the infrastructure allows you to do it feels great. It even normalized cycling at around -10°C in the middle of the night for me.

    5 votes
  7. Comment on <deleted topic> in ~health

    undu
    Link Parent
    Yes, excluding fruits and vegetables If people ate more fruit and vegetables they would eat less of everything else, there's a limit to how much a person can eat a day. This much should be pretty...

    Isn't the real big problem with diet in the US that Americans are eating too much of almost everything?

    Yes, excluding fruits and vegetables

    It seems very strange to phrase things in a way that suggests the problem is that we aren't eating more...

    If people ate more fruit and vegetables they would eat less of everything else, there's a limit to how much a person can eat a day. This much should be pretty obvious to everybody.

    7 votes
  8. Comment on Gaming on Linux - LTT Daily Driver Challenge Finale in ~games

    undu
    Link Parent
    Planetary Annihilation used to have a whole web browser embedded into the game to render the UI with the middleware Coherent UI (google's chrome twin, chromium, to be exact). This was the source...

    Planetary Annihilation used to have a whole web browser embedded into the game to render the UI with the middleware Coherent UI (google's chrome twin, chromium, to be exact). This was the source of most of these problems: browsers are extremely complex pieces of software (comparable to whole Operating Systems) and an unending source of bugs, especially when trying to go multiplatform.

    This is to say that Planetary Annihilation is a special case and not representative of the experience of most ports.

    5 votes
  9. Comment on The melancholy decline of the semicolon in ~humanities.languages

  10. Comment on Linus and Luke of LTT try to daily drive Linux in ~tech

    undu
    Link Parent
    I'm very disappointed on how System76 has been reacting to any conflicts with the wider linux community for years already. I started following their principal engineer, I expected insightful posts...

    I'm very disappointed on how System76 has been reacting to any conflicts with the wider linux community for years already.
    I started following their principal engineer, I expected insightful posts about new developments in the linux desktop space. Instead I unfollowed him before a month had passed because of all the attacks and drama flying around.

    I wish they could see that having conflicting ideas doesn't mean others are their enemies, or have bad intentions, and that differences are not insurmountable.

    7 votes
  11. Comment on A pint a day (30 Nov 1996) in ~food

    undu
    Link
    I find publishing article touting how good moderate consumption of alcohol is somehow good for the health outright irresponsible when a direct link to cancer is more than proven:...

    I find publishing article touting how good moderate consumption of alcohol is somehow good for the health outright irresponsible when a direct link to cancer is more than proven: https://www.cancerresearchuk.org/about-cancer/causes-of-cancer/alcohol-and-cancer/does-alcohol-cause-cancer
    It even admits at the end that alcohol is responsible for 30 thousand deaths anally in the UK while absolving moderate beer from this fact without any kind of proof.

    6 votes
  12. Comment on What unified login to use? in ~comp

    undu
    Link Parent
    I'm all for self-hosting services because I don't want to depend on the internet for some things. This means necessarily a self-hosted identity provider. If the existing solutions are too complex...

    It is "nimble enough" for a home lab (@undu) if you really need SSO. But I question the methodology of anyone who ends up in the situation that they need to use it for personal purposes (as opposed to providing a large service).

    I'm all for self-hosting services because I don't want to depend on the internet for some things. This means necessarily a self-hosted identity provider. If the existing solutions are too complex that means to me there is work to do to simplify those :)

    1 vote
  13. Comment on What unified login to use? in ~comp

    undu
    Link
    I'm also looking for an openID connect / SSO solution for my home lab, I don't want to start creating account for every service I decide to use. Back when I worked around authentication for an...

    I'm also looking for an openID connect / SSO solution for my home lab, I don't want to start creating account for every service I decide to use.

    Back when I worked around authentication for an organization keybloack was recommended as the way to easily and configure an identity provider with SSO. I don't know if it's nimble enough for a home lab or it's more of an enterprise solution.

    3 votes
  14. Comment on Notable developer Hector Martin "marcan" starts Patreon to fund Apple Silicon Linux port in ~tech

    undu
    Link Parent
    I think writing GPU drivers for the kernel from scratch is not a one-man effort. I'd like to be proven wrong, though.

    I think writing GPU drivers for the kernel from scratch is not a one-man effort. I'd like to be proven wrong, though.

    3 votes
  15. Comment on British plugs are better than all other plugs, and here's why in ~engineering

    undu
    Link
    After reading debates on this topic, the conclusion I reached is that they are indeed safer, but it's because they need to be safer to compensate for the fact that historically house wiring and...

    After reading debates on this topic, the conclusion I reached is that they are indeed safer, but it's because they need to be safer to compensate for the fact that historically house wiring and electrical configurations in Britain would be too dangerous without having this type of bulky plugs.

    After living some years in the UK I still prefer the practicality of EU plugs.

    5 votes
  16. Comment on Whale meat has seen an increase in sales this year in Norway – according to local whalers, demand has outstripped supply for the first time in half a decade in ~food

  17. Comment on Rocket League's free-to-play launch will be September 23, update coming tomorrow that will add cross-platform account linking and more in ~games

    undu
    Link Parent
    I got refunded on Steam, I had to try a couple of times to get it approved. I recommend you try the same.

    I got refunded on Steam, I had to try a couple of times to get it approved. I recommend you try the same.

    2 votes
  18. Comment on What are some beautiful/brilliant/inventive games that were panned by critics? in ~games

    undu
    Link Parent
    This mode was available in the original counter strike. Invisibility was also part of several mods for counter-strike (like warcraft rpg ones). I think a lot of people are not aware at how...

    But Killzone had other modes like Assassinate, where one player (out of 24!) is the target, and one team tries everything they can to kill this one player, and the target's team is supposed to protect him.

    This mode was available in the original counter strike. Invisibility was also part of several mods for counter-strike (like warcraft rpg ones).

    I think a lot of people are not aware at how innovative mods can be, sprawling entire genres on their own (tower defense, moba, autochess, battle royale)

    4 votes
  19. Comment on Rocket League is becoming free-to-play, and will no longer be available through Steam for new players in ~games

  20. Comment on Highlighting code with color can carry a huge amount of information, and there are many useful approaches other than just using it for syntax in ~comp

    undu
    Link
    I agree with author that regex-based syntax highlighting is not a good solution, I disagree that syntactic highlight is a waste of time as the two are not the same. tree-sitter has been adopted by...

    I agree with author that regex-based syntax highlighting is not a good solution, I disagree that syntactic highlight is a waste of time as the two are not the same.

    tree-sitter has been adopted by github to provide grammar-based code highlighting https://github.blog/2018-10-31-atoms-new-parsing-system/ and code search https://docs.github.com/en/github/managing-files-in-a-repository/navigating-code-on-github

    It's being integrated into other editors a plugins: https://marketplace.visualstudio.com/items?itemName=georgewfraser.vscode-tree-sitter
    https://github.com/nvim-treesitter/nvim-treesitter and even integrated into the core of neovim: https://github.com/neovim/neovim/issues/11724
    I hope that tree-sitter and LSP can cover a good part of the editor / language matrix and reduce a lot of the ad-hoc tools that exist in this space right now.

    4 votes