Skip Navigation

Posts
3
Comments
124
Joined
2 yr. ago

    • Argon2
    • USB
    • Hotwheels sysiphus
    • Error detection and correction
    • ISO 8601
    • Standard Streams
    • Subset
    • ENIAC
    • WYSIWYG
  • mischievous, even

  • brazilian french bread with salami

  • I've already finished it, but House of Leaves is amazing

  • Buffalonian buffalo [who] Buffalonian buffalo bully, bully Buffalonian buffalo

    for me splitting the groups made the sentence make sense: NJ people NY people bully, bully NY people

  • I've read and so many times now it doesn't look like a word anymore

  • I have several breathing problems with my nose and some inside bits. I always just thought breathing with your mouth was considerably easier, but people can't do it because it's not elegant.

    Now I'm trying to get the surgery covered

  • wait POS doesn't mean piece of shit??

  • I made this one to find binaries in NixOs and other systems

     bash
        
    get_bin_path() {
            paths=${2:-$PATH}
            for dr in $(echo $paths | tr ':' '\n') ; do
                    if [ -f "$dr/$1" ] ; then
                            echo "$dr/$1"
                            return 0
                    fi
            done
            return 1
    }
    
      

    Then I made this one to, if I have a shell o opened inside neovim it will tell the neovim process running the shell to open a file on it, instead of starting a new process

     bash
        
    _nvim_con() {
            abs_path=$(readlink --canonicalize "$@" | sed s'| |\\ |'g)
            $(get_bin_path nvim) --server $NVIM --remote-send "<ESC>:edit $abs_path<CR>"
            exit
    }
    
    # start host and open file
    _nvim_srv() {
            $(get_bin_path nvim) --listen $HOME/.cache/nvim/$$-server.pipe $@
    }
    
    if [ -n "$NVIM" ] ; then
            export EDITOR="_nvim_con"
    else
            export EDITOR="_nvim_srv"
    fi
    
      

    Lastly this bit: which if it detects a file and a line number split by a : it will open the file and jump to the line

     bash
        
    _open() {
            path_parts=$(readlink --canonicalize "$@" | sed s'| |\\ |'g | sed 's/:/\t/' )
            file=$(echo "$path_parts" | awk ' { print $1 }' )
            line=$(echo "$path_parts" | awk ' { print $2 }' )
    
            if [ -n "$line" ] ; then
                    # has line number
                    if [ -n "$NVIM" ] ; then
                            $(get_bin_path nvim) --server $NVIM --remote-send "<ESC>:edit $file<CR>:+$line<CR>"
                            exit
                    else
                            $(get_bin_path nvim) --listen $HOME/.cache/nvim/$$-server.pipe $file "+:$line"
                    fi
            else
                    $EDITOR $file
            fi
    }
    
    alias nvim="_open"
    
      

    all of my bash config is here

  • I agree that forcing return to office is either stupid or harmful. But I do like the people I work with, and not seeing them anymore would be saddening

    The solution is obvious though, simply allow choice

  • Oh yeah, 100%

    No, that's the entire curriculum [...]

    I was asking about what country has US meddling as a considerable fraction of the curriculum

  • Which country?

    In Brazil there have been several pretty important meddlings, but at most the schools say that there where "several parties involved"

    Like our dictatorship, where I'd only learnt "other countries incentivized the coup"

  • Fuck it.

    today's freezing, but I'll go to the gym too :)

  • o, a, os, as for "the"

    um, uma, uns, umas for "a"

    both lists mean: singular masculine, singular feminine, plural masculine, plural feminine.

    and if the gender is unknown or mixed you use the masculine

  • Why would 2580 be common?

  • I don't use VSCode, so I may be wrong, but I think it has version control integration out of the box (maybe just for git), an with it you can review merges and stuff

    I'll try this today and comeback here

  • While the actual speed police said you are already over the limit

    god I don't understand speeding

  • that makes sense

    but in this case, the bank, or whatever good site, would probably not even allow non-TLS connections

    and if the mesh necessitates TLS only on an exit node*. Then yeah, that's a stupid and flawed network. And it also wouldn't be transparent (in the sense of using just like a normal ISP)

    *I'm not sure how it connects to the rest of the internet, but assuming there are exit nodes that connect to other networks

  • So... an organic woman

  • 196 @lemmy.blahaj.zone

    The perfect rule for fasting

    Programmer Humor @programming.dev

    Hand over your javascript, we have you surrounded

    AnarchyChess @sopuli.xyz

    Most stable relase of chess