Drakken has quit [Quit: If you can't laugh at yourself, make fun of other people.]
lamawithonel has joined #ocaml
sebz_ has quit [Quit: Computer has gone to sleep.]
sebz_ has joined #ocaml
dnolen has quit [Quit: dnolen]
arubin has joined #ocaml
sebz_ has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
xrcc has joined #ocaml
dnolen has joined #ocaml
arubin has quit [Quit: arubin]
xrcc has quit [Quit: Page closed]
EmmanuelOga has quit [Ping timeout: 252 seconds]
dnolen has quit [Quit: dnolen]
dnolen has joined #ocaml
dnolen has quit [Quit: dnolen]
ygrek has joined #ocaml
jimmyrcom has quit [Ping timeout: 256 seconds]
BiDOrD has quit [Read error: Operation timed out]
ttamttam has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
ikaros has joined #ocaml
<adrien>
morning
<adrien>
NaCl: I think I've been stupid and the bitfield issue is trivial :P
<adrien>
an unsigned int of size 1 translates to a bool, and accessing the value doesn't differ from accessing other struct fields
edwin has joined #ocaml
maufred has joined #ocaml
<adrien>
but adding a "size" param to a int doesn't make a lot of sense
BiDOrD has joined #ocaml
schme has quit [Ping timeout: 245 seconds]
schme has joined #ocaml
larhat has joined #ocaml
schme has quit [Ping timeout: 256 seconds]
schme has joined #ocaml
schme has quit [Changing host]
schme has joined #ocaml
Cyanure has joined #ocaml
avsm has joined #ocaml
asmanur has quit [Read error: Operation timed out]
_andre has joined #ocaml
* adrien
repeatedly kicks the bitfield-abuser of GooCanvas
sebz has joined #ocaml
avsm has quit [Quit: Leaving.]
ygrek has quit [Remote host closed the connection]
ttamttam has quit [Ping timeout: 276 seconds]
probst has quit [Quit: probst]
ygrek has joined #ocaml
destrius has quit [Quit: Leaving.]
Drakken has joined #ocaml
tommytom211 has joined #ocaml
Associat0r has joined #ocaml
Associat0r has quit [Changing host]
Associat0r has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
ikaros_ has joined #ocaml
<adrien>
NaCl: congrats, you picked a library that 1- uses bitfields in structs, 2- writes { int a, b, c } in structs, 3- uses local includes, 4- is named GooCanvas but names it submodules as GooFooCanvasBar instead of GooCanvasFooBar, 5- has headers which define no module/class, 6- has headers which define several modules/classes, 7- defines enums with not only "base" fields but also the combination of these fields
<adrien>
and 8- ..... (ab)uses unions
tommytom211 has quit [Read error: Connection reset by peer]
tommytom has joined #ocaml
<adrien>
9- which mixes points 1-, 2-, 7- and 8- at the same time
<adrien>
NaCl: I think I'll give up, at least for now, unless you really want it
<adrien>
(that was the "unboundable code" [automatically])
caligula__ has joined #ocaml
tlockney_ has joined #ocaml
Qrntzz_ has joined #ocaml
gmcabrita has joined #ocaml
chambart1 has joined #ocaml
Drakken has quit [*.net *.split]
ikaros has quit [*.net *.split]
chambart has quit [*.net *.split]
caligula_ has quit [*.net *.split]
Qrntzz has quit [*.net *.split]
tlockney has quit [*.net *.split]
ikaros has joined #ocaml
ikaros_ has quit [Quit: Ex-Chat]
<NaCl>
adrien: lol
struktured has quit [Ping timeout: 258 seconds]
ikaros_ has joined #ocaml
struktured has joined #ocaml
jimmyrcom has joined #ocaml
surikator has quit [Quit: Computer is sleeping. I'm probably not.]
Drakken has joined #ocaml
<Drakken>
hello caml jockeys :)
emmanuelux has joined #ocaml
EmmanuelOga has joined #ocaml
EmmanuelOga has quit [Client Quit]
ttamttam has joined #ocaml
Associat0r has joined #ocaml
Associat0r has quit [Changing host]
Associat0r has joined #ocaml
EmmanuelOga has joined #ocaml
avsm has joined #ocaml
<thelema>
Drakken: hellp
<thelema>
hello
<Drakken>
hellp!
* adrien
throws a life jacket at Drakken
chambart1 is now known as chambart
ganjahtronic has joined #ocaml
ganjahtronic has quit [Read error: Connection reset by peer]
milosn has quit [Ping timeout: 258 seconds]
mcclurmc has quit [Excess Flood]
mcclurmc has joined #ocaml
milosn has joined #ocaml
<adrien>
still issues with oasis and adding my own parameters: I can add tags, they are seen by ocamlbuild, but when I put a value for them in setup.data, the value is never used
<adrien>
I didn't want to sed myocamlbuild.ml or _oasis with pkg-config's output but I guess I can't do what I want otherwise
sepp2k has joined #ocaml
Snark has joined #ocaml
ikaros_ has quit [Quit: Ex-Chat]
mcclurmc has quit [Excess Flood]
mcclurmc has joined #ocaml
Qrntzz_ is now known as Qrntzz
Qrntzz has quit [Changing host]
Qrntzz has joined #ocaml
Qrntzz has quit [Changing host]
Qrntzz has joined #ocaml
oriba has joined #ocaml
ygrek has joined #ocaml
thelema has quit [Remote host closed the connection]
sepp2k has quit [Remote host closed the connection]
agarwal1975 has joined #ocaml
thelema has joined #ocaml
maufred has quit [Quit: leaving]
ganjahtronic has joined #ocaml
jimmyrcom has quit [Quit: Leaving.]
jimmyrcom has joined #ocaml
ztfw has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
ttamttam has quit [Ping timeout: 244 seconds]
oriba has quit [Quit: oriba]
avsm has quit [Ping timeout: 260 seconds]
dcolish has joined #ocaml
bobry has quit [Ping timeout: 260 seconds]
edwin has quit [Remote host closed the connection]
bobry has joined #ocaml
ganjahtronic has quit [Ping timeout: 240 seconds]
ganjahtronic has joined #ocaml
edwin has joined #ocaml
ttamttam has joined #ocaml
asmanur has joined #ocaml
surikator has joined #ocaml
ygrek has joined #ocaml
avsm has joined #ocaml
surikator has quit [Quit: Scientific discovery is just maximal compression of strings. Nothing more, nothing less.]
_andre has quit [Quit: leaving]
mcclurmc has quit [Excess Flood]
sebz has joined #ocaml
mcclurmc has joined #ocaml
Snark has quit [Quit: Quitte]
<Drakken>
foo
<_habnabit>
bar
<rgrinberg>
why is assert not a function?
<_habnabit>
rgrinberg, it can't be; if asserts are disabled, the conditions shouldn't be evaluated
<rgrinberg>
did not know you could disable them
<_habnabit>
that's kind of the point of asserts in any language
<_habnabit>
it sounds like you shouldn't be using asserts if you don't want them to be disabled
<rgrinberg>
even in dynamic languages?
<_habnabit>
'dynamic languages' ?
<rgrinberg>
interperted
<_habnabit>
that doesn't clarify anything
<_habnabit>
all languages are interpreted
<rgrinberg>
ugh forget about it, it doesnt matter
<_habnabit>
well, if you want to remain confused about terminology, I suppose
avsm has quit [Quit: Leaving.]
<_habnabit>
did you mean 'languages with dynamic typing' ?
<rgrinberg>
ruby,python,etc.
<_habnabit>
okay, well, those are both dynamically typed
<_habnabit>
and yes, asserts in those languages can also be disabled (and it's still the point of asserts)
<rgrinberg>
ya but can't you implement them as functions there and have some global debug variable
<_habnabit>
again, no: the conditions shouldn't be evaluated at all
<_habnabit>
and in languages with two-argument assert (not ocaml), the second argument shouldn't be evaluated at all until the condition has been evaluated to false
<rgrinberg>
the python docs say that assert expression is equivalent to if __debug__ : if not expression: raise AssertionError
<_habnabit>
okay; that can't be a function because that's an /inline/ replacement. if it was a function, *both* arguments would be evaluated immediately before checking __debug__ at all
Kakadu has joined #ocaml
<rgrinberg>
I see
<_habnabit>
asserts are for invariants; removing them from your program should never affect anything
sebz has quit [Quit: Computer has gone to sleep.]
<rgrinberg>
I get that I just thought the only reason to making them macros and not functions was to make them removable if you compile the source with the right flag. But then you pointed out that you also can't evaluate the arguments eagerly.
sebz_ has joined #ocaml
ttamttam has quit [Quit: Leaving.]
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
testcocoon has quit [Read error: Connection reset by peer]
testcocoon has joined #ocaml
sebz_ has quit [Quit: Computer has gone to sleep.]
agarwal1975 has quit [Quit: agarwal1975]
Kakadu has quit [Quit: Konversation terminated!]
itewsh has joined #ocaml
sepp2k has joined #ocaml
edwin has quit [Remote host closed the connection]
sebz has joined #ocaml
wishi has quit [Read error: Connection reset by peer]