ChanServ changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.02.1 announcement at http://ocaml.org/releases/4.02.html | Public channel logs at http://irclog.whitequark.org/ocaml
keen__ has joined #ocaml
keen_ has quit [Ping timeout: 250 seconds]
seanmcl has joined #ocaml
MisaMisa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
seanmcl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jwatzman|work has quit [Quit: jwatzman|work]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AltGr has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 264 seconds]
cesar_ has joined #ocaml
cesar_ is now known as Guest44970
Guest44970 has quit [Ping timeout: 245 seconds]
claudiuc has quit [Remote host closed the connection]
claudiuc has joined #ocaml
rgrinberg has joined #ocaml
claudiuc has quit [Ping timeout: 245 seconds]
badkins has quit []
lordkryss has quit [Quit: Connection closed for inactivity]
nullcat_ has joined #ocaml
swgillespie has joined #ocaml
ericwa has quit [Quit: Leaving...]
abbe_ has joined #ocaml
ygrek has joined #ocaml
myyst has joined #ocaml
cesar_ has joined #ocaml
malc_ has joined #ocaml
cesar_ is now known as Guest87045
Sorella has quit [Ping timeout: 265 seconds]
alpen has quit [Ping timeout: 265 seconds]
lopex has quit [Ping timeout: 265 seconds]
zozozo has quit [Ping timeout: 265 seconds]
mawuli has quit [Ping timeout: 265 seconds]
bitbckt has quit [Ping timeout: 265 seconds]
zozozo has joined #ocaml
bitbckt has joined #ocaml
dsheets has quit [Ping timeout: 265 seconds]
abbe has quit [Ping timeout: 265 seconds]
myst has quit [Ping timeout: 265 seconds]
sigjuice has quit [Ping timeout: 265 seconds]
yac has quit [Ping timeout: 265 seconds]
welterde has quit [Ping timeout: 265 seconds]
rbocquet has quit [Ping timeout: 265 seconds]
mcclurmc has joined #ocaml
mcclurmc_ has quit [Read error: Connection reset by peer]
mcclurmc_ has joined #ocaml
Sorella has joined #ocaml
lopex has joined #ocaml
BitPuffin has quit [Ping timeout: 245 seconds]
mcclurmc has quit [Ping timeout: 250 seconds]
alpen has joined #ocaml
sigjuice has joined #ocaml
mawuli has joined #ocaml
MisaMisa has joined #ocaml
abbe_ is now known as abbe
dsheets has joined #ocaml
rbocquet has joined #ocaml
yac has joined #ocaml
gabemc has joined #ocaml
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Guest87045 has quit [Remote host closed the connection]
welterde has joined #ocaml
darkf has joined #ocaml
milosn has quit [Ping timeout: 256 seconds]
milosn has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gabemc has quit [Ping timeout: 264 seconds]
idegen has quit [Ping timeout: 246 seconds]
cesar_ has joined #ocaml
cesar_ is now known as Guest34356
olibjerd has joined #ocaml
rgrinberg has quit [Ping timeout: 264 seconds]
rgrinberg has joined #ocaml
Denommus has joined #ocaml
struktured has quit [Ping timeout: 245 seconds]
struktured has joined #ocaml
struk|desk2 has quit [Ping timeout: 256 seconds]
struk|desk2 has joined #ocaml
idem-pyon-tent is now known as gaignent
gaignent is now known as pyon
MercurialAlchemi has joined #ocaml
rgrinberg has quit [Ping timeout: 255 seconds]
swgillespie has joined #ocaml
Denommus` has joined #ocaml
rgrinberg has joined #ocaml
MrScout has quit [Ping timeout: 245 seconds]
Denommus has quit [Ping timeout: 248 seconds]
badon has quit [Quit: Leaving]
Guest34356 has quit [Remote host closed the connection]
yaewa has quit [Quit: Leaving...]
moei has joined #ocaml
MrScout has joined #ocaml
pyon has quit [Quit: My morality has evaporated under the harsh UV light.]
<def`> Unix.file_descr are int. It won't segfault because the string pointer is not even dereferenced
<def`> The external trick with int instead of string will do the job
rgrinberg has quit [Ping timeout: 276 seconds]
rgrinberg has joined #ocaml
mengu has joined #ocaml
Denommus` has quit [Ping timeout: 255 seconds]
ygrek has quit [Ping timeout: 255 seconds]
ontologiae has joined #ocaml
MrScout has quit [Quit: Leaving...]
malc_ has quit [Ping timeout: 244 seconds]
malc_ has joined #ocaml
mengu has quit [Remote host closed the connection]
ontologiae has quit [Ping timeout: 244 seconds]
malc_ has quit [Ping timeout: 248 seconds]
Gama11 has joined #ocaml
mengu has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest10440
olibjerd has quit [Ping timeout: 253 seconds]
Guest10440 has quit [Ping timeout: 245 seconds]
Simn has joined #ocaml
ygrek has joined #ocaml
octachron has joined #ocaml
freling has joined #ocaml
freling has quit [Client Quit]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ggole has joined #ocaml
mengu has quit [Remote host closed the connection]
mort___ has joined #ocaml
ygrek has quit [Ping timeout: 244 seconds]
mengu has joined #ocaml
ygrek has joined #ocaml
Sorella has quit [Quit: Connection closed for inactivity]
madroach has quit [Ping timeout: 264 seconds]
bobpoekert has quit [Ping timeout: 256 seconds]
c74d is now known as Guest42134
Guest42134 has quit [Ping timeout: 256 seconds]
bobpoekert has joined #ocaml
MisaMisa has quit [Quit: Textual IRC Client: www.textualapp.com]
Haudegen has quit [Ping timeout: 256 seconds]
dsheets has quit [Ping timeout: 250 seconds]
nullcat_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freling has joined #ocaml
Gama11 has quit [Read error: Connection reset by peer]
c74d has joined #ocaml
rand000 has joined #ocaml
Haudegen has joined #ocaml
lordkryss has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest99510
milosn has quit [Ping timeout: 256 seconds]
Guest99510 has quit [Ping timeout: 245 seconds]
rgrinberg has quit [Ping timeout: 244 seconds]
dsheets has joined #ocaml
Remyzorg has quit [Ping timeout: 252 seconds]
larhat has quit [Quit: Leaving.]
mhi^ has joined #ocaml
nojb has joined #ocaml
Remyzorg has joined #ocaml
mengu has quit [Remote host closed the connection]
freling has quit [Quit: Leaving.]
mengu has joined #ocaml
mengu has joined #ocaml
milosn has joined #ocaml
milosn has quit [Read error: Connection reset by peer]
oscar_toro has quit [Quit: Lost terminal]
milosn has joined #ocaml
thomasga has joined #ocaml
rgrinberg has joined #ocaml
myyst is now known as myst
Hannibal_Smith has joined #ocaml
rgrinberg has quit [Ping timeout: 252 seconds]
yomimono_ has quit [Ping timeout: 245 seconds]
lopex has quit [Ping timeout: 256 seconds]
lopex has joined #ocaml
freling has joined #ocaml
<nojb> what's the best way to deal with enums in Ctypes ?
larhat has joined #ocaml
kakadu has joined #ocaml
sdothum has joined #ocaml
TheLemonMan has joined #ocaml
milosn has quit [Ping timeout: 264 seconds]
Haudegen has quit [Ping timeout: 250 seconds]
yomimono_ has joined #ocaml
cesar_ has joined #ocaml
yomimono_ has quit [Ping timeout: 245 seconds]
cesar_ is now known as Guest95675
milosn has joined #ocaml
milosn has quit [Read error: Connection reset by peer]
Guest95675 has quit [Ping timeout: 245 seconds]
Haudegen has joined #ocaml
milosn has joined #ocaml
nojb has quit [Quit: nojb]
Nijikokun has quit [Ping timeout: 272 seconds]
Hannibal_Smith has quit [Remote host closed the connection]
s1n4 has joined #ocaml
yomimono_ has joined #ocaml
yomimono_ has quit [Ping timeout: 276 seconds]
mengu has quit [Remote host closed the connection]
milosn has quit [Ping timeout: 252 seconds]
nojb has joined #ocaml
seanmcl has joined #ocaml
rgrinberg has joined #ocaml
Haudegen has quit [Ping timeout: 250 seconds]
rgrinberg has quit [Ping timeout: 265 seconds]
Haudegen has joined #ocaml
<nojb> i'm getting the error: "No such package: ctypes.foreign.threaded - required by `ctypes.foreign'" when trying to use ctypes.foreign , any ideas ?
mengu has joined #ocaml
mengu has joined #ocaml
milosn has joined #ocaml
mengu has quit [Ping timeout: 272 seconds]
thomasga has quit [Quit: Leaving.]
seanmcl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Armael> nojb: opam install ctypes-foreign
<nojb> thanks!
olibjerd has joined #ocaml
mengu has joined #ocaml
mengu has joined #ocaml
ygrek has quit [Ping timeout: 250 seconds]
milosn has quit [Read error: Connection reset by peer]
milosn has joined #ocaml
AltGr has left #ocaml [#ocaml]
cesar_ has joined #ocaml
yomimono_ has joined #ocaml
cesar_ is now known as Guest51687
Guest51687 has quit [Ping timeout: 245 seconds]
mengu has quit [Remote host closed the connection]
milosn has quit [Ping timeout: 248 seconds]
Gama11 has joined #ocaml
milosn has joined #ocaml
Hannibal_Smith has joined #ocaml
Gama11_ has joined #ocaml
Gama11 has quit [Ping timeout: 256 seconds]
Gama11 has joined #ocaml
thomasga has joined #ocaml
Gama11_ has quit [Ping timeout: 245 seconds]
mengu has joined #ocaml
freling has quit [Quit: Leaving.]
rgrinberg has joined #ocaml
Hannibal_Smith has quit [Ping timeout: 244 seconds]
rgrinberg has quit [Ping timeout: 245 seconds]
rgrinberg has joined #ocaml
idegen has joined #ocaml
yomimono_ has quit [Ping timeout: 250 seconds]
milosn has quit [Ping timeout: 256 seconds]
seanmcl has joined #ocaml
yomimono_ has joined #ocaml
milosn has joined #ocaml
maufred has quit [Ping timeout: 252 seconds]
maufred has joined #ocaml
nojb has quit [Quit: nojb]
milosn has quit [Ping timeout: 252 seconds]
ingsoc has joined #ocaml
milosn has joined #ocaml
BitPuffin has joined #ocaml
nojb has joined #ocaml
agarie has joined #ocaml
mengu has quit [Remote host closed the connection]
badkins has joined #ocaml
milosn has quit [Read error: Connection reset by peer]
milosn has joined #ocaml
ygrek has joined #ocaml
uris77 has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest70532
Guest70532 has quit [Ping timeout: 245 seconds]
milosn has quit [Ping timeout: 245 seconds]
rgrinberg has quit [Ping timeout: 256 seconds]
uris77_ has joined #ocaml
nojb has quit [Quit: nojb]
uris77 has quit [Ping timeout: 264 seconds]
oriba_ has joined #ocaml
mahem1 has left #ocaml [#ocaml]
rgrinberg has joined #ocaml
agarie has quit [Remote host closed the connection]
nojb has joined #ocaml
maufred has quit [Ping timeout: 245 seconds]
maufred has joined #ocaml
darkf has quit [Quit: Leaving]
agarie has joined #ocaml
Algebr has joined #ocaml
Hannibal_Smith has joined #ocaml
<Algebr> What is the purpose of the interrupt argument in Cohttp's requests?
Hannibal_Smith has quit [Ping timeout: 244 seconds]
Hannibal_Smith has joined #ocaml
agarie has quit [Remote host closed the connection]
kushal has joined #ocaml
shinnya has joined #ocaml
kdef has joined #ocaml
milosn has joined #ocaml
rand000 has quit [Ping timeout: 255 seconds]
<struk|work> is there a way in utop to make have file system paths resolve inside string literals if they match in the file system? I notice it does something like that with #use keyword but not in general.
seanmcl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shinnya has quit [Ping timeout: 240 seconds]
<struk|work> I wonder what consequence of casing on " symbol and doing something similar to "#use" would be here : https://github.com/diml/utop/blob/master/src/lib/uTop_complete.cppo.ml#L931
seanmcl has joined #ocaml
mort___ has quit [Ping timeout: 256 seconds]
octachron has quit [Quit: Leaving]
cesar_ has joined #ocaml
cesar_ is now known as Guest86955
madroach has joined #ocaml
Algebr has quit [Ping timeout: 256 seconds]
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
Guest86955 has quit [Ping timeout: 245 seconds]
agarie has joined #ocaml
pyon has joined #ocaml
Submarine has joined #ocaml
Submarine has joined #ocaml
kushal has quit [Quit: Leaving]
yomimono_ has quit [Ping timeout: 252 seconds]
rgrinberg has quit [Ping timeout: 264 seconds]
jwatzman|work has joined #ocaml
Algebr has joined #ocaml
ygrek has quit [Ping timeout: 256 seconds]
rgrinberg has joined #ocaml
nullcat has joined #ocaml
Haudegen has quit [Ping timeout: 252 seconds]
badkins has quit []
nullcat has quit [Client Quit]
nullcat_ has joined #ocaml
nullcat_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
larhat has quit [Quit: Leaving.]
Haudegen has joined #ocaml
nojb has quit [Quit: nojb]
thomasga has quit [Quit: Leaving.]
badkins has joined #ocaml
<ingsoc> I am subclassing a class, and overriding the constructor in the subclass but only to add a new property to the class. the constructor in the base class take s a number of arguments, how do i pass these through ?
<ingsoc> oops
<mrvn> ingsoc: you call it
<Drup> inherit foo s
<ingsoc> wrong channel
<ingsoc> :D
dsheets has quit [Ping timeout: 264 seconds]
<ingsoc> but good to know anyway
<ingsoc> :)
<Drup> it seemed like a sensible ocaml question :D
<ingsoc> he he , yeah i guess it is
agarie has quit []
Haudegen has quit [Ping timeout: 252 seconds]
ollehar has joined #ocaml
thomasga has joined #ocaml
ollehar has quit [Ping timeout: 256 seconds]
<Algebr> Drup: not sure if answered already, is ocisgen going to use cohttp as well?
govg has quit [Quit: leaving]
Haudegen has joined #ocaml
thomasga has quit [Quit: Leaving.]
BitPuffin has quit [Ping timeout: 245 seconds]
govg has joined #ocaml
Sorella has joined #ocaml
kushal has joined #ocaml
kushal has quit [Changing host]
kushal has joined #ocaml
<Algebr> When installing packages via opam, it has that neat progress bar. How does opam do that? via lambda-term or direct system calls to the tty?
thomasga has joined #ocaml
<Drup> progress bar ? I don't have any progress bar. Only fancy utf8
rand000 has joined #ocaml
nojb has joined #ocaml
seanmcl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cesar_ has joined #ocaml
cesar_ is now known as Guest38675
seanmcl has joined #ocaml
Guest38675 has quit [Ping timeout: 245 seconds]
ollehar has joined #ocaml
Algebr` has joined #ocaml
Algebr has quit [Ping timeout: 252 seconds]
nullcat_ has joined #ocaml
nullcat__ has joined #ocaml
nullcat_ has quit [Ping timeout: 250 seconds]
MrScout has joined #ocaml
kakadu has quit [Quit: Page closed]
claudiuc has joined #ocaml
nojb has quit [Quit: nojb]
claudiuc has quit [Remote host closed the connection]
claudiuc has joined #ocaml
Nijikokun has joined #ocaml
ggole has quit []
rgrinberg has quit [Ping timeout: 245 seconds]
WanderingGlitch has joined #ocaml
djellemah has quit [Quit: Leaving]
djellemah has joined #ocaml
djellemah has quit [Max SendQ exceeded]
djellemah has joined #ocaml
Hannibal_Smith has quit [Ping timeout: 252 seconds]
djellemah_ has joined #ocaml
djellemah__ has joined #ocaml
Algebr` has quit [Remote host closed the connection]
Algebr` has joined #ocaml
Hannibal_Smith has joined #ocaml
djellemah has quit [Ping timeout: 252 seconds]
rgrinberg has joined #ocaml
djellemah_ has quit [Ping timeout: 250 seconds]
djellemah__ is now known as djellemah
mengu has joined #ocaml
mengu has joined #ocaml
kakadu has joined #ocaml
mengu has quit [Read error: Connection reset by peer]
mengu has joined #ocaml
<bernardofpc> Algebr> actually the best thing would be taking a .org file -> I could use that
nullcat__ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mengu__ has joined #ocaml
mengu has quit [Read error: Connection reset by peer]
magthe has joined #ocaml
mengu__ has quit [Ping timeout: 240 seconds]
oriba__ has joined #ocaml
<bernardofpc> how do I install a new opam ?
<bernardofpc> (at work the distrib is just 1.1.1)
<Drup> which distrib ?
<bernardofpc> Your version of OPAM (1.1.1) is not recent enough to read ~/.opam/repo/default/packages/cohttp/cohttp.0.15.0/opam.
<bernardofpc> ubuntu
<bernardofpc> 14.10
<Drup> there is a ppa
<bernardofpc> (if I'm not mistaken)
<bernardofpc> oh, nice
<bernardofpc> will see
<bernardofpc> deb http://ppa.launchpad.net/avsm/ppa-opam-unstable/ubuntu YOUR_UBUNTU_VERSION_HERE main -> this one ?
oriba_ has quit [Ping timeout: 272 seconds]
BitPuffin has joined #ocaml
Anarchos has joined #ocaml
claudiuc has quit [Remote host closed the connection]
<Drup> yes
<Drup> well, this one is for opam unstable
<bernardofpc> oh
<Drup> there is also opam stable (or something)
<bernardofpc> hah
<bernardofpc> curiously the unstable one was google's suggestion
rgrinberg has quit [Ping timeout: 246 seconds]
<bernardofpc> -> no cookie for 14.10 ?
<bernardofpc> can't opam install a newer opam ?
<bernardofpc> (like "bootstrap itself")
<bernardofpc> (and all coq versions are not available :/ in opam-1.1.1)
gabemc has joined #ocaml
BitPuffin has quit [Ping timeout: 264 seconds]
cesar_ has joined #ocaml
cesar_ is now known as Guest54323
Guest54323 has quit [Ping timeout: 245 seconds]
ollehar has quit [Quit: ollehar]
Submarine has quit [Quit: Leaving]
magthe has quit [Quit: WeeChat 1.1.1]
_Michael_ has joined #ocaml
<_Michael_> Hi, how to add a null character to the end of a string?
<Drup> ocaml string are automatically null terminated
<_Michael_> good, thanks
<Drup> no C stupidity :p
<adrien> hmm?
<adrien> it _is_ the C stupidity
<adrien> it's only there to facilitate bindings
<Drup> yes and no, you can't form malformed strings like in C
<_Michael_> I read that ocaml string can have null characters arbitrarily at any location inside the string
<mrvn> _Michael_: I saw the sun today
<_Michael_> ?
<Drup> _Michael_: why do you care ? Are you doing C bindings ?
<mrvn> _Michael_: it's a statement of facts
<_Michael_> yes, using cstruct set a string into a byte array
<Drup> use ctypes, it will handle strings for you.
<adrien_znc> Drup: yes, but ocaml strings are defined by the header; it's an implementation detail that they're null-terminated (well, it's a large one but still)
<_Michael_> I get out of bound error for setting a short string
ontologiae has joined #ocaml
<_Michael_> Drup, can you explain more please?
Hannibal_Smith has quit [Ping timeout: 240 seconds]
myyst has joined #ocaml
<Drup> the string view type transform C's char* into OCaml's string transparently
<mrvn> doesn't help with 0 bytes in stringas though. C will only see the begining
<flux> could even result in a security flaw..
myst has quit [Read error: Connection reset by peer]
<flux> in fact the functions should check if this is the case and raise an exception ;). (when passing ocaml strings to C)
thomasga has quit [Quit: Leaving.]
s1n4 has quit [Ping timeout: 244 seconds]
nojb has joined #ocaml
thomasga has joined #ocaml
thomasga has quit [Client Quit]
Hannibal_Smith has joined #ocaml
thomasga has joined #ocaml
MrScout has quit [Remote host closed the connection]
MrScout has joined #ocaml
MrScout_ has joined #ocaml
MrScout has quit [Read error: Connection reset by peer]
nullcat has joined #ocaml
claudiuc has joined #ocaml
kushal has quit [Ping timeout: 252 seconds]
rgrinberg has joined #ocaml
_andre has quit [Quit: leaving]
rgrinberg has quit [Ping timeout: 264 seconds]
mengu has joined #ocaml
ingsoc has quit [Quit: Leaving.]
Algebr` has quit [Ping timeout: 256 seconds]
swgillespie has joined #ocaml
nullcat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
uris77 has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
uris77_ has quit [Ping timeout: 250 seconds]
nullcat has joined #ocaml
Hannibal_Smith has quit [Quit: Leaving]
jwatzman|work has joined #ocaml
zozozo_ has joined #ocaml
zozozo has quit [Ping timeout: 272 seconds]
nullcat has quit [Client Quit]
nullcat has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claudiuc has quit [Ping timeout: 245 seconds]
rgrinberg has joined #ocaml
zozozo_ has quit [Quit: WeeChat 1.1.1]
oriba__ has quit [Quit: oriba__]
zozozo has joined #ocaml
srcerer has quit [Read error: Connection timed out]
rgrinberg has quit [Ping timeout: 252 seconds]
MercurialAlchemi has quit [Ping timeout: 244 seconds]
srcerer has joined #ocaml
pancake has left #ocaml [#ocaml]
rgrinberg has joined #ocaml
Haudegen has quit [Ping timeout: 256 seconds]
yomimono_ has joined #ocaml
swgillespie has joined #ocaml
uris77 has quit [Ping timeout: 252 seconds]
claudiuc has joined #ocaml
oriba has joined #ocaml
uris77 has joined #ocaml
thomasga has quit [Quit: Leaving.]
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
claudiuc has quit [Read error: Connection reset by peer]
claudiuc has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest79260
Guest79260 has quit [Ping timeout: 245 seconds]
oriba has quit [Quit: oriba]
Simn has quit [Quit: Leaving]
Haudegen has joined #ocaml
uris77 has quit [Ping timeout: 256 seconds]
uris77 has joined #ocaml
javamonn has joined #ocaml
nullcat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_Michael_ has quit [Ping timeout: 246 seconds]
MrScout_ has quit [Remote host closed the connection]
nullcat_ has joined #ocaml
badkins has quit []
ontologiae has quit [Ping timeout: 252 seconds]
uris77 has quit [Quit: leaving]
jwatzman|work has quit [Quit: jwatzman|work]
Haudegen has quit [Ping timeout: 250 seconds]
nullcat_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
MrScout has joined #ocaml
jwatzman|work has joined #ocaml
BitPuffin has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
javamonn has quit [Remote host closed the connection]
Haudegen has joined #ocaml
gabemc has quit [Ping timeout: 250 seconds]
nullcat has joined #ocaml
seanmcl has quit [Ping timeout: 256 seconds]
javamonn has joined #ocaml
zozozo has quit [Ping timeout: 276 seconds]
zozozo has joined #ocaml
kakadu has quit [Remote host closed the connection]
myyst is now known as myst
mengu has quit [Remote host closed the connection]
nullcat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gama11 has quit [Read error: Connection reset by peer]
nullcat has joined #ocaml
nullcat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rand000 has quit [Quit: leaving]
BitPuffin has quit [Ping timeout: 250 seconds]
destrius has quit [Remote host closed the connection]
<struktured> how is String.unsafe_get implemented? what makes it "unsafe"? It seems to always return '\000' for out of bound array indices.
<nojb> it is just an array access - if you happen to land on unallocated memory you will get a segfault
<struktured> oh I see..not good.
<Drup> well, it's unsafe. :D
<Drup> unsafe_get/set are just "without bound checking"
<Drup> (same for arrays)
seanmcl has joined #ocaml
* struktured has to fix a PR based on recently acquired knowledge.
ollehar has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Drup> what is the recently acquired knowledge ? :p
<Drup> (and the PR, while we are at it)
<struktured> let's just say I was optimistic about unsafe_get's semantics
<struktured> tiny fix to ocaml-csv
cesar_ has joined #ocaml
cesar_ is now known as Guest85088
<struktured> side question: is '"' more correct than '\"' ? in merlin the latter is an error
<nojb> the same, but the escape is not necessary
<struktured> I wonder if the merlin error is intentional or incidental then..
<struktured> its a syntax highlighting thing
Guest85088 has quit [Ping timeout: 248 seconds]
<struktured> man String module really is lacking, but this known...
lvgx has left #ocaml ["Konversation terminated!"]
<struktured> Drup: now that I fixed the bug I think, here: https://github.com/Chris00/ocaml-csv/pull/6
<Drup> If I may, just don't use unsafe_get, period
<struktured> Drup: was only using existing pattern, I think a separate PR fixes that. But sure I can replace it.
<Drup> the performance gain is not worth it
madroach has quit [Ping timeout: 264 seconds]
<struktured> actually, unsafe operations still exist in that PR too
madroach has joined #ocaml
<struktured> seems like original author would need to get on board to make that change.
rgrinberg has quit [Ping timeout: 252 seconds]
rgrinberg has joined #ocaml
micrypt has left #ocaml ["."]
ollehar has quit [Quit: ollehar]
swgillespie has joined #ocaml
Nijikokun has quit [Remote host closed the connection]
ollehar has joined #ocaml
ollehar1 has quit [Read error: Connection reset by peer]
moei has quit [Quit: Leaving...]
thizanne has quit [Ping timeout: 250 seconds]
thizanne has joined #ocaml