philtor has quit [Read error: Operation timed out]
<f[x]>
strange to see ocamlbuild-specific logic in base
<joelr>
f[x]: are you talking about my patch or about existing oasis code?
<joelr>
f[x]: because i'm not doing anything differently from what oasis does already
<f[x]>
ok
<joelr>
f[x]: if you look at your setup.ml, i simply copied the code that figured out the extension from a bit further down in setup.ml to a bit further up
<f[x]>
ok :)
<joelr>
f[x]: the benefit for us is that rather than having ocamlbuild run 14 (or 28) times it now runs just once
<joelr>
we have 13 executables and then there are libraries which is another run of ocamlbuild, that makes 14. in some cases (byte/native?) it can actually run twice
<joelr>
which is 28
<f[x]>
this is nice
impy has quit [Ping timeout: 246 seconds]
<flux>
I guess running it only once gives it better parallelizing opportunities as well?
<joelr>
the "some cases" is when you run 'make test'
<joelr>
f[x]: ^
<joelr>
flux: yes, that too
<joelr>
and it only figured out the dependency graph once
seafood has joined #ocaml
seafood has quit [Client Quit]
boscop has joined #ocaml
Yoric has joined #ocaml
boscop has quit [Read error: Connection reset by peer]
edwin has joined #ocaml
boscop has joined #ocaml
boscop has quit [Ping timeout: 250 seconds]
boscop has joined #ocaml
larhat has joined #ocaml
ftrvxmtrx has joined #ocaml
<joelr>
has anyone used camomile? utf8?
<joelr>
i need to escape utf8 characters in a string
ikaros has quit [Quit: Ex-Chat]
<joelr>
never mind, camomile has the functionality
raphscallion has quit [Quit: raphscallion]
oriba has joined #ocaml
jderque has joined #ocaml
vivanov has quit [Quit: Changing server]
vivanov has joined #ocaml
vivanov has quit [Client Quit]
vivanov has joined #ocaml
avsm1 has joined #ocaml
avsm has quit [Ping timeout: 240 seconds]
lopexx has quit [Ping timeout: 240 seconds]
avsm has joined #ocaml
avsm1 has quit [Ping timeout: 260 seconds]
DimitryKakadu has joined #ocaml
avsm1 has joined #ocaml
avsm has quit [Read error: Connection reset by peer]
lopex has joined #ocaml
avsm has joined #ocaml
avsm1 has quit [Ping timeout: 246 seconds]
avsm has quit [Quit: Leaving.]
Yoric1 has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
hto has joined #ocaml
ygrek has joined #ocaml
Tianon has quit [Read error: Operation timed out]
jld has quit [Read error: Operation timed out]
vivanov has quit [Quit: Lost terminal]
vivanov has joined #ocaml
vivanov has quit [Client Quit]
vivanov has joined #ocaml
mnabil has joined #ocaml
vivanov has quit [Read error: No route to host]
_andre has joined #ocaml
emmanuelux has joined #ocaml
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
jld has joined #ocaml
ygrek has quit [Ping timeout: 246 seconds]
mnabil has quit [Ping timeout: 244 seconds]
chegibari has joined #ocaml
jld has quit [Read error: Operation timed out]
jderque has quit [Quit: leaving]
Tianon has quit [Ping timeout: 248 seconds]
chegibari has quit [Remote host closed the connection]
mnabil has joined #ocaml
Yoric has joined #ocaml
Yoric1 has quit [Read error: Connection reset by peer]
Snark_ has joined #ocaml
jld has joined #ocaml
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
mnabil has quit [Ping timeout: 248 seconds]
mnabil has joined #ocaml
Snark_ is now known as Snark
vivanov has joined #ocaml
mnabil has quit [Ping timeout: 246 seconds]
ymasory has quit [Quit: Leaving]
mnabil has joined #ocaml
pdhborges has joined #ocaml
<joelr>
gildor: what do you think of my patch?
<gildor>
joelr: I take the idea, but does it a little different
<joelr>
gildor: how are you doing it?
<joelr>
gildor: copy rules in myocamlbuild?
<gildor>
I modify evs to take into account the new name and change the name when installing
<gildor>
it works (test suite is ok)
<thelema>
gildor: did you notice the feature request I put on the bug tracker?
<joelr>
gildor: does it invoke ocamlbuild only once?
<joelr>
gildor: because that's the result i was looking for with my patch
<gildor>
joelr: ocamlbuild once -> yes
<gildor>
thelema: yes I notice it
<joelr>
gildor: awesome! what do you do in case my executable name is different from MainIs, though?
<joelr>
how do you handle that?
<gildor>
Executable foo MainIs: bar.ml will call ocamlbuild bar.byte and the value $foo will contain bar.byte
<joelr>
gildor: so no copying except for installation. excellent!
<joelr>
gildor: no Std and StdRename as well, i gather. correct?
raphscallion has joined #ocaml
<gildor>
joelr: yes I completely remove Std and StdRename from the code
<gildor>
~60 lines less
Snark has quit [Quit: Ex-Chat]
jamii has joined #ocaml
vivanov has quit [Quit: Lost terminal]
alfa_y_omega has quit [Ping timeout: 244 seconds]
<joelr>
gildor: woot!
<joelr>
gildor: when is the next release?
alfa_y_omega has joined #ocaml
<gildor>
joelr: I am closing some bug and will do a 0.2.1~alpha1 release
<joelr>
gildor: awesome
raphscallion has quit [Quit: raphscallion]
snf has left #ocaml []
raphscallion has joined #ocaml
joewilliams_away is now known as joewilliams
lopex has quit [Ping timeout: 252 seconds]
avsm has joined #ocaml
lopex has joined #ocaml
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 246 seconds]
joelr has quit [Quit: joelr]
ymasory has joined #ocaml
vivanov has joined #ocaml
ankit9 has quit [Quit: Leaving]
emmanuelux has quit [Remote host closed the connection]
lopexx has joined #ocaml
emmanuelux has joined #ocaml
lopex has quit [Ping timeout: 260 seconds]
tildedave has quit [Read error: Operation timed out]
tildedave has joined #ocaml
impy has joined #ocaml
jderque has joined #ocaml
oriba has quit [Remote host closed the connection]
<vivanov>
how to print a record to a channel/file ?
<thelema>
vivanov: print each of its components
<vivanov>
thelema: ok -- will do -- thx
<thelema>
or use Marshal, if you don't care how it's represented, but just want to unpack it later
<vivanov>
thelema: ok -- ill have a look at that
avsm1 has joined #ocaml
avsm has quit [Ping timeout: 248 seconds]
DimitryKakadu has quit [Remote host closed the connection]
DimitryKakadu has joined #ocaml
rossberg has quit [Ping timeout: 248 seconds]
DimitryKakadu has quit [Remote host closed the connection]
avsm1 has quit [Quit: Leaving.]
ikaros has joined #ocaml
ymasory has quit [Quit: Leaving]
jamii has quit [Ping timeout: 246 seconds]
rossberg has joined #ocaml
raphscallion has quit [Quit: raphscallion]
DimitryKakadu has joined #ocaml
ankit9 has joined #ocaml
avsm has joined #ocaml
DimitryKakadu has quit [Remote host closed the connection]
<hcarty>
The automated man-ification is an interesting touch.
<thelema>
quite. Although it's not a huge step from building a usage screen to man-ification
<thelema>
I'm happy with the idea of having the command-line processor control the running of the program, although I'm not impressed by the API design
<hcarty>
It seems rather complex for what it's doing. I haven't looked beyond the documentation intro yet though.
lopexx has quit [Read error: Connection reset by peer]
lopex has joined #ocaml
DimitryKakadu has joined #ocaml
rwmjones is now known as rwmjones_afk
boscop__ has joined #ocaml
<adrien>
I found the API not that intuitive but it looks manageable
boscop_ has quit [Ping timeout: 246 seconds]
Yoric has quit [Quit: Leaving.]
<thelema>
(* Tries. This implementation also maps any non ambiguous prefix of a key to its value. *)
<thelema>
interesting...
<thelema>
also, this core code for applicative functors:
<thelema>
let app (al, f) (al', v) =
<thelema>
List.rev_append al al',
<thelema>
fun ei cl -> (f ei cl) (v ei cl)
avsm has quit [Quit: Leaving.]
Cyanure has quit [Remote host closed the connection]
<adrien>
gah, using gmail's webmail really doesn't cut it when you get a mail with lines as long as 1000 chars ='(
<thelema>
gmail doesn't wrap text?
<adrien>
not always it seems, or maybe only when sending
<adrien>
hmm, said that poorly: it wraps text but on a 1920px screen, it's too wide anyway, and it won't resize to less than 1100px or so so I'm left with huge columns for Gabriel's message ='(
larhat has quit [Quit: Leaving.]
<thelema>
adrien: odd - it wraps fine for me.
<adrien>
maybe it's because I'm using the "html" interface, but I really need to get my mails somewhere else
<adrien>
anyway
ymasory has joined #ocaml
DimitryKakadu has quit [Remote host closed the connection]
DimitryKakadu has joined #ocaml
ftrvxmtrx has quit [Quit: This computer has gone to sleep]
ymasory has quit [Ping timeout: 276 seconds]
olauzon has joined #ocaml
mnabil has quit [Ping timeout: 264 seconds]
philtor has joined #ocaml
mnabil has joined #ocaml
olauzon has quit [Quit: olauzon]
Yoric has joined #ocaml
enthymeme has joined #ocaml
ygrek has joined #ocaml
DimitryKakadu has quit [Remote host closed the connection]
mnabil has quit [Ping timeout: 244 seconds]
ymasory has joined #ocaml
pdhborges has quit [Quit: Leaving.]
ftrvxmtrx has joined #ocaml
oriba has joined #ocaml
chambart has quit [Read error: Operation timed out]
ftrvxmtrx has quit [Read error: Connection reset by peer]
ftrvxmtrx has joined #ocaml
oriba_ has joined #ocaml
chambart has joined #ocaml
oriba has quit [Ping timeout: 276 seconds]
lamawithonel has quit [Ping timeout: 246 seconds]
ymasory has quit [Quit: Leaving]
vivanov has quit [Ping timeout: 276 seconds]
<hcarty>
adrien: If you're feeling keyboardy, you could use mutt to connect to gmail through IMAP
<hcarty>
Assuming mutt offers some method to wrap long lines
<adrien>
hcarty: I'm probably going to use mutt, but what I need some time to get a nice setup (plus I need to download all my emails, which will take some time...)
<hcarty>
adrien: You can use mutt to connect to Google's IMAP server(s) directly
<hcarty>
And/or copy the mail to be read locally using offlineimap or similar
<adrien>
yes, will do something like that when my mind is free of other concerns, and it'll take some time to download the 3GB of data ;-)
<hcarty>
I've wanted to try sup, but that would require me to give up easy access to my email from anywhere
<adrien>
as far as I'm concerned, I've stopped connecting from public computers ;-)
<hcarty>
I'm thinking more from a phone, family member's home or work :-)
<hcarty>
Though those all have their potential troubles
<adrien>
I don't trust family members', probably because they usually run windows
<hcarty>
I would love to find a mail server, supporting IMAP or similar, with reasonable support for server-side search. Something to dump everything in to and still have Gmail-like search available
<adrien>
to be honest, I haven't found gmail's search to be great
<adrien>
in particular, searching for "fooba" won't return "foobar" and I don't think there's a way around that (I haven't looked in details)
<hcarty>
My main complaint with the alternatives is that you trade imperfect seach for no (or very slow) search
_andre has quit [Quit: leaving]
<adrien>
in the end, I only want one thing: grep =P
<hcarty>
You could go all out and build a mail reader in OCaml, using the SQLite bindings + SQLite's full text search support :-)
<adrien>
heheh =)
<adrien>
reminds me I made a trie/prefix-tree two years ago
jderque has quit [Quit: leaving]
<adrien>
bedtime, good night
rfg has quit [Quit: rfg]
bohanlon has joined #ocaml
GETOUT__ has joined #ocaml
hto_ has joined #ocaml
wishi has quit [Quit: No Ping reply in 180 seconds.]
wishi has joined #ocaml
hto_ has quit [Client Quit]
<GETOUT__>
Any good ocaml tutorials people can recommend me?