kaustuv changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.1 out now! Get yours from http://caml.inria.fr/ocaml/release.html
hkBst has quit [Read error: 104 (Connection reset by peer)]
thrasibule has quit ["No Ping reply in 90 seconds."]
thrasibule has joined #ocaml
Cromulent has joined #ocaml
thrasibule has quit ["No Ping reply in 90 seconds."]
thrasibule has joined #ocaml
Submarine has quit [Read error: 110 (Connection timed out)]
Cromulent has quit []
slash_ has quit [Client Quit]
thrasibule_ has joined #ocaml
thrasibule has quit [Read error: 104 (Connection reset by peer)]
Cromulent has joined #ocaml
Cromulent has quit [Remote closed the connection]
thrasibule_ has quit ["No Ping reply in 90 seconds."]
thrasibule has joined #ocaml
thrasibule has quit ["No Ping reply in 90 seconds."]
thrasibule has joined #ocaml
philed has quit ["Leaving"]
thelema_ has quit [Read error: 110 (Connection timed out)]
peddie_ has joined #ocaml
peddie has quit [Read error: 113 (No route to host)]
det has quit [Read error: 60 (Operation timed out)]
det has joined #ocaml
tmaedaZ is now known as tmaeda
Proteus_ has quit ["Leaving"]
thrasibule has quit [Connection reset by peer]
SKERJEAN has joined #ocaml
jeddhaberstro has quit [Client Quit]
BiDOrD has quit [Remote closed the connection]
Modius_ has quit [Client Quit]
Modius has joined #ocaml
<Camarade_Tux> wow, the native godi is even faster than I thought (I didn't try to build anything, I just looked at the startup/loading time)
BiDOrD has joined #ocaml
Submarine has joined #ocaml
<Camarade_Tux> flux: btw, about tuning the gc params for the alioth shootout: https://alioth.debian.org/tracker/index.php?func=detail&aid=311528&group_id=30402&atid=411005
sramsay has joined #ocaml
sramsay has quit [Remote closed the connection]
<Camarade_Tux> then, the other godi improvement should be to group url requests by domain, that way wget will avoid closing/opening tons of connections and reuse the existing ones
<Camarade_Tux> and another improvement will be to kill my brother for he is using a badly-configured p2p client which makes everything lag
BiDOrD has quit [Read error: 110 (Connection timed out)]
BiDOrD has joined #ocaml
<flux> hook up a traffic shaper to your gateway ;)
<Camarade_Tux> well, that gateway is pretty ... simple (from my isp)
<Camarade_Tux> I should be able to hook a computer to it though :)
<Camarade_Tux> btw, my ocaml-gir binding generator has progressed nicely :)
<flux> I added an openwrt device in front of my adsl
<flux> it works much better than using the modem NAT (dies on p2p) or the WLAN nat (same)
<Camarade_Tux> yeah, the wlan here is terrific too, it keeps on dying, and wired-lan still works while wireless-lan is dead
Submarine has quit ["Leaving"]
<Camarade_Tux> anyway, for ocaml-gir, it's mostly good, it needs a few lablgtk changes and I'll have to ask questions about it but :happyface: :)
BiDOrD has quit [Remote closed the connection]
fishmacs has joined #ocaml
SKERJEAN has quit ["Vision[0.9.7-H-090423]: i've been blurred!"]
LLB has joined #ocaml
yurug has joined #ocaml
<LLB> Strange OCaml typer behaviour: http://utilitybase.com/paste/16774
<LLB> Anyone has an explanation?
<eyda|mon> thelema: so batteries is all yours?
rwmjones is now known as rwmjones-afk
Beelsebob has quit [Remote closed the connection]
Beelsebob has joined #ocaml
<kaustuv> LLB: a' does have the same type as a -- both are of type unit
<kaustuv> phantom types in a type abbreviation do not affect type equality
<LLB> Right, but is there a way to preserve my phantom types?
<kaustuv> Not without a constructor, record, or object
<kaustuv> or, hiding the abbreviation with an opaque interface
<LLB> ok, thanks!
<LLB> (it now works in my real code - thanks!)
david_ has joined #ocaml
david_ has quit [Read error: 104 (Connection reset by peer)]
Submarine has joined #ocaml
Ched has joined #ocaml
fishmacs has left #ocaml []
Ched has quit [Client Quit]
Cromulent has joined #ocaml
tmaeda is now known as tmaedaZ
Anarchos has joined #ocaml
rwmjones-afk is now known as rwmjones
Cromulent has quit []
benbos67 has joined #ocaml
benbos67 has left #ocaml []
Cromulent has joined #ocaml
_andre has joined #ocaml
Cromulent has quit []
Cromulent has joined #ocaml
Anarchos has quit ["Vision[0.9.7-H-090423]: i've been blurred!"]
Cromulent has quit []
willb has joined #ocaml
Submarine has quit [Read error: 60 (Operation timed out)]
bzzbzz has joined #ocaml
Beelsebob has quit ["Leaving."]
Submarine has joined #ocaml
<Camarade_Tux> hmmm, anything in batteries to get something from a tar file?
<Camarade_Tux> (or should I just Sys.command tar and pipe it?)
jimmyb2187 has joined #ocaml
jimmyb2187 has left #ocaml []
<flux> while you're at it, you could write a tar module for ocaml ;)
<flux> it's very simple, really
<Camarade_Tux> yeah, I sometimes hex-edit tar files :D
<Camarade_Tux> actually I can't use tar and pipe (well, I could maybe but that wouldn't be very nice), I'd need something in ocaml :p
jimmyb2187 has joined #ocaml
<flux> you may want to use the bitstring module if you decide to do that
<flux> basically copy-paste tar.h into your code and run some emacs macros on it :)
<Camarade_Tux> e-what? :D
<Camarade_Tux> and I could plug something to ocaml-gir :D
bombshelter13_ has joined #ocaml
<flux> bitstring is the library that allows easily to access data arranged in a struct-like fashion
<flux> and tar.h includes everything (iirc) to access those files
<Camarade_Tux> I'll probably go that route but not before about two weeks, have other things to do first
<Camarade_Tux> and I'll have to ask zack about that too
Amorphous has quit [Read error: 110 (Connection timed out)]
willb has quit ["Leaving"]
Amorphous has joined #ocaml
willb has joined #ocaml
Associat0r has joined #ocaml
LLB has quit ["ERC Version 5.2 (IRC client for Emacs)"]
rwmjones is now known as rwmjones-desk
<Camarade_Tux> err, I don't get how to use Batteries.InnerIO.read_all : val read_all : input -> string
<Camarade_Tux> read all the contents of the input until No_more_input is raised.
<thelema> it gives you one monster string, no?
<Camarade_Tux> does it *always* raises an exception ? :o
<thelema> I assume that exception is caught internally
<Camarade_Tux> oh crap, I don't use that function anymore, /me hides :D
<Camarade_Tux> I'll blame the heat for that
rwmjones_ is now known as rwmjones
Snark has joined #ocaml
|yurug| has joined #ocaml
Associat0r has quit [Read error: 104 (Connection reset by peer)]
onigiri has joined #ocaml
<Camarade_Tux> anyone tried batteries on windows?
<Camarade_Tux> (I'd need it for a windows package manager and I'd use tha package manager to install ocaml and friends which makes it quite a deadlock :) )
<thelema> heh. windows package manager.
<thelema> installshield?
<thelema> or the windows installer service?
<Camarade_Tux> bah, bad :)
<Camarade_Tux> I made a windows xp mod with dozens of preinstalled software (almost all open-source) and >90% of them only need to extract their files and maybe add a start menu shortcut and/or a desktop shortcut
<Camarade_Tux> waiting a full minute to init installshield is really painful ;)
<kaustuv> If you can port rpm or dpkg to windows, it would be awesome
<Camarade_Tux> the trouble is they probably won't work: I'm a slackware user and I would have ported tukaani's pkgtool (slackware's in is shell script, that one in C), but the file hierarchy isn't the same
Beelsebob has joined #ocaml
<Camarade_Tux> and the reason I'm resuming that package manager is that each gtk program shipping the same dozen of libraries is quite bad (especially with evolution now, webkit-gtk, gaim/pidgin which is going to use webkit-gtk, I want something for mingw-w64...)
rwmjones has quit [Read error: 113 (No route to host)]
rwmjones-desk is now known as rwmjones
rwmjones_ has joined #ocaml
sramsay has joined #ocaml
Modius has quit [Read error: 104 (Connection reset by peer)]
Modius has joined #ocaml
Ched has joined #ocaml
onigiri has quit [Client Quit]
bluestorm has joined #ocaml
Submarine has quit [Remote closed the connection]
r0bby has quit [Remote closed the connection]
onigiri has joined #ocaml
r0bby has joined #ocaml
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
ulfdoz has joined #ocaml
r0bby has quit [Connection reset by peer]
r0bby has joined #ocaml
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
julm has joined #ocaml
r0bby has quit [Connection reset by peer]
r0bby has joined #ocaml
Snark has quit ["Ex-Chat"]
BiDOrD has joined #ocaml
r0bby has quit [Read error: 54 (Connection reset by peer)]
r0bby has joined #ocaml
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
r0bby has quit [Read error: 54 (Connection reset by peer)]
r0bby has joined #ocaml
r0bby has quit [Read error: 54 (Connection reset by peer)]
r0bby has joined #ocaml
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
willb has quit ["Leaving"]
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
r0bby has quit [Read error: 131 (Connection reset by peer)]
r0bby has joined #ocaml
r0bby has quit [Connection reset by peer]
r0bby has joined #ocaml
* Camarade_Tux duct tapes r0bby to the channel
<Camarade_Tux> let's say I put a daemon connected to the internet, it listens to the exterior and can get strings or variants from the internet, how unsafe is that?
<Camarade_Tux> (my main concern isn't really crashes but more the ability to take control of the daemon)
<bluestorm> one could try to produce conflicts in the variants hashing
<bluestorm> but I don't see how that would be a security fault
<bluestorm> I believe OCaml strings are buffer-overflow safe, but it would still be wise to limit their length imho
<Camarade_Tux> should be possible to make a string with a false field for the length but I don't know how that could be exploited
r0bby has quit [Read error: 54 (Connection reset by peer)]
r0bby has joined #ocaml
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
willb has joined #ocaml
<Camarade_Tux> I get an unbound value error for Path.basename (batteries), shouldn't it be there?
r0bby has quit [Connection reset by peer]
r0bby has joined #ocaml
hkBst has joined #ocaml
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
r0bby has quit [Read error: 54 (Connection reset by peer)]
r0bby has joined #ocaml
slash_ has joined #ocaml
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
_andre has quit ["leaving"]
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
bzzbzz has quit ["leaving"]
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby_ has joined #ocaml
<hcarty> Camarade_Tux: Filename.basename perhaps? That's where it is in the stdlib at least.
<hcarty> I think it's there in Batteries as well, as I've used it in Batteries-based code.
mbishop_ is now known as mbishop
<Camarade_Tux> hcarty: that's what I've written, I've just been surprised it wasn't there but I have to admit I'm readin online doc so it's maybe not completely up-to-date (or maybe too much)
r0bby_ has quit [Read error: 54 (Connection reset by peer)]
r0bby has joined #ocaml
BiDOrD has quit [Remote closed the connection]
r0bby has quit [Connection reset by peer]
r0bby has joined #ocaml
|yurug| has quit ["KVIrc Insomnia 4.0.0, revision: , sources date: 20090115, built on: 2009/03/07 00:45:02 UTC http://www.kvirc.net/"]
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
r0bby has quit [Read error: 54 (Connection reset by peer)]
r0bby_ has joined #ocaml
onigiri has quit [Client Quit]
r0bby_ has quit [Read error: 54 (Connection reset by peer)]
r0bby has joined #ocaml
BiDOrD has joined #ocaml
r0bby has quit [Connection reset by peer]
r0bby has joined #ocaml
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
r0bby has quit [K-lined]
onigiri has joined #ocaml
ulfdoz has quit [Read error: 110 (Connection timed out)]
bombshelter13_ has quit []
r0bby has joined #ocaml
sramsay has quit [Remote closed the connection]
r0bby has quit [Client Quit]
lutter has quit ["Leaving."]
hkBst has quit [Read error: 104 (Connection reset by peer)]
lutter has joined #ocaml
jeanbon has joined #ocaml
onigiri_ has joined #ocaml
onigiri has quit [Read error: 110 (Connection timed out)]
Cromulent has joined #ocaml
jeanbon has quit [".)(.)(."]
slash_ has quit [Client Quit]