<sgnb>
ah, ok... it should be documented in the Debian package
<adrien>
I'll build the newer version and put it in my own path, I'll see for godi later on
<sgnb>
done
oriba has joined #ocaml
Smerdyakov has quit [Quit: Leaving]
oriba has quit [Ping timeout: 240 seconds]
_unK has quit [Remote host closed the connection]
Yoric has quit [Quit: Yoric]
Yoric has joined #ocaml
iratsu has quit [Ping timeout: 258 seconds]
iratsu has joined #ocaml
sepp2k has joined #ocaml
Yoric has quit [Quit: Yoric]
Yoric has joined #ocaml
Yoric has quit [Remote host closed the connection]
Yoric has joined #ocaml
Anarchos has quit [Quit: kids need attention]
joewilliams_away is now known as joewilliams
joewilliams is now known as joewilliams_away
joewilliams_away is now known as joewilliams
iago has joined #ocaml
v1sor has joined #ocaml
v1sor has left #ocaml []
LinkRage has joined #ocaml
<LinkRage>
"Error: Cannot find file /usr/local/lib/ocaml/site-lib/netclient/netclient.cmxa" I've just installed ocamlnet-3.0.0 from source on freebsd 8.1 but the only similar filename I have actually is "netclient.cma"
<LinkRage>
I see that error when I try building 3rd party app
<LinkRage>
do you have any suggestions please, creating symlink netclient.cmxa -> netclient.cma generates: Error: The file netclient.cmxa is not a compilation unit description
<adrien>
LinkRage: you don't have the native code libraries for ocamlnet, typically, 'make opt'
<LinkRage>
I see
<LinkRage>
ok thank you
<LinkRage>
yes I noticed 'make opt' but I didn't know I would need it
<LinkRage>
adrien, thanks. I'll recompile it etc.
<adrien>
"opt", because it is created with "ocamlopt"
<LinkRage>
I see
<LinkRage>
I'm pretty new to everything ocaml related as you can see.
<LinkRage>
and I would like to thank you guys because here is this chan you are helping me out for the 2nd time, no matter I'm not ocaml developer etc. So thank all again. Great community.
<adrien>
heh =)
<LinkRage>
no, seriously ! I'm happy meet such people :)
<gildor>
LinkRage: if it is not secret, what are you compiling as a 3rd party app?
ygrek has quit [Ping timeout: 245 seconds]
<LinkRage>
gildor, liquidsoap is the app that's based on ocaml
<gildor>
ok
<gildor>
nice ap
<gildor>
p
SEcki has joined #ocaml
<LinkRage>
it's a grated app for netradios and I think ocamls is also great since I see the great features liquidsoap has
<LinkRage>
great* ; yep :)
<gildor>
;-)
<gildor>
hope you are right! (well I do think so, but I hope more people will think like you in the future ;-)
<LinkRage>
cool I just recompiled ocamlnet and now last.fm submitting seem to be working fine :)
<LinkRage>
I:)
<adrien>
LinkRage: is there any reason you're trying with ocamlnet 3 so quickly?
<LinkRage>
that's the version I found as higher number - no any specific reason ;)
<gildor>
(ocamlnet 3.0 is a long awaited version, there are maybe still some bugs in it)
<adrien>
ah, ok, I was wondering because it was released very recently (few days?)
<LinkRage>
hm, so I shoul use the old 2.2 or something you're saying
<LinkRage>
I think I would do that then
<gildor>
LinkRage: well if you hit a bug, report and go back to 2.2 ;-)
<adrien>
exactly :-)
<gildor>
hopefully, you won't be able to discover one
<gildor>
(and get the speed increase of ocamlnet 3.0)
joewilliams is now known as joewilliams_away
<LinkRage>
I hope so. I'm finally building a production server for my future radio so I hope that no bugs would be found :)
<LinkRage>
gildor, 10x for the note in () :)
<LinkRage>
because I just started tar zxvf ocamlnet-2.2.9.tar.gz :D but ok I'll use 3.0 then :)
<gildor>
I think the speed increase will vary from an OS to the other, I am not sure FreeBSD will get as much as Linux
<LinkRage>
I agree
vpalle__ has joined #ocaml
<LinkRage>
but as far as I know the only think ocamlnet is needed for here in liquidsoap in my case is submitting last player & currently playing tracks to lasf.fm - so if it works, but it's slow - not a big issue at all :)
<adrien>
speed increase regarding what?
<adrien>
LinkRage: also, there's 3.0.1 which solves two 3.0.0. bugs
<gildor>
AIO for example
ygrek has joined #ocaml
<LinkRage>
I don't know I was just saying that the only reason I'm using ocamlnet is submitting to last.fm :)
<LinkRage>
ok 10x
<adrien>
oh, right
<adrien>
as far as I'm concerned, I'm after the camlboxes (fast exchange of data between ocaml processes) =)
<adrien>
the '[] -> ([], [])' shows that your function returns a (list * list)
<adrien>
also, get_left should be written 'let get_left (a, b) = a'
<adrien>
but get_left is also 'fst' which is in the standard library ;-)
<adrien>
I'm not sure what you want to do but you probably want to write: | x :: xs -> let q = unzip xs in (fst x :: (fst (unzip q))), (snd x :: (snd (unzip q)))
<adrien>
(with more parens than needed btw)
<uho_>
(fst x :: (fst (unzip (unzip xs))) <= I don't really understand this :/
<uho_>
why unzip (unzip xs)?
<adrien>
argh, I meant: (fst x :: fst q) (and same for snd)
<adrien>
sorry
joewilliams_away is now known as joewilliams
<thelema>
| (a,b) :: xs -> let atl,btl = unzip xs in (a::atl),(b::btl)
<adrien>
right, better that way
<uho_>
ah, that makes much more sense
<uho_>
thanks thelema
<thelema>
n/p
<uho_>
why didn't I see that.. haha
<thelema>
the power of pattern matching
<thelema>
now the next step is to write it w/ tail recursion
<Anarchos>
thelema accumulator ?
<thelema>
Anarchos: exactly
<MarcWeber>
Can I derive Show for a custom set using deriving ?
<gildor>
Anarchos, thelema: w/ tail recursion depends on the size of your input
<gildor>
i.e. if the input list is small, there is no need to complicate the function with an acc
<thelema>
gildor: of course
Smerdyakov has joined #ocaml
<Anarchos>
no expert of Systhreads herer ?
jakedouglas has joined #ocaml
<flux>
gildor, the problem is that sometimes you guess wrong :)
smimou has quit [Quit: bli]
SEcki has quit [Ping timeout: 265 seconds]
drunK has joined #ocaml
_unK has quit [Ping timeout: 276 seconds]
smimou has joined #ocaml
Edward has joined #ocaml
chee has joined #ocaml
init1 has quit [Quit: Quitte]
Yoric has joined #ocaml
Smerdyakov has quit [Quit: Leaving]
drunK is now known as _unK
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
omfgwtf has joined #ocaml
thelema_ has joined #ocaml
sgnb has left #ocaml []
sgnb has joined #ocaml
Yoric has quit [*.net *.split]
chee has quit [*.net *.split]
uho_ has quit [*.net *.split]
coucou747 has quit [*.net *.split]
thelema has quit [*.net *.split]
thomasga has quit [*.net *.split]
mal`` has quit [*.net *.split]
maharba has quit [*.net *.split]
Yoric_ has joined #ocaml
coucou747 has joined #ocaml
chee has joined #ocaml
thomasga has joined #ocaml
maharba has joined #ocaml
maharba has left #ocaml []
joewilliams is now known as joewilliams_away
ygrek has quit [Remote host closed the connection]
oriba has joined #ocaml
vpalle has joined #ocaml
mal`` has joined #ocaml
vpalle has quit [Ping timeout: 252 seconds]
sepp2k has quit [Quit: Leaving.]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
Yoric_ has quit [Quit: Yoric_]
teiresias has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
verte has joined #ocaml
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 264 seconds]
smimou has quit [Quit: bli]
ikaros has quit [Quit: Leave the magic to Houdini]
kaustuv has quit [Read error: Operation timed out]