| Khisanth | but only if your servers is 4.1.3 or newer |
| merlyn | it'll make *ptr (a char) the cast (char) "NULL" |
| Juerd | Khisanth: Ah. |
| merlyn | which will be the address of the string the low byte of the address of the string. :) |
| Khisanth | Juerd: gah but turn off by default again in 3.9 because of "issues" |
| Juerd | 18:09 < merlyn> it'll make *ptr (a char) the cast (char) "NULL" merlyn: Shall we try Dutch instead? At least that I understand :) |
| action | merlyn pops another advil so he can get into the shower |
| merlyn | pops another advil so he can get into the shower |
| Khisanth | apparently a problem with the C api for mysql but you can still turn it on if you want |
| action | Juerd doesn't use mysql enough for it to matter, anymore. |
| Juerd | doesn't use mysql enough for it to matter, anymore. Almost all my projects use SQLite now. |
| merlyn | SQLite for little stuff, Pg for big stuff mysql got squeezed out in the middle |
| cfedde | this is when it realy bites. when you have to come back to some old code where the semantic context is relevent. |
| Limbic_Region | note that what defines little stuff is subjective a small project requiring high concurrency for instance |
| cfedde | what I mean is having to remember odd behaviors of moving targets like the mysql api. |
| Juerd | Limbic_Region: Most concurrency needs for my stuff tends to be read only. Thus, caching helps. |
| cfedde | High update rate is a problem for most of these databases. |
| Limbic_Region | sure. My point was that many factors are involved and so "small" or "large" is subjective |
| cfedde | though 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 |
| cfedde | and so clear! |
| doug | i'd say |
| cfedde | It's so obvious what that code does. It creates job security. |
| doug | small part of the whole tho i should have started out *ptr = 3*3*3*3-3; |
| Limbic_Region | *ptr = 3**2**2-3; |
| cfedde | eval: chr(3**2**2-3) |
| buubot | cfedde: N |
| cfedde | though it'd be interesting to come up with a code generator that does differential encoding like that. An ADPCM for ASCII |
| Juerd | cfedde: And then translate it to brainfuck, and back to C. |
| cfedde | Juerd: I bet performance would not even suffer. Though Piet might be a more interesting target language. |
| Juerd | Zwarte Piet? |
| cfedde | http://www.dangermouse.net/esoteric/piet.html |