/srv/irclogs.ubuntu.com/2010/03/14/#kubuntu-devel.txt

jjessedoes the lucid daily not exsit?01:45
ScottKjjesse: It doesn't succeed every day.01:58
jjesseok02:11
nixternalmy docs are all done, just a few more from my resident slackers *cough* jjess and *cough* darkwingduck and *cough* dhillon05:08
nixternalget yo shiznit done already damnit!!!05:08
ScottKDoes kpackagekit still claim to be downloading packages when it's only checking for updates in Lucid (driving me nuts on Karmic)?05:26
shadeslayerRiddell: apparently kde.mk and dh --with-quilt dont go well together in lucid05:34
shadeslayerRiddell: https://launchpad.net/~rohangarg/+archive/kde-extra/+build/1560327/+files/buildlog_ubuntu-lucid-i386.amarok_2.2.90+git20100313-0ubuntu3~ppa1_FAILEDTOBUILD.txt.gz05:35
ScottKshadeslayer: Does the package build-depend on quilt?05:42
ScottKdh: unable to load addon quilt: Can't locate Debian/Debhelper/Sequence/quilt.pm in @INC is usually a sign you're missing quilt out of the build depends.05:43
ScottKThe bit right before it about kde.mk is just a warning.  It's unrelated and didn't cause the build to fail.05:44
shadeslayerhmm05:44
shadeslayerlemme check05:44
shadeslayerScottK: hmm... apparently thats missing in the build deps...05:45
shadeslayerhow very strange05:45
ScottKshadeslayer: A V3 source package should need neither the quilt build-dep nor --with-quilt (I think).  If it's V1, it needs both.05:46
* ScottK is off to bed.05:48
shadeslayerScottK: Version 3 of debhelpher?05:48
shadeslayerScottK: ok bye :)05:49
ScottKSource package format V305:49
shadeslayerScottK: ok i havent looked that up05:49
maconew way of debian packaging05:57
macoi havent exactly learned how to use it yet05:58
macoits only a couple months old05:58
shadeslayer:(06:03
macothe basics havent changed too much, just now it has quilt built in06:12
macoand um apparently tarballs can somehow go inside it06:12
macoand theyre working on a way to put git and bzr insdide06:12
maco*inside06:12
macoand if you apply any patches directly to it, it then generates a dif inside debian/ when you debuild so that the change is findable again later when you go to do merges06:13
=== shadeslayer is now known as shadeslayer_
shadeslayer_maco: hmm06:44
macoer diff inside debian/patches06:45
maconamed debian-changes-$VERSIONNUMBER06:45
=== shadeslayer_ is now known as shadeslayer
=== shadeslayer is now known as shadeslayer_
=== shadeslayer_ is now known as shadeslayer
jussi01mrgh11:50
jussi01somethings borked with karmic... or my setup.11:50
jussi01:(11:50
jussi01kdm wont install11:50
persiaIt's your setup.11:50
jussi01persia: likely :F11:51
* jussi01 plays some more11:51
jussi01sigh11:53
jussi01nope, definately broken packages...12:01
jussi01hrm, had to enable backports to use the PPA. not quite right imho.12:20
shadeslayera lot is borken with karmic...12:51
shadeslayeri guess thats what happens when you enable stuff other than the standard repo12:51
apacheloggerjussi01: the ppa?12:58
apacheloggershadeslayer: karmic works just fine here with backports ppa on12:58
apacheloggerthough I think the graphics driver is crap13:01
apacheloggeras usual13:01
jussi01apachelogger: yeah, the kubuntu PPA. ;)13:01
apacheloggerthere is no kubuntu ppa :P13:01
apacheloggerthere are kubuntu ppas13:02
shadeslayerapachelogger: i tried to install some stuff some weeks ago and i got broken deps all around13:04
shadeslayerdont remember what i tried to install though13:04
apacheloggeryou probably use other ppas too :P13:05
shadeslayerapachelogger: hmm... lets see... chromium ppa and nothing else i think13:05
shadeslayeri use all the kubuntu ppas13:05
* apachelogger makes flash opt in because it is such crappery13:05
shadeslayerexcept the staging and the experimental ones13:06
shadeslayermeh i need to get back to making those C++ questions13:06
shadeslayerany good sites where i can do some research?13:06
apacheloggeranswer #1: forward declaration ftw! :D13:06
apacheloggershadeslayer: what kind of research?13:07
shadeslayerapachelogger: well were having this competition where participants have to code in C++ and upload the answers to codechef.com13:07
shadeslayerthen they compare the answers and we pick the winners13:08
shadeslayerfor the competition i need new C++ questions13:08
shadeslayerwell... new or questions that are not known :P13:08
shadeslayeri just need a direction.... i need a question and then i can code it myself.....13:09
apacheloggerdidnt understand a word :P13:09
apacheloggerwhat is a cpp question?13:09
shadeslayerapachelogger: Working from left-to-right if no digit is exceeded by the digit to its left it is called an increasing number; for example, 22344. Similarly if no digit is exceeded by the digit to its right it is called a decreasing number; for example, 774410 we shall call a positive integer that is neither increasing nor decreasing a “bouncy” number; for example, 155349. How many even numbers below 1000001 are bouncy?13:09
shadeslayerthats a C++ question :D13:10
* apachelogger blinks at the clementine debs13:10
shadeslayerapachelogger: and the answer is : http://paste.ubuntu.com/395087/13:10
apacheloggershadeslayer: that sounds like the stuff we get for excecises in maths :P13:11
shadeslayerapachelogger: well theyre almost like that :D13:11
shadeslayerapachelogger: oh btw is there a way i can make pastebinit always use paste.ubuntu?13:12
apachelogger"create an algorithm that is as economical as possible and defines an n for all prime numbers p<=n"13:12
apacheloggershadeslayer: pasetebinit?13:13
shadeslayer!pastebinit13:13
ubottupastebinit is the command-line equivelent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit13:13
apacheloggernever used it13:13
apacheloggerI dobut it though13:13
shadeslayer:o13:13
apacheloggermost of these tools depend on a server side API13:13
shadeslayerapachelogger: hmm.. i think creating a alias should do it13:13
apacheloggerwhich paste.ubuntu doesnt have AFAIK13:13
apacheloggerbatpaste can paste to paste.ubuntu though13:13
shadeslayerapachelogger: it does :D13:13
shadeslayerapachelogger: i just used pastebinit to make the abovesaid paste13:14
apacheloggerwell then13:14
apacheloggerRTFM :P13:14
shadeslayerl13:14
shadeslayerwth!....13:15
apacheloggerin the name of darth vader!!!!!13:15
apacheloggerme@logos:~/tmp/clementine-0.1$ ls13:15
apachelogger3rdparty  clementine.pro  data  debian  dist  src  TODO13:15
apacheloggerthat is like hell times 213:15
shadeslayermy irssi went bazooka!13:15
apachelogger3rdparty dir + qmake13:15
apacheloggerthat is a total overkill of madness right there13:15
apacheloggerand upstream debian dir too13:15
apacheloggerhell times 313:15
apacheloggerkubotu: identica dent clementine got the most ugly tarball ever!!!!!!13:16
kubotustatus updated13:16
shadeslayerah...13:17
shadeslayerirssi : http://simplest-image-hosting.net/i0-plasma-desktopqz2588-jpg.jpg13:17
shadeslayerapachelogger: can kubotu post my updates too?13:18
apacheloggerkubotu: help identica13:18
kubotuidentica status [nick] => show nick's (or your) status, use 'identica friends status [nick]' to also show the friends' timeline | identica dent [status] => updates your status on identi.ca | identica identify [username] [password] => ties your nick to your identi.ca username and password | identica actions [on|off] => enable/disable denting of actions (/me does ...)13:18
apacheloggershadeslayer: identica identify username password13:18
apacheloggerin a query :P13:18
shadeslayerapachelogger: ofcourse :D13:18
apacheloggershadeslayer: someone did it in here ;)13:19
shadeslayerkubotu: identica posting via kubotu!13:19
kubotuincorrect usage, ask for help using 'kubotu: help identica'13:19
shadeslayeridentica posting via kubotu!13:19
shadeslayerit hates me :)13:20
shadeslayeroh....13:20
apacheloggeridentica dent13:20
shadeslayerkubotu: identica dent posting via kubotu!13:20
kubotustatus updated13:20
apacheloggeror identica update works too I think13:20
shadeslayeryeah it worked :)13:21
shadeslayerok found a way to make it always use ubuntu pastebin :D13:25
shadeslayeroh for 10 mins kubuntu just became the best distro in the world!13:29
shadeslayeri plugged in my mouse and the touchpad was disabled,and when i unplugged it,it was renabled13:30
shadeslayerof course it could have been a system freeze...13:30
Mamarokshadeslayer: ROFL13:37
shadeslayer!find ctype.h13:46
ubottuFile ctype.h found in avr-libc, cl-cffi, clanlib-doc, dietlibc-dev, doc-linux-ja-html (and 86 others)13:46
shadeslayerwhat are the other 86 packages!13:47
shadeslayerhow do i find a file in the packages via the web search?13:55
shadeslayerapt-file update is taking alot of time13:55
apacheloggerNative desktop notifications on Linux (libnotify) and Mac OS X (Growl)14:01
apacheloggerthat is an intersting definition of native linux notifications14:01
apacheloggershadeslayer: packages.ubuntu.com14:02
shadeslayerapachelogger: i just used cctype :P14:03
apacheloggeroh my14:04
apacheloggerqmake--14:04
apacheloggerqmake--14:04
apacheloggerqmake--14:04
apacheloggerkubotu: np14:16
kubotuapachelogger is listening to "Salty Dog" by Flogging Molly [Swagger, 2000] [http://open.spotify.com/track/3YAsRYkaS9jUoMpTmjs0oh] -- see http://www.last.fm/user/apachelogger for more14:16
apachelogger<3 flogging molly14:16
shadeslayerapachelogger: btw suppose i want to convert a integer to hex,is there a function for that?14:23
apacheloggershadeslayer: depends on what you want to do and in what language :P14:25
apacheloggereasiest would be to use atoi or similar with base 1614:26
apacheloggerin cpp there is also a hex keyword14:26
apacheloggerat least when working with cout14:26
apacheloggerkubotu: google c++ convert integer to hex14:26
kubotuResults for c++ convert integer to hex: 1. C++ Notes: Bit Ops - Convert to hex: http://www.fredosaurus.com/notes-cpp/expressions/bitopsex.html | 2. convert int to hexadecimal - C++: http://www.daniweb.com/forums/thread103004.html | 3. decimal to hexadecimal - C#: http://www.daniweb.com/forums/thread164086.html14:26
shadeslayerhmm14:27
shadeslayerapachelogger: i think that should be itoa14:27
shadeslayerQ1.CPP:28: error: ‘itoa’ was not declared in this scope14:29
shadeslayerhmm14:29
apacheloggershadeslayer: ah, true :D14:30
apacheloggerdunno if itoa is available for cpp14:30
apacheloggerotherwise try sprintf14:30
apacheloggerthat is in cstdio14:30
shadeslayerapachelogger: sprintf(output,"%x",input) ?14:31
apacheloggershadeslayer: yes14:31
shadeslayerapachelogger: can ouput be a character array?14:32
apacheloggerneeds to be14:33
apacheloggerwith appropriate size14:33
apacheloggersprintf does not reallocate14:33
shadeslayerhmm14:34
shadeslayerok14:34
apacheloggershadeslayer: so, if the number can be very long it might be worth writing a function calculating the length of the resulting hex value14:35
apacheloggerthen create a char* with size+114:35
apacheloggerand then run sprintf14:35
shadeslayeryeah.. im doing that14:36
shadeslayerhow should i can get the lenght with strlen()14:36
apacheloggershadeslayer: the length of what?14:36
apacheloggershadeslayer: I would just count iterations as the calc functions recurses14:37
apacheloggerThere is no need to actually create the hex yourself!14:37
apacheloggerYour function just east the integer and calculates how many characters the hex value will have.14:38
shadeslayereh?14:38
apacheloggerTthen you create a fixed-size char* and fill it using sprintf.14:38
apacheloggershadeslayer: what do you want to do with strlen?14:38
shadeslayerapachelogger: oh nvm14:39
shadeslayerim all confuzled14:39
apachelogger^^14:40
shadeslayerapachelogger: i know :D14:40
apacheloggershadeslayer: Can I help with unconfusing you?14:40
shadeslayerapachelogger: nah.. im at this for 4 hours...need a break14:41
=== shadeslayer is now known as shadeslayer_
shadeslayer_apachelogger: btw im assuming sprintf(output,"%x",input); assigns each bit of the hex value to one element of the array14:45
apacheloggershadeslayer_: of course, otherwise it wouldnt make up a string :)14:46
shadeslayer_like if the input is 23 and the hex is 17,then output[0]=1.output[1]=714:46
shadeslayer_then i have no idea why : http://paste.ubuntu.com/395128/ : isnt working14:46
shadeslayer_It worked!14:47
* shadeslayer_ dances like mad14:47
shadeslayer_http://paste.ubuntu.com/395130/14:47
shadeslayer_had to add the 65 to get correct ascii values :P14:47
apacheloggererm14:48
apacheloggerthat doesnt look good14:48
apacheloggerfor clearity's sake: ouput[0]='1', output[1]='7', output[2]='\0'14:49
shadeslayer_yeah i need to add a few checks so that values dont go above the ascii value of 'z'14:51
apacheloggershadeslayer_: no I mean there is more stuff wrong with it15:01
apacheloggershadeslayer_: for one that 65 is just wrong15:02
apacheloggershadeslayer_: for another the way you iterate over the char* is also just wrong15:02
shadeslayer_apachelogger: why?15:02
apacheloggersee above15:02
apacheloggerthe strlen is completely useless15:02
apacheloggeryou should just iterate until you hit15:03
apachelogger\015:03
shadeslayer_apachelogger: yeah so if the number is 23,i add 65+23=88=X15:03
shadeslayer_the hex is 2315:03
Sputy'all should just go and use Qt...15:03
apacheloggerI do not get the point of that15:03
apacheloggerSput: +1 on that15:03
shadeslayer_apachelogger: i just want to print ascii alphabets....15:04
shadeslayer_A-Z and a-z15:04
shadeslayer_apachelogger: http://paste.ubuntu.com/395140/15:04
shadeslayer_a more updated version15:04
shadeslayer_im still working on it though15:05
apacheloggerI still dont get it15:05
apacheloggerwhy do you convert to hex to begin with?15:05
shtylmanshadeslayer_: what is happening in that paste?15:06
shtylmanshadeslayer_: what is it that you are trying to actually do?15:06
shadeslayer_1) Convert int to hex15:07
shadeslayer_2) Print out the letters in hex : ABCDEF15:07
shadeslayer_(for eg. if its 23B it prints out B)15:08
shadeslayer_3)Convert remaining part ( 2 and 3 ) to ascii letters A-Z or a-z15:08
shadeslayer_4)print remaining ascii : 65+2=67=C15:09
shadeslayer_and D15:09
apacheloggerOo15:09
apacheloggerthat gives me a headache15:09
shtylmanwhat?15:09
* apachelogger goes back to doing useful stuff15:09
shadeslayer_ok ill bbl15:09
shadeslayer_i need to go15:09
macohuh?? why would you...?15:11
apacheloggercodechef.com competition I assume15:12
shtylmanapachelogger: I don't assume that... im very much lost by what he is trying to do or what input he expects...15:12
shtylmanI think he wants an input string in hex15:13
shtylmanand then for every number print the alpha for that number15:13
shtylmanand for every letter, just print the letter15:13
apachelogger*shrug*15:14
apacheloggerthat code so needs comments :P15:14
Mamarokholy crap, is some kubuntu-de ops around?15:22
Mamarokthere is no floodbot15:22
Mamarokplease somebody mute that crap15:23
shtylmanapachelogger: http://paste.ubuntu.com/395143/15:23
shtylmanim pretty sure that does the same thing15:23
shtylmanas he intends... if I understood his "steps"15:23
=== mgraesslin_ is now known as mgraesslin
Sputseriously... he's using C++, why does he still use a C array?15:33
Sputthat's a bad habit that newbies shouldn't be taught at all15:33
shtylmanyea... I dunno15:34
shtylmanand sprintf15:34
Sputyeah15:34
shtylmannot even snprintf15:34
shtylmanwell.. you live and learn I suppose15:34
Mamarokhm, I didn't upgrade in a few days, why do I get a badsig now for the Kubuntu PPAs?15:55
Mamarokdid the key change?15:55
Mamarokapachelogger: ^^16:09
apacheloggermaybe you are obtaining form a man in the middle? :/16:10
apacheloggerMamarok: wouldnt know about any key changes16:10
Mamarokwhut?16:10
=== yofel_ is now known as yofel
shadeslayerapachelogger: http://paste.ubuntu.com/395217/18:33
shadeslayershtylman: ^^18:35
shadeslayermeh... wrong paste18:36
shadeslayerhttp://paste.ubuntu.com/395220/18:36
shadeslayeralthough as apachelogger said,the strlen is not needed18:36
shadeslayeri have all sorts of weird stuff installed : http://paste.ubuntu.com/395243/ : ati drivers? i have a nvidia card!19:17
shadeslayerusb-creator-gtk.... where did that come from19:18
markeygah19:22
shadeslayermarkey: ??19:22
markeyX crashed again19:22
shadeslayermarkey: ah lucid :)19:22
markeysomething is fishy with that new Nvidia driver...19:22
markeyno19:22
markey9.10, with backports19:22
shadeslayermarkey: on karmic? 0_019:22
markeybut since that kernel upgrade, X got very unstable19:22
markey(from backports)19:22
markeycrashes about twice per week19:22
shadeslayermarkey: which kernel? and i have the 195.X series drivers19:23
markeyit never crashed before, with Karmic19:23
markeyhm19:23
markeylemme check19:23
shadeslayerwell i would suggest the 195 series..its awesome19:23
markeyLinux version 2.6.31-20-generic (buildd@yellow) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) ) #57-Ubuntu SMP Mon Feb 8 09:02:26 UTC 201019:23
shadeslayernever crashed19:23
markeywell I'm using 19519:23
markeycrashes19:23
Sputwow, yo like retro computing, markey?19:24
markeysee, the drivers are different for different GPUs19:24
markeythey are not exactly the same19:24
SputLinux axion 2.6.33-51654-g6070a4a #49 SMP PREEMPT Sun Mar 7 20:09:34 CET 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz GenuineIntel GNU/Linux19:24
markeyso that bug might not affect all systems19:24
shadeslayermarkey:  *** 195.36.03-0ubuntu1~karmic~nvidiavdpauppa2 019:24
shadeslayermarkey: and how do you get the gcc version in the kernel version?19:24
markeySput: well that's the latest that Kubuntu has19:24
Sputmarkey: ah, you like retro computing then19:24
markeyshadeslayer: less /proc/version19:24
shadeslayermarkey: and how do you get the gcc version in the kernel version? ( in case you didnt get the earlier message )19:25
markeySput: not all that much, actually ;)19:25
markeyshadeslayer: less /proc/version19:25
shadeslayerah ok19:25
shadeslayergot disconnected for a few secs19:25
shadeslayermarkey: which card?19:26
markeysuper old 720019:26
markeystill, the thing works fine for desktop usag19:27
markey+e19:27
markeyI don't do gaming19:27
shadeslayerhmm i have a 8600 MGT19:27
markeyyeah19:27
markeythey are very different19:27
shadeslayeryep19:27
markeyso the code paths are different too19:27
shadeslayeryour crashes while mine does not :P19:27
shadeslayer+X19:27
markeywell, I noticed it crashes in particular situations19:28
markeymostly when clicking on Amarok "Local Collection" thing19:28
markeynot sure why19:28
markeybut it can't be Amarok to blame19:28
shadeslayerok ive gtg.. :)19:28
shadeslayerbye19:28
markeycya19:28
Quintasandamn you snow19:56
Quintasandamn you19:56
QuintasanI was about to go skateboarding19:56
Trouble_Quintasan: Rip your wheels off and go snowboarding!20:02
QuintasanI've done that this year20:03
QuintasanAnd now I just screwd my trucks back20:03
Quintasanand it snows @_@20:03
Quintasanfukou da20:04
sevenseekergood afternoon folks, I am trying to install python-qwt5-qt4 and having a dep problem22:32
sevenseekerit has a requisite of >= 4.9 of python-sip4, but python-sip4==4.10 is installed22:32
sevenseekerthere was an api and abi change in the changelog so can I just rebuild pythonqwt5 with the newer sip4 package?22:33
sevenseekerbeuller23:16
sevenseeker?23:16
sevenseeker:)23:16
JontheEchidnasevenseeker: A rebuild will do the trick23:18
sevenseekerJontheEchidna, thank you :)23:18
JontheEchidnaIf nobody gets to it before I get home, I'll test if the rebuild works and throw it up to the main archives23:21
=== jonathan_ is now known as jjesse

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!