« first day (1531 days earlier)      last day (3425 days later) » 

3:23 AM
If I edit a post and that post gets removed in future, will there be any reputation loss?
 
3:34 AM
@Ramesh Yes, the 2 reputation you earn will go with the post.
 
@Seth oh yeah. We get +2 for approved edits. I had completely forgotten it after joining the 10k club ;P
 
;)
 
 
7 hours later…
10:51 AM
@Gilles Not sure what you're trying to say. Was not aware there was a voting limit. I created that account to make a point some time ago as you know. And yes, if I ever get to use it again, that would probably be for some other form of abuse ;-b
 
Hi Everyone!
Is there a way to run a Gui application (X11) in background
So that if I disconnect, I can resume the running app again?
I am using SmarTTY
When I run a Gui application (e.g. gnome-help) it starts Xming server and displays its window.
I want to keep it running even if I disconnect, crash or close ssh connection. So that I can get back to running applicaition later
I have tried 'screen' and '&'
 
@StéphaneChazelas Having multiple accounts is ok but only if you never use them to do things that you coulnd't do with a single account. Most of these things either leave public traces (e.g. using account 1 to accept an edit from account 2, casting a close vote on the same post from both accounts) or are related to voting.
The best way to make it clear that you aren't abusing the second account with anything voting-related is not to vote at all from your second account.
 
Hi guys, do you advise here? Got a query that isn't really suitable for main.
 
The voting limit is 40/day (less if you don't vote on enough questions), I'm surprised you've never run into it, I do so pretty often
@Sippy ask, don't ask whether you can ask. Worst thing is we'll tell you to post it on the site.
 
@Gilles Just wanted to be sure, been shouted at for asking in rooms that aren't for support before :D
Basically I have a linux box, I am fairly noob at administrating it.
It's using a ridiculous amount of bandwidth every month and there's pretty much nothing running on it.
Is it likely that it's compromised, or is there something I've done wrong, possibly?
I was trying to set up iftop to see where it was all going, but failed setting it up because I am a Windows user. :D
 
11:06 AM
@Sippy the only way to know is to analyze the traffic. Preferably from a proxy that sits between the box and the internet: if the box is compromised, the traffic may be hidden from reporting tools.
 
@Gilles Right, do you have any links or anything I can use to get my head around that?
 
First step would be to say what kind of services your box runs (web server? mail server? bittorrent?)
 
Just teamspeak at the moment :/
I had gameservers running on it but they lag, I think partly due to this issue.
 
I have to go now, I suggest that you write things down: what services you're running, what information you have on bandwidth, what makes you think it doesn't fit with intended usage, your firewall configuration, any logs/traffic analysis you already have. Then ask what tools to use to investigate further.
 
@Gilles Sure, thanks man.
 
11:52 AM
@Gilles Are you saying that you are Gilles, Tom Leek, and Thomas Pornin (and have a sleeping disorder and/or are AI), and that I̶y̶o̶u̶we're having this conversation to convince people that y̶o̶u̶I a̶r̶e̶am not m̶e̶you? :-)
4
 
@StéphaneChazelas No, I'm only Gilles. Thomas is Tom and Thomas.
 
12:23 PM
Can someone remind me of that command that produces a tree of the hard disk devices, and the stuff on top of them - sw raid, lvm etc.?
Some commands I just have a hard time remembering
lsblk. never mind
 
Can you have a windows manager without a desktop environment?
 
12:42 PM
@Vass Probably not, but why? Was it you who was asking about window managers etc earlier?
 
1:01 PM
Yeah, I reinstalled my OS Debian
and installed xfce
and now at booting, the display manager allows me to choose between xfce, gnome 3 and gnome classic
if i install a WM, will I be able to choose it from the display manager?
as I would a DE?
 
@Vass I don't know. I don't even really know the difference between a DE and a WM. Though I have impression a WM runs on top of a DE.
Incidentally, reinstalling is not necessary unless your system is damaged in some way. And even then, it may be repairable.
 
 
1 hour later…
2:21 PM
@Vass yes, any debian packaged WM/DE should should show up in that list.
@FaheemMitha a WM just manages windows -- position, geometry, decoration, management. A taskbar and a menu are typical. A DE incorporates a WM but provides a lot of stuff on top of it, usually to include a set of system utilities and a central settings manager.
 
@casey,so I can install many of them and try them out? without creating a problem?
 
For the KDE you are familiar with, KDE is a DE, while kwin is a WM. Everything that isn't kwin is what makes a DE different than a WM
@Vass yes, you can install them all
 
2:35 PM
@casey ok
 
3:28 PM
The "Triage" queue on SO has 90K reviews in 16 days
with that kind of enthusiasm the Close Vote queues never would have needed purging.
 
Hi @Seth
 
Hi!
 
4:03 PM
It's fixed! Verizon finally fixed it this morning.
well, that failed to onebox
 
@derobert Congratulations. What was the problem?
 
@FaheemMitha The upstream packet loss
 
@derobert No, I meant, why was it happening? As in, the underlying problem.
I remember your description from a few days ago.
 
@FaheemMitha I haven't called them yet to ask... No idea if they'll tell me either.
 
@derobert Ok
@derobert That's certainly an impressive speed. Do you get decent connectivity with local (North American) mirrors?
That's Megabits, right?
 
4:15 PM
@FaheemMitha yep, megabits
 
Still impressive. Divide by 8 to get 10 megabytes, so, 10 megabytes a second, approximately.
 
I could apparently have a half-gigabit if I felt like paying them $390/mo... which I don't.
 
4:42 PM
Yeah... running X apps over ssh works again. Streaming media via NFS over a VPN works again. Even 1080p content.
 
5:09 PM
@derobert How much are you currently paying?
 
@FaheemMitha ~$135/mo for 75/75 + 5 static IPs, on a business account (so, e.g., servers are allowed by the TOS)
 
@derobert Oh. That's quite expensive.
 
@FaheemMitha If it were on a residential account with dynamic IPs, I think it'd be more like $60/mo
 
I used to pay approx $40 a month, for like 500 kilobytes per second downstream.
@derobert Oh. I don't understand. Why not have a residential account, then?
 
@FaheemMitha Then how is $135 expensive‽ I mean, that's $80/mbit, vs. $1.8/mbit.
@FaheemMitha Because static IPs and allowing servers is nice...
 
5:15 PM
@derobert Well, if you need the speed, then sure. I'm just thinking in terms of - I need a net connection, how much do I pay? Not in terms of cost per mbit/sec.
In my experience 500 kilobytes per second was plenty fast. I could stream Netflix comfortably.
 
@FaheemMitha Well, having speed (especially upstream speed) is nice. I have a fileserver with 1080p video on it. I can stream that, remotely, from anywhere...
And Netflix is unwatchable without at least 3mbps. At least, on a screen larger than an old cell phone.
 
@derobert Speed is nice, granted. Especially upstream speed.
 
Well, maybe the 1.5mbps stream is OK on a cell phone. Certainly not a TV.
(Well, maybe an old analogue TV...)
 
@derobert To be clear, I said 500 kilobytes, not kilobits
 
@FaheemMitha Ohhhhh! I read it wrong
 
5:17 PM
that's like 4 megabits per sec.
i used to use Time Warner in NC. Before that something called Earthlink. Which used T-W infrastructure, or something.
 
Who measures bandwidth in bytes... So then $10/mbit for yours
(Sorry, I worked as a network engineer for a while, and still do a lot of networking stuff... We always measure network bandwidth in bits. Doing it in bytes is almost unheard of. Though of course its common with file transfer programs.)
I think file transfer programs do it in bytes because they're treating it like disk bandwidth, which is usually in bytes. Possibly using 1024-based prefixes, usually network stuff uses 1000-based prefixes too.
 
5:38 PM
@derobert Well, I'm not a network engineer.
I think in terms of disk space.
And I don't see why one couldn't/shouldn't measure bandwidth in bytes too.
 
5:59 PM
@FaheemMitha One could, just like one could measure disk space in bits. But tradition in both cases is not to.
 
@derobert Ok. I guess I don't know the tradition. And using one measure everywhere seems more natural.
 
@FaheemMitha Sure, if we started over from scratch, it'd make sense to use one measure everywhere. While we're at it, we could get everyone to agree if a megabyte is 1,000,000 bytes or 1,048,576 bytes, too.
(Historically, also, early modems ran at 50, 75, 110, and finally 300 bps... None of those are divisible by 8. Possibly why the tradition of using bits/sec started.)
 
@derobert Yes, that's even more confusing.
@derobert Good point.
I used a modem till 2003. It was horrible.
4
 
6:15 PM
Forget when I finally dumped dialup modems for good. Sometime in the late 90s, when we got a cable modem. Actually, I think at first still had a modem for backup—the early cable modem stuff was hardly reliable.
 
@derobert After I switched to cable in 2003, I kicked myself for not having done it earlier.
cable internet, of course. actually, I think I got basic cable (tv) around that same time, but now I forget.
@derobert "early cable modem" as in when?
 
@FaheemMitha It was the late 1990s, don't recall what year exactly.
 
@derobert Oh, Ok. I had the impression that cable internet has been well established for a while when I started using it.
 
Sure, in 2003, it had been around for at least 5 years...
 
@derobert Ok.
 
6:36 PM
@derobert do you know how to burn a video file with non-standard aspect ratio to DVD? This has been a thorn in my side for years.
 
6:53 PM
@FaheemMitha AFAIK, DVD-VIDEO supports a certain list of resolutions and aspects, if it's not on the list you have to add (and actually encode) black borders to make it work.
 
@derobert Yes, that's what I've tried to do in the past, but it's been a total nightmare. Very confusing.
Do you happen to know of a good guide/tutorial?
 
7:15 PM
@FaheemMitha not sure about a good guide... But "just use D1" is pretty easy, at least if you don't need to minimize bitrate.
 
@derobert I don't know what "just use D1" meant.
Have you successfully carried out such an operation yourself?
 
 
1 hour later…
8:27 PM
@FaheemMitha D1 is one of the DVD resolutions... 720x480, and the only one AFAIK that does widescreen
 
@derobert Just to be clear, I get the video files. I don't get to choose the res.
 
Yeah. So you have to scale and blockbox them to get them into 720x480, at one of the 4 DVD-Video display aspect ratios
(or one of the other DVD-Video resolutions)
so, e.g., if you have 1920x1080 source, you scale that down to 720x480—yes, that's a different scale for x and y—and then encode that, and set the display aspect ratio to 16:9.
And actually, I think e.g., ffmpeg will set the DAR for you correctly if you just use the scale filter to do that.
@FaheemMitha ffmpeg.gusari.org/viewtopic.php?f=25&t=1235 has math and some example ffmpeg lines
 
8:46 PM
@derobert Have you done it yourself?
 
Yes. Used to do it all the time... then I attached a PC to the TV and never had to deal with that BS again!
 
Ah, magic code. Oh, I'll give it a try, thanks. You've used exactly this recipe then?
 
No, not that recipe exactly. I wrote a program (could send you a copy if you want, but it uses a bunch of outdated tools) that handles not only that part, but also the fact that the crappy TV I was watching on had its own interesting distortion to add on top...
 
@derobert huh. ok, i'll try that magic code then.
You could send me your code if you wanted - faheem at faheem dot info.
 
@FaheemMitha That magic code looks sane, and not really that magical, at least if your source video has square pixels.
 
8:50 PM
@derobert Ok, I'll try it. Though I have no idea what it is doing. Do you?
 
@FaheemMitha yes... it's comparing a (the aspect ratio, I think) vs. 720:480. If its wider, it's scaling the width to 720 and the height to match. Otherwise, it's scaling the height to 480 and the width to match. Then it's padding (adding black around the edges) to make it 720:480
 
@derobert Wow, that's super-sophisticated. All in one command line?
 
@FaheemMitha Yep. It's not actually that hard to read in there...
 
Might be worth writing a question/answer about it. Nobody seems to have a clue on the net. If I write a question, will you answer?
 
if(gt(a,720/480),720,-1)
 
8:56 PM
@derobert this is bash code?
 
if(condition, value-when-true, value-when-false)
 
or shell code, anyway.
 
@FaheemMitha no, it's ffmpeg-code
 
@derobert Blimey, really?
 
condition is gt(a,720/480) ... and gt(x, y) returns true(=1) if x > y
It's documented in ffmpeg-utils(1)
 
8:58 PM
@derobert I see. Never heard of it.
So, question/answer?
 
@FaheemMitha depends on what that question is...
 
@derobert Well, handling non-standard aspect ratios. like I said above.
Though I don't know if the author would be upset at having his content copied into SE.
 
I'd want to play with that somewhat to see what it does with weird things (say, non-square pixels) to be sure it always works
I think it probably will either work or error out
 
@derobert Hmm. I'll try it right now.
@derobert I get - Unrecognized option 'filter:v'
I'm using Debian wheezy
 
oh dear, how old is that ffmpeg... you could try -vf instead
(and its actually libav, isn't it, so... well... keep your fingers crossed...)
 
9:06 PM
This is the 6:0.8.16-1 0
from Debian wheezy
@derobert Unfortunately, yes. Thanks to that idiot Debian maintainer.
But the author wrote: "Below steps worked for me on Debian Wheezy"
It's like the Internet is mocking me.
 
@FaheemMitha probably using the deb-multimedia repository
 
@derobert I could try that. I've had trouble with it before. Are you using testing?
 
-vf is the old name of -filter:v, you can see if that works
@FaheemMitha Yeah, I'm using testing + deb-multimedia
 
"It's important to first make sure you have the latest static build of the ffmpeg binary."
Hmm. that's an idea, I guess.
 
@FaheemMitha you might be able to backport the ffmpeg package from sid as well
 
9:10 PM
@derobert Maybe. But is that libav too?
 
@FaheemMitha nope, it's ffmpeg
 
@derobert They switched back? Did sanity prevail? If so, glory be.
 
@FaheemMitha it's in sid... jessie is still libav, AFAIK.
 
Is ffmpeg self-contained? I have an awful time trying to disentangle dependencies.
@derobert Bummer
 
9:24 PM
@derobert the mm one is 8:1.0.10-dmo1, the sid one is 7:2.5.1-1
This versioning is confusing.
 
@FaheemMitha 1.0.10 is an old version, I think ffmpeg.org knows of 2.5.1
Not sure why the deb-multimedia one is using a newer epoch
actually, deb-multimedia testing & unstable use epoch 10:
 
@derobert Ok. Sounds like I should try the unstable one then. Is ffmpeg fairly standalone? Would I have a shot at building it on wheezy?
 
@FaheemMitha Haven't tried it... But it should be fairly standalone. I think the huge mess of multimedia libraries everyone depends on all come from ffmpeg
 
@derobert Didn't follow the last sentence.
 
@FaheemMitha There is a long, long list of multimedia libraries that e.g., every video player depends on. I think that whole list comes from the ffmpeg project, though, and are part of ffmpeg
 
9:28 PM
@derobert Oh. Won't swapping out ffmpeg break lots of stuff in that case?
or does it not depend on it in a shared lib sort of way?
 
@FaheemMitha the sid ffmpeg package is designed to coexist alongside libav... so hopefully you won't have to swap anything else out.
 
Eek, that's a lot of build depedencies
@derobert Yes, but on unstable.
Maybe I'll try a static build
 
Yeah, if it doesn't work, you can download a static build...
ffmpeg.org has Linux static builds
 
@derobert Yes, I see them
 
10:20 PM
Ugh. Rebooted for a kernel upgrade, and of course nvidia didn't work. Fixed that, then reopened Chromium. As normal, it started without restoring my session. So I hit reopen closed window... which it promptly did, then changed it mind and opened a window from another computer instead.
And there seems to be no way to get it back.
UGH.
I really wish Firefox would fix its 'eventually slows down and spends all its time hung doing garbage collection' issue so I could dpkg --purge this crappy browser like it deserves
 
@derobert Not a chromium fan, then?
 
No. Not at all. Its useful for Flash, and not slowing down when you leave it open for weeks.
 
@derobert Ok. I mostly use chromium myself.
 
Other than that, they still haven't gotten the compose key to work yet. They're morally opposed to useful features like middle-click paste/go URL.
 
Well, I guess they are all an improvement on Netscape 4.77. Which was state of the art in 1998.
 
10:24 PM
Next up, figure out why systemd has again failed to mount my remote filesystems...
@Gilles shall we have a curse at systemd session?
 
That's why I use wheezy. Wait, I said that already.
 
root@Zia:~# systemctl status -l mnt-Einstein-music.mount
● mnt-Einstein-music.mount - /mnt/Einstein/music
   Loaded: loaded (/etc/systemd/system/mnt-Einstein-music.mount; enabled)
   Active: failed (Result: exit-code) since Thu 2014-12-18 17:08:32 EST; 15min ago
    Where: /mnt/Einstein/music
     What: Einstein.home:/srv/music
  Process: 3160 ExecMount=/bin/mount -n Einstein.home:/srv/music /mnt/Einstein/music -t nfs -o nosuid,nodev,intr,rsize=4096,wsize=4096,nfsvers=3,fsc (code=exited, status=32)
 
@derobert why Zia?
The only meaning I know of is as a male Muslim name.
So it might mean something in Persian or Arabic.
 
@derobert Oh, anime?
 
10:26 PM
Yep. Previous workstation here at work was Tao-[BLOODY COMPOSE KEY, CHROMIUM]from the same series
 
There was once a Pakistan general called Zia, for example. Nasty piece of work.
 
... old one, you can see how much better I got between those two workstations... And how much better grub2's bootsplash support is than grub1 :-)
 
@derobert bitmap grub splash?
 
@FaheemMitha Yeah, tao had to be an xpm.gz with 14 colors. zia is a 24-bit PNG
 
@derobert I guess that's progress.
 
10:34 PM
@FaheemMitha and 1600x1200 instead of 640x480
 
Well, the unstable ffmpeg seems to be building, at least.
Ok, I spoke too soon. Crash.
Package libwebp was not found in the pkg-config search path.
@derobert How does one create such a picture? Is it high tech?
 
@FaheemMitha I used inkscape and gimp
 
@derobert Oh, you converting an existing image? Was it a lot of work?
 
@FaheemMitha Not too much. I basically re-drew Zia in inkscape, from a bitmap source. Then composed that onto an existing bitmap with gimp
Or maybe with Inkscape. Yeah, I think I used Inkscape for the final composition
 
Sigh: the Debian sid ffmpeg is not cleaning itself properly.
They let just anyone package things for Debian these days.
@derobert Oh, you redrew it? Sounds like a fair amount of work.
 
10:42 PM
@FaheemMitha What terrible hygiene. I suggest you spray it down with sodium hydroxide to make sure its safe.
 
dpkg-source: info: local changes detected, the modified files are:
ffmpeg-2.5.1/config.fate
ffmpeg-2.5.1/config.log
Eww
@derobert Not sure what that is.
I wonder if I should file a bug report
that suggests those files are in source. terrible
 
@FaheemMitha Well, originally I typed the wrong thing absent-mindedly, would only work if it were a ghost or similar. Sodium hydroxide, though, is lye, which I think will take care of it.
 
@derobert what would only work if it were a ghost?
 
@FaheemMitha sodium chloride (i.e., table salt)
 
@derobert Oh. Why would that work on ghosts?
Upgraded libwebp . Seems to be getting further.
Fingers crossed.
Surprisingly, removing ffmpeg doesn't remove anything else
Go figure.
 
10:48 PM
@FaheemMitha Ummm... It comes from myth, salt being used to ward off spirits and such.
 
Just a test before I try to install my backport.
@derobert Never heard of that.
 
Here is something referencing it. scifi.stackexchange.com/questions/46853/… ... would like to find a better one, but... <shrug>
 
@derobert Ok
 
Dec 18 17:08:26 Zia rpc.statd[1201]: failed to create RPC listeners, exiting
Dec 18 17:08:26 Zia rpc.statd[1199]: failed to create RPC listeners, exiting
Dec 18 17:08:26 Zia rpc.statd[1193]: failed to create RPC listeners, exiting
Dec 18 17:08:26 Zia rpc.statd[1200]: failed to create RPC listeners, exiting
... wow, it tried to start rpc.statd a bunch of times
Dec 18 17:08:16 Zia nfs-common[301]: Starting NFS common utilities: statd
Dec 18 17:08:16 Zia nfs-common[301]: Not starting: portmapper is not running ... (warning).
oh well, that's nice. Did it really try to start statd before the portmapper?
 
This is systemd?
 
10:56 PM
yep
Ok. Looks like nfs-common for some reason wasn't set to require rpcbind. (Possibly my fault, I've had to edit a bunch of stuff to get stuff to mount in the right order. Debian's mix of sysv and systemd is approximately the worst of both worlds.)
BRB, going to reboot to be sure this works.
 
balls. the ffmpeg build failed
test failed. disabling tests - sigh
 
OK, that fixed it.
Oddly I got a panic on shutdown instead of a shutdown... I suspect nvidia.
 
@derobert I don't understand why there is a mix.
 
@FaheemMitha Most of the system is still using init scripts, through systemd's compatibility layer.
 
@derobert Sounds messy. Is this going to be fixed, or is stable going to be like that too?
 
11:07 PM
@FaheemMitha Stable is going to be like that.
 
@derobert Yuck
 
Yeah.
 
Speaking of ghosts, I see Mike has joined us. Well, time to try to sleep. Take care, guys.
balls, the ffmpeg build failed again
dh_install: ffmpeg-doc missing files (doc/*.html), aborting
 
@FaheemMitha must be time for the static build!
Anyway, I'm going home...
 
I seriously loathe splash-screens. I just installed Windows (maybe?) on some beatup old laptop for a neighbor. I forgot how much it flashes. An entire screen that says nothing at all! Why did it refresh then? What the hell is the point?
 
11:16 PM
Well, at least the freaking thing built
 
@mikeserv I find the grub splash screens on servers a very nice confirmation that, yes, you rebooted the correct machine.
 
Yeah, and they usually have options and stuff.
 
And you don't see them often enough to be annoying, with how little they get rebooted
 
@derobert No, just getting rid of that expression in ffmpeg-doc.install
 
This is just a big blue bland with some kind of paisley or whatever...
 
11:18 PM
Anyway, I'm off. Will probably be back from home fairly soon though.
 
I bet there's big money in MS splashes. Setup is preparing your computer for first use. That's gotta be a double entendre.
Oh, hi @FaheemMitha. Night night?
@FaheemMitha - I edited that about me thing the other day, finally. But I didn't add any information. I did a soundtrack instead.
@derobert seriously. I think this thing has rebooted 30 times in the past 30 minutes. I hate neighbors.
oh man
this laptop is full of teenage gay porn
 
11:33 PM
@mikeserv ??!!
@derobert dpkg: error processing ffmpeg_2.5.1-1_amd64.deb (--install):
trying to overwrite '/usr/share/man/man1/ffprobe.1.gz', which is also in package libav-tools 6:0.8.16-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
bummer
@derobert the backport installed, amazingly
ffmpeg: symbol lookup error: /usr/lib/x86_64-linux-gnu/libflite_cmu_us_slt.so.1: undefined symbol: usenglish_init
what the hell
oh, known bug apparently. bugs.debian.org/771454
I'll try to take care of this tomorrow.
 
Oh man. I just turned it off. It was really beat up anyway - i could barely get it to turn on cause the charge port's all chewed up. I just installed windows on it and looked at the DATA partition and it was full of AVIs. I got 15 seconds into one and I knew what I was looking at. Somebody really cared about those kids.
 
2
Q: How to change dir to the last directory?

maihabunashI have very long directories list, like /dir/dir/dir/../../../../../../../../../.. ../../ ../../last dir Is it possible to change to the last dir immediately?

Can someone who understands this question (such as the answerers) please edit it? I have no idea what the guy is asking
 
^I saw that one. Didn't get it either - does he want to cd to the last directory or does he want to find the last branch on a tree? If the latter - you have a good answer somewhere about... find ... -links 2 @Gilles.
If the former cd - hardly seems worth it.
 

« first day (1531 days earlier)      last day (3425 days later) »