« first day (1533 days earlier)      last day (3404 days later) » 

5:45 AM
What happens on boot if a device referenced by UUID in fstab can't be found?
I assumed that it just failed and life moved on.
Once my Pi comes up, I'll take a look at the log, but I think that it's taking a lot longer to boot because something is wrong with finding the USB drive.
 
6:24 AM
@derobert I was the last reviewer on that and IIRC there were so many different reasons to close this one that it caught my eye and I had another ( asking for learning materials). I briefly considered editing the "Thanks" out of the question (in another window). Could it be that because of 5 different reasons not giving majority consensus the orginal close reasons was taken?
Not 100% sure if that is true, but I will keep that in mind that that might happen if I notice multiple close reasons.
 
 
6 hours later…
12:46 PM
what is so bad about my answer to deserve a downvote? unix.stackexchange.com/a/175142/17433
 
1:06 PM
@Janos - it's really not bad. I'm sorry man. It's just a kneejerk thing when I read no you can't or similar. I can't reverse it now though wihtout an edit being made,
 
1:24 PM
@mikeserv You could make an edit.
 
Yes I can!
 
@mikeserv That's the spirit!
Never Say Die!
 
ok. so maybe it's kinda bad. I downvoted it before because of the no you cant thing - I didn't really notice the whole find | xargs deal til now.
Oh well.
 
and the whole find | xargs thing is bad because.....?
 
There are many reasons it is bad - in the first place it needlessly complex - why do you need so many processes? Also you dont quote $dir123, and you don't even know the filenames can be read like head -n1
What's the point of doing print -0 at all in that case?
Why do you not find ... -exec ...?
 
1:39 PM
many of these points can be improved if you leave a comment
rather than downvoting
and I cannot find -exec because I need the list of files in ls -t
 
I've got an edit open on it right now.
And a downvote is not a permanent thing. Still I didn't do it for those reasons - I did it for no you can't. I only went back to look harder and notice the rest.
 
so shoot first ask questions later?
 
As far as find -exec goes...
 
if I don't ping you here, I'd just have a downvote. Not very friendly
 
Well, no, not's how I usually do it. Don't be all bent out of shape - you were right to question it and I was wrong not to comment. I was tired - and I don't like no youcant.
The rest is just a little sloppy - and fun to fix.
 
1:43 PM
no worries, I'm not bent out of shape ;)
 
I don't understand what you're finding any way - you already have the dirs and the glob pattern...?
You can just set -- it.
 
from the OP it's not clear to me if the files are in those dirs, or could be in subdirs of those dirs
but you're right, I could give 2 versions
 
Ok. Very good point.
So you should do find. In that case you want to just print the file names to some storage or whatever - but delimit them.
 
@mikeserv are you editing it right now?
 
find willl do a ./ at the begininning. If you searched instead for ././file_stuff - you could easily grep '^././ or something. I have it open, but I was talking to you right now.
 
1:49 PM
I can edit myself and you can tell me if it's still not good enough
 
Ok. I would prefer that - it's why waited for Faheem's nudge - I had hoped you might. But at that point it was just about the first thing.
You know ls does -R though, right?
 
I know but I don't think that will help here
 
Yeah, maybe not. GNU find does all of the -printf stuff too. And there is stat.
Sorry, I'm done.
 
thanks for the feedback, I might ping you if I can make it better
 
well, if you'll just remove the no you cant bit I'll remove the downvote. And then you can beep me or whatever if you edit and think I ought to see. I'll probably upvote for no reason in that case.
 
1:55 PM
:)
I'll probably completely rewrite the whole thing
when I'm done you won't even recognize it ;)
 
hey
helo,
0
Q: mupen64plus how to install glide64mk2 library to play RE2 in mupen64?

user965347i tried to play a game resident evil 2 , in mupen64plus with ubuntu 12.04 but somehow the graphics looks bad, when i tried glide64 the graphics is not working , same with rice and arachnoid, i tried to google it , and i found from this link http://code.google.com/p/mupen64plus/issues/detail?i...

 
@janos - this might be pretty ok. -type d -exec sh -c 'cd -P "$0"; ln -s "$PWD" "/tmp/'"$$"'$$"' {} \; - and then afterward you can ls -t /tmp/"$$"[0-9]*/"$pattern"
And then just remove the symlinks.
 
@mikeserv I updated it now, let me know if still bugs you
whoosh, -1 gone :)
 
2:11 PM
@janos - its better. sorry about that.
 
that's alright. But it's good to comment, some of us can do better if nudged in the right direction!
 
Did you look at my answer there though? pax is just a POSIX tar by the way, in case you didn't know,
 
I checked that it's not installed on my system by default
I can install it, I just prefer universal answers
 
It's kind of amazing.
Well, it is universal - it's just that linux isn't.
And besides - you can do the same stuff with GNU tar.
 
I meant, likely to be available in any *nix I'm thrown at :p
 
2:14 PM
Well, you shouldn't be using print0 then.
 
reading now....
haha
I guess I draw the line somewhere
I guess I'm lucky to have print0 everywhere I go ;)
 
You likely don't have it on your phone right off, and other similar embedded systems.
Anyway, with GNU tar you can use --xform='/sed/expression/`
 
I don't see the OP saying anywhere that he wants to copy the files
 
GNU tar is mostly pax conformant as well.
That's a good point - that's why I mentioned -l. And besides you don't have to copy them - if the target directory is always DIR1 for instance it will just always put the newest ones in there or whatever.
Or --one-top-level apparently. And there is --keep-newer-files. Much of the same stuff.
 
@mikeserv What does pax conformant mean?
 
Years ago the open group decided they were going to squash the eternal tar v cpio grumbles once and for all.
And so they wrote this awesome standard that was supposed to settle it - the pax.
It defines what a tar or a cpio file actually is, and what's more it mandates the pax application for handling both.
Of course, nobody cared.
GNU came close - they've been working on getting POSIX conformant - they offer the --format=posix and --pax-option= command-line options,
The latter, by the way, allows you to define file specific variables - custom headers for any included archive member - when you ball the files.
That's pretty cool, but you should be able to do more and better. It's just that GNU tar is the closest I've come to a pax conformant pax.
It is a very rare thing, by the way, that the POSIX standard is the high bar in these cases. But for pax it is.
And anyway, I don't think there was any very hotly disputed tar v cpio thing either - probably those guys get bored.
 
@mikeserv That's a shame.
 
I dunno, overwork can be hard on you.
 
Pax means peace in latin, of course. But I don't think I know of it in a Unix context.
@mikeserv Who was being overworked?
 
3:19 PM
Not the bored guys.
I thought you were saying it was a shame they were bored?
Here's the spec, It's pretty cool. It's what I was reading when I wrote that shitar thing.
I haven't found a px that does all of the stuff there yet though.
RATIONALE

The pax utility was new for the ISO POSIX-2:1993 standard. It represents a peaceful compromise between advocates of the historical tar and cpio utilities.
 
@mikeserv No, I was saying it was a shame nobody cared. See the nice reply linky thing.
 
@FaheemMitha - which thingy is that??
 
3:35 PM
@Anthon I described when and why the tag should be used, check the last phrase of my suggested edit "Questions about how to use, create and administrate the provided shell or scripts."
 
@mikeserv the reply link thingy. next to where I wrote "@mikeserv That's a shame."
 
darn, now I don't like the wording
 
3:52 PM
can I install flash on Debian from the synaptic package manager?
 
@Vass I guess. generally apt-get is better, though.
snyaptic is just some front end. It doesn't do anything itself.
 
I have been trying "apt-get install flashplugin-nonfree" and it's giving me erros
*errors
Package flashplugin-nonfree is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'flashplugin-nonfree' has no installation candidate
should I just download the tar.gz from flash and do something with that?
 
4:10 PM
@Vass What version/release of Debian are you running?
and what browser are you trying to use it with?
you are probably missing non-free in your sources.
does /etc/apt/sources.list have non-free mentioned?
 
uname -r
3.2.0-4-686-pae
uname -a
Linux alex 3.2.0-4-686-pae #1 SMP Debian 3.2.63-2+deb7u2 i686 GNU/Linux
from the sources.list:
# deb http://ftp.uk.debian.org/debian/ wheezy main

deb http://ftp.uk.debian.org/debian/ wheezy main
deb-src http://ftp.uk.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ wheezy-updates main
deb-src http://ftp.uk.debian.org/debian/ wheezy-updates main
cat /proc/version
Linux version 3.2.0-4-686-pae (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.63-2+deb7u2
 
X just rebooted for no reason. I love it when that happens.
@Vass yes, you want to add "contrib non-free" to the end of all those lines after main.
 
@Vass yep, you don't have the contrib repositories, check wiki.debian.org/FlashPlayer#Installation
 
4:25 PM
so I add the text "contrib non-free" to the sources.list file, save it and then I can run the apt-get command?
 
@Vass no, you add contrib, save the file, update your software list and then you can issue the install command
 
@Vass run apt-get update. if it runs with no errors, you're good
 
I am sorry I am so clueless, but where do I 'add' contrib to? is it a line of text or a file?
 
@Vass Juts add those words to that line
e.g. -> deb ftp.uk.debian.org/debian wheezy main contrib non-free
do this to all lines. afaik if there is nothing corresponding on the remote it may complain, but it is generally harmless.
 
or, just copy the lines and replace "main" with "contrib", apt understand either
 
4:36 PM
I added deb http://ftp.uk.debian.org/debian/ wheezy-updates contrib
deb-src http://ftp.uk/debian.org/debian/ wheezy-updates contrib
saved the file
ran apt-get update and got some errors this time
W: Failed to fetch http://ftp.uk/debian.org/debian/dists/wheezy-updates/Release.gpg Could not resolve 'ftp.uk'

W: Some index files failed to download. They have been ignored, or old ones used instead.
 
@Vass you made a typo
 
really?
 
@Vass http://ftp.uk/debian.org/debian/ < what the?
 
note that copying the line is not recommended. just add the words i said
ftp.uk/debian.org -> ftp.uk.debian.org
 
oh, wow, mistake
fixed that, thanks! it updates now
but the flash still wont get executed
why is copying not recommended? bad style?
 
4:41 PM
@Vass sigh. why is it so hard to follow instructions? just add contrib non-free to the end of all the lines, after main.
 
wow,!!! it worked
 
note that the flash is in contrib, so you only need that for the moment, but you might as well add both contrib and non-free.
 
@FaheemMitha, thanks, and @Braiam, thanks as well!!!
this is what my sources looks like
# deb http://ftp.uk.debian.org/debian/ wheezy main

deb http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

# wheezy-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ wheezy-updates main contrib non-free
it has the contrib
and the non-free
keep it as is??
 
@Vass that's fine.
you could get rid of the # deb ftp.uk.debian.org/debian wheezy main
(first line)
 
4:58 PM
amazing, thanks a ton
for the patience :D
what is the best way to learn about all these things, just as problems arise or should I read a book? because I have no idea about what is going on?
 
You're a whole lot likely to learn about them if you have to, but probably it is best if you don't have to.
But then you'll just forget it all in a day or two anyway. I guess it's best just to learn them.
 
what is the best route, i looked at some books on linux and they seemed a bit dry and boring
 
then you're not likely to learn much from them is my point. It would be nice if you did, but dry and boring isn't likely to hold your attention as well as....ERROR!!!:::
 
The best method is the one that works is all I meant.
 
5:08 PM
@Vass are you a Debian user? If so, check out Raphael Hertzog's Debian book. Free to read online - debian-handbook.info
This can be useful for a reference, I think. I don't know how useful or practical it is to try reading the whole thing.
In any case, Raphael certainly knows his stuff, and it should be a good book, though i've not read it myself. Just looked at parts of it.
You might want to read through Ch 6, though. debian-handbook.info/browse/stable/apt.html
Note that this chatroom isn't really meant as a help forum, though very simple questions are probably Ok. Also, questions that would be off-topic on the main site.
Such as shopping questions, book recommendations, and distribution comparisons.
Questions of any technical substance and complexity should be asked on the main site.
 
@FaheemMitha, will keep that in mind. Thanks a ton everybody :D
 
 
1 hour later…
6:39 PM
This should probably be deleted.
-1
Q: I just want to try something

loomingShadeOk, this seems to be harder than I thought. I want to delete it imediately, but it probably has to look like a proper question. to be or not to be lol, said fish this must look like a code, so *ptr some other words, bye

 
@FaheemMitha just who in the world upvoted that?
 
@Braiam Huh, someone upvoted it. Weird.
 
@Braiam - it was me.
 
@mikeserv Why, Mike, why?
 
I dunno what the hell the guy was doing,but at first it was only there for like a split second before the guy deleted it. I thought it was funny, so I clicked undelete and it came back! So I upvoted it.
 
6:42 PM
Anyway, voted to close.
 
@mikeserv err... just retract your vote
 
@mikeserv I didn't think a single vote from a third party could undelete.
Ok, he deleted it. Never mind.
 
Guy deleted/undeleted again. I dunno why it was undeleted the second time. But that guy's doing some kind of hat thing. And I'm pretty sure my undelete was circumstancial. And anyway, I still thought it was funny, but it wore off pretty quick.
 
@mikeserv Ok, he wanted to get a hat? That's pretty dumb.
 
Anyway, I turned those hat things off cause they were freaking out my browser - but if you guys have em is he talking about one when he mentions sun penguin? Do you guys know what that means?
I think so...
 
6:48 PM
I hope that doesn't catch on, or we're going to get a lot of garbage questions coming through here.
 
First he says no then he says something about a sun penguin? Is that a hat?
Well, at least for me, the novelty value is now completely spent. I won't upvote a second one, rest assured.
 
@mikeserv Dunno.
 
 
2 hours later…
8:56 PM
@Poldie that's a sad sad baseline. if my apps or even release notes are ever like Facebook's i'll fire myself. — Kasra Rahjerdi ♦ 22 hours ago
 

« first day (1533 days earlier)      last day (3404 days later) »