« first day (2312 days earlier)   

12:27 AM
@allq: took a closer look at the PCB in the enclosure. It is an Innostor IS621, which only goes up to SATA 3Gb/s.
I am secure-erasing the SSD on my hard drive dock, then reformatting the drive to 384 GiB, this time using MBR instead of GPT for compatibility.
(I've successfully used the BlacX dock in the past to secure-erase an old hard drive under Linux.)
Looks like it'll be quick (two minutes for a standard secure erase), according to hdparm.
...well, that was quick.
 
linux-203v:~ # time hdparm --user-master u --security-erase foo /dev/sdb
security_password="foo"

/dev/sdb:
 Issuing SECURITY_ERASE command, password="foo", user=user

real	0m2.745s
user	0m0.001s
sys	0m0.003s
 
also I wonder if a secure erase is just "throw away the encryption key and make a new one"
 
Perhaps. I think I'm going to issue an enhanced secure erase.
This is odd...
 
@JourneymanGeek on a SSD: Yes, sort of. Throw away key. Securely fill that key storage space with a new key. Wipe data structures for remapping. Optionally wipe all (nopw unreadable) data cells
 
12:39 AM
linux-203v:~ # time hdparm --user-master u --security-erase-enhanced foo /dev/sdb
security_password="foo"

/dev/sdb:
 Issuing SECURITY_ERASE command, password="foo", user=user

real	0m0.150s
user	0m0.000s
sys	0m0.009s
This is an enhanced secure erase.
Perhaps it just flushed only the cells it had already written to (very little has actually been written to the drive).
The second time, there's nothing to erase again, so it completed instantly.
 
Whatever. I assume it's clean and ready to partition and format. This time, I'm doing 384 GiB with MBR.
 
So,my current laptop has RGB keys. However the 'alternate' sumbols arn't lit up, and I'd like to be able to find 1. symbol keys I use for password easily 2. the @ symbol
Pondering (aloud) if it makes sense to have just these in a different colour
or rainbow the crap out of my number key row, and maybe my function row, and remember the colours.
I mean, if my % key is a different colour, someone still needs to know my password is P455w0rd%%% right?
 
...the drive is erased. It shows up in Task Manager as 466 GiB capacity, 0 MiB formatted.
Alright, let's open Disk Management and format it.
 
Bob
@JourneymanGeek ...Or just learn the positions? :P
 
12:46 AM
...and the drive is formatted and ready to use.
 
@Bob or that
but this is mainly for the times when I'm not touchtyping
 
1:15 AM
@Bob I'm stuck in my coding :(
it goes through the entire thing without error but the result buffer never gets written to by AVTranscoder
 
Bob
1:34 AM
@allquicatic do you have something I can try to compile? :P
though it'll have to be later today... kinda busy for the next few hours
do you need to call something to start the conversion?
 
2:08 AM
@Bob I followed the simpletranscode example and called AVTranscoder.start() followed by AVPlayer.play() but it returns immediately with setAsync(false) (should block until it's done) and the buffer remains at 0 bytes
@Bob I'll go ahead and commit what I have to github I guess
 
Bob
2:37 AM
@allquicatic I'll have to figure out how to compile on Windows :P
might be time to play with visual studio's gcc/makefile projects
but that'll have to be tonight
 
2:49 AM
@Bob git clone git://gist.github.com:/7dc2f3e5f8ccb0fb19686c409cb6a365 convert_test when you get there
then cat README.md
(yes, gists are git repos)
 
 
3 hours later…
6:36 AM
Is it just me, or is the mod being rude?
in Electrical Engineering, 24 mins ago, by W5VO
@bwDraco We didn't need another "clever" answer saying exactly the same thing on that question.
(see context; response to inquiry regarding a deleted answer)
 
7:08 AM
@bwDraco how do you know he's a mod and yes I find it rude
 
does reputation represent mod? I thought mods are elected with special badge
 
The diamond after the username signifies a moderator.
 
oh diamond badge
 
7:28 AM
♦ is probably a blocked character in usernames lol
 
I think he's a mod
and shrug we don't really get involved in arguements on other sites.
What happens in vegas stays in vegas, no?
41
A: Is making yourself appear (at first glance) to be a moderator acceptable behaviour?

LauraNo, it's not okay for a user to try to make themselves appear to be a moderator. There's a reason we strip out the unicode if someone tries to add a diamond to their user name, and that reason is to prevent people from being confused about who is a "real" moderator on the site. Adding the diamond...

@allquicatic it is
 
I had (wisely 😛) pulled out before it got too far.
 
Always a good idea to pick your fights.
 
7:44 AM
mods chat always end up with flame war
 
Naw
I swear most flame wars here happen when I sleep ;).
 
lol
 
8:07 AM
Hello!
I'm trying to golf in batch (bad idea, I know)
Does anyone know how I can make this code shorter?
@echo off
:1
echo Loading... ^|
timeout /t 1 >nul
cls
echo Loading... ^/
timeout /t 1 >nul
cls
echo Loading... ^-
timeout /t 1 >nul
cls
echo Loading... ^\
timeout /t 1 >nul
cls
goto 1
Nevermind, got it!
@echo off
FOR %%G IN (/,-,\,^|) DO (
echo Loading... %%G
timeout /t 1 >nul
cls
)
 
Bob
@allquixotic gah, this is one of those installers that chucks things into C: root
I hate when they do that
hm, not 5.7? :P
 
8:24 AM
YAY! My first answer on Code Golf: codegolf.stackexchange.com/a/102084/63023
 
@Bob annoying
 
Bob
ok, downloading/installing just 5.6 32-bit
they have a VS2015 plugin :)
will check back later tonight... this is gonna take a while anyway
 
@Bob TeamSpeak 3.0 Stable uses Qt 5.5, and TeamSpeak 3.1 Beta (what I'm testing against) uses Qt 5.6.1. All Qt compiled binaries (both the core libs, the plugins, and applications linked against them) are guaranteed ABI and API compatible between bugfix (x.y.z) releases, but not between x.y minor releases.
 
Bob
@allquixotic ah. do I need TS installed for this test?
 
QtAV compiled for Qt 5.7 or 5.5 won't work with Qt 5.6. So anything I compile against Qt for the Teamspeak 3 in-process plugin must link against Qt 5.6 binaries.
 
Bob
8:27 AM
I mean just to get transcoding working
 
@Bob nope, this is a very self-contained unit test only using QtAV
 
Bob
k
 
it has no vestiges of the TS code
 
Bob
I'll be back in a bit over an hour
 
technically if you installed both QtAV compiled against Qt 5.7 and the Qt 5.7 binaries, this test should work there too, but the binaries produced from that wouldn't link into TeamSpeak (not that it matters)
 
Bob
8:28 AM
by which time it miiiight be finished installing :P
 
@Bob okay
 
Bob
@allquixotic crap, I don't know which QtAV I got
ah, 5.6.1 in Qt5Core.dll
 
the 11.0 one from the main website should be linked against 5.6
I've already tested linking QtAV built against Qt 5.6.1 with Qt 5.6.2 -- it works fine, and is officially supported by Qt Software to do that sort of thing because of the ABI compatibility guarantee
Teamspeak themselves will probably update TS to ship Qt 5.6.2 soonish because it might fix security or minor functionality bugs
 
Bob
I'm still waiting for mumble 1.3.0 :P
been in beta for a while
 
is the mumble client Qt also?
it might be getting close to feature parity with Teamspeak (excepting, perhaps, the presence or absence of a good / better / worse plugin system, haven't looked into) if they're using Opus now
 
Bob
8:40 AM
@allquixotic yea
 
Mumble is FOSS and seems to evolve even slower than TS, which is amazing considering it took them like 10 years to develop Teamspeak 3, and TS 2 was built on either Qt 2 or Qt 3 (I forget which, but it was bad) and extremely broken most of the time
 
Bob
@allquixotic they've been opus for a while. maybe even beefier ts
before
1.2.4 mid 2013
 
Teamspeak 2 was ahead of its time, though, you have to acknowledge that -- I think they were using Speex before Mumble existed or was actually usable
it had super advanced channel and user and permissions management long before anyone else had anything like it
it's just that Mumble is now catching up and slowly making Teamspeak redundant, kinda like Firefox did to IE
 
Bob
yea, mumble permissions are still a bit iffy
@allquixotic I do find mumble's overlay much easier to use than ts
lighter too
 
I don't use overlays -- still in the mentality of them messing up in-game hotkeys / causing rendering bugs, performance problems and instability
 
Bob
8:49 AM
@allquixotic I've never had any issue with the mumble one
it doesn't even have hotkeys
see: lightweight :P
(hotkeys in the client proper)
 
9:49 AM
@Bob headed to bed, lemme know if you figure anything out or manage to reproduce my results.
 
Bob
@allquixotic k, sorry, took a bit longer than I expected
 
10:20 AM
oh, you might want to do qmake CONFIG += debug for debugger support and more verbose debugging messages... without it, the QQ lines will just print the integer, not the function it's in... can be a little confusing
qDebug() still prints in release mode, just not as verbose
 
 
1 hour later…
Bob
11:39 AM
@allquixotic ok, so both qt proper and qtav break if you dare to have any spaces in the path
greeeeeat.
 
11:49 AM
0_0
 
Bob
:-1: error: LNK1104: cannot open file 'Qt5AVd.lib'
ow.
*hunts for file*
I have a Qt5AV.lib
I can only assume building with vs2015 is broken :P
hmmmm
*removes Qt5AVd.lib from dependency list*
nooooope that broke all the things
 
@Bob The d at the end may mean it's looking for a debug version of the library ...
 
Bob
*renames Qt5AVd.lib in dependencies to Qt5AV.lib*
hey it built
@DavidPostill possibly. I'm trying to combine 4 different things I know nothing about
@DavidPostill More likely, qtmake just messed up while converting to vs proj file
could have been assuming debug as you say *shrug*
where's my glass
Unhandled exception at 0x77D19841 (ntdll.dll) in test.exe: 0xC0000374: A heap has been corrupted (parameters: 0x77D4C8D0).
@allquixotic ^
at the return retval;
assuming I didn't mess anything up... that miiiiight be your problem :P
@allquixotic player.audio()->setBackends(QStringList() << QString::fromLatin1("null")); causes the exception (commenting out that line, and every one after it, fixes it)
 
12:25 PM
Anyone have any experience with one of these?
I bought it a while ago, but for some reason, on some machines, it doesn't work.
My best bet is that the hard drive I put in it might need more current than a single port can supply.
But it still seems a bit odd that it would work on some machines.
 
not all USB ports are made the same
 
That's true.
 
Bob
sigh
@allquixotic never mind the above - I think it was the debug build being funny
something about not liking qt & vs being in debug mode but qtav being in release mode
idk
 
I have a quick question
 
Bob
I can repro yours now
 
12:39 PM
I have a folder that I want to be backup twice a day. I use a scheduled task and a batch file using xcopy. But I want Xcopy to create a folder with different name every time so it doesn't overwrite the older ones as a way of version control
code I use is : XCOPY "C:\paman" "C:\backups\%DATE%\" /c /e
 
@Freedo so what is the question?
 
It then creates a structure like that 04 ( day ) > 12 ( month ) > 2016 ( year )
 
@WilliamMariager and that feels like the sort of device that ought to be on USB 3, and on a rear port, not a front one
 
I want just a single folder but named with something+date including hours so it doesn't overwrite
 
@Freedo ah. just a moment.
 
12:41 PM
If I run that code twice it would overwrite the older folder
 
there's a time variable
 
@JourneymanGeek Absolutely. I'm mostly experiencing it with laptops I'm trying to fix from time to time. Works on all desktop machines I've tried.
 
@JourneymanGeek The / in the date are causing him problems.
1
A: Print datetime in Windows cmd

DavidPostillI would like to have it formatted like 20160225155958 which is the output format of running: date +"%Y%m%d%H%M%S" on Linux. Using %date% to provide a solution is, as pointed out in another answer, dependent on the OS Locale, Regional, and Language settings. Using wmic, on the oth...

 
@Freedo See my answer above. It allows you to format the date (and time) however you please. The default is YYYYMMDDhhmmss but it easy to change ...
 
12:47 PM
too complex I have no ideia of how to use that code in my situation
 
Bob
I would say you're probably better off with a proper backup program. Takes less space too, if you do incrementals.
 
I just want to create a folder with a different name each time really
 
Bob
"How do I do X?" "Use Y." "Y is too hard, I just want to do X!"
 
I just want to append the time and date to a folder name. I don't care about formatting
 
@Freedo Then ask a question on the main site where it can be properly answered.
Replace echo %_date% in my answer with `XCOPY "C:\paman" "C:\backups\paman%_date%\" /c /e
 
Bob
12:54 PM
Today I have been reminded why I stayed away from C++
 
@JourneymanGeek Me too, usually
 
@DavidPostill Thanks it works
 
Except when you have to put them in a suitcase every 3-5 days
 
@Freedo Of course it works - all of my answers work :)
 
Now I can proceed with another batch file who zip it to a single file and move to my google drive :)
Thanks. Seems good enough for backup and version control to me
 
1:05 PM
@Annaduh heh.
 
Fractal Design

Fractal Design Define XL R2 Computer Case (Black Pearl)Fractal Design builds on the success of its awarding-winning Define XL computer case with the Define XL R2. This updated chassis carries on the family tradition of providing superb cooling and ventilation capabilities with exceptional expandability, in a sleek and stylish Scandinavian form. The Define XL R2, which includes Fractal Design's innovative ModuVent feature, has an updated internal layout that offers greater expandability, modularity and flexibility, including capacity for 9 PCI cards and two HDD cages that can be repositioned to provide more space for water cooling radiators.
That's my main case when I have a home
 
@Annaduh Clearly you need one of these:
 
Bob
Qt makes me want to commit defenestration
Preferably of the QtAV developer.
 
Sadly even that giant case has a few flaws that have been fixed in updated versions of their smaller cases. But they never updated the large one
 
Bob
1:11 PM
So. If you dare to install Qt anywhere other than default, if you have a space in the path.... LET'S BREAK ALL THE FUCKING THINGS, BECAUSE WE CAN
 
@allquixotic Seems to be whitelist-only actually:
> Oops! There was a problem updating your profile:
Display Name can only contain letters, digits, spaces, apostrophes or hyphens and must start with a letter or digit
 
Bob
Goddamn steaming pile of horseshit.
 
Bob sounds pissed
 
Bob
Good.
Because I am.
@allquixotic I don't know what you get, but I get avt not running even after the .start()
would dig in more but now I'm reinstalling Qt so QtAV might actually build correctly
maybe
possibly
if the stars align
 
@Annaduh I have a cosair 600T + my bias lighting is connected directly to my main power supply.
 
1:28 PM
@JourneymanGeek Ooh that reminds me
I have no LED lighting in this new SFF case
 
that is a good thing
 
Then again, I had no LED lighting or window in my old E-ATX case either. Or any case I've had. Ever.
 
What really annoys me is I have (in theory) time to redo it
@Annaduh bias lighting isn't case lighting
its behind-monitor lighting
 
BUT the EVGA Hadron I had for a few weeks did have a window, and I've had a few LED fans, because they were cheaper than normal ones
@JourneymanGeek I know, you gave us a running commentary when you set it up :-P
 
;p
Both times I suspect
I don't want a lit case
 
1:29 PM
Just the whole LED lighting thing... reminded me of something I saw yesterday of someone lighting up a A4-SFX
Yeah but I feel left out without it :-(
I mean I've got a bright orange fan and everything
Looks a bit frankenstein
Might as well go all out on the bright ass bling or not at all
 
Bob
Error during installation process (qt.tools.maintenance):
Error while extracting 'installer://qt.tools.maintenance/2.0.3-1installerbase-win-x86.7z': Could not open file: C:/Qt/update.rcc (Unknown error)
WELL OK THEN, SCREW YOU TOO
 
That Qt developer must have done something really bad to make Bob this pissed
I've never seen him this pissed off, even when I blocked him
Yay Sony, this is my like, 10th software update in the 3 days since I started using my Z3C again... Still on Android 5.1.1 but this last update is now 1GB in size
So I suspect it may be the Android 6 update
 
Bob
@Annaduh Nah, dealing with weird programming toolchains tends to piss me off
It's happened a few times now :P
And venting here is fun. Kinda.
Better if there was nothing to rant about, buuuut *shrug*
 
@Annaduh if you blocked him, how would you know?
 
@Aibobot Lurking on the transcript :)
 
Bob
1:37 PM
> Installation finished!
yay
please don't break please don't break
 
@Aibobot It's a secret
Oh ffs sony
Got tired of the phone spending 30 minutes+ doing "Android is optimizing application X of 240" so I went and disabled/uninstalled a hundred of them. Newest update... "Android is optimizing application X of 311"
HOWWWW????
 
Bob
@Annaduh you see, when a mommy app and a daddy app love each other very much...
 
!!trout @Bob
 
slaps @Bob around a bit with a large trout!
 
Bob
:(
erm
it finished building
but I have no idea where it put the output
o.O
 
1:45 PM
Ooh Android 6
Oh and I just made some girls start strip dancing.... ewww
 
Bob
O.o
 
@Annaduh If all these claims about the goings on in your hostels are true you have the basis for a novel ...
 
2:06 PM
Crikey right after that 1GB update, another 500MB one
@Bob yeah the power of music eh :-P
580MB actually
 

« first day (2312 days earlier)