« first day (2029 days earlier)      last day (2930 days later) » 

6:09 AM
@FaheemMitha history.stackexchange.com :p
more seriously, I don't know where it would belong, maybe SuperUser?
 
 
2 hours later…
7:46 AM
Shouldn't the majority reason be the one given, though? Here the minority one was. And it's less suitable, imo.
 
@lgeorget I don't think it belongs on SE at all. The answer is "because the standards were written that way". It's certainly not a Unix question at all.
 
It still got answers, though.
 
A lot of people will answer off-topic questions. That still doesn't make them on-topic.
 
@JennyD True. They were high-rep users, though. One would expect them to know better.
 
I've made the same mistake on other posts - it's easy to get carried away with "oh, I know this" or "oh, this is interesting".
 
7:50 AM
@JennyD Ok. Though it isn't a particularly interesting question, as history or otherwise.
It's certainly possible to ask interesting history questions.
 
But as a general rule, questions like "why did $PERSON/GROUP make the standard like this/make the program behave like this" are bad subjective questions. There may be exceptions to the rule, but I don't think this was one.
 
Sometimes they do turn out to have documented answers. This question, I don't understand why anybody would ask here.
 
Here's one that even I upvoted, but if there is an answer, it's lost in the mists of time. Maybe someone like Richard Stallman would have an answer.
7
Q: What is the historical origin of CTRL + P for up and CTRL + N for down?

harlandskiI am a moderately experienced vim user, who is now beginning to use GNU emacs. At about the same time as I learned that Ctrl-p and Ctrl-n are the default for up and down in emacs, I also learned they are variants of k and j in normal mode in vim. Does anyone know the origin of these shortcuts? I...

@MichaelHomer Yes, and somone with non-trivial rep too.
Maybe he was at a party and they got to talking about it.
 
@FaheemMitha But 28k on SO, and more than here on Programmers, where he might have gotten away with it.
 
@MichaelHomer Got away with asking off-topic questions?
And the obvious answer to P and N is that it is (probably) Previous and Next.
I bet if one was to write to Stallman (without telling him the origin) he'd reply, even if it is was with a I-don't-know.
He does reply to email.
 
7:57 AM
@FaheemMitha It might be on topic there. Better than here, anyway.
 
@MichaelHomer Oh, you mean the question under discussion.
 
 
10 hours later…
5:32 PM
I recently swapped out one video card for another. Does the OS retain any memory of this? It's been a few weeks, and the system logs of the event are probably gone by now.
 
5:57 PM
@FaheemMitha Yes, absolutely. It's pining for its old video card. You'd best attach it gently to the side of the machine, or it might haunt you forever... ghostly voice "video card…video card…"
(serious answer: it might be in a log somewhere, or a name in an X config, or... are you trying to make sure nothing is broken, or are you trying to look for forensic evidence?)
 
@derobert Too late, that card is history. Actually, I think my computer guy went off with it. That's quite fitting, since I got it from him originally.
 
If you had to compile in a different driver into the kernel, that will remain. Otherwise I can't think of something off-hand.
 
@JennyD Hmm, yes, I did upgrade the drivers from Nvidia legacy to Nvidia regular, actually. The same day I installed the new card, I think. My old card was so ancient, it was not supported by the regular drivers any longer.
But I don't think dpkg or apt keeps records of installations for very long, either.
 
Although, to be precise, it doesn't remember the card. It just keeps having the driver around.
@FaheemMitha Are you sure of that?
 
if you have an xorg config, there are identifiers for cards, monitors, etc. in there. A lot of those are for human convenience—X only cares they match each other—so often the model # is used there
 
6:01 PM
@JennyD Well, those logs do get pruned, don't they?
 
nthony@Zia:~$ ls -l /var/log/dpkg.log*
-rw-r--r-- 1 root root 1162894 Apr 29 13:56 /var/log/dpkg.log
-rw-r--r-- 1 root root 1301497 Mar 29 16:05 /var/log/dpkg.log.1
-rw-r--r-- 1 root root   85464 Jun 30  2015 /var/log/dpkg.log.10.gz
-rw-r--r-- 1 root root  123415 May 27  2015 /var/log/dpkg.log.11.gz
-rw-r--r-- 1 root root   36441 Apr 28  2015 /var/log/dpkg.log.12.gz
-rw-r--r-- 1 root root   95607 Feb 29 13:01 /var/log/dpkg.log.2.gz
-rw-r--r-- 1 root root  105645 Jan 29 17:08 /var/log/dpkg.log.3.gz
... eventually.
 
If you've got log pruning setup, yes. But it's not just a log, it's a database, too.
I think. I'm not that familiar with debian. I believe that yum keeps the info.
 
@JennyD I've only got the defaults.
@derobert Do you happen to know the defaults for dpkg/apt log pruning?
 
@FaheemMitha I doubt I've changed them, in which case its a year. Check your /etc/logrotate.d/{apt,dpkg,aptitude} (etc.)
 
Huh, it looks like I've got logs in /var/log/apt going back to May 2015.
So, yes, looks like a year.
/var/log/apt/term.log {
rotate 12
monthly
compress
missingok
notifempty
}

/var/log/apt/history.log {
rotate 12
monthly
compress
missingok
notifempty
}
 
6:04 PM
Of course, "there is a log of the old card" isn't a problem to solve, unless you need a forensic examiner to be unable to determine you changed a video card. In which case I'd suggest wiping the disk and reinstalling.
 
Hmm, longer than I expected.
@derobert No, just wondering how long the new card has been in there. The old card used to crash all the time.
 
(oh, and also not talking about it in teh interwebs :-p )
 
Finally @cas said, essentially, your card is crap, get rid of it. So, I did.
Eventually.
 
@FaheemMitha you could probably search chat history here to find out, if you can't find out from the logs
 
@derobert True. But I can't remember if I talked about it at the time.
 
6:06 PM
you could also check for /var/log/Xorg*, and also some crashes are logged by the kernel to the kernel logs
(though you probably only keep those for a month)
 
@derobert They only keep one old copy though.
 
... unless you're running systemd's journal, then you may have complete logs going back for quite a while
 
@derobert I don't know what systemd's journal is.
 
try journalctl --list-boots to see if you've got multiple boots logged in the journal
 
journalctl --list-boots
0 f3abfa28e921463e9d0d1acfdce78d51 Fri 2016-03-11 21:37:49 IST—Fri 2016-04-29 23:35:24 IST
 
6:09 PM
sounds like you don't have the persistent journal enabled. It's not by default in Jessie.
 
@derobert I'm using the defaults. I don't know anything about systemd. Though I am willing to learn.
@derobert So, what are your thoughts about systemd timers? Possibly you noticed the question I asked about it?
@JennyD Are the BSDs using systemd?
 
systemd is (in-)famously Linux-only
 
Ok. So the BSDs get to miss out on all the flamewars - I mean all the fun.
 
@FaheemMitha /usr/share/doc/systemd/README.Debian.gz has instructions for enabling the persistent journal. systemd has its own logger...
 
@derobert Is that a good idea?
 
6:12 PM
I have it enabled on my boxes, it has a lot of nice things (like being able to filter for output from a given service, particular boot, etc.) ... but I haven't been crazy enough to turn off traditional syslog yet.
 
Hmm, looks like 2016-03-02 was the day I got rid of the Nvidia legacy drivers. So two months approximately, then.
@derobert Can you have both, then?
 
yep
 
Ok, reading.
Enabling persistent logging in journald
=======================================

To enable persistent logging, create /var/log/journal and set up proper
permissions:

install -d -g systemd-journal /var/log/journal
setfacl -R -nm g:adm:rx,d:g:adm:rx /var/log/journal

-- Tollef Fog Heen <tfheen@debian.org>, Wed, 12 Oct 2011 08:43:50 +0200
Is that the thing?
 
yep
 
Is it reversible?
 
6:15 PM
@FaheemMitha sure, just rm -Rf /var/log/journal and reboot
 
@derobert Ok.
Ok, ran it. Do I need to reboot?
 
yeah, it'll be enabled starting with the next boot. You can probably restart some service instead
 
I feel a little bad about this, but I VTC this one:
0
Q: Qubes OS and .deb packages

Guido JorgQubes is a beautiful OS. However, I don't see a file manager for templates. So how do I drag over (say, by usb, and where to!? dom0?!) a .deb file or .rpm to start the install process. Each AppVM has its own Package Install which automatically tries to open and install the package (which it can't...

His question is unintelligible, imo.
@derobert systemctl?
 
@FaheemMitha not sure what service it is that you'd restart...
 
6:19 PM
systemd-journal-flush.service maybe. Or maybe systemd-journald.service. Or could be something else.
 
Doesn't really matter.
Someone complained that USB didn't work on a newer kernel. Strange.
 
anybody with experience on bash history on Ubuntu 14.04?
 
Though if USB breaks, that's quite bad. It's now all we have available for peripherals.
@user23324 There is the site for asking questions. Just sayin'. Or just ask.
 
hey, my keyboard is PS/2 like Mammon intended!
 
ok thanx Faheem
 
6:21 PM
@derobert Heh. Do computers even come with PS/2 any longer? And, Mammon?
 
@FaheemMitha Well, obviously IBM at the time...
 
@derobert Oh, them.
What's the status of PS/2, anyway? Is it being phased out?
 
For a long time my keyboard at home had a PS/2 adapter on it. But the other side of that adapter wasn't USB. Eventually that keyboard broke and I had to get a new one, with PS/2.
I wonder if you can chain AT → PS/2 → USB through adapters and have it work...
 
I just looked at the back of my computer, and there is some kind of weird mouse/keyboarf combo deal. Half of the disk is green, the other half is purple. And there are icons of both a mouse and a keyboard on the side.
Wonder what that's about.
 
Ah! But you have a PS/2 port?
 
6:29 PM
The thing on the far left:
@derobert It appears so. Though I didn't know till now it was there.
 
yep, definitely appears to be a PS/2 port. Above two USB ports.
/me wonders what red USB ports are...
 
The back of my computer is dominated by USB ports though. Tons of them. Needless to say, I rarely look back there.
@derobert Maybe they're Satanic USB ports.
 
Could be. If you ever get a USB stick from a Windows-using friend, maybe that's what they're for.
 
Perhaps. Would PS/2 devices work if the USB subsystem was broken?
 
@FaheemMitha They should.
 
6:38 PM
@derobert Ok. Well, I suggested it to that chap.
 
7:01 PM
So, systemd timers, anyone?
 
7:20 PM
So what does systemd do well?
 
@FaheemMitha I upvoted it :-/
 
 
1 hour later…
8:38 PM
@derobert Thanks.
@AaronHall Opinions vary.
@derobert Still no answers, though.
 
 
2 hours later…
10:30 PM
@derobert Just to be clear (not that it really matters) that isn't a photo of my computer, just something off the net that shows that combo PS/2 port.
 
I get the error dpkg-deb: error: package name has characters that aren't lowercase alphanums or '-+.'
 
10:45 PM
So, this line is supposed filter standard error, but when I've working with a remote output, it doesn't.
{ borg check faheem@ramnode:/mnt/backup-Mail 2>&1 1>&3 | tr '\r' '\n' | grep -v "^Checking segments" 1>&2; } 3>&1
It is worth asking on the site, or am I missing something obvious? Opinions?
@AbhishekBhatia Background, please. You're writing a script to create a Debian package from scratch?
 
@FaheemMitha yeah
 
What does your control file look like? Your script is hard to parse.
 
I built a executable with pyinstaller. Now I create .deb from it.
 
@AbhishekBhatia I'd recommend you create a Debian package in the usual way.
 
Can you elaborate more please?
My src code is in python, thus I use pyinstaller. Directly creating .deb from src code should not be possible I think.
 
10:53 PM
@AbhishekBhatia It's not only possible, but very easy. Just do apt-get source any_python_package_you_fancy and look at the debian/rules and debian/control file.
 
are you sure? I thought that what pyinstaller was for. It ships the interpreter as well.
 
Ell
11:12 PM
Hi folks
 
@AbhishekBhatia yes. see man dh
 
Ell
@derobert probably charging usb ports
fast charge or charge while off ones
 
@Ell I thought all USB ports were charging ones.
 
Ell
Some of them have a higher current though
or can charge while the computer is turned off
 
Ell
11:27 PM
I wonder how I can get a copy of chroot
to use fakechroot with
 
@Ell What are you trying to do?
 
Ell
ahh coreutils :D
@FaheemMitha make a gentoo "subsystem" while not root :P
 
@Ell Ah. What is your host system?
 
Ell
My uni shared area
 
@Ell Oh. You don't control the machine, then?
 
Ell
11:30 PM
But I want a newer compiler
I know I could just compile my own gcc, but that's no fun ;)
I want to be able to get any packages I want
@FaheemMitha No :)
 
What is the distribution of your host system?
 
Ell
CentOS something
7? I can't quite remember
 
Ah, CentOS.
Building a working subsystem in user space isn't optimal.
Presumably chroot or similar?
Does your host system have virtualbox? Are the sysadmins at all cooperative?
 
Ell
11:46 PM
@FaheemMitha yeah, I'm using fakechroot + chroot
I haven't talked to the sysadmins, this is mostly for fun
 
@Ell Sometimes sysadmins are friendly. It's not common, but it does happen.
 
Ell
haha
 
Mostly they give the impression they are thinking about something nasty in the woodshed.
Why not just use your own computer(s)?
 
Ell
@FaheemMitha like I said, I enjoy the challenge :)
I do use my own computer also
 
@Ell You could enjoy it on your computer.
Personally, I find dealing with computers I don't control quite frustrating.
 
Ell
11:51 PM
well, there are no obstructions on my computer
the obstructions are what makes it challenging
at the minute the challenge is a relocation error
 
@Ell Hmm. If you enjoy obstructions, you must enjoy life on Planet Earth. But why go looking for them? There are plenty already.
 
Ell
I think it's a good way to learn also
 

« first day (2029 days earlier)      last day (2930 days later) »