sponge45 changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/
<love-pingoo> a simple icecast server can carry lots of audio streams
<love-pingoo> but in that case it's not meant for heavy use
<love-pingoo> but it'd be convenient in some setups
<love-pingoo> there would be, say at most 2 listeners per stream..
pantsd has joined #ocaml
<JohnnyL> ove-pingo, maybe I should just stick with java, since I know it more than ocaml.
<JohnnyL> love-pingoo
<love-pingoo> I definitely think that it's interesting to try OCaml.
<JohnnyL> is it, but I need to get a job. People will look at the resume and go 'what's that?'
<love-pingoo> But don't feel forced to contribute anything to an existing project if you don't know any that you'd love to enhance..
<love-pingoo> few companies know OCaml, that's right
<love-pingoo> but you could consider it as an extra cultural item in your CV
<JohnnyL> i see.
<mbishop> Jane Street Capital is a pretty big company that likes OCaml a lot heh
<mbishop> and having a major wallstreet player like it will probably get a few more companies to open their eyes to it
smimou has quit ["bli"]
<mbishop> Also, just remember most people are confused by any "technical" speak, so most of your CV will look like gibberish to them, impressive gibberish! :P
<love-pingoo> mbishop: is it really major ?
<mbishop> Jane Street? dunno how major, but they are pretty big
<mbishop> They have businesses in New York, Chicago, and Tokyo
shawn has joined #ocaml
<mbishop> Also, with F# on the rise now a days
<mbishop> it won't be long before at least "CAML" is a bit of a buzzword
<love-pingoo> unless it becomes "grandpa F#"..
<love-pingoo> no, you're right, if F# becomes hype it won't be difficult to sell OCaml (or at least OCaml knowledge)
cjeris has quit [Read error: 131 (Connection reset by peer)]
SooW has quit ["Quitte"]
malc_ has quit ["leaving"]
jeff98 has quit ["Snak 5.2.1 IRC For Macintosh - http://www.snak.com"]
jlouis has joined #ocaml
malc_ has joined #ocaml
JohnnyL has left #ocaml []
mbishop has quit [Remote closed the connection]
malc_ has quit ["leaving"]
bzzbzz has joined #ocaml
postalchris has quit [Read error: 148 (No route to host)]
Mr_Awesome has joined #ocaml
love-pingoo has quit ["Connection reset by pear"]
postalchris has joined #ocaml
johnnowak has joined #ocaml
postalchris has quit [Read error: 148 (No route to host)]
gim_ has quit []
Balakirev has joined #ocaml
Balakirev has quit [Remote closed the connection]
mbishop has joined #ocaml
Smerdyakov has quit ["Leaving"]
Mr_Awesome has quit ["...and the Awesome level drops"]
diffbavis has quit [Read error: 104 (Connection reset by peer)]
johnnowak has quit []
slipstream has joined #ocaml
johnnowak has joined #ocaml
johnnowak has quit []
pantsd has quit [Read error: 110 (Connection timed out)]
diffbavis has joined #ocaml
bluestorm_ has joined #ocaml
bluestorm_ has quit ["Konversation terminated!"]
Submarine has joined #ocaml
smimou has joined #ocaml
diffbavis has quit [Remote closed the connection]
diffbavis has joined #ocaml
Submarine has quit ["Leaving"]
diffbavis has quit [Read error: 104 (Connection reset by peer)]
diffbavis has joined #ocaml
jlouis has quit [Remote closed the connection]
smimou has quit ["bli"]
love-pingoo has joined #ocaml
diffbavis has quit [Read error: 104 (Connection reset by peer)]
diffbavis has joined #ocaml
ulfdoz_ has joined #ocaml
ulfdoz has quit [Read error: 60 (Operation timed out)]
mefyl has joined #ocaml
cjeris has joined #ocaml
postalchris has joined #ocaml
smimou has joined #ocaml
love-pingoo has quit ["Leaving"]
ikaros has quit ["Leaving"]
ikaros_ has joined #ocaml
vincenz has joined #ocaml
<vincenz> Hello
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
benny_ has joined #ocaml
benny has quit [Read error: 145 (Connection timed out)]
Smerdyakov has joined #ocaml
diffbavis has quit [Read error: 104 (Connection reset by peer)]
gim_ has joined #ocaml
smimou has quit ["bli"]
vincenz has left #ocaml []
kisielk_jp has quit [Read error: 104 (Connection reset by peer)]
diffbavis has joined #ocaml
er has joined #ocaml
<er> does ocamlopt link with glibc by default?
<er> i'm trying to get it to see some libc library functions that I'm using from ocaml
<er> and -cclib -lc doesn't seem to do the trick
jlouis has joined #ocaml
bluestorm_ has joined #ocaml
slipstream-- has joined #ocaml
love-pingoo has joined #ocaml
slipstream has quit [Read error: 110 (Connection timed out)]
er has quit [Read error: 110 (Connection timed out)]
slipstream-- has quit [Read error: 110 (Connection timed out)]
bluestorm_ has quit ["Konversation terminated!"]
david_koontz has joined #ocaml
cjeris has left #ocaml []
ikaros_ has quit [Read error: 110 (Connection timed out)]
ikaros_ has joined #ocaml
david_koontz_ has joined #ocaml
er has joined #ocaml
david_koontz has quit [Read error: 110 (Connection timed out)]
smimou has joined #ocaml
<hcarty> How do you disambiguate a record definition when you have multiple records defined with some matching element names?
<hcarty> ex. type foo = {a: int; b: int};; type goo = {a: int; b: int; c: float};;
<pango_> by using different names, or by putting them in different modules
<hcarty> pango_: Curses, I was afraid that would be the answer. Thanks for the information
<pango_> then you can use recordname.Modulename.fieldname syntax
<hcarty> Ah, ok
<pango_> field names belong to their module namespace, like types, functions, constructors, etc.
<hcarty> Would a definition look something like this then: let x = {Foo.a = 1; Foo.b = 2};;
<pango_> yes... as a shortcut, you only have to specify 'Foo.' once
slipstream has joined #ocaml
<pango_> that's enough to infer the type of the record, so OCaml is happy with that ;)
<postalchris> Hmm. Then why not let x = ({ a=1; b=2; } : Foo.rec_t) ?
<hcarty> pango_: Thank you very much. This is just what I needed
<pango_> because type annotations are not used for type inference, only as additionnal constraints
<pango_> I don't know why it's done that way
<hcarty> pango_: Does that mean that a type annotation would be used to make what would be 'a and make it some specific type?
<postalchris> Interesting
<hcarty> I'm rather new to this type inference thing, though I really like it
<pango_> hcarty: I'd say yes, logically it can only remove some polymorphism
<hcarty> Wow, it seems that nesting records can make for some interesting definitions
<flux-> er, the ocaml standard library uses libc, so it'd better..
<hcarty> Is there a significant performance hit using records rather than tuples?
<pango_> hcarty: I think I've read objects can be (ab)used to work around the need to use different field names in different record types
<pango_> hcarty: I doubt there's much different in performance between records and tuples, the memory layout is the same
<hcarty> pango_: Thanks for your continued assistance. You've been a huge help every time I've asked questions on here.
Mr_Awesome has joined #ocaml
<pango_> np
<hcarty> Is there a shorthand for setting two records equal to one another, without typing out all of the elements? I think I read about one, but I can't find it.
<hcarty> Or, I haven't yet found it I should say
<hcarty> Nevermind, I think I found what I need
<pango_> you can use the syntax { somerecord with field1=value1;... } to create a new record from an existing one
<pango_> there's no syntax to make an exact copy of the whole record (short of using the ugly { somerecord with field1=somerecord.field1 } workaround)
<pango_> but if you use immutable records, you don't need it ;)
<hcarty> Yeah, I think I can get what I need...
<hcarty> I have a lot of data in various Bigarrays to pass around
<hcarty> Rather than making a long tuple, records seem like a cleaner way to go
<hcarty> So I guess I'm not really looking to copy the record, really.
romanoffi has joined #ocaml
postalchris has quit [Read error: 110 (Connection timed out)]
dkoontz has joined #ocaml
david_koontz_ has quit [Read error: 110 (Connection timed out)]
postalchris has joined #ocaml
postalchris has quit [Read error: 145 (Connection timed out)]