emu has quit [leguin.freenode.net irc.freenode.net]
mattam has quit [leguin.freenode.net irc.freenode.net]
Zadeh has quit [leguin.freenode.net irc.freenode.net]
vegai has quit [leguin.freenode.net irc.freenode.net]
docelic|sleepo has quit [leguin.freenode.net irc.freenode.net]
Yurik has quit [leguin.freenode.net irc.freenode.net]
asqui has quit [leguin.freenode.net irc.freenode.net]
foxster has quit [leguin.freenode.net irc.freenode.net]
wax has quit [leguin.freenode.net irc.freenode.net]
themus has quit [leguin.freenode.net irc.freenode.net]
liyang has quit [leguin.freenode.net irc.freenode.net]
smklsmkl has quit [leguin.freenode.net irc.freenode.net]
Riastradh has quit [leguin.freenode.net irc.freenode.net]
rox has quit [leguin.freenode.net irc.freenode.net]
reltuk has quit [leguin.freenode.net irc.freenode.net]
Smerdyakov has quit [leguin.freenode.net irc.freenode.net]
cDlm has quit [leguin.freenode.net irc.freenode.net]
mrvn has quit [leguin.freenode.net irc.freenode.net]
mellum has quit [leguin.freenode.net irc.freenode.net]
teratorn has quit [leguin.freenode.net irc.freenode.net]
lam has quit [leguin.freenode.net irc.freenode.net]
pattern_ has quit [leguin.freenode.net irc.freenode.net]
drlion has quit [leguin.freenode.net irc.freenode.net]
Smerdyakov has joined #ocaml
mattam has joined #ocaml
rox has joined #ocaml
Riastradh has joined #ocaml
reltuk has joined #ocaml
Zadeh has joined #ocaml
cDlm has joined #ocaml
vegai has joined #ocaml
mrvn has joined #ocaml
docelic|sleepo has joined #ocaml
lam has joined #ocaml
Yurik has joined #ocaml
mellum has joined #ocaml
teratorn has joined #ocaml
asqui has joined #ocaml
pattern_ has joined #ocaml
foxster has joined #ocaml
drlion has joined #ocaml
emu has joined #ocaml
wax has joined #ocaml
smklsmkl has joined #ocaml
liyang has joined #ocaml
themus has joined #ocaml
<reltuk>
time for some fun ocaml hacking :)
<teratorn>
what would be the best way to read all of stdin into a buffer?
Smerdyakov has quit ["sleep"]
m[kel[ has joined #ocaml
Zadeh has quit [Read error: 104 (Connection reset by peer)]
m[kel[ has quit [Remote closed the connection]
Riastradh has quit [leguin.freenode.net irc.freenode.net]
rox has quit [leguin.freenode.net irc.freenode.net]
reltuk has quit [leguin.freenode.net irc.freenode.net]
teratorn has quit [leguin.freenode.net irc.freenode.net]
mrvn has quit [leguin.freenode.net irc.freenode.net]
cDlm has quit [leguin.freenode.net irc.freenode.net]
mellum has quit [leguin.freenode.net irc.freenode.net]
pattern_ has quit [leguin.freenode.net irc.freenode.net]
drlion has quit [leguin.freenode.net irc.freenode.net]
lam has quit [leguin.freenode.net irc.freenode.net]
smklsmkl has quit [Remote closed the connection]
liyang_ has joined #ocaml
vegai_ has joined #ocaml
det has joined #ocaml
m[kel[ has joined #ocaml
Riastradh has joined #ocaml
reltuk has joined #ocaml
lam has joined #ocaml
pattern_ has joined #ocaml
drlion has joined #ocaml
Riastradh has quit [leguin.freenode.net irc.freenode.net]
m[kel[ has quit [leguin.freenode.net irc.freenode.net]
det has quit [leguin.freenode.net irc.freenode.net]
reltuk has quit [leguin.freenode.net irc.freenode.net]
drlion has quit [leguin.freenode.net irc.freenode.net]
pattern_ has quit [leguin.freenode.net irc.freenode.net]
lam has quit [leguin.freenode.net irc.freenode.net]
Zadeh has joined #ocaml
cDlm has joined #ocaml
mrvn has joined #ocaml
mellum has joined #ocaml
teratorn has joined #ocaml
rox has joined #ocaml
mattam has quit [Broken pipe]
liyang has quit [Broken pipe]
vegai has quit [Success]
docelic|sleepo has quit [Excess Flood]
mattam has joined #ocaml
det has joined #ocaml
m[kel[ has joined #ocaml
Riastradh has joined #ocaml
reltuk has joined #ocaml
lam has joined #ocaml
pattern_ has joined #ocaml
drlion has joined #ocaml
lam has quit ["Reconnecting"]
lam has joined #ocaml
<lam>
hi
docelic|sleepo has joined #ocaml
rhil_ATL is now known as rhil|atl_ap
lam has quit [leguin.freenode.net irc.freenode.net]
Riastradh has quit [leguin.freenode.net irc.freenode.net]
m[kel[ has quit [leguin.freenode.net irc.freenode.net]
det has quit [leguin.freenode.net irc.freenode.net]
reltuk has quit [leguin.freenode.net irc.freenode.net]
drlion has quit [leguin.freenode.net irc.freenode.net]
pattern_ has quit [leguin.freenode.net irc.freenode.net]
Garen has joined #ocaml
Yurik_ has joined #ocaml
Yurik has quit ["Client exiting"]
asqui has quit [Excess Flood]
Zadeh has quit [Connection reset by peer]
Garen has quit [Killed (zelazny.freenode.net (leguin.freenode.net <- clarke.freenode.net))]
smklsmkl has joined #ocaml
lam has joined #ocaml
det has joined #ocaml
Riastradh has joined #ocaml
reltuk has joined #ocaml
pattern_ has joined #ocaml
drlion has joined #ocaml
asqui has joined #ocaml
cDlm_ has joined #ocaml
cDlm has quit [Killed (NickServ (Ghost: cDlm_!cdlm@lns-p19-7-82-65-222-219.adsl.proxad.net))]
Zadeh has joined #ocaml
cDlm_ is now known as cDlm
Yurik_ has quit [leguin.freenode.net irc.freenode.net]
docelic|sleepo has quit [leguin.freenode.net irc.freenode.net]
mattam has quit [leguin.freenode.net irc.freenode.net]
wax has quit [leguin.freenode.net irc.freenode.net]
themus has quit [leguin.freenode.net irc.freenode.net]
foxster has quit [leguin.freenode.net irc.freenode.net]
docelic|sleepo has joined #ocaml
Yurik_ has joined #ocaml
mattam has joined #ocaml
wax has joined #ocaml
themus has joined #ocaml
docelic|sleepo is now known as docelic
lus|wazze has joined #ocaml
IRCMonkey has joined #ocaml
IRCMonkey has quit [Client Quit]
polin8 has joined #ocaml
systems has joined #ocaml
systems has left #ocaml []
jao has joined #ocaml
vegai_ is now known as vegai
jao has quit ["leaving"]
madroach has joined #ocaml
cDlm has quit [Read error: 60 (Operation timed out)]
madroach has quit ["leaving"]
det has quit [Remote closed the connection]
TachYon has joined #ocaml
Riastradh has quit ["Changing server"]
Smerdyakov has joined #ocaml
Riastradh has joined #ocaml
Smerdyakov has quit ["moving"]
cDlm has joined #ocaml
default has joined #ocaml
<default>
hello
default is now known as sproctor
Jabberwoc has joined #ocaml
<Jabberwoc>
hi
<sproctor>
hi
<Jabberwoc>
Say, I'm a newcomer to Ocaml. I just tried to start the graphics-library, but although I loaded it properly, he tells me that open-graph is unbound
<Jabberwoc>
What's the matter? (ver 3.06, Linux)
<Jabberwoc>
# #load "graphics.cma";;
<Jabberwoc>
# open_graph "";;
<Jabberwoc>
Unbound value open_graph
<Riastradh>
Use qualified names, or 'open Graphics;;'.
<Riastradh>
e.g.:
<Riastradh>
# #load "graphics.cma";;
<Riastradh>
# Graphics.open_graph "";;
<Jabberwoc>
Aaaahh... Thanks :)
<Riastradh>
Or:
<Riastradh>
# open Graphics;;
<Riastradh>
# open_graph "";;
<sproctor>
is there a way to say that a class implements multiple interfaces?
* Riastradh
generally subclasses multiple virtual classes instead.
<sproctor>
hmmm... I think we had some reason for using interfaces, though I can't exactly remember it right now.
<sproctor>
no, probably not.
<sproctor>
so I'll take it that it's not possible to say that a class implements multiple interfaces and we should use subclasses instead?
<Riastradh>
That's what I do.
<sproctor>
thanks
<mrvn>
Interfaces are for modules.
<mrvn>
afaik
gl has joined #ocaml
<Riastradh>
I think he probably means 'class types.'
<sproctor>
yeah, I meant class types.
sproctor has quit ["Client exiting"]
<teratorn>
well you could implement your own interface resolution api
foxster has joined #ocaml
<teratorn>
most languages don't have built-in support for interfaces and adapters
Vincenz has joined #ocaml
<Vincenz>
Hiya
<teratorn>
hi
<Vincenz>
I'm trying to decide on a linux-distro
<teratorn>
debian. but i'm not about explain why, see the website.
<vegai>
gentoo
<vegai>
unless you don't have time
<Vincenz>
I have gentoo at the moment
<Vincenz>
there's not many packages tho
<vegai>
ok, if that's what you need, debian
<vegai>
Vincenz: what is missing from gentoo that you need, btw?
<Vincenz>
I can't recall, but I remember trying to intall some basic app and it didn't exist
<Vincenz>
I think it was a mud-client for kde or gnome
<vegai>
kinda vague, but I won't argue
<vegai>
debian's a fine, mature choice
d-bug has joined #ocaml
<Vincenz>
people have suggested mandrake
<vegai>
that I won't
<Vincenz>
what's debian got that mandrake doesn't?
<vegai>
well, I haven't used debian for ~2 years and mandrake ever
<teratorn>
mandrake has rpm, nuff said ;)
<teratorn>
dont' you still have to download rpm's manually?
<Vincenz>
but the control center takes care of dependencies
<vegai>
unfortunately, the only way to know is to test
<vegai>
since you already pointed that you don't like gentoo, I can't imagine what you could like ;D
<teratorn>
can it remember which deps were automatically installed (if it can even do that), and uninstall those deps along with the package?
<Vincenz>
not sure
<Vincenz>
I'm just referring what a friend toldm e
<Vincenz>
he told me mandrake
<Vincenz>
this other guy told me debian
<Vincenz>
and people on irc have been telling me debian
<teratorn>
well i havn't used redhat or mandrake for several years
<teratorn>
one piece of advice about installing. when you select which packages to install, I find it much easier to skip using deselect and only install a bare minimal-working system. then just use aptitude to install the stuff i actually use later.
<Vincenz>
testing or stable?
<teratorn>
i install the base system from stable
<Vincenz>
alright
<teratorn>
and everything else, except those packages that i want the latest version of
<teratorn>
then you can selectively instlall things out of testing or unstable
<Vincenz>
hmm
<Vincenz>
which version should I use of the netinst cd's?
<teratorn>
the latest stable version i suppose
mrvn_ has joined #ocaml
Vincenz has quit ["Booting to Gentoo"]
mrvn has quit [Read error: 60 (Operation timed out)]
<reltuk>
anyone got good PCM send and routing levels for an audigy live?
<reltuk>
alsa and the live start distorting if I kick master and pcm too high unless I tweak them
<reltuk>
whoops, obviously wrong channel :-p
Vincenz has joined #ocaml
Vincenz has quit [Client Quit]
Vincenz has joined #ocaml
<teratorn>
what's the most straight-forward way to read everything off stdin into a buffer?
<Vincenz>
String.of_stream...or something like that, forgot the exact name
<Vincenz>
never mind, that's the other way aruond
Vincenz has quit [Read error: 104 (Connection reset by peer)]
Vincenz has joined #ocaml
Vincenz has quit [Read error: 104 (Connection reset by peer)]
Vincenz has joined #ocaml
Vincenz has quit ["Installing Mandrake"]
d-bug has left #ocaml []
TachYon has quit [Remote closed the connection]
cDlm_ has joined #ocaml
cDlm has quit [Killed (NickServ (Ghost: cDlm_!cdlm@lns-p19-18-82-65-114-10.adsl.proxad.net))]
cDlm_ is now known as cDlm
lus|wazze has quit ["Syntactic sugar causes cancer of the semicolon"]
lus|wazze has joined #ocaml
Vincenz has joined #ocaml
<teratorn>
anyone around?
<lus|wazze>
<--
<Vincenz>
<--
<Riastradh>
<--
<lus|wazze>
=)
<Riastradh>
(=
<teratorn>
what's a good way to read each line off a channel and create a list of lines?
<Riastradh>
Oops, unbalanced parentheses.
<teratorn>
i saw an example of that in a tutorial someone, but now i cant find it again to save my life
<teratorn>
s/someone/somewhere
<Riastradh>
Read lines until you hit an EOF.
<teratorn>
and i how do i create the list though?
<Riastradh>
let lines channel = match read_line channel with
<lus|wazze>
let lines chan = let rec iter sofar = try let l = input_line chan in iter (l :: sofar) with End_of_file -> List.reverse sofar in iter [];;
<Riastradh>
Bah.
<lus|wazze>
or something like that
<Riastradh>
End_of_file -> []
<Riastradh>
Er.
* Riastradh
erases that line before anyone notices.
<teratorn>
ok thanks
Vincenz has quit [Read error: 104 (Connection reset by peer)]
Zadeh has quit [Read error: 54 (Connection reset by peer)]
Zadeh has joined #ocaml
Vincenz has joined #ocaml
Vincenz has quit ["Booting back to mandrake"]
Vincenz has joined #ocaml
jao has joined #ocaml
Vincenz has quit ["Sleep :("]
<Jabberwoc>
Thanks for your help, bye.
Jabberwoc has quit ["Client Exiting"]
<teratorn>
hehhe
karryall has joined #ocaml
TachYon has joined #ocaml
Zadeh has quit [Read error: 104 (Connection reset by peer)]