sudo

joined 1 year ago
[–] sudo@programming.dev 4 points 4 days ago (3 children)

Pro-tip for webscrapers: using AI to solve captchas is a massive waste of effort and resources. Aim to not be presented with a captcha in the first place.

[–] sudo@programming.dev 2 points 4 days ago

Worse is when its asking for crosswalks and its clearly a rumblestrip.

[–] sudo@programming.dev 7 points 1 week ago

Most frequently I use it as an interactive cd. Docs on how

Saves me a whole lot of ls and cd or tabbing through completions.

[–] sudo@programming.dev 4 points 1 week ago (1 children)

Switched from ranger to yazi months ago. There's some UI choices that I miss but the configuration via toml and lua plugins is way better than rangers.

I would like to find a git modeline plugin. Its wild to me that they have a zoxide integrated and keybound by default but no git integration.

[–] sudo@programming.dev 2 points 1 week ago* (last edited 1 week ago)

justifies civilian casualties.

The entire goal of hasbara is this.

[–] sudo@programming.dev 2 points 1 week ago (14 children)

Wtf is that mean. Tunnels aren't communication devices. Also Hezbollah famously has vast tunnel networks under southern Lebanon.

[–] sudo@programming.dev 5 points 1 week ago

Historically Hamas has been the amateurs and Hezbollah the pros. Hezbollah has actual victories against the IDF. Hamas' military success last October was completely unprecedented. Its generally believed that Hezbollah trained Hamas into the fighting force it is now. And since Iran trained Hezbollah you get people claiming Hamas is an Iranian puppet.

[–] sudo@programming.dev 2 points 1 week ago

Its accepting Israeli propaganda to say that this was a precision strike. This is like using cluster munitions.

Whenever Israel comes up with an idea for an assassination they do it because they can. Its a force of habit for them.

[–] sudo@programming.dev 24 points 1 week ago (11 children)

Hezbollah was using commercial grade pagers because they're a militia. The purpose of pagers are to contact them when their off duty. Many of these pagers blew up in homes, grocery stores, and other public places. Many civilians were killed and most people injured were bystanders.

[–] sudo@programming.dev 4 points 2 weeks ago

Manipulating vim.g.clipboard is the trick. I'll have to write some command that sets the clipboard provider directly.

[–] sudo@programming.dev 2 points 2 weeks ago

Thats for sure what's happening. The remaining error message makes that clear but I couldn't copy the full message

 

I start my coding workspaces in tmux sessions which persist when I log out. If I switch from a wayland session to an x11 session, then my copy and paste functionality in those neovim sessions are broken because it's still trying to use wl-copy. To be more precise:

  1. Start a wayland session.
  2. Open a terminal and start a tmux session.
  3. Open neovim and do some work.
  4. Log out of wayland, log into an X11 environment
  5. Open a terminal and reconnect to the tmux session
  6. "+y broken. clipboard: error invoking wl-copy: Failed to connect to a Wayland server...

Restarting neovim isn't sufficient. I have to restart the entire tmux session or switch back to wayland. Is there some short cut I can take here?

[–] sudo@programming.dev 5 points 3 weeks ago

They should change directors and aesthetics completely when they do the fourth book. Only Jason Mamoa is consistent.

 

Everything I read says it's a feature enabled in what ever compositor you choose, if your compositor supports it. Why isn't there a general purpose keybinding program like setxkbmap? Does it just not exist yet or must it be built into the compositor?

I've read [this stackexchange thread] on something related but it all seems to be using XKB which should imply I'm using XWayland?

view more: next ›