• 0 Posts
  • 140 Comments
Joined 2 years ago
cake
Cake day: June 17th, 2023

help-circle



  • Important part from the article, not all VPNs are equal:

    Instead, the authors recommend using paid VPNs, which are generally considered to be more reliable and secure. For example, no serious privacy or security issues were found with Lantern, Psiphon, ProtonVPN or Mullvad.

    VPNs are not a magic bullet. They are at best a transfer of trust from your IPS - which in a lot of cases you have little to no control over and also very little trust in.

    Picking a well trusted VPN can improve things, picking a bad one can make your situation worse. And there are more important things that you need to worry about first before a VPN will really help at all.


  • I personally hate global menu bars. They do not work with focus follows mouse. The way menus currently work is fine for me and I would not want to lose that to, IMO, a much worst system. Any global menu implementation would need to be able to be disabled and better to have it off by default. And I would rather see effort in developing other features personally - though mostly as I would never use this feature.


  • nous@programming.devtoLinux@lemmy.mlTar did a weird thing today
    link
    fedilink
    English
    arrow-up
    29
    arrow-down
    1
    ·
    edit-2
    2 months ago

    * in your commands is expanded by the shell before tar sees them. It also does not expand hidden files.

    So when you do admin/* the shell expands to all non hidden files inside admin. Which does not include admin/.htaccess. So tar is never told to archive this file, only the other non hidden files and folders. It will still archive hidden files and folders nested deeper though.

    In the second example * expands to admin and the other does which are not hidden at that level. Then tar can open these dirs and recursivly archive all files and folders including the hidden ones.

    You can see what commands actually get executed after any shell expansions if you run set -x first. Then set +x to turn that off again.

    Here is an example using ls:

    $ set -x; ls -A foo/*; ls -A *; set +x
    + ls --color=tty -A foo/baz
    foo/baz
    + ls --color=tty -A foo
    .bar  baz
    + set +x
    


  • There are quite a few downsides to what the author proposes as well that they did not consider. If you store code in an intermediary format then every tool that needs to interact with that code needs to understand that language. Back when ada was out that might not have been a big issue. It has a dedicated IDE, lots of languages did. There was no real source control either, at least not like today.

    To do that today, does not matter if the source is some binary format or minified it would need to be understood and processed by so many different tools. Just the source control alone, GitHub, bit bucket, gitlab, etc, all editors and idea, simple cli tooling like grep and sed. All would be much more of a pain to work with.

    IMO it is much nicer to just work with a nicely formatted code to start with. And have your editor auto format things so you don’t need to think about it. Then all downstream tools don’t need to care about or understand the language you have chosen to use.





  • Don’t think any game has the same support doom has. Doom has become a benchmark of sorts so gets ported to the strangest of places. Not normally places you would bother to port any game. It is done for the challenge of the port rather than any practical reason.

    There are tonnes of games that could run in the same places as doom, many could run in far more places. But doom is complex enough to be an interesting challenge while being simple enough to run on very limited hardware. And has been open sourced while being a classic icon which makes it attractive to be a benchmark for getting to run in the weirdest of places.


  • Even if true, SIMD is doing the heavy lifting here. Probably followed by the fact that almost any rewrite of a code base will result in performance improvements due to the nature of being more familiar with the domain and where the bottle necks are. I would be surprised if the assembly was responsible for more then about 1% of the gains here. So why highlight the fact assembly was used here? It is just missleading. If you want to show how ASM is so much better you need a much better example then this. For all we know the use of ASM could have made things slower and harder to develop. There is just no details at all as to why ASM is beneficial here except some author seems to love it.





  • nous@programming.devtoProgramming@programming.devEverything web based
    link
    fedilink
    English
    arrow-up
    77
    arrow-down
    1
    ·
    4 months ago

    For a lot of things I would rather have something web based than app based. I hate having to download some random app from some random company just to interact with something one time. Why do all restaurants, car parking places etc require apps rather than just having a simple site. Not everything should be native first IMO.