Agility0971

joined 1 year ago
[–] Agility0971@lemmy.world 1 points 1 week ago

What I see is that someone is arguing the point that all Russians are criminals. If someone is sending bad code, they usually just get banned, this time it's preventive measures based on ethnicity.

[–] Agility0971@lemmy.world 2 points 2 weeks ago* (last edited 2 weeks ago)

Im using tailscale and have all my devices connected through it. Im not exposung any services in particular, just handy to be able to ssh around. Its always on and i did not notice huge power loss on my phone

[–] Agility0971@lemmy.world 17 points 2 weeks ago (18 children)

This is such an odd thing to do... I really cannot see the benefits for the project doing this. Maybe those maintainers were payed for their work and sanctions prohibit paying them or something?

[–] Agility0971@lemmy.world 5 points 2 weeks ago

No one knows yet. Given the scale of the operation it's most likely a large organization.

[–] Agility0971@lemmy.world 1 points 2 months ago (1 children)

True if they are somewhat technical to search for solutions on their own. If they just use web browser then there is bothing to worry about

[–] Agility0971@lemmy.world 8 points 2 months ago

Installs arch with install script, cannot fix grub, reinstalls arch. Good comedy, would recommend. Martincitopants style editing is lovely

[–] Agility0971@lemmy.world 5 points 2 months ago* (last edited 2 months ago) (2 children)
  1. network interface - check
  2. dns - not applicable
  3. firewall - check
  4. ping - check
  5. navigating to the web site - fail

There are two causes here. Either server fucks it self over or the client fucks itself over. For server check logs, for client: check spelling, specify full protocol and try different browser to pinpoint the problem. It would be great to see the full ip address output from 'ip -c a' on both client and server.

[–] Agility0971@lemmy.world 2 points 2 months ago

I didnt leave because I was tired of windows, i stayed because it was better for development. I learned about other benefits later once I started using it

[–] Agility0971@lemmy.world 2 points 2 months ago (3 children)

To be fair, the best standard would be to send off new users to immutable distros

[–] Agility0971@lemmy.world 6 points 2 months ago (1 children)

Odd that stremio is not on that list. It's superior to netflix

[–] Agility0971@lemmy.world 1 points 3 months ago* (last edited 3 months ago) (1 children)

So there are safe countries and non safe countries now? Whats the difference?

 

In every country there are several mobile service providers. And with current EU regulations no mobile provider can charge extra for traveling within EU. Mobile providers in my country are definitely more expensive that average European mobile plan. I was wondering, can I downgrade my current plan to only keep my current phone number and purchase a plan from a cheaper mobile provider in another EU country with unlimited data and just use roaming all the time since I'm in EU? What are your thoughts? Do you know about a cheap mobile data plan?

82
Deduplication tool (lemmy.world)
submitted 4 months ago* (last edited 4 months ago) by Agility0971@lemmy.world to c/linux@lemmy.ml
 

I'm in the process of starting a proper backup solution however over the years I've had a few copy-paste home directory from different systems as a quick and dirty solution. Now I have to pay my technical debt and remove the duplicates. I'm looking for a deduplication tool.

  • accept a destination directory
  • source locations should be deleted after the operation
  • if files content is the same then delete the redundant copy
  • if files content is different, move and change the name to avoid name collision I tried doing it in nautilus but it does not look at the files content, only the file name. Eg if two photos have the same content but different name then it will also create a redundant copy.

Edit: Some comments suggested using btrfs' feature duperemove. This will replace the same file content with points to the same location. This is not what I intend, I intend to remove the redundant files completely.

Edit 2: Another quite cool solution is to use hardlinks. It will replace all occurances of the same data with a hardlink. Then the redundant directories can be traversed and whatever is a link can be deleted. The remaining files will be unique. I'm not going for this myself as I don't trust my self to write a bug free implementation.

27
submitted 6 months ago* (last edited 6 months ago) by Agility0971@lemmy.world to c/linux@lemmy.ml
 

I've run passwd and sudo su; passwd to change password for root and my account. Password is set correctly when using sudo and su but whenever I get prompted by pkexec it accepts only the old password. I've rebooted my system to make sure it was not an issue.

Edit: Solved Turns out the password were changed for root account but not my user account. I think the reason is that there are no password quality requirements on root accounts, but there are on the default account in ubuntu. Changing the password from root account passwd user worked fine.

 
while true; do; sudo pacman -Syu --noconfirm; done
 

has anyone had any success with squad 6.0 yet?

 

I'm looking for an extension that makes the workspace on multi monitor setup independent. Right now If I switch workspace on my laptop it changes on the big screen as well.

31
submitted 1 year ago* (last edited 1 year ago) by Agility0971@lemmy.world to c/linux@lemmy.ml
 

In my dmesg logs I get following errors a lot:

[232671.710741] BTRFS warning (device nvme0n1p2): csum failed root 257 ino 2496314 off 946159616 csum 0xb7eb9798 expected csum 0x3803f9f6 mirror 1
[232671.710746] BTRFS error (device nvme0n1p2): bdev /dev/nvme0n1p2 errs: wr 0, rd 0, flush 0, corrupt 19297, gen 0
[232673.984324] BTRFS warning (device nvme0n1p2): csum failed root 257 ino 2496314 off 946159616 csum 0xb7eb9798 expected csum 0x3803f9f6 mirror 1
[232673.984329] BTRFS error (device nvme0n1p2): bdev /dev/nvme0n1p2 errs: wr 0, rd 0, flush 0, corrupt 19298, gen 0
[232673.988851] BTRFS warning (device nvme0n1p2): csum failed root 257 ino 2496314 off 946159616 csum 0xb7eb9798 expected csum 0x3803f9f6 mirror 1

I've run btrfs scrub start -Bd /home as described here. The report afterwards claim everything is fine.

btrfs scrub status /home
UUID:             145c0d63-05f8-43a2-934b-7583cb5f6100
Scrub started:    Fri Aug  4 11:35:19 2023
Status:           finished
Duration:         0:07:49
Total to scrub:   480.21GiB
Rate:             1.02GiB/s
Error summary:    no errors found
 

What properties that affect the range, speed and features should a consumer be looking out for?

 

I've been messing with my flash drives trying to follow some random documentation with dd and now both of my flash drives are reporting 0 bytes of free space. I was trying to clear out everything and start from scratch as if they were new. I wonder if there are any program out there that can just sudo reset-everything /dev/sdX

 

I'm experiencing an issue with commands that provide a tui interface like journalctl, systemctl and vim. It feels like terminal dimensions are not matching up somehow. And this issue is present only some times. On host I'm using Black Box and I tile my windows using pop os tiler. I'm also frequently scaling the font with ctrl + and ctrl - shortcuts. Remote sshd host is running Debian variables $LINES and $COLUMNS are set. bashrc files are in their default state.

How is this supposed to work? Isn't my terminal client sending new $LINES and $COLUMNS each time there is a change?

1
submitted 1 year ago* (last edited 1 year ago) by Agility0971@lemmy.world to c/neovim@sopuli.xyz
 

I'm using NvChad and in ~/.config/nvim/lua/core/mappings.lua there is a keybinding for LSP code action:

  ["<leader>ca"] = {
    function()
      vim.lsp.buf.code_action()
      -- TODO: write buffer to file
    end,
    "LSP code action",
},

this keybinding applies the code action, but does not write to file. I want to write changes to file as soon as I've applied the code action.

How can I use the documentation at https://neovim.io/doc/ to find the correct function? I've tried looking for a write() function but I could not find anything I can call from lua.

view more: next ›