00:07
f[x] has joined #ocaml
00:10
toomuchtvrotsurb has joined #ocaml
00:14
damason has joined #ocaml
00:20
groovy2shoes has joined #ocaml
00:31
larhat2 has joined #ocaml
00:32
badon_ has joined #ocaml
00:32
badon has quit [Disconnected by services]
00:32
badon_ is now known as badon
00:33
madroach has quit [Ping timeout: 246 seconds]
00:34
larhat has quit [Ping timeout: 260 seconds]
00:35
madroach has joined #ocaml
00:39
groovy2shoes has quit [Quit: Leaving]
00:40
groovy2shoes has joined #ocaml
00:40
<
apache2_ >
speaking of black magic, why is there a function called Array.make_float ?
00:43
<
zozozo >
apache2_: just a guess but because float arrays have a specific representation in ocaml
00:44
<
zozozo >
so that float are not boxed in a float array
00:50
Major_Bi1 has quit [Quit: WeeChat 1.3]
00:52
<
zozozo >
apache2_: from what I know and/or see in the compiler source (cf byterun/array.c), there are a lot of special cases for float arrays pretty much in all of the array functions
00:54
<
apache2_ >
it seems rather unclean to me to make float arrays from uninitialized memory
00:54
<
apache2_ >
why would you not initialize it to 0?
00:55
<
apache2_ >
that uninitialized memory might be my usernames + passwords, and the float array may get printed in my web application
00:55
<
apache2_ >
it seems to me that stuff like that should be hidden away in an Unsafe module somewhere rather than lie around in the standard libray
00:55
<
zozozo >
all I can say is use Array.make to create an array with initial values ?
01:00
<
apache2_ >
I was just complaining about the existence of functions like make_float in the standard library
01:07
ncthom91 has joined #ocaml
01:17
<
apache2_ >
:-/ it's new, even :-/
01:19
groovy2shoes has quit [Quit: Leaving]
01:20
groovy2shoes has joined #ocaml
01:36
ril has joined #ocaml
01:36
johnf_ has joined #ocaml
01:37
johnf has quit [Read error: Connection reset by peer]
01:38
mcint has quit [Quit: mcint]
01:40
FreeBirdLjj has joined #ocaml
01:44
ril has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:54
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:00
mcint has joined #ocaml
02:03
JacobEdelman has quit []
02:03
JacobEdelman has joined #ocaml
02:22
lolisa has joined #ocaml
02:23
FreeBird_ has joined #ocaml
02:24
smkz has joined #ocaml
02:26
FreeBirdLjj has quit [Ping timeout: 250 seconds]
02:50
nullcatxxx_ has joined #ocaml
02:53
f[x] has quit [Ping timeout: 272 seconds]
02:55
ril has joined #ocaml
03:01
mcint has quit [Quit: mcint]
03:06
ncthom91 has joined #ocaml
03:12
GrantSeltzer has joined #ocaml
03:12
<
GrantSeltzer >
Hi, does anyone here happen to work at Jane Street?
03:14
BitPuffin|osx has quit [Ping timeout: 240 seconds]
03:17
Guest92673 is now known as Algebr
03:18
Algebr is now known as Guest33945
03:33
ril has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:38
Bahman has joined #ocaml
03:38
nullcatxxx_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:40
GrantSeltzer has quit [Quit: Page closed]
03:41
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:02
tizoc has quit [Quit: Coyote finally caught me]
04:07
f[x] has joined #ocaml
04:11
nullcatxxx_ has joined #ocaml
04:12
groovy2shoes has quit [Quit: Leaving]
04:18
nullcatxxx_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
04:18
nullcatxxx_ has joined #ocaml
04:19
ncthom91 has joined #ocaml
04:19
tizoc has joined #ocaml
04:20
nullcatxxx_ has quit [Client Quit]
04:26
cody` has joined #ocaml
04:34
psy_ has quit [Remote host closed the connection]
04:34
toomuchtvrotsurb has quit [Remote host closed the connection]
04:35
l1x has quit [Read error: Connection reset by peer]
04:37
igitoor has quit [Ping timeout: 250 seconds]
04:37
l1x has joined #ocaml
04:38
igitoor has joined #ocaml
04:42
mac10688 has quit [Ping timeout: 250 seconds]
04:45
igitoor has joined #ocaml
04:45
igitoor has quit [Changing host]
04:46
toomuchtvrotsurb has joined #ocaml
04:50
toomuchtvrotsurb has quit [Remote host closed the connection]
05:04
jimt has quit [Ping timeout: 250 seconds]
05:09
toomuchtvrotsurb has joined #ocaml
05:10
ggole has joined #ocaml
05:11
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:16
MercurialAlchemi has joined #ocaml
05:19
ggole_ has joined #ocaml
05:21
ggole has quit [Ping timeout: 250 seconds]
05:24
mcint has joined #ocaml
05:30
toomuchtvrotsurb has quit [Remote host closed the connection]
05:43
kushal has joined #ocaml
05:48
ggole_ has quit [Ping timeout: 240 seconds]
05:55
ggole_ has joined #ocaml
06:00
dexterph has quit [Quit: WeeChat 1.3]
06:04
jimt has joined #ocaml
06:06
hay207 has joined #ocaml
06:07
manizzle has quit [Ping timeout: 256 seconds]
06:09
hay207_ has joined #ocaml
06:10
zpe has joined #ocaml
06:14
ggole_ has quit [Ping timeout: 256 seconds]
06:15
Guest33945 has quit [Remote host closed the connection]
06:15
Algebr has joined #ocaml
06:16
Algebr is now known as Guest2538
06:16
Guest2538 is now known as Algebr`
06:17
darius93 has quit [Quit: Bye bye now :)]
06:19
ggole_ has joined #ocaml
06:20
Algebr` has quit [Client Quit]
06:20
socket_probs has joined #ocaml
06:26
hay207_ has quit [Remote host closed the connection]
06:28
zpe has quit [Ping timeout: 250 seconds]
06:32
Bahman has quit [Read error: Connection reset by peer]
06:32
Bahman has joined #ocaml
06:34
ggole_ has quit [Ping timeout: 240 seconds]
06:36
darkf has joined #ocaml
06:42
MercurialAlchemi has quit [Ping timeout: 272 seconds]
06:48
MercurialAlchemi has joined #ocaml
06:51
cody` has quit [Quit: Connection closed for inactivity]
06:58
<
socket_probs >
How can I write a string, say of XML, to a socket as binary encoded data, as hex I suppose.
06:59
JacobEdelman has quit [Quit: Connection closed for inactivity]
07:11
cschneid has joined #ocaml
07:14
hay207 has quit [Remote host closed the connection]
07:15
tokik has quit [Ping timeout: 240 seconds]
07:17
tokik has joined #ocaml
07:25
manizzle has joined #ocaml
07:31
Gvidon has joined #ocaml
07:32
<
socket_probs >
How can I write something as uint32 little endian, preferably like a buffer.
07:32
<
socket_probs >
and then write that to a socket
07:36
Gvidon has quit [Quit: Leaving.]
07:37
Haudegen has quit [Ping timeout: 256 seconds]
07:41
Simn has joined #ocaml
07:45
pierpa has joined #ocaml
07:53
Haudegen has joined #ocaml
07:54
Sorella has quit [Quit: Connection closed for inactivity]
07:56
meiji11 has quit [Read error: Connection reset by peer]
08:00
jmasseo has quit [Remote host closed the connection]
08:04
damason has quit [Ping timeout: 256 seconds]
08:05
sbrouf_ has joined #ocaml
08:07
ggole_ has joined #ocaml
08:08
lolisa has quit [Ping timeout: 272 seconds]
08:11
sbrouf_ has quit [Ping timeout: 256 seconds]
08:14
ely-se has joined #ocaml
08:16
lolisa has joined #ocaml
08:20
zpe has joined #ocaml
08:20
esad has joined #ocaml
08:21
lolisa has quit [Ping timeout: 256 seconds]
08:22
Mercuria1Alchemi has joined #ocaml
08:23
lolisa has joined #ocaml
08:25
ggole__ has joined #ocaml
08:26
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
08:27
ggole_ has quit [Ping timeout: 256 seconds]
08:30
ggole__ is now known as ggole
08:30
sbrouf_ has joined #ocaml
08:38
mcint has quit [Quit: mcint]
08:43
zpe has quit [Read error: No route to host]
08:43
zpe has joined #ocaml
08:44
mcint has joined #ocaml
08:48
tokik has quit [Quit: leaving]
08:50
esad has joined #ocaml
08:52
tokik has joined #ocaml
08:53
Anarchos has joined #ocaml
08:56
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
09:14
esad has joined #ocaml
09:17
sbrouf_ has quit [Ping timeout: 240 seconds]
09:20
sbrouf_ has joined #ocaml
09:22
sh0t has joined #ocaml
09:27
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
09:30
Kakadu has joined #ocaml
09:35
ggole has quit [Ping timeout: 256 seconds]
09:42
zpe has quit [Ping timeout: 250 seconds]
09:42
zpe has joined #ocaml
09:47
zpe has quit [Read error: No route to host]
09:47
zpe has joined #ocaml
09:48
rand has joined #ocaml
09:53
zpe has quit [Remote host closed the connection]
09:55
esad has joined #ocaml
09:56
_andre has joined #ocaml
10:09
sbrouf_ has quit [Ping timeout: 240 seconds]
10:12
mort___ has joined #ocaml
10:13
Bahman has quit [Read error: Connection reset by peer]
10:13
Bahman has joined #ocaml
10:16
mort___ has quit [Ping timeout: 250 seconds]
10:23
jonludlam has joined #ocaml
10:23
Major_Biscuit has joined #ocaml
10:24
pothepanda has joined #ocaml
10:27
zpe has joined #ocaml
10:28
larhat1 has quit [Quit: Leaving.]
10:30
charpi has quit [Remote host closed the connection]
10:34
Mike57 has quit [Ping timeout: 260 seconds]
10:42
sh0t has quit [Ping timeout: 250 seconds]
10:44
ggole has joined #ocaml
10:44
f[x] has quit [Ping timeout: 272 seconds]
10:50
dsheets_ has joined #ocaml
10:51
Mike57 has joined #ocaml
10:52
socket_probs has quit [Ping timeout: 256 seconds]
11:01
_andre has quit [Read error: Connection reset by peer]
11:02
_andre has joined #ocaml
11:06
ely-se has quit [Quit: leaving]
11:28
FreeBird_ has quit [Remote host closed the connection]
11:29
octachron has joined #ocaml
11:33
Major_Biscuit has quit [Quit: WeeChat 1.3]
11:35
govg has quit [Ping timeout: 256 seconds]
11:35
Mike57 has quit [Ping timeout: 272 seconds]
11:36
Mike57 has joined #ocaml
11:40
Major_Biscuit has joined #ocaml
11:50
ely-se has joined #ocaml
11:53
Haudegen has quit [Ping timeout: 240 seconds]
11:54
lolisa has quit [Quit: meow]
12:00
FreeBirdLjj has joined #ocaml
12:00
FreeBirdLjj has quit [Remote host closed the connection]
12:00
FreeBirdLjj has joined #ocaml
12:09
Haudegen has joined #ocaml
12:11
sbrouf_ has joined #ocaml
12:13
Bahman has quit [Read error: Connection reset by peer]
12:13
Bahman has joined #ocaml
12:18
Bahman has quit [Client Quit]
12:21
theblatt1 is now known as theblatte
12:23
BitPuffin has joined #ocaml
12:29
badon has quit [Ping timeout: 240 seconds]
12:33
badon has joined #ocaml
12:41
Sorella has joined #ocaml
12:45
Mike57 has quit [Ping timeout: 256 seconds]
12:50
JacobEdelman has joined #ocaml
12:50
Mike57 has joined #ocaml
12:54
jonludlam has quit [Ping timeout: 240 seconds]
12:57
dsheets_ has quit [Ping timeout: 240 seconds]
12:58
ely-se has quit [Quit: leaving]
12:58
mort___ has joined #ocaml
13:00
ely-se has joined #ocaml
13:07
jonludlam has joined #ocaml
13:09
dsheets_ has joined #ocaml
13:10
rand has quit [Ping timeout: 256 seconds]
13:22
govg has joined #ocaml
13:24
mcint has quit [Quit: mcint]
13:24
ely-se has quit [Quit: leaving]
13:24
dsheets_ has quit [Ping timeout: 250 seconds]
13:25
tizoc has quit [Quit: Coyote finally caught me]
13:25
tizoc has joined #ocaml
13:29
mcint has joined #ocaml
13:29
ely-se has joined #ocaml
13:32
NingaLeaf123 has quit [Ping timeout: 250 seconds]
13:42
darkf has quit [Read error: Connection reset by peer]
13:43
darkf has joined #ocaml
13:48
nojebar has joined #ocaml
13:51
Mike57 has quit [Ping timeout: 256 seconds]
13:52
Mike57 has joined #ocaml
13:54
rand has joined #ocaml
13:56
d0nn1e has joined #ocaml
13:57
nojebar has quit [Quit: Leaving]
14:04
Mike57 has quit [Ping timeout: 272 seconds]
14:06
dexterph has joined #ocaml
14:09
ely-se has quit [Quit: leaving]
14:10
Mike57 has joined #ocaml
14:12
govg has quit [Ping timeout: 250 seconds]
14:13
ely-se has joined #ocaml
14:14
govg has joined #ocaml
14:17
dsheets_ has joined #ocaml
14:18
malc_ has joined #ocaml
14:21
govg has quit [Ping timeout: 240 seconds]
14:25
struk|desk has joined #ocaml
14:27
struk|desk has quit [Client Quit]
14:27
struk|desk has joined #ocaml
14:27
Mike57 has quit [Ping timeout: 240 seconds]
14:34
lostman has joined #ocaml
14:44
Mike57 has joined #ocaml
14:47
ncthom91 has joined #ocaml
14:48
larhat has joined #ocaml
14:48
igoroliveira has joined #ocaml
14:52
larhat has quit [Ping timeout: 272 seconds]
14:53
seangrove has quit [Ping timeout: 250 seconds]
14:53
seangrove has joined #ocaml
14:58
seangrove has quit [Ping timeout: 240 seconds]
14:59
mcint has quit [Quit: mcint]
15:00
mcint has joined #ocaml
15:03
Major_Biscuit has quit [Quit: WeeChat 1.3]
15:04
Major_Biscuit has joined #ocaml
15:10
ely-se has quit [Quit: leaving]
15:11
mcint has quit [Quit: mcint]
15:12
ely-se has joined #ocaml
15:12
sh0t has joined #ocaml
15:14
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:18
MercurialAlchemi has quit [Ping timeout: 256 seconds]
15:19
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:25
NingaLeaf has joined #ocaml
15:30
mcint has joined #ocaml
15:35
ncthom91 has joined #ocaml
15:36
Mike57 has quit [Ping timeout: 250 seconds]
15:36
toomuchtvrotsurb has joined #ocaml
15:36
Mike57 has joined #ocaml
15:40
mcint has quit [Quit: mcint]
15:42
dhil has joined #ocaml
15:42
wagle has joined #ocaml
15:45
toomuchtvrotsurb has quit [Remote host closed the connection]
15:48
pierpa has quit [Ping timeout: 250 seconds]
15:52
jabesed has joined #ocaml
15:55
Mike57 has quit [Ping timeout: 240 seconds]
15:56
Mike57 has joined #ocaml
15:57
zpe has quit [Remote host closed the connection]
16:02
FreeBirdLjj has quit [Remote host closed the connection]
16:04
toomuchtvrotsurb has joined #ocaml
16:07
esad has joined #ocaml
16:10
toomuchtvrotsurb has quit [Ping timeout: 250 seconds]
16:10
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:10
rpg has joined #ocaml
16:12
ncthom91 has joined #ocaml
16:14
Anarchos has quit [Quit: Page closed]
16:16
cody` has joined #ocaml
16:19
ely-se has quit [Quit: leaving]
16:21
slash^ has joined #ocaml
16:22
wagle has quit [Remote host closed the connection]
16:24
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:31
NaCl has joined #ocaml
16:31
NaCl has quit [Changing host]
16:31
NaCl has joined #ocaml
16:38
tane has joined #ocaml
16:39
nullcatxxx_ has joined #ocaml
16:44
esad has joined #ocaml
16:44
dfjskla has quit [Ping timeout: 272 seconds]
16:45
dfjskla has joined #ocaml
16:45
Mike57 has quit [Ping timeout: 240 seconds]
16:47
Mike57 has joined #ocaml
16:49
contempt has quit [Ping timeout: 256 seconds]
16:51
contempt has joined #ocaml
16:51
toomuchtvrotsurb has joined #ocaml
16:53
larhat2 has quit [Quit: Leaving.]
16:54
larhat has joined #ocaml
16:55
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:58
f[x] has joined #ocaml
17:01
NingaLeaf has quit [Read error: Connection reset by peer]
17:01
NingaLeaf has joined #ocaml
17:04
esad has joined #ocaml
17:05
esad has quit [Client Quit]
17:09
esad has joined #ocaml
17:11
nullcatxxx_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:12
mcint has joined #ocaml
17:17
f[x] has quit [Ping timeout: 272 seconds]
17:22
sz0 has joined #ocaml
17:23
Mike57 has quit [Ping timeout: 272 seconds]
17:23
Mike57 has joined #ocaml
17:27
toomucht_ has joined #ocaml
17:30
rand has quit [Ping timeout: 240 seconds]
17:31
toomuchtvrotsurb has quit [Ping timeout: 256 seconds]
17:32
psy_ has joined #ocaml
17:33
psy_ has quit [Max SendQ exceeded]
17:33
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:34
psy_ has joined #ocaml
17:34
esad has joined #ocaml
17:36
rand has joined #ocaml
17:36
toomuchtvrotsurb has joined #ocaml
17:37
pierpa has joined #ocaml
17:40
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:40
toomucht_ has quit [Ping timeout: 256 seconds]
17:40
jabesed has quit [Ping timeout: 250 seconds]
17:41
esad has joined #ocaml
17:41
toomuchtvrotsurb has quit [Remote host closed the connection]
17:42
toomuchtvrotsurb has joined #ocaml
17:45
struk|desk is now known as struk|desk|away
17:47
ril has joined #ocaml
17:47
toomuchtvrotsurb has quit [Remote host closed the connection]
17:49
ril is now known as ril[away]
17:49
ollehar has joined #ocaml
17:49
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:50
esad has joined #ocaml
17:50
ril[away] has quit [Client Quit]
17:52
Mike57 has quit [Ping timeout: 272 seconds]
17:52
ril has joined #ocaml
17:58
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:59
esad has joined #ocaml
18:00
nullcatxxx_ has joined #ocaml
18:00
esad has quit [Client Quit]
18:02
tane has quit [Quit: Verlassend]
18:04
toomuchtvrotsurb has joined #ocaml
18:08
Mike57 has joined #ocaml
18:08
kandu has quit [Ping timeout: 260 seconds]
18:09
^elyse^ has joined #ocaml
18:09
toomuchtvrotsurb has quit [Ping timeout: 256 seconds]
18:14
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:14
agumonkey has joined #ocaml
18:15
Algebr has joined #ocaml
18:15
Algebr is now known as Guest90093
18:15
Guest90093 has quit [Remote host closed the connection]
18:16
Algebr` has joined #ocaml
18:16
Algebr`` has quit [Ping timeout: 250 seconds]
18:17
<
Algebr` >
I'm passing a string in lwt code to C code, doing caml_strdup(String_val(x)) and trying to print on the C side but aren't getting anything, I guess its some kind of flushing issue on the C side ?
18:17
f[x] has joined #ocaml
18:19
<
adrien >
why use caml_strdup() and not strdup()?
18:19
<
adrien >
also, how do you print it?
18:20
<
Algebr` >
that doesn't make a difference. char *s = caml_strdup(String_val(x)); printf("%s\n", s);
18:21
<
adrien >
you can try fflush(stdout);
18:22
<
Algebr` >
I did all the flush functions on the ocaml side,
18:22
tg has quit [Ping timeout: 256 seconds]
18:23
dhil has quit [Ping timeout: 240 seconds]
18:23
<
adrien >
printf's buffer is managed by the libc
18:23
<
adrien >
stdout/stderr
18:23
<
adrien >
while the in_channels in ocaml have their own buffering
18:23
<
adrien >
so you cannot mix both
18:24
<
Algebr` >
right, so I just need to only flush on the C side?
18:24
<
adrien >
not only that
18:24
<
adrien >
you shouldn't use the same resource from both C and OCaml
18:24
jonludlam has quit [Quit: Leaving]
18:25
<
adrien >
unless you make sure you don't have possible race conditions
18:25
<
Algebr` >
well its been done in a recursive Lwt loop
18:26
<
edwin >
do you need to print it just for debugging? or would it be possible to perform the printing on the ocaml side?
18:26
<
Algebr` >
probably just for debugging, should I just write the code as is and assume its right?
18:27
ril has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:27
<
Algebr` >
its odd because other printfs are working fine in the C side in the same function
18:27
<
Algebr` >
just the OCaml world string isn't printinf
18:28
<
adrien >
try fprintf(stderr, "%s\n", s);
18:29
<
adrien >
If a stream refers to a terminal (as stdout normally does), it is line buffered. The standard error stream stderr is always unbuffered by default.
18:29
<
adrien >
man setvbuf
18:30
mort___ has quit [Ping timeout: 250 seconds]
18:30
<
Algebr` >
I don't know if this is relevant but its been sent over to an Objc program
18:31
<
Algebr` >
adrien: tried that, still not working. oh well?
18:32
tg has joined #ocaml
18:32
<
edwin >
also check that it really is a string, there is String_tag and Tag_val I think, and try printing to a terminal or file
18:33
<
edwin >
and if your string has a \0 as its first char in OCaml then it won't print well with printf :)
18:33
<
Algebr` >
right, it prints fine on the ocaml side, need to check it closer then
18:34
<
edwin >
and gdb, should work on C code
18:34
nullcatxxx_ has quit [Read error: Connection reset by peer]
18:34
ril has joined #ocaml
18:35
<
Algebr` >
okay I'm a fool.
18:35
nullcatxxx_ has joined #ocaml
18:35
<
Algebr` >
String.escaped to the rescue
18:35
<
adrien >
ends with \r? :P
18:36
<
Algebr` >
starts with: \001\000\000\000\b\000\000\000\001\000\000\000
18:36
<
edwin >
use caml_string_length and fwrite if you need to write that
18:37
<
adrien >
not much printable there ;p
18:37
<
adrien >
I think \001 isn't event printable
18:37
<
Algebr` >
its what I got back from Lwt_io.read
18:38
dsheets_ has quit [Ping timeout: 240 seconds]
18:38
<
Algebr` >
anything lwt can give me to clean it up or I have to do it
18:39
<
edwin >
what are you expecting to read?
18:39
<
Algebr` >
which I do get
18:40
<
Algebr` >
actually i think it needs to be little endian uint32
18:41
dhil has joined #ocaml
18:41
<
Algebr` >
ah, i think im a dunce cause I already used Lwt_io.LE.write* correctly, probably needed the ready part as well
18:44
<
edwin >
hmm you could use uutfm and feed it the unicode scalar values to produce some readable utf-8 output
18:44
dsheets_ has joined #ocaml
18:45
<
edwin >
although your values still look strange
18:45
<
edwin >
even in utf-32 \001\000\000\000 would be the scalar value 1
18:50
<
Algebr` >
ahh, got it working 100%. I reading the first values of the header as approrpiately. Lwt really has some awesome abstractions.
18:52
tane has joined #ocaml
18:57
nullcatxxx_ has quit [Read error: Connection reset by peer]
18:59
larhat1 has joined #ocaml
18:59
Haudegen has quit [Ping timeout: 272 seconds]
19:00
Kakadu has quit [Quit: Page closed]
19:00
nullcatxxx_ has joined #ocaml
19:00
apache2_ is now known as apache2
19:01
rpg has quit [Quit: rpg]
19:13
Haudegen has joined #ocaml
19:13
NingaLeaf has quit [Quit: Leaving]
19:15
Mike57 has quit [Ping timeout: 250 seconds]
19:15
Mike57 has joined #ocaml
19:24
dhil has quit [Ping timeout: 240 seconds]
19:32
Anarchos has joined #ocaml
19:32
ollehar has quit [Quit: ollehar]
19:35
nullcatxxx_ has quit [Read error: Connection reset by peer]
19:37
nullcatxxx_ has joined #ocaml
19:42
sh0t has quit [Ping timeout: 256 seconds]
19:43
ril has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:46
_andre has quit [Quit: leaving]
19:47
nullcatxxx_ has quit [Read error: Connection reset by peer]
19:47
agumonkey_ has joined #ocaml
19:48
agumonkey has quit [Read error: Connection reset by peer]
19:48
agumonkey_ is now known as agumonkey
19:48
nullcatxxx_ has joined #ocaml
19:49
wagle has joined #ocaml
19:50
BitPuffin has quit [Ping timeout: 256 seconds]
19:51
rand has quit [Quit: leaving]
19:53
nullcatxxx_ has quit [Client Quit]
19:55
wagle has quit [Ping timeout: 240 seconds]
19:56
Kakadu has joined #ocaml
19:57
zpe has joined #ocaml
19:58
dsheets_ has quit [Ping timeout: 240 seconds]
19:59
agumonkey has joined #ocaml
19:59
agumonkey has quit [Remote host closed the connection]
19:59
zpe has quit [Remote host closed the connection]
20:00
agumonkey has joined #ocaml
20:00
agumonkey has quit [Client Quit]
20:02
agumonkey has joined #ocaml
20:03
<
Algebr` >
Why does ocaml get special love from llvm?
20:04
<
adrien >
because it spent years without getting much?
20:05
^elyse^ has quit [Quit: Leaving]
20:05
darius93 has joined #ocaml
20:05
agumonkey has quit [Client Quit]
20:06
agumonkey has joined #ocaml
20:07
agumonkey has quit [Client Quit]
20:08
agumonkey has joined #ocaml
20:09
<
Anarchos >
Algebr` what do you mean ?
20:10
<
Algebr` >
the llvm source distribution has special requirements for ocaml, and even ctypes
20:12
<
Anarchos >
Algebr` you made me curious :)
20:12
<
apache2 >
perhaps it's used in the llvm ecosystem?
20:19
slash^ has quit [Read error: Connection reset by peer]
20:19
<
Drup >
llvm distributes the ocaml backends and whitequark is a big llvm contributor
20:22
<
Algebr` >
suspected had something to do with whitequakr
20:22
<
Algebr` >
whitequark
20:24
<
smondet >
Algebr`: I think the llvm-binding were there before whitequark joined (?) Anyway, considering OCaml for writing compilers is, well, pretty sane; considering C++ for writing software is totally insane.
20:25
<
Algebr` >
speaking of which, been using nix, its all implemented in c++/perl.
20:32
Algebr`` has joined #ocaml
20:32
Algebr` has quit [Read error: Connection reset by peer]
20:39
^elyse^ has joined #ocaml
20:42
kushal has quit [Ping timeout: 240 seconds]
20:48
badon has quit [Ping timeout: 240 seconds]
20:54
Haudegen has quit [Ping timeout: 250 seconds]
20:55
Simn has quit [Ping timeout: 240 seconds]
20:56
Mike57 has quit [Ping timeout: 240 seconds]
20:58
Mike57 has joined #ocaml
20:58
esad has joined #ocaml
21:03
mort___ has joined #ocaml
21:03
nullcatxxx_ has joined #ocaml
21:03
ldopa has joined #ocaml
21:03
Algebr`` has quit [Ping timeout: 272 seconds]
21:06
rand has joined #ocaml
21:07
ollehar has joined #ocaml
21:14
Haudegen has joined #ocaml
21:16
f[x] has quit [Ping timeout: 256 seconds]
21:17
alexey has joined #ocaml
21:18
darkf has quit [Quit: Leaving]
21:18
Algebr`` has joined #ocaml
21:19
Mercuria1Alchemi has quit [Ping timeout: 240 seconds]
21:21
ncthom91 has joined #ocaml
21:24
ril has joined #ocaml
21:26
malc_ has quit [Quit: leaving]
21:27
Algebr`` has quit [Remote host closed the connection]
21:27
nicoo has quit [Ping timeout: 272 seconds]
21:27
Algebr`` has joined #ocaml
21:28
dhil has joined #ocaml
21:34
dfjskla has quit [Ping timeout: 256 seconds]
21:35
nullcatxxx_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:35
Mike57 has quit [Ping timeout: 240 seconds]
21:35
dfjskla has joined #ocaml
21:35
aftershave has joined #ocaml
21:36
Mike57 has joined #ocaml
21:37
mort___ has quit [Quit: Leaving.]
21:40
octachron has quit [Quit: Leaving]
21:43
mort___ has joined #ocaml
21:45
Denommus has joined #ocaml
21:52
f[x] has joined #ocaml
21:52
nicoo has joined #ocaml
21:52
Mike57 has quit [Ping timeout: 250 seconds]
21:53
pierpa has quit [Ping timeout: 240 seconds]
21:54
nullcatxxx_ has joined #ocaml
21:58
Mike57 has joined #ocaml
22:06
nullcatxxx_ has quit [Read error: Connection reset by peer]
22:06
Algebr`` has quit [Remote host closed the connection]
22:07
Algebr`` has joined #ocaml
22:09
nullcatxxx_ has joined #ocaml
22:10
DanielRichman has quit [Remote host closed the connection]
22:14
nullcatxxx_ has quit [Read error: Connection reset by peer]
22:14
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:14
Algebr`` has quit [Ping timeout: 240 seconds]
22:16
nullcatxxx_ has joined #ocaml
22:16
Mike57 has quit [Ping timeout: 240 seconds]
22:17
Mike57 has joined #ocaml
22:18
rand has quit [Quit: leaving]
22:22
DanielRichman has joined #ocaml
22:22
DanielRichman has quit [Changing host]
22:22
DanielRichman has joined #ocaml
22:25
Mike57 has quit [Ping timeout: 272 seconds]
22:25
Mike57 has joined #ocaml
22:25
nullcatxxx_ has quit [Read error: Connection reset by peer]
22:27
nullcatxxx_ has joined #ocaml
22:29
sbrouf_ has quit [Ping timeout: 256 seconds]
22:29
mac10688 has joined #ocaml
22:36
tg has quit [Ping timeout: 240 seconds]
22:38
Mike57 has quit [Ping timeout: 272 seconds]
22:39
Mike57 has joined #ocaml
22:39
nullcatxxx_ has quit [Read error: Connection reset by peer]
22:40
nullcatxxx_ has joined #ocaml
22:40
tg has joined #ocaml
22:41
ncthom91 has joined #ocaml
22:42
Algebr`` has joined #ocaml
22:49
Algebr`` has quit [Ping timeout: 272 seconds]
22:57
Algebr`` has joined #ocaml
22:57
tane has quit [Quit: Verlassend]
23:01
nullcatxxx_ has quit [Read error: Connection reset by peer]
23:01
nullcatx_ has joined #ocaml
23:02
^elyse^ has quit [Quit: Leaving...]
23:07
ollehar2 has joined #ocaml
23:08
<
ollehar2 >
testing ii
23:08
<
ollehar >
testing ii again
23:08
<
companion_cube >
the irc client?
23:09
pacasd has joined #ocaml
23:09
<
ollehar >
wanted irc in vim, but...
23:09
<
ollehar >
couldn't compile vim with perl support for some reason ><
23:11
toomuchtvrotsurb has joined #ocaml
23:11
<
companion_cube >
have you tried irc-client? :p
23:14
<
ollehar >
hm, no, only VimIRC
23:14
<
ollehar >
will look
23:17
BitPuffin|osx has joined #ocaml
23:18
pacasd has quit [Remote host closed the connection]
23:20
ianhedoesit has joined #ocaml
23:24
nullcatx_ has quit [Read error: Connection reset by peer]
23:24
Anarchos has quit [Quit: good night to all]
23:25
nullcatxxx_ has joined #ocaml
23:32
badon has joined #ocaml
23:32
nullcatxxx_ has quit [Read error: Connection reset by peer]
23:33
nullcatxxx_ has joined #ocaml
23:34
ollehar has quit [Quit: ollehar]
23:36
agumonkey has joined #ocaml
23:45
agumonkey has joined #ocaml
23:45
agumonkey has quit [Client Quit]
23:46
Mike57 has quit [Ping timeout: 240 seconds]
23:46
agumonkey has joined #ocaml
23:52
Mike57 has joined #ocaml
23:52
damason has joined #ocaml