« first day (1320 days earlier)      last day (3648 days later) » 

12:00 AM
Luis pays Braiam 10K of Gold... no one never knew Braiam was the mastermind behind the fight.
 
@LuisAlvarado I like french, but too heavy for me atm. If you have been trying to learn Mandarin for more than 3 days, you are a genius!
 
hahahah
 
@LuisAlvarado You're beginning to worry me... You enjoyed that mindless violence way too much.
 
I REALLYYYY understand what you are saying
 
Lol:
@terdon :Thanks for editing the question for me :P. I will copy your line and give it a go. — Superpajamarama 1 min ago
 
12:02 AM
@terdon what are you talking about... pays Lucio a bunch of gold and gives him a knife. Lucio positions himself behind terdon while he talks to me. Roll a 20 sided die to see if you survive.
 
xD
 
@LuisAlvarado OK. Now just go with these nice gentlemen in the white coats. They'll take good care of you.
 
:)
 
Anybody here also a D&D addict. I don't mean video games but board games.
 
12:04 AM
yep
I friend mentioned one of those games to me
I said "lets play it next week" ... 2 months since
 
lol, turns out the "rar" file was empty :)
@LuisAlvarado Not an addict but played some RPG in uni. ONly played a single (short) D&D campaign though.
 
What means "D&D"
 
@LuisAlvarado yes me
@Lucio dungeons and dragons
but it is years since I last played :P
 
I knew the rar had a problem
if it had a password it would had mentioned something about "hey you forgot the password". It was either corrupt or empty.
@Rinzwind Well my character was left in Venezuela so I have to start from scratch
@Lucio hahaha 2 months
My D&D experiences always started at 11 AM and ended at 11:30 AM... the OTHER day.
 
Im following exercise chapter 4 of C Programming Language book. Unfortunately when i try to compile math.h on ubuntu, gcc gives me the following error:
undefined reference to `fmod'
 
12:09 AM
D&D = 20 glasses of coffee, coke, pepsi, caffeine like crazy.
 
I tried compiling as follows: gcc -lm -o calc calc.c
any idea of what is going on here?
 
@LuisAlvarado and summer glasses!
 
@LuisAlvarado Heh, yeah, I know gthe feeling. Our shadowrun games would last at least 12h too.
 
@JohnMerlino paste the code on paste.ubuntu.com
and link it here
 
@JohnMerlino Maybe am confused right now but shouldn't you compile the .C or .CPP instead
 
they would add the library headers to the code in the compiling process no?
 
@LuisAlvarado I am compiling with .c
 
*calc.c
 
I see, sorry when I read "when i try to compile math.h on ubuntu" I thought you were actually compiling math.c
 
@JohnMerlino that compiled with no errors here. What\s your OS and gcc version?
 
12:13 AM
ok let me run it here and see
 
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.4 LTS
Release:	12.04
Codename:	precise
 
$ gcc --version
gcc (Debian 4.8.2-1) 4.8.2
 
$ gcc --version
gcc (Ubuntu/Linaro 4.7.3-2ubuntu1~12.04) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
Seems strange. I have 0.3 C-fu so I really can't be sure but it sounds like you're missing one of the included libraries. Does anyone know who provides fmod?
 
math.h
he included it
wait, that is cpp
 
12:17 AM
@Lucio Are you sure?
grep fmod /usr/include/math.h
returns nothing
 
Nop
@JohnMerlino you need this library: cmath
 
/usr/include/tgmath.h
 
So adding #include <cmath> at the top should do it
 
@Lucio So, why did it compile OK on my machine then?
 
mm.. it depends on the machine? :P
 
12:19 AM
fatal error: cmath.h: No such file or directory
 
I'm confusing C with C++
 
This is C program. It's an exerise I was working on from C Progrmming Language book
 
@JohnMerlino Try tgmath, that's the one that has the fmod definition on my machine.
 
@JohnMerlino Am doing a bit of cleaning of the code and making it more indented/standard. Give me a second.
 
OK, @JohnMerlino it works on my LMDE (Debian) but fails on my 14.04 VM. Looks like an Ubuntu problem somehow.
 
12:21 AM
tgmath didn't work either
 
@terdon no Ubuntu has no flaws. Must be debian not throwing an error where it should >:D
 
@Rinzwind Ah, yes, of course. I should have realized.
 
lol
 
I got an error: collect2: error: ld returned 1 exit status
 
@LuisAlvarado This is my first Portuguese post :)
 
12:26 AM
so maybe the problem is from the linking part
@JohnMerlino you there
 
@LuisAlvarado yes
 
Can you put the linker line at the end so it is not processed first
gcc -lm -o calc calc.c --> gcc calc.c -o calc -lm
 
@LuisAlvarado Wow, that worked. Why?
 
This here didn't throw any errors: gcc calc.c -o calc -lm
 
@Lucio Wow, that's some Portuguese you got there. You know you are on the right track when I read the question and understand 10% of it.
 
12:31 AM
haha, yeah
I like how brazilians talk
Sim, estou na biblioteca swing, é para desktop normalmente, um joguinho! — Isaac Reinaldo 36 secs ago
joguinho! <-- lol
funny people
 
@terdon Because the error was WTF for the normal errors gcc gives me. So maybe it was not the compiler but one of the steps
so I created only the object first
you know -o
then ran nm with it because ubuntu already has it lol
 
@LuisAlvarado So you're saying that the linking happened afterwards?
 
somehow yeah
 
I wouldn't have thought the order of the flags would matter. Wow. I'm so glad I rarely need to write C :)
 
@JohnMerlino you should open a new question
 
12:34 AM
@LuisAlvarado thanks the program seems to be working fine
 
@JohnMerlino yeah well I think you found a bug
that's not normal
 
And it seems Ubuntu specific (Sorry Rinzwind).
 
yeap
UBUNTU HAS A VIRUS!
 
Bug on gcc. This is an exciting night!
lol
 
@LuisAlvarado But, but, that's impossible!
Indubitable!
 
12:37 AM
You are all a piece of nerds who found bugs on Saturday nights!
I love you all :P
 
Saturday Night Live!!! Starring... Lucio Ferrel..... Terdon Phelps....Rinzwind Lovitz and musical star John bonjovi
4
 
Lol
 
haha
I like the final impression
 
Hey @Luis long time no see! :D
 
> I am very aware of the dangers of what I am asking and remind people I am no where near the level of the common user. So posting about how dangerous it is and the risk involved will get an auto-flame on from Johnny Fantastic. I am looking for work arounds and answers that would aid me.
 
12:43 AM
@Seth who in the heck are you
 
Man, does his question belie his claim.
 
He doesn't remember me :(
 
@Seth LOL JK sup buddy how are you. Me moving from country, working and stuff
 
@LuisAlvarado I'm doing good. Just helped dig a huge drainage pit, very tired now ;-)
How's it going?
 
Beware SE community. I'm about to write a new Portuguese answer!
 
12:45 AM
@Seth WOWWW. Damn
 
@terdon eww..
 
Johnny Fan-effin-tastic baby!
 
People who claim they know the dangers, but please enable root, have no clue what they're talking about.
 
Yup. Mind you, I do and I have :)
 
Haven't we all ;)
 
12:49 AM
C'mon! Somebody post a nice regex question. I want to reach 10k this weekend!
 
dinner!
see you later guys
bye luis, terdon, seth and john bon jovi :P
 
Adios!
 
later!
 
reads transcript.. Did I.. miss something?
 
Well everyone take care.
 
1:02 AM
See you!
 
@terdon keep an eye out, one of the fantastic-four might show up...
 
@Mateo I think I've already seen The Thing somewhere.
@Seth Yeah. @Rinzwind and I had a fight. There was blood everywhere. I lost.
 
ah, he is the one that can't turn off his powers, must have been rough
 
Sorry to interrupt but here's an important PSA:

Use [YAD](http://sourceforge.net/projects/yad-dialog/) for your scripts folks. It's [really powerful](http://askubuntu.com/a/464122/81372)

(*shameless answer plug*)
ahh, no markdown ☹
 
Anyone have any ideas on this?
1
Q: trying to install terminal window managers

d3pdI'd like to try some terminal window managers such as Viper Window Manager (VWM) and Twin ("Textmode WINdow"), but I'm having difficulties getting them running in Ubuntu. Are packages available for these or other similar efforts or are there some guidelines for installation? EDIT: I have added...

 
1:11 AM
@Glutanimate so a graphical wget, sounds intresting
 
@Mateo yup, just one of the many things you can do with yad. It's a shame it's not in the repos yet :/
 
@Glutanimate You call that shameless? Watch this!
I need 35 more rep to hit 10k, please? Pretty please with a cherry on top?
 
FWIW, here's the packaging request: bugs.launchpad.net/ubuntu/+bug/796633
@terdon I think you miscalculated. You only need 5 more.
 
Sweet! Thanks :)
 
@terdon Y U INSTALING DEV LIBRARIES FROM SOURCES?
 
1:15 AM
@Braiam Yeah... no idea why he did that.
 
also, mismatched versions!
D:
 
Whohoooo! 10k :)
 
@terdon grats!
 
preens
I now have access to the mod tools on 4 sites grin
 
@terdon tsk, tsk, when you are at Gilles level, we talk :P
 
1:18 AM
@Braiam Yeah, right. Give me another 4e7 years.
Oh the joy of being able to see deleted content...
 
if you are not going to see the Indian Hacker Team, then there's nothing much :*
 
wow, this is kind-of epic
 
@Mateo Yeah. That does look sweet.
 
1:43 AM
Sometimes rep is annoying. 5 people have upvoted @Braiam's answer and none of them have notices that it throws an error if run :)
 
is there anyway to disable nullmailer? after looking at my syslog file it seems that this app or process is always trying to connect to some non-existent mail service
 
@terdon the dot will get in the way :(
 
@Braiam Yeah, just noticed and reedited.
I think it should work fine now.
Nice post by the way.
 
trailing ) D:
is not complete btw, it should ignore directories too
 
@Braiam Nope, you just broke it. That was the closing one of the $()
 
1:54 AM
hm, the google oracle thing was overturned
 
@Braiam will apt-file check against uninstalled packages?
Yes it will. Nice.
 
m.... weird, using comma won't concatenate expressions, something obvious I'm missing
 
@Braiam In what? sed?
 
im wondering what happens to android now!.. @Mateo
 
2:00 AM
I told Google they should have gone with Python :P
7
Universal truth: don't use Java. It will bite you.
Even if you are Google... it will bite you.
 
@terdon yeah, can't concatenate \/$ with yours
 
@Braiam What do you want to do?
 
so basically you have an open source language, that you now can't make compatible with whatever oracle is calling java now?
 
@terdon remove the directories, since dpkg ignores them anyways with /\/$/
 
:How about :
 
2:06 AM
yeah, well, appending another sed... because sed
 
dpkg -c foo.deb | grep -oP '\.\K[^ ]+[^/]$'
That will remove the leading dot and skip directories in one fell regex
 
it fails with this kinds of files:
/etc/xul-ext/itsalltext.js
./../../xul-ext/itsalltext
./../../xul-ext/itsalltext
/etc/xul-ext/itsalltext.js
maybe I shouldn't try to be smart... :D
 dpkg -c your_deb_file.deb | awk '{print $(NF)}' | sed 's/^\.//' | sed 's/\/$//'
 
@rajan time for Ubuntu touch! qt!
 
@Braiam That won't skip directories, only remove the trailing slash from them
 
hm, maybe they will make a mini chrome OS and drop java...
 
2:10 AM
@Braiam Ah yes, in case there's no leading ., OK, use this one:
grep -oP '\.*\K[^ ]+[^/]$'
 
hehhe ... maybe..
 
darn is this one:
dpkg -c your_deb_file.deb | awk '{print $(NF)}' | sed 's/^\.//' | sed '/\/$/d'
 
but ubuntu touch is discontinued isnt it....@Mateo
 
@rajan no...
 
stupid clipboard
 
2:12 AM
:)
Oh, and you combine the expressions with ; not comma: sed 's/^\.//; /\/$/d'
 
heard somewherre..
 
> "We conclude that a set of commands to instruct a computer to carry out desired operations may contain expression that is eligible for copyright protection,"
 
@rajan you are thinking about U4A, which was just unity 2d from 12.04 slapped in an andriod app
 
wth!
@terdon but, but... SO can't be wrong :(
 
Lol :) Comma does something also, I'm no sed guru. They probably have slightly different functions.
I always switch to perl when the sed gets complex.
 
2:15 AM
@Braiam computer shutdown (gets message that microsoft copyrighted the desired operation...) must unplug computer...
 
2:31 AM
0
Q: Is there a tool(!) to list assigned subuid and subgid values for users?

0xC0000022LThe question is basically in the title. usermod -v and usermod -w can be used to manipulate the subuid and subgid ranges for a user account, but there appears to be no tool that can merely list them. Is there one? At least on my Ubuntu 14.04 box getent doesn't seem to be prepared to handle that...

 
Pastebin is rough with copyright
Go paste.ubuntu! Go!
 
I could really use some help trying to open a debian.tar.gz file
i have no idea of how to do it, and it seems really complicated. I would love it if someone could guide me through the process
 
Double click?
 
double clicking does not seem to install the file, or compile it
thats what i need to do
 
do you mean install from source? there is more than just opening those...
 
2:34 AM
here is what i need to install:

https://launchpad.net/ubuntu/+source/scsitools/0.12-2.1ubuntu1
 
do you link mateo or do I?
 
there seems to be a whole bunch of steps to compiling and installing
i usually use the software centre, but those files dont show up there
 
ok, I do it
89
Q: How do I install a .tar.gz (or .tar.bz2) file?

SilambarasanI have downloaded tar.gz files. But I don't know how to install it. How do I install this kind of file?

Read that question (and the answer of course)
Try, and if you have issues I will help you out
 
yes i read this, but it was so very confusing
 
is there a reason you need the source?
 
2:38 AM
i have extracted the files in my downloads folder. I am not sure what 'source' means, but what i need to do is install that scsi tool thing becuase my scsi drive is not showing up
 
sudo apt-get install scsitools
 
oh wait. i see what you mean by source.
 
@KalamalkaKid Is there a file called README or INSTALL among those you extracted? If so, read it. The normal procedure is:
./configure
make
make install
 
Package scsitools 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
 
or even better:
install from SC
 
2:40 AM
i cant
it doesnt show up there
 
@KalamalkaKid oh, now I see
what OS are you using?
 
He's trying to follow the suggestion of someone else here a few hours ago.
 
> The following NEW packages will be installed:
libsgutils2-2 scsitools sg3-utils
0 upgraded, 3 newly installed, 0 to remove and 22 not upgraded.
Need to get 696 kB of archives.
After this operation, 2 226 kB of additional disk space will be used.
Do you want to continue? [Y/n]
no problems here...
 
i am using 12.04
 
with:
ah, it is in the universe then, check your sources or: packages.ubuntu.com/precise/scsitools
 
2:43 AM
sorry, im so new, i dont know what do do with this list at that link
 
pick for i386 or amd64 (32 or 64 bit)
in the download table
then pick a random link for a mirror, or one close to your location for the download
this gives the .deb file
 
ok great!
then jsut click on it once its downloaded?
 
yep
 
should open in software center auto ;)
 
 
2:45 AM
its says Not found
 
@Lucio same here...
 
"There isn’t a software package called “file:” in your current software sources"
 
@Mateo routers are yelling ;)
 
same thing goes for similar package scsitools-gui_0.12-2
NOT FOUND
 
what happens when you try to update?
do you see any error there
 
2:48 AM
sudo apt-get update?
 
and then upgrade
 
?
sudo apt-get update ?
 
sudo apt-get update
sudo apt-get upgrade
 
can you tell me what upgrade is?
 
update does nothing
upgrade does update/upgrade your software
 
2:49 AM
it actually installs updates, update just checks for them
 
does upgrade change up to higher version than 12.04
 
not at all
 
@KalamalkaKid nope
 
we are talking about software, not distro
 
ok
wanted to make sure
 
2:50 AM
Enter this: sudo apt-get update && sudo apt-get upgrade
and tell us what happens
 
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
maybe there is another way to get my SCSI disk to show up ?
 
aren't more lines above?
 
sudo apt-get update
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://ca.archive.ubuntu.com precise Release.gpg
Hit http://ca.archive.ubuntu.com precise Release
Hit http://dl.google.com stable/main i386 Packages
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Ign http://dl.google.com stable/main TranslationIndex
Hit http://ca.archive.ubuntu.com precise/main i386 Packages
Hit http://ppa.launchpad.net precise Release
 
 
im jstu trying to get access to a scsi drive, nost sure what i need to do. Someone said i needed those packages
 
2:54 AM
Oh, thanks to you I discover that I need to update my software :)
 
glad I could be of service
= )
 
You should be missing some source to get packages
 
lsscsi out is:
[0:0:0:0] disk ATA WDC WD800JD-75MS 10.0 /dev/sda
[1:0:0:0] cd/dvd HL-DT-ST DVDRAM GH22NS50 TN00 /dev/sr0
[2:0:0:0] disk ATA Hitachi HDT72101 ST6O /dev/sdb
[4:0:6:0] process Kurzweil K2500 3.02 -
 
Open software & sources, take a screenshoot there, upload it into imgur.com and link it here
@KalamalkaKid I don't know anything about disks
 
where is "software & sources"?
 
2:57 AM
I don't know :(
 
 
 
so in software center
go to edit
then software sources
@Lucio or that...
 
:D
@Mateo I see a player there :P
 
Canonical is the only one highlited
 
2:59 AM
Screenshoots says a lot about user personality
 
make sure all the ones are checked in that section
 
i recently purged the file of sources trying to sort out another problem
 
Do what mateo says
 

« first day (1320 days earlier)      last day (3648 days later) »