Skip Navigation
Agility0971 Agility0971 @lemmy.world
Posts 19
Comments 138
Successful move over after years of trial and error
  • 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

  • Gaming on Linux Experience (Arch Btw)
  • Installs arch with install script, cannot fix grub, reinstalls arch. Good comedy, would recommend. Martincitopants style editing is lovely

  • Local server can't be seen on Android or iOS, but can on any Linux device
    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.

  • *Permanently Deleted*
  • 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

  • *Permanently Deleted*
  • 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

  • Successful move over after years of trial and error
  • To be fair, the best standard would be to send off new users to immutable distros

  • Flathub is a 🏴‍☠️
  • Odd that stremio is not on that list. It's superior to netflix

  • Buying a new computer to run Linux on - suggestions?
  • So there are safe countries and non safe countries now? Whats the difference?

  • How much does a beer cost?
  • I just bought 2 Peroni Nastro for 6.49€ in the local store. Tastes 10% beer and 90% taxes

  • Mobile plan in Europe

    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?

    5
    Buying a new computer to run Linux on - suggestions?
  • I can reccomend huawei laptops with metal chassis. I've had my matebook x pro for around 6 years. My past laptops made of plastic disentegrted over time

  • What is happening in Norway, and how do we spread it?
  • I would rather say that help questions can be posted there. That way its not forving anyone to do anything

  • What is happening in Norway, and how do we spread it?
  • This cannot be true. The dip in windows is corrolated with the increase in linux. Its just a measurement error

  • Linux Desktop reaches New All time high. 4.45%(+0.4) 📈🐧
  • Use user agent switcher and set it to something random. However that makes your fingerprint unique. I've read that people set it to windows just to blend in the masses

  • Vanilla OS 2 Orchid - Stable Release
  • Exciting. I'll have to give it a spin on my hardware

  • Goodbye Tracker, hello TinySPARQL and LocalSearch – Carlos Garnacho
  • Yeah, i went searching the web what is was my self when I saw it. Good change

  • After initially rejecting it, Apple has approved the first PC emulator for iOS
  • Cool, if only it was possible to get altstore installed...

  • GDPR Account deletion
  • A company will never do anything that is not increasing their profit. If the profit of breaking law is greater than the fine then they will do it.

    What they will do, is create a button called "delete account" which will just block you from logging in. It will not delete your content. Sending an email which clearly says they're getting sued is probably the easiest option. You gotta speak their language.

  • Deduplication tool

    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.

    41

    How to change password in Ubuntu

    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.

    14

    waiting for gnome 46 to drop in the repos be like

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

    2
    Cybersecurity @lemmy.world Agility0971 @lemmy.world

    Thought experiment on legitimizing hacking

    It is common for companies to neglect financing in cyber security for a quick short term gain. And at the same time the laws are created such that an offensive hacker would be the criminal. By turning the law around the blame would be on the company for building insecure systems, just like it is right now companies get problems if they would create unsafe products for consumers.

    What do you think would happen if laws would change in such a way, that gaining unauthorized access would become legal? Note that I've intentionally excluded permission to share sensitive information. Would love to read your responses and thoughts

    2

    Apple MacBook SSDs

    I've picked up an old MacBook air 2013 from trash without battery and ssd. I want to see if I can bring it back to life. Apparently Apple does not use standard SSD. Do you know about any adapters in the market that would make it possible to use a standard SSD? I don't want to spend money on non standard SSDs that works only on macs. I don't even know if it work even at this point.

    2

     Youtube blocks Edge with "enhanced protection". Youtuber advices to turn off "enhanced protection"

    13

    Cooperation on Simulink project

    Hi, what do you use to cooperate on simulink projects? I tried using git on GitHub at first but the issue is that GitHub has a size limitation on blobs. It suggested to use git-lfs however that filled the storage space up almost instantly. is there any other solutions you've found useful?

    0

    squad 6.0

    has anyone had any success with squad 6.0 yet?

    7

    independent workspace switching

    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.

    1

    btrfs corruption?

    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

    12

    What do you look out for when you purchase wifi cards?

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

    9

    Reset flash drive

    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

    9

    tui programs over ssh dimension mismatch

    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
    searchengines @lemmy.world Agility0971 @lemmy.world

    customizable search engines

    Do you know about a private customizable search engine? I would like to hint the search engine about what search results I like without specifying them on every single query.

    For instance when need to search up some programming documentation almost always there are some blogs in the search results meanwhile I'm always looking for the official documentation. I want to go to settings and specify something like ```

    • official documentation
    • blog and every single time I search something up I get less noise. Also being able to block some domains like geekforgeeks.org learn.microsoft.com ``` would also be nice. In case I get annoyed by some domain that have a lot of ads and information at the very bottom.
    1

    Gnome app for converting screen recordings into gifs

    Do you know about any gnome apps that can be used on screen recording (.webm) to gif so they can be uploaded here on lemmy?

    Edit: found Footage. For some reason it was not listed on Gnome Apps

    4

    How to find functions in documentation

    I'm using NvChad and in ~/.config/nvim/lua/core/mappings.lua there is a keybinding for LSP code action: lua ["<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.

    5

    Bash script analysis

    I wonder is there any program that can take a bash script as input and print out all bash commands it will run? A program that would unroll loops, expand environment variables and generally not perform any destructive action nor call any external binaries. It's like a dry run of sorts.

    Edit: I've created a script that updates ufw rules. I wanted to use multiple IP addresses as a range and multiple interfaces like this: sh ufw add limit in on eth0,eth1 from 172.16.0.0/12,10.0.0.0/8,192.168.0.0/16 to any port 22 comment "allow SSH on LAN" but ufw does not support setting multiple interfaces and multiple interfaces comma separated like ports so I created a script instead. ```sh

    ...

    lan_ip_range=('172.16.0.0/12' '10.0.0.0/8' '192.168.0.0/16') for ip_lan in "${lan_ip_range[@]}"; do # SSH ufw add limit in on eth0 from "$ip_lan" to any port 22 comment "allow SSH on LAN" ufw add limit in on eth1 from "$ip_lan" to any port 22 comment "allow SSH on LAN"

    ...

    done I want to make sure it does what I expect it to do. so expected output should be something like this:sh ufw add limit in on eth0 from 172.16.0.0/12 to any port 22 comment "allow SSH on LAN" ufw add limit in on eth0 from 10.0.0.0/8 to any port 22 comment "allow SSH on LAN" ufw add limit in on eth0 from 192.168.0.0/16 to any port 22 comment "allow SSH on LAN" ```

    13

    network manager service name

    Who thought it was a good idea to use pascal case naming convention for network manager NetworkManager.service while all remaining services in existence uses kebab case? It should be network-manager.service.

    4