00:05
keep_learning has joined #ocaml
00:10
keep_learning has quit [Client Quit]
00:24
keep_learning has joined #ocaml
00:50
assemblyman has quit [Quit: ™]
01:09
dedgrant has quit [Ping timeout: 250 seconds]
01:28
spew has joined #ocaml
01:34
mfp has quit [Ping timeout: 244 seconds]
01:41
dedgrant has joined #ocaml
01:53
spew has quit [Ping timeout: 246 seconds]
01:54
Haudegen has quit [Ping timeout: 240 seconds]
02:00
silver has quit [Read error: Connection reset by peer]
02:07
q9929t has joined #ocaml
02:08
q9929t has quit [Remote host closed the connection]
02:10
q9929t has joined #ocaml
02:17
q9929t has quit [Quit: q9929t]
03:20
dedgrant has quit [Ping timeout: 268 seconds]
03:33
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:40
kvda has joined #ocaml
03:56
AnAverageHuman has joined #ocaml
03:58
tormen has joined #ocaml
04:01
tormen_ has quit [Ping timeout: 240 seconds]
04:03
ansiwen has joined #ocaml
04:21
gravicappa has joined #ocaml
04:25
lorp has quit [Quit: This computer has gone to sleep]
04:42
iovec has joined #ocaml
04:52
AnAverageHuman has quit [Ping timeout: 256 seconds]
05:30
doesntgolf has quit [Ping timeout: 250 seconds]
05:39
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:40
kvda has joined #ocaml
05:41
kjak has quit [Ping timeout: 250 seconds]
05:42
kjak has joined #ocaml
05:49
kjak has quit [Ping timeout: 245 seconds]
06:12
pierpal has quit [Remote host closed the connection]
06:31
jao has quit [Ping timeout: 245 seconds]
06:51
ggole has joined #ocaml
06:51
iovec has quit [Quit: Connection closed for inactivity]
06:57
pierpal has joined #ocaml
07:15
iovec has joined #ocaml
07:42
themsay has quit [Ping timeout: 246 seconds]
07:56
sagotch has joined #ocaml
08:00
hannes has quit [Remote host closed the connection]
08:05
freyr69 has joined #ocaml
08:24
ygrek has joined #ocaml
08:58
bartholin has joined #ocaml
09:13
hannes has joined #ocaml
09:21
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:39
asymptotically has joined #ocaml
09:48
kakekongen has quit [Ping timeout: 250 seconds]
09:50
mfp has joined #ocaml
09:57
kakekongen has joined #ocaml
10:04
<
Leonidas >
how can I create an in_channel from a string?
10:05
<
Armael >
you can't afaik
10:07
<
adrien >
*in* *from* a string?
10:07
<
adrien >
the closest things I have in mind are Buffer.add_channel/output_buffer
10:14
<
Leonidas >
adrien: yeah, I have a string and a function that takes an in_channel and I want to feed it into said function
10:15
<
Leonidas >
adrien: I mean I can write the string to a file and read using open_in, but that's just some special hell
10:15
<
Armael >
I think you have to create a temp file and write the string in it..
10:16
<
adrien >
or make a pipe
10:16
<
adrien >
with recent APIs on linux you could use O_TEMPFILE (name might be diffefernt)
10:18
<
Leonidas >
that's quite awful in a way :(
10:18
<
emersion >
no fmemopen?
10:20
<
adrien >
oh, right, that one is handy too
10:26
zolk3ri has joined #ocaml
10:55
Haudegen has joined #ocaml
11:15
tizoc has quit [Quit: Coyote finally caught me]
11:16
tizoc has joined #ocaml
11:21
q9929t has joined #ocaml
11:21
jacobian has left #ocaml [#ocaml]
11:24
jbrown has quit [Remote host closed the connection]
11:26
silver has joined #ocaml
11:29
jbrown has joined #ocaml
11:32
sagotch has quit [Quit: Leaving.]
11:35
webshinra has joined #ocaml
11:38
status402 has joined #ocaml
11:45
status402 has quit [Quit: status402]
11:46
status402 has joined #ocaml
11:53
marvin2 has joined #ocaml
12:16
lorp has joined #ocaml
12:17
Haudegen has quit [Ping timeout: 250 seconds]
12:21
kjak has joined #ocaml
12:29
Denommus has joined #ocaml
12:29
Denommus has quit [Remote host closed the connection]
12:40
sagotch has joined #ocaml
12:48
status402 has quit [Quit: status402]
12:49
status402 has joined #ocaml
12:50
q9929t has quit [Quit: q9929t]
12:53
omarramo has joined #ocaml
12:54
<
omarramo >
hey guys, anybody using merlin in vim? how can I get the output of :MerlinType to stay somehow? copy it to clipboard or some buffer
12:59
<
vsiles >
omarramo: :MerlinYankLatestType
13:02
Haudegen has joined #ocaml
13:05
<
omarramo >
wow, there's actually a command for that
13:05
<
omarramo >
thanks vsiles!
13:05
<
vsiles >
you're welcome
13:06
<
vsiles >
I looked for that one for a long time :D
13:06
<
vsiles >
I can't remember where but i also saw a pluging that displays types of let statement at the end of the line, that was cool
13:07
<
vsiles >
def`: do you remember what was the name of the plugin you showed me ?
13:10
jbrown has quit [Ping timeout: 252 seconds]
13:11
zolk3ri has quit [Remote host closed the connection]
13:17
Exagone313 has quit [Ping timeout: 268 seconds]
13:18
eagleflo has quit [Ping timeout: 250 seconds]
13:18
bacam has quit [Ping timeout: 246 seconds]
13:18
klntsky has quit [Ping timeout: 256 seconds]
13:18
nicoo has quit [Ping timeout: 256 seconds]
13:18
bacam has joined #ocaml
13:18
magicbit has quit [Ping timeout: 246 seconds]
13:19
magicbit has joined #ocaml
13:19
edcragg has quit [Ping timeout: 264 seconds]
13:19
klntsky has joined #ocaml
13:21
<
freyr69 >
Does Ctypes always release GIL?
13:22
jbrown has joined #ocaml
13:22
<
Drup >
no, there is a specific option for it
13:23
<
freyr69 >
Where is is?
13:23
<
Drup >
in the foreign function, iirc
13:23
Exagone313 has joined #ocaml
13:24
<
freyr69 >
?release_runtime_lock:bool
13:24
<
freyr69 >
I see, thanks
13:27
<
freyr69 >
Is Ctypes preferable over the native ffi?
13:27
edcragg has joined #ocaml
13:27
<
Drup >
I general, I would say yes
13:27
<
Drup >
it's safer and probably easier to obtain what you want
13:29
<
Armael >
it's a bit more heavy-weight on the build-system side
13:29
<
Armael >
since most of the extra safety comes when you use stubs generation
13:31
<
freyr69 >
Where should I pass those concurency policies?
13:31
nicoo has joined #ocaml
13:33
<
Drup >
to the write_{c,ml} function at the bottom
13:33
<
Drup >
it's if you use stub generation
13:33
<
Drup >
ctypes can work in two modes: dynamic bindings, using libffi (and the Foreign module) and static binding using stubs (and the Cstrub module)
13:34
eagleflo has joined #ocaml
13:34
<
freyr69 >
At the moment I use the Foreign module
13:34
<
freyr69 >
by dynamic you mean dynamic linking?
13:35
<
Armael >
the second mode is actually two modes I believe: you can only generate stubs for the functions to bind, or also generate stubs for the data structures (Cstubs_struct) which adds an other layer of stubs generation
13:37
<
Drup >
freyr69: yes, dynamic link
13:37
<
Armael >
freyr69: in that case yes, it will dynamically link the .so of the library and call the functions in there using libffi
13:38
<
Armael >
it will not read the .h file for instance, so if you make a mistake in the prototype of a stub then it will just crash
13:38
<
Armael >
"stubs generation" will generate C (and OCaml) code, and try to link it against the headers of the library
13:39
<
freyr69 >
Does the stub generator works for interacting with external C libraries (statically or dynamically linked)?
13:39
<
freyr69 >
interfacing*
13:40
<
Armael >
yes, as long as the library installed its headers somewhere
13:41
<
freyr69 >
I see, thanks
13:43
lorp has quit [Ping timeout: 246 seconds]
13:44
lorp has joined #ocaml
13:53
freyr69 has quit [Remote host closed the connection]
14:07
AnAverageHuman has joined #ocaml
14:14
opt9 has joined #ocaml
14:16
jaar has joined #ocaml
14:24
AnAverageHuman has quit [Ping timeout: 256 seconds]
14:26
jao has joined #ocaml
14:38
kjak has quit [Ping timeout: 244 seconds]
14:39
opt9 has quit [Ping timeout: 252 seconds]
14:40
kjak has joined #ocaml
14:45
silenc3r has joined #ocaml
14:45
silenc3r has quit [Remote host closed the connection]
14:46
silenc3r has joined #ocaml
14:46
status402 has quit [Quit: status402]
14:47
kjak has quit [Ping timeout: 268 seconds]
14:48
gareppa has joined #ocaml
14:48
opt9 has joined #ocaml
14:48
opt9 has joined #ocaml
14:49
opt9 has quit [Client Quit]
14:49
Haudegen has quit [Ping timeout: 240 seconds]
14:50
gareppa has quit [Remote host closed the connection]
14:52
opt9 has joined #ocaml
14:52
edcragg has quit [Remote host closed the connection]
14:53
edcragg has joined #ocaml
14:57
gareppa has joined #ocaml
15:08
spew has joined #ocaml
15:16
mildtaste has quit [Remote host closed the connection]
15:21
Denommus has joined #ocaml
15:54
r3s1stanc3 has joined #ocaml
16:02
silenc3r has quit [Remote host closed the connection]
16:16
lorp has quit [Quit: Leaving]
16:24
AnAverageHuman has joined #ocaml
16:34
rwmjones is now known as rwmjones_HOLS
16:34
jbrown has quit [Ping timeout: 252 seconds]
16:46
jbrown has joined #ocaml
16:49
dedgrant has joined #ocaml
17:05
ygrek has quit [Ping timeout: 245 seconds]
17:12
marsam has joined #ocaml
17:13
gareppa has quit [Quit: Leaving]
17:14
AnAverageHuman has quit [Ping timeout: 256 seconds]
17:28
kakadu has quit [Remote host closed the connection]
17:28
sagotch has quit [Ping timeout: 250 seconds]
17:32
Serpent7776 has joined #ocaml
17:41
omarramo has quit [Read error: Connection reset by peer]
17:42
omarramo has joined #ocaml
17:53
asymptotically has quit [Remote host closed the connection]
17:54
asymptotically has joined #ocaml
17:55
ggole has quit [Quit: Leaving]
17:55
q9929t has joined #ocaml
17:56
assemblyman has joined #ocaml
17:59
q9929t has quit [Client Quit]
18:05
assemblyman has quit [Quit: ™]
18:17
zolk3ri has joined #ocaml
18:25
jaar has quit [Quit: Leaving]
18:26
TheLemonMan has joined #ocaml
18:27
omarramo has quit [Ping timeout: 240 seconds]
18:29
omarramo has joined #ocaml
18:59
jnavila has joined #ocaml
19:04
jnavila has quit [Remote host closed the connection]
19:04
jnavila has joined #ocaml
19:06
kakadu has joined #ocaml
19:13
kakadu has quit [Remote host closed the connection]
19:15
kakadu has joined #ocaml
19:19
webshinra has quit [Ping timeout: 252 seconds]
19:24
pierpal has quit [Read error: Connection reset by peer]
19:24
pierpal has joined #ocaml
19:25
jnavila has quit [Ping timeout: 246 seconds]
19:44
omarramo has quit [Ping timeout: 240 seconds]
19:45
omarramo has joined #ocaml
19:54
gravicappa has quit [Ping timeout: 240 seconds]
19:56
jnavila has joined #ocaml
20:06
zolk3ri has quit [Remote host closed the connection]
20:11
dedgrant has quit [Ping timeout: 245 seconds]
20:12
kakadu has quit [Remote host closed the connection]
20:15
kakadu has joined #ocaml
20:16
kjak has joined #ocaml
20:18
Anarchos has joined #ocaml
20:18
kjak_ has joined #ocaml
20:19
pzp has joined #ocaml
20:20
embden has joined #ocaml
20:23
<
Anarchos >
i have a "S ./**" in my .merlin file, but it still complains "Not in environment"
20:23
<
Anarchos >
how can i investigate this issue ?
20:28
Anarchos has quit [Ping timeout: 268 seconds]
20:32
Denommus has quit [Remote host closed the connection]
20:34
kakadu has quit [Remote host closed the connection]
20:41
marsam has quit [Ping timeout: 252 seconds]
21:30
omarramo has quit [Remote host closed the connection]
21:32
assemblyman has joined #ocaml
21:36
Serpent7776 has quit [Read error: Connection reset by peer]
21:36
Serpent7776 has joined #ocaml
21:43
kakadu has joined #ocaml
21:43
kakadu has quit [Remote host closed the connection]
21:47
Serpent7776 has quit [Quit: leaving]
21:47
kakadu has joined #ocaml
21:57
webshinra has joined #ocaml
22:03
kvda has joined #ocaml
22:04
dedgrant has joined #ocaml
22:21
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
22:33
jnavila has quit [Remote host closed the connection]
22:39
<
octachron >
the manual might work too, depending on which level of detail you need
22:41
iovec has quit [Quit: Connection closed for inactivity]
22:41
<
embden >
octachron: I just want to add some features to a game called freetennis
22:42
<
embden >
it is written in ocaml, so...
22:45
dmiles has quit [Ping timeout: 245 seconds]
22:45
assemblyman has quit [Quit: ™]
22:47
bartholin has quit [Remote host closed the connection]
22:53
logicmoo has joined #ocaml
23:10
Haudegen has joined #ocaml
23:32
kjak_ has left #ocaml [#ocaml]
23:34
navaja has joined #ocaml
23:37
embden has quit [Ping timeout: 240 seconds]
23:53
asymptotically has quit [Quit: Leaving]
23:59
navaja has quit [Ping timeout: 268 seconds]