undu's recent activity

  1. Comment on 90% of US has a poor diet, and 25% doesn’t exercise 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
  2. 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
  3. Comment on The melancholy decline of the semicolon in ~humanities

  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. Comment on British plugs are better than all other plugs, and here's why in ~design

    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
  10. 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

  11. 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
  12. 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
  13. Comment on Rocket League is becoming free-to-play, and will no longer be available through Steam for new players in ~games

  14. 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
  15. Comment on NHS publishes source code for UK contact tracing app in ~comp

    undu
    Link
    I'm more worried about what they can do on the server side than the fronted application, which is the main point against a centralised system. This action does nothing to assuage the initial...

    I'm more worried about what they can do on the server side than the fronted application, which is the main point against a centralised system.

    This action does nothing to assuage the initial criticism and nothing more than a PR attempt to signal "transparency" and "openness" to the media and the uneducated public.

    3 votes
  16. Comment on Microsoft Word now flags two spaces after a period as an error in ~tech

    undu
    Link Parent
    I think writing a text and putting in to paper or the screen are two separate matters and there's no need to intertwine both. For example text alignment is something I don't see many people doing...

    I don't want a bunch of squiggly lines appearing because the developers don't like how I format things

    I think writing a text and putting in to paper or the screen are two separate matters and there's no need to intertwine both.

    For example text alignment is something I don't see many people doing manually. Even when writing code people try to use text formatters so they don't have to do it themselves.

    https://en.wikipedia.org/wiki/Separation_of_content_and_presentation

    2 votes
  17. Comment on Effective developers leverage their toolset in ~comp

    undu
    Link
    There are helpers that help manage virtual environments, activate them, list them, delete them, etc. I reccomend using that as aliases is a fragile approach. I use virtualfish, for example. One...

    $ alias pvenv
    alias pvenv='/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -m venv venv && source venv/bin/activate'
    $ alias ae
    alias ae='source venv/bin/activate'
    [...]

    There are helpers that help manage virtual environments, activate them, list them, delete them, etc. I reccomend using that as aliases is a fragile approach.

    I use virtualfish, for example. One that works on bash is pyenv-virtualenv

    $ alias howdoi
    alias howdoi='cd $HOME/code/howdoi && source venv/bin/activate && howdoi'

    Again, aliases are very fragile, use pipx instead. It allows to keep python programs updated in their own virtualenvs while keeping symbolic links to ~/.local/bin, it even has a command to ensure that directory is in $PATH for a seamless integration with any shell interpreter.

    Till somebody suggested ag (aka The Silver Searcher) and my dev life became so much better.
    Although the name is horrible, fd is a much friendlier alternative to find. I also recommend ripgrep over ag, it's much faster.

    1 vote
  18. Comment on The laptop market is in an atrocious state in ~tech

    undu
    Link
    I'm really happy with the dell latitute I got from work 4 years ago, I would expect them to still be better in repairability than the XPS and never had any problems with them regarding hardware,...

    I'm really happy with the dell latitute I got from work 4 years ago, I would expect them to still be better in repairability than the XPS and never had any problems with them regarding hardware, although I don't think coreboot can be installed.

    4 votes
  19. Comment on Warcraft III: Reforged - Developer update, including plans for upcoming changes and some concerns that will not be addressed in ~games

    undu
    Link
    Such a tragic way to kill the community around Warcraft 3. Instead of the "we cannot support" shtick and declare ownership of any and all community content they could have released the server-side...

    Such a tragic way to kill the community around Warcraft 3.

    Instead of the "we cannot support" shtick and declare ownership of any and all community content they could have released the server-side for the community to host and continue the online side.

    I guess execs are simply to greedy to give anything to the community.

    2 votes
  20. Comment on What git commands do you use frequently that you think more people should use? in ~comp

    undu
    (edited )
    Link
    I consider git unusable without aliases. They are configured using the file ~/.config/git/config. I really prefer aliases to have memorable names for common operations in my git workflow. For...

    I consider git unusable without aliases. They are configured using the file ~/.config/git/config.
    I really prefer aliases to have memorable names for common operations in my git workflow.

    For example for your first command I use:

    [alias]
    # git patch -> stage a file by pieces
      patch = "add --patch"
    

    I also have a series of aliases to print lists about git objects, such as branches, remotes, etc:

    # git contributors -> list contributors of a file
      contributors = "shortlog -s -n"
    
    # git branches -> show branches
      branches = "branch -vv"
    
    # git remotes -> show remote repos
      remotes = "remote -v"
    
    # git tags -> show tags
      tags = "log --oneline --decorate --tags --no-walk"
    
    # git stashes -> show stashes
      stashes = "stash list"
    
    # git changes -> show unstaged changes
      changes = "diff --diff-algorithm=minimal -w"
    

    As a handy way to print the aliases that I have configured in the sistem I have

    # git commands -> show list of the aliases in this file
      commands = "!git config -l|grep alias|cut -c 7-"
    

    All the aliases I use can be found in https://gitlab.com/unduthegun/dotfiles/blob/master/git/.config/git/config#L74

    5 votes