« first day (2175 days earlier)      last day (2790 days later) » 

9:00 AM
@edwinksl :)
 
Can someone test out my clipboard append script ?
A user said they've no lock with it
Also, should i just stay up ? I mean, it's only 3 hours before it's 6 AM
 
@Serg i have to zzz now :P maybe later if you still need more testers
 
sure
 
@takkat is that worth deleting an account for ^^
 
XD system32 . .. on linux . . .
 
9:05 AM
@Rinzwind it is... XD
 
good :=D
 
@Takkat Is that something we should use a red flag (rude/abuse or spam) on? If yes, we can train SmokeDetector to catch those
 
Also, OP's name is Utundu
@Zacharee1 ^
 
@Serg yeah but a newbie might see it on a partition and delete his windows from linux
 
@Ferrybig from my side yes...
 
9:07 AM
-7 :D going down quick
 
@Rinzwind yup, probably . . . If only they know how to mount a partition . . .
-8
 
@Serg yeah sure, where is it?
 
I flagged it as trolling earlier.
 
@Zanna this
bind to shortcut, copy something , then highlight some text and click shortcut. Paste the text. You should have original copy + highlight joined together @Zanna
 
the comments seem to have been deleted? or is it a different one... answer said "delete system32 directory" comment : no such directory ; reply : yes there is, you just create it mkdir system32
 
9:11 AM
That guy is an epic troll
Hi, Oli, please nuke that guy !
He keeps spamming us with answers about removing system32
 
wow that is a long script... I have @ByteCommander 's version of append to clipboard already...
bash -c 'printf "%b\n%b" "$(xsel -b)" "$(xsel)" | xsel -ib ; xsel -c'
 
It was short, but yesterday i made it longer to fix a few things
 
anyway, testing now...
it doesn't work, but how should I make the shortcut? MATE seems stupid about shortcuts
oh wait...
 
Um....copy something, then highlight, then run it manually
um....do you have xclip by the way ?
 
@Serg He's posted 2. I deleted both, we'll see if he comes back
 
9:18 AM
@terdon just ban him, obvious troll is obvious
also, as rinz said, he gave potentially dangerous answers
 
I have xclip... when I highlight something and then ./append.py it starts and doesn't end
 
@Serg Fair enough. Gone
 
and nothing appended to clipboard
 
@Zanna and when you paste, does it stop ?
3:19 am
i won't wake up
and this is not even half of semester
 
user136984
I filled a feature request upstream and the developer has asked me if I have any "mockups", what exactly do they want from me? It's a design related feature request.
 
9:23 AM
yes when I paste, it stops and shows me this:
./append.py: line 2: syntax error near unexpected token `'Notify','
./append.py: line 2: `gi.require_version('Notify', '0.7')'
 
user136984
I know what the word means, I'm just slightly confused about what kind of "mockup" they want. I could try and make the design, but I don't know if they want code or a GIMP job.
 
it's probably something I did @Serg
 
welp, i'll deal with this later
 
probably my fault
shame this got deleted askubuntu.com/questions/823916/… :(
 
nah, no big deal
 
9:26 AM
not a shame?
yeah it was me, I didn't call python
if I call python, it copies and pastes what I highlight
sorry I didn't read the script when I pasted, I was assuming magic number
 
@ParanoidPanda Maybe something as simple as a scanned sketch would work?
 
user136984
@Arronical: That's a good idea!
 
@Zanna so it works properly ?
 
I don't think that was the expected behaviour? I didn't actually try to paste, it just auto-pastes what was highlighted, and whatever was in the clipboard before is not included @Serg
oh wait wait
yes it does work
it works
 
@Zanna your clipboard was probably empty first time around
:)
 
9:31 AM
no it wasn't empty
 
Hmm . . . odd
 
but it wasn't pasting, it was just... tee ing
I get the highlighted text on stdout it seems
when I paste, I see it was also appended
 
who upvoted my comment here: askubuntu.com/questions/823902/…
 
with no space or newline
 
what's the problem with this question? askubuntu.com/q/426735/61218 everyone answering not even close to what OP asked! and then it was accepted
 
9:33 AM
I was really close but the video helped thanx!!! — user252692 Feb 27 '14 at 4:05
 
That'll be a great answer once those links die!
@Rinzwind That was me
 
@terdon Thanks. I saw that comment. but still the answer should have those links as a minimum
 
Those are comments, not answers. And yeah, it's a crappy answer but if the OP is satisfied. . .
 
@Arronical then upvote my answer >:=DDDDDDD
 
@Anwar yeah I find it annoying when that happens - but it happens a lot!
 
9:36 AM
@Rinzwind There you go!
 
@Zanna I haven't seen this kind a lot
 
maybe not a lot, but sometimes
still haven't looked in my diary!
 
@Arronical :D
that will get me close to 200 for today >:-D
 
I only hit repcap when some stranger mass upvoted me, all gone the next day obviously. It's a bit like when you're a teenager and one of your mates does some shoplifting, suddenly you seem guilty by association!
 
poor luchonacho got 190 for their answer to Kaz Wolfe's question that got deleted
it was a good answer, too
 
9:43 AM
I lost 80 (10 votes though)
 
finish homework ? or sleep ?
 
sleep
 
sleep
 
as always :)
 
i only have 2 hours left
for sleep
@_@
 
9:45 AM
better than none
 
then sleep 3 hours :)
 
@Zanna <3 xo
 
@Zanna OP is blocked from asking on SO
 
ah... in that case what should I do?
 
9:52 AM
@Zanna Precisely what you did: close as off topic
 
oh good :)
@jokerdino my students are gonna wonder what this is on my arm ^_^
actually probably not as I draw on myself quite often
 
They might find my Twitter handle.
 
I will wash it off!
 
lol, it's not like I post anything there though. No one would care.
 
but perhaps they will tweet stupid things at you
 
10:03 AM
can't beat what I tweet.
 
user136984
Final Beta (2) of Ubuntu will be next week on Thursday (22nd)!
 
user136984
What do you think the ZZ version of Ubuntu will be called after Yakkety Yack? :D
 
user136984
Have we had a Zebra already?
 
 
wow I haven't logged in to twitter since I made a new ff profile...
wow your background is so beautiful... @jokerdino
 
10:16 AM
Oh.. I think I looted it from somewhere.
 
praise be for loot that remains with the original owner once looted copied... information wants to be free
2
 
I think I downloaded it from cover photos of G+ profile at some point.
Andes mountains, South America.
 
mine is a photo from my mum of a story den she made at work (she is the education co-ordinator at Lincoln castle so she has lots of dragons)
what takes my breath in that photo is the light at the horizon, that is physics writing a poem
 
10:33 AM
@Zanna I only see a sun and trunks of trees. Dragons missing :(
 
Ah you're right, the dragon is hidden! >_<
I like having a secret .dragon though
 
I think she's shy.
 
very likely
 
If someone sends you a message using the launchpad profile's Contact this person feature and write 'bla bla bla' as subject line and putting your AU profile in the body asks 'is this your askubuntu profile? I am from here/here and want to get introduced ... '? ... how should you respond?
 
10:49 AM
@Anwar Completely up to you. I'd ignore it.
 
@terdon Thank you :)
 
That's just what I would do. If you're interested, feel free to answer.
 
thanks.
 
11:35 AM
There should be a pop-up for new users if the system detects a 'Thank you' phrase in an answer's comment section, reminding them they can accept too :D
 
11:51 AM
hi guys and girl and bot
 
Oli
@Anwar There is.
IIRC
 
@Oli hi! :) I know there is one for upvote. But don't know for comments.
@ByteCommander hi :)
 
hi @ByteCommander :)
 
Hi all :D
 
I voted unclear, OP edited, I still don't understand, but should I retract? askubuntu.com/questions/823945/…
 
11:57 AM
Is Pilot6 here ?
 
At least it has a question in it now ^^
 
@SeverusTux HI
 
hi @SeverusTux
 
:D Whooo I See many mods here
 
@Zanna I saw a ping from you about my append-to-clipboard one-liners. Don't they work?
 
11:58 AM
sure they work great
@ByteCommander Serg wanted me to test his script that does the same thing in like 50 lines hhahaha
 
@SeverusTux where?
 
@SeverusTux no you do not
 
Oli, You, Terdon.. Oh.. thats all ? my mistake :P
and Mitch
 
and Mitch, badp, JMG and Takkat
 
Ah.. :D
 
12:01 PM
@jokerdino Oli is going to kick you >:-D
 
@Zanna I won't vtc as unclear in it's current form
@Rinzwind why ? :D
 
@Zanna xD
 
Yesterday I tried one simple echo command that froze my system
echo {1..100000000}
 
@Oli I'm not sure. I don't think there is one for comments.
@Anwar that seems like a good idea, why not post a feature request on meta.se?
 
@SeverusTux That's a lot of echo..
 
12:04 PM
@terdon I will be drowned with DV
 
@Anwar for not including him in his list :=)
 
@Anwar why? It seems like a reasonable idea.
 
@SeverusTux omg
 
"Thank you for your help but this answer does not help me."
 
good point ^
 
12:04 PM
Yeah, I opened system monitor and wanted to see RAM filling up
But ended up Cold rebooting my PC
 
@jokerdino Ah, yes indeed. Well, at least they could grab stuff that only states "Thanks!" "Thank you" etc.
 
@Anwar I retracted my vote, thanks for your help
 
Yes. but that's just a prompt and it can be improved
but I first need to look if the feature is already requested
 
@Anwar And the down vote / upvote thing? I am a little curious :)
 
12:22 PM
namaste @andrew.46 isn't it a little late? or early?
 
@Zanna 2230hrs here, thinking about sleep pretty soon :)
And Hari Om...
 
Ah not as late as I thought :)
 
12:34 PM
Night all....
 
good sleep :)
 
I will be back tomorrow, hopefully after fixing the lights.
 
be careful xxx @jokerdino
 
12:59 PM
Haha @Zanna, we always leap on the same questions!
 
yeah :) similar interests I assume :)
 
@andrew.46 are you there still?
@jokerdino cya
 
@Zanna I guess so, not trying to nick your answers or anything! Though I swear you have faster fingers :)
 
I never think you are nicking my answers, don't worry about that :)
You know more than me anyway I believe
 
Fastest gun in the west :)
 
1:17 PM
@Zanna Maybe a couple of bashy command line things, but I have no clue about desktop stuff, and how that whole system is pieced together. I only installed my first vanilla Ubuntu desktop about 2 months ago on my laptop. I generally do stuff on server versions, and have installed a couple of Lubuntu and Xubuntus.
 
@Arronical always quote the pattern you give to find. Otherwise, they're expanded by the shell before they're passed to find and hilarity ensues.
So, if you run find . -name *java and you have a file matching *java in the current directory, then you are actually running find . -name file.java instead.
 
@terdon Yeah, I often forget that, it gives you a really cryptic message about it too, thanks!
It breaks badly with multiple matches doesn't it.
How do we show people how to edit output into their question? I've got someone who's linking screenshots.
 
@Arronical I know little about desktop stuff too
@Arronical if you put [edit] in brackets like that it gives a link, but doesn't always work!
 
@Zanna Does the edit link tell them how to capture terminal output?
 
oh no, just opens the edit page
 
1:31 PM
@Arronical Yep.
@Arronical Leave a comment asking them not to post images of text and link to this meta discussion:
35
Q: Why do people post screenshots of their terminals?

terdonI have noticed a lot of posts on AU with screenshots of their terminal showing commands and their output. This is seems like a very bad idea to me because: You can't copy/paste the commands They won't come up when searching The post is heavier (in terms of the amount of data) and will take lon...

@Zanna why are you using ls in your answer there? Just use a second glob loop:
for f in /data/Mydata/*/*.json ; do
   for j in "$f"/*json; do
That way you don't need to parse ls and no kittens will be brutally disemboweled with any blunt instruments.
8
 
huzzah!
 
:)
 
editated
er thanks @terdon you saved my kittens answer (again)
 
@terdon Thanks again
 
@Zanna No, hang on, your loop is already returning json files. You don't need the second one.
@Zanna see my edit. Feel free to revert, of course, but your solution was spot on. I just missed that you were already iterating over files because you had the spurious ls *json line afterwards.
 
1:39 PM
Ah I thought that would work too
I just didn't want to change what they were doing too much, because I didn't know what the next part would do
now I think $jsonfile is undefined
oh no you fixed it
duh
 
Well, broke it first then fixed it :)
 
that's much better
no pipes and no while, much much better
 
I also removed this sentence: "Also, this part /data/Mydata/*/ doesn't match anything."
That's wrong, for d in /data/Mydata/*/ is a perfectly good way to match all directories in /data/Mydata and skip all files.
Try for d in /*/; do echo $d; done
 
yes it works...
 
212 likes on Facebook for that article. daym
 
1:52 PM
@Serg Can you help me with Bash variable quoting?
How would I have to set quotes for this:
 
@ByteCommander I'm on mobile, but sure, I'll do what i can
 
newshell=$(realpath $(which $1))
Actually I feel the need to quote everything starting with a dollar, but that would mean 3 nested levels of double quotes which can't work.
newshell="$(realpath "$(which "$1")")"
 
ah I know what you are doing :)
 
Hmm, actually the 3 nested double quotes seem to work.
Strange, but nice.
 
@ByteCommander only quote "$( which "$1" )", when you do assignment you don't have to deal with quotes. Only when you release a variable. If in doubt, split it in two assignments
 
1:55 PM
$ x=ksh
$ newshell="$(realpath "$(which "$x")")"
$ echo $newshell
/bin/ksh93
it seems to work?
 
sure. But unless you have two ksh on same system you could just call ksh directly, no ?
And i think ksh93 is the only one in Ubuntu repos
 
But for chsh, I need the path that is in /etc/shells.
 
Ok. So why not parse that file instead ?
 
And "which ksh" returns /usr/bin/ksh which is a symlink to /etc/alternatives/ksh which is a symlink to /bin/ksh93. And only /bin/ksh93 is a valid login shell in /etc/shells.
 
Or use /usr/bin/env ksh
 
1:58 PM
I want the user to get the same shell as when he types the command for an interactive shell, i.e. plain "ksh".
And env ksh runs it, but I need its path.
 
@ByteCommander if you call from command line any shell, it will be interactive , login shell appears only if you give -l flag or if it's actually login at tty or ssh
 
@terdon I should be studying instead of answering...
 
I'm supposed to be working. . .
 
Let me write the answer and you'll see what I need :)
 
@Zanna i know how that feels
@ByteCommander sure, just ping me once you do
Yesterday I've spend half the day fixing bugs on my scripts and writing new indicator . . . . Should have been doing homework.
 
2:03 PM
yeah but I should be learning stuff so I can answer properly ^_^
I don't have homework, apart from....
 
@Zanna learning by answering was my method :) Also learning via comments and competing with Jacob
Back in spring i was competing with kos for gold badge
Learned a lot in the process
 
homework ^
 
I was never competing with anyone specific. I started on U&L at the same time as this guy but competing with him is kinda like trying to run faster than Ussain Bolt
 
@Zanna add Unix Shells by Ellie Quigley
that book is amazing
 
competing is not my thing, I get such a huge kick out of solving problems & learning new stuff
 
2:08 PM
@terdon ah, stephane. He and Gilles are like top 2 guys on U&L
 
@Serg Yeah, but even Gilles defers to his knowledge on shells.
He's the guy who discovered the shellshock bug, for example.
 
really ???
 
Yep
P.S: This answer is from the person who originally discovered the bug :) — Ramesh Sep 25 '14 at 15:02
 
Wow. I better start reading all his answers, because knowledge
 
Yes. Basically, anything by Stéphane, Gilles or Michael Homer I just take as gospel. They are all three ridiculously knowledgeable.
2
 
2:16 PM
I wonder how they got all that knowledge. i mean years of experience, sure, but i bet they are either professional IT or devs.
 
Well, yeah. That's how most of us get our knowledge: by working on something full time :)
I think they're all devs of one sort or another as opposed to sysadmins. Our sysadmin gods are slm, derobert and JennyD. Then we have Stephen Kitt who's a Debian dev and Ole Tange who's the author of GNU parallel.
 
I go to a meetup where one guy always asks everyone "are you a developer or a system administrator?" (just like that) and then tells them "I'm a developer and system administrator"... my answer is "neither, I'm just an imposter here"
 
@Zanna You should answer "you forgot arrogant dick"
 
^_^
 
hi guys!
 
2:28 PM
hello!
 
Phh... I gave up on that shell switch thing.
Can't find a suitable way to securely prevent infinite loops.
Time to shoot some tanks.
We have a Windows Phone site !? o.O
 
@ByteCommander yup. I've even posted there. Once.
 
did you see Anwar answered is @ByteCommander ?
 
Yes, I did.
 
Windows Phone smh
 
2:38 PM
Not exactly what OP asked for (uses chsh), but better than nothing.
 
my dad has a windows phone... because he wanted to write an app
for sailing, which is his hobby
 
@Zanna sailing is fun :D
Windows Phone isn't too bad either.
 
I'm not sure why he could only write it for windows phone... there is some win only IDE he used? I know nothing of this
anyway he wrote it, and it works only on windows phone, and he tried to get the RSA to adopt it and distribute it, and they were hopeless
so there is this amazing app to calculate something that you need to calculate at the start of a race (I know nothing about this) and nobody knows about it, so they continue to do it the hard way...
 
that's sad.
@Zanna Visual Studio :P
 
yes that's it
He said "visual studio is so helpful, Linux should have a thing like that"
and I'm like um...
 
2:45 PM
haha
 
is gparted actually a frontend to parted? I just found that in the tag wiki of parted but I'm not sure it's right?
 
huh! I answered that question without knowing much about that thing after ps
 
ps?
 
the options after ps
 
@Zanna I always thought so. Let me check
 
2:55 PM
sometimes we can answer without knowing much in SO
 
Thanks to that question I made zsh default shell for another user on my system -hopefully I will learn how to use zsh more
 
Hmm. Maybe it isn't. It uses libparted though, so that might make it a frontend to parted. I don't know the relationship between libparted and parted.
 
parted depends on libparted
 
The g doesn't stand for graphical either. It's for GNOME.
 
I know
and parted is GNU parted
so we have GNOME parted and GNU parted
 
2:57 PM
The manpage doesn't mention parted.. So maybe they're not related?
 
that makes both parted and gparted front-end of libparted i guess
 
@Anwar -p $$ means "show only this PID" and $$ is the current shell's PID. The -o sets the output and here they're using comm for command and the = supresses printing the headers.
 
But ClamTK is a frontend to ClamAV developed by a different team, right?
@Anwar sometimes I see things and I think "ah I ALMOST know how to answer, I just need to do some research" and that's how I've learned everything I know, pretty much
 
@terdon Thanks :) I should start learning SHELL
 
also friends & family asking me questions like "how do I do this?"
 
2:59 PM
And parted isn't listed as a dependency of gparted so I guess it's not a frontend. It's just using the same library.
 
I was feeling a bit guilty answering that ...
 
OK I'm editing the tag wiki
 
bbl
 

« first day (2175 days earlier)      last day (2790 days later) »