00:08
thrasibule has joined #ocaml
00:09
pimmhogeling has quit [Remote host closed the connection]
00:09
valross has joined #ocaml
00:13
_unK has quit [Remote host closed the connection]
00:22
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
00:27
maskd has quit [Quit: leaving]
00:52
Mr_Awesome has quit [Ping timeout: 245 seconds]
00:54
rfg has quit [Quit: rfg]
01:07
Mr_Awesome has joined #ocaml
01:37
seanmcl has joined #ocaml
02:32
thrasibule_ has joined #ocaml
02:33
thrasibule has quit [Ping timeout: 276 seconds]
02:38
Morphous has quit [Ping timeout: 258 seconds]
02:54
Morphous has joined #ocaml
03:18
pad has quit [Remote host closed the connection]
03:32
dark has quit [Remote host closed the connection]
03:32
enthymeme has joined #ocaml
03:40
Associat0r has quit [Quit: Associat0r]
04:03
dark has joined #ocaml
04:15
psnively has joined #ocaml
04:17
Submarine has joined #ocaml
04:25
psnively has quit [Quit: psnively]
04:43
seanmcl has quit [Quit: seanmcl]
04:48
thrasibule_ has quit [Ping timeout: 252 seconds]
04:58
Shoggoth has joined #ocaml
04:59
seanmcl has joined #ocaml
04:59
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
05:01
mdmkolbe has quit [Quit: Leaving.]
05:08
myu2 has joined #ocaml
05:25
brooksbp_ has quit [Quit: Leaving...]
05:26
jakedouglas has quit [Quit: Leaving.]
05:28
ygrek has joined #ocaml
05:38
enthymeme has joined #ocaml
05:42
ttamttam has joined #ocaml
05:52
seanmcl has quit [Quit: seanmcl]
05:52
ttamttam has quit [Quit: Leaving.]
05:55
kaustuv has joined #ocaml
06:00
myu2 has quit [Remote host closed the connection]
06:02
myu2 has joined #ocaml
06:03
|Jedai| has quit [Ping timeout: 260 seconds]
06:04
|Jedai| has joined #ocaml
06:08
|Jedai| has quit [Ping timeout: 276 seconds]
06:08
Submarine has quit [Quit: Leaving]
06:16
myu2 has quit [Remote host closed the connection]
06:24
ftrvxmtrx has quit [Quit: Leaving]
06:37
drk-sd has joined #ocaml
06:56
ttamttam has joined #ocaml
06:57
myu2 has joined #ocaml
07:04
myu2 has quit [Remote host closed the connection]
07:07
myu2 has joined #ocaml
07:19
protz has quit [Remote host closed the connection]
07:21
ftrvxmtrx has joined #ocaml
07:31
joewilliams is now known as joewilliams_away
07:54
smimou has quit [Ping timeout: 246 seconds]
07:59
alpounet has quit [Quit: ``Do what you think you can't do.'']
08:06
zhijie has joined #ocaml
08:08
<
gildor >
kaustuv, you already submitted a bug about that ?
08:22
<
kaustuv >
yes, just did
08:27
valross has quit [Quit: Ex-Chat]
08:32
drk-sd has quit [Quit: foo]
08:40
myu2 has quit [Remote host closed the connection]
08:40
myu2 has joined #ocaml
08:44
ftrvxmtrx has quit [Quit: Leaving]
08:50
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
08:52
jimmyb2187 has quit [Ping timeout: 245 seconds]
08:54
jimmyb2187 has joined #ocaml
09:04
jsk-afk is now known as jsk
09:07
barismetin has joined #ocaml
09:35
<
kaustuv >
Anyone know what this means?
09:35
<
kaustuv >
omake: Symbol `FamErrlist' has different size in shared object, consider re-linking
09:35
ygrek has quit [Ping timeout: 245 seconds]
09:36
ikaros has joined #ocaml
09:37
ztfw has quit [Remote host closed the connection]
09:43
barismetin has quit [Quit: Leaving...]
09:43
barismetin has joined #ocaml
09:43
barismetin has quit [Changing host]
09:43
barismetin has joined #ocaml
09:46
ztfw has joined #ocaml
10:00
drk-sd has joined #ocaml
10:08
Associat0r has joined #ocaml
10:09
myu2_ has joined #ocaml
10:10
ikaros has quit [Quit: Leave the magic to Houdini]
10:10
myu2 has quit [Ping timeout: 246 seconds]
10:11
scriptdevil has joined #ocaml
10:11
<
scriptdevil >
# #load "camlp4o.cma";;
10:11
<
scriptdevil >
Error: Reference to undefined global `Dynlink'
10:11
<
scriptdevil >
What does that mean?
10:16
myu2_ has quit [Remote host closed the connection]
10:17
<
scriptdevil >
I had to #load "dynlink.cma" first. Got it by googling. Sorry for the trouble :)
10:21
myu2 has joined #ocaml
10:23
pikachuyann` has joined #ocaml
10:24
myu2 has quit [Remote host closed the connection]
10:25
zhijie has quit [Quit: Leaving.]
10:33
drk-sd has quit [Quit: {'EXIT', drk-sd, "bye"}]
10:39
myu2 has joined #ocaml
10:44
myu2 has quit [Remote host closed the connection]
10:45
smimou has joined #ocaml
10:46
scriptdevil has quit [Quit: leaving]
10:55
myu2 has joined #ocaml
11:04
pimmhogeling has joined #ocaml
11:08
Submarine has joined #ocaml
11:14
avsm has joined #ocaml
11:29
jsk is now known as jsk-afk
11:34
ztfw` has joined #ocaml
11:35
ztfw has quit [Read error: Connection reset by peer]
11:35
ztfw` has left #ocaml []
11:40
ikaros has joined #ocaml
11:57
myu2 has quit [*.net *.split]
11:57
ulfdoz has quit [*.net *.split]
11:57
hyperboreean has quit [*.net *.split]
11:57
Pepe_ has quit [*.net *.split]
12:02
_andre has joined #ocaml
12:04
myu2 has joined #ocaml
12:04
ulfdoz has joined #ocaml
12:04
hyperboreean has joined #ocaml
12:04
Pepe_ has joined #ocaml
12:09
myu2 has quit [Remote host closed the connection]
12:10
hyperboreean has quit [Ping timeout: 264 seconds]
12:10
thrasibule has joined #ocaml
12:12
hyperboreean has joined #ocaml
12:16
derdon has joined #ocaml
12:58
pimmhogeling has quit [Ping timeout: 265 seconds]
13:07
jsk-afk is now known as jsk
13:12
<
thelema >
kaustuv: that warning just has to do with gamin/fam - gamin is binary compatible, but produces that link warning
13:29
boscop has joined #ocaml
13:31
_unK has joined #ocaml
13:31
pimmhogeling has joined #ocaml
13:32
thieusoai has quit [Quit: Leaving]
13:36
boscop_ has joined #ocaml
13:38
boscop has quit [Ping timeout: 240 seconds]
13:39
<
flux >
cool, an ocaml mindstorm library already exists
13:39
<
flux >
(guess what friends gave me for my graduation..)
13:39
<
flux >
and I've only found one bug from the library so far :)
13:41
<
flux >
too bad there's no ocaml compiler for the actual device though :)
13:41
<
flux >
are there any ML-like languages aimed towards low-end devices?
13:41
<
flux >
(that piece of hardware for instance has 64kB of memory, but I was thinking other devices even with less)
13:43
thieusoai has joined #ocaml
13:43
<
Camarade_Tux >
congratulations btw ;-)
13:43
<
orbitz >
flux: awesoem
13:43
<
orbitz >
flux: congrats too
13:44
<
orbitz >
flux: wasn't that the original goal of Timber?
13:45
<
flux >
they also gave me 45 A4 sheets that contain the congratulation card base-64-encoded
13:45
<
flux >
I'm yet to decipher that.. (also the sheets are out-of-order)
13:46
<
flux >
(actually that was the gift wrap)
13:49
<
Camarade_Tux >
hahaha :P
13:51
<
Camarade_Tux >
pnm? I'm wondering if I should download it
13:52
<
thelema >
37MB image file :(
13:53
<
Camarade_Tux >
optipng ;-)
13:53
<
Camarade_Tux >
31% smaller
13:54
<
flux >
strange, convert made it infact larger
13:54
<
flux >
so I decided to put up the original
13:55
<
Camarade_Tux >
optipng compresses better than convert, but also takes more time (but it's definitely worth it)
13:56
thieusoai has quit [Quit: Leaving]
13:57
<
thelema >
post pnmtopng: 26822466 bytes, post optipng: ...
13:57
<
thelema >
26706350 bytes = .43% decrease
13:58
thieusoai has joined #ocaml
14:05
ikaros has quit [Quit: Leave the magic to Houdini]
14:08
boscop_ has left #ocaml []
14:12
yangsx has joined #ocaml
14:13
pimmhogeling has quit [Remote host closed the connection]
14:14
smimou has quit [Ping timeout: 246 seconds]
14:14
smimou has joined #ocaml
14:14
<
Camarade_Tux >
| _, (Pointer (_, (TypeName (RegularName (s, _), _), _)), _) ->
14:14
<
Camarade_Tux >
now I remember why I didn't really like yacfe...
14:17
rfg has joined #ocaml
14:23
<
thelema >
Camarade_Tux: maybe records would have been a better choice for their data structures
14:23
_2x2l has joined #ocaml
14:23
<
thelema >
otoh, that could be more verbose than tuples
14:23
ikaros has joined #ocaml
14:24
<
Camarade_Tux >
thelema: they're
_also_ using records ;-)
14:25
<
Camarade_Tux >
I can't really say anything: 19 lines to find functions, their names and arguments names and types, but I've typed '_' so many times in this code...
14:26
<
Camarade_Tux >
s/say anything/complain/
14:29
myu2 has joined #ocaml
14:30
<
Camarade_Tux >
(that was for parsing C btw)
14:30
Shoggoth has quit [Quit: Ex-Chat]
14:36
joewilliams_away is now known as joewilliams
14:41
avsm has quit [Quit: Leaving.]
14:42
jakedouglas has joined #ocaml
14:42
jakedouglas has quit [Remote host closed the connection]
14:43
jakedouglas has joined #ocaml
15:10
yangsx has quit [Ping timeout: 276 seconds]
15:12
<
kaustuv >
All I want is an OpenGL binding that uses variants for GLenums like LablGL, has a thin layer of abstraction like glMLite, and has the coverage of extensions and the license of GLcaml.
15:13
avsm has joined #ocaml
15:15
pimmhogeling has joined #ocaml
15:24
ztfw has joined #ocaml
15:35
ztfw has quit [Remote host closed the connection]
15:38
ccasin has joined #ocaml
15:46
avsm has quit [Ping timeout: 264 seconds]
15:52
avsm has joined #ocaml
15:58
jakedouglas has quit [Quit: Leaving.]
15:59
jakedouglas has joined #ocaml
16:06
ztfw has joined #ocaml
16:07
munga has quit [Read error: Operation timed out]
16:08
jakedouglas has quit [Quit: Leaving.]
16:18
ulfdoz_ has joined #ocaml
16:19
ttamttam has quit [Quit: Leaving.]
16:22
ulfdoz has quit [Ping timeout: 264 seconds]
16:28
jakedouglas has joined #ocaml
16:31
barismetin has quit [Quit: Leaving...]
16:32
jakedouglas has quit [Client Quit]
16:38
jakedouglas has joined #ocaml
16:51
avsm has quit [Ping timeout: 240 seconds]
16:52
pimmhogeling has quit [Ping timeout: 265 seconds]
16:52
sepp2k has joined #ocaml
16:56
alpounet has joined #ocaml
17:15
kaustuv has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
17:20
avsm has joined #ocaml
17:23
pimmhogeling has joined #ocaml
17:25
avsm has quit [Ping timeout: 265 seconds]
17:29
drk-sd has joined #ocaml
17:30
avsm has joined #ocaml
17:35
avsm has quit [Ping timeout: 246 seconds]
17:46
Nazral has joined #ocaml
17:49
{newbie} has joined #ocaml
17:52
<
{newbie} >
Hi I have a question about labgtk
17:52
<
{newbie} >
if I have a long runnning action on a callback
17:52
<
{newbie} >
does it block the interface?
17:53
<
thelema >
if you can, have your long-running action 1) run in a separate thread or 2) reschedule a continuation when the UI is idle
17:53
<
thelema >
s/when/for when/
17:54
<
Camarade_Tux >
that's detailled in one of the READMEs
17:56
<
{newbie} >
thelema:
17:56
<
{newbie} >
that function will be called when nothing is happenning
17:57
<
{newbie} >
what if some one clicks in the interface when the function is still running?
17:57
<
thelema >
if nothing else is happenning, your long-running action should run for a little bit, and then yield back to the UI, to check.
17:59
<
{newbie} >
:| I thnik
17:59
<
{newbie} >
I'm going to ditck ocaml to write my gui
18:00
Submarine has quit [Ping timeout: 240 seconds]
18:01
<
flux >
I don't think you will find other non-blocking solutions that don't involve threading or multiprocessing, though :)
18:02
<
flux >
actually, BeOS wasn't a good example, it's all about threading
18:02
<
Camarade_Tux >
but you can use green threads ;-)
18:02
<
{newbie} >
adding a function to be run at idle time and then preempt manually isn't very nice
18:03
<
flux >
well, usually user interface systems run in a single thread
18:03
ulfdoz_ has quit [Quit: Reconnecting]
18:03
ulfdoz has joined #ocaml
18:03
<
flux >
so that's what happens
18:03
<
flux >
if you don't use threads or processes
18:03
<
thelema >
{newbie}: so use a thread
18:03
<
Camarade_Tux >
{newbie}: but, you don't want to use threads?
18:04
<
{newbie} >
I'd prefer the task to run at ful speed in another core
18:04
<
{newbie} >
so that means I'll have to use threads
18:04
<
{newbie} >
and multi processes I think
18:04
<
gildor >
{newbie}: or run it in another process
18:05
<
thelema >
if that's the case, you'll need multiple processes.
18:05
<
{newbie} >
1 green thread to wait for the process to finish
18:05
<
{newbie} >
and the update the gui
18:05
<
{newbie} >
is that correct?
18:07
<
gildor >
{newbie}: 1 process to handle heavy computation and 1 process with a green thread to wait for completion
18:07
<
{newbie} >
and the process with the green thread is the GUI process
18:07
<
gildor >
{newbie}: yes
18:08
<
{newbie} >
ok thank! now I have a plan
18:09
<
gildor >
{newbie}: you should create a small protocol, using type send_message_t = | StartCompute of 'a | Quit;; type recv_message_t = Result of 'b
18:09
<
gildor >
and use output|input_value
18:10
<
gildor >
this is ~20 lines of OCaml code
18:10
<
Camarade_Tux >
you can also use a fake progress bar with an arbitrary progression ;-)
18:11
<
gildor >
one that slowdown when it reach 99%
18:11
<
{newbie} >
yeah a small lib to handle the piping stuff will be nice
18:24
alpounet has quit [Read error: No route to host]
18:25
alpounet has joined #ocaml
18:27
ttamttam has joined #ocaml
18:35
Ori_B_ has left #ocaml []
18:42
pimmhogeling has quit [Remote host closed the connection]
18:45
Ori_B has joined #ocaml
18:47
pimmhogeling has joined #ocaml
18:49
SEcki has joined #ocaml
18:54
alpounet has quit [Ping timeout: 268 seconds]
18:56
Submarine has joined #ocaml
19:02
ygrek has joined #ocaml
19:12
alpounet has joined #ocaml
19:13
joewilliams is now known as joewilliams_away
19:15
det has quit [Remote host closed the connection]
19:24
enthymeme has joined #ocaml
19:34
ikaros_ has joined #ocaml
19:38
ikaros has quit [Ping timeout: 240 seconds]
19:40
pimmhogeling has quit [Remote host closed the connection]
19:47
alpounet has quit [Ping timeout: 248 seconds]
19:54
joewilliams_away is now known as joewilliams
20:00
_andre has quit [Quit: *puff*]
20:13
thieusoai has quit [Remote host closed the connection]
20:15
matthieu has joined #ocaml
20:16
derdon has quit [Ping timeout: 276 seconds]
20:18
maattd has quit [Ping timeout: 276 seconds]
20:22
ttamttam has quit [Quit: Leaving.]
20:22
boscop has joined #ocaml
20:27
dark has quit [Ping timeout: 245 seconds]
20:27
alpounet has joined #ocaml
20:40
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
20:44
ftrvxmtrx has joined #ocaml
20:52
<
pikachuyann` >
bonne nuit!/good night
20:53
pikachuyann` has quit [Remote host closed the connection]
21:00
ygrek has quit [Ping timeout: 245 seconds]
21:16
enthymeme has joined #ocaml
21:17
det has joined #ocaml
21:28
avsm has joined #ocaml
21:29
Submarine has quit [Quit: Leaving]
22:04
matthieu has quit [Remote host closed the connection]
22:05
drk-sd has quit [Quit: dodo]
22:08
ccasin has quit [Quit: Leaving]
22:17
SEcki has quit [Ping timeout: 260 seconds]
22:30
SEcki has joined #ocaml
22:37
seanmcl has joined #ocaml
22:37
SEcki has quit [Ping timeout: 246 seconds]
22:51
MrEvil has joined #ocaml
22:53
ikaros_ has quit [Quit: Leave the magic to Houdini]
22:54
avsm1 has joined #ocaml
22:55
avsm has quit [Ping timeout: 276 seconds]
23:01
sepp2k has quit [Quit: Leaving.]
23:12
MrEvil has quit [Quit: This computer has gone to sleep]
23:21
joewilliams is now known as joewilliams_away
23:29
fraggle_ has quit [Ping timeout: 276 seconds]
23:34
fraggle_ has joined #ocaml
23:42
maskd has joined #ocaml