« first day (2111 days earlier)      last day (2841 days later) » 

Anonymous
12:05 AM
@CodeX thanks for the help... I stepped away before and forgot about chat lol
 
@NathanOsman Daaaang, the new NitroShare site is fire :D
Looks amazing!
 
12:17 AM
@CodeX that's why smart people use not only Tor but also VPN and other anonimization tools
@JacobVlijm Concerning the desktop sorting question (askubuntu.com/q/796802/295286) I think we can safely assume that we can do two lists, first dirs then files, splice those together into one list , and loop over the items while changing their metadata
 
12:29 AM
you guys know any good gpg tutorials? I'm new to asymmetric encrypting and key validation, and haven't yet found a beginner friendly tutorial about it :/
 
@RPiAwesomeness Thanks!
 
12:53 AM
anyone here playing pokemon go
 
@edwinksl its out?
I have a ton of friends spazzing out over it
 
it is in the US
not sure about other countries
 
ah
us and britain it seems
 
It's everywhere.
 
Release date(s)
AUS July 6, 2016
US July 6, 2016
NZ July 6, 2016
unfortunately i can't catch anything by sitting here and looking at AU ;)
time to go out and catch 'em all
 
12:56 AM
This should remove all doubt as to its popularity:
It gets better:
Apparently it's almost as popular as Pizza Hut :D
 
1:25 AM
@NathanOsman you have time for a question about python?
 
@ThomasW. Please help me to add a user with write privileges to this chat room about his question: chat.stackexchange.com/rooms/42156/…. Using the Add user dialog I can't add this user who has 11 reputation to his own chat room.
 
1:52 AM
LOL
I just readed tons of stuff about gpg, sha256sum check, up to the point of understanding it all and downloading a verified program, and I downloaded the wrong architeture!
I could swear I was running a 64-bit linux
 
@Videonauth can I help ?
 
ah was about how to write ternary operators/statements
edwinksel helped me already out
 
@IanC arch doesn't lie ;)
 
@Videonauth python doesn't really have ternary operators , it has modified if statement
cool :)
 
well collatz as a one liner :
value = value / 2 if value % 2 == 0 else value * 3 + 1
or in c++:
 
1:57 AM
@edwinksl, think my processor is amd64, but I have a 32bit linux installed. Came with the notebook and I didn't install a fresh one yet :/
 
value = value % 2 == 0 ? value / 2 : value * 3 + 1
 
meh, close enough
 
yeah anyways did the it as a normal if statement
 
@IanC reminds me of this question askubuntu.com/questions/7034/…
 
yup, that's what i prefer too, because it reads vertically
 
1:58 AM
yep
on the other hand another thing learned in python just by redoing learning stuff
i do this from time to time to keep this stuff in my head
 
I need to clean up my home directory. It's such a mess
 
i try to keep it clean since i started with linux
so far i made it :)
 
@edwinksl, now that's some insteresting stuff! I didn't know about the 64bit using that much memory, maybe that's why they installed the 32bit version afterall
 
meh, i am not the most organized person, even in real life
i am trying tho
 
@Serg remove all the pr0n pl0x
 
2:01 AM
@Serg, guess my directories organization can relate to my room organization
 
@edwinksl I keep it mostly on separate drive though . Most of the clutter comes from me making drafts of scripts or text files for testing scripts or bunch of other things
 
ah so it should be easy to find them
finding them is like 99% of the problem
 
find . -maxdepth 1 -type f -exec mv -t /home/xieerqi/SOMEFILES {} +
Throw everything into another directory and I'll sort it out later
 
lol
and then you end up with folder names like mis, misc 2 etc..., random, stuff, things and so on ?
 
why the maxdepth 1?
I mean, you have no files in higher subdirectories?
 
2:24 AM
@IanC yeah, I have , but I only want to clean up my home dir. The rest can stay as it is
OK, I'm down to 48 dirs in my /home/user
looks slightly better
 
please do tree and let us see it in its full glory
 
2:50 AM
@Serg why do you do this
 
3:07 AM
@Zacharee1 do what ? Clean up my home dir ? Because it's a mess of test files, actually useful files, and drafts of scripts some of which are finished or not
 
why do you kill your home directory with such mess>
 
@edwinksl I'm having a sort of break from laptop. Feeding mosquitoes and smoking while drinking Qingdao
@Zacharee1 because I don't have no organization skills and stuff organization hasn't really been my top priority ever
My neighbors are doing some form of target practice, probably throwing knives or something, because I keep hearing smacks
And each time someone hits nicely, they all cheer loudly in Spanish.
Yay, I think I found myself an old question to tackle and I'm pretty sure it's doable
 
3:38 AM
OP seems to suggest that Ubuntu "allowed" Windows to have bash, implying that's bad or something. Personally I think it's better for sysadmins to finally get a better shell. Even though I like Cygwin, nothing beats the real thing
 
@serg but only someone who has dabbled into powershell might understand the benefits for the windows users :p
 
I tried powershell
Way back when I was just starting in linux
It felt awkward
Long Get-... Commands , confusing immigration of some Unix commands
It kind of felt as if Java and MS DOS had a baby
 
a pretty ugly baby :p
 
It's nothing new by the way. If I recall correctly Microsoft had sort of a port of Korn shell in Windows 2000 or something
 
guys, I really gotta sleep, but I cant until I understand this:
can you modify a variable with a document.write method (webpages programming)?
 
3:55 AM
@IanC you might want to ask @NathanOsman , he's more knowledgeable of web development or @Zacharee1
 
@Serg, Thanks man, I'll ask them!
@Zacharee1, can you help me easy my mind on a javascript puzzle? :/
can you change the content of a variable on jscript with document.write?
 
4:28 AM
@Serg given this question I came up with this solution, would love to ask you for a peer review.
 
5:02 AM
@Videonauth I don't fully understand Collatz sequence, so probably it's pointless to ask me for review. Syntactically I don't see anything wrong with the code itself , but I am not sure about the approach , whether it's good or not
 
well it got the right solution
 
oh . . . wait . . .so basically it starts with some number and keeps dividing it or tripping it depending on if its odd or even
 
yep
 
Oh, oh . . . I see. . . .
 
if even do n/2 if odd do n3+1
and you always end up with 1 at least whats lothar collatz statet in 1939
to prove it mathematically is one of the millenium problems
 
5:07 AM
Welp , me no math good , I only write silly scripts that move windows around :p
I also question my life choices . . . .
 
so to say its not proven yet if its true for all natural numbers
i do those math scripts instead of cross-words puzzles :)
 
maybe i should do that sometimes
 
edwinksl showed me this euler.net page today i guess i will register there and try to solve those questions there
 
0
Q: Lost Mouse and Pointer as well Screen settings

Andreas BartelsI do run Ubuntu 14.4 on an Server with a Desktop on it for the user, that works as well on the server. Since there was a faulty drive in the Raid, I had to reset all for the efiboot and grub, as the Bootimage did stay on the killed Harddrive. So far after doing that all the system was back workin...

 
@Videonauth still around?
I heard you had a Python question?
 
5:21 AM
yes, but solved meanwhile :)
 
Oh, good.
Now I have a problem :D
I found a bug in the version of NitroShare I just released.
I fixed it. But I don't know whether to quickly pull down the installers / packages I published or issue a new one.
It's embarrassing.
 
it was about how to do a ternary operator
 
I told you yesterday :)
 
[statement if true] if [condition] else [statement if false]
@Videonauth Sorry, my memory is bad. What did you tell me?
 
5:24 AM
well check around the moment as you said youre going to release a new nitroshare version ^.^
 
canned sundried tomato chicken + white rice + black pepper from Chipotle + paprica . . . . mmmmmmmm
 
having bad lag right now my mahine is loaded to the max calculating collatz sequences up to 100000000
 
@Videonauth maybe add time.sleep(0.25) because your loops run continuously and take up CPU time
 
Or you could lower the priority of the process.
 
sleep 0.25 should let CPU take care of some other tasks before going back to yours
^ or what Nathan said
 
5:26 AM
renice is the command you're looking for.
 
yeah i canceled it, this dual core laptop isnt really up for the task
both cores where at 100%
 
renice -n 19 -p [PID]
^--- should do the trick
(I haven't tested it however.)
 
yeah will look into it, when im going to start this on the production machine
 
I've used it a few times , seems to work, kinda
but i usually go with sleep
 
nice is when you're starting the process.
renice is for when you've already started it.
 
5:31 AM
so the higher the nice value the less cpu time the process gets ?
 
DESCRIPTION
       Run  COMMAND  with  an adjusted niceness, which affects process scheduling.  With no COMMAND, print the current
       niceness.  Niceness values range from -20 (most favorable to  the  process)  to  19  (least  favorable  to  the
       process).
if you don't want CPU to spend too much time on your process, then 19
 
If I understand correctly, 19 basically tells the CPU "run the program when you have nothing else to do."
 
If you want CPU to like your process more, use -20
 
But then the other programs will not like you.
:D
 
5:33 AM
-20 means realtime right ? uses all resources on this process ?
 
Something like that.
Keep in mind "niceness" is for CPU.
There's another command for I/O IIRC.
 
he's not doing I/O though
 
Yes but he said "resources" in his question.
 
wel actually i did output for each call but i can omit that
 
I realize a math calculation is mostly going to be CPU-bound.
 
5:35 AM
i did this solution for the question from euler.net page but now i want to run it up to 10,000,000,000
 
well, yeah, there's stdout output , so yeah, there will be I/O . . . .but that's probably not the issue, the issue that causes lag is the loop without delay
 
running it up to one million was easy peasy
 
@Videonauth O_o
 
yeah took about 1 minute and 20 seconds on my laptop
 
I'm not sure Python is the best language for working with numbers at that scale.
 
5:41 AM
yeah c++ is normaly the tool of choice
or directly assembler
 
Assembly is tricky.
You'd be using FPU instructions. Ah, looked closer, nvm.
 
but on the other side on c++ or assembler i would have to do the threading myself
python on the other side hyperthreads on its own
 
Threading isn't much worse in C/C++ as opposed to Python.
 
I think I used the chatstar glitch in the recycle bin
 
In fact, you can't do true multithreaded computation in Python anyway thanks to the GIL.
 
5:44 AM
Python is alright , it's used for big data and by Google after all
 
@Serg Yes, but it's not friendly to heavy computation.
Remember, it's an interpreted language.
 
although i could compile it
 
Compile what?
 
to cpython
but not sure if this will improve performance
 
@NathanOsman well, compiled languages have limits, though, and even if we try to implement something like that in C, it would need this ton of stack manipulation
 
5:46 AM
That can be optimized though.
C++ compilers are quite smart.
 
true
 
Meanwhile. . . . .I gonna need someone smart to help me with Russian to Chinese translation T.T and my translator friend is not online
3 pages of witness statements
 
on that i pass
 
I know piglatin.
:D
 
5:53 AM
-2
Q: why doesnot ubunto learn from mistake commited by win?

j. doeLike windows made a huge mess with win 8 and had to change the way start look. the launcher bar of ubunto system is huge; like donald trump's head and its hidious. its current taking about 7.5% of my total screen. Can developer not learn from mistake?

Rant
 
5
A: Ubuntu misspellings

Zacharee1ubunto, have you seen Madagascar?

 
@Serg rant rant vtc vtc :)
 
donald trump's head though
 
well yeah, his head is big
 
ubuntoes
 
5:55 AM
but Launcher , on the other hand, is much more elegant
 
karel trying to salvage the question
 
who here knows this new game called pokemon go?
its straange
 
thanks to @NathanOsman ' advertisement and google search screenshots, now everybody in the chat knows about pokemon go
Also . . . pokeman . . . pokemoon. . . and poketmon. . . .
 
Ubutnoes
 
Ubunotes . . . They should get rid of gedit and use UbuNotes as default text editor
 
5:59 AM
OMG! POCKET MONSTERS HAS ARRIVED IN EARTH! GO CATCH THEM AND STORE THEM IN YOUR DEVICE! (a.k.a PC!)
@NathanOsman haw do I update nitroshare
 
Ubuntu pokespammer , gotta ban them all ^_^
 
BANHAMMER! GOTTA WHACK EM ALL
 
Whack a Mole ?
 
i like your thought process Edity , ^_^b nice
 
....
 
6:03 AM
Guack a Mole ( food puns )
 
cabbage?
 
Guacamole (Spanish: [wakaˈmole]; or [ɡwakaˈmole]; can informally be referred to as "guac" in North America ) is an avocado-based dip or salad first created by the Aztecs in what is now Mexico. In addition to its use in modern Mexican cuisine, it has also become part of American cuisine as a dip, condiment and salad ingredient. == Etymology and pronunciation == The name comes from an Aztec dialect via Nahuatl āhuacamolli [aːwakaˈmolːi], which literally translates to "avocado sauce", from āhuacatl [aːˈwakat͡ɬ] ("avocado") + molli [ˈmolːi] ("sauce", literally "concoction"). In Mexican Spanish, it...
 
6:26 AM
holy guacamole
 
askubuntu.com/q/796886/295286 it's a dupe anyway, can mods nuke it plz ? @Seth or @terdon
 
@Serg yeah, but the question is: first down or first to the right.
ab
cd
or
ac
bd
 
@JacobVlijm ask op. By default Nautilus sorts vertically so the closer to default the better
 
@Serg good thinking
 
@JacobVlijm also , just a suggestion, make the scriipt work with one monitor first, but consider that potentially users might have dual screen with different sizes. You could probably use xprop -root or xwininfo -root for that with subprocess.Popen()
OK I'm out for now , have fun guys. I need to take care of this translation before the sun rises
 
6:46 AM
i am out too, bbl
 
See you @Serg @edwinksl 8:45 for me here :)
@Serg left monitor is all that I will do haha (left one)
 
 
2 hours later…
Hi @grooveplex He (or she) posted it with the best intentions, better explain friendly. :)
 
this ^
@grooveplex be your usual lovely self even to the uninitiated :)
 
9:04 AM
Sorry everyone :3
I should have saved that comment for the more vetted AU users
Well, it's basically what I got told last week
Right now, I think I'm going to keep it there as it's what I'd tell them. If @Zanna and @JacobVlijm really want it gone, I'll make a coffee and remove my comment.
 
@grooveplex I think it is gone :) On your turn, you did it with the best intentions :)
 
awww don't worry... no need to remove imo, not everyone is the same right? :)
 
Who removed it?!
this is not cool
 
@grooveplex if a mod did it, it is always cool
 
No, it's not.
 
9:12 AM
Explain
 
but I think it's okay If a mod thought it was neccessary
 
or simply better, why leave it?
 
What do you mean?
(Oh god. Het is melkchocoladehagelslag)
I thought I got the dark chocolate hagelslag
Oh Dutch struggles
But to get back to business: a mod removed the comment, and I see why and I'll write better comments in the future.
:) @JacobVlijm
 
Dutch guy...
 
@grooveplex yeah, I removed it since @JacobVlijm's comment said the same thing and in a more friendly manner. Not that yours was horrible or anything, it's just that Jacob said it better and there's no point in having 2 comments for the same thing.
 
9:26 AM
I see. Thank you.
 
this post has comments I wish I could remove askubuntu.com/a/795024/527764 >_<
 
@Zanna ...You have a stalker :) just ask a mod to remove it.
 
Others posting answers to questions that are self-answered is okay, and even encouraged — see blog.stackoverflow.com/2011/07/…
"I do it all the time! [...] I documented that on Super User by asking and answering my own question. Now, others can benefit from my misfortune -- and best of all, I got new even better answers beyond what I offered! Overall, a huge win all around."
cc: @JacobVlijm
 
@JacobVlijm haha :) how should I least intrusively and least irritatingly ask a mod to do something for me? (is that a worthy meta question?)
@grooveplex sure, it's cool to do Q&A, why not?
just not to post answer as a question
 
@Zanna it was meant as a reply to askubuntu.com/questions/796929/…
 
9:39 AM
@Zanna Use flags.
 
@terdon thank you :)
 
Good grief, those were drivel! Blah, blah, blah. Please feel free to flag such in future
 
haha I will do!
 
@grooveplex yeah, of course anyone can answer. As such, Nick's answer isn't an answer :)
 
@JacobVlijm wait what?
 
9:46 AM
@grooveplex Ah see, we don't understand each other if we don't speak Dutch haha, I thought you meant the answer?
 
@JacobVlijm there's nothing wrong with offering an alternative. Maybe the next person to come along won't mind installing an external program.
How often have you posted a python solution to someone originally asking for bash, for example? ;)
And there's absolutely nothing wrong with that.
 
@terdon for sure, I just mentioned he didn't exactly answer the question, since OP mentioned specifically without installing additional stuff
 
I know, and fair enough. But it's also fine to have other options.
 
@terdon sure, but did I say that?
 
Say what?
 
9:48 AM
@terdon haha, going great this morning...
I mean I didn't say he shouldn't post
 
Um, no, you didn't. Why would you?
 
@terdon btw many people mean cli if they write "bash"
@terdon My late aunt and my mother were nearly deaf. They always had conversations like this ^ ^
 
:)
 
It's time for AskMint
-1
Q: Cinnamon Over Window Manager like 'Openbox-Gnome-Session, et al'

EvanI just switched to Cinnamon on LM18 after playing around with Mate. Anyway, I'm wondering if there are any Window Managers that can work underneath Cinnamon much like Openbox-Gnome-Session. Unless I haven't found the place to change it, I can't find a way to set Cinnamon to not open all new windo...

 
@grooveplex Eeeek! No! Not another subsite! That one's fine for U&L.
 
9:52 AM
Okay. Flagged as Off Topic
 
I migrated it.
 
10:09 AM
[ SmokeDetector ] Blacklisted website in answer: Mac Bluetooth Wireless keyboard and keypad by atheompson on askubuntu.com
 
10:30 AM
So who wants to help me test this command :
find /sys/devices/ -type f -name "actual_brightness" -printf "%h"
OP of the question i am working on says it gives him two directories ( on a laptop )
Unless his second screen is HDMI , I cant see how that can be true
 
zanna@monster:~/playground$ find /sys/devices/ -type f -name "actual_brightness" -printf "%h"
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlightzanna@
 
@Zanna is that a laptop ?
 
yes
 
yup , just as i thought. . . .so OP's system is somehow weird
 
why does it print my prompt at the end?
 
10:36 AM
because printf statement there has no \n
 
ah!
 
@SmokeDetector the Imgur link?
 
monster?
@Zacharee1 whatever was spam was deleted
 
edit history?
oh wait
ANSWER
I just woke up...
 
@jokerdino it's a term of affection...
(it is a bit of a monster though... better these days since the 32-bit UEFI bootloader issue got sort of fixed)
 
10:43 AM
I see.
 
"oh, you my little monster, look at him go, drink all the human blood and stuff " So affectionate
 
it's more like 'you are a nightmare but I love you anyway'
 
flashbacks of Twilight.
 
Meanwhile, this text is a monster . I regret agreeing to do this translation
 
i feel your pain, it sounds horrible
I'm in crunch mode trying to finish marking this exam, trying to decipher students' terrible handwriting for 3000 answers, has to be done today >_<
 
10:45 AM
3 pages of witness statements , and half of it is like " the witness ate beans and stuff while working for the accused person "
 
aaaaarrrrrrghhhh that sounds excruciating
 
And that's why computer typed exams need to be more common @Zanna
 
sounds funny "witness ate beans"
 
killer beans
 
can make a dunk meme out of it..
Hello guys..my first time here, didn't know we had such a room in this mansion
 
10:47 AM
exactly @Serg I wrote a lovely pseudocode algorithm to mark one of the 3 mark maths questions... that took me about one hour... instead i have to spend 8 hours marking 1200 versions of it myself
 
might need a bigger monocle.
 
That's not the worst part though . The worst part is that it's in Russian, and i'd rather do English to Chinese, than Russian to Chinese translation any day
 
because computers can't read teenager-scrawl
 
nobody can read teenager scrawl , even they themselves
2
 
I am impressed you have so many languages
yes that's true
 
10:50 AM
You can process Russian >> English >> Chinese at heart..
 
Actually, that's what I should have done first. Translate the text to English, then throw it into Google Translate and fix up the rest , but then again I am the stupid and honest guy who sacrifices sleep for helping friends . . . .and then regret it over and over for years
 
Ah!..don"t regret you are cool!...what are friends for?
 
yeah think of the karma
 
Mostly for help but also depends on the type of friend ,too. Some mistake kindness for free labor
 
yeah I feel you there. I try to be strict with myself about not doing free labour
 
10:56 AM
\ o/ woho, my friend agreed that i can just translate the second witness statement, and the final one she'll do herself. I can haz sleepz soon
 
When I start helping many a times people get scared thining why is this guy helping me xD
 
Some might think you have a hidden agenda.
Like to ask for favors later
 
yeah .. so now I always set a limit
 
11:14 AM
 
no moar votez needed
 
hello guys
 
11:31 AM
hahaha
 
32
Q: How do I save files edited with vim?

AndI can't save changes after editing sudo vi /etc/network/interfaces Text before editing: auto lo iface lo inet ... Edited to: auto eth0 iface eth0 inet dhcp What key combination or sequence must I press to save this?

 
I feel sad.
 
why ?
 
I remember my first days of vim.
 
yeah, we've all been there. Generating totally random data by trying to quit vim ,lol
Holly shiz !!! Why i didn't do this earlier. Translating and simplifying Russian text to English, then throwing it into Google Translate saves so much time !
I'm already done with the second testimony
 
11:42 AM
hurrah!
 
Maybe i should stay up today ? It's 5:43 am already
if i go to bed i'll definitelly sleep till 2
 
@jokerdino did you by any chance remove the comment on this? askubuntu.com/a/796937/72216 or @terdon why remove a comment to clear out a misread (other) comment?
 
you
 
I did? I need to see a doctor :(
 
@terdon knows I have this problem. Sometimes i see comments , sometimes i dont
 
11:48 AM
@Serg thanks :)
 
5
Q: Why is my `sort`ed file bigger?

wb9688I've a 2958616 byte text file. When I run sort < file.txt | uniq > sorted-file.txt, I get a 3213965 byte text file. Why is my sorted text file bigger?

any ideas?
 
I have that one open waiting for the answer...
 
@Rinzwind diff wont help , lines aren't the same
i suspect unprintable chars are added
 
by what? not by sort and not by uniq :P
 

« first day (2111 days earlier)      last day (2841 days later) »