Skip Navigation

Posts
2
Comments
9
Joined
3 yr. ago

  • Deleted

    Permanently Deleted

    Jump
  • Both are right, depending on who you ask:

    most people see:

     
        
    8 / 2 * (2+2) = 16
    
      

    math people see "juxtaposition" instead of multiplication, it has precedence over multiplication and division:

     
        
    5 / 2a = 5 / (2 * a)
    
      

    Math notation just sucks and is not standard in general, everyone just tries to avoid ambiguity like in this equation.

  • Deleted

    Permanently Deleted

    Jump
  • +1 shitty superpower ideasI should really start writing them down at this point.

  • If you are me, there is no brain space for remembering new commands. I can already barely hold on to few dozens that I use often. And occasionally when I need "that one that does that niche thing... how was it?" program - I just sit there sifting through logs for couple minutes.

    Today it was od (tbh it's od almost half the time; not really the best name to memorize (I really need to make a note or something, so I stop forgetting it, lol))

    Also, for this reason I went to great lengths to keep my ~/.zsh_history protected from being randomly deleted/overwritten by mistake, as it happened a couple of times. Currently it's sitting at around 30_000 lines, oldest command is 2 years old.

  • I think it's ok to add this in a personal .zshrc, not on a distro level:

    If it breaks something - I'd probably know why and can easily fix it by removing alias/calling cat directly.

    Also, scripts almost always use bash or sh in shebang, not zsh. So it only triggers if I type cat in terminal.

    • zsh-autosuggestions
    • history | fzf
    • alias cat="bat --plain --theme=gruvbox-dark"
  • Uh...

    Jump
  • Same thing. Coding agents just automate the third step and waste even more money and energy.

  • Uh...

    Jump
  • Vibecoding:

    • go to chatgpt
    • ask it to make an app
    • ask it to fix errors (ad infinitum)
    • ???
    • sell app (optional)
    • get sued and ruin your reputation (hopefully)
  • Programming @programming.dev

    NimConf 2024 - October 26th at 11am UTC

    conf.nim-lang.org