« first day (189 days earlier)      last day (4763 days later) » 

12:04 AM
Hello everyone
anybody tried 11.04 beta and if yes, how was the startup speed and how the the performance feel in comparison to 10.10
 
What exactly is a "lens"? http://bit.ly/i7D05T #unity
 
@AskUbuntuTwitter <3
 
12:40 AM
Aha!
> "Error writing 5677056 bytes at 3416145920 to /dev/sdc: Input/output error"
We'll see if it comes up in the same place.
 
it could be that the drive is failing
 
@RolandTaylor It's brand new :P
 
it happened to me too :P with a 4gb drive
 
This is a 32GB drive :P
 
 
2 hours later…
3:12 AM
Will changing password re-encrypt my home directory? http://bit.ly/gqnqNz #encryption
 
3:33 AM
Some good questions from @AskUbuntuTwitter
 
Really? I just found it annoying.
 
I don't like the feed - but at least it's not posting stupid things
 
That's true.
 
@StefanoPalazzo around?
 
@MarcoCeppi sure
'sup? :-)
 
3:50 AM
I've procrastinated until the last minute and I'm writing that silly thing that prints everyone's flair onto a wearable badge.
So I'm using a modified version of the python script you made back in January
 
Does anyone know how to get the size of a disk device given its device file?
For example, given /dev/sda, how can I tell the size of the device?
(In bytes.)
 
@MarcoCeppi which script is that?
 
But I suck SO hard at SVG manipulation. How do you make json objects in Python?
Version 0.3-7-2011-01-03
 
what's that version number?
Oh I seecos(0)
 
Actually - I think I'm just going to use stack.PHP and try to lay this out on a web page which I can print.
I'm really not sure how to best lay this out
which is Fast and Easy :\
 
3:54 AM
I can help!
 
@MarcoCeppi it's much easier than you probably think, I've used SVGs to make this:
 
>>> import json
>>> json.dumps({'key': 'value', })
'{"key": "value"}'
 
Then no matter which module you're using, you just access it with json.
 
@StefanoPalazzo So you're saying - using SVG I can embed PNGs or JPGs?
Because I need that for the badges, site icons, and user avatars
 
3:57 AM
@Marco: Do you need help with the API part?
 
No, it's not the API. That's the easy part.
 
@MarcoCeppi uhm, I think you can - yes, not sure how though. But it's probably a good idea to use a combination of SVGs and raster images via the python imaging library, instead of mixing them
 
It's getting the data to the SVG then the SVG to the printer
 
firstly, create an SVG with text objects (in inkscape or whatever), for the name, put something unique like {name}, then you can use string.replace() to fill in the name
then render the image (with cairo or inkscape), and overlay the png for the avatar via PIL
 
@MarcoCeppi Oh... so it's the SVG part that's the problem?
 
4:00 AM
woohooo
@MarcoCeppi I'm in DC
 
@MarcoCeppi you can just refer some of the work to me, if that helps, I have some time
 
@lazyPower Welcome!
 
This hotel is insane
 
nice!
 
haha :D I dig it tho. very beautiful city so far
 
4:04 AM
You picked a great time - it's going to be really nice out tomorrow
 
I hope, i drove through snow in donnegal to get here
i mean, really? snow thats sticking? in april?
 
Oh yeah... tomorrow's that big meetup.
 
<image
y="138.36218"
x="-814"
id="image3018"
xlink:href="file:///home/stefano/avatar.png"
height="73"
width="73" />
↑ this is better, it's linking an image instead of embedding in, no need to learn PIL after all :-)
 
Nice Stef!
 
after you've created the SVG, open it up in a text editor and replace the link with:

xlink:href="http://www.gravatar.com/avatar/{email-hash}?s=128&amp;d=identicon&amp;r=PG"
(note the &amp;)
 
4:12 AM
@StefanoPalazzo <3
Working on getting the printer setup first. Need to get it working on my desktop then on the netbook for "printing on demand"
 
hey check this out
import urllib, gzip, cStringIO, json

def get_api_data(query):
    url = "http://api.askubuntu.com/1.1/" + query
    response = urllib.urlopen(url).read()
    return json.load(gzip.GzipFile(fileobj=
        cStringIO.StringIO(response)))

def get_user(i):
    return get_api_data("users/%d" % i)['users'][0]

users = [1067, ]

for i in users:
    svg, user = open("template.svg").read() , get_user(i)
    svg = svg.replace("{name}", user['display_name'])
    svg = svg.replace("{email_hash}", user['email_hash'])
svg is so awesome
and you can hack up the dirtiest, most miserable xml in inkscape, it'll still work. Just like in the good old days :P
 
wonders what template.svg looks like
 
That's how scripts used to generate PDFs... :)
They'd use a template with special values that'd get replaced by the script.
 
@MarcoCeppi I'm an artist :PPP
 
@StefanoPalazzo haha, nice
 
4:20 AM
I just needed to get in there and change the URL of the image, afterwards, inkscape replaces it with a helpful [not found] image, and you can keep editing
 
I'm going to use your Python script as a start
I really want to "theme" each badge like the primary site. but that might not happen
 
you could use different templates
 
What I'm going to try and do is show a 16x16 icon in the bottom right corner of the avatar which is the sites icon
 
nasty, nasty hacks
 
instead of having to codify 30 something templates
 
4:23 AM
@MarcoCeppi you should, by the way, render the image to an SVG with inkscape before you print, in case something gets confused about fonts or whatever, the command for that is inkscape -z -f=file.svg -e=out.png (I think). -z means no-gui.
@ajmitch It's not so bad, is it? certainly less error-prone than generating the xml yourself
 
@StefanoPalazzo you haven't seen the things I do to create excel files from a gnumeric template ;)
python's ElementTree is win
 
str.replace()is our friend (:
@ajmitch heh
 
yeah, the things I have to do go way beyond what str.replace() would do
stuff like adding new xml nodes & rewriting a whole bunch of them to set styles
 
@ajmitch I have this habit of just writing a parser as soon as str.replace doesn't do anymore
but never for anything xml-like
 
of course gnumeric had to have attributes of an XML element be in a specific order...
so I had to mangle & resort stuff before calling ssconvert to turn it into .xls
 
4:28 AM
@Marco: I can create a themed document for you.
What dimensions do you need?
 
@GeorgeEdison Themed document?
 
You mentioned you wanted it themed after the site.
7 mins ago, by Marco Ceppi
I really want to "theme" each badge like the primary site. but that might not happen
 
paste.ubuntu.com/590042 check out my latest play thing :-)
immense props to anyone who can write a substantial program for it
 
That's an assembler... in Python?
It assembles to x86, I assume?
 
@StefanoPalazzo shouldn't be hard, I've done stuff with an 8-bit microcontroller before :)
 
4:31 AM
@GeorgeEdison no, it's a CPU, and an assember for that cpu
 
@ajmitch I started writing a compiler that actually did generate x86 machine code...
...but it's not done yet :P
 
@ajmitch Nice. as you can plainly see, I haven't :P
I'll be writing a basic for it today I think, see how that goes
 
I need someone who understands the ELF binary format to help me.
 
@StefanoPalazzo no stack?
 
Good point.
 
4:33 AM
nope, just two registers. I wanted to keep the instruction set as small as possible, but make it extensible
I have a feeling I'll be adding a stack once I try to implement functions in the basic language, but not if I don't have to
 
looks like 1 accessible register & a program counter
 
Are you going to add interrupts?
 
heh
 
0
Q: How to get size of a block special file?

George EdisonI need to be able to determine the size of a block special file. For example, given /dev/sda, I need a command that will provide the size of the device. (By size I mean capacity, since this is a storage device.) Rationale: I can store information in the device with: echo "12345" >/dev/sda ...

 
@ajmitch it more of an accumulator than a register, if it were hardware, it'd probably be part of the ALU
 
4:34 AM
@StefanoPalazzo add a few registers, make a basic C compiler for it :)
 
@GeorgeEdison I'm not sure, at the moment I'm using input() and print() for I/O, but I thought of making a GUI with switches and lights, like a PDP8
 
holy crap you guys are way advanced if you're talking about outputting assembler
 
@StefanoPalazzo Wow... that would be cool.
I would consider writing something for it if it had lights that I could make blink :P
@lazyPower Assembler isn't bad. Machine code... now that's bad.
 
Well, my machine code is pretty readable :-) Just 10 instructions!
 
machine code isn't bad
 
4:38 AM
I spent the last couple hours writing a utility that writes data to a block device and then reads it back:
 
http://paste.ubuntu.com/590046/ this is the program that counts to ten
not quite human readable, but you can get your head around it if you must
 
Finally got the printer setup. Backs away from compiler talk I can't get tempted into this conversation just yet.
 
@GeorgeEdison looks worrying :)
 
Not bad for a couple hours in Qt, eh?
@ajmitch I'm not sure I've done it right...
 
@GeorgeEdison wow nice!
 
4:40 AM
@MarcoCeppi dive in, you'd know more about compilers than I would :P
 
I need to get everything for the meetup done first :P
 
Wow! You guys would be perfect help for me on the 7Basic project.
 
at the moment I'm just trying to get stuff done for work before I even consider other stuff :)
 
@GeorgeEdison what's the idea of 7basic?
 
@StefanoPalazzo that counts to 10?
@StefanoPalazzo looks like a bunch of hex or octal to me
 
4:47 AM
@lazyPower that's what your computer does .-)
 
Interesting.... i must have missed that day in lecture
 
at least we don't have to deal with 64k memory segments anymore :P
 
if you look at the code (the *computer*), there are things like this in it:

def adder(a, b, c):
return (a ^ b ^ c), ((a & b) + (c & (a ^ b)))
which could also look like this:
(that is awesome, here's the source: kybernetikos.com/2007/03/01/domino-computation)
 
Thats interesting stef
some serious math
but interesting none the less
why's the binary math done in reverse tho?
 
is it?
 
4:57 AM
Here’s the longhand calculation for the decimal sum 574 + 927 = 1501

4 + 7 = 1 (carry 1)
7 + 2 + 1 (carried) = 0 (carry 1)
5 + 9 + 1 (carried) = 5 (carry 1)
0 + 0 + 1 (carried) = 1
 
some systems switch it round (that's called little endian vs. big endian)
 
he shows the long hand calculation, yet the answer is printed in reverse order
ah ok, i always wondered. I've heard the term but never knew the difference.
 
@lazyPower like, 0010 is two if it's little endian (i.e. 8 4 2 1), or 4 if it's big endian (1 2 4 8)
 
interesting.
why would they swap the sequence?
just to be a pain?
i learned the number line running lest to greatest, read right to left
 
People did it to save chips, some algorithms can be implemented with less transistors if you're using one or the other
 
5:00 AM
128 64 32 16 8 4 2 1
i see. so it was more of an application specific solution.
 
yeah that's how I prefer my numbers too
@lazyPower yes, hardware engineers hate software engineers :P
there's even some chips with give you something completely different, binary coded decimal.
 
ungggg
foo on it, lets make our own numbering schema using base 7
 
there, you have a number represented by the decimal digits in binary form, little endian or big endian, to add to the confusion, so ten would be 1010 0000
 
we'll make it like an 8 bit system only, minus the color red and market an off-colored pacman with it
 
heh
too late though, there are plenty of computers with 7 bit words
 
5:03 AM
uhmmm
1010 0000
= 10?
 
or 39 or something crazy like that
 
in decimal binary
 
@lazyPower sorry I'm confused, that's wrong
 
that, makes zero sense
 
it's "0001 0000"
 
5:04 AM
ok, that makes me feel better
its slightly more understandable
 
this is a big waste, since there is no use for all of the numbers greater than 1001 (9). But there are some efficient algorithms for division and things, some people use it in microcontrollers
uh I just noticed it's night in DC
 
yessir, 1:09 am
morning @KaustubhP
 
I think I'm going to take a half day tomorrow
 
when does the meet up kick off?
 
@lazyPower wow, good morning to you too!
 
5:10 AM
@MarcoCeppi where we going for lunch? :P
 
@StefanoPalazzo 7PM
 
@MarcoCeppi @StefanoPalazzo good morning :)
 
morning @KaustubhP :-)
@MarcoCeppi heh, half day seems like a sound idea :-)
 
are y'all in DC?
 
@KaustubhP i just arrived about 2 hours ago.
 
5:13 AM
@lazyPower thats a yes, then?
:p
 
@KaustubhP i just arrived, marco lives here, and i have no idea who else is in DC :)
 
I'm still in good old europe, enjoying dutch coffee and french breakfast, paid for with funny looking currency :PP
 
I want some currency... period. :D
 
@Stefano: Sorry... launchpad.net/7basic
Didn't get a chance to reply to you until now.
 
@lazyPower me too! waits for payday
 
5:15 AM
@GeorgeEdison Nice project goal
 
It's come a long way.
 
@GeorgeEdison I'll grep it later, it seems interesting
 
It generates x86 assembly for Linux in its current state.
 
will I be able to understand the code?
 
I don't know... hopefully.
It's written in straight C++.
 
5:17 AM
Oh my lord
that's some source code you have there
I thought it was a small project :D
 
I spent a lot of time on it last year.
Most of the good stuff is in CParser.cpp and CELFOutput.cpp.
 
I'll be looking at it. Even though I don't know C++, it's right up my street
 
I really need someone who understands relocations in the ELF format to help me understand how that works.
Then I can write the machine code generating module.
 
subjective, and speculation based.
</end my 2 cents>
@ajmitch Holy shaz NZ? I'd love to come visit NZ.. but i cant afford the air-fare just yet. Give me a year or two at my job and i should be able to swing some out of country travel
 
5:35 AM
gotta go back to work, see ya at lunch!
 
This SVG thing really isn't working :\ I think I'm just going to resort to a quick php hack
 
5:51 AM
@RolandTaylor - I'm ripping your stuff. I've used the "Your argument is invalid, watermelon cat has spoken" line at least a dozen times now.
 
There's something I can't figure out...
If I write to a block device, seek to 0, and try to read it back, I don't get the same thing.
 
Quick question, how to add a podcast to rhythmbox/exaile?
 
@lazyPower slightly delayed response? :)
 
6:06 AM
Night all.
 
i used to be able to right click on a debian package and then click on "install with debian package manager" or something like that
now it's not showing up
 
How can I update Google Chrome? http://bit.ly/iaNHPw #softwarecenter
 
good morning all
@JoshuaRobison gdebi
is not installed by default - we now have the Software Center
 
@Takkat ahh that's right it's gdebi. I forgot. I installed that a while back. thanks. I'm taking notes this time of everything I install and how etc. when I install a new system
 
6:22 AM
@JoshuaRobison taking notes won't help - I tend to forget where I put them :P
 
@Takkat hey now, thanks for the encouragement :p
lol
 
... and there is always something missing in these notes :D
 
Hi @KaustubhP
I am not so much into podcasts. Looks as if they want you to run iTunes for these :/
 
Yeah, me neither. This is the first time I am coming into contact with podcasts.
tried with gpodder, but no luck.
 
6:28 AM
I tend to avoid all Apple stuff lately
hate to see it not supported outside the closed Mac environment
I lie.
Still have an Airport Express for audio streaming :P
is also not well supported :(
 
Yay! Payday! ₹++
 
6:52 AM
@Takkat I just use extension cables ^_^
 
@KaustubhP yeah that's the best way. Unfortunately this is not possible with my home. I'd need to hide approx. 20m cables from the kids ;)
 
lol, nothing can be made kid proof :p
 
@KaustubhP hehe - my son broke 3 printers in one year when he was 2
 
7:09 AM
what's the difference between suspend and hybernate O_o
 
@JoshuaRobison suspend = RAM, hibernate = disk
 
@Takkat haha. 3?
gosh!
 
@KaustubhP yeah. Only stopped when we installed a wireless printer on top of the cupboard :)
Now the PC strikes back.
Tries to break son with ego shooters.
No chance: son is stronger :D
(with the help of dad)
 
lol!
on top of the cupboard. I imagined a lonely printer, spewing out page after page, and a confused kid thinking its raining pages ;)
 
lol
from my favourite movie
 
7:35 AM
@Takkat thanks takkat, I really appreciate your help all the time. You should be paid for what you do.
 
@JoshuaRobison I am prohibitively expensive that's why I don't get paid :P
 
morning
is sad
 
morning @OctavianDamiean
why sad?
 
has no irccloud.com account :(
 
7:47 AM
here's my reason for sadness: I always thought it's next week when my easter break starts - to find out today that it's one more week to go :'''(
@OctavianDamiean what will be their pricing after beta?
 
@Takkat oh that'd make me sad too
@Takkat there will be a free version and I think three paid versions
I'm gonna pay :)
 
Oli
8:21 AM
@OctavianDamiean Why is that saddening? Why would anybody want to run a IRC client in their browser? I'd pay money to access stackexchange chat out of a browser.
 
@Oli well at work I have no choice but I agree with you, I'd also give my pants to be able to access this chat without a browser
 
avant window navigator is nice but some applications can not be launched/attached to it. Like inkscape.
 
can't comment on awn - never used it. Some time ago I had fancy motley Cairo Dock installed. Now it's a clean Docky because of it's close resemblance to the Unity launcher (still on 10.04 here).
 
8:39 AM
oh it is official now? UDS-P is in Orlando again?
 
@Takkat found the answer. Open /usr/share/applications and drag apps from there.
 
9:06 AM
@JoshuaRobison drag & drop is always a good option ;)
 
hey. who knew linux applications would all be stored in a folder called applications O_o
i thought it was supposed to be a little more complicated than that. like packages or computer assisting software utilities CASUs
 
The Filesystem Hierarchy Standard (FHS) defines the main directories and their contents in Linux operating systems. For the most part, it is a formalization and extension of the traditional BSD filesystem hierarchy. The FHS is maintained by the Linux Foundation, a non-profit organization consisting of major software and hardware vendors, such as HP, Red Hat, IBM and Dell. The current version is 2.3, announced on 29 January 2004. Overview Most Linux distributions follow the FHS and declare it their own policy to maintain FHS compliance. However, the vast majority (as of 2009) of distri...
So good we have this!
 
making any key into a modifier key http://bit.ly/fTAB5y #xmodmap
 
9:21 AM
awesome discussion!
6
Q: Should we require minimum reputation to continue asking questions?

Jeff AtwoodBased on the discussion at Should we cap reputation gained from questions at +2000? We decided to go in a different direction. This is the new proposal. After your first 10 questions, it will require 100 more reputation to ask every additional 10 questions. If you do not meet this reputation...

@JoshuaRobison it is a bit more complicated than that actually. Think of those files in the application directory as some kind of shortcuts
 
Oli
10:20 AM
@OctavianDamiean Thanks for posting that. I've just had my rant.
0
A: Should we require minimum reputation to continue asking questions?

OliTo know how valuable such a proposal is we really need to know how big the problem is. How many single users are starting accounts and blitzing out crappy questions? I'll tell you what I see. My experience is twofold. StackOverflow I'm "just a user" on SO. ~20k points from answering things and...

 
10:47 AM
Hello
 
Oli
@oshirowanen Hi!
 
@Oli I'm looking for a mobile broadband solution for my laptop which has ubuntu as the os. Would you be able to help me find a good solution?
 
Oli
@oshirowanen The trick to that is finding yourself a nice 3G modem that "just works". There are several but there isn't a list as far as I know. Something like a Huawei e169 is reported to work very well and doesn't cost a lot.
If you're looking at it via providers (eg your telco supplies the modem) things get confusing fast as it's often hard to find out in advance exactly what hardware they'll give you. I'd just buy the sim/tariff from them and buy my own modem.
But if you have to go via the telco and do manage to find the make and model of modem, stick it in google along with "ubuntu" and you'll probably find a few posts explaining if it works and/or what you have to do to get it to work.
 
@Oli I was more thinking towards a pcmcia card. Would this not be more compatible? justop.com/catalog/mini-pci-e-cards/3g-hsdpa-wwan/…
btw, I am in the UK.
 
Oli
11:05 AM
@oshirowanen Pass. I can see people having problems with them and I can see people posting solutions... But I don't know what the current status is.
But this does seem to cater for that card: pharscape.org/component/option,com_forum/Itemid,68
 
11:23 AM
@Oli yw. To be honest I think your proposal might work, it is worth a try imo.
oh Jeff actually meant that it is implemented ... didn't get it the first time. Hmm. :/
 
Oli
@OctavianDamiean His comment was from before my edit, he may be talking about another method they use... Not sure. Asked for clarification.
 
What is the record of how many different countries that are represented here?
At the same time
 
Oli
@Alvar I don't know that there is a record of things like that
 
There must be ;)
But it wouldn't be that hard to set up really..
 
Oli
@Alvar I'm sure it's possible for somebody with the logfiles to do - but we don't have those.
 
11:38 AM
True but it would be fun to see like a highscore ;)
 
Oli
I'd suspect it's US, UK then the rest of the world... But I have no scientific basis for that.
 
@Oli and India big time!
 
@Oli Thanks for the help. Looking into it.
Anyone used unity on 11.04?
or on 10.10?
 
@ajmitch slightly. I wasnt paying attention ;)
morning everyone
 
afternoon.
Anyone know how to open mulitple instances of any given application using unity/
I can't figure out how to minimise all apps too, to show the desktop?
 
11:56 AM
I guess that the us and germany is top 3
 
Sid
I just read that Ubuntu free CD program (shipit) has been killed.
 
@oshirowanen to open another instance of an already running application just click with the third mouse button
 
Sid
@OctavianDamiean Have ya tried Ubuntu 11,04 beta, mate?
 
@Sid of course
 
Sid
How's it holdin' up?
 
12:04 PM
@OctavianDamiean Nice! However, it does not work if I third button click on chromium...
@OctavianDamiean And also, what happens if you don't have a third button on your mouse?
 
@Sid well I can't tell anything special, other than the improvements
 
Sid
@OctavianDamiean Thanks, I'll try it this weekend then. G'day. :)
 
@oshirowanen I'm not at home right now, can't tell how to do it without the third mouse button but I'll look into it and get back to you
 
@OctavianDamiean Thanks, how about the show desktop button? What happened to that? Or where it is?
 
@oshirowanen that question came up already, let me find it
5
A: Is there a Unity equivalent of the GNOME panel 'show desktop' applet?

htorqueOnly a workaround: Install xdotools Create a file ~/.local/share/applications/show-desktop.desktop Paste the following into that file: [Desktop Entry] Name=Show Desktop Exec=xdotool key --delay 300 super+d Icon=desktop Terminal=false Type=Application StartupNotify=true Make the file executabl...

however Super + D should be easier :)
 
12:13 PM
openssh ubuntu install http://bit.ly/hfnrlp #compiling
 
O.o
 
12:51 PM
@Oli It's Ask Ubuntu
 
good morning/afternoon :-)
 
Oli
@MarcoCeppi I can try to type it differently but in the heat of things it's always going to come out as AskUbuntu :(
 

« first day (189 days earlier)      last day (4763 days later) »