00:23
thelema has quit [Remote host closed the connection]
00:24
thelema has joined #ocaml
00:32
ikaros has quit [Remote host closed the connection]
00:45
rn114_ has quit [Remote host closed the connection]
00:55
joewilliams is now known as joewilliams_away
01:18
rfg has joined #ocaml
01:28
fraggle_ has quit [Ping timeout: 260 seconds]
01:31
fraggle_ has joined #ocaml
01:39
Modius_ has joined #ocaml
01:53
gnuvince_ has quit [Ping timeout: 240 seconds]
01:54
gnuvince has quit [Ping timeout: 245 seconds]
02:35
gnuvince has joined #ocaml
02:51
albacker__ has quit [Max SendQ exceeded]
02:51
albacker__ has joined #ocaml
03:07
willb has quit [Ping timeout: 240 seconds]
03:08
willb has joined #ocaml
03:11
hyperboreean has quit [Ping timeout: 272 seconds]
03:12
hyperboreean has joined #ocaml
03:21
boscop_ has joined #ocaml
03:24
boscop has quit [Ping timeout: 264 seconds]
03:57
Tobu has quit [Quit: Leaving.]
05:14
rfg has quit [Quit: rfg]
05:44
ftrvxmtrx has quit [Ping timeout: 250 seconds]
05:52
ulfdoz has joined #ocaml
05:57
ftrvxmtrx has joined #ocaml
06:15
zubeen has joined #ocaml
06:15
<
zubeen >
ocamlfind: `cil' not found
06:16
<
zubeen >
can anyone help me fix this issue?
06:16
<
zubeen >
is this the right place to ask?
07:05
Modius__ has joined #ocaml
07:07
Modius_ has quit [Ping timeout: 240 seconds]
07:07
Modius_ has joined #ocaml
07:10
Modius__ has quit [Ping timeout: 240 seconds]
07:10
Modius__ has joined #ocaml
07:13
Modius_ has quit [Ping timeout: 240 seconds]
07:15
ftrvxmtrx has quit [Ping timeout: 276 seconds]
07:21
ulfdoz has quit [Ping timeout: 255 seconds]
07:27
ftrvxmtrx has joined #ocaml
07:44
Tianon has quit [Read error: Operation timed out]
07:46
ftrvxmtrx has quit [Read error: Connection reset by peer]
07:49
Snark has joined #ocaml
07:53
gnuvince has quit [Ping timeout: 255 seconds]
08:00
Tianon has joined #ocaml
08:00
Tianon has quit [Changing host]
08:00
Tianon has joined #ocaml
08:01
gnuvince has joined #ocaml
08:02
ftrvxmtrx has joined #ocaml
08:43
ftrvxmtrx has quit [Quit: Leaving]
08:45
rwmjones_afk is now known as rwmjones
09:11
zubeen has quit [Ping timeout: 276 seconds]
09:18
Yoric has joined #ocaml
09:21
ttamttam has joined #ocaml
09:49
rwmjones is now known as rwmjones_mtg
10:14
ftrvxmtrx has joined #ocaml
10:39
diml has quit [Ping timeout: 245 seconds]
10:46
_andre has joined #ocaml
11:21
rwmjones_mtg is now known as rwmjones
11:44
rgrig has joined #ocaml
11:53
diml has joined #ocaml
12:02
ikaros has joined #ocaml
12:16
Yoric has quit [Read error: Connection reset by peer]
12:16
Yoric has joined #ocaml
12:35
ttamttam has quit [Remote host closed the connection]
13:10
ftrvxmtrx_ has joined #ocaml
13:10
ftrvxmtrx has quit [Read error: Connection reset by peer]
13:12
Amorphous has quit [Ping timeout: 272 seconds]
13:27
Amorphous has joined #ocaml
13:37
rfg has joined #ocaml
13:47
junis has joined #ocaml
14:02
little_owl1 has joined #ocaml
14:14
<
junis >
what does obama inside mean ?
14:26
<
julm >
read the previous line
14:28
<
junis >
thank you julm ... i get it now
14:28
junis has left #ocaml []
14:42
little_owl1 has left #ocaml []
14:50
ezyang has joined #ocaml
14:51
<
ezyang >
Is it safe to assume that the size of the range of 'int' will always be a power of two?
14:59
<
flux >
I would easily make that assumption :)
15:00
<
flux >
ezyang, add a test to your build process if you're paranoid
15:01
<
ezyang >
flux: Then my second question is, can I programmatically get the max and min values of int from OCaml?
15:01
oriba has joined #ocaml
15:01
avsm has quit [Ping timeout: 255 seconds]
15:02
<
ezyang >
oh, max_int. heh
15:04
<
ezyang >
hur, where are my unsigned ints.
15:07
avsm has joined #ocaml
15:15
Modius__ has quit [Quit: "Object-oriented design" is an oxymoron]
15:34
thieusoai has joined #ocaml
15:37
mfp has quit [Ping timeout: 245 seconds]
15:42
oriba has quit [Quit: Verlassend]
15:44
<
thelema >
ezyang: no have
15:58
mfp has joined #ocaml
15:59
jsk has quit [Remote host closed the connection]
16:15
yezariaely has joined #ocaml
16:16
yezariaely has left #ocaml []
16:25
thomasga has quit [Ping timeout: 240 seconds]
16:27
thomasga has joined #ocaml
16:35
joewilliams_away is now known as joewilliams
16:40
thomasga has quit [Ping timeout: 260 seconds]
16:42
thomasga has joined #ocaml
16:54
ftrvxmtrx_ has quit [Quit: Leaving]
17:03
init1 has joined #ocaml
17:09
thomasga has quit [Quit: Leaving.]
17:28
ftrvxmtrx has joined #ocaml
17:50
<
kaustuv >
Is anyone aware of some library that exports something like this?
17:50
Yoric has quit [Quit: Yoric]
18:05
joewilliams is now known as joewilliams_away
18:25
ulfdoz has joined #ocaml
19:05
rgrig has quit [Quit: Leaving]
19:07
ulfdoz_ has joined #ocaml
19:10
ulfdoz has quit [Ping timeout: 265 seconds]
19:10
ulfdoz_ is now known as ulfdoz
19:20
avsm has quit [Quit: Leaving.]
19:21
rfg has quit [Quit: rfg]
19:31
Yoric has joined #ocaml
19:44
redfire has joined #ocaml
19:48
<
redfire >
i'm trying to use the lib bitstring to analyse a stream and draw some figures
19:48
<
redfire >
the code compiles but nothing happens...
19:48
<
redfire >
can anyone tell me if I do something wrong in this piece of code
19:49
_andre has quit [Quit: leaving]
19:49
<
redfire >
I use input chan from a socket
19:50
<
flux >
hm, has bitstring been able to parse from channels for long?
19:50
<
flux >
maybe it is waiting end of line?
19:50
<
flux >
and what do you mean by 'nothing happens'?
19:50
<
redfire >
it's like if there is nothing in the channel
19:51
<
redfire >
I took this functionnality from the doc with the libpcap
19:51
<
flux >
so, it exits immediately?
19:51
<
flux >
or it keeps waiting?
19:52
<
redfire >
keeps waiting
19:52
<
redfire >
nothing happens after the bitstring_of_input_chan :-(
19:53
<
redfire >
but it works if I use input_line from Pervasives and then bitstring_from_string
19:53
<
redfire >
but it's ugly for my use :S
19:53
<
flux >
I haven't used that bitstring_of_chan, but clearly it is a superior solution, if it works ;)
19:54
<
flux >
rwmjones, any ideas?
20:09
Snark has quit [Quit: Ex-Chat]
20:13
fraggle_ has quit [Remote host closed the connection]
20:18
rfg has joined #ocaml
20:22
fraggle_ has joined #ocaml
20:31
<
flux >
redfire, now it's time to learn how to fix bugs in ocaml programs ;)
20:31
<
flux >
or atlesat inspect if it indeed is a bug or not..
20:32
<
redfire >
I hope I'm doing something wrong :S
20:33
<
redfire >
because this feature can save me for a school project
20:34
<
redfire >
but I'm still looking for why it doesn't work
20:36
<
flux >
redfire, so what exactly do you try to do when it keeps waiting for more input?
20:36
<
flux >
redfire, do you run it like ./proggy < input ?
20:37
<
redfire >
no, I have a server daemon in java wich sends some orders and this is the client
20:38
<
redfire >
it's a game with some targets
20:38
<
flux >
redfire, what I'm after is does your input stream end with an EOF, or do you intend to have an online parser, parsing continuously incoming data?
20:38
<
redfire >
online parser parsing continuously incoming data :-)
20:39
<
redfire >
(don't tell me it's not possible :S)
20:39
<
flux >
well, I'm guessing there is a possibility it's not possible with bitstring..
20:39
<
flux >
but I didn't know there was .. of_chan anyway
20:41
<
redfire >
and it seems to do something similar (with EOF but there are treatments before), isn't it ?
20:41
<
flux >
redfire, have you noticed what the type of Bitstring.t is..
20:41
<
flux >
it's string * int * int
20:41
<
flux >
in other words, it cannot possibly accomodate for an online parser
20:41
<
flux >
I wish someone did make it possible for bitstring to do that, though
20:42
<
redfire >
thank you for this
20:42
<
flux >
but not all is lost
20:42
<
flux >
you could build an online-parser based on that interface
20:42
Anarchos has joined #ocaml
20:42
<
flux >
because the whole state is exposed
20:43
<
redfire >
well as soon as my project is over I think I'm going to look into the source code of this library
20:43
<
flux >
well, there would be trouble at the 'edges' of the buffer
20:43
<
flux >
whenever matching data that is
20:43
<
Anarchos >
adrien my first order verifier is in good shape :)
20:43
<
Anarchos >
i just miss the function to unify formula with a schema
20:43
<
redfire >
ok so I'm going to reuse my hack
20:43
<
flux >
actually that'd be the biggest task as far as I can see.. the refactoring of the rest of the code would be routine.
20:44
<
redfire >
As soon as I can I will see if it's possible to make this possible
20:44
<
redfire >
thank you for your help ;-)
20:46
<
flux >
good luck with your project
20:50
<
Anarchos >
redfire what kind of project ?
20:52
<
redfire >
A part of the project consists of analysing a stream from the network
20:53
<
redfire >
and for this I wanted to use the lib bitstring to parse a continuous stream
20:53
<
redfire >
but it does'nt seem possible without a modification for the moment
20:54
<
redfire >
so I'm just going to use input_line and then the lib, I will see later how this lib works internally
20:58
mfp has quit [Ping timeout: 245 seconds]
21:04
rfg has quit [Ping timeout: 245 seconds]
21:08
rfg has joined #ocaml
21:10
mfp has joined #ocaml
21:14
bzzbzz has joined #ocaml
21:19
aklt has joined #ocaml
21:22
lamawithonel has quit [Ping timeout: 255 seconds]
21:24
* palomer
is about to use his first for loop in ocaml
21:33
Yoric has quit [Quit: Yoric]
21:35
rfg has quit [Ping timeout: 245 seconds]
21:40
init1 has quit [Quit: Quitte]
21:47
rfg has joined #ocaml
21:48
strlen has quit [Ping timeout: 276 seconds]
21:48
ikaros has quit [Quit: Leave the magic to Houdini]
21:53
ulfdoz has quit [Ping timeout: 240 seconds]
22:01
lpereira has joined #ocaml
22:15
ftrvxmtrx has quit [Quit: Leaving]
22:15
ftrvxmtrx has joined #ocaml
22:32
Anarchos has quit [Ping timeout: 255 seconds]
22:49
lamawithonel has joined #ocaml
22:54
redfire has quit [Quit: Lost terminal]
23:04
lpereira has quit [Quit: Leaving.]
23:19
ikaros has joined #ocaml
23:28
rfg has quit [Quit: rfg]
23:47
rfg has joined #ocaml
23:51
aklt has quit [Quit: leaving]