« first day (283 days earlier)      last day (4684 days later) » 

9:00 PM
what a nice goal
 
hmm it's gone after reloading
 
you made jorge disappear? shame on you!
 
lol
I used my super cow power :)
rm --super-cow --disappear JorgeCastro
 
 _____________
< knock knock >
 -------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
 
 ______________
< Who's there? >
 --------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
 
9:07 PM
@StefanoPalazzo Yay or nay?
 
@JamesGifford wb!
 
Debating if I should make that question more "general" or not.
@RolandTaylor Only for another 14 hours, but thank you. :)
(said question was for 11.04)
 
We don't see you much
 
Very true.
ONE MORE WEEK. :D
 
@JamesGifford should be a dupe I think
 
9:14 PM
@StefanoPalazzo Of "There is a problem with Ubuntu+1, what should I do?"
 
germany out of the tournament
 
I thought you were going to ask the question :D
where's the original?
 
No, i wasn't going to ask it. It was already asked, I was just wondering if an edit like that would be appreciated. Original is here - askubuntu.com/questions/36259/…
 
it's good edit, yeah
always nice to keep them up to date
it'd be even better if you could find a way to get rid of the version number altogether
 
9:16 PM
I'll come up with a way to get rid of the version number.
 
by the way, no need to add an "ubuntu+1" tag or somesuch. release-management should be fine by itself
 
I won't. I'll remove the 11.04 tag.
 
Go Japan! :)
 
olol
you've corrected Mark Shuttleworth there, very nicely done @James :D
 
@StefanoPalazzo When and where?! :O
 
9:20 PM
 
OH YEAH. I remember that now.
:)
 
good stuff
 
Take a look now. I think I got everything.
 
studying, at 23:19 :D
 
@JamesGifford that's great!
 
9:27 PM
@StefanoPalazzo Yay! :)
 
you've set the best before date to infinity, and without cheating :D
 
@StefanoPalazzo is it set to the "N" day? ;)
 
I love doing things like that.
 
How to prepare autoupdating PPA? http://bit.ly/qI0WET #ppa
 
0.8 university points gained there! :)
 
9:32 PM
.
 
Whew!
Another long answer:
0
A: How to prepare autoupdating PPA?

George EdisonThis can easily be done on Launchpad. What you are looking for is called a source package recipe. The way to set this up and get it building the source every day is to first register the project on Launchpad if it isn't already. Once that is complete, go to the project page and click "configure ...

5
 
good night all
 
namn1 = input("Ange ett namn: ")
namn2 = input("Ange ett namn: ")
namn3 = input("Ange ett namn: ")
namn4 = input("Ange ett namn: ")
namn5 = nput("Ange ett namn: ")
print(namn5, namn4, namn3, namn2, namn1)
 
Too bad FlackBot is down.
 
bye Htorque
 
9:36 PM
"namn5" has a typo right?
@GeorgeEdison isn't it banned?
 
where is FlackBot?
 
No, server is unaccessible.
 
namn == name
 
I can't start it.
 
@GeorgeEdison U R HACKED PWENED!
 
9:37 PM
D:
 
@Flackbot Come back quickly! D:
 
impossible! with a french accent
 
@GeorgeEdison yours is way better. :)
 
@JorgeCastro Really...? Thank you!
 
I just added a link I had to yours and removed mine
 
9:38 PM
Oh, thanks.
 
I updated the friends page
 
@RolandTaylor Oh, thanks.
 
Almost forgot - welcome @GeorgeEdison to the 2buntu group.
 
@JorgeCastro Can it also import git?
 
@RolandTaylor Yup.
 
9:39 PM
@RolandTaylor Says so on the page.
 
@JamesGifford oh I didn't open the link :P
DOH!
It's right there in the question :P
silly me
I was glancing past the pictures and reading the text content and totally missed it :S
 
Er... how come I don't have the taxonomist badge for 'battery'?
askubuntu.com/questions/tagged/battery <---- more than 50 posts with the tag
...and there's no doubt I was the first to use it.
The very first question on the site was tagged 'battery'.
 
Is there a "for()" in python like Java has?
 
Something like this:
> for(int i=0; i<some_val; ++i) { ... }
...is that what you're looking for?
 
yes
 
9:49 PM
hates for loops
 
in python u ahve to use i = 0
while (....)
... loop
@GeorgeEdison is there?
probably not...
 
Oops.
I forgot about that... sorry.
Lemme check...
 
@GeorgeEdison no worrys... studying anyway :P
 
marco, you're back!
 
o/ Lazy
 
9:53 PM
> for x in range(1,6)
 
o/ Roland
 
Will that work?
Actually, if you're looping from 0, just use range(x) where x is the number of iterations.
It's a neat little trick.
 
@GeorgeEdison the point of for() in java is that you can declare a int and create a loop that uses that int, and than ++int and all that in the function so you dont ahve a messy code below. this makes the drop below to show only what the loop does.
 
I don't quite get what you're saying.
 
brb.. making an example
 
9:55 PM
'for(int i=0; i<5; ++i)' is equivalent to 'for i in range(5):'
 
@GeorgeEdison aha didnt know
 
Both create a variable i that loops from 0 to 4.
...and the scope of i is confined to the loop in both cases.
 
@GeorgeEdison the point of declaring i in the function is that it looks better, the code is easier to read.
and you don't have a million variables all over the place.
 
But Python doesn't have variable 'declarations'.
A variable is 'declared' when it is first used.
 
@GeorgeEdison that is very confusing
 
9:58 PM
> "...and you don't have a million variables all over the place..."
You won't because the variable i only exists in the loop.
Same with any other similar language.
 
@GeorgeEdison then I can use "i" in other loops
 
@GeorgeEdison my teacher suggested me to declare i before the while loop
which I thought was very stupid for that reason
 
@Alvar In Python?
 
it works when it's a 20 line program
@GeorgeEdison yeah
 
10:00 PM
You have to 'declare' it for a while loop.
Like this:
 
1. antal_namn = int(input("Hur många namn vill du mata in? "))
2. namnlista = antal_namn * [None]
3. i = 0
4. while i < antal_namn:
5. namnlista[i] = input("Ange ett namn: ")
6. i += 1
7. j = antal_namn-1
8. while j >= 0:
9. print(namnlista[j])
10. j -= 1
no like this :P
it's in swedish, sorry for that.
 
@Alvar you owe me a chess move :P
 
i = 0
while(i < 5):
    # do stuff
    i += 1
 
@TheEvilPhoenix stand in line
@GeorgeEdison yeah
 
That's right.
 
10:01 PM
grabs a flamethrower, incinerates the line
 
@GeorgeEdison is that python?
 
@lazyPower Yup.
 
@TheEvilPhoenix I've looped the derezzed mix almost all day now
 
looks so clean and succinct
 
@Alvar But using a for loop is easier.
 
10:02 PM
@Alvar hehe, i've looped the C.L.U. remix for at least 4 hours now
 
for ( int i = 0; i <= condition; i++)
 
@GeorgeEdison I know that now
 
It is both easier to read and more intuitive if you're looping over a simple integer range.
 
@lazyPower JAVA :D
 
14 mins ago, by George Edison
> for(int i=0; i<some_val; ++i) { ... }
Essentially what I suggested.
 
10:02 PM
C#, java, C++, C, javascript actually
you pre-increment!
 
@lazyPower true but still JAVA !!!!!!!!!!!!! :D:D:D:D
 
the sacrilidge!
 
Nothing wrong with that!
Both compile to the same machine code.
 
lol
indeed
 
I just 'feel better' doing it that way.
It's a long running habbit :)
C# uses the same syntax, right?
 
10:04 PM
indeed
 
Thought so.
 
C# is not so different from C++, tons of the same conventions are in place but not required
think of it as the lazier version of C++
 
what is C#? is it C or C++? :O
Java is a "upgrade" from c++
 
no, its the .Net/Mono C-style language
 
aha... googling...
 
10:06 PM
yo George, i just learneda bout templating this week. Dude that is effing sweet.
template <typename T>
SomeRandomFunction(T arg1)
 
@lazyPower Templating in C++?
 
si
 
Anyone want to to ask me questions on formspring?
 
Yeah, it really gets twisted though when you throw inheritance and stuff in too.
 
@lazyPower oh nice :D
 
10:08 PM
@RolandTaylor What is formspring?
 
@Rinzwind Go Japan! :D
 
(Yes, that was the question.)
 
Templates are very useful, but complicated sometimes. I only use them for repetitive things.
 
i'd much rather not create templated virtual functions
 
@lazyPower Yeah, like the STL :)
 
10:09 PM
just sayin
 
who runs stackapplet again?
 
@GeorgeEdison it's a social network of sorts, for finding out about people.
 
natty ppa works with unity integration?
 
Works for me.
 
10:09 PM
It should.
 
@TheEvilPhoenix the derezzed mix is truly awesome like 1:30 in
 
which one?
there's two derezzed mixes
:P
@GeorgeEdison potential bug report, should I just post it on lp?
 
that one ;)
@TheEvilPhoenix glitch mob
 
holy, thats a ridiculous heatsync posted by htorque
 
@TheEvilPhoenix Sure.
 
10:19 PM
@GeorgeEdison you were asking about C# and its semantics.... its retarded simliar to C++, look

public class BlogController : Controller
{
BlogContext db = new BlogContext();
Markdown regenerate = new Markdown();
List<string> headerscripts = new List<string>();
List<string> stylesheets = new List<string>();
 
Yup, it certainly is.
@StefanoPalazzo:
Your per-filetype preferences are in the works!
 
from random import *
s_tal = random()
How do random know what number to generate?
in the book it says it will generate a number from 0-1 which I don't get why
@georgeEdison python help please
 
I'm bored and need interaction :P
 
@RolandTaylor then make your own bot to play with! ;)
 
@RolandTaylor i'll give you five bux to do my homework.
 
10:28 PM
@lazyPower haha
 
@lazyPower I could make a bot to do it for 3 bux! ;)
 
that would go against everything within me
 
@Alvar What is it?
 
look up
 
@Alvar :( bots can't get upset...
 
10:29 PM
@RolandTaylor why not? that's up to the coder
 
its only a four page essay over first, second, and third normal form during the database design process with accompanying ERD's
 
So your question is "why are random numbers between 0 and 1"?
 
@GeorgeEdison mor elike how do random() know what numbers to generate between
 
It always generates numbers between 0 and 1.
 
in my mind it could be 0-10000000 ....
@GeorgeEdison lol WHY? it's pointless
 
10:30 PM
George, stop dominating the starred box. Come up with uninteresting things to say or i'll have to silently weep.
 
That way you can specify a range by simply multiplying by a constant.
> random() * 5
...will always generate a random number between 0 and 5.
 
@GeorgeEdison aha or times 10
 
random() * 10 will generate a number between 0 and 10.
 
@GeorgeEdison if the "random()" is in int
else it will be 1.xxxxxxxxx .... or 4.xxxx etc
right?
 
> random() * sys.maxint will get a random number that can be any integer...
 
10:32 PM
how many deciamls does random give?
 
...except 0 and sys.maxint.
@Alvar Not sure exactly.
 
hj = random()
print(hj)
0.19029146860041335
the numbers is the output
lol
 
Got it.
@TheEvilPhoenix I replied to it.
 
ok
thanks
 
10:49 PM
for the fans of gource in the room
 
TOO COOL!
 
what is that
throws some illogical complaints at @GeorgeEdison
 
pong for apache :P
 
so I got myself in a little bit of pickle. I'm setting up a multiuser system and I wanted everyone to have their own webroot in /home/user. I also wanted to have every /home/user folder be private so I've get the permissions to 750. Now I realize that this prevents the sites from being accessible. Is there any way around this or do I have to keep home/user open
 
you feed it your logs and go
 
10:55 PM
@lazyPower lol
@Radu why would you have it in /home/user ?
cant they just be in /home/user/public-web or smth?
and then have read perms on that
 
they're setup like this: /home/user/sites/domain/www
 
read up on mod user dir for apache
 
^--- that
 
that would be your best bet in my honest opinion
it takes the headache out of what you're doing manually
 
looking up, thanks
 
10:57 PM
@lazyPower HOLY FREAKING CRAP! that's awesome :P
 
What is? the pong for apache?
 
the apache pong
This module allows user-specific directories to be accessed using the http://example.com/~user/ syntax.

It seems like this is aimed at sharing one domain among many users but I envisioned it as every user having their own domain
 
you can set it up to map to their home directory in vhosts
 
I am doing that, each user has their own /sites-available/domain
I went with this as a model
8
A: What is the best way to add files to a website on a LAMP Server?

Marco CeppiEvery setup is different. For me I have a lot of users on a server that each hosts websites - for you, you likely won't need to create more than just one user on the system - however, if you manage multiple websites on this server this setup will help you to manage, configure, and debug each doma...

 
marco should be back around later if you need his help
he's usually around in the evening
oh wait, its after 7pm... no idea where he's at
 
11:04 PM
uh oh
 
Woot
 
declares war against RHEL-based operating systems
 
sup everyone
 
I thought I had it, but didn't work.. tried to add www-data to the user's group
 
thats what i did
added the www-data group to the users group perms, chmod 775 on the directories
everything worked without a hitch
 
11:11 PM
hmm, I have 755 on the dirs
 
www-data needs to be able to view EVERYTHING
with full perms if its the group
 
I think Marco works around that by using suphp since he mentions his dislike of www-data
 
11:37 PM
thats possible. I'm more of an nginx user myself.
well, recently anyway
 
11:59 PM
@lazyPower i have no clue how, but somehow I got op on the nginx irc channel (the main one on FreeNode)
shrugs
i dont even SPEAK in there :P
 
i wouldn't
log and observe the nginx community in its natural habitat
 
you mean like i do :P
and of course the only time i do anything
its automated
 

« first day (283 days earlier)      last day (4684 days later) »