« first day (1660 days earlier)      last day (3292 days later) » 

12:01 AM
lol:
@Seth do you think that one is gem worthy?
 
@Mateo lol. If you want send it over!
 
var
spawn=require('child_process').spawn,
fs=require('fs'),
a,
b,
tmp,
af=function(data){
if(tmp){
as=(''+data).replace(/\|/g,' ').replace(/ +/g,' ').trim().split(' ');
cpu=(100-as[2])+'%';
ram=(100-(as[11].substr(0,as[11].length-1)/240*100|0))+'%';
console.log(cpu,ram,tmp);
b=spawn('/opt/vc/bin/vcgencmd',['measure_temp']);
}
},
bf=function(data){
tmp=fs.readFileSync("/sys/class/thermal/thermal_zone0/temp");
tmp=(tmp/1000).toFixed(1)+'°C '+(data+'').replace('temp=','').replace('\'C','°C');
};
a=spawn('dstat',['-cdmn','--noheaders','--nocolor','--integer','5']);
this works now... output:

//1% 36% 44.4°C 43.9°C
 
 
1 hour later…
1:14 AM
I'm using rsnapshot and when i create a file, then run 'sudo rsnapshot hourly' the file isn't backed up, am i misunderstanding something ? Its backed up most things, but doesn't seem to back really new things up
scratch that, think it was in a different hourly directory, oops
 
 
1 hour later…
2:35 AM
Just stepped up my nerd game by 5000 pts...
 
3:03 AM
script to see candidates vote count in SO 2015 election.
 
@AvinashRaj Cool! Just gave it a go. Works great.
Currently we're looking at:
Martijn Pieters                 9736
meagar                          6500
Jon Clements                    5287
Matt                            4796
Second Rikudo                   4639
deceze                          3641
Raghav Sood                     2816
Paresh Mayani                   2729
Jeremy Banks                    2605
Jason C                         2280
 
Hey speaking of scripts can someone help me?
 
3:20 AM
@Toroidal I once bought caffeinated soap
so coffee would be interesting... might be quite a buzz and fake skin-tan.
 
<--- is listening to the hockey game
 
<-- is up too late, starting to talk about strange things ;P
 
@NathanOsman Thanks Nathan..
 
3:36 AM
NathanOsman....I can't ping you but you have a RPi right?
 
@TheX Yes.
 
@NathanOsman Who's winning?
 
Vancouver 1-0.
 
\o/
 
Second period just ended.
 
3:39 AM
@NathanOsman Pardon by naivety but how many periods are there in Hockey? I'm guessing 4?
 
Okay I got mine today but I am having a weird issue
 
@Seth Three.
@TheX What's up?
 
Oh just 3. well that's... odd.
(not sure if pun intended or not)
 
shift+2 ouputs ", shift+3 outputs £
thus why I can't ping you lol
 
3:40 AM
The Pi probably has UK keyboard layout set.
 
I set it to US...
 
Are you sure?
You ran raspi-config?
 
yup
 
Heh. Did you reboot after?
 
No, should I?
 
3:41 AM
It shouldn't be necessary.
But you never know.
 
I'll try it
 
What distro are you using? Raspbian?
 
@NathanOsman reboot worked, yeah Raspbian
 
Cool.
 
I am trying to install retropi, but I think my image got corrupted or something.
I downloaded it at work, the internet can be flaky there sometimes...
@NathanOsman how do I change my clock from 24hr to 12hr.
 
3:48 AM
Are you booting to a terminal or to a desktop?
 
terminal
 
Then how are you getting the date?
Using the date command?
 
Oh, no sorry I boot into the terminal and then do a startx
 
Ah, so then you need to change the clock in LXDE (the desktop environment Raspbian uses).
 
But the option is grayed out.
 
3:51 AM
That's odd. Let me try to bring it up on mine.
 
ok
 
Heh, I see what you mean.
 
yup
 
Let me do some more digging...
 
Glad I am not going crazy lol
 
3:59 AM
Just learn military time ;P
 
Almost figured it out. One sec.
 
I can't even remember my name half the time :-P
 
@TheX What is your name? :P
 
uh...@TheX...
 
Shhh... it's William Michael von Statsen the III...
But you didn't hear that from me.
 
4:03 AM
I'll be sure to ring the ahem Bell and tell the world.
 
Lol.
@TheX So here's what you need to do:
leafpad /home/pi/.config/lxpanel/LXDE-pi/panels/panel
 
it is no secret that I am a famous violinist...
 
^--- run that in a terminal
 
No no
You forgot the junior, and the of westschittemburgnoth.
 
@TheX No not that Joshua Bell :P
 
4:04 AM
okay... I will try that in a few be back in a few...
 
Once you run that, search for the line "ClockFmt=%R" and change it to "ClockFmt=%r". Then save the file and reboot.
 
seth@johnson:~$ it is no secret that I am a famous violinist...
it: command not found
okay, I am officially too tired.
 
Yeah.
@Seth Calgary scored - yay! \o/
1-1 now.
 
Wait, are we rooting for the Canucks or the Flames?
well either way \o/
 
[ SmokeDetector ] Bad keyword in body: http://nuplenishskincare.com by jabixoj Chiuh on askubuntu.com
 
4:18 AM
@Seth Flames for me. I know, a bit weird since I live in Vancouver :P
Also, @TheX, I've asked and answered your question here:
0
Q: How to change the clock to 12-hour format in Raspbian?

Nathan OsmanBy default, Raspbian displays a 24-hour clock: Normally, LXDE provides an option to change the clock format by opening Panel Preferences, selecting "Digital Clock", and clicking Preferences. However, this is disabled: How do I change the format?

 
What sport? ;p
 
Ice hockey.
The playoffs began today.
 
ahh, ok. (tho Canucks should have been a givaway)
 
@NathanOsman have an upvote.
@NathanOsman just a bit ;P
 
@NathanOsman cool man, thanks
 
4:26 AM
No problem.
 
4:39 AM
@Seth: ...and a late goal for Calgary. Game ends. Calgary takes the first of the series :)
 
@NathanOsman Cool!
I should check out the highlights some time when I'm not yawning to death.
 
I'm going to call it a night. Later!
 
Goodnight.
 
5:12 AM
I'm trying to wrap my head around the Promise pattern. It's especially confusing in JavaScript :P
 
0
Q: How to extend filesystem partition on Ubuntu VM?

tarabyteI'm running Ubuntu Desktop 14.04 as a VM on a mac with vmware fusion. I'm getting space warning issues and now want to expand from 20GB to 200GB. I powered off the VM and on the vmware side increased the allocated disk space: Power off the VM VMWare Fusion -> Virtual Machine -> Settings -> Ha...

 
5:34 AM
[ SmokeDetector ] Bad keyword in title: Natural Skin Care Supremia Anti-Aging Formula by Jessika Urner on askubuntu.com
 
6:02 AM
[ SmokeDetector ] Bad keyword in title: Uncovering Quick Programs For Muscle Boost by Eamey bron on askubuntu.com
[ SmokeDetector ] Blacklisted website: Software for converting .m3u to .mp3 by Karenina on askubuntu.com
[ SmokeDetector ] Bad keyword in body: http://nuplenishskincare.com by johnbret on askubuntu.com
 
6:24 AM
Wow. We're getting hit here.
 
6:54 AM
0
Q: 'Impact' field on new user profile

Carl HSince the user profile page has been redesigned, and very nice it is too, there is now an item of data named 'Impact'. On my own profile, this has a value of "~2k people reached". What does "Impact" actually mean, and how is it measured?

 
 
2 hours later…
8:29 AM
0
Q: Bash read user input and then call for a curl

RjackI'm trying to execute a bash script that accepts user input and then according to that user input executes a curl request, the user input includes the query string that should be called using curl. Here is my code #!/bin/bash echo "Type the post ID you want to eat (4-5 digits), followed by [E...

 
9:23 AM
0
Q: Hide curl output

RjackI'm making a curl request where it displays an html output in the console like this <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/domain/public_html/wp-content/themes/explicit/functions/ajax.php:87) in <b>/home/domain/public_html/wp-content...

 
[ SmokeDetector ] Blacklisted website: You so much I love you I hear back study by caitlinyoung on askubuntu.com
[ SmokeDetector ] Blacklisted website: Oakleylearns actually have a cropper by tonikbaler1 balis on askubuntu.com
 
10:24 AM
@Faizan Sometimes you have to keep the people from nonsense.
 
10:40 AM
@A.B who people?
why is you name A.B
 
1
Q: Javafx is not on the default classpath even with Oracle JDK 1.8

SifuI recently installed Oracle JDK 1.8 on my Kubuntu Linux machine following this guide. I did the manual install because I couldn't get the easy one to work. If I've understood correctly, javafx should be included on the default classpath after installing Oracle JDK 1.8. This is not the case for m...

@Faizan Only a short cut.
 
@A.B = Always Bashing
 
:P :)
 
AFAIK, they are theoretically different things but practically they are not. If you add a library to in an IDE it will get added to the classpath (compile time or runtime whatever you define). Usually it will just be picked up by the Maven/ Gradle/ Ivy configuration.
 
@Puce Libraries are not added in principle. In a simple project I have to look into it myself, that they will be added. Not all use Maven, etc.
 
10:45 AM
@Puce I don't want to clutter up Javafx question with any unrelated comments, but since you're here, as a general rule if a question is crossposted, I only comment about it at the wrong site of the two possible sites, so as not to confuse the OP. Otherwise the OP might delete the wrong duplicate of the two and then BOTH questions would get closed -- one by the OP and the other one for being off topic.
 
@karel It should really be mentioned at both sides. If you want to give up one discussion you should mention or delete it.
Sometimes you want to keep both discussions to reach more people.
@A.B. Still, the main effect is that it will be added to the classpath. Maybe with the additional effect that you get editor support etc.
 
@A.B. Try to make the post substantively better when you edit, not just change a single character. Tiny, trivial edits are discouraged
 
user136984
How could they close this?!
 
@Faizan Oh come on, this bothers you?
 
user136984
5
Q: How do I make coffee with Ubuntu?

lapisdecorI want to make fresh coffee with Ubuntu, using open/free software, a coffee machine and a wireless connection. What software can I use that is already available, and what hardware do I need to connect/operate a coffee machine at distance using that software? By coffee machine, at this point, I m...

 
user136984
10:56 AM
I so wanted to know the answer! ;D :P
 
Oh yes, me too.
 
i didnt get the question
how can we make coffee with an OS
 
....
No mention of RFC7168?
 
coffee is made on a heater
 
YOU PEOPLE DISAPPOINT ME
 
10:57 AM
@Toroidal Voting to reopen.
 
user136984
@Faizan: Well, you could make a program which controls the heater on Ubuntu.
 
But how
 
Ubuntu and IOT
 
@Toroidal We can create an embedded system which would use Ubuntu for creating coffee machine
 
Why do I have now again conceded a downvote? askubuntu.com/a/609133/367165
The program had Spanish editions.
output
 
11:02 AM
Helio also has one downvote
Anyway @Puce @A.B. look at this askubuntu.com/questions/609951/… My answer has been accepted
It was only issue of setting up CLASSPATH environment variable in Ubuntu. You may upvote :P
 
Oli
Is there anything more annoying than umount moaning about a device being "busy" and suggesting I look to fuser and lsof when both are fairly certain the device is unused?
 
@A.B. I know, that's crazy. Everyone wants the code in English, but the code in the question was in Spanish, so you're wrong either way you do it. My way of doing it is to edit the question and translate everything into English first, and then post the answer only in English. That way everyone is happy... except maybe the OP.
 
user136984
@Oli: You are confusing me so much now! Could you please just stop changing the colour of your profile picture! :D :P
 
@Toroidal It represents his mood. He now has the mounting blues so...
 
@karel :)
 
11:07 AM
@Oli I suggest you manually unmount devices like detaching HDD from system while it is running. When there is no device, there is no need to umount anything and hence nothing will annoy us.
:)
 
@Toroidal meh. The ava is clearly grey.
 
Oli
I have a grey version too. Just be thankful Gravatar doesn't support animated GIFs or I'd have one cycling through the rainbow.
 
(that's a dog joke)
 
Oli
I'll start getting jokes again once I've conquered umount.
 
11:22 AM
user image
4
 
@JourneymanGeek Dogs are not colorblind! Ha! I knew you were not a real dog!
 
@terdon: hence it being a joke
Dogs just have lower colour acuity and blurer vision
 
:)
 
(I mean, some blonds make dumb blond jokes, right?)
 
@karel @Toroidal have posted steps on how to make coffee using Ubuntu see the image above for details
 
11:36 AM
@A.B. have you tried my solution for making coffee using ubuntu ...i.stack.imgur.com/8J6hU.png
 
@Faizan Two minutes before, tastes great =)
 
Are they (this & this) really different?
 
11:53 AM
@SmokeDetector OK removed!
Isn't this duplicate?
 
12:05 PM
@Fabby Can I have your text with which you ask for upvotes? :)
 
@A.B. Yes! It's strewn all over the site!
Please, plagiarise! ;-)
 
1
Q: Environment variables. Where are they saved in?

March3April4If I do not edit the .bashrc or other config files, the environment variables that I've setted are gone when I logout, or turn off the terminal. What I'm curious is, where are those 'temporary' env vars saved in? As I guess, they might be in the memory. That makes sense because they will disa...

 
 
2 hours later…
user136984
1:51 PM
How do I get Ubuntu to not show the splash screen at startup with the logo and instead show me all that lovely verbose output which I feed on? >:)
 
user136984
@Fabby: Do you know? :)
 
@Toroidal Hitting Escape should do it, otherwise, you need to edit /etc/grub/defaults and remove the "quiet" option if I remember correctly
Make that /etc/default/grub
Change:
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
to
GRUB_CMDLINE_LINUX_DEFAULT=""
Then run sudo update-grub and reboot.
 
user136984
@terdon I have tried escape and the arrow keys to toggle as they did before, but it no longer works for some reason, I either just get black, the purple does not want to go.
 
user136984
So will me changing this config option also mean that I get that lovely verbose output on shutdown too?
 
user136984
@terdon: The current value is not quiet, but quiet splash: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
 
user136984
1:56 PM
Should I still remove all the values?
 
user136984
Well, I have done that anyway, so will restart soon and see if it has worked! :)
 
@Toroidal That should work. I'm trying to remember what splash/quiet do. I think that splash is the GUI stuff so I'm no longer sure about quiet. Anyway, that should show you the messages, yes
OK, I think that splash is the background you see in the grub menu, so quiet is the one you want to remove.
 
2:23 PM
0
Q: cp won't work on current bash script's directory

bablodI'm trying to copy some files from current directory in a bash script but the problem is that the cp command doesn't work with the current directory. I can use the following command without any problem on Backtrack 5 (based on Ubuntu) but not in Kali linux (based on Debian): cp -f -v *.{html,txt...

 
@terdon @Toroidal "splash" is the Ubuntu logo and "quiet" are the messages, so yes, remove both as originally stated.
@Toroidal for more information: kernel.org/doc/Documentation/kernel-parameters.txt (RTFM etc)
 
user136984
@Fabby Ok, thanks! :)
 
You're mail server etc... ;-)
 
0
Q: On my questin (with bounty) mine is the only answer. Should I just accept my own answer or let the bounty continue to expire?

Matthew BrownI asked a question. After further searching and no answers I set a bounty. Only after that did I happen upon information I needed by a total fluke. As a result I have posted an answer that addresses my specific instance although it does not necessarily address the needs of others who might want ...

 
2:41 PM
@Fabby Are you sure? The grub docs refer to the background image shown in the menu as a "splash image".
 
3:07 PM
Looking again
 
0
Q: Bonding on Ubuntu

Badr OydI'm actually simulating 2 WANs connexions with Wanem (each one on a different VM), those are connected to my servers. What i need to do here, is to creat a bonding to improve my bandwith. I ve followed some tutorials, but when i set a configuration to bond0 interface, i can't ping to it from the ...

 
@terdon Confused with Plymouth... @Toroidal: you're reading this?
Plymouth is the Ubuntu Logo! Sorry! :/
 
user136984
@Fabby Yes, I am... If you mean that conversation that is... :)
 
:D Yes! ;-)
 
3:34 PM
Is 14.10 EOL?
 
user136984
@terdon Probably not yet...
 
user136984
But actually that is a good question, when does it become EOL?
 
i've just made a post with a load of links but I don't have enough rep for more than 2
is there any kind of recommended work around for this?
 
@baxx Yup, tell me which post and I'll edit them in for you :)
Normal procedure is linking the two you can link and then leaving the others as bare URLs. A higher rep user will edit them for you usually.
 
@terdon cool - so it'll let me make the post, but not display the links?
how do I post? It keeps flagging that I have more than 2 links in there
oh, I'll make the post then you edit that with the pastebin, cool
@terdon the actual post is in the pastebin though, with the links in it
 
3:55 PM
@baxx Yup
Next time, put all the info you can in the question though. Avoid posting placeholders
 
@terdon fair, but still send you the links like I did?
 
@baxx Nah, I just edited.
You might also want to include the contents of your /etc/apt/sources.list and the output of sudo apt-get update.
 
@terdon yeah that's cool cheers. I'll drop those files in now thanks. But for future reference - If I write the post then erase all links, then send you or someone else the pastebin with links they can copy paste as a whole, that makes sense?
 
@baxx Not really. I couldn't just copy/paste. In order to show images, they need to be uploaded to imgur.com. I had to copy each URL manually and re-insert it. Next time, just post links to the images and wait for someone to edit.
Coming into chat and asking for it should be fine too.
 
@terdon oh that sucks - I've used image URL links to Google photos before on other SE sites. I'll ask in chat next time, as I tried to post the links and the page wouldn't let me, so Idk
 
4:05 PM
@baxx What? I don't think that's possible. Which SE site? They certainly did not display correctly when I copy/pasted your pastebin.
 
@terdon yeah definitely, it's what I always use.
 
@baxx Are you sure you don't use the SE add image tool and just give it the google image URL?
 
@terdon usually click on the 'add image' icon and choose 'from url', then put in the .... yeah, what you just said :P
 
:)
Yes, that works, but you can't just write ![foo][http://example.com/image.jpg]
 
5:05 PM
0
Q: how linux soft links are working?

DScriptI created soft link (ln -s 1 2) to a directory which is inside the test directory and opened the soft link (cd 2) and displayed the current path using pwd. The displayed path was ~/test/2 but not ~/testr/1. It's different in a OS like Windows,the shortcut brings us to the real directory. I'm litt...

 
user136984
@UbuntuQuestionsonU&L That person had just posted that here too! And they removed it just as I posted my answer! :D
 
0
Q: Ubuntu 14 service edition, how to boot into single-user mode?

Ogrish ManI'm new in Linux and just have basic knowledge about it. In the past I've tested to boot into single-user mode in some Linux distribution by just append " single" to the boot command. However, I don't know where should I add it in Ubuntu 14, the boot command is actually a shell script. Can anyone...

 
5:31 PM
@A.B. please be careful where you post comments. This one was meant for the OP, not the person who answered. Also, next time, please say something more constructive like "Please don't cross-post on multiple Stack Exchange sites". Something that gives the user the needed information.
 
user136984
Oooh! Well, I just got my first gold badge! :)
 
@Toroidal Yay! :)
And copy editor no less! Well done!
I only got mine on AU yesterday and I've been here far longer.
 
user136984
:)
 
Copy editor.
I think I also have fanatic and I have to check what my third gold is.
Ah, electorate.
 
user136984
Oh, I am very close to getting electorate...
 
5:41 PM
I still don't have legendary anywhere. I'm very close to epic on U&L but even there, no legendary :(
 
user136984
@NathanOsman I used to think you know that that meant something to do with half of an owl's face... :D :P
 
That's a guy waving his hand.
(Pardon the perfectly circular shape of his face.)
 
user136984
Owl: ~'o/\o'~
 
user136984
:D :P
 
user136984
5:46 PM
@NathanOsman Which arm is he waving? His right or his left (depending on which way he is facing, because he might be waving in a mirror reflection or at someone else)?
 
user136984
Well, that may be an owl... Or just a strange high five... :D :P
 
@terdon ok, sorry
 
@A.B. No worries. I just wanted to mention it.
 
It's possible to install 14.04 on a MBR drive yes?
because I have this dell with I think a broken bios since it has the wierdest add boot option under UEFI
 
6:04 PM
@Virusboy Yes.
 
i need to burn a dvd right
 
6:15 PM
@Virusboy No, you can use a USB.
 
no I cant say operating system not found
oh wait
brb
 
@terdon @Toroidal the coolest part about the new profile is the badge indicators!
 
Yes, those are really nice.
 
6:43 PM
o/
 
user136984
Yep, it's a nice feature addition.
 
nope still says operation system file not found
when using a usb
in CMOS
 

« first day (1660 days earlier)      last day (3292 days later) »