PoolloverNathan

joined 1 year ago

I just had to add URL-encoded TOML to something due to a certain Rust crate's constraints.

[–] PoolloverNathan@programming.dev 5 points 1 day ago (2 children)

Someone's handed me nested base-64 encoded JSON before and to this day I am moderately annoyed at them.

Oh, that's annoying. Works fine on Voyager for me.

[–] PoolloverNathan@programming.dev 4 points 6 days ago (2 children)

Same for users — just change the ! to an @.

Example: @pageflight@lemmy.world

[–] PoolloverNathan@programming.dev 7 points 1 week ago (1 children)

Why not factor out the ! via de Morgan's laws (which would also remove most of the parentheses, as iirc && binds tighter than ||)? Also, does that language have a {#continue} sort of syntax for loops? If so, you could make it a guard clause.

Mobile Firefox. The swipe menu is empty on Niagara.

[–] PoolloverNathan@programming.dev 1 points 2 weeks ago (1 children)

Immediately onto the lap.

[–] PoolloverNathan@programming.dev 6 points 2 weeks ago* (last edited 2 weeks ago)

SSH over Tailscale to Termux (all three free) using private-key authentication — two levels of e2ee, and fairly easy to use.

For small bits of text, I use one of these, depending on the direction and the source device:

  • Laptop → phone: xclip -o | ssh phone termux-clipboard-set
  • Laptop ← phone: ssh phone termux-clipboard-get | xclip
  • Phone → laptop: termux-clipboard-get | ssh laptop DISPLAY=:0 xclip
  • Phone ← laptop: ssh laptop DISPLAY=:0 xclip -o | termux-clipboard-set

For larger things, or files, I use scp. For other devices that I haven't setup beforehand, or can't set up (e.g. can't run arbitrary programs), I connect to my phone's hotspot, and use Total Commander's Wi-Fi transfer addon for files (both of which are also free). Small strings I just copy over by eye and hope it goes well.

His meme template is fairly useful, in my opinion.

I'm on Librewolf, but Floorp sounds nice!

 
 
 
 

A picture of a plane taxiing, captioned with "Taylor Swift on her way to the airport".

 
 
 
view more: next ›