« first day (1249 days earlier)      last day (3709 days later) » 
00:00 - 21:0021:00 - 00:00

12:51 AM
Hanging out on AU reminds me what it felt like to be a newbie:
1
Q: terminal closes immediately after open

user101289I rebooted recently, and now terminal fails to work. If I click the terminal shortcut or use Guake or ctrl-alt-T, the terminal opens briefly with no prompt, then immediately closes again. I installed xterm as well and the same thing happens. If I use ctrl-alt-F1 to get to a command line session ...

 
@terdon ouch...
 
@Braiam yeah. You should have seen the crap that this nux guy was answering. Suggesting he export DISPLAY from tty1 o_O
Ah, you probably can. 10k
Do you have any idea why Ubuntu's default bashrc calls .profile?
 
@terdon I'm suspecting that if I check base-files or bash changelog I would...
 
@Braiam yeah, but it's been that way for years.
 
well, tho that doesn't explain why the heck source ~/.profile is in ~/.profile
 
1:03 AM
@Braiam no, that was the OP :)
 
...
WHY?!
(note: doesn't expect answers)
 
hanging out in AU reminds me how high-quality unix.SE really is
 
@strugee yup
@Braiam weird, apparently that didn't solve the issue. I'm guessing he's done something similar to some other init file. Or did not actually remove the line...
 
@terdon which begs the question: why are you still visiting?
nice ego boost?
:P
 
@strugee we get our crappy question once in a while in UL :P
 
1:08 AM
@strugee Only really started to this week. I've found some fun questions and come on! AU is full of people who are wrong! On the internet!!
 
@terdon tell him to run sed -i 's/\~\/\.profile/d' ~/.profile instead ;)
 
@Braiam and it's downvoted to oblivion. therein lies the difference :)
 
@Braiam heh
 
ugh. stupid oneboxing doesn't deal with TLS xkcd links
 
@strugee yeah, did you think my choice of words was a coincidence?
 
1:10 AM
@strugee oddly enough deals with LP and github...
 
Needs it's own line and full http://
 
12
Q: HTTPS urls don't one-box in chat

CodesInChaosWhen posting a https url like https://stackoverflow.com/... it does not one-box in chat. For example: http://chat.stackexchange.com/transcript/message/12317079#12317079

 
@terdon right, I know. notice how it got linked just fine
ah, @Braiam got it
it's because I have HTTPS Everywhere turned on
which, frankly, every single person here really should use. it's one of the rare security freebees that don't require you to change your habits
 
I don't have and xkcd is returned as https
 
@Braiam really. interesting.
 
1:16 AM
blames google
 
@Braiam yeah, I saw Google link to a TLSified xkcd page. really nice.
the times, they are a-changin'
 
@strugee ARG! Why?
 
@terdon which part?
 
There are many sites that don't support https and don't need to since there is no sensitive data sent.
 
@terdon it doesn't automatically upgrade every single site to HTTPS. that would be stupid. I said you don't have to change your habits, remember? :)
it has a rules list
 
1:19 AM
@strugee brilliant! Hadn't read that one.
@strugee ah, OK, that's different
 
@terdon indeed. although I wish it was possible to do without the rules list.
I am of the opinion that everything that can be encrypted, should be.
 
@strugee nah, because overhead and MONEY ISSUES
 
@Braiam no. no no no no no.
PUBLIC SERVICE ANNOUNCEMENT: TLS IS NOT COMPUTATIONALLY EXPENSIVE ANYMORE. IT HAS NOT BEEN FOR MANY YEARS.
 
@strugee yeah? Explain that to my Dad when google serves him an https:// address for his own website and he freaks out cause his browser tells him it's not safe.
 
@terdon a) I said computationally expensive b) that means your dad has incompetent system administrators
 
1:25 AM
@strugee Oy!
 
/me prays that you aren't his system administrator
 
;)
 
oh no
 
He lives in Greece, I in France, he runs a Windows7 machine that I fix every noe and then. Hardly his sysadmin :)
 
is everyone ignoring the cost of an SSL/TSL certificate?
 
1:27 AM
Not sure why this occurred but it did, so it's not completely transparent yet. Adding encryption on a webpage with no sensitive data still seems pointless to me.
But then, I know very little about it
 
@Braiam StartSSL will give you one for free. I just looked it up.
3
Q: Why do websites use HTTPS when they don't need to?

KnightOfNiThis has been bothering me for a while, but I have noticed that some websites (the first one that comes to mind is XKCD) use HTTPS for no apparent reason. I mean, XKCD is free and accessible to anyone. Why on earth would they encrypt your session when all you're doing is looking at comics? It see...

 
slm
1:53 AM
@Braiam you can get SSL certificates for free. Also you can make a self signed one, the point is that you're encrypting the traffic b/w your visitors and your server, not that the SSL cert is signed by a provider.
they're good for 30 days
CACerts are free too
You can get your cert via cacert here: cacert.org/index.php?id=1
 
slm
ppl get confused b/c they think that a cert has to authorize the endpoint but certs fulfill 2 purposes. One to prove you are who you say you are and two to provide end to end encryption
 
@slm ^ ;)
I know I can add the certificate to my systems, but my clients do not, which is the main problem ;)
 
slm
That's b/c iceweasel's stock supply of CA's doesn't include it
your clients running ubuntu?
 
MS's
my country is on the lower tier of systems running Linux/Unix
 
even servers are windows
 
@slm self-signed works but personally I would still get a CA-signed cert because otherwise you're vulnerable to all sort of things ranging from passive attacks to active MITM if the attacker intercepts the initiation of the TLS connection
 
@slm will check out...
 
slm
@strugee - agreed
we use only commercial signed ones but they're pricey. We use digicert, they seem to be the cheapest
code signing certs are even pricier
 
one of the primary reasons that I want to move strugee.net away from GitHub Pages is so that I can turn on HTTPS (along with Transport Security Policy headers)
with the knowledge, of course, that the CA hierarchy system/PKI is Broken and Fucked(tm)
 
2:27 AM
@strugee do you know anything about setting up syntax highlighting rules in emacs (font-lock minor mode)?
 
@casey no idea. I barely know anything about Emacs customization besides installing and loading new major modes
Gilles would know :P
 
I have to do some testing then before I write up a Q
 
good luck!
 
thanks, I have a feeling I'll need it
 
2:46 AM
figured it out!
 
\o/
 
I'll say this, as complicated as some people make emacs lisp out to be, its a hell of a lot better than vimscript
4
 
 
1 hour later…
@terdon that is a... unique way around the comment minimum rep
 
ain't it just?
 
 
1 hour later…
5:14 AM
ugh.
so I have a VirtualBox machine. Arch guest, Arch host. default network settings (NAT).
I can SSH out of the guest into the host, but not the other way around.
any ideas?
or should I ask on main?
 
@Braiam consider your bounty refunded. :)
@strugee can you ping the guest?
Mine are on different subnets by default.
 
@terdon trying now
From 71.217.186.17 icmp_seq=3 Destination Net Unreachable
well, there's the problem. the connection's going out to the public internet
I never really understood what subnets are... now I'm regretting never reading up on them
aah, almost typed sudo shutdown now into my host instead of my guest...
 
@strugee should be easy enough though I can't really help. I'm sure you know more about networking than I, I know very little. May as well post a question though. Just show the ifconfig from both machines
 
@terdon I've just about got it worked out. NAT mode was the incorrect mode
thanks though!
 
@strugee did you set it to bridge?
 
5:28 AM
@terdon yes. now trying to get the kernel modules to work
 
That worked for me
@strugee Ah, :)
 
bloody VirtualBox
 
@strugee bloody arch more like. I just changed nat to bridge and it worked out of the box on my Ubuntu VM.
Which should not be taken as an indication that I wouldn't take Arch over Ubuntu any day!
 
@terdon hrmph.
found it, I think.
I needed to be a member of vboxusers
 
@strugee ah, yes, that's a different issue, I've had to struggle with that one myself.
 
5:39 AM
well it didn't work
 
@strugee Has the VM's IP changed? Is it now on the same network?
 
I can ls /dev/vboxusb now but there's no /dev/vboxdrv
so none of the VMs will boot
 
@strugee ??
Those are 2 different modules
You need to load vboxdrv on the guest and host.
At least I did, the vboxusb was needed to share USB devices if I remember correctly, I needed it to get my windowsVM to see my phone for example
 
6:16 AM
@terdon I know. the whole set of modules thing is bloody annoying.
I couldn't read /dev/vboxusb because I didn't have the proper group permissions
 
@strugee yup, need to be in vboxusers vboxsf and fuse if I recall
 
6:41 AM
@terdon nah, it's simpler on Arch. I dunno. I'm going to sleep.
I'll probably ask a question about it
night!
 
7:25 AM
@terdon good detective work. but how does bash respond to a infinite loop anyway?
 
7:54 AM
Morning
Ooh! I got my first star yesterday! swoons
 
8:05 AM
@JennyD I see and I agree, congrats
 
@Anthon Thanks :-)
 
I am using WingIDE for editing Python, but in emacs mode (of course).
It never ceases to amaze me how the (my) human brain copes with switching from emacs to vi and back
I mean automatically working out when to do 'dd' for line copy and when to mark and do Esc-w
 
 
3 hours later…
10:48 AM
Hello
 
11:04 AM
does someone know if there's a difference between :wq and :x in vi I only use :x but I always wondered why this option exists compare to :wq
 
@Kiwy :wq will always write to the file; :x will write to it only if there were changes made since last save
 
@JennyD hey thanks :-) I will go to bed less ignorant tonight
I guess the only good thing about :wq is too follow file modification date compare to :x
 
@Kiwy I tend to always use :wq but that's just by habit; it doesn't really make any difference... tracking the time of last edit should be done by version control software anyway, not by timestamp.
 
@JennyD I always use :x it's shorter :D
@Anthon noooooooo you stole me 2 rep points !!!!!!!!
 
11:29 AM
@JennyD What is a star?
 
@FaheemMitha The one at the end of the line that stars a message so it gets stuck on the right side for a while
 
@JennyD Oh, the thing in chat. Right. I got it confused with badges for a moment.
 
@FaheemMitha The first one does cause a badge, too, though
Note to self: The bash man page may not be entirely helpful when you're scripting in ksh...
 
@JennyD I got a badge for having 10 starred by 10 different people. no idea when any of that happened, though.
 
@FaheemMitha I think that and the first one (10 messages, at least one star) are the only star ones you can get. I've got both on SF.
 
11:32 AM
Called outspoken, perhaps? I wonder who they have sit around and thing up these things.
 
Does someone have any idea what's the problem of this very nice person ?
 
@JennyD I see,
@Kiwy why isn't this a link?
 
@FaheemMitha no idea
 
maybe missing http
 
@FaheemMitha exactly what you said :-)
 
11:33 AM
@Kiwy For future reference, don't use the one that appears in the bar, use the one under share. that is the permalink
 
this one ?
3
Q: Cannot connect to any localhost connections

badrayI'am using Centos 6.5 with latest updates. My problem is that whenever i try to connect to some local service it just hangs for example: wget 127.0.0.1 --2014-03-11 12:43:42-- http://127.0.0.1/ Connecting to 127.0.0.1:80... After a while timeout... ssh vps21298# ssh 127.0.0.1 -p 6060 -v Op...

 
I just got an enquiry about one of my projects on BB, but not by email. He sent it via bitbucket's internal mail. Strange.
 
12:39 PM
@strugee get 2 virtual NIC, one bridge and one NAT, that normally works
 
 
1 hour later…
2:09 PM
@Kiwy I made it up to you somewhere else, now I have to 4 more of your suggested edits >:-)
 
2:37 PM
hello, people
anybody uses OpenLDAP + OLC (cn=config) ?
 
3:05 PM
@setevoy Only OpenLDAP, not OLC
 
3:34 PM
@Braiam yeah sounds right. but like I said, I couldn't get the VM to even boot at the end.
it won't matter after today though.
 
hi everyone
 
since I'll be getting my nice SSD and won't need the VM anymore.
@FaheemMitha hey!
 
@strugee What's happening? I'd like an SSD too.
 
@FaheemMitha I'm putting it in my server. the old hard drive that I inherited with it died like 5 months ago and it's been down ever since
 
@strugee What size? how much did it cost?
 
3:37 PM
@FaheemMitha here
120GB
seems like a lot for a hobbyist server but I have a btrfs root so it's gonna come in handy
 
@strugee That's a decent price. It says 80Gb though. And not available
Actually, quite a lot compared to a regular hard drive, though
 
@FaheemMitha there's a little capacity switch on the right middle
 
I thought of getting one. I'd like better I/O.
@strugee Ok
BTW, why "strugee"?
 
uhm. kind of a weird story
 
@strugee do tell
 
3:43 PM
when I was like 6 or 7 my friend signed up for Club Penguin with the username "Frooga" and I, being 6 or 7, thought to myself, "man, that's a really cool name"
so I came up with "Strugee" and I've used that as my username online ever since
even though I haven't played Club Penguin for like 8 years or something
 
@strugee not that weird. I thought it would involve a treehouse and some visiting aliens at the very least.
never heard of Club Penguin. Having looked at the page, I am still baffled.
Anyone else using SSDs? How do you find it?
 
@FaheemMitha did the CSS load properly? it didn't on my box for some reason
@FaheemMitha I found it from a story on Slashdot
 
@strugee Seemed to.
 
huh
 
@strugee So you picked the one that survived the testing? Smart.
Intel makes hard drives now?
 
3:48 PM
@FaheemMitha yeah, if I was at a real company, trying to figure out how to architect a RAID array, I'd actually do some testing
but I'm only buying one so I was kind of like, "they're all just as good, might as well pick the one Slashdot likes"
 
@strugee I wouldn't. Let someone else do it. It's boring.
 
@FaheemMitha apparently
@FaheemMitha indeed :)
 
AAaaaaaaaaa SE is down :(
 
@terdon I just got a weird error from unix.sx when posting a comment. but it went through
@terdon you use SSDs?
 
@FaheemMitha I'd post a screenshot but it won't let me. I get a down for maintainance message on the main site
 
3:51 PM
I'm getting a weird error on SO but not the same "down for maintenance" that I get from unix.SE
 
@FaheemMitha nope, never have. Still on good old HDDs, BIOS, MBR etc. Call me old fashioned...
 
@terdon you're old-fashined
 
I'm getting a "service unavailable" message, sporadically
 
@strugee yuo, I also have a system that actually works :)
Ah, we're back
 
@strugee :-)
 
3:52 PM
@terdon as do I :D
I mean, except on my super screwed up laptop.
you guys getting an error on SO?
 
@strugee exactly! I haven't played around on my laptop too much. I use it for work and can't afford to break it and fix it as I tend to enjoy doing. Hence, stable distribution with semi-rolling releases.
 
@terdon right, I can't even get GNU/Linux on the damn thing. wiki.archlinux.org/index.php/Dell_XPS_13
 
@strugee there was maintenance according to a message I have seen briefly
 
@Anthon thanks
 
Should be ok now
 
3:55 PM
Guys, I know - here is bad place for asking, but - can somebody please take a look at:

http://stackoverflow.com/questions/22330143/openldap-get-directory-from-cn-config
 
well now I feel better
 
@strugee have you seen the most AWESOME 404 evar?!
 
@Braiam I don't think so, do tell!
 
re SO - says site in read-only mode here.
 
3:58 PM
@strugee No chance of upgrading this box, unfortunately. Requires a complete rebuild, due to the proprietary stuff on it (Dialogic). And even that would only get me to etch... Beyond that, would take a fair bit of work (who knows what changed in newer versions...). Doesn't help that they only officially support RHEL, so I get to discover new & exciting ways they break Debian boxes each time I do a new version. And it currently works, so...
 
@setevoy sorry, 0 knowledge about LDAP and I can't even upvote your question, the site is in read only mode :(
 
@Braiam that... is so great
@derobert ouch!
freakin RHEL
seducin vendors
 
@terdon err? SO? UL is not
 
@terdon np :-)
 
Yeah. I several sections in the build docs about how "you must immediately do this, or the box won't boot anymore..."
 
4:02 PM
@derobert well. that's just lovely...
 
@Braiam yes, SO
 
@strugee so, does the article figure that all Intel SSDs are good, or only some models?
@derobert Proprietary software sucks.
 
@FaheemMitha just the one model.
he was also looking at cheapness which is probably why it's only the one
 
@strugee I see. Thanks.
 
@FaheemMitha Indeed. At some point, I (we) hope to switch away from it. It's also #@#(!# expensive.
 
4:13 PM
@derobert What do you use it for?
 
We receive inbound calls over PRI lines to take automated surveys
 
@derobert ok. what is PRI?
 
T1. Digital telephone lines.
 
@derobert ok
i hate automated surveys.
 
full name ISDN PRI. 23 64kbps digital voice lines, 1 metadata channel
 
4:16 PM
@derobert Ok, thanks
 
well, I guess its ISDN PRI 5ESS B8ZS, but that's no doubt more than you cared :-P
and Dialogic^WIntel^WDialogic makes the voice cards we currently use. So we get their proprietary driver & telephony stack.
 
@derobert and this is used for making automated calls to unfortunate people?
 
no, we only have inboud calls. Thankfully.
It's mainly call centers—when you call them, their system asks if you'd like to take a survey about the experience, and if you say yes, after the call it transfers you to us...
 
@derobert i'm confused. you have special software for handling automated surveys?
 
special hardware for talking to the phone network
 
4:22 PM
@derobert Ok. never mind, it is not important
 
The phone network doesn't run Ethernet...
 
heh
 
So, like you have to have an Ethernet card to talk on an Ethernet network, you need a card to talk to the phone network... Except phone cards are much more expensive.
Unless you do VoIP, then you only need an Ethernet card :-P
 
@derobert I see. And this is not the same and picking up the phone and dialling a number.
 
@FaheemMitha Well, picking up a phone and answering in this case. But one of these cards handles 92 phone lines at once.
 
4:26 PM
@derobert you really need VoIP
 
@derobert That's a lot.
 
@Braiam Yeah...
 
really though.
 
I think OP is asking how to set up Samba to access it from the Internet.
I believe the correct answer is simply "don't".
 
4:32 PM
yeah, was thinking the same...
 
4:58 PM
@Braiam the answer there needed some polishing as well.
 
@Anthon scratching your editing itch on AU?
 
Anthon probably should be a professional editor.
 
@FaheemMitha and get paid for it? Nah, would take the fun away. BTW I hate to review my own writing
 
@Anthon No, editing other people's writing is what professional editors do.
Does anyone understand what this is about?
0
Q: USB Printing Ubuntu12

JohnWhere is blacklist-cups-usblp-conf in Ubuntu 12? I am using an Argox 214PLUS USB Printer. It works well on Ubuntu 10. I upgraded to 12 and it's no longer working. I Googled some solutions but they all say I blacklisted it in /etc/modprobe. but I can't find blacklist-cups-usblp-conf. Where is it ...

If nobody answers this, it might make sense to send it to AU
 
@FaheemMitha I think it's "how do I get my Argox 214PLUS USB Printer to work?"
 
5:08 PM
@derobert right, but what is all the blacklist stuff about?
or is that just irrelevant?
 
@FaheemMitha My guess is its something OP found while Googling. Sounds like maybe there is a usblp module that maybe is blacklisted (in /etc/modprobe.d, presumably)
 
@derobert Hmm.
 
There is a usblp module.
 
i suggested he look in /etc/modprobe.d
 
Possibly it is blacklisted. Possibly it need to be blacklisted. Or maybe OP found a random thing on Google and got confused.
 
5:10 PM
a lot of these people seem to lose interest, don't answer questions, and disappear
makes you wonder why they bother asking
@derobert I'd go for confused, myself.
which of the answers here is the best? can't tell by looking
7
Q: Find a file when you know its checksum?

KiwyI have the md5sum of a file and I don't know where it is on my system. Is there any easy option of find to identify a file based on its md5 ? Or do I need to develop a small script ? I'm working on AIX 6 without the GNU tools.

 
5:42 PM
Thanks @FaheemMitha - this, with me needing a specific nmcli usage, occurred like a year or more after the last event where I needed the same; I cannot imaging how big should I set the history file, so as to handle needs like this - and even if it was set to that, it would be still tedious to look up something you may have typed a year ago. But it could be an alternative for more frequent events; cheers! — sdaau 13 mins ago
can bash history be made infinite?
 
@FaheemMitha huh, dunno, I have mine set to 999999
 
@terdon ok
 
I would expect that the only limiting factor be the hard drive space available but I can't prove it.
 
@terdon that might be a builtin limitation
# Save and reload the history after each command finishes
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
not sure if this is a good idea or not - i think this may have caused me some problems. comments?
 
@terdon it is loaded into RAM. So that'd be the earlier limit.
 
5:51 PM
@derobert only for the current shell session though right? Then it's written to HISTFILE
 
No, I think the entire file is loaded in...
But I'm not entirely sure.
 
I just read through info bash's section on HISTORY and there is no limit mentioned so other than HDD (and RAM if @derobert is right) there sdoes not seem to be a builtin limit
@derobert not quite, it's kept in RAM for the open session (or in a closed file descriptor, not sure) and then copied to HISTFILE when you exit
When an  inter‐
       active  shell  exits, the last $HISTSIZE lines are copied from the his‐
       tory list to $HISTFILE.  If the histappend shell option is enabled (see
       the description of shopt under SHELL BUILTIN COMMANDS below), the lines
       are appended to the history file, otherwise the history file  is  over‐
       written.
 
but doesn't it load the old history in, when the shell starts up?
Or at least when you do your first history expansion?
 
@derobert from the HISTFILE
On startup, the history is initialized from the file named by the vari‐
able HISTFILE (default ~/.bash_history). The file named by the value
of HISTFILE is truncated, if necessary, to contain no more than the
number of lines specified by the value of HISTFILESIZE. When the his‐
tory file is read, lines beginning with the history comment character
followed immediately by a digit are interpreted as timestamps for the
preceding history line. These timestamps are optionally displayed
That's the section just before the one I pasted above
 
Yeah, so then your HISTFILE is limited by RAM, because if its bigger than RAM, loading it in isn't going to go well.
Of course, that isn't much of a limitation on a modern desktop PC.
 
5:57 PM
@FaheemMitha if you can't tell, upvote all of them!
@derobert true.
 
@terdon Nah.
 
@derobert and truer
@FaheemMitha ????
OK, upvote @Anthon's at least, that one is very clever
 
@terdon Done
@terdon the first or second version?
 
Dunno, the one he has there.
 
 
1 hour later…
7:24 PM
when i drag windows around in KDE they magically resize, sometimes to fill the screen. what is controlling this?
is the a kde thing, an x thing, or something else?
 
@FaheemMitha are you dragging them to any of the screen's edges?
 
@terdon Just moving them about. between two screens, for example
 
OK, weird
 
I thought it was just the window manager doing its stuff, but wondered what kind of "intelligence" was behind it.
i've noticed it with wheezy. not sure if that happened before. often if you shake the window it will go full screen for example
sometimes it will go small
 
 
1 hour later…
8:48 PM
@FaheemMitha its a kwin (KDE window manager) thing... there are some settings to control it.
 
@derobert i guessed that. wonder how it is implemented.
 
how it's implemented?
I couldn't tell you the X calls its using, but window resizing/minimizing/maximizing/etc. is normal window manager stuff
 
00:00 - 21:0021:00 - 00:00

« first day (1249 days earlier)      last day (3709 days later) »