#perl - Sun 18 Feb 2007 between 13:11 and 13:40



Khisanthbut only if your servers is 4.1.3 or newer
merlynit'll make *ptr (a char) the cast (char) "NULL"
JuerdKhisanth: Ah.
merlynwhich will be the address of the string
the low byte of the address of the string. :)
KhisanthJuerd: gah but turn off by default again in 3.9 because of "issues"
Juerd18:09 < merlyn> it'll make *ptr (a char) the cast (char) "NULL"
merlyn: Shall we try Dutch instead? At least that I understand :)
actionmerlyn pops another advil so he can get into the shower
merlynpops another advil so he can get into the shower
Khisanthapparently a problem with the C api for mysql but you can still turn it on if you want
actionJuerd doesn't use mysql enough for it to matter, anymore.
Juerddoesn't use mysql enough for it to matter, anymore.
Almost all my projects use SQLite now.
merlynSQLite for little stuff, Pg for big stuff
mysql got squeezed out in the middle
cfeddethis is when it realy bites. when you have to come back to some old code where the semantic context is relevent.
Limbic_Regionnote that what defines little stuff is subjective
a small project requiring high concurrency for instance
cfeddewhat I mean is having to remember odd behaviors of moving targets like the mysql api.
JuerdLimbic_Region: Most concurrency needs for my stuff tends to be read only. Thus, caching helps.
cfeddeHigh update rate is a problem for most of these databases.
Limbic_Regionsure. My point was that many factors are involved and so "small" or "large" is subjective
cfeddethough I've been pretty impresses with a naive approach to updates in an NMS app I've been working on.
wrt PG.
doug*ptr = 9*9-3; *(ptr+1) = *ptr + 7; *(ptr+2) = *(ptr+3) = *(ptr+1) - 9; *(ptr+4) = *(ptr+2) - *ptr + 2;
much better
cfeddeand so clear!
dougi'd say
cfeddeIt's so obvious what that code does.
It creates job security.
dougsmall part of the whole
tho i should have started out *ptr = 3*3*3*3-3;
Limbic_Region*ptr = 3**2**2-3;
cfeddeeval: chr(3**2**2-3)
buubotcfedde: N
cfeddethough it'd be interesting to come up with a code generator that does differential encoding like that. An ADPCM for ASCII
Juerdcfedde: And then translate it to brainfuck, and back to C.
cfeddeJuerd: I bet performance would not even suffer.
Though Piet might be a more interesting target language.
JuerdZwarte Piet?
cfeddehttp://www.dangermouse.net/esoteric/piet.html

Page: 3 10 17 24 31 38 45 52 59 66 73 80 

IrcArchive