dark_light changed the topic of #ocaml to: OCaml 3.09.2 available! Archive of Caml Weekly News: http://sardes.inrialpes.fr/~aschmitt/cwn/ | A free book: http://cristal.inria.fr/~remy/cours/appsem/ | Mailing List: http://caml.inria.fr/bin/wilma/caml-list/ | Cookbook: http://pleac.sourceforge.net/
ita has quit ["later"]
Mr_Awesome has joined #ocaml
smimou has quit ["bli"]
yondalf has joined #ocaml
danly has quit ["Leaving"]
beschmi has quit [Read error: 113 (No route to host)]
menace has quit [Read error: 104 (Connection reset by peer)]
jajs has quit [Remote closed the connection]
malc_ has quit ["leaving"]
sponge45 has joined #ocaml
yondalf_ has joined #ocaml
yondalf has quit [Read error: 104 (Connection reset by peer)]
Skal has quit [Read error: 104 (Connection reset by peer)]
beschmi has joined #ocaml
danly has joined #ocaml
buluca is now known as unimib
unimib is now known as buluca
<Mr_Awesome> this channel is always dead
<buluca> Mr_Awesome: not always
<Mr_Awesome> usually
<buluca> Mr_Awesome: it depends on your timezone :)
<Mr_Awesome> very true
<Mr_Awesome> anyone on linux with glut that wants to test my ocaml game?
<buluca> there's me
<buluca> debian unstable
<buluca> amd64
<Mr_Awesome> hmm
<Mr_Awesome> im on an amd athlon 32bit
<Mr_Awesome> i hope it works
<buluca> how does it compile?
<Mr_Awesome> i included a binary
<buluca> what's your command line for compiling?
<Mr_Awesome> you need camlimages and lablgl for compilation
<buluca> I've all that stuff :)
<Mr_Awesome> ocamlc -g -I +lablGL -I +camlimages lablgl.cma lablglut.cma ci_core.cma ci_png.cma pumpkin.ml -o pumpkin
<Mr_Awesome> you might need to use lablgl instead of lablGl
<buluca> it works :)
<Mr_Awesome> sweet :)
<Mr_Awesome> do you like it?
<buluca> I have some trouble with video drivers, so I can't really play, but the graphics is nice :)
<Mr_Awesome> thanks, i spent a lot of time on them :)
yondalf_ has quit [Read error: 110 (Connection timed out)]
chessguy has joined #ocaml
yondalf_ has joined #ocaml
<sponge45> Mr_Awesome, your game is awesome!
<Mr_Awesome> sponge45: thanks :)
sponge45 has quit ["zzzzzzzzzz"]
Smerdyakov has quit ["Leaving"]
yondalf_ has quit [Read error: 110 (Connection timed out)]
chessguy has quit [" Like VS.net's GUI? Then try HydraIRC -> http://www.hydrairc.com <-"]
chessguy has joined #ocaml
chessguy has quit [" HydraIRC -> http://www.hydrairc.com <- IRC for those that like to be different"]
pango_ has joined #ocaml
Mr_Awesome has quit ["...and the Awesome level drops"]
pango has quit [Remote closed the connection]
sponge45 has joined #ocaml
beschmi has quit ["Leaving"]
gene9 has joined #ocaml
ikaros has quit [Read error: 60 (Operation timed out)]
shawn__ has quit [Read error: 110 (Connection timed out)]
shawn__ has joined #ocaml
dibblego has joined #ocaml
<dibblego> Practical O'Caml gets a bad review on Amazon - is it really that bad?
ikaros has joined #ocaml
gene9 has quit [Remote closed the connection]
gene9 has joined #ocaml
joshcryer has joined #ocaml
danly has quit ["Leaving"]
pango_ has quit [Remote closed the connection]
pango has joined #ocaml
_fab has joined #ocaml
yondalf has joined #ocaml
gene9 has quit [Read error: 104 (Connection reset by peer)]
Leonidas has joined #ocaml
<flux__> link?
<flux__> (I haven't seen the book, or any dead wood-form book of ocaml for that matter)
<dibblego> I can't read/learn as effectively from a computer screen - I prefer books
yondalf has quit [Connection timed out]
dark_light has joined #ocaml
slipstream has quit [Read error: 104 (Connection reset by peer)]
slipstream has joined #ocaml
dibblego has quit [Remote closed the connection]
malc_ has joined #ocaml
pango has quit [Excess Flood]
pango has joined #ocaml
sponge45 has quit ["zzzzzzzzzz"]
malc_ has quit ["leaving"]
smimou has joined #ocaml
swater has joined #ocaml
ikaros_ has joined #ocaml
ikaros has quit [Read error: 104 (Connection reset by peer)]
ikaros_ has quit ["Leaving"]
ikaros has joined #ocaml
Skal has joined #ocaml
ikaros has quit ["Leaving"]
Skal has quit [Read error: 104 (Connection reset by peer)]
descender has joined #ocaml
ikaros has joined #ocaml
chessguy has joined #ocaml
<flux__> the reviews do seem to be very bad for the book
<flux__> atleast the first review was written by someone who's written dozens of them
<flux__> the second one is the sole review
<flux__> although all the other reviews except for one get 5 stars, and the one gets 4 stars :)
<flux__> maybe the guy's a review-for-hire guy ;)
Sweetsha1k has joined #ocaml
<flux__> although most of the reviews are on the topic (computer science, signal processing)
Sweetshark has quit [Read error: 60 (Operation timed out)]
Smerdyakov has joined #ocaml
<Leonidas> flux__: yeah, I haven't read the book (wanted to learn the language from it) but this seems to be quite bad. I'm hoping for more reviews on that topic.
datrus has quit ["leaving"]
<flux__> leonidas, what kind of background do you have?
<Leonidas> flux__: background in the field of imperative programming languages like Pascal, Visual Basic, Ruby and most notably Python.
<Leonidas> flux__: I thought about expanding my horizons by learning another useful language which has some other approach.
<Leonidas> flux__: that's why I was interessated in that "Practical" part of the book. I heard the Practical Common Lisp book was good and hoped the ocaml book would be also good
<flux__> leonidas, when I was beginning I found the tutorial nowadays at http://www.ocaml-tutorial.org/ helpful
<flux__> it attempts to relate somewhat with a c-programmer though, I suppose pascal is the closest in your palette
<Leonidas> Yeah, got to check it out :)
<stesch> flux__: Not easy to read this tutorial in bed or on the loo. :-)
<flux__> stesch, print it out ;)
<pango> So from what I understand, and for what it's worth, Richard W.M. Jones (of Merjis/ocaml-tutorial.org/ocaml beginners ml/... fame) was technical reviewer on this book
setog3 has quit [Read error: 113 (No route to host)]
beschmi has joined #ocaml
<flux__> I'm not sure how much that means
<flux__> maybe he did fact checking, it doesn't mean the book is any good :)
<pango> yet if the reviews say the book doesn't even get some facts right, that's strange... Not impossible, of course
<stesch> A bad book is better than no book at all. I like to combine different sources when learning a languages.
<Smerdyakov> stesch, a bad enough book is worse than no book!
<stesch> And there's not much choice when you want to have a book about OCaml and your French isn't good enough. :-)
<Smerdyakov> OCaml will be superceded by Coq soon, anyway, and the Coq'Art book is pretty good. ;)
<stesch> I'm programming for 22 years now. I can deal with a bad book.
<Smerdyakov> It surprises me to realize that I've been programming for only a little less than that. :)
fred_ has joined #ocaml
<fred_> hello, Do you have a clue on how I can do a *non-blocking* lexer ?
<Smerdyakov> fred_, what would the advantage of that be?
<fred_> I tried with ocamllex and write a function who raise and exception when the fd is empty
<fred_> that is to write a server
<fred_> I prefer not using threads
<Smerdyakov> You might want to go for camlp4.
<fred_> to write the lexer ? with genlex ?
<flux__> fred_, I used the the approach of reading one line and passing that to the parser.. might not be always the solution, though
<Smerdyakov> I don't really know.
<fred_> ok
<fred_> flux__: that can be an quick solution for me
<fred_> thank you :)
<flux__> otherwise, without threads, it can be difficult
<flux__> but one other option would be to run your server in the 'get more input'-function
<fred_> you mean the refill function of Lexing ?
<flux__> yes
<fred_> ha
<fred_> not possible, I have several lexers
<fred_> or, maybe there is a simple way to do IPC/RPC, in fact I just want to pass messages...
<flux__> I mean, you could provide your own lexbuf-structure
<fred_> but a simple text protocol sound nice
<fred_> hu...
<fred_> the problem is in the C part (c_engine) of the lexer,
<fred_> when I continue after a EAGAIN (means no data in the fd, try again),
<fred_> previous part of the regex is missing...
<fred_> Ithink I will do it line by line
<fred_> I would like to use Genlex, but it seams to match comments delimiters (* and *)
<fred_> that means I need to escape it
<fred_> ok
<Leonidas> Smerdyakov: Coq?
<Smerdyakov> Leonidas, Coq!
<Leonidas> Smerdyakov: that's this? Another language named after an animal?
<Smerdyakov> Coq is a system for everything. :)
mattam has joined #ocaml
mattam has quit [Client Quit]
<Leonidas> Smerdyakov: aha.. ok, thanks (adding this to the todo list of things to check out some day)
mattam has joined #ocaml
pango has quit ["Leaving"]
pango has joined #ocaml
mikeX has joined #ocaml
chessguy has quit [" Want to be different? HydraIRC -> http://www.hydrairc.com <-"]
pango has quit [Remote closed the connection]
pango has joined #ocaml
jajs has joined #ocaml
Slack4020 has quit [No route to host]
Slack4020 has joined #ocaml
swater has quit [Read error: 110 (Connection timed out)]
swater_ has joined #ocaml
Slack4020 has quit [Read error: 104 (Connection reset by peer)]
Slack4020 has joined #ocaml
Slack4020 has quit [Client Quit]
dbueno has joined #ocaml
<Leonidas> flux__: ping
<Leonidas> flux__: here are some more short reviews: http://lambda-the-ultimate.org/node/1803
mellum has joined #ocaml
<pango> not a lot are about the book itself
dbueno has quit ["Leaving"]
<Leonidas> pango: but still some words that sound more positive than the amazon reviews
<pango> not too difficult ;)
sponge45 has joined #ocaml
Leonidas has quit ["An ideal world is left as an exercise to the reader"]
danly has joined #ocaml
mpc has joined #ocaml
jajs has quit [Read error: 104 (Connection reset by peer)]
fred_ has quit [Read error: 145 (Connection timed out)]
fremo has joined #ocaml
malc_ has joined #ocaml
Skal has joined #ocaml
swater_ has quit ["Quat"]
Leonidas has joined #ocaml
sponge45 has quit ["zzzzzzzzzz"]
Leonidas has left #ocaml []
beschmi has quit ["Leaving"]