vect changed the topic of #ocaml to: OCaml 3.07 ! -- Archive of Caml Weekly News: http://pauillac.inria.fr/~aschmitt/cwn, ICFP'03 http://www.icfpcontest.org/, A tutorial: http://merjis.com/richj/computers/ocaml/tutorial/, A free book: http://cristal.inria.fr/~remy/cours/appsem, Mailing List (best ml ever for any computer language): http://caml.inria.fr/bin/wilma/caml-list
pattern has joined #ocaml
rox has joined #ocaml
voltron has quit ["Client exiting"]
Etaoin has joined #ocaml
voltron_ is now known as voltron
gefla__ has quit [Remote closed the connection]
pattern has quit [Read error: 110 (Connection timed out)]
Etaoin has quit [Read error: 104 (Connection reset by peer)]
pattern has joined #ocaml
pattern has quit [Client Quit]
The-Fixer has quit [Read error: 104 (Connection reset by peer)]
pattern has joined #ocaml
pattern has quit [Read error: 60 (Operation timed out)]
cjohnson has quit ["Got to be good lookin' 'cause he's so hard to see."]
Kinners has joined #ocaml
Kinners has left #ocaml []
pattern has joined #ocaml
<pattern> http://lists.canonical.org/pipermail/kragen-fw/2000-September/000211.html <- scroll down a page for "Monty Python's Life of Brian, the Functional Programmer"
pattern has quit [sterling.freenode.net irc.freenode.net]
cmeme has quit [sterling.freenode.net irc.freenode.net]
ayrnieu has quit [sterling.freenode.net irc.freenode.net]
carm has quit [sterling.freenode.net irc.freenode.net]
teratorn has quit [sterling.freenode.net irc.freenode.net]
wax has quit [sterling.freenode.net irc.freenode.net]
pattern has joined #ocaml
cmeme has joined #ocaml
ayrnieu has joined #ocaml
wax has joined #ocaml
teratorn has joined #ocaml
carm has joined #ocaml
carm has quit [sterling.freenode.net irc.freenode.net]
pattern has quit [sterling.freenode.net irc.freenode.net]
teratorn has quit [sterling.freenode.net irc.freenode.net]
wax has quit [sterling.freenode.net irc.freenode.net]
cmeme has quit [sterling.freenode.net irc.freenode.net]
ayrnieu has quit [sterling.freenode.net irc.freenode.net]
pattern has joined #ocaml
cmeme has joined #ocaml
ayrnieu has joined #ocaml
wax has joined #ocaml
teratorn has joined #ocaml
carm has joined #ocaml
carm has quit [sterling.freenode.net irc.freenode.net]
pattern has quit [sterling.freenode.net irc.freenode.net]
teratorn has quit [sterling.freenode.net irc.freenode.net]
wax has quit [sterling.freenode.net irc.freenode.net]
cmeme has quit [sterling.freenode.net irc.freenode.net]
ayrnieu has quit [sterling.freenode.net irc.freenode.net]
pattern has joined #ocaml
cmeme has joined #ocaml
ayrnieu has joined #ocaml
wax has joined #ocaml
teratorn has joined #ocaml
carm has joined #ocaml
pattern has quit [Read error: 110 (Connection timed out)]
pattern has joined #ocaml
The-Fixer has joined #ocaml
pattern has left #ocaml []
The-Fixer has quit ["Goodbye"]
_JusSx_ has joined #ocaml
<_JusSx_> i found this user after upgrading : cvs:x:1001:408:added by portage for cvs:/var/cvsroot:/bin/false
_JusSx_ has quit ["BitchX: for distribution only with a new PC"]
_JusSx_ has joined #ocaml
dax has quit [Read error: 110 (Connection timed out)]
mw has quit [sterling.freenode.net irc.freenode.net]
mw has joined #ocaml
The-Fixer has joined #ocaml
Kinners has joined #ocaml
ayrnieu_ has joined #ocaml
ayrnieu has quit [Read error: 104 (Connection reset by peer)]
ayrnieu_ is now known as ayrnieu
dax has joined #ocaml
buggs has joined #ocaml
* Maddas mutters
<Maddas> How would I print an unsigned long integer as hexadecimal using printf?
<Maddas> Printf.printf "08lX" is not what I want, because it asks for int32
<Maddas> I don't know how to make Int32 store an unsigned 32-bit integer
<Maddas> (also, in int32.ml, max_int is defined as 0x7FFFFFFF, which is 2^31)
<ayrnieu> You could use a user-defined printer, I suppose.
<Maddas> Hrm, so no trivial way :)
<Kinners> just use the sign bit as t e 32'nd bit?
buggs has quit [Read error: 60 (Operation timed out)]
<Maddas> Kinners: How do I get the hexadecimal value though?
<Maddas> I can't just add 2^32 if the sign is positive.
cmeme has quit [Read error: 104 (Connection reset by peer)]
cmeme has joined #ocaml
<_JusSx_> Maddas you can code it by yourself
<Maddas> Yes, I just wondered if there was an easy way I overlooked.
<_JusSx_> ahh ok
<_JusSx_> i don't know
<Maddas> Looks like not :)
<Maddas> (I find it pretty silly that it asks for an int32 anyway)
<Kinners> a normal int has a bit reserved, which is why Int32 exists
<Maddas> Yes, I mean I find that Printf "08lX" asks for Int32 a bit silly, since X specifies unsigned and Int32 is signed
<Maddas> Actually, maybe I'm wrong
<Maddas> hm, no, printf does not use the sign bit as 2^32, it seems.
The-Fixer has quit [sterling.freenode.net irc.freenode.net]
mw has quit [sterling.freenode.net irc.freenode.net]
ayrnieu has quit [sterling.freenode.net irc.freenode.net]
carm has quit [sterling.freenode.net irc.freenode.net]
teratorn has quit [sterling.freenode.net irc.freenode.net]
wax has quit [sterling.freenode.net irc.freenode.net]
The-Fixer has joined #ocaml
mw has joined #ocaml
<Kinners> Maddas: Printf.printf "%08lX" Int32.minus_one;;
ayrnieu has joined #ocaml
wax has joined #ocaml
teratorn has joined #ocaml
carm has joined #ocaml
ayrnieu_ has joined #ocaml
maihem has joined #ocaml
ayrnieu has quit [Connection reset by peer]
<Maddas> Kinners: Maybe I'm just stupid then :) I'll play around some more.
<Maddas> Thanks, though
<Kinners> good luck
Kinners has left #ocaml []
<Maddas> Duh, I found the mistake.
buggs has joined #ocaml
gim has quit [Read error: 104 (Connection reset by peer)]
<drWorm> what was it?
<Maddas> It was stored as an int before converting to int32 ;-)
<drWorm> ah
<Maddas> I just use a float and convert that to Int32 now. I'm using C code to calculate the number, so it's easier this way than to return an Int32 right away, since I don't know how to do that :)
gim has joined #ocaml
buggs|afk has joined #ocaml
buggs has quit [Read error: 104 (Connection reset by peer)]
buggs|afk has quit [Client Quit]
buggs has joined #ocaml
dax has quit [Read error: 110 (Connection timed out)]
drWorm has quit ["old enough to pay, young enough to kick around"]
<Maddas> Is there any "nicer" way to test if something is a directory or a file than using opendir and catching the exception if it's not a file?
<Maddas> err, if it's not a directory.
<karryall> Maddas: Unix.stat
<Maddas> Doh, thanks.
two-face has joined #ocaml
buggs has quit [Read error: 54 (Connection reset by peer)]
buggs has joined #ocaml
__DL__ has joined #ocaml
dax has joined #ocaml
cmeme has quit [Read error: 104 (Connection reset by peer)]
cmeme has joined #ocaml
karryall has quit ["reboot"]
ayrnieu_ is now known as ayrnieu
dax has quit [Read error: 60 (Operation timed out)]
two-face has left #ocaml []
ayrnieu has quit [sterling.freenode.net irc.freenode.net]
carm has quit [sterling.freenode.net irc.freenode.net]
teratorn has quit [sterling.freenode.net irc.freenode.net]
wax has quit [sterling.freenode.net irc.freenode.net]
mw has quit [sterling.freenode.net irc.freenode.net]
The-Fixer has quit [sterling.freenode.net irc.freenode.net]
ayrnieu has joined #ocaml
mw has joined #ocaml
The-Fixer has joined #ocaml
carm has joined #ocaml
teratorn has joined #ocaml
wax has joined #ocaml
owll has joined #ocaml
dax has joined #ocaml
cmeme has quit [Read error: 104 (Connection reset by peer)]
cmeme has joined #ocaml
Hadaka has quit [sterling.freenode.net irc.freenode.net]
Hadaka has joined #ocaml
Hadaka has quit [sterling.freenode.net irc.freenode.net]
Hadaka has joined #ocaml
_JusSx_ has quit [Remote closed the connection]
_JusSx_ has joined #ocaml
Etaoin has joined #ocaml
owll has quit ["Client Exiting"]
<_JusSx_> Who is using emacs?
maihem has quit ["Client exiting"]
eternite_0 has joined #ocaml
<eternite_0> hello evrybody!
<Smerdyakov> _JusSx_, I
dax has quit [Read error: 104 (Connection reset by peer)]
<_JusSx_> Smerdyakov : ok
<_JusSx_> Smerdyakov : i hava prob. when i select a region with keyboard it won't be highlighted
<Smerdyakov> Using GNU emacs?
<_JusSx_> yeah
<_JusSx_> if i use mouse for examples i got it highlighted
<Smerdyakov> Maybe there are some settings to tweak to make it display, but:
<Smerdyakov> In XEmacs, it is highlighted with keyboard by default. ;)
<Smerdyakov> #emacs is a better place to ask.
mattam_ has joined #ocaml
mattam has quit [Read error: 110 (Connection timed out)]
housetier has joined #ocaml
dax has joined #ocaml
tomasso has joined #ocaml
eternite__0 has joined #ocaml
eternite_0 has quit [Read error: 110 (Connection timed out)]
gim_ has joined #ocaml
daxie has joined #ocaml
__DL__ has quit [Remote closed the connection]
dax has quit [Read error: 110 (Connection timed out)]
housetier has quit ["#breaks @ irc.highteq.de"]
housetier has joined #ocaml
housetier has quit ["#breaks @ irc.highteq.de"]
housetier has joined #ocaml
eternite__0 has quit [Read error: 110 (Connection timed out)]
eternite__0 has joined #ocaml
daxie is now known as dax
tomasso has quit [Read error: 60 (Operation timed out)]
Demitar has joined #ocaml
tomasso has joined #ocaml
buggs has quit ["maybe it crashed"]
mattam_ is now known as mattam
buggs has joined #ocaml
Demitar has quit ["Bubbles..."]
eternite__0 has quit ["Arlg connection crash!"]
_JusSx_ has quit [Read error: 110 (Connection timed out)]
Hadaka has quit [sterling.freenode.net irc.freenode.net]
Hadaka has joined #ocaml