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

help-circle




  • Faresh@lemmy.mltoProgrammer Humor@lemmy.mlOf course
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    1 month ago

    Is there any situation where you’d want to remember the opcodes? Disassemblers should give you user-friendly assembly code, without any need to look at the raw numbers. Maybe it’s useful to remember which instructions are pseudo instructions (so you know stuff like jz (jump if zero) being the same as je (jump if equal) making it easier to understand the disassembly), but I don’t think you need to remember the opcode numbers for that.

    Edit: Maybe with malware analysis where the malware in question may be obfuscated in interesting ways to make the job of binary analysis harder?



  • Faresh@lemmy.mltolinuxmemes@lemmy.worldOld XKCD, still relevant
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    2 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.





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


  • I wouldn’t trust ChatGPT with teaching me about some tool. It in my experience very convincingly spews out stuff it invented, and if one is still learning I can see it being hard to spot those errors. I use it to fix syntax errors in SQL queries, though, since I can’t be bothered to try understanding the not-so-helpful error messages I get with my queries, and because if chaptgpt tells a lie it will be caught by my syntax checker.

    So, I guess you can use it, if you always assume it to be trying to mislead you until proven to the contrary.




  • I never got the pipe analogy. Since liquid water can’t be compressed, wouldn’t the amperes be directly proportional to the volts and to the size of the pipe, assuming there are no air bubbles? Also, supposedly resistance only reduces current, but when I think of hair in a pipe, the pressure after the obstruction would also be lower (because pressure is directly proportional to the amount of water that flows)






  • Faresh@lemmy.mltolinuxmemes@lemmy.worldThat's LTT in the bottom
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    4
    ·
    4 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.