« first day (2178 days earlier)      last day (2790 days later) » 

6:01 PM
That's debug output from my script, not from shred
 
@BenStumpf you ever hear of the famous Simon Stumpf in the Reformation?
 
user136984
My ears aren't that great, is there any chance someone could have a listen to this song and tell me what it is about?
 
@JamesTobin Nope
 
@BenStumpf ever hear of Ulrich Zwingli?
 
user136984
6:02 PM
Because I'm very confused, half of the time it sounds pro-Nazi, and half the time is sounds anti-Nazi and they appear to change very quickly, but then that's only from what I can make out from the song. But after reading some of the comments I am thoroughly confused.
 
@BenStumpf what's the actual script you're trying now? There's no such debug output in the script in the answer.
Just paste the script directly here
 
it's the one from my answer
 
#!/bin/bash
lsblk -ld | grep -o '^sd[b-z]' | while read -r filename; do
    filename="/dev/$filename"
    echo "Processing $filename"
    if (hdparm -i "$filename" > /dev/null 2>&1); then
        shred -fvz "$filename" > /home/ben/ProjectsInProgress/ShredLogs/$(hdparm -i "$filename" | grep -o 'SerialNo=\S*' |cut -f2 -d=).log 2>&1 &
    else echo "Ignoring $filename"
    fi
done
 
user136984
Because I don't want to be listening to pro-Nazi music, however even though it does seem to be praising the German tank 'elite', they are actually signing anti them in the second half of the song so I am now very confused.
 
#!/bin/bash
logpath="/home/ben/ProjectsInProgress/ShredLogs"
lsblk -l | grep -o '^sd[b-z] ' | while read f; do
    logfile="$logpath/$(hdparm -i "/dev/$f" | grep -oP "(?<=SerialNo=)\w+")"
    shred -fvz "$f" &> "$logfile"
done
 
6:04 PM
@BenStumpf I edited mine, try it again
 
gah.
why the hell can't wsl use systemctl
all i want is gitlab, and it seems to be impossible :/
 
user136984
Also, I think today is the Yakkety DocumentationStringFreeze. Is that correct?
 
@BenStumpf What happens when you run that one? That's the one I had a hand in writing.
 
@ParanoidPanda Yep.
 
@terdon eek. you did? I am so checking that for dubious code :+
 
6:07 PM
@insert_name_here
HDIO_GET_IDENTITY failed: Invalid argument
HDIO_GET_IDENTITY failed: Invalid argument
Processing /dev/sdc
Processing /dev/sdd
 
argh you ran it? >:-D
 
hm. this looks fun. what is?
 
user136984
@KazWolfe: But does that only start at 21:00 UTC?
 
2
A: How can I shred all disks but /dev/sda and log the output to a file?

Byte CommanderThis script should do what you want. Note that it must run as root! #!/bin/bash logpath="/home/ben/ProjectsInProgress/ShredLogs" lsblk -l | grep -o '^sd[b-z] ' | while read f; do logfile="$logpath/$(hdparm -i "/dev/$f" | grep -oP "(?<=SerialNo=)\w+")" shred -fvz "$f" &> "$logfile" done ...

 
are you trying to wipe usb drives?
 
6:08 PM
@BenStumpf Looks like it's working although it's a mite too fast.
 
running two is hard work sorry
 
@ParanoidPanda it should be frozen at 2100 or so
don't quote me on that though.
2
 
user136984
Right!
 
The one Byte started gets HDIO_GET_IDENTITY failed: Invalid argument
./ByteScript.sh: line 5: /home/ben/ProjectsInProgress/ShredLogs/: Is a directory
HDIO_GET_IDENTITY failed: Invalid argument
./ByteScript.sh: line 5: /home/ben/ProjectsInProgress/ShredLogs/: Is a directory
 
@BenStumpf Of course. No problem
 
6:09 PM
i got thoughs backward sorry
 
@BenStumpf that error is normal for USB drives...you can't use hdparm on them. you'll have to find another way of naming your log files if you're dealing with USB drives
 
no hhds via usb
i have hhd docking stations
 
@Downgoat Very carefully.
 
one moment something started working but ive been getting errors
is there a way to see what is using the drive?
 
6:12 PM
though no new logs have been made
 
I think shred is working but the logfile isn't
 
yep
 
i think i know how to make the logfile work for USB HDDs...just a minute
 
is there a way to tell what process is working on which drive?
nvm
 
@BenStumpf sudo lsof /dev/sdN
 
6:16 PM
ok
 
That should show you who's accessing the drive
 
Log files should work now
 
@insert_name_here
Processing /dev/sdc
Processing /dev/sdd./InsertScript.sh: line 5: /home/ben/ProjectsInProgress/ShredLogs/$(hdparm -I "$filename" | grep 'Serial Number:' | cut -f2 -d: | sed 's/^\s*//').log: ambiguous redirect
./InsertScript.sh: line 5: /home/ben/ProjectsInProgress/ShredLogs/$(hdparm -I "$filename" | grep 'Serial Number:' | cut -f2 -d: | sed 's/^\s*//').log: ambiguous redirect
 
0
Q: libinput Disabling the Middle Click

user190160I'm running the following configuration on a Dell XPS 13 with a synaptics trackpad: Ubuntu 16.04.1 LTS \n \l Linux deepthought 4.6.0-040600-generic #201606100558 SMP Fri Jun 10 10:01:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux xserver-xorg-input-libinput 0.18.0-1 I'm trying to disable the midd...

 
wait, why are we doing this in shell?
2
why not Python?
 
6:27 PM
@BenStumpf try it again
 
user136984
And who starred that message? It's not going to be useful or funny for anyone later on so it's just blocking up the star list.
 
which one?
 
we have much bigger problems with the star list, panda.
 
user136984
@Anwar: Kaz's one about the shell.
 
it's lost all worth on this site already lol
 
6:29 PM
@insert_name_here
Processing /dev/sdc
Serial number is S1D15ZGT
Processing /dev/sdd
Serial number is L3ABFZMG L3ABFZMG
root@Depot-Server /home/ben/ProjectsInProgress/ShredLogs # ./InsertScript.sh: line 6: /home/ben/ProjectsInProgress/ShredLogs/$(hdparm -I "$filename" | grep 'Serial Number:' | cut -f2 -d: | sed 's/^\s*//').log: ambiguous redirect
./InsertScript.sh: line 6: /home/ben/ProjectsInProgress/ShredLogs/$(hdparm -I "$filename" | grep 'Serial Number:' | cut -f2 -d: | sed 's/^\s*//').log: ambiguous redirect
 
I did. mostly because I can star any messages in chat :)
 
user136984
@KazWolfe: I know, it should be filled with either useful or funny stuff, but people seem to star things to show their agreement and just stuff the whole thing with useless stuff.
 
okay. howsabout this.
[PSA] The Star button is not to be used to express agreement! Use it for funny, relevant, or potentially useful information to people in the future!
9
 
@BenStumpf try it again
 
user136984
@Anwar: Officially it's meant to be for messages which will be interesting for other users when they come into chat later on.
 
6:32 PM
do you have any meta Q or something for that?
 
i can make one
because i've been noting this trend with some users.
 
@KazWolfe My star was exactly for that purpose
 
0
Q: Mirror ubuntu repos from Linux Mint

beckoI have a desktop with Linux Mint 18, and a number of PCs with Ubuntu server 16.04 installed. For security reasons, only the Linux Mint desktop has access to the internet, while the server PCs are connected only to the Linux Mint desktop. I want to mirror the ubuntu repo on the Linux Mint desktop...

is this OT or OT? >:-D
 
@insert_name_here That worked but the log file names were a mess S1D15ZGT .log and L3ABFZMG L3ABFZMG.log
 
@BenStumpf do insert a name there :P
 
6:35 PM
@BenStumpf there was a space between the T and .log? weird
 
I just made this account and wanted to get started, ill change it later if i can
@insert_name_here yep
 
bbl
 
@BenStumpf run it again, I added a new debug statement
 
@insert_name_here
Processing /dev/sdc
Serial number without cut and sed is ' Serial Number: S1D15ZGT '
Serial number is 'S1D15ZGT '
Processing /dev/sdd
Serial number without cut and sed is ' Serial Number: L3ABFZMG L3ABFZMG'
Serial number is 'L3ABFZMG L3ABFZMG'
 
huh, those drives are reporting weird serial numbers
i can limit the serial number to only the first "word" (string of non-space characters) if you want
 
6:42 PM
I have drives that will have longer s/n
does that matter?
 
so. can we get a mod to change this room name to apt chat ubuntu?
 
for example WD-WMAL93928092
 
they should work fine as long as the first "word" is unique
 
0
Q: parted can't have overlapping partitions

Humberto Perezfor debug purposes i need to extend my disk to all unallocated space, for example my full disk size is 931.5GB and i have the following partitions NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 931.5G 0 disk ├─sda1 8:1 0 512M 0 part /boot/efi ├─sda2 8:2 0 107.5G 0...

 
i don't know why drives would report a serial number with spaces in it...does anyone else know if that's abnormal?
 
6:45 PM
I can't think of any reason why that would not work
 
@BenStumpf OK try it now, it should only use the first "word"
 
very nice
ty very much, checked and up'ed
 
you're welcome
I'll remove the debug output now
 
does anyone know a good resource on regular expressions for someone who knows very little about them?
@insert_name_here I'm getting a HDIO_DRIVE_CMD(identify) failed: Invalid argument
Serial number is ''
 
and the script ended far too quickly sorry about the fail success
 
hm, is there any output before that?
 
yes it was the same as before, that was after i put the script into a bg proccess
 
what was the "Serial number without grep -o, cut, or sed"?
 
I also need to go so please leave me notes and i can work on it tomorrow. shred seems to still be running though
@insert_name_here Processing /dev/sdb
Serial number without grep -o, cut, and sed is ' Serial Number: WD-WMAMD1675164 '
Serial number is 'WD-WMAMD1675164'
Processing /dev/sdc
Serial number without grep -o, cut, and sed is ' Serial Number: S1D15ZGT '
Serial number is 'S1D15ZGT'
Processing /dev/sdd
Serial number without grep -o, cut, and sed is ' Serial Number: L3ABFZMG L3ABFZMG'
Serial number is 'L3ABFZMG'
Processing /dev/sde
HDIO_DRIVE_CMD(identify) failed: Invalid argument
 
7:11 PM
@BenStumpf are you sure /dev/sde is still connected?
 
that dock may not be able to handle 2 drives which is fine
checking the drive that matters for that dock
 
yeah, it looks like that drive just got suddenly disconnected
i don't think that error could be caused by the script being bad
 
yep
its the dock, thank you for being so helpful
 
ok good
you're welcome
OK, I removed the debug statements, in case you want to download the script again
 
8:08 PM
thunder and lighting and rain \o/
:D
my town is flooded \o/
 
Uh oh :(
 
Well uh
My Apple ID got hacked by the chinese
Praise Apple support
 
user136984
8:35 PM
I really think that the qTox developers have crossed a line:
 
user136984
 
user136984
First they stop providing their package to Linux because of a personal argument and just say that people should switch to Windows, then they are rude to their users, show private communications with screenshots where they are using the f word and other such foul language, and now after being criticised for basically never fixing anything, they are rude to a developer.
 
user136984
"trying to promote crappy uTox" is not the sort of thing rival mature developers should say to one another.
 
user136984
(CC: @cl-netbox)
 
yesh that is rude indeed
 
8:50 PM
0
Q: Using awk to extract a value then perform a calculation

mariahm24I have output in a file that looks like this: {tid=4, total=3, column.id=[5.0]} {tid=2, total=1, column.id=[5.0]} {tid=5, total=8, column.id=[5.0]} {tid=8, total=6, column.id=[5.0]} elapsed time: 10 milliseconds current time: Thu Sep 15 16:15:30 This set of output repeats multiple times wi...

 
@ParanoidPanda he seemed civil enough until that comment.
Not really surprised. There were plenty of people bashing qTox in favor of uTox and that wasn't helping.
 
user136984
@Seth: Well, clearly then you have not seen his comments on other threads.
 
user136984
But he is talking to the lead developer of uTox.
 
echo Hi
 
user136984
9:11 PM
Well, goodnight! :)
 
9:42 PM
@seth Here's an article you may not have seen yet: consumerist.com/2016/09/14/…
 
9:58 PM
@SeverusTux try lxqt, that one is nice. and yes adobe reader 9 had a linux install ;)
 
10:10 PM
OK, so Meta req isn't gonna happen
I guess I'll try to write a userscript and then share it on Meta?
@NathanOsman would you be willing to host some sort of analytics if I made a script? It'd be interesting to see how many people use it if I announce it on Meta (if I can do that)
@KazWolfe time to star everything
 
10:34 PM
@chaskes Commercialism has gotten out of hand.
 
@Seth so have things too large to fit in one's hand
 
@Zacharee1 .__.
 
:)
 
@Zacharee1 -.-
 
That looks like a whale @edwinksl
which is just out of hand
 
10:37 PM
you are getting out of hand is what it is
 
@Seth oh come on, I think that deserves a star :p
@edwinksl well I think I fit my description
5 hours ago, by Kaz Wolfe
@ParanoidPanda it should be frozen at 2100 or so
 
fun fact: earwigs are horrible
 
@KazWolfe did you actually have one go in your ear?
because that's supposed to be rare
 
@Zacharee1 no, they completely infested my telco terminal block
 
oooh fun
 
10:41 PM
as in, it was literally packed full of earwigs. Everywhere. In the connectors, behind things...
 
lol
 
so i had to re-caulk that.
And there are now about seventy cryogenically frozen earwigs on the ground by said box.
 
"Get Telco. We have tons of 'features!'"
@KazWolfe Did you blast them with a fire extinguisher or something? o-O
 
@Zacharee1 compressed air thingy
 
ah
 
10:42 PM
upside down. so... yeah.
yay cryogenics!
 
1
Q: SSH only works/keeps alive while ping running in background

tralstonA brand new linux box running Ubuntu 16.04.1 (LTS) Server was installed into a Citrix VM. It was set up with openSSH. When connecting to it via, it will timeout. This happens even immediately after I exit a live ssh session and try to ssh again. If I'm in a session, it will often cut me off, wi...

 
@KazWolfe is there a picture of that? i would like to see how it looks like
 
@edwinksl i don't want to look that up
 
heh, understandable
 
@Zacharee1 oh, and some butane too for good measure.
because earwigs suck
 
10:47 PM
lol
@edwinksl noooo!!! "what it looks like" or "how it looks"!! Not both
 
@edwinksl next time i have to cryo-freeze the box, i'll remember to take a picture of everything
the problem with them is they pack in real tight. One cubic inch can hold a lot of earwigs.
there were probably upwards of 300 in that box, and one-third are now waiting for us to discover how to un-thaw things stored cryogenically.
on that note though. DSL is cheaper than my current ISP, and double the speed.
So now I want to figure out how to trunk two DSL lines together :D
 
@Zacharee1 hehehe so now i know what triggers you
 
DSL, cheap AND faster? waaaaat
@KazWolfe dual wan router
 
@Zacharee1 i have one of those. in fact, i have lots of those.
 
mods! hide!
@KazWolfe use em
 
10:51 PM
i just have never used the dual-wan feature.
@Zacharee1 6Mbps for 30 (DSL) vs 3Mbps for 65 (current WISP)
 
o_O
Cooool
 
though our wisp can give us up to 30, but they're annoying and will charge a literal arm and a leg for that.
 
My stagrecraft teacher is letting me draw a sketch on my tablet
 
but i dont know if i want to go back to AT&T
i like my static IP lol
 
WISP == Wireless ISP?
 
10:52 PM
@Zacharee1 yep. you can guess how good they are.
 
k
and that explains the price
lol
Who is it?
 
some local thing that I'm not telling you because it gives you a really good idea of exactly where i live
 
the trust in this one
 
as in, you'll get my home down to a 15 mile radius
 
I don't think you're high-profile enough that someone will want to look through the whole area to find you :p
unless you are.... o_@
 
10:54 PM
but yeah. and the problem with them is we need to buy the equipment
 
heheheheheh
 
they just remote in and force us to hand it over, and they configure it and slow everything down
 
lolol
 
i kinda want my nice ten-mile wifi thingy back.
 
o_O
wat
 
10:55 PM
that thing can reach 10 miles LOS
 
What can?
 
hang on let me find a picture
I should probably clean it...
 
how is a 10 mile WiFi network legal?
 
FCC permits, ISM band,
specialized equipment needed
 
huh
 
10:59 PM
(hence the dish lol)
That one specifically can hit 18 miles
(or 30km for people with useful measurement)
 
@KazWolfe AirSpeed?
 
Ubiquiti equipment is actually really good. Once I get our network in a good state, I'll be getting a nice AP from them
 
nice
wait, Ubiquiti
 
Yes.
 
They have enterprise WAPs too right? For schools and businesses?
 
11:10 PM
yep
that's what i'm getting lol
 
@KazWolfe How tight is the beam on that dish?
 
i don't need one of these for my home wifi
@RobotHumans honestly not sure
 
and I wonder if they'ld let me mount the far end of a point to point at the dslam ... I can only get 10Mb out here. would be nice to get it to 150, and sell the excess to the campground so everybody could get cheap high speed
 
they'll let you mount it i think, but maybe not connect to anything
you need a high-power transmitter too
 
eh. they sell rackspace in the dslam here. so, if they sell the rack space, they'ld let me connect it. i'm concerned they wouldn't let me mount it
 
you just need a clear line of sight.
this thing can't go through anything. A single tree kills it
 
that is usually the way with highly directional ptp links
there's a tower across the street. i could get the elevation i need there.
 
can you run the cable that far?
 
not realistically. but i could use consumer grade stuff to hit it then instead of the commercial grade stuff.
 
11:25 PM
 
@Zacharee1 technically we could have duped it to the how to install ubuntu on a chromebook question and edited out kali... but i suspect that would have started a fight
o/ @Mateo
 
hi @RobotHumans
 
@RobotHumans I don't think it's valid to remove Kali from that though (case in your point here). The installation for that is pretty different from Ubuntu, and we wouldn't be answering OP's question
 
I just thought I'ld write that down, so if someone contests the close and they check the chat log - they can see we thought about that alternative.
 
@RobotHumans true
 
11:30 PM
-1
Q: How to dual boot Chromebook with Ubuntu and Kali Linux

League Of GamersI just bought a used Chromebook from eBay and the OS is still Chrome OS. I would like to replace Chrome OS with Ubuntu and dual boot it with Kali Linux. How do I do this?

 
@Zacharee1 OP found his own answer?
 
voila
@KazWolfe maybe
it's possible. I know I've posted questions on forums and just that process has helped me fix my problem by myself
so it could be that
Can someone give me code for selection sorting in Java plx?
 
</>
  -__(o.o)
there you go.
 
lolzers teh kax iz so funi
 
@Zacharee1 do you have more details about this analytics thing?
 
11:37 PM
@NathanOsman just like how your chat script works, where it has a live updater for how many people have the script active, and possibly how many sites it's used on, if I end up making it for multiple SEs
 
What does it track?
 
Well I haven't actually made anything :p. Couldn't it do some sort of polling thing every 30 seconds or something, where the script, when installed, pings a server to tell it that it's there?
sigh, why can't people do even a single Google search before hijacking forum threads?
someone just asked on the XDA KingRoot thread if there are any rooting apps that work for the T-Mobile Note 4
 
Does anyone here work at a large ISP? Because I need like 10 miles of fiber line.
 
So... someone would install the script and it would send pings when the user is on Ask Ubuntu telling us which page they're on?
@KazWolfe Nope. Although there are times when my house feels like an ISP. ("My Internet is busted! Halp!")
 
really. why is it so hard to buy just fiber line?
 
11:48 PM
I'm sure you could get 10 metres, but 10 miles...
that's a lot
 
put it this way. i'm willing to run my own fiber just to deal with my crap internet.
 
It's not that simple - you need special hardware at each end.
It's more than just the cable.
And for long runs you need repeaters as well.
 
distrib point is about 10 miles away, and i can probably get the needed equipment.
 
O_o
Are you an ISP? :D
 
state of CA has a lot of surplus garbage :D
 
11:50 PM
Maybe it would be easier to move your house to a place with better internet than to get better internet to your place.
What about cable tv?
 
but this is why i'm not a backbone engineer. because that stuff is confusing as hell
 
You can also get internet over tv cable.
 
@ByteCommander if there were a TV cable run.
Living in the middle of nowhere, literally, has its downsides.
 
Satellite is always an option.
:P
 
@NathanOsman i'd rather go up from my WISP
 
11:52 PM
Sure, it'll cost an arm and a leg, but it's an option.
 
"middle of nowhere" sounds so poetic. What we in Germany call that would literally translate to "near the ass of the world"...
 
@NathanOsman no, just if they have the script installed. If I make templates for other SE sites, like SO or U&L, then maybe it can have a detector to count the number of sites it's being used on currently
 
@ByteCommander we're near the pimple on the ass of the world.
 
Ah, nice. How is the view from up there?
 
@ByteCommander up? o_O
 
11:54 PM
not that bad. if we weren't on a site where literally nothing ever goes away, i'd send a pic
 
deleted messages go away
what about Discord?
 
@Zacharee1 A pimple is normally standing up from the otherwise rather flat surface of the skin, right?
 
@ByteCommander oh, I thought the ass was up :p
 
Depends.
There was a funny tv ad about this from an online furniture shop. Let me find it...
 
...
@ByteCommander what's the German phrase?
 
lol
Well now I know where we get ass from
ITS DEUTSCH
 

« first day (2178 days earlier)      last day (2790 days later) »