• 0 Posts
  • 28 Comments
Joined 3 years ago
cake
Cake day: March 25th, 2022

help-circle

  • Faresh@lemmy.mltoProgrammer Humor@programming.devof=/dev/sda
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 month ago

    echo and alias are both shell commands. If the shell is running (which it obviously still is), those commands should still work, as it does not involve reading data from disk, but from memory.

    Edit: I just noticed the picture said cd was not found, which is also a shell built-in. So, I don’t know.




  • Faresh@lemmy.mltolinuxmemes@lemmy.worldOld XKCD, still relevant
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    6 months ago

    This one, if by unix he also means modern linux systems. Nowadays you can simply use tar xf my-file.tar.whatever and it should work on most linux systems (it worked on every modern linux system I’ve tried and every compressed tar file I’ve tried). I don’t think it is hard to remember the xf part.


  • Something I’ve been for a while now is why this gender disparity is so strong in this specific area of engineering compared to all other engineering areas. People seem to claim it’s because of the “geek” stereotype, but that seems more like a symptom than a cause and I fail to see how it enforces this disparity, considering there’s nothing preventing a woman from being a geek too.


  • What I find interesting is that my bank has kind of the opposite stance. It allows you to do a lot more things if you login via their website and I think they overall trust your actions more if you do it over the browser, but you are required to pass a lot more security checks, while on the app a PIN is enough, but it also doesn’t allow you to do as much.


  • When using git and are working on a feature, and suddenly want to work on something else, you can use git stash so git remembers your changes and is able to restore them when you are done. There is also git add -p this allows you to stage only certain lines of a file, this allows you to keep commits to a single feature if you already did another change that you didn’t commit (this is kind of error prone, since you have to make sure that the commit includes exactly the things that you want it to include, so this solution should be avoided). But the easiest way is when you get the feeling that you have completed a certain task towards your goal and that you can move on to another task, to commit. But if you fail you can also change the history in git, so if you haven’t pushed yet, you can move the commits around or, if you really need to, edit past commits and break them into multiple.




  • Faresh@lemmy.mltolinuxmemes@lemmy.worldThat's LTT in the bottom
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    4
    ·
    8 months ago

    a beginner friendly distro should have the convention to install apps be by GUI instead of TUI, and guides should be updated to reflect this

    It is a lot harder (and less helpful) in a written guide to tell someone to press a button in menu such-and-such; telling someone to open the terminal and copy paste a command is easier.

    In addition (though I do not know if it applies so much to gui package managers) GUI apps also have the tendency to not have a stable interface, so a blender 2 tutorial will often not be useful for someone using blender 3, because the interface will have changed and buttons that were once in one place now are somewhere else or no longer exist. CLI programs for some reason are a lot more backwards compatible in my experience.

    I think GUI apps should ideally be designed to be usable without the user knowing where something is beforehand (though that is not always possible, like in complex software handling a lot of stuff a new user may not be familiar with, when they only want to achieve a certain specific goal), making mentioning how the UI works almost superfluous in those cases.



  • Faresh@lemmy.mltolinuxmemes@lemmy.worldditch discord!
    link
    fedilink
    English
    arrow-up
    10
    ·
    9 months ago

    Not defending it, but discord has an inbox menu, where you can see a list of messages that pinged you and jump to any of those messages. It is a button on the top right corner to the left of the question mark and to the right of the search field (desktop).


  • I think I will try Gomuks, since I now also tried Fluffychat, but scrolling felt weird and on a touchpad had the tendency to swipe left on messages to reply instead of scrolling down and I was unable to resize or close the channel info and channel list, or change its font size (there also appears to be no settings button). Maybe the CLI based clients will be more suited for me, since I also don’t mind using irssi for IRC (but it should be noted I also have no problems with graphical IRC clients like hexchat or others, which work perfectly fine on my machine).







  • This is very likely my very environmentally influenced view, but I think there was a period of time where being vegan was a trend among the health hipsters, who weren’t vegan due to ethics, but because either everyone else was doing it or because they claim it has massive health benefits like they did for paleo, keto or other diets. Those I think could indeed fit that stereotype. Or maybe I’m living in a fairy tale.