flux changed the topic of #ocaml to: Yes, inria.fr is back up! | Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.0beta1 available from http://caml.inria.fr/pub/distrib/ocaml-3.11/ | Or grab OCaml 3.10.2 from http://caml.inria.fr/ocaml/release.html
hkBst has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
Camarade_Tux has quit ["Leaving"]
alexyk has quit []
alexyk has joined #ocaml
davidm123 has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
ched__ has joined #ocaml
ched has joined #ocaml
ched_ has quit [Read error: 110 (Connection timed out)]
ched__ has quit [Read error: 110 (Connection timed out)]
jstash_ has quit []
jstash has joined #ocaml
<alexyk> where can I get examples of ocaml-mysql connections?
<alexyk> i.e. the typical connect-sql-fetch loop?
dibblego has quit ["Leaving"]
jeddhaberstro has quit []
<alexyk> ah, DBI
alexyk has quit []
alexyk has joined #ocaml
alexyk has quit [Read error: 104 (Connection reset by peer)]
dibblego has joined #ocaml
alexyk has joined #ocaml
jstash has quit []
xevz has quit [kornbluth.freenode.net irc.freenode.net]
palomer has quit [kornbluth.freenode.net irc.freenode.net]
rodge has quit [kornbluth.freenode.net irc.freenode.net]
fremo has quit [kornbluth.freenode.net irc.freenode.net]
xevz has joined #ocaml
palomer has joined #ocaml
rodge has joined #ocaml
fremo has joined #ocaml
rodge_ has joined #ocaml
xevz_ has joined #ocaml
palomer has quit [kornbluth.freenode.net irc.freenode.net]
rodge has quit [kornbluth.freenode.net irc.freenode.net]
fremo has quit [kornbluth.freenode.net irc.freenode.net]
xevz has quit [kornbluth.freenode.net irc.freenode.net]
palomer has joined #ocaml
fremo has joined #ocaml
jstash has joined #ocaml
jstash has quit [Client Quit]
johnnowak has joined #ocaml
<palomer> hrmph
<palomer> vboxes always center my label
<palomer> how do I fix stop this?
<palomer> found it!
<palomer> xalign
m3ga has joined #ocaml
<alexyk> who provides Dbi_mysql.connect -- ocaml-mysql does not?
<alexyk> or, rather, where does Dbi_mysql come from? just doing #require "mysql" with ocaml-mysql installed doesn't provide it...
<alexyk> ocamldbi contains dbi_mysql.ml, but doing #load "dbi.cma";; doesn't expose it
<alexyk> in any case, how can one list the contents of dbi.cma?
<thelema> alexyk: better to find and read the source.
<alexyk> ocamldbi source contains a file called dbi_mysql
<alexyk> I wonder whether this is a case-preservation issue on Mac OSX
<alexyk> so I need to see what #load "dba.cma";; actually injects
<alexyk> inty my namespace
<alexyk> dbi.cma I mean
<thelema> read the contents of dbi.mli
<alexyk> in pkg-lib/dbi/, dbi.mli doesn't contain any mysql at all
<thelema> correct.
<alexyk> so I wonder where dbi_*.ml from ocamldbi source goes
<alexyk> when installed in godi
<alexyk> if anywhere
<thelema> there's no Dbi_mysql module?
<thelema> try [let dbh = new Dbi.mysql.connection "database_name"]
threeve has joined #ocaml
<alexyk> Unbound class Dbi.mysql
<alexyk> now I did #require "mysql";; and #load "dbi.cma";;
<thelema> err, Dbi_mysql
<thelema> my typo
<alexyk> same stuff, Dbi_mysql
<alexyk> which says just #require "dbi.mysql";;
<alexyk> but in my godi there's no dbi.mysql
<alexyk> now I installed godi-ocamldbi and godi-ocaml-mysql
<alexyk> and don't see what else can I install
<thelema> maybe it didn't get built because of a missing dependency?
<alexyk> ah, I was wrangling with conf-mysql for a bit
<alexyk> hmm
* thelema doesn't know godi very well, so...
<alexyk> ah my bad -- didn't run config on the godi-ocamldbi
<alexyk> btw how do you make the bullet for sotto voce? :)
<thelema> /me
* alexyk learned something new
snhmib_ has joined #ocaml
<alexyk> after running config dbi_mysql is built for ocamldbi
<alexyk> how can I reload a .cma from # prompt? my dbi.cma changed by ocaml does nothing
<alexyk> there's no #reload or #unload
<alexyk> well in any case it all works
snhmib has quit [Read error: 110 (Connection timed out)]
Associat0r has quit []
<alexyk> into what is good to catch row set returned by sql query?
<alexyk> something dynamically resizeable I meqan
<alexyk> mean
<thelema> depends on how you want to access it.
<alexyk> I am just exploring the data for now; is it typical to use extlib and things like DynArray?
<alexyk> I mean do folks try to use built-in Array or do they go straight to extlib nowdays?
<thelema> no, just use #fetchall to put all the data into a list
<alexyk> ah ok
<alexyk> still does extlib assume it's all-encompassing or does it complement base stuff?
<thelema> extlib complements, the new project, batteries, all-encompasses
rodge_ is now known as rodge
<alexyk> thelema: is batteries worth getting over godi with stuff?
<thelema> as one of its developers, I'd appreciate you trying it out and seeing what you think. But on the other hand, it's still pretty rough in places, so don't expect the world of it.
<alexyk> thelema: sure; can it sit in its own directory completely by itself with its own ocaml?
<thelema> it doesn't need its own ocaml to work - the way to use it involves ocamlbuild and ocamlfind
<thelema> err, findlib
snhmib_ has quit ["Good riddance!"]
<alexyk> hmm -- so I have godi and ocaml from godi; it installs into a prefix, in my case I put it in /opt/godi/ -- so my ocaml is /opt/godi/bin/ocaml; and findlib surely is from there, so it'll find all the godi's stuff first in its own pkg-lib/ and site-lib/
<alexyk> how will batteries not interfere with that, or how can I tell my findlib to look in batteries first?
<thelema> ? at the moment, batteries is just a (mega-)library and some camlp4 code.
<thelema> it'll be my job to produce community ocaml - a build of ocaml that integrates the batteries code.
<thelema> not yet, though.
alexyk has quit []
* palomer has just removed over 300 lines of code
<palomer> batteries sounds exciting
<thelema> I hope you'll try it out and write better code because of it.
<palomer> but you released at the very end of my project!
<palomer> oh well, maybe another project
alexyk has joined #ocaml
<palomer> btw, anyone know how to change the border colour of a label?
<palomer> this design is _so_ much better!
Palace_Chan has joined #ocaml
<Palace_Chan> id like to conditionally perform a: let bla = something in....but i get a syntax error if i do something like: if abool then (let a = something in) else go on with the code...
<Palace_Chan> but it gives me a syntax error with that
threeve has quit []
<thelema> what do you want to happen after the else case when something refers to a?
<Palace_Chan> i want to continue with other code
<thelema> yes, and will you refer to [a] in that code?
<Palace_Chan> well at the end i check the bool again, and depending on that i either return something with a or something with None
<thelema> my recommendation: let a = ref None in if abool then a := Some something;
<Palace_Chan> thelema, hmm, let me try to use something like that, see if that works
<palomer> hrmph
<palomer> is it possible to get an hbox or vbox or scrolled_window or event_box to become highlightable?
<tsuyoshi> why do you want to highlight a container?
<palomer> yeah
<palomer> give it focus
<palomer> I want it to capture my keystrokes
<palomer> im browsing an AST
<palomer> I put the AST as a bunch of labels in hboxes in vboxes
<palomer> in vboxes...
<palomer> so I want to browse the AST by pressing up, down, left, right
<palomer> standard stuff
<tsuyoshi> well, the contents of a box are highlightable
<tsuyoshi> you can highlight a label certainly
<Palace_Chan> thelema, thanks that was a nice idea
<palomer> but the contents of my boxes are boxes or labels
<tsuyoshi> or focus a label, etc.
<palomer> you sure I can focus a label?
<tsuyoshi> yes
<palomer> lemme write a test case...
Yoric[DT] has joined #ocaml
<palomer> there
<palomer> I add a label and a text entry
<palomer> the entry hogs the focus
<Yoric[DT]> hi
<palomer> high
<palomer> Yoric[DT], any idea how a label can wrest focus from an entry?
<Palace_Chan> basically i have an a option type...and i want to set e to be the result of function f evaluated at x where x is Some x for a....but if a is none then i cant even call that function so i dont want to do it...
<Palace_Chan> as in let e = match a with | Some x -> f x | None -> i dont want to set e in this case
vixey has quit ["Leaving"]
m3ga has quit ["disappearing into the sunset"]
<palomer> let may f x = match x with Some y -> f y | None -> () <---useful function
<tsuyoshi> palomer: label#misc_ops#grab_focus should do it
<Palace_Chan> palomer, thanks!
<palomer> tsuyoshi, nope
<palomer> Palace_Chan, np (blatantly stolen from the lablgtk source)
<tsuyoshi> really? hrm
<tsuyoshi> what does label#misc_ops#get_flag `CAN_FOCUS give you
<palomer> it's a bool?
<palomer> false
<tsuyoshi> oh
<palomer> labels can't focus!!
<tsuyoshi> maybe you need to put it in an event box then
<palomer> ditto
<palomer> can't focus
<tsuyoshi> what
<tsuyoshi> how about.. label#misc_ops#set_can_focus true
<palomer> err
<palomer> it says it can focus
<palomer> but it doesn't focus
<tsuyoshi> hrm.. well, I obviously don't know what I'm talking about since I thought you could focus labels
<palomer> try the code out!
<palomer> I think you can highlight widgets in other toolkits
<tsuyoshi> ah, I can't, I'm in an internet cafe at the moment
<Yoric[DT]> palomer: sorry, no idea
<tsuyoshi> oh btw why do you want to focus a label?
<flux> what does focusing a label mean?
<palomer> err
<palomer> give it focus
<flux> you get a nice frame around it? I mean, a label doesn't do anything useful with input, does it?
<palomer> I want to caputer my keypresses
<palomer> capture
<flux> shouldn't the event box be the one getting the focus?
<palomer> event boxes do the same thing
Yoric[DT] has quit ["Ex-Chat"]
<palomer> oh wait
<palomer> maybe you can
<palomer> but you have to set_can_focus
<palomer> weird, eh?
<palomer> and you _have_ to grab focus
<flux> problem solved, then?
<palomer> yup
<palomer> cool:)
<palomer> man, the widgets in a vbox HAVE to be the same width
<palomer> this sucks
<palomer> how do I fix this?
<palomer> by packing two widgets in each row?
<tsuyoshi> what kind of widgets?
<tsuyoshi> you might just want to set the "expand" and "fill" properties
<palomer> trying that
<palomer> I also have to put in a dummy container to fill in the same
<palomer> space
alexyk has quit []
<palomer> hrmph
filp has joined #ocaml
mishok13 has joined #ocaml
<palomer> hrmph
<palomer> anyone know how to change the border colour of an event box?
filp has quit [Client Quit]
jstash has joined #ocaml
<flux> colors.. I remember that those things are PIA in gtk..
<flux> maybe it's better these days
<palomer> color is ok
<palomer> you can use a text string
<palomer> which is cool
ulfdoz has joined #ocaml
<palomer> well, you can surround your stuff with a frame
<palomer> that's one way
<palomer> I don't like it though :)
alexyk has joined #ocaml
_zack has joined #ocaml
kig has quit [Read error: 110 (Connection timed out)]
jstash has quit []
|Jedai| has joined #ocaml
alexyk has quit []
Palace_Chan has quit ["Leaving"]
jstash has joined #ocaml
jstash has quit [Client Quit]
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
Jedai has quit [Read error: 110 (Connection timed out)]
filp has joined #ocaml
filp has quit [Client Quit]
TaXules has quit [Remote closed the connection]
TaXules has joined #ocaml
olegfink has quit [Read error: 110 (Connection timed out)]
seafood has quit []
olegfink has joined #ocaml
seafood has joined #ocaml
seafood_ has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood_ has quit [Connection reset by peer]
seafood has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
olegfink^ has joined #ocaml
olegfink has quit [Read error: 104 (Connection reset by peer)]
olegfink^ is now known as olegfink
_zack has quit ["Leaving."]
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
seafood_ has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
pierre_m has joined #ocaml
seafood has joined #ocaml
seafood_ has quit [Read error: 54 (Connection reset by peer)]
<palomer> hrmph
<palomer> double hrmph
johnnowak has quit []
<pierre_m> Hi there, anyone from batteries-included ?
<flux> I shall betray them: yoric[dt] (not around) and tsuyoshi
<palomer> don't forget thelema
<palomer> my rendering code is magically delicious
<pierre_m> thanks for the info
<pierre_m> anyway my problem is probably not yet so related to batteries
<pierre_m> (are we supposed to speak english or french here ?)
<flux> english is much preferred
<pierre_m> do you think that dealing with unicode string manipulation (probably using ocaml-rope) is a good way to learn camlp4 ?
<flux> I'm not actually familiar with camlp4 almost at all, but what kind of string manipulation were you thinking of?
<pierre_m> (the fact is I need convenient unicode string manipulation)
<pierre_m> well basic stuffs
<flux> how would it be different from just using plain ocaml-rope?
<pierre_m> concatenation, substrings
<pierre_m> I'd like to use rope the same way we use strings
<flux> well, ocaml-rope can do both of those, right?
<flux> as long as there are functions that expect strings but are used with ropes, inconvenient syntax seems unavoidable..
<flux> camlp4 cannot unfortunately inspect the program in the type level - atleast not without reimplementing much of the compiler
<pierre_m> I'd like this kind of things : let my_rope = "unícode" ^ "等等"
<flux> ah, ok
<flux> so string literals would automatically be ropes
xevz_ is now known as xevz
<flux> (the concatenation bit should be easy, something like let (^) = Rope.concatenate (I don't know how ocaml-rope library is used))
<palomer> ropes!
<pierre_m> or my_uchar = myrope<3>, my substring = myrope<3,12>
<pierre_m> (note sure if the <> is a good idea, probably not)
<flux> pierre_m, what would that even mean?-)
<pierre_m> my_uchar would be the fourth char of myrope
seafood has quit [Read error: 104 (Connection reset by peer)]
<pierre_m> and my_substring a substring from the fourth to the thirteen
<pierre_m> something like that
<flux> nasty trick: module String = struct include String let get s a = Printf.printf "%d\n" a end
<flux> "foo".[42]
seafood has joined #ocaml
<flux> how about simply redefining [] if you want to use mostly ropes anyway?
<flux> or were you thinking of an extension that could be easily used even with existing projects?
seafood has quit [Client Quit]
seafood has joined #ocaml
<pierre_m> well I was curious about camlp4
<pierre_m> and thought that it may be somekind of excuse to try it
<flux> well, perhaps that would serve as the first step for doing stuff with it
<pierre_m> [] is ok but I thought it may be confusing with list
<flux> actually it's .[]
OChameau has joined #ocaml
seafood has quit []
seafood has joined #ocaml
kig has joined #ocaml
_zack has joined #ocaml
LeCamarade has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
rwmjones_ has joined #ocaml
<pierre_m> ok I found few interesting things, I'll go one with the tutorial, thank you
seafood has quit []
seafood has joined #ocaml
LeCamarade has quit [Read error: 110 (Connection timed out)]
TaXules has quit [Remote closed the connection]
TaXules has joined #ocaml
dabd has joined #ocaml
hkBst has joined #ocaml
<mfp> pierre_m: that's the sort of thing you can do with pa_do
<mfp> pierre_m: something like let my_rope = Rope.("unícode" ^ "等等")
seafood has quit []
Yoric[DT] has joined #ocaml
longh has joined #ocaml
<mfp> hmm, in fact it's one of the examples
<flux> :)
<pierre_m> ho
<pierre_m> what does pa_do do ?
<Yoric[DT]> hi again
<pierre_m> hi
TaXules has quit [Remote closed the connection]
TaXules has joined #ocaml
<pierre_m> well, that's not fun, it seems that it's too easy to do this with pa_do !!!
petchema has quit [Read error: 113 (No route to host)]
<pierre_m> Yoric[DT]: some message on batteries-devel had me willing to look at camlp4 for a more convenient syntax for Ropes
<Yoric[DT]> Do you want to handle that?
<pierre_m> has bluestorm started something ?
<pierre_m> in fact I know nothing about camlp4, and I'm far from being a caml guru
<Yoric[DT]> He hasn't answered, so I guess he hasn't started yet.
<Yoric[DT]> That's probably going to require some slightly heavy-duty magic.
<pierre_m> so I don't know what will I end with, that's why I didn't say anything on the list
<pierre_m> I was thinking about keeping an eye on what bluestorm would be doing
<Yoric[DT]> Well, he hasn't been very active since classes started.
<pierre_m> but I can try to do *something* if someone can check if I do things the right way or not
<pierre_m> playing with the syntax sounds a bit dangerous
<Yoric[DT]> I'm willing to give you a hand.
<pierre_m> but since unicode strings are allmost what I need the most, iḿ quite interested
<Yoric[DT]> great
<Yoric[DT]> Lunch-time calls, I'll try and return later.
<pierre_m> bon ap' then
<Yoric[DT]> merci
rwmjones_ has quit ["Closed connection"]
seafood has joined #ocaml
pierre_m has left #ocaml []
* Yoric[DT] is back
Snark_ has joined #ocaml
_andre has joined #ocaml
Snark_ has quit ["Ex-Chat"]
dabd has quit [Remote closed the connection]
malc_ has joined #ocaml
malc_ has left #ocaml []
dabd has joined #ocaml
Camarade_Tux has joined #ocaml
marmotine has joined #ocaml
davidm123 has quit ["ChatZilla 0.9.83 [Firefox 3.0.3/2008092417]"]
Yoric[DT] has quit ["Ex-Chat"]
dabd has quit [Remote closed the connection]
<Camarade_Tux> jonafan, would you actually release your b-tree code ?
<Camarade_Tux> I'll use it if I have enough time :)
<Camarade_Tux> and don't panick, I don't need remove ;p
dabd has joined #ocaml
azi_ has quit [Read error: 110 (Connection timed out)]
seafood has quit []
dabd has quit [Remote closed the connection]
dabd has joined #ocaml
mlh has quit ["brb"]
alexyk has joined #ocaml
alexyk has quit []
Associat0r has joined #ocaml
Axioplase_ is now known as Axioplase
dabd has quit ["Ex-Chat"]
alexyk has joined #ocaml
_zack has quit [Remote closed the connection]
_zack has joined #ocaml
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
itewsh has joined #ocaml
alexyk has quit []
Camarade_Tux_ has joined #ocaml
mishok13 has quit [Connection timed out]
itewsh has quit [Read error: 60 (Operation timed out)]
itewsh has joined #ocaml
dabd has joined #ocaml
Camarade_Tux_ has quit ["Leaving"]
GustNG has joined #ocaml
pierre- has joined #ocaml
pango has quit [Remote closed the connection]
Camarade_Tux has quit [Read error: 110 (Connection timed out)]
pango has joined #ocaml
snhmib has joined #ocaml
GustNG1 has joined #ocaml
bla has quit [No route to host]
itewsh has quit [Connection timed out]
itewsh has joined #ocaml
Camarade_Tux has joined #ocaml
GustNG has quit [Read error: 110 (Connection timed out)]
mbishop has quit [kornbluth.freenode.net irc.freenode.net]
jstash has joined #ocaml
jstash has quit [Client Quit]
mbishop has joined #ocaml
itewsh has quit [Connection timed out]
itewsh has joined #ocaml
mbishop_ has joined #ocaml
mbishop has quit [Read error: 60 (Operation timed out)]
alexyk has joined #ocaml
<jonafan> Camarade_Tux how would i release it?
<Camarade_Tux> jonafan, a nicely packaged library, maybe hosted on forge.ocamlcore.org ? :)
<jonafan> i've never done that
<jonafan> i probably want to make one of those sig things
<flux> camarade_tux, just darcs push it to your web space
* Camarade_Tux is reticent to darcs theories
<flux> whops, I meant jonafan
<Camarade_Tux> jonafan, I have to say it's always a bit annoying, especially the first times as you're not used to it
<flux> darcs is great, everyone should try it.
<Camarade_Tux> but flux is right too, a repository should suffice
<jonafan> anyway, btree isn't really that useful
<Camarade_Tux> flux, *and* I really don't enjoy their homepage, sounds commercial
<jonafan> i think the Map module should be better for most uses
<Camarade_Tux> in fact I hate it
<flux> camarade_tux, darcs has commercial-sounding website?
<Camarade_Tux> jonafan, actually I'd like to try writing xfs on windows, and xfs uses B+-trees ;)
<flux> jonafan, maybe if you add some possibility to map the b-tree into blocks
<Camarade_Tux> (using Dokan, I'm not completely mad)
<flux> and writes, and so on
<jonafan> b+ trees are a little different
<jonafan> IIRC they're btrees with links to the next node, so the tree can be traversed from beginning to end more efficiently
<Camarade_Tux> flux, actually that was one paragraph on the page, seems it got removed/changed though
<Camarade_Tux> that would probably reduce a lot the work needed :)
<Camarade_Tux> (and I don't need that much performance)
<jonafan> how about i just put it on pastebin or something?
<Camarade_Tux> jonafan, pastebin is not that great
<jonafan> okay i'll try to figure out how to do the forge.ocamlcore.org thing
<Camarade_Tux> if you don't feel like doing a complete release (which is absolutely normal), just 'tar czf' it and upload it somewhere :) (* with a license btw ! *)
<jonafan> lgpl?
<Camarade_Tux> jonafan, biq question :p
<Camarade_Tux> but it's usually gpl+static linking exception for ocaml libraries
<Camarade_Tux> hmm, rebooting, be back soon ... or not (kernel fun)
Camarade_Tux has quit ["Leaving"]
pierre- has quit [Connection timed out]
<jonafan> what does that mean
<jonafan> oh well, brb
Camarade_Tux has joined #ocaml
<jonafan> oh
<jonafan> what does gpl + static linking exception mean?
<jonafan> isn't that basically the same as the gpl?
<jonafan> er lgpl
<Camarade_Tux> actually no, I can't remember exactly though
<flux> it's usually lgpl+static linking exception?
<Camarade_Tux> flux, maybe, I can't recall =/ (but that would make more sense, right)
<flux> (although I personally choose bsd, especially for simple things)
<jonafan> maybe i'll go with bsd
<jonafan> i don't have a lot of ties to the code
<Camarade_Tux> you'll probably see me reboot quite often btw
Camarade_Tux has quit ["Leaving"]
Linktim has joined #ocaml
Camarade_Tux has joined #ocaml
GustNG has joined #ocaml
bla has joined #ocaml
Linktim_ has joined #ocaml
Camarade_Tux has quit [Client Quit]
Snark_ has joined #ocaml
Linktim_ has quit [Client Quit]
tomh has joined #ocaml
Camarade_Tux has joined #ocaml
Yoric[DT] has joined #ocaml
<Yoric[DT]> hi again
itewsh has quit [Connection timed out]
<Camarade_Tux> Yoric[DT], hi :)
Submarine has joined #ocaml
Camarade_Tux has quit ["Leaving"]
Linktim has quit [Read error: 113 (No route to host)]
Jedai has joined #ocaml
Camarade_Tux has joined #ocaml
Camarade_Tux has quit [Read error: 104 (Connection reset by peer)]
Camarade_Tux_ has joined #ocaml
GustNG1 has quit [Read error: 110 (Connection timed out)]
<Camarade_Tux_> ok, enough reboots for now, 12 seconds to start my computer is low enough (for today ;p )
vixey has joined #ocaml
Camarade_Tux_ has quit ["Leaving"]
mbishop_ is now known as mbishop
OChameau has quit ["Leaving"]
GustNG has quit ["Leaving."]
Linktim has joined #ocaml
_JusSx_ has joined #ocaml
dabd has quit ["Ex-Chat"]
dabd has joined #ocaml
alexyk has quit []
alexyk has joined #ocaml
Linktim has quit [Read error: 104 (Connection reset by peer)]
Linktim has joined #ocaml
doy has joined #ocaml
alexyk has quit []
<jonafan> wow, 12 seconds
pierre- has joined #ocaml
_zack has quit ["Leaving."]
<Yoric[DT]> of what?
<jonafan> Camarade_Tux's computer apparently boots up that quickly
Linktim_ has joined #ocaml
Linktim has quit [Read error: 110 (Connection timed out)]
Linktim has joined #ocaml
vixey has quit [Read error: 104 (Connection reset by peer)]
rwmjones has quit [Read error: 110 (Connection timed out)]
vixey has joined #ocaml
Linktim_ has quit [Read error: 110 (Connection timed out)]
Snark_ has quit ["Ex-Chat"]
blue_prawn has joined #ocaml
Linktim has quit [Connection timed out]
pierre- has quit [Read error: 110 (Connection timed out)]
Axioplase is now known as Axioplase_
<jonafan> is there really a big advantage to using a sig?
rwmjones has joined #ocaml
dabd has quit [Remote closed the connection]
<blue_prawn> jonafan: hide functions private to a module
<blue_prawn> make a type become abstract
<blue_prawn> functors
<jonafan> i don't like writing comments
mfp_ has joined #ocaml
<blue_prawn> ok, so just write clear code that doesn't need aditional comments :)
<jonafan> sometimes, it just can't be done
mfp has quit [Read error: 110 (Connection timed out)]
<blue_prawn> then choose properly the names for the vars and funs, so they tell what they do
<blue_prawn> or try to insert some humour in your comments
<jonafan> i just realized this is weak because it does not support custom compare functions
<blue_prawn> what are you working on?
<jonafan> btrees
jeddhaberstro has joined #ocaml
_andre has quit ["cya"]
Camarade_Tux has joined #ocaml
christo_m has joined #ocaml
<jonafan> 72 hours?
seafood has joined #ocaml
slash_ has joined #ocaml
seafood has quit []
alexyk has joined #ocaml
Submarine has quit [Remote closed the connection]
<ertai> Is there some CVS guru who knows how to add the exec bit to a commited file
<orbitz> CVS? this sin't 1997 buddy
<ertai> orbitz: sorry, it's the official version control system used by OCaml
<orbitz> crazy french
<blue_prawn> ocaml is older than svn I think
seafood has joined #ocaml
det has quit [Remote closed the connection]
<doy> ertai: cvs doesn't handle file permissions at all
<doy> as far as i know
det has joined #ocaml
alexyk has quit []
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
<blue_prawn> good night
blue_prawn has quit ["Client exiting"]
seafood has joined #ocaml
Camarade_Tux has quit ["Leaving"]
Anarchos has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
* palomer is in love with his new rendering engine
<palomer> who knew placing text on a screen could be such a pain?
<Anarchos> when i compile with 'ocamlmktop -g -custom -w mv -ccopt -L~/beos -vmthread threads.cma ' , i get 'Error while linking /boot/home/config//lib/ocaml/vmthreads/threads.cma(ThreadUnix): Reference to undefined global `Unix''
_JusSx_ has quit ["leaving"]
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
marmotine has quit ["mv marmotine Laurie"]
<ertai> doy: thanks, in fact it use the same permissions as the original file when adding it
<Yoric[DT]> Anarchos: try adding unix.cma before threads.cma .
<ertai> doy: then to change it you have to change permission of the ,v file on the server and commit a fake patch to force updates
<jonafan> my ocamlcore project is approved
<jonafan> now what?
<doy> oh, yeah, i didn't know you had server access
<Anarchos> Yoric[DT] yes it worked !
<Yoric[DT]> :)
<mbishop> ocaml for beos? neat
snhmib has quit ["Good riddance!"]
<Anarchos> mbishop i did it yes, anyway i lack some standard features (graphics, unix, dynlink etc)
<mbishop> unix could be ported to beos, I'd think
<mbishop> I mean, unix works on windows, so I don't see why it couldn't be made to work on beos :P
<Anarchos> there are no chroot or select on file descriptiors for example
ched has quit [Remote closed the connection]
christo_m has quit ["Lost terminal"]
jlouis has joined #ocaml
Axioplase has joined #ocaml
<Yoric[DT]> Actually, I'm not sure that Unix is the right library to use.
<Yoric[DT]> What we need is something higher-level.
<Yoric[DT]> A super-Sys.
<Anarchos> with the explosion of different OS, i guess unix is less and less usable as a global sys library name
pango has quit [Remote closed the connection]
pango has joined #ocaml
Camarade_Tux has joined #ocaml
Anarchos has quit ["Vision[0.8.5-0418]: i've been blurred!"]
hkBst has quit [Read error: 104 (Connection reset by peer)]
Camarade_Tux has quit ["Leaving"]
tab_ has joined #ocaml
tab has quit [Read error: 104 (Connection reset by peer)]
tab has joined #ocaml
tab_ has quit [Read error: 104 (Connection reset by peer)]
Camarade_Tux has joined #ocaml
bohanlon has quit [Remote closed the connection]
Camarade_Tux has quit ["Leaving"]
<Yoric[DT]> 'night everyone
Yoric[DT] has quit ["Ex-Chat"]
vixey has quit ["Leaving"]
alexyk has joined #ocaml
ecc has joined #ocaml
ulfdoz has quit ["deprecated"]
longh has quit [Remote closed the connection]
<doy> i'm trying to do some things with the c bindings for ocaml
<doy> and i can't seem to figure out how to properly access variant types
<doy> that's a minimal example of what i'm trying to do
<doy> and that's the output
<doy> it seems to be figuring out the types correctly, but the values are just nonsense
thermoplyae has joined #ocaml
mfp_ is now known as mfp
<mfp> doy: printf("B %d\n", Bool_val(v)); => you have to use Bool_val(Field(v, 0))
tomh has quit ["http://www.mibbit.com ajax IRC Client"]
Associ8or has joined #ocaml
Associat0r has quit [Read error: 104 (Connection reset by peer)]
alexyk has quit []