[-] [email protected] 9 points 1 week ago

Do not forget the library of Alexandria.

[-] [email protected] 2 points 1 week ago

Spying for thee but not for me. Be seeing you.

[-] [email protected] 8 points 1 month ago

Because they don't want to lose a method of tracking us wherever we show our faces. I think masks will be a fashion in the future, and they are just so comfortable.

[-] [email protected] 2 points 1 month ago

But I would not have disabled my ad blocker in other circumstances, but YouTube is forcing me to disable it against my better judgment to be able to use the site.

[-] [email protected] 5 points 1 month ago

If YouTube takes files from 3rd parties and simply displays them, then viruses are possible. This is more true of ads placed via ad-broker on other websites. To get ad revenue a webmaster provides a space where the ad is inserted. The ad is provided by a 3rd party who pays the ad broker for placement. Neither the webmaster nor the ad broker have any visibility into the content of the ad, which could even contain code (ads which move or present UI elements have code to make those things work)

[-] [email protected] 20 points 1 month ago

If a YouTube ad installs a virus on my system, can I sue YouTube?

[-] [email protected] 1 points 1 month ago

So Chinese chip makers sell more and more of the sub-parity chips, what incentive do they really have to improve?

[-] [email protected] 1 points 2 months ago

At least when you did get an answer it might be correct, not a hallucination.

[-] [email protected] 4 points 2 months ago

You can check the CPU and memory statistics by looking at the files under /proc, but I was wondering how to get the file system capacity, so I looked at the df(1) code. . coreutils: df.c coreutils: fusage.c macOS: df.c Here is the code prepared to verify the operation of the library. Code to find out what df uses to output · GitHub For Linux On Linux, file system information can be obtained using statvfs(3). Although this is treated as a wrapper for the statfs(2) system call, it is basically recommended to use statvfs(3). (Via google translate)

[-] [email protected] 3 points 9 months ago
[-] [email protected] 1 points 9 months ago

I have used the machine with a keyboard, but it is a laptop - meant to go places away from a fixed installation. I have an Asus Vivobook with a sane keyboard.

[-] [email protected] 1 points 9 months ago

I have a Lenovo I never use because they placed the right shift key and the up arrow key stupidly. As I am typing if I want to capitalize a letter using the right shift key my finger gets the up-arrow key most of the time, I don't see this for several keystrokes, leading to having to correct the issue. It's very annoying. It is a nice i7 machine otherwise.

19
submitted 10 months ago by [email protected] to c/[email protected]

I have worked on a file in Directory A. There is a file with the same name in directory B which is an older version of that same file. I rsync everything from B to A.

What happens to my work in the file in directory A?

19
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]

(Solved) Apt seems to have gotten jammed somehow

dpkg: error processing package ca-certificates-java (--configure):
 installed ca-certificates-java package post-installation script subprocess returned error exit status 1
Setting up libwxbase3.2-1:amd64 (3.2.2+dfsg-2) ...
dpkg: dependency problems prevent configuration of openjdk-17-jre-headless:amd64:
 openjdk-17-jre-headless:amd64 depends on ca-certificates-java (>= 20190405~); however:
  Package ca-certificates-java is not configured yet.

dpkg: error processing package openjdk-17-jre-headless:amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up libwxgtk3.2-1:amd64 (3.2.2+dfsg-2) ...
dpkg: dependency problems prevent configuration of openjdk-17-jre:amd64:
 openjdk-17-jre:amd64 depends on openjdk-17-jre-headless (= 17.0.8+7-1~deb12u1); however:
  Package openjdk-17-jre-headless:amd64 is not configured yet.

dpkg: error processing package openjdk-17-jre:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jre:
 default-jre depends on openjdk-17-jre; however:
  Package openjdk-17-jre:amd64 is not configured yet.

dpkg: error processing package default-jre (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of minecraft-launcher:
 minecraft-launcher depends on default-jre; however:
  Package default-jre is not configured yet.

dpkg: error processing package minecraft-launcher (--configure):
 dependency problems - leaving unconfigured
Setting up filezilla (3.63.0-1) ...
dpkg: dependency problems prevent configuration of geogebra:
 geogebra depends on default-jre | java7-runtime | java8-runtime | java9-runtime | java10-runtime | java11-runtime; however:
  Package default-jre is not configured yet.
  Package java7-runtime is not installed.
  Package openjdk-17-jre:amd64 which provides java7-runtime is not configured yet.
  Package default-jre which provides java7-runtime is not configured yet.
  Package java8-runtime is not installed.
  Package openjdk-17-jre:amd64 which provides java8-runtime is not configured yet.
  Package default-jre which provides java8-runtime is not configured yet.
  Package java9-runtime is not installed.
  Package openjdk-17-jre:amd64 which provides java9-runtime is not configured yet.
  Package default-jre which provides java9-runtime is not configured yet.
  Package java10-runtime is not installed.
  Package openjdk-17-jre:amd64 which provides java10-runtime is not configured yet.
  Package default-jre which provides java10-runtime is not configured yet.
  Package java11-runtime is not installed.
  Package openjdk-17-jre:amd64 which provides java11-runtime is not configured yet.
  Package default-jre which provides java11-runtime is not configured yet.

dpkg: error processing package geogebra (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.36-9+deb12u1) ...
Errors were encountered while processing:
 ca-certificates-java
 openjdk-17-jre-headless:amd64
 openjdk-17-jre:amd64
 default-jre
 minecraft-launcher
 geogebra

What must I do to unjam things?

I have tried many suggestions from various websites but they don't work because it looks like there is some sort of circular dependency going on here.

55
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]

Debian 12. HP Laserjet Professional P1606dn

If it prints at all, it prints the top inch of the test page or just random binary. I have tried the recommended driver, the driverless driver, the Generic PCL 4/5 driver, the Generic PCL 6 driver. And probably others I am not remembering.

I am trying to print over Ethernet, but I am about to drag the printer over near my desk and print via USB.

Fortunately, I don't have actual critical printing to do right now and I am only setting up a printer after installing Debian 12. BTW this means it is a fresh install of Debian 12 too.

I have been helpdesk support at a data center. I would not consider myself a dummy, but this is getting ridiculous. A task that should have taken all of 10 minutes has taken over 2 hours so far.

How are we ever going to get "The Year of Linux on the Desktop" if simple printing is and continues to be such a pain?

1
submitted 11 months ago by [email protected] to c/[email protected]

I have some drives of various sizes, 1TB, 2TB etc. I am currently working with a 2 TB drive. I place it in a powered external USB-3 drive enclosure. I can see it in lsblk as the correct size (as SDA) , but the disk manager does not see /dev/sda, and fdisk only wants to let me create a 5 GB partition.

If I dd if=/dev/zero of=/dev/sda bs=400K status=progress writes 5 GB and claims my 2 TB drive (In this case) is full.

Is there a way to reclaim this drive? Any information on the drive is unimportant.

2
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

[[ solved ]]

I have a stack of SATA hard drives that I need to erase.

I have a USB drive dock, a box that a drive can be set into that connects to my computer via USB-3.

I am using DD to write zeros to the raw device, in this case, /dev/sdf.

No matter the actual size of the drive dd stops at about 3 to 7 gb. These are 300 gb to 3 TB drives.

I am not mounting the drives, but I do ensure they are visible to the system with lsblk. To change drives I turn off the dock. The drive then disappears from lsblk. When I insert a different drive and turn the dock back on again /dev/sdf re-appears.

Are all my drives bad? If they are I will need to have them "professionally" destroyed at about $25 a drive.

Next Update --

I started with a USB to SATA adapter that looked like a small box with a SATA connector on one edge and a USB cable coming out of one side, it had a power supply that connected to the small box - everything out in the open.

Then I went to a drive toaster - a dock where you slot the drive into a hole in the top of the dock, again powered and USB-3 (blue connector)

As of this update I have opened my USB-3 external drive and removed it's native drive and put in one of the 1TB drives I wish to erase. I also switched to my production laptop. Now I have issued a dd command and it has written so far 28GB from /dev/urandom.

I think this will finally work. - I am marking this solved.

1
submitted 1 year ago by [email protected] to c/[email protected]

I tried it once a long time ago. Does anyone here currently use it? What do you like about it? What do you hate?

view more: next ›

waspentalive

joined 1 year ago