00:00
infinity0_ has joined #ocaml
00:00
infinity0 has quit [Killed (leguin.freenode.net (Nickname regained by services))]
00:00
infinity0 has joined #ocaml
00:00
infinity0_ is now known as infinity0
00:01
infinity0 has quit [Remote host closed the connection]
00:03
infinity0_ has joined #ocaml
00:03
infinity0_ is now known as infinity0
00:03
infinity0 has joined #ocaml
00:03
infinity0 has quit [Changing host]
00:03
infinity0 has quit [Remote host closed the connection]
00:06
infinity0 has joined #ocaml
00:06
chinglish has joined #ocaml
00:06
infinity0 has quit [Remote host closed the connection]
00:07
average has quit [Ping timeout: 245 seconds]
00:08
\Mike has joined #ocaml
00:08
average has joined #ocaml
00:08
infinity0 has joined #ocaml
00:09
infinity0 has quit [Remote host closed the connection]
00:11
infinity0 has joined #ocaml
00:12
infinity0 has quit [Remote host closed the connection]
00:14
infinity0 has joined #ocaml
00:14
infinity0 has quit [Remote host closed the connection]
00:16
cranmax has joined #ocaml
00:21
raphaelss has joined #ocaml
00:35
average has quit [Ping timeout: 245 seconds]
00:36
average has joined #ocaml
00:40
govg has quit [Ping timeout: 240 seconds]
00:45
ryanartecona has quit [Quit: ryanartecona]
00:51
pete_8 has joined #ocaml
00:55
pete_8 has quit [Ping timeout: 246 seconds]
00:56
raphaelss has quit [Ping timeout: 268 seconds]
01:10
mfp_ has quit [Ping timeout: 246 seconds]
01:22
\Mike has quit [Quit: \Mike]
01:24
silver has quit [Read error: Connection reset by peer]
01:34
spew has joined #ocaml
01:49
cggong has quit [Quit: cggong]
01:50
jack5638 has quit [Ping timeout: 260 seconds]
01:56
jack5638 has joined #ocaml
01:58
cggong has joined #ocaml
02:05
cggong has quit [Quit: cggong]
02:10
Algebr has quit [Ping timeout: 240 seconds]
02:10
andreas_ has quit [Quit: Connection closed for inactivity]
02:15
jlam has quit [Quit: Leaving]
02:16
jlam has joined #ocaml
02:17
agravier has quit [Quit: agravier]
02:18
agravier has joined #ocaml
02:18
agravier has quit [Client Quit]
02:18
cggong has joined #ocaml
02:36
cranmax has quit [Quit: Connection closed for inactivity]
02:49
spew has quit [Ping timeout: 255 seconds]
02:59
cggong has quit [Quit: cggong]
03:06
Algebr has joined #ocaml
03:11
ziyourenxiang has quit [Ping timeout: 240 seconds]
03:11
chinglish has quit [Ping timeout: 260 seconds]
03:12
Algebr has quit [Ping timeout: 260 seconds]
03:13
\h has left #ocaml ["WeeChat 1.7.1"]
03:16
samrat has joined #ocaml
03:17
cggong has joined #ocaml
03:19
chinglish has joined #ocaml
03:26
samrat has quit [Ping timeout: 240 seconds]
03:37
cggong has quit [Quit: cggong]
03:48
alexelcu has quit [Remote host closed the connection]
03:48
cggong has joined #ocaml
03:53
cggong has quit [Client Quit]
04:00
copy` has quit [Quit: Connection closed for inactivity]
04:15
infinity0 has joined #ocaml
04:29
samrat has joined #ocaml
04:33
samrat has quit [Ping timeout: 246 seconds]
04:53
samrat has joined #ocaml
05:17
copy` has joined #ocaml
05:22
olibjerd has joined #ocaml
05:24
FreeBirdLjj has joined #ocaml
05:27
slash^ has joined #ocaml
05:29
FreeBirdLjj has quit [Ping timeout: 260 seconds]
05:31
agravier has joined #ocaml
05:37
dinosaure has joined #ocaml
05:38
ziyourenxiang has joined #ocaml
05:42
samrat has quit [Ping timeout: 240 seconds]
05:55
samrat has joined #ocaml
06:03
_whitelogger has joined #ocaml
06:37
lizzin has quit [Ping timeout: 240 seconds]
06:43
MercurialAlchemi has joined #ocaml
06:46
Mercuria1Alchemi has joined #ocaml
06:53
pyx has joined #ocaml
06:54
pyx has quit [Client Quit]
06:54
apache2_ has joined #ocaml
07:06
Enjolras_ has quit [Ping timeout: 255 seconds]
07:13
lostman has quit [Quit: Connection closed for inactivity]
07:21
Mercuria1Alchemi has quit [Ping timeout: 246 seconds]
07:32
pete_8 has joined #ocaml
07:46
agravier has quit [Quit: agravier]
07:56
agravier has joined #ocaml
07:57
dwillems has joined #ocaml
08:03
agravier has quit [Quit: agravier]
08:12
rk[ghost] has joined #ocaml
08:14
agravier has joined #ocaml
08:21
_whitelogger has joined #ocaml
08:29
liuhx has joined #ocaml
08:31
liuhx has quit [Client Quit]
08:40
copy` has quit [Quit: Connection closed for inactivity]
08:42
pete_8 has quit [Ping timeout: 240 seconds]
08:58
tane_ has joined #ocaml
08:59
rk[ghost] has quit [Ping timeout: 255 seconds]
09:03
agravier has quit [Quit: agravier]
09:04
pete_8 has joined #ocaml
09:26
ryankarason has joined #ocaml
09:27
ryankarason is now known as rk[ghost]
09:30
Merv__ has joined #ocaml
09:31
Merv_ has quit [Ping timeout: 246 seconds]
09:40
mfp_ has joined #ocaml
10:05
TheLemonMan has joined #ocaml
10:16
cranmax has joined #ocaml
10:20
argent_smith has joined #ocaml
10:29
samrat has quit [Ping timeout: 240 seconds]
10:32
sepp2k has joined #ocaml
10:34
chinglish has quit [Ping timeout: 240 seconds]
10:34
boojinks has joined #ocaml
10:36
nicooo has quit [Remote host closed the connection]
10:37
nicooo has joined #ocaml
10:37
sh0t has joined #ocaml
11:09
agravier has joined #ocaml
11:12
chinglish has joined #ocaml
11:23
Mercuria1Alchemi has joined #ocaml
11:30
dwillems has quit [Ping timeout: 246 seconds]
11:30
agravier has quit [Quit: agravier]
11:32
`micro has quit [Ping timeout: 260 seconds]
11:32
`micro has joined #ocaml
11:33
`micro is now known as Guest35883
11:37
silver has joined #ocaml
11:38
zpe has quit [Ping timeout: 240 seconds]
11:39
zpe has joined #ocaml
11:42
sillyotter has joined #ocaml
11:43
sillyotter has quit [Client Quit]
11:44
cggong has joined #ocaml
11:46
ollehar1 has joined #ocaml
11:48
cggong has quit [Client Quit]
11:51
sepp2k has quit [Ping timeout: 240 seconds]
12:06
zpe has quit [Remote host closed the connection]
12:07
sepp2k has joined #ocaml
12:09
cggong has joined #ocaml
12:24
P4Titan has joined #ocaml
12:33
chinglish has quit [Ping timeout: 246 seconds]
12:36
cggong has quit [Quit: cggong]
12:39
pete_8 has quit [Ping timeout: 260 seconds]
12:53
tane_ has quit [Quit: Leaving]
12:58
cggong has joined #ocaml
13:11
jack5638 has quit [Ping timeout: 260 seconds]
13:14
dwillems has joined #ocaml
13:17
jack5638 has joined #ocaml
13:19
agravier has joined #ocaml
13:30
jack5638 has quit [Ping timeout: 246 seconds]
13:36
jack5638 has joined #ocaml
13:37
dwillems has quit [Ping timeout: 240 seconds]
13:41
cggong has quit [Quit: cggong]
13:46
cranmax has quit [Quit: Connection closed for inactivity]
13:47
spew has joined #ocaml
13:58
FreeBirdLjj has joined #ocaml
14:01
samrat has joined #ocaml
14:04
pete_8 has joined #ocaml
14:11
agravier has quit [Quit: agravier]
14:12
superherointj has joined #ocaml
14:16
samrat has quit [Ping timeout: 240 seconds]
14:18
jack5638 has quit [Ping timeout: 245 seconds]
14:24
jack5638 has joined #ocaml
14:26
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
14:33
P4Titan has quit [Ping timeout: 240 seconds]
14:38
dwillems has joined #ocaml
14:44
samrat has joined #ocaml
14:47
lizzin has joined #ocaml
14:47
dwillems has quit [Ping timeout: 255 seconds]
14:47
lizzin is now known as Guest86224
14:52
maufred has quit [Ping timeout: 246 seconds]
14:56
superherointj has quit [Quit: Leaving]
15:01
cranmax has joined #ocaml
15:03
cranmax2 has joined #ocaml
15:05
maufred has joined #ocaml
15:06
cranmax2 has quit [Client Quit]
15:07
<
reynir >
urgh, opam broke on my laptop after I upgraded packages (arch). Some issue with the solver
15:07
cranmax2 has joined #ocaml
15:08
sh0t has quit [Quit: Leaving]
15:08
cranmax2 has quit [Client Quit]
15:20
spew has quit [Ping timeout: 246 seconds]
15:26
MercurialAlchemi has quit [Ping timeout: 255 seconds]
15:31
ontologiae_ has joined #ocaml
15:36
jnavila has joined #ocaml
15:38
agravier has joined #ocaml
15:49
spew has joined #ocaml
15:49
cggong has joined #ocaml
15:55
copy` has joined #ocaml
16:05
enterprisey has joined #ocaml
16:07
argent_smith has quit [Quit: Leaving.]
16:08
AlexRussia has quit [Ping timeout: 240 seconds]
16:21
AlexRussia has joined #ocaml
16:46
cggong has quit [Quit: cggong]
16:51
ziyourenxiang has quit [Ping timeout: 268 seconds]
17:05
dwillems has joined #ocaml
17:08
ontologiae_ has quit [Ping timeout: 240 seconds]
17:08
jnavila has quit [Ping timeout: 255 seconds]
17:09
ryanartecona has joined #ocaml
17:09
jack5638 has quit [Ping timeout: 268 seconds]
17:13
ryanartecona has quit [Client Quit]
17:15
ryanartecona has joined #ocaml
17:16
jack5638 has joined #ocaml
17:17
boojinks has quit [Quit: Lost terminal]
17:22
ontologiae_ has joined #ocaml
17:26
ontologiae_ has quit [Ping timeout: 255 seconds]
17:26
samrat has quit [Ping timeout: 240 seconds]
17:26
kakadu has joined #ocaml
17:30
Mercuria1Alchemi has quit [Ping timeout: 268 seconds]
17:31
cranmax has quit [Quit: Connection closed for inactivity]
17:33
<
def` >
rgrinberg: I think so. Can you describe your problem?
17:33
<
def` >
(you got a parsetree from Pparse, that's it?)
17:33
<
rgrinberg >
def` i'm using compiler libs to parse some ml sources and extract some attributes. would like to it in an ocaml version agnostic way
17:33
<
rgrinberg >
i know pparse and compiler libs itself might change across versions, but seems way more unlikely
17:35
<
def` >
There are two parts: parsing will be done with whatever version is provided by compiler libs.
17:35
<
def` >
Then for your processing you should pick an OCaml version (4.04 or 4.05 is a good choice)
17:36
<
def` >
In this file, use "open Ast_404" to shadow the parsetree with the version you chose.
17:38
<
def` >
Now, to connect the two versions, you need to convert the parsetrees back and forth.
17:39
<
def` >
in module Migrate_parsetree.Versions, you can use "migrate ocaml_current ocaml_404" to get functions for migrating different part of the parsetrees from compiler-libs version to 4.04
17:39
<
def` >
And "migrate ocaml_404 ocaml_current" for the other way.
17:40
<
def` >
((migrate ocaml_current ocaml_404).copy_structure for instance)
17:40
dwillems has quit [Ping timeout: 255 seconds]
17:58
ryanartecona has quit [Quit: ryanartecona]
18:01
ontologiae_ has joined #ocaml
18:03
FreeBirdLjj has quit [Remote host closed the connection]
18:03
FreeBirdLjj has joined #ocaml
18:06
ontologiae_ has quit [Ping timeout: 240 seconds]
18:06
ontologiae_ has joined #ocaml
18:07
agravier has quit [Quit: agravier]
18:07
FreeBirdLjj has quit [Ping timeout: 240 seconds]
18:14
ygrek_ has joined #ocaml
18:15
<
rgrinberg >
ok thanks def` let me give that a try
18:16
enterprisey has quit [Remote host closed the connection]
18:21
ontologiae_ has quit [Ping timeout: 240 seconds]
18:22
cggong has joined #ocaml
18:26
andreas_ has joined #ocaml
18:27
FreeBirdLjj has joined #ocaml
18:29
microt has joined #ocaml
18:30
<
apache2_ >
can anyone point me to an ocaml project that uses the Graphics module?
18:30
<
apache2_ >
or a library for pure ocaml parsing of images (in whatever format)?
18:31
FreeBirdLjj has quit [Remote host closed the connection]
18:31
zpe has joined #ocaml
18:32
FreeBirdLjj has joined #ocaml
18:33
<
microt >
Can someone let me know how to include_matches = true in Janestreets Re2.split function?
18:34
<
companion_cube >
if it's an optional argument: ~include_matches:true
18:34
<
microt >
Great! Let me give that a try! New to this.
18:35
cggong has quit [Quit: cggong]
18:35
ontologiae_ has joined #ocaml
18:36
<
microt >
Companion_cube - thank you for the help!
18:36
FreeBirdLjj has quit [Ping timeout: 246 seconds]
18:36
<
companion_cube >
no pb
18:43
cranmax has joined #ocaml
18:46
AndroUser has joined #ocaml
18:46
cggong has joined #ocaml
18:47
cggong has quit [Client Quit]
18:47
olibjerd has quit [Ping timeout: 240 seconds]
18:47
AndroUser has quit [Client Quit]
18:47
AndroUser has joined #ocaml
18:50
AndroUser is now known as cranmax2
18:54
dudelson has joined #ocaml
18:58
olibjerd has joined #ocaml
18:59
<
octachron >
apache2_, there is camlImages for handling image format
19:00
<
octachron >
apache2_, the Graphics module is more here for pedagogical purpose than anything
19:00
<
apache2_ >
I had a look at camlImages,but it seems to use c bindings for all the formats
19:01
zpe_ has joined #ocaml
19:01
zpe has quit [Read error: Connection reset by peer]
19:02
TheLemonMan has joined #ocaml
19:04
<
octachron >
apache2_, well image processing is performance intensive, there is few points in not reusing optimized C-libraries
19:04
<
apache2_ >
yeah, one of the major ones being that it's nice to retain the control of your system
19:05
<
apache2_ >
ie not getting hacked by people who likes to browse bug trackers for common optimized c libraries and applying 3 year old security flaws
19:05
<
apache2_ >
another one is portability
19:06
<
apache2_ >
different trade-offs for different situations; personally I'd like to avoid running C code on untrusted inputs
19:07
cranmax2 has quit [Remote host closed the connection]
19:10
<
octachron >
apache2_, it is a valid argument ; you are certainly free to write your own secure pure-ocaml image processing library.
19:12
<
companion_cube >
apache2_: what if it's custom C code?
19:18
jnavila has joined #ocaml
19:18
<
apache2_ >
companion_cube: there's nothing magical about commercially or freely available C code; it's all just someone else's C code :)
19:18
<
companion_cube >
yeah yeah
19:18
<
companion_cube >
but vulnearabilities are different
19:18
<
companion_cube >
it's probably better to write fortran anyway :D
19:19
<
apache2_ >
in some cases they know C better than you, pay more attention to details, and have had more eyes on the code.
19:19
<
apache2_ >
octachron: :) I was just hoping someone else had done the hard work of that :)
19:20
dudelson has joined #ocaml
19:22
MercurialAlchemi has joined #ocaml
19:27
spew has quit [Ping timeout: 255 seconds]
19:37
ollehar1 has quit [Quit: ollehar1]
19:45
slash^ has quit [Read error: Connection reset by peer]
19:47
argent_smith has joined #ocaml
19:49
MercurialAlchemi has quit [Ping timeout: 255 seconds]
19:51
zpe_ has quit [Remote host closed the connection]
19:52
cggong has joined #ocaml
20:05
alexelcu has joined #ocaml
20:06
alexelcu has quit [Remote host closed the connection]
20:07
alexelcu has joined #ocaml
20:13
philtor has joined #ocaml
20:27
cggong has quit [Quit: cggong]
20:29
olibjerd has quit [Ping timeout: 246 seconds]
20:29
cggong has joined #ocaml
20:30
zaquest has quit [Remote host closed the connection]
20:30
madroach has quit [Remote host closed the connection]
20:30
madroach has joined #ocaml
20:32
zaquest has joined #ocaml
20:34
sepp2k has quit [Quit: Leaving.]
20:36
ontologiae_ has quit [Ping timeout: 246 seconds]
20:38
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
20:45
jnavila has quit [Remote host closed the connection]
21:10
dwillems has joined #ocaml
21:39
dwillems has quit [Ping timeout: 240 seconds]
21:43
cggong has quit [Quit: cggong]
21:44
olibjerd has joined #ocaml
22:07
cggong has joined #ocaml
22:07
cggong has quit [Client Quit]
22:11
cggong has joined #ocaml
22:12
cggong has quit [Client Quit]
22:18
cggong has joined #ocaml
22:29
kakadu has quit [Remote host closed the connection]
22:30
argent_smith has quit [Quit: Leaving.]
22:32
olibjerd has quit [Quit: olibjerd]
22:32
cggong has quit [Quit: cggong]
22:35
copy` has quit [Quit: Connection closed for inactivity]
22:36
spew has joined #ocaml
22:53
cranmax has quit [Quit: Connection closed for inactivity]
22:55
iitalics has joined #ocaml
22:58
iitalics has quit [Client Quit]
23:00
ziyourenxiang has joined #ocaml
23:06
copy` has joined #ocaml
23:14
ygrek has joined #ocaml
23:14
ygrek_ has quit [Ping timeout: 260 seconds]
23:15
dtornabene has joined #ocaml
23:19
ziyourenxiang has quit [Ping timeout: 260 seconds]
23:33
pete_8 has quit [Ping timeout: 260 seconds]
23:35
cggong has joined #ocaml
23:48
AlexRussia has quit [Ping timeout: 255 seconds]