@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21



Comments:

<0> Leeds: !
<1> jay`: I'll probably be dumping to current code. My main thing is finding a good editor.
<2> Jerub: i shoulda bought more shares :(
<3> cybercobra: yes?
<4> cshaman: apache will stream an mp3 to winamp or itunes just fine. i think streaming as fast as the client accepts it will be fine
<0> Leeds: i don't think he meant a blog
<4> now if you are trying to keep multiple clients in sync, good luck
<5> joedj: live and learn.
<3> cshaman: to stream an X kbit file, you need to send X kbits per second over the network
<5> joedj: I can't wait till this place gets big enough to go public.
<1> jay`: s/to/the/
<3> cybercobra: I was trying to (subtly) point out that the question was vague enough that there could be lots and lots of answers, most of which would be useless to him
<3> cshaman: on average, that is, ***uming whatever is at the client end does buffering
<0> Leeds: oh. good point
<6> cfh_dev: i'd look into glade too. it just seems smarter when it comes to widget layout. i just thought wx was really clunky with all this id, parent, frames, sizers, etc. etc. stuff *shrugs*
<1> jay`: I agree with you on the chunkiness. I'll check into glade. Thanks



<7> is there anything else i can use?
<7> nvm i'll take a look at mod_python
<8> hey, wx stuff, version mismatch... http://pastebin.com/766604
<3> squiggly: don't look at mod_python
<7> why not
<0> squiggly: too low-level
<7> well, its not as if pyblosxom has documentation as to how to install it
<4> just install zope (from installer package) and run it, login and add a python method ;)
<0> joe_k: zope? yech
<4> zope works great, but i haven't kept up with it
<4> zope 3 is different
<7> i don't know what zope is or how to run it
<7> shrug
<4> http://zope.org
<7> what a waste of time
<4> sheesh
<9> yeah I would recommed except for very specific use-cases zope
<9> *wouldn't
<9> errr wtf "I wouldn't recommend zope..."
<10> is there an equivelant of php's .= syntax to add a string eg >> $string .= 'add extra string' << ? ot do i have to do str = str + 'add this' ?
<9> += should work
<10> teratorn: lovely ..ta
<3> squiggly: so what you're saying is that you only want to use something you already know how to install and develop for?
<7> no, its just too much work to install a bunch of packages
<3> ah! so you only want to use something you've already got installed?
<4> its a single installer if you are on windows
<11> i have a question about coroutines
<12> how do i get a string like '\x07\xff\xc8\xf4\x00\x01\xf6\x0f' to display using octal escape characters
<11> would it be possible to convert code that uses blocking calls on-the-fly to a coroutine-based function?
<0> ropoctl: ''.join([oct(ord(char)) for char in astr])
<12> thx
<11> it would make programming with Twisted a lot simpler, for sure
<0> ropoctl: though that might need a bit of tweaking
<12> so no builtin way in other words thx
<11> calling somesocket.read() would end up yielding to the caller
<0> j4cbo: coroutines don't exist in vanilla python yet, fyi
<11> cybercobra: well yeah, this would have to be in 2.5
<11> ropoctl: does repr() do what you want?
<12> repr() does it in hex
<11> oh, missed that part :)
<10> a little newbie help.. I'm doing a gtk tutorial and it has this line "result, newWine = wineDlg.run()" .. dont understand what the result, newwine is.. is that 2 paramaters returned ?
<13> the run method returns a tuple of two values, which is then unpacked into the two variables
<14> p_masho, yes, the function returns a tuple
<13> (x, y) = (1, 2)
<13> x, y = y, x
<15> (You don't need the parentheses.)
<13> no, but I included them to emphasize the tuples
<13> you can unpack any iterable of the right length
<15> Do you pronounce tuple to rhyme with couple or more like two-ple?
<3> two-ple
<13> as in quintuple
<16> My DB profs always pronounced it with a soft 'u'.
<17> tuh-ple
<0> ggeller: couple
<0> ok, nm
<18> so its almost midnight. do i make some coffee or should i actually sleep today?
<3> ironfroggy: sleep
<18> i cant think of a reason why
<16> Leeds: They were Indians. All the DB profs were. I imagine they grew up speaking the Queen's english.
<16> I take that back. There were a bunch of arab DB profs too.



<3> hmm...
<19> goddamn queen, messing with sql all the time
<16> Anyway, they were accented, but fluent.
<16> And being as they were set theorists, I imagine they were well familiarized with the proper pronunciation of the word 'tuple.'
<16> MFen: God Save the Queen!
<19> tea and crumpets for that man
<19> wtf is a crumpet anyway
<14> it's a form of pastry
<16> I don't know. But I'd rather have tea and strumpets.
<3> I don't know that there is a proper pronunciation... I've met plenty of people who are convinced it's bey-ta, but it's always been bee-ta for me... and don't get me started on /usr/lie-b rather than /usr/lih-b
<3> mmm... crumpets
<19> do you say vahr or vair
<16> MFen: vahr
<19> heck yeah
<3> as in variable? vahr
<19> you say vahriable?
<16> However, vairiable.
<19> i say vairable but i also say /vahr/lihb
<3> /vahr is where vairiable files live
<19> heh
<3> potato, potatoe
<16> Any C preprocessor gurus in here?
<19> oof. that's something you shouldn't be a guru at.
<16> Bah.
<13> CSWookie: is your question about being a guru?
<16> deltab: Point taken.
<16> Anyone know if there is a preprocessor macro in C that, when fed an array that is currently being defined, will return the index of the element currently being defined?
<13> it knows nothing of arrays
<19> the first time i went to a python conference was the first time i heard people who were "fluent" in talking about python
<16> deltab: Thank you.
<14> it doesn't really know anything about any C data types or structure
<19> i.e. prior to that, nobody i knew irl knew much if anything about python, so i had no auditory frame of reference
<19> hearing people talk about python for the first time was very weird
<19> "under under? what's that?"
<16> I thought it likely didn't, and my question seemed like something that would have to be handled at the parser level, but I figured maybe.
<16> MFen: "under under?"
<19> __
<16> Ah.
<19> as in under under init
<13> yes, either in a parser or perhaps if you defined the array in a very different way
<16> I always pronounc _ as "underscore"
<19> too annoying when you have to say it twice
<18> i always thought "special init" would be a more fitting auditory usage.
<20> whats under there?
<19> under under turns out to be fairly easy to say
<16> MFen: That's why I avoid talking about magic functions.
<19> there were lots of other things thing
<19> though
<21> the more I use python, the more I realize how much I dislike C
<20> C was designed to be as complicated as possible
<20> so programmers could feel 1337
<19> C is so not complicated
<14> no.. C is very simple
<19> laborious, tedious.. not complicated
<21> no is definitely not complicated
<21> that's it's problem
<20> I cant figure it out
<21> there's not much too it
<20> I guess Im just stupid
<14> RawSewage, oh, figuring it out isn't hard.. getting it to do anything "practical" is
<21> no, you're not stupid
<21> you have to think of it in terms of its origins
<14> C certainly has it's place though
<14> unlike perl/php/basic/cobol/etc.
<21> I think perl has its place
<21> php should die
<14> perl should also die
<20> I like php
<22> do people use php for anything non-web?
<21> anyway, C was created to make writing programs on the computer easy.. when everyone was writing in ***embly
<20> not really
<14> muk_ibook, nope.
<10> is there a qucik way to convert one of these (5, '005', 'Daniel de Oliveira') to one of these [5, '005', 'Daniel de Oliveira'] .. a whole "array" of them ?
<21> anyway, I just got pygtk/glade working with threads


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #python
or
Go to some related logs:

+illegal offset +ipod
#mysql
#suse
#javascript
banananaphone
MySQL server has gone away mod_auth_mysql
#redhat
xorg evdev mknod mx1000
#fedora
#debian



Home  |  disclaimer  |  contact  |  submit quotes