« first day (1345 days earlier)      last day (3608 days later) » 

slm
12:00 AM
@Gilles - congrats on the 200k!!!!!!!!!
 
\o/
haha @slm - just read this
24
Q: Can TCP provide more than 65535 ports?

slmIs it possible to setup a Linux system so that it provides more than 65,535 ports? The intent would be to have more than 65k daemons listening on a given system. Clearly there are ports being used so this is not possible for those reasons, so think of this as a theoretical exercise in trying t...

nice
@slm also: blogpost!
 
slm
@strugee - I will bump it to the front of my work queue. I've been extremely busy if you hadn't noticed I've been less active here the last couple of weeks
 
@slm of course, I understand. I'm not berating you, just reminding :)
and @derobert you should do that NTP thing!
or your series on RAID!
 
12:18 AM
@Seth - Rod Smith just created an account...
1
A: Cannot install Ubuntu on EFI/GPT scheme

Rod SmithYour problem is with the damaged GPT data. Chances are, though, that this is a symptom of something else -- most likely, you've got a disk that's been configured for motherboard-based software RAID (aka "fake RAID") somewhere along the line. This can cause mismatches on the disk size, which can c...

 
@mikeserv I submitted an AUR comment. aur.archlinux.org/packages/debootstrap
you're an Arch user yourself, right?
 
@strugee - yessir. In fact, the other day I finally went clean and removed the last vestiges of Manjaro from the media center. Everything is silky smooth now.
 
@mikeserv nice!
I should get on #archlinux again... I haven't been on in a couple days cause I'm purging libpurple from my system
 
@mikeserv who's Rod Smith?
 
wtf - I'm removing libpurple and it wants to remove part of GStreamer 0.10
 
12:31 AM
@Braiam - author and maintainer of both rEFInd and gdisk.
 
oh my god the GStreamer packaging is confusing
 
@strugee mm? debian?
 
@Braiam Arch
 
btw, people are moving away from 0.10
 
@Braiam yah
 
12:48 AM
How did this homework question get such a high score‽
 
@Gilles how did that weird Unicode cuil symbol end up in that chat message?
 
@strugee because I typed it. What does cuil mean?
 
As far as homework questions go, that's about as good as it gets. They even gave a command that was nearly right
 
@Gilles it is a measure of the level of abstraction away from reality in a given situation
I can't find the original Reddit thread
 
slm
1:17 AM
@Gilles It's been extremely slow the last few days....
Anyone got ideas on this one?
Permissions changing on few files under /etc/
-1
Q: Permissions changing on few files under /etc/

user67186It appears that new permissions on /etc/issue and /etc/motd are reverting back to the original even if we change them. Is there any rc script which controls the permissions on /etc files?

 
@slm yes, sure, it's an easy one
these files are automatically generated
different distributions do it differently
IIRC Debian rewrites them at boot time by default, to indicate the kernel version or some such
 
slm
1:38 AM
@Gilles Thanks I'll have to play with my Debian VM to see this effect.
 
@mikeserv Cool! It's unregistered though :-/
 
Oh. That was quick.
 
Just a coincidence :)
 
What was? Seems pretty coincidental that he pops in to answer an EFI/GPT question linking to his own website using his full name...
I think he just doesn't care to hang around.
@Seth - More likely it's someone else riding his coattails, I think. But I still believe it was him. He shows up from time to time. I've talked to him once or twice at Arch's forums - and via email once.
 
1:53 AM
@mikeserv You said "that was quick". I just happen to pop in to ask a question (on a different site) and saw your ping.
 
Oh - I meant it was quick for him to delete his account.
Or did he never register one?
 
He has a registered one now, since today.
Hi Rod! It looks like you have two accounts, this one (an unregistered account) and this one which is connected to your Ask Ubuntu and Super User accounts. If this was an accident you can contact Stack Exchange and they will merge them for you. — Seth 29 secs ago
@mikeserv Unregistered just means he answered it without an account, just a browser cookie to offer some verification.
 
Saw it and upvoted.
Ahh. Ok. I thought it meant he deleted it.
 
If you open a new private browsing window, you'll see that it is possible to answer without any account :)
One of the nice things about SE.
 
Had no idea.
 
 
7 hours later…
8:59 AM
@strugee Speaking personally, I don't want to solve broken package issues. That's why I run an OS.
Otherwise I would build things myself from scratch.
 
How i make this awk command to work?
echo 'foo 9.9.9.9 bar' | awk '{gsub (/\w\.\w\.\w\.\w/,"\1")}1'
foo  bar
i want only 9.9.9.9
please don't recommend print $2. It's just an example. I want to print only the characters which matches the above pattern.
 
Sounds like a question for the site. However:
`echo 'foo 9.9.9.9 bar' | grep -oE '\w+\.\w+\.\w+\.\w+'`
 
i want only in awk
is that possible?
why back-referencing won't work in gsub function?
i also tried with not but it also won't work,
echo 'foo 9.9.9.9 bar' | awk '{gsub (!/(\w\.\w\.\w\.\w)/,"")}1'
 
9:48 AM
0
Q: Gradle finds wrong JAVA_HOME even though it's correctly set ubuntu 13.10

indagoI have just installed gradle from the terminal sudo apt-get install gradle after finishing am trying to run the command gradle -v but i get the following error ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/java-7-oracle/jre/bin/java Please set the JAVA_HOME variable in yo...

 
10:10 AM
@AvinashRaj - umm... what can I do for you?
I dunno awk but echo 'foo 9.9.9.9 bar' | sed 's/[^0-9.]//g'
 
but i want in awk only.
Thanks.
 
Well, I guess you're asking the wrong guy. Still, you can't do the same thing in awk?
delete any character that isn't a number or a .?
 
so the output would be only
....
i donno this regex is correct or not
!/(\w\.\w\.\w\.\w)/
not of a word character plus a literal dot sign repeated four times.
if the regex works then i can remove all the characters except 9.9.9.9 through gsub command.
 
Beats me - I always try to work with separators when I can - everything implicit. I don't use the \w\b... stuff.
 
 
2 hours later…
12:03 PM
@terdon - you can answer Avinash's thing^ probably, yeah?
 
12:51 PM
hello there
 
1:20 PM
@polym hi
 
1:35 PM
> Well after reading a bit, finally I've fixed using gparted.... then I've managed to install Ubuntu on the free space of SSD. And no data were lost
exactly how gparted "fixed" it?
 
1:59 PM
@AvinashRaj if you're still around, the simplest way would be echo foo 1.2.3.4 bar | awk '{print $1,$NF}'
You can also do it with gsub but I've no idea why you're using the !:
echo foo 1.2.3.4 bar | awk '{gsub (/\w\.\w\.\w\.\w/,"")}1'
echo foo 1.2.3.4 bar | awk '{gsub (/[0-9.]*/,"")}1'
 
2:49 PM
@terdon would asking about making scanned pages darker/better contrast be ok here?
Um, not sure why I was addressing terdon specifically. Consider this addressed to the room at large.
 
@FaheemMitha I don't see why not if you're using Linux software. That kind of thing might fare better on Super User though.
 
@FaheemMitha if you are looking at a software solution, ie post-processing here might be fine, if you are looking for hardware based solution, SU would be the place
 
@Braiam Postprocessing might be an option. Alternatively how to set the scanner better. Would the latter be more on-topic at SU? Though I've not had the greatest experience with that site.
 
sane would be on topic here and in SU, "how to set the scanner better." depends where is those settings stored
 
@terdon Well, one option is to set SANE's options so that the contrast is better. Would that be on topic here?
@Braiam That would be SW side settings.
I.e. in SANE itself. I don't know if the hardware side has any settings, but clearly that would not be on-topic here.
 
 
2 hours later…
4:43 PM
@Graeme - ditto.
I was able to make it do - foo then bar then baz - but that was as good as I could do.
 
5:18 PM
hi. I am unable get the write permission on /bin directory. i have read here that that directory cant be accessed even with the root permission. i need to access it to control by backlight keyboard. Is there any way?
 
@IndrajithIndraprastham backlight and /bin has nothing to do, exactly where you read you need access to /bin's?
 
5:39 PM
4
Q: Keyboard won't light up on a Sony Vaio VPCF121FX

AzraelI've been using my Vaio VPCF121FX for over a year now, running Ubuntu 10.10 and then 11.04 and my backlight keyboard has always worked flawlessly. Until now, i just install Ubuntu 11.10 and this feature seems to be missing or forgoten by the developers. Truth be told, i'm a late-at-night kinda t...

1
Q: Keyboard backlighting not working on a Vaio laptop

Anna LearI installed Ubuntu 12.04 on my Vaio laptop (model VPCSB11FX) last night and one of the issues I'm having is that the keyboard backlighting doesn't work. I saw this question solving a similar problem for 11.10, but the solution suggested there isn't available to me: /sys/devices/platform/sony-lap...

 
if you upgrade and something doesn't work, maybe first place to look is the change log?
 
@IndrajithIndraprastham Yes, and neither of those mentions /bin anywhere.
 
@IndrajithIndraprastham have you tried the suggested fixes in those Q/A's ?
 
darn @terdon stop stealing words from my mouth fingers :)
 
Oh sorry . i should say /sys.... I am kinda new to this . I am using linux mint in sony vaio e seriese.
 
5:43 PM
what is the exact command you type, and the error msg you get?
 
@IndrajithIndraprastham did you tried sudo modprobe -v sony-laptop?
what happens?
 
By reading the answers i found that i have to set 1 to /sys/devices/platform/sony-laptop/kbd_backlight . but there is no file called kbd-backlight there
echo 1> /sys/devices/platform/sony-laptop/kbd_backlight
but i cannot create a file there. i found some c codes in Git which may help me to conrol the backlight. But i cannot write the directory
 
@IndrajithIndraprastham Please read the answers. That's not what they said, they suggested using tee. If the file does not exist then either i) creating it with the command you found will do what you want or ii) the file has changed location (try locate kbd_backlight) or iii) you need to load a module, probably the one that Braiam told you to.
@Braiam Type faster :P
Let's move this to the AU room so we don't duplicate the conversation.
@meskarune Sounds reasonable, yes.
 
sudo modprobe -v sony-laptop
nothing happens.. no errors.
 
Come over to the Ubuntu room
 
5:51 PM
echo 1 | sudo tee /sys/devices/platform/sony-laptop/kbd_backlight
tee: /sys/devices/platform/sony-laptop/kbd_backlight: No such file or directory
1

this is what i get
 
 
2 hours later…
7:47 PM
I get the feeling with this question that either we need to give a general instructions about how the "hook" thingy works, or squeeze op for more info
 
I should hand out bounties for unix.stackexchange.com/unanswered/tagged/?tab=votes more often
 
slm
@Gilles Cool! Now if it just said 999,999 8-)
 
@slm give me 6–8 years
 
slm
@Gilles I wouldn't doubt you there either 8-)
 
objective for tonight: write 20 more answers (that's the number of tabs I have open, I didn't get around to answering for the last two days)
hopefully some of these have acquired good answers in the meantime
oh, more than that, because I haven't done today's question trawl yet!
 
slm
8:01 PM
My zimwiki page is getting too long with Q's I'm meaning to come back to too...
 
$ wc -l <~/tmp/stackoverflow/TODO
1400
I should rename that directory to stackexchange. The weight of history...
So @Anthon, are you running for mod?
I wonder how come Evan Carroll didn't run. Or was his nomination removed so quickly that nobody noticed?
 
wow, GNOME project is on github
 
slm
@Gilles - does anything happen at 200k besides elation?
 
@slm I get a T-shirt or something
I think that's every 100k
 
@Gilles, congrats on the 200k
 
slm
8:11 PM
@Gilles damn that's what I've been working for here...
 
@Graeme thank you
I shouldn't have given out two bounties today, I could have made it last one day longer by spreading them out
 
"extract here" of nautilus is on fileroller code or nautilus?
ok, forget it, apparently is file rollers
 
@Gilles I see, so you actually had it yesterday and this is you going the second time. Well done anyway, that's a lot of good answers.
 
@Gilles Sorry about the unicorn.
 
@mirabilos Wishlist for mirbsd.org/htman/i386/man1/mksh.htm : a nice set of anchors, so that people could link to mirbsd.org/htman/i386/man1/mksh.htm#Quoting, mirbsd.org/htman/i386/man1/mksh.htm#typeset, …
 
 
2 hours later…
10:34 PM
tit-for-tat downvoting... I think it's the first time I see it here :(
 
You've yet to see it.
It is not the first time I've seen one of your answers appear a day later but remarkably similar to another that had been downvoted. That is shameful behavior,
This is what he refers to, by the way:
-1
A: Serialize shell variable in bash or zsh

GillesIn any POSIX shell, you can serialize all environment variables with export -p. This doesn't include non-exported shell variables. The output is properly quoted so that you can read it back in the same shell and get exactly the same variable values. The output might not be readable in another she...

 
11:01 PM
That was a bad answer - underhanded, even. This is a good one:
1
A: Linux Fedora 20:How to use microsoft word, possibly with wine?

GillesLibreOffice is a far cry from being compatible with Office. Excel compatibility isn't too bad for calculations, but LibreOffice Writer and Impress can't cope with formatting from Word and Powerpoint. Libreoffice and MS Office are roughly equivalent in functionality, but if you need formatting com...

 
have to agree with that, no outing with wine has really went well for me.
Plus I think there are 'Microsoft Genuine Advantage' hurdles to overcome with installing MS office on wine (at leas the newer versions).
 
@Graeme - me either. Always a sprawling disaster. Would you mind having a look at my wiki post here? Edit as you will - it was a copy-paste because I don't know permissions well enough to flesh it out... but I think I'm right about the -Recursive thing...
12
Q: explanation on chown(1) POSIX spec

Stéphane ChazelasThe POSIX spec for the chown utility mentions in its rationale section about the chown user:group syntax (formerly chown user.group) (emphasis mine): The 4.3 BSD method of specifying both owner and group was included in this volume of POSIX.1-2008 because: There are cases where the de...

 
11:21 PM
@mikeserv could well be. My brain is fudged tonight though. I'm pretty sure if there's an answer to that q then its a theoretical situation, nothing that currently happens on a real system (or else someone would probably have answered it definitively by now. Is there any guidance in the standard about who can change owners/groups on files and what they can change it to or is it completely implementation defined?
 
implementation defined
 
@Graeme it's implementation-defined. Some unices have a capability for it
 
The question was about what chown user:group could do that chown ; chgrp couldn't. And - I think - chown -R ./ could result in a situation in which you cannot then chgrp -R ./ - especially in the presence of symbolic links.
At least that's what all of that reading seemed to indicate to me. But I'm too wiped myself to construct some elaborate test scenario and too simple-minded to get a very firm grasp on it without concrete results.
Thanks for looking though; @Graeme.
Interestingly though, there is some indication that POSIX intends to alter that in the future - some spec'd sudo or something I presume.
 
11:43 PM
The text is definitely very terse, I have read it two or three times now and I'm still not sure exactly what it is saying. Mostly it is just talking about the dangers of following symlinks when traversing the tree. I guess some funny things can happen if you do the logical traversal and I don't see anything that says the implementation can't. I don't see how it relates to the specific statements in the question.though.
My thoughts were toward what specific rules about changing owner/group you could set up that made chgrp group; chown user or chgrp user; chown group. Something like you can change the group if you have write access, but only to one that the owner is in. And in some cases you can change the owner too, perhaps as long as the original owner still has write access.
Anyways, I'm done for tonight. If anyone can dream up an answer from that, then feel free.
 
The text is terse and my relation to it is admittedly loose - but I think that for the same reason they go into it at all recursive changes can break the rest.
It's wikied for a reason.
 

« first day (1345 days earlier)      last day (3608 days later) »