[-] z00s@lemmy.world 109 points 2 months ago

I wonder how realistic that is; almost all of the science people I've met run Linux

[-] z00s@lemmy.world 150 points 2 months ago

It'd be funnier if the package was just half empty

109
submitted 3 months ago by z00s@lemmy.world to c/asklemmy@lemmy.ml

Ok, going for full controversy here. zsh = "zoosh" ssh = "shoosh" sudo = sue-dough

Before you achktually me, I know it's supposed to be "sue-DO", because the acronym stands for "superuser do", but for the life of me, when I see those letters together it just seems wrong to pronounce it that way.

[-] z00s@lemmy.world 112 points 4 months ago

*Your 2FA login code for SLORP

*Your password reset link for SLORP

*Your password reset link for SLORP

*You have (2) new messages from other SLORP users

*There has been a login attempt from a new device on SLORP

*Your SLORP password may have been compromised

129
submitted 4 months ago by z00s@lemmy.world to c/asklemmy@lemmy.world

A few years ago I felt kinda lame whenever I had to "make a wish" blowing out birthday candles or whatnot and the only thing I could think of under pressure was "world peace".

Since then, I've kept a wish ready to blurt out if I ever see a falling star or toss a coin into a fountain etc

For me, it's sending my mind, with all my current knowledge and experience, back in time into my body at the moment I graduated high school, so I could re-live my life with more confidence, less anxiety and get straight into doing the cool bits of my life much earlier.

What would be your "back pocket wish"?

[-] z00s@lemmy.world 105 points 5 months ago

This might take several minutes

...or itcould take several hours

46
submitted 5 months ago by z00s@lemmy.world to c/asklemmy@lemmy.ml
[-] z00s@lemmy.world 126 points 6 months ago

"American companies are scared of the open market when it works against them, yet refuse to make better products"

50
submitted 7 months ago by z00s@lemmy.world to c/linux@lemmy.ml

Last night I was nearly tearing my hair out trying to get a crappy inkjet printer installed when I turned to ChatGPT for help; 5 minutes later it was done (driver issues).

I realised that I use it a lot for all sorts of things but haven’t really seen any posts on here about it, and was wondering if other people do the same.

I’ve used it to create bash scripts, write small, niche python programs (eg sort photos into separate folders based on their orientation), and create cron jobs among other things.

In particular, I find it useful when I want to use a command line program that has a complicated set of options / syntax, but I might only ever want to use it once, or very infrequently. So I tell it what I want to accomplish, and ask it to give me the correct command to run with the options I specify in plain language.

Example:

User

Give me the correct rsync command to recursively copy all files in /home/user/Documents that are image files of any type but were created more recently than 1/1/2024. The destination is /home/user/foo

ChatGPT

rsync -avm --include='*/' --include='*.jpg' --include='*.jpeg' --include='*.png' --include='*.gif' --include='*.bmp' --include='*.tiff' --include='*.svg' --exclude='*' --prune-empty-dirs --min-age=$(date -d '2024-01-01' +%s) /home/user/Documents/ /home/user/foo/

User

Break down the command and explain each part of it in dot point format.

ChatGPT

- rsync`: Invokes the rsync program, which is used for efficiently transferring and synchronizing files across systems or within a system.

  • -avm:
    • -a: Archive mode, which preserves permissions, symlinks, modification times, group, and ownership. Implicitly includes recursion.
    • -v: Verbose mode, which provides detailed output of what rsync is doing.
    • -m: Prune empty directory chains from the file-list.
  • --include='*/': Include directories themselves, which is necessary for recursion.
  • --include='*.jpg' --include='*.jpeg' --include='*.png' --include='*.gif' --include='*.bmp' --include='*.tiff' --include='*.svg': Include files that match these image file extensions.
  • --exclude='*': Exclude all other files that do not match the previously stated include patterns.
  • --prune-empty-dirs: Exclude empty directories that result from the inclusion/exclusion pattern.
  • --min-age=$(date -d '2024-01-01' +%s): Exclude files that are older than the timestamp for January 1, 2024. This uses date -d to convert a date string into a timestamp, which rsync uses to filter files.
  • /home/user/Documents/: Source directory from which files are being synchronized.
  • /home/user/foo/: Destination directory to which files are being synchronized.`

It’s also really good for explaining concepts / commands in plain language.

It’s like having a 24 hour on call Linux expert :)

#Things to note:

- Get the subscription. ChatGPT 3.5 is pretty useless. ChatGPT4 is fine, but I’m pretty sure you need the subscription to access it.

- Give it pre-instructions. I have told mine what distro, what shell I’m using and the make and model of my laptop. If you have a subscription you can add these as permanent pre-instructions, so to speak. That way it will be much more likely to give you correct answers.

- It’s not magic In order to get what you want, you have to be able to ask the right questions. It will boost your ability but won’t turn you in to a 1337 haxx0r

-Ask questions As always, don’t run any commands that you don’t understand. Ask it to break down any commands it tells you to run if you don’t understand them.

-Sometimes it goofs For various reasons, sometimes it will ask you to install a package that no longer exists, or will give you a command that doesn’t work. When that happens, I just feed the error message back into ChatGPT and it usually is able to correct itself.

-Ask “Is there a better or easier way to do this?” This is probably the most valuable question I’ve found to ask chatGPT. Sometimes it gets so far in the weeds looking for a solution to a problem that you need to pull back and start fresh.

[-] z00s@lemmy.world 74 points 7 months ago

If you are engaging with housing as an investment vehicle, you are part of the reason why there is a global housing crisis.

Housing is a human right and should be legislated as such.

100
submitted 8 months ago by z00s@lemmy.world to c/asklemmy@lemmy.world

Assume that you only have the resources and money that you've acquired up to this point in your life, and you still have to pay rent, bills etc. You are basically physically capable of everyday activities but extreme feats (eg running marathons, climbing everest) are not realistic.

1
submitted 8 months ago by z00s@lemmy.world to c/pihole@sh.itjust.works

Hi all, I used to have pihole on an actual rasperry pi for a long time with no problems, and have recently switched to docker. However, a couple of weeks after doing so I noticed that there are now an excessive amount of requests to location.services.mozilla.com - nearly 86000 in the last 24 hours alone.

I have always used Firefox, but this seems like weird behaviour. I have Pihole set up as the DNS server in the router settings, but am not using the pihole as a DHCP server.

Let me know what logs to post, if any. Thanks.

[-] z00s@lemmy.world 58 points 9 months ago

This is more "Why do Americans do that weird thing where they cage their dogs".

I had a dog in an apartment, no cage. Had no problems. Never understood why Americans do that.

[-] z00s@lemmy.world 97 points 9 months ago* (last edited 9 months ago)

Remember remember the fifth of November,

When Guy Fawkes took the fall.

Be sure to wear your mask from now on,

They can't arrest us all

24
submitted 9 months ago* (last edited 9 months ago) by z00s@lemmy.world to c/survivingpast40@sh.itjust.works

Hi Lemmy,

I like the idea of this sub so I thought I'd contribute the first post.

I'm 40, and I have cancer. I don't know if I'll survive or not. Being in this position though has forced me to get all my "life stuff" in order, and boy, I can tell you there's a lot more of it than you realise.

Start now. Especially if you're healthy, double especially if you have a spouse and/or kids.

I get it that nobody wants to think about their own mortality, but consider that what you're actually doing is making things easier for your family.

  1. Get a properly done will from a lawyer. Not one of those "write your own will" kits. It's not just about who gets what, but also burial vs cremation, who will be your executor, any special gifts/request, who is next in line if your beneficiary dies etc.

  2. Organ donation? Tell your relatives AND register.

  3. Insurance. Get life insurance as its the only insurance with a guaranteed payment BUT calculate yearly cost vs how much you would have if you just put that money in the bank. Amount should cover all outstanding debts. Get separate insurance for house and vehicles.

  4. Superannuation (retirement savings). Where I'm from they need a form filled out that tells them who your executor will be. If they don't have this, your executor will have to go to court and it's a real pain in the arse.

  5. Photos. Get them off your phone and back them up using the 3, 2, 1 backup rule. Make sure someone else has access if you pass away. Photos are one of those things that doesn't seem important until someone dies and that's all you have left of them.

  6. Power of attorney. Who will make financial and health decisions for you if you're in a coma?

  7. Advanced health directive. If you're in a coma, do you want someone to pull the plug, or keep you alive no matter what? Read about Terry Schiavo to see why this is so important. Again, tell your relatives AND fill out the documents.

  8. Consider prepaying for your funeral. Especially if your family doesn't have a lot of money. They're more expensive than you think. It may take weeks or months before your relatives can access your savings or insurance money, and they'll still have to pay for it in the meantime.

Hot tip: caskets are a waste of money; get the cheapest you can. I am friends with a mortician, and he tells me that most of them are cheap crap made in China with 1000% price markups. They get away with it because frankly, nobody's going to bring one back for a refund.

  1. Write letters to the people you care about. If you die suddenly, they'll have a heartfelt letter as your last words to them instead of a text saying "Do we need more cheese?"

  2. Relax. We all die eventually, but at least now you know that everything is taken care of. Your friends and family will still be sad, but at least your death won't be any harder on them them it has to be.

63
submitted 9 months ago by z00s@lemmy.world to c/asklemmy@lemmy.ml

Hi Lemmy,

I'm organising a funeral, and one of the ideas that has come up is for people to write memories on a balloon and let them go. However, I've also heard that they often end up in trees etc and are terrible for the environment.

Is there such a thing as environmentally safe balloons? Other suggestions are also welcome.

[-] z00s@lemmy.world 72 points 11 months ago

I just hope they stop treating car interiors like living rooms. It's like they forgot that people are busy driving in the first place.

0
submitted 11 months ago* (last edited 11 months ago) by z00s@lemmy.world to c/linux4noobs@lemmy.world

How to update the BIOS on a Dell laptop running Linux

For models not supported by lvfs

Completed successfully on a Dell Inspiron 3595 running Manjaro

This fix does not require Manjaro, it should work on any distro.

It took me a looong time to figure out how to do this for various reasons, and there are a lot of forum posts on the net about this exact problem. So for posterity I offer up this guide for any future googlers.

TLDR for advanced users: Use Ventoy to boot the Windows 10 installer and open the command prompt in the "Repair my PC" menu to launch the Dell BIOS update executable from a second USB.

  1. Grab two USBs that are at least 8 GB in capacity.
  2. Download the BIOS update file from the Dell support website.
  3. Copy it to the first USB. Mine was formatted as NTFS but I don't think it's critical to the process.
  4. Download Ventoy. If you've never heard of this, spend a minute reading about it. It's a cool tool.
  5. Flash Ventoy to your second USB.
  6. Acquire an .iso of Windows 10. I chose Windows 10 because Windows 7 didn't boot on my laptop (not sure why), and Windows 11 was too heavy for the CPU. I also tried Freedos but my laptop only has UEFI boot enabled, and no legacy option, which is apparently not supported. Note - you don't actually need to install or activate Windows in any way so I didn't feel it was necessary to be too picky about how I acquired the image.
  7. Copy the Windows 10 .iso file to your Ventoy USB.
  8. Boot from the Ventoy USB and select Windows 10. (F12 on most Dell laptops to interrupt the boot sequence)
  9. Click "Repair my PC" in the bottom left hand corner - DO NOT install.
  10. Click on the "Use command prompt" option which should be in the "Troubleshoot" menu.
  11. Insert your first USB with the Dell BIOS update file on it.
  12. Change directory to your first USB. It automatically mounted mine as D: Simply type the name of the drive to change to it.
  13. Type the name of the BIOS update file to execute. For example: Inspiron_3595_1.5.0.exe If you forget the name of the file, type dir to get a list of files in the current directory.
  14. Watch the magic happen and don't freak out if it reboots more than once - just let it do its thing until it's finished.
  15. (Optional) boot into the BIOS to confirm that the update has been successful (check the version number).

The entire process was fairly quick, less than 5 mintes, and it automatically rebooted twice. The only indication I had that it was finished was that on the third reboot it booted back into Linux. I went back into the BIOS later to confirm that the BIOS version number matched the version number on the Dell website (in this case, 1.5.0).

25
submitted 11 months ago* (last edited 11 months ago) by z00s@lemmy.world to c/linux@lemmy.world

How to update the BIOS on a Dell laptop running Linux

For models not supported by lvfs

Completed successfully on a Dell Inspiron 3595 running Manjaro

This fix does not require Manjaro, it should work on any distro.

It took me a looong time to figure out how to do this for various reasons, and there are a lot of forum posts on the net about this exact problem. So for posterity I offer up this guide for any future googlers.

TLDR for advanced users: Use Ventoy to boot the Windows 10 installer and open the command prompt in the "Repair my PC" menu to launch the Dell BIOS update executable from a second USB.

  1. Grab two USBs that are at least 8 GB in capacity.
  2. Download the BIOS update file from the Dell support website.
  3. Copy it to the first USB. Mine was formatted as NTFS but I don't think it's critical to the process.
  4. Download Ventoy. If you've never heard of this, spend a minute reading about it. It's a cool tool.
  5. Flash Ventoy to your second USB.
  6. Acquire an .iso of Windows 10. I chose Windows 10 because Windows 7 didn't boot on my laptop (not sure why), and Windows 11 was too heavy for the CPU. I also tried Freedos but my laptop only has UEFI boot enabled, and no legacy option, which is apparently not supported. Note - you don't actually need to install or activate Windows in any way so I didn't feel it was necessary to be too picky about how I acquired the image.
  7. Copy the Windows 10 .iso file to your Ventoy USB.
  8. Boot from the Ventoy USB and select Windows 10. (F12 on most Dell laptops to interrupt the boot sequence)
  9. Click "Repair my PC" in the bottom left hand corner - DO NOT install.
  10. Click on the "Use command prompt" option which should be in the "Troubleshoot" menu.
  11. Insert your first USB with the Dell BIOS update file on it.
  12. Change directory to your first USB. It automatically mounted mine as D: Simply type the name of the drive to change to it.
  13. Type the name of the BIOS update file to execute. For example: Inspiron_3595_1.5.0.exe If you forget the name of the file, type dir to get a list of files in the current directory.
  14. Watch the magic happen and don't freak out if it reboots more than once - just let it do its thing until it's finished.
  15. (Optional) boot into the BIOS to confirm that the update has been successful (check the version number).

The entire process was fairly quick, less than 5 mintes, and it automatically rebooted twice. The only indication I had that it was finished was that on the third reboot it booted back into Linux. I went back into the BIOS later to confirm that the BIOS version number matched the version number on the Dell website (in this case, 1.5.0).

64
submitted 11 months ago* (last edited 11 months ago) by z00s@lemmy.world to c/linux@lemmy.ml

How to update the BIOS on a Dell laptop running Linux

For models not supported by lvfs

Completed successfully on a Dell Inspiron 3595 running Manjaro

This fix does not require Manjaro, it should work on any distro.

It took me a looong time to figure out how to do this for various reasons, and there are a lot of forum posts on the net about this exact problem. So for posterity I offer up this guide for any future googlers.

TLDR for advanced users: Use Ventoy to boot the Windows 10 installer and open the command prompt in the "Repair my PC" menu to launch the Dell BIOS update executable from a second USB.

  1. Grab two USBs that are at least 8 GB in capacity.
  2. Download the BIOS update file from the Dell support website.
  3. Copy it to the first USB. Mine was formatted as NTFS but I don't think it's critical to the process.
  4. Download Ventoy. If you've never heard of this, spend a minute reading about it. It's a cool tool.
  5. Flash Ventoy to your second USB.
  6. Acquire an .iso of Windows 10. I chose Windows 10 because Windows 7 didn't boot on my laptop (not sure why), and Windows 11 was too heavy for the CPU. I also tried Freedos but my laptop only has UEFI boot enabled, and no legacy option, which is apparently not supported. Note - you don't actually need to install or activate Windows in any way so I didn't feel it was necessary to be too picky about how I acquired the image.
  7. Copy the Windows 10 .iso file to your Ventoy USB.
  8. Boot from the Ventoy USB and select Windows 10. (F12 on most Dell laptops to interrupt the boot sequence)
  9. Click "Repair my PC" in the bottom left hand corner - DO NOT install.
  10. Click on the "Use command prompt" option which should be in the "Troubleshoot" menu.
  11. Insert your first USB with the Dell BIOS update file on it.
  12. Change directory to your first USB. It automatically mounted mine as D: Simply type the name of the drive to change to it.
  13. Type the name of the BIOS update file to execute. For example: Inspiron_3595_1.5.0.exe If you forget the name of the file, type dir to get a list of files in the current directory.
  14. Watch the magic happen and don't freak out if it reboots more than once - just let it do its thing until it's finished.
  15. (Optional) boot into the BIOS to confirm that the update has been successful (check the version number).

The entire process was fairly quick, less than 5 mintes, and it automatically rebooted twice. The only indication I had that it was finished was that on the third reboot it booted back into Linux. I went back into the BIOS later to confirm that the BIOS version number matched the version number on the Dell website (in this case, 1.5.0).

[-] z00s@lemmy.world 123 points 1 year ago

Sure it's his money but does anyone else feel legitimately frustrated at all the good that this money could have done?

Rich dudes have always had vanity projects, but there is no grand concert hall or library or university to come out of this. Just a ruined company with millions of wasted hours of effort. For nothing.

4
submitted 1 year ago* (last edited 1 year ago) by z00s@lemmy.world to c/ufos@lemmy.world

Regarding the UFO sessions being held in the US currently, what would you like to see happen, and what do you think will actually happen?

Personally I'd like to see: -Any proof that conclusively shows that this isn't some kind of weird disinfo / smoke show by the US -Actual physical evidence of living or deceased aliens or their craft -Details of communication that has occurred (if any)

I think we'll actually see: -Talk -Claims -Discussion

[-] z00s@lemmy.world 65 points 1 year ago

Why the Nazis are back, and in America of all places

view more: next ›

z00s

joined 1 year ago