|Sunday, January 18th, 2037|
|Comment for add
Since people seem to be migrating around the Internet, anyone who's dropped LJ for FB, Twitter, or a private blog w/ OpenID:
My OpenID is j-b.livejournal.com
Feel free to comment here (FAQ
) if you've added me to read your non-public entries, and you're welcome to see mine.
-j Current Mood: indescribable
|Tuesday, September 2nd, 2014|
|Windows technique to print timestamps before & after from the command line
On Unix, a quick way to output timestamps is:
$ date ; slowcommand ; date
Tue Sep 2 12:12:18 MDT 2014
Tue Sep 2 12:12:34 MDT 2014
But if you try a similar approach at the Windows command prompt, there's a few problems.
- The command TIME /T outputs the time, but only in HH:MM format.
- The command prompt's builtin magic variable %TIME% outputs HH:MM:SS.ss, but if you try it, the results are unexpected:
C:\>echo %TIME% && SLOWCOMMAND && echo %TIME%The timestamps come out the same, because the command prompt does all variable substitution in a line at once, before executing the first command.
In batch files, this can be mitigated with the setting ENABLEDELAYEDEXPANSION and referring to variables !LIKETHIS! instead of %LIKETHIS%. But that won't work at the command prompt.
The solution I used was to run the command explicitly afterwards with CMD /C
, using the ^
to escape out the %
C:\>echo %TIME% && SLOWCOMMAND && cmd /c echo %TIME^%
Other solutions welcome.
|Wednesday, June 11th, 2014|
|Differences in 100-pin printer memory DIMMs
My HP Color LaserJet CM1017 (CB395A) claims, according to all online documentation I can find, to take 100-pin non-DDR SDRAM. Upon ordering and trying to install the RAM, I found the notches don't line up. Here's the differences, with photo evidence. Phooey.http://imgur.com/a/mTvFr
SDRAM pin/notch spacing: 6 pins, right notch, 16 pins, centered notch, 28 pins
DDR pin/notch spacing: 6 pins, right notch, 16 pins, right notch, 28 pins
|Thursday, November 21st, 2013|
I know that when someone has the temerity to say "Gosh, I wish Emacs could do X
", they're generally met instantaneously with howls of derision by a teeming horde of "Ask me about my Aspergers!"-shirt-wearing neckbeards who let them know:
- Anyone who would want to do such a thing is an idiot.
- Doing $INSANELY_COMPLICATED_ALTERNATIVE is much better as any idiot knows.
... it's a million times funnier when that person saying "Gosh, I wish...
" is Richard M. Stallman.https://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00515.html
(Relevant: "if you ... think that my kids ... need to have the root password to access some wireless network, or to be able to print out a paper ... please just kill yourself now.
—Linus Benedict Torvalds
|Monday, July 9th, 2012|
|Saturday, July 7th, 2012|
|Saturday, May 26th, 2012|
|Remote Desktop cannot verify identity because time/date difference between your/remote computer.
Remote Desktop cannot verify the identity of the remote computer because there is a time or date difference between your computer and the remote computer. Make sure your computer's clock is set to the correct time and then try connecting again. If the problem occurs again, contact your network administrator or the owner of the remote computer.
Workaround: Connect via IP address instead of name.
|Thursday, January 19th, 2012|
|Saturday, December 17th, 2011|
|Monday, November 14th, 2011|
|Saturday, November 12th, 2011|
|Thursday, November 3rd, 2011|
It occurs to me that the ability to quickly eat every grain of rice stuck to the bottom of a bento box is an effective shibboleth for proving you are Japanese.
Posted via LiveJournal app for Android.
|Wednesday, October 26th, 2011|
Time to break out the cold weather running gear.
On a side note this is the first time I've tried the android LJ client's "share link" functionality .... it just pops a new entry with open close A HREF tags, and your cursor between them. And then the first text you enter auto pops over to after the close tag. So.... they never tested it. Sounds about right.
, what's "LiveJournal [is Dying| deathwatch]" in Russian so I can tag these? :)
Posted via LiveJournal app for Android. Current Mood: awake
|Sunday, October 23rd, 2011|
|Saturday, October 22nd, 2011|
|Tuesday, October 18th, 2011|
Gracious, old chum! There's something completely irregular about these goings-about, I tell you! Most unusual!
|Sunday, October 16th, 2011|
Just used the Ubuntu "usb-creator-gtk" utility to make a bootable amd64 Ubuntu 11.10 USB drive. After I finished, there was a "test disk" button. I thought it'd verify the disk. Instead it launches a working QEMU and boots the bloody thing in a subwindow, which I'm currently posting to LiveJournal under Firefox out of.
That is actually impressive work by the team involved.
...of course because LiveJournal is awesome it marked the timestamp of the QEMU post in the future and made my journal partially dain-bramaged.
|Thursday, October 13th, 2011|
|Wednesday, October 12th, 2011|