zsparks has quit [Read error: Operation timed out]
zsparks has joined #ocaml
vivanov has joined #ocaml
ymasory has quit [Quit: Leaving]
philtor has joined #ocaml
<adrien>
NaCl: callbacks should automagically be executed inside lwt threads
tnguyen has joined #ocaml
ulfdoz has quit [Ping timeout: 252 seconds]
<adrien>
I'm after a data structure that would match the notion of selecting several elements: a zipper is nice to focus one element, but what about several ones?
Snark_ has joined #ocaml
philtor has quit [Ping timeout: 252 seconds]
<flux>
..list of zippers?
khia0 has quit [Remote host closed the connection]
khia0 has joined #ocaml
Associat0r has joined #ocaml
khia0 has left #ocaml []
axiles has joined #ocaml
Cyanure has joined #ocaml
Snark_ is now known as Snark
munga has joined #ocaml
Cyanure has quit [Remote host closed the connection]
tnguyen has quit [Remote host closed the connection]
munga has quit [Ping timeout: 240 seconds]
Cyanure has joined #ocaml
ikaros has joined #ocaml
thomasga has joined #ocaml
thomasga has quit [Ping timeout: 240 seconds]
thomasga has joined #ocaml
thomasga1 has joined #ocaml
thomasga has quit [Read error: No route to host]
ftrvxmtrx has quit [Quit: This computer has gone to sleep]
sgnb has quit [Remote host closed the connection]
rossberg has joined #ocaml
rossberg has quit [Remote host closed the connection]
rossberg has joined #ocaml
avsm has joined #ocaml
Associat0r has quit [Quit: Associat0r]
sgnb has joined #ocaml
ftrvxmtrx has joined #ocaml
munga has joined #ocaml
Tommytom has joined #ocaml
<Tommytom>
Hello, can I have an objects list in Ocaml ?
<rproust>
Tommytom: yes
<rproust>
they must be of the same type
<Tommytom>
Yes of course, so I don't understant my mistake
<hcarty>
That wrapper made my (very simple) GUI needs easier.
<hcarty>
thelema_: Quite
milosn_ has joined #ocaml
milosn_ has quit [Client Quit]
lamawithonel_ has quit [Excess Flood]
lamawithonel_ has joined #ocaml
ftrvxmtrx has quit [Quit: This computer has gone to sleep]
ankit9 has joined #ocaml
lamawithonel_ has quit [Ping timeout: 255 seconds]
lamawithonel_ has joined #ocaml
lamawithonel_ has quit [Ping timeout: 255 seconds]
Snark has quit [Quit: Ex-Chat]
<adrien>
NaCl: lablgtk's documentation is mostly inexistant: it's gtk's documentation
<adrien>
needs an "intro to lablgtk" which mostly says "really close to gtk, see gtk's doc, and we have optional parameters (and that implies X and Y)" and a few other things (but it shouldn't be very long)
lamawithonel_ has joined #ocaml
<hcarty>
adrien: From what I remember, the lablgtk translation of the Gtk tutorial does a decent implicit job of illustrating those points
<hcarty>
Something explicit would be nice though
<adrien>
it illustrates them but you're still wondering from time to time
lamawithonel_ has quit [Remote host closed the connection]
lamawithonel_ has joined #ocaml
<NaCl>
adrien: alrightey... time to look at the new file chooser stuff
<adrien>
ah, and I'm supposed to look at how I can make a custom model for listviews
<adrien>
flux: I don't really understand how a list of zipper is nice for lists with multiple elements that can be selected
<NaCl>
adrien: uh, I have no idea how to use this. >_<
<adrien>
NaCl: the new file chooser?
<NaCl>
yeah
<NaCl>
oh. examples
lopex has joined #ocaml
lamawithonel_ has quit [Ping timeout: 255 seconds]
lamawithonel__ has joined #ocaml
lamawithonel__ has quit [Ping timeout: 255 seconds]
<flux>
adrien, well, I don
<flux>
't either
<thelema_>
adrien: the zippers represent both the sublists and the currently selected element in each
lamawithonel__ has joined #ocaml
munga has joined #ocaml
othiym23 has joined #ocaml
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
<NaCl>
adrien: I'll be using the FileChooserButton. My current issue is figuring out where everything is.
<NaCl>
Like modules
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
ikaros has joined #ocaml
<adrien>
thelema_: but if I'm selecting several elements at a single level?
<adrien>
NaCl: ocamlbrowser?
<thelema_>
adrien: I guess you could have a multiway zipper, but that seems overly complex
<thelema_>
that said, maybe there's some code out there for multi-cursor zippers
<thelema_>
or maybe not...
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
munga has quit [Remote host closed the connection]
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
<NaCl>
adrien: om nom nom
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
bob` has quit [Ping timeout: 250 seconds]
<adrien>
thelema_: well, I'd like to use something nicer than a list (which is what is done in gtk, and which is the reason you have "#next" but not "#previous")
<adrien>
but actually, maybe that a zipper will just work
<adrien>
it'll require iterating over all the elements in order to collect them but that's something that is only done at the end
<thelema_>
adrien: what's the whole problem? gtk is using a list for what?
<adrien>
thelema_: listviews, and I want to use a pure data structure on the ocaml side and the best way is to implement the GTree.model (iirc) class and use that
lamawithonel__ has quit [Excess Flood]
<adrien>
but I'm a bit too tired to actually say anything "useful" tonight I think
<thelema_>
ok, I'll leave it alone too, then.
* thelema_
is fighting with espresso
lamawithonel__ has joined #ocaml
<adrien>
should be good by next monday, but today, no
<adrien>
errr, not next monday since I'll probably be attending Graspop (\m/)
thomasga has joined #ocaml
thomasga has quit [Client Quit]
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
robocop has joined #ocaml
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
lamawithonel__ has quit [Excess Flood]
<hcarty>
thelema_: What is the process for uploading a package to the odb-ready oasis-db?
<thelema_>
L11: I wonder if I should ignore trailing ".0"s
lamawithonel__ has quit [Ping timeout: 255 seconds]
lamawithonel__ has joined #ocaml
<hcarty>
thelema_: Does .tar.gz vs .tar.bz2 matter?
<thelema_>
hcarty: .gz better, .bz2 should work
<thelema_>
but definitely hackish support in odb
<thelema_>
oh, n/m, odb .bz2 just fine. oasis-db, gildor says it should be fine, but iirc, there were some problems
<thelema_>
maybe they're fixed. maybe not.
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
<hcarty>
Ok, I'll go with .tar.gz
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
lamawithonel__ has quit [Excess Flood]
<hcarty>
My modified version of xstrp4 is now odb-able. In theory at least!
lamawithonel__ has joined #ocaml
<thelema_>
hcarty: what's the package name?
<thelema_>
n/m
<thelema_>
yup, it seems to have worked for me - I'll promote it to testing
<hcarty>
thelema_: Thank you
<thelema_>
fwiw, you can do this kind of administration as well, if you have time
<hcarty>
thelema_: I just saw :-) I'm poking around a bit on the interface now
* thelema_
is surprised at the deps
lamawithonel__ has quit [Excess Flood]
* thelema_
wonders what happens if batteries isn't installed
<hcarty>
thelema_: It shouldn't depend on batteries
lamawithonel__ has joined #ocaml
<thelema_>
it seems that syntax_batteries should, no?
<thelema_>
not to compile, but to use
<hcarty>
Ah, yes. That does require Batteries to use
<thelema_>
so in the meta file, it probably needs batteries
<thelema_>
as a require
<hcarty>
But I didn't want to make it a firm requirement since syntax_batteries is more of a demo than anything
<thelema_>
fair enough.
<hcarty>
Ah, I see
<thelema_>
I dunno if oasis will make that a compile requirement to put it there.
ulfdoz has quit [Ping timeout: 264 seconds]
<hcarty>
I'll check
<hcarty>
Doesn't look like it
<thelema_>
good.
lamawithonel__ has quit [Excess Flood]
jamii has joined #ocaml
lamawithonel__ has joined #ocaml
lamawithonel__ has quit [Remote host closed the connection]
lamawithonel__ has joined #ocaml
<thelema_>
hcarty: can xstrp4 drop the need to escape $ not followed by {?
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
<hcarty>
thelema_: $foo interpolates the value foo
<thelema_>
$500.00 doesn't interpolate to anything, and shouldn't need escaping
<hcarty>
thelema_: That could be removed, requiring $(foo) or ${foo, ...}
<thelema_>
POLS?
<hcarty>
thelema_: I'm not sure how to handle that sanely
<hcarty>
POLS?
<adrien>
sanity, who needs sanity?
<thelema_>
\$[a-zA-Z.]+ gets expanded
<thelema_>
Principle of Least Surprise
<hcarty>
Ah
<thelema_>
it might be reasonable to apply this expansion to all strings, so the pseudo-keyword "interpolate" could be dropped
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
<thelema_>
if the intent is to make common constructs easier, "interpolate" is a quite long keyword to turn this on.
<thelema_>
s/easier/easier to type/
<hcarty>
thelema_: I don't generally use the interpolate form
robocop has quit [Quit: Quitte]
<hcarty>
But then again I haven't used xstrp4 that much
* thelema_
is basing this all on the sample file, which seems to exclusively use interpolate
<hcarty>
sample.ml is from the original distribution, but it should still be applicable
<hcarty>
An xstrp4-based extension could be created which acts on all strings
<hcarty>
And the \$ escaping needs to change anyway, as OCaml gives a warning about an illegal backslash escape
<thelema_>
lol
lamawithonel__ has quit [Excess Flood]
<hcarty>
thelema_: \$[a-zA-Z.]+ doesn't expand to anything but $[a-zA-Z.]+ (plus the warning, of course...)
<hcarty>
thelema_: alpha1 is in the name for a good reason :-)
lamawithonel__ has joined #ocaml
<thelema_>
I was just using regexp syntax to specify what strings would be expanded without any ()
<hcarty>
thelema_: They are
lamawithonel__ has quit [Excess Flood]
jamii has quit [Read error: Connection reset by peer]
lamawithonel__ has joined #ocaml
<thelema_>
well, congrats on your first oasis-db release
bob` has joined #ocaml
<hcarty>
thelema_: Thank you
<hcarty>
And thank you for the xstrp4 feedback. I appreciate it.
<thelema_>
no problem
axiles has quit [Remote host closed the connection]
lamawithonel__ has quit [Ping timeout: 255 seconds]
lamawithonel__ has joined #ocaml
philtor has quit [Ping timeout: 240 seconds]
edwin has quit [Remote host closed the connection]
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
ftrvxmtrx has quit [Read error: Operation timed out]
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
ftrvxmtrx has joined #ocaml
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
philtor has joined #ocaml
lamawithonel__ has quit [Ping timeout: 255 seconds]
lamawithonel has joined #ocaml
lamawithonel has quit [Excess Flood]
sepp2k has joined #ocaml
lamawithonel has joined #ocaml
lamawithonel has quit [Excess Flood]
lamawithonel has joined #ocaml
george_z0rwell has joined #ocaml
boscop_ has joined #ocaml
boscop has quit [Disconnected by services]
boscop_ is now known as boscop
boscop has quit [Changing host]
boscop has joined #ocaml
lamawithonel has quit [Ping timeout: 263 seconds]
sepp2k has quit [*.net *.split]
philtor has quit [*.net *.split]
ftrvxmtrx has quit [*.net *.split]
ankit9 has quit [*.net *.split]
Morphous_ has quit [*.net *.split]
impy has quit [*.net *.split]
mal`` has quit [*.net *.split]
pheredhel has quit [*.net *.split]
mfp has quit [*.net *.split]
wtetzner has quit [*.net *.split]
Reaganomicon has quit [*.net *.split]
mal`` has joined #ocaml
philtor has joined #ocaml
ankit9 has joined #ocaml
mfp has joined #ocaml
Morphous_ has joined #ocaml
wtetzner has joined #ocaml
nimred has joined #ocaml
sepp2k has joined #ocaml
ikaros has quit [Quit: Ex-Chat]
lamawithonel has joined #ocaml
lamawithonel has quit [Excess Flood]
lamawithonel has joined #ocaml
ftrvxmtrx has joined #ocaml
pheredhel has joined #ocaml
lamawithonel has quit [Excess Flood]
lamawithonel has joined #ocaml
lamawithonel has quit [Excess Flood]
lamawithonel has joined #ocaml
lamawithonel has quit [Excess Flood]
lamawithonel has joined #ocaml
lamawithonel has quit [Ping timeout: 250 seconds]
lamawithonel has joined #ocaml
lamawithonel has quit [Ping timeout: 250 seconds]
lamawithonel has joined #ocaml
lamawithonel has quit [Excess Flood]
lamawithonel has joined #ocaml
lamawithonel has quit [Read error: Operation timed out]
lamawithonel has joined #ocaml
lamawithonel has quit [Ping timeout: 250 seconds]
lamawithonel_ has joined #ocaml
lamawithonel_ has quit [Ping timeout: 250 seconds]
lamawithonel_ has joined #ocaml
lamawithonel_ has quit [Excess Flood]
lamawithonel_ has joined #ocaml
<hcarty>
thelema_: When I want to replace xstrp4 with a newer version on oasis-db, is it enough to upload the newer tarball, test, and promote from unstable to testing?
lamawithonel_ has quit [Excess Flood]
lamawithonel_ has joined #ocaml
lamawithonel_ has quit [Excess Flood]
lamawithonel_ has joined #ocaml
lamawithonel_ has quit [Excess Flood]
lamawithonel_ has joined #ocaml
oriba has left #ocaml []
lamawithonel_ has quit [Excess Flood]
lamawithonel_ has joined #ocaml
lamawithonel_ has quit [Excess Flood]
lamawithonel_ has joined #ocaml
Morphous_ has quit [Ping timeout: 250 seconds]
lamawithonel_ has quit [Excess Flood]
lamawithonel_ has joined #ocaml
lamawithonel_ has quit [Excess Flood]
lamawithonel_ has joined #ocaml
oriba has joined #ocaml
oriba has left #ocaml []
lamawithonel_ has quit [Excess Flood]
lamawithonel_ has joined #ocaml
lamawithonel_ has quit [Excess Flood]
lamawithonel_ has joined #ocaml
Morphous_ has joined #ocaml
lamawithonel_ has quit [Excess Flood]
lamawithonel_ has joined #ocaml
eye-scuzzy has quit [Read error: Operation timed out]
lamawithonel_ has quit [Ping timeout: 250 seconds]