« first day (420 days earlier)      last day (4538 days later) » 

9:01 PM
@StefanoPalazzo gparted lists it as sdd
no partition
 
right that makes sense
not sure why it's sdd, but anyway
you should need to set up a bootable parition (FAT32 I suppose)
I think it's right click -> make bootable
@OctavianDamiean shouldn't I be able to log into the machine via ssh?
it's asking for some password or other (not sure about the username either, I would've expected that it set up key-based login)
 
Indeed.
It'll ask you for your SSH key password.
Indeed, it is key-based.
 
~:$ ssh root@192.168.122.136
root@192.168.122.136's password:
doesn't look right
 
@StefanoPalazzo I see no "make bootable" option
 
9:06 PM
lol
finally found some logs!
@JorgeCastro anyone have a ftp server juju up and running?
 
@GeorgeEdison is doing that one next
 
@rlemon sorry, that's "Partition → manage flags → 'boot'"
 
@StefanoPalazzo yea I just got it.. needed to "apply changes" before you can manage flags ;)
 
@StefanoPalazzo Oh, no no, try that. juju ssh SERVICE_NAME
 
9:08 PM
@BrunoPereira I thought you were doing teamspeak?
 
I was thinking of "cfdisk" ;)
 
@JorgeCastro will be done tonight with it now that I can see what is happening, updated some code yesterday but going blind kinda got me stuck again, now I can see what is wrong and fix it ;)
 
have you seen "juju debug-log"
 
@OctavianDamiean fantastic
thanks, yet again!
 
and "juju debug-hook teamspeak/0"
 
9:10 PM
@StefanoPalazzo so then I would install to /dev/sdd1 or /dev/sdd
 
takes you right into the unity
 
Happy to help. :)
 
and then go to /var/log/juju in there to see what happened
 
@rlemon you better check again, of course, but it'd be the partition you create. e.g. /dev/sdd1
if sda is the device, it's paritions are sda1, sda5, sda6, ..., sdz4096, and so on
 
@JorgeCastro yeah, it was always on! the full log on my system is in /var/lib/lxc which I did not find reference anywhere
 
9:11 PM
@BrunoPereira add that to my local answer!
on AU
 
link, dont want to go back there or no work will be done!
deploying teamspeak!
 
Oh god ... I just realized that Jorge has infected us with the juju!
 
excellent</mrburns>
 
@OctavianDamiean you say that like if your sad with it ;)
 
No, not at all, I love juju but still I wonder how that happened. :D
 
9:14 PM
:)
 
@JorgeCastro the charm school thing will it only be on irc? any chance we can use my teamspeak charm and actually talk to each other? :P
@OctavianDamiean :D
 
the promise of tshirts and mugs could have done something to do
@BrunoPereira we could certainly do something like that
 
I mean I don't really wonder. You can ask everyone that met Jorge in person that it is hard not to get caught in the Hell-yea-let's-do-it feeling.
 
@JorgeCastro o really??? I did not see anything till now... tap taps foot impatiently
 
okay, everything worked brilliantly and now I'm hooked. that's juju.
 
9:15 PM
:D
 
@JorgeCastro link the answer so I can add the log place to your answer
 
12
Q: How do I configure juju for local usage?

Jorge CastroI'm too cheap to pay for EC2, and I don't have enough servers to set up my own openstack, how do I configure juju to use Linux Containers (LXC) on something like my laptop?

 
@StefanoPalazzo what did you deploy?
 
mediawiki for now
 
the only thing I might actually use ;)
 
@OctavianDamiean do I need a troll sign?
 
Yes. :D
 
Oh God another sleepless night incoming!
 
Sleeping is for the weak
 
Oli
9:17 PM
Yeah stop being tired and be awesome instead.
4
 
@MarcoCeppi tell that to my scheduled customer calls...
 
@StefanoPalazzo are you sitting down?
 
yes...?
 
@Oli I am awesome! (at least my mother tells me that when she gives me cookies and milk every night before bed time)
 
9:18 PM
@JorgeCastro heh :D you confuse me with Oli, I use cherrypy all the time
I don't much care for django at the moment, I don't need to get any work done ;)
 
Fixed the How do I configure juju for local usage? answer.
It was missing the expose step.
 
Oli
I wish people would sit in the same room as their microphones when they do screencasts.
 
haha
 
hmm
do we have cherrypy on the list?
 
9:23 PM
@JorgeCastro not yet
 
someone should write a user-script for those 1990s smilies
 
@StefanoPalazzo Your call! CherryPy charm! GO GO GO!
 
@JorgeCastro that'd be awesome. deploying cherrypy on apache, plus datatabase, plus reverse-proxy, ..., is a bit of a pain. same as django, zope or any framework.
I know I rave about it a lot. it's no easier to use than the rest of 'em really ;)
 
doitdoitdoitdoit
 
9:25 PM
but with a charm, it's easy for everyone
best off, you'd never need to do it
ever again
by hand I mean
 
sounds good! I'll take it as my homework for CharmSchool :)
 
Yea, You just do it by juju. :P
Magic
 
@StefanoPalazzo this was after the last attempt
=P
 
I can see it already: all my stuff will be one command away on ubuntu, impossible to deploy on any other distro. :P
@rlemon :-\
what happened when you tried unetbootin? (however you spell that)
 
@StefanoPalazzo "just when I wanted to get into Solaris...."
 
9:29 PM
heh
 
i'm gonna try that again now.. I had tried with the img from the bsd ftp site... now i'm going to try with the img you can choose from UNetBootin
 
screw sleep, im getting my bottle of cognac!
 
@BrunoPereira cognac induced sleep? or cognac induced coding.
 
@rlemon hope coding if sleeping deprivation allows for it. If that plan does not work I'll go for the sleeping plan ;)
 
back
 
9:32 PM
@BrunoPereira rlemon.com <- hangman ;) also, half way through the cognac... rlemon.com/spirals
 
doesn't make much sense now that I think about it. I can't imagine a good reason for using Apache, if you're going to have limitless scalability with app servers.
so the cherrypy charm should just be pure cherrypy, and then a load balancer charm to tie them all together
 
[Wed Nov 23 13:25:51 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
Action 'start' failed.
The Apache error log may have more information.
...fail!
 
and a reverse proxy, because that's my favourite thing in the world it seems
 
O YES!!!!!!!!!!!!!!!!!!
 
time to press a panic button?
 
9:35 PM
is syncing my iPhone 3g with my Ubuntu laptop!!!!!!!!!!!!!!!!!11
JAAAAAAAAAAAAAAAAAAAA
sry for swedish :P
finally a prodigy album :P
 
@StefanoPalazzo One day, at the next UDS maybe, you'll have to explain me why. :D
 
i tried to compile compiz from trunk today. never again. :D
 
@StefanoPalazzo what load balancer do you currently use?
@htorque just the man I was looking for!
@htorque I need the source to one of your ads
so I can make an ad for app developer week.
 
@OctavianDamiean that's simple. you can run your various websites in the form of different servers, and use a reverse proxy to do the vhost-dispatching. so on plzz.de, jrc.plzz.de is actually plzz.de:9003.
 
> The Apache error log may have more information.
> ...fail!
 
9:37 PM
@htorque this one would be perfect: meta.askubuntu.com/q/1799/235
 
always my fav.
 
@JorgeCastro I don't have any load to balance :)
 
oh, because we have haproxy already
 
my bad I didn't create required log folders and assume that apache will create them :-/
 
\o/ My bug got confirmed! :)
The Software Center is wasting a lot of space currently. I'm on 1680 x 1050 and if I maximize it there is a lot of unused space at the bottom below the "Top Rated" block. Here are two ideas what that space could be used for. a) You could have the "What's New" block be more prominent. Make the elements bigger and add more information. b) Show more items in the "Top Rated" block. (This can be problematic because it can be too much for the user) c) Add another block "Top Downloaded" for example. Those are really just some quick thoughts.
software-center (Ubuntu)
Undecided / Confirmed
 
9:40 PM
@JorgeCastro then haproxy it is. seems like the best one too. these "cherrypy apps" I talk about are complete webservers, so haproxy should "just work"
 
@OctavianDamiean @ home I run 1920 * 1080 and I never noticed that...
 
just cause u mentioned I'm gonna try maximizing it
 
@StefanoPalazzo yep
 
I'm very anal about design.
 
I think my goal for the thanksgiving holiday is to get three charms done. Seems reasonable enough
 
9:42 PM
This is the only reason I don't have my own blog up and running. I'm too much of a design perfectionist to actually finish a design. :D
Which is more sad than fun.
 
if you deploy a charm and it fails with some fault do you need to destroy it and re deploy? can you make the process "restart" without deploying again?
 
@OctavianDamiean that's why I use tumblr
 
@JorgeCastro i'll look if i still have it :)
 
a bunch of pretty stuff
 
@OctavianDamiean this is quite good: let's say I want to write an app and get it running, here's what I do. 1) write the app, superapp.py, 2) upload it to the server and run "python superapp.py", running on port 12345
then I add this to my nginx conf:
server {
        server_name superapp.plzz.de;
        location / { proxy_pass 127.0.0.1:12345; }
}
done
 
9:44 PM
hmmm, I see.
 
this way, step 1 is the hardest step, as it should be
 
hm, not on system one
@JorgeCastro i'm afraid there's no svg source to this one
 
@StefanoPalazzo :D
 
iirc that was made in gimp
 
bumma
 
9:52 PM
I ought to write a script for that
 
BTX Halted AHHHHHHhhhhhhhhhhh
 
Bildschirmtext (German "screen text", abbrev. Btx) was a V.23 online service (an interactive videotex system) launched in West Germany in 1983 by the Deutsche Bundespost, the (West) German postal service. Btx originally required special hardware, which had to be bought or rented from the post office. The data was transmitted through the telephone network and the content was displayed on a television set. Originally conceived to follow the UK Prestel specifications, and developed on contract by IBM Germany, Btx added a number of additional features before launch, including some inspired...
(nostalgia)
@rlemon what is BTX?
apart from that ↑ obviously
 
en.wikipedia.org/wiki/BTX_(boot_loader) is the FreeBSD Bootloader
 
@MarcoCeppi can you sanitize and pastebin me your environments.yaml?
 
@rlemon huh, well at least it's doing something.
now you're far enough along to ask a question on unix.se
 
10:05 PM
thats what i'm thinking.. everyone says this is related to unsupported hardware... I went through that doc with a fine tooth comb.. I should be supported.
 
haha, i found waldo! :D
 
hahaha
AWESOME.
 
:D
(isn't that the guy running the PSF?)
 
@htorque I'm in that picture too :P
 
took a while, but found you :P
 
10:09 PM
I miss uds
 
i don't miss remote participation :D
or better call it consumption ;)
 
I have quite a large garden, next uds should be there :P
I'll make tea
that reminds me, I meant to see how my LUG is doing... there were about five people last time they met.
 
uds right in your living room
do you REALLY want that? :D
 
sure! I easly have space for 10 people, even 12 if they bring a couple of chairs
that is to say,
isn't it amazing what UDS looks like compared to LUG meetings in the early 2000s.
where 5 people met and someone showed off his enlightenment desktop
 
and they'd scare other people away :D
 
10:16 PM
when I went to Essen lug a couple of years ago (no longer than that), they kind of looked at me funny for being an ubuntu fanboy
not that they weren't really nice :) but they did use emacs
 
"ubuntu, eh? why no real linux?" :D
 
Oli
I try not to get too involved in vim vs emacs... I prefer gedit and nano :)
 
i use nano. vi(m)/emacs are too scary for me.
ha
 
<3 nano
 
i just fixed a windows xp pc. not sure if i helped that person or sealed its fate...
 
10:19 PM
How did you fix it? I generally install Ubuntu to fix it. :)
 
i don't even have a linux live cd around anymore. :D
only usb and that thing didn't want to boot from it.
but yeah, you are right. i shouldn't call it "fixed".
 
looks pretty awesome actually
 
What is that?
 
yeah that looks like it :D
 
that's my nearest LUG
 
10:22 PM
Ah!
 
"write some bash, buy some art"
while you're there
 
why is there an apple logo on that thinkpad!? blasphemy! :D
 
given the massive beard on the owner's face, it's probably ironic :D
 
0
Q: cual es la mejor distro para hackers ubuntu o fedora

diegoaclaro que me dedico a algunas cosas como auditoria wireless y esas cosas para testear mis routers y esas cosas no es que sea hacker solamante es que asi he leido que le dicen a backtrack y sus herramientas ok. bueno lo que pasa es que estoy aprendiendo a usar esas herramientas y no quiero usar b...

 
10:24 PM
great tag line: "jesus uses linux."
 
close this, its in spanish and compares ubuntu and fedora for hacker attacks
 
looks like this is "what's the best distro if you want to be a hacker, ubuntu or fedora?"
 
"mis routers" - sounds like he's testing his own networks
 
"I clarify that I do to things like wireless auditing and stuff to test my router and stuff"
 
que distro se adapta mejor a las necesidades de un "hacker" ubuntu o fedora
 
10:27 PM
well, that's easy: ubuntu. end of story.
 
"which distro adapts better to a hacker, ubuntu or fedora"
 
:D
 
Oli
@StefanoPalazzo Interesting Python problem for you. An event happens at 0 and 30 minutes past every hour. Given you know the current time, how do you work when the next (not nearest) time will be (as a datetime.datetime.DateTime object)?
 
Oli
Doesn't have to be accurate on seconds - to the nearest couple of minutes would do.
 
10:30 PM
@Oli probably convert the current time to ms since epoch and add 30 minutes, then re-create the datetime object
I don't think you can do any arithmetic with datetime objects, but there is bound to be a module on pypi which does it
 
Oli
@StefanoPalazzo Surely that just gives me now+30 rather than the time of the next event. Say now is 10:40, the return I want is 11:00
 
hang on a sec
 
Oli
You can add things, but you have to use the right objects IIRC
TimeDelta probably what's wanted - but that still leaves you working out what you need to add
 
~=[,,_,,]:3 <-- @RolandTaylor just posted this one nyan cat smiley for gmail chat :D
I'm gonna be using it a lot :D
 
I love everything about /review
 
10:35 PM
nods
 
@Oli something like this?
import time


now = time.gmtime(time.time())
print("curr:", now)

now = time.strftime("%Y %m %d %H %M", now)
now = list(int(i) for i in now.split())


if now[-1] < 30:
    now[-1] = 30
else:
    now[-2] += 1
    now[-1] = 0

now = time.strptime(' '.join(str(i) for i in now), "%Y %m %d %H %M")
print("next:", now)
~:$ python3 test.py
curr: time.struct_time(tm_year=2011, tm_mon=11, tm_mday=23, tm_hour=22, tm_min=36, tm_sec=27, tm_wday=2, tm_yday=327, tm_isdst=0)
next: time.struct_time(tm_year=2011, tm_mon=11, tm_mday=23, tm_hour=23, tm_min=0, tm_sec=0, tm_wday=2, tm_yday=327, tm_isdst=-1)
well now, this'll break as soon as it's midnight
 
umm Yahoo! just recommended that I should upgrade my browser to Internet Explorer 9 WTF??? and gmail flagged it as "important" message
 
i'd go with the ms since epoch approach
 
so rather than adding just minutes, you need to calculate how many minutes to add, then convert to seconds since epoch, add the minutes, and go back to gmtime()
 
i'm too tired for thinking, but shouldn't that work: now + (1800000 - (now modulo 1800000)), then convert it back to a date?
 
Oli
10:42 PM
>>> now = datetime.datetime.now()
>>> now + datetime.timedelta(minutes=30 - (now.minute - 30 if now.minute >= 30 else 0))
datetime.datetime(2011, 11, 23, 23, 0, 26, 848912)
 
I've never had a chance to use timedeltas
import time
import calendar


now = time.gmtime(time.time())
print("curr:", now)

m = int(time.strftime("%M", now))
m = ((30 - m) if m < 30 else (60 - m)) * 60
next = time.gmtime(calendar.timegm(now) + m)

print("next:", next)
bit more complicated then yours :)
 
ok guys question: How do I check a file every minute on terminal for e.g. I've a log file I want to see last few lines of log every few minute how do I do it?
 
Oli
@wisemonkey watch, eg sudo watch -n5 tail -50 /var/log/mylog will show the last 50 lines and update every 5 seconds
 
you could also try "tail -F /var/log/syslog", it'll print stuff as soon as it's appended to the file
 
umm watch <file>.log u mean?
does tail -F keep updating itself?
@Oli okie will try it thanks :)
 
10:48 PM
@wisemonkey it doesn't watch the entire file, it just prints new content as it's appended.
if stuff changes at the top of the file, you'll not see it with "tail -F"
 
ohh ok
 
strike that, it'll print the entire file again
 
Oli
tail -F might be better for logs - watch is probably better for commands where the full output changes (eg watch cat /proc/mdstat or watch ifconfig)
 
ok so tail -F -50 /path/to/log
 
you could sqeeze it through less to to get the best of both worlds
 
10:50 PM
for 50 lines
I don't think -50 is an option but yea tail -F worked
 
it'd be "tail -F -n 50 /var/log/syslog"
 
will copy watch somewhere as well seems useful :)
 
0
A: Wacom Bamboo CTH-670 is not detected

Christer00df device isn't included in the list of supported devices in wacom_wac.c, check the the post: Appendix 3: BambooPT models released October 2011 (DD,DE,DF) - Natty (11.04) or later Instructions in the post are a bit contradictory but I finally have the wacom tablet working after downloading ...

 
ahh -n is the option
 
self-solver for the win!
 
10:52 PM
and if your file changes very quickly, you'll also want "-s 1.0" for 1 second sleeps between updates
 
ohh no its not that fast but nice to know
 
@htorque I don't suppose you're in the mood to modify that ad?
I did like 4 of them already, I am spent
 
mood yeah, but it's midnight :P
can do it tomorrow though
@StefanoPalazzo bah
>>> datetime.fromtimestamp(time.time() + (1800000 - (time.time() % 1800000)))
datetime.datetime(2011, 12, 4, 13, 0)
>>> datetime.fromtimestamp(time.time() + (1800000 - (time.time() % 1800000)))
datetime.datetime(2011, 12, 4, 12, 59, 59, 999999)
>>> datetime.fromtimestamp(time.time() + (1800000 - (time.time() % 1800000)))
datetime.datetime(2011, 12, 4, 13, 0)
>>> datetime.fromtimestamp(time.time() + (1800000 - (time.time() % 1800000)))
datetime.datetime(2011, 12, 4, 12, 59, 59, 999999)
unstable crap
 
@htorque time.time() is a float,
it should be accurate if you int() it before
 
oh
should have looked at that :D
 
10:58 PM
>>> "%.24f" % 0.1
'0.100000000000000005551115'
the number one complaint about python, and it's actually the processor's "fault" ;)
 

« first day (420 days earlier)      last day (4538 days later) »