@# 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



Comments:

<0> Erwin: field in mssql: '' im decoding it to latin1 and inserting into a sqllite database...after the insert i get that in sqllite '?'
<1> That's still 6 bytes
<2> script runs three tasks A, B and Ab. A and Ab are network bound and B is CPU bound. If I want B to run whilel A isalso running should I use subprocess? Or something else
<0> Erwin: the database in mssql its using collation Latin1_General_BIN
<3> mysyfy_: Well, is the string you showed use the result of what you have in PYthon and have printed there or just something you saw elsewhere?
<0> Erwin: im seeing the sqllite file in an sqllite manager....i get the '?' there...
<3> mysyfy_: I'm talking about the string you say is in mssql
<3> mysyfy_: I think you should paste some code, with debugging output and exactly output of it.
<3> e.g. string = select from mssql; print repr(string); ustring = string.decode('latin1'); insert into sqlite
<3> The exact sequence of calls you perform and what that string you get from mssql is when printed (with repr)



<4> let's see how many lines I can go before getting kicked
<4> 1
<4> 2
<4> 3
<4> how much was that?
<5> 9
<6> Hi all. I'm bored. and I feel like explaining metacl***es to anyone here (or all of us) who is interested.
<7> Braz: in my buffer, it only appears 4 lines of yours
<4> wow
<4> i have 893
<4> lol
<4> every zone is an LOL zone
<6> Braz, read the topic
<6> aol speak isnt appreciated here
<4> just a-checkin'
<4> so you can't say "lol"?
<6> no. thats aol speak
<4> wtf...
<4> that's not fair
<6> rofl-waffle, roflmao etc are aol speak
<6> braz: too bad
<4> thats IRC speak
<6> braz: i'm not a op
<4> i know
<6> braz: if i were i would disagree
<5> Braz, Do you have anything meaningful to ask or say?
<6> ... and i do
<8> kbrooks: when you are bored you look for someone to explain metacl***es to ? and that gets you excited ?
<4> no, i don't
<4> i have never heard of python
<4> lol
<6> werneck, no, i want to do something. :)
<4> rofl
<7> Braz: no, it is not. People had already informed you that this words are not welcome here. We would be glad if you respect this and stop discussing that.
<0> Erwin: http://deadbeefbabe.org/paste/2940
<3> mysyfy_: That doesn't show what I want to see -- you printing out the values of the string fields from your script
<9> hi
<4> i won't stop till i'm kicked



<4> lol
<10> kbrooks: I was using rofl-waffle in 1989 on the local BBS's before I ever heard of aol
<4> keep 'em coming, scratch
<6> rofl-waffle, typo
<6> braz: look.
<10> ok well, I mean rofl and lol themselves have been around forever
<3> mysyfy_: print out repr(line[1]) and show what that is
<0> Erwin: k
<6> braz: i disagree. if i were a op, i would say no to that rule. but this is life, and since i'm not a opp
<6> op*
<6> please stop
<6> thank you
<10> They aren't bad when used in proper context
<0> Erwin: output '\x82\xc6\xa2\xa1\xa31 ' for '' in mssql
<10> But AOL kiddies do use them as punctuation
<3> mysyfy_: Well, that's wrong
<6> rofl-waffle, doesnt matter, the ops decided not to allow it
<3> mysyfy_: That is exactly
<3> mysyfy_: So, maybe it isn't latin-1 as you think
<0> Erwin: so wich codec may i use for Latin1_General_Bin mssql collation database
<0> in python
<0> or change in mssql
<11> what's __weakref__ for?
<3> mysyfy_: Whatever it is, it is not latin-1
<5> Yango, Eh? See the module.
<3> mysyfy_: Maybe it's a codec like some Windows code page
<0> Erwin: i c that too...but i cant c the solution
<3> mysyfy_: Look through various codepages and see which one uses 82 as
<3> mysyfy_: Characterx 0x80 to 0x9F are completely unused in latin-1
<3> mysyfy_: Well, what is the typical national codepage used where you live?
<11> cardinalfang: the module docs don't explain what's the specific purpose of the __weakref__ attribute for some cl*** (or I didn't find it)
<0> Erwin: Latin1
<3> mysyfy_: Ah, I found it
<3> mysyfy_: Portugal (and presumably also Brazil) uses codepage 850 and 860
<3> http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/country.mspx
<3> >>> print '\x82\xc6\xa2\xa1\xa31 '.decode('cp850').encode('latin-1')
<3>
<5> Yango, I've never heard of a __weakref__ attribute, but I sure know what the weakref module does, and I suspect the attribute is related.
<0> Erwin: owww tks ;) tks tks....
<11> cardinalfang yeah, me too :) but I wanted to know what is the purpose of, for instance, >>> print (globals()['tablasvariables'].Kl***.__weakref__)
<11> <attribute '__weakref__' of 'Model' objects>
<3> Yango: It's used to acquire weak references
<3> Yango: C objects may need some special handling for this, so there's a slot for it
<5> Yango, Well, the word "model" suggests to me that the Kl*** is a proxy to something else, and that something else is stored (via a weak reference, probably) in __weakref__. But then, I'm guessing.


Name:

Comments:

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






Return to #python
or
Go to some related logs:

make-jpkg no matching plugin
#sdl
#python
#fluxbox
pexpect extract the line before a match string
#bash
mdadm after reboot
change startup graphic win xp
nethack vulture debian
#debian



Home  |  disclaimer  |  contact  |  submit quotes