Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.13.0 released: https://ocaml.org/releases/4.13.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
unyu has quit [Quit: WeeChat 3.4]
unyu has joined #ocaml
rgrinberg has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
unyu has quit [Quit: brb]
gentauro has quit [Ping timeout: 256 seconds]
unyu has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gentauro has joined #ocaml
rgrinberg has joined #ocaml
vicfred has quit [Quit: Leaving]
mal`` has quit [Quit: Leaving]
mal`` has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
gopiandcode has quit [Ping timeout: 256 seconds]
gravicappa has joined #ocaml
tizoc has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #ocaml
rgrinberg has quit [Ping timeout: 260 seconds]
adanwan has quit [Remote host closed the connection]
adanwan has joined #ocaml
mbuf has joined #ocaml
bobo has joined #ocaml
spip has quit [Ping timeout: 240 seconds]
<d_bot_> <mimoo> I'm not sure why, but I find the "the url to share contains the code" a bit awkward
<d_bot_> <mimoo> this one doesn't work for me, can't run cdoe
<d_bot_> <mimoo> can't run code
<d_bot_> <mimoo> also you can't use any lirbaries
<d_bot_> <mimoo> libraries*
Soni has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Soni has joined #ocaml
Haudegen has joined #ocaml
rgrinberg has joined #ocaml
ansiwen has quit [Quit: ZNC 1.7.1 - https://znc.in]
ansiwen has joined #ocaml
kaph has quit [Ping timeout: 272 seconds]
rgrinberg has quit [Ping timeout: 240 seconds]
kaph has joined #ocaml
azimut_ has quit [Remote host closed the connection]
azimut has joined #ocaml
kaph_ has joined #ocaml
kaph has quit [Read error: Connection reset by peer]
gopiandcode has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
kaph__ has joined #ocaml
kaph__ has quit [Read error: Connection reset by peer]
kaph_ has quit [Ping timeout: 272 seconds]
zebrag has quit [Remote host closed the connection]
<d_bot_> <Et7f3 (@me on reply)> you need ;;
<d_bot_> <Et7f3 (@me on reply)> in first 2: `let a = 0;;` work and in third it is not a toplevel so use print_int or effectful code
mro has joined #ocaml
mbuf has quit [Quit: Leaving]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
gopiandcode has quit [Ping timeout: 272 seconds]
mro has joined #ocaml
Absalom has quit [Quit: the lounge - https://webirc.envs.net]
gopiandcode has joined #ocaml
Absalom has joined #ocaml
jlrnick has joined #ocaml
mro has quit [Remote host closed the connection]
olle has joined #ocaml
mro has joined #ocaml
<d_bot_> <Gentixn> Can I ask, is anyone available to help me with a Ocaml task, feel free to PM me
<d_bot_> <Gentixn> incentive there
<d_bot_> <orbitz> Just ask your question
mro has quit [Remote host closed the connection]
<d_bot_> <Gentixn> more so a personal request, if anyone would like
<d_bot_> <Gentixn> just letting it be known
kaph has joined #ocaml
mro has joined #ocaml
kaph has quit [Ping timeout: 256 seconds]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
szkl has joined #ocaml
gravicappa has quit [Ping timeout: 240 seconds]
bartholin has joined #ocaml
adanwan has quit [Ping timeout: 240 seconds]
adanwan_ has joined #ocaml
gravicappa has joined #ocaml
gravicappa has quit [Ping timeout: 260 seconds]
bobo has quit [Quit: Konversation terminated!]
jlrnick has quit [Read error: Connection reset by peer]
spip has joined #ocaml
<olle> PM = bad
<olle> channel = good
hackinghorn has joined #ocaml
<vsiles> da
<vsiles> "please PM me I need to ask something" is really creepy
<olle> Most people are at work. It's easier if we can help answering questions.
<gjvc> not creepy just feeble
<d_bot_> <orbitz> My guess is that they do not have a question but they want to get someone to do work for them
Haudegen has quit [Quit: Bin weg.]
Haudegen has joined #ocaml
<haesbaert> vsiles: smells like homework :)
<d_bot_> <crab λ> why is this not working?
<d_bot_> <crab λ> ```
<d_bot_> <crab λ> crab@crab:~/dev/todolist$ opam init
<d_bot_> <crab λ>
<d_bot_> <crab λ> <><> Required setup - please read <><><><><><><><><><><><><><><><><><><><><><><>
<d_bot_> <crab λ>
<d_bot_> <crab λ> In normal operation, opam only alters files within ~/.opam.
<d_bot_> <crab λ>
<d_bot_> <crab λ> However, to best integrate with your system, some environment variables
<d_bot_> <crab λ> should be set. If you allow it to, this initialisation step will update
<d_bot_> <crab λ> your bash configuration by adding the following line to ~/.profile:
<d_bot_> <crab λ>
<olle> :(
<d_bot_> <crab λ> test -r /home/crab/.opam/opam-init/init.sh && . /home/crab/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
<d_bot_> <crab λ>
<d_bot_> <crab λ> Otherwise, every time you want to access your opam installation, you will
<olle> dont
<d_bot_> <crab λ> need to run:
<olle> stahp
<d_bot_> <crab λ>
<d_bot_> <crab λ> eval $(opam env)
<d_bot_> <crab λ>
<d_bot_> <crab λ> You can always re-run this setup with 'opam init' later.
<d_bot_> <crab λ>
<d_bot_> <crab λ> Do you want opam to modify ~/.profile? [N/y/f]
<d_bot_> <crab λ> (default is 'no', use 'f' to choose a different file) y
<d_bot_> <crab λ> A hook can be added to opam's init scripts to ensure that the shell remains in sync with the opam environment when they are loaded. Set that up? [y/N] n
<d_bot_> <crab λ>
<companion_cube> argh
<d_bot_> <crab λ> User configuration:
<companion_cube> don't spam
<d_bot_> <crab λ> Updating ~/.profile.
<d_bot_> <crab λ> [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.
<d_bot_> <crab λ> ```
<companion_cube> please read the topic, crab λ
<d_bot_> <mbacarella> the correct thing to do is throw that stuff in a pastebin
<d_bot_> <crab λ> oh sorry
<d_bot_> <crab λ> i wasnt spamming tho
<d_bot_> <crab λ> chill
<companion_cube> it spams on the IRC side
<d_bot_> <Bluddy> it's just because we're linked to irc
<d_bot_> <Bluddy> if you want to paste code, do it in #beginners or use a pastebin
<d_bot_> <crab λ> there
<d_bot_> <mbacarella> what's the not working part?
qwr has quit [Quit: upgrade]
<d_bot_> <travv0> you just pasted the output of `opam init`
<d_bot_> <crab λ> its not editing the output
<d_bot_> <crab λ> i mean, let me rephrase
<d_bot_> <crab λ> dune still doesnt work
<d_bot_> <crab λ> i mean, as recognizing the command
<d_bot_> <crab λ> this is after opam init
<d_bot_> <travv0> did you install dune?
<d_bot_> <crab λ> yes
<d_bot_> <travv0> run `eval $(opam env)`
<d_bot_> <crab λ> i dont want to do that every time tho!!
<d_bot_> <crab λ> which is why i ran opam init!
<d_bot_> <travv0> did you restart your shell?
<d_bot_> <crab λ> yes
<d_bot_> <travv0> is the opam env thing in your .profile?
<d_bot_> <crab λ> oh wait
<d_bot_> <crab λ> it works in the ubuntu terminal, but not the vscode one
<d_bot_> <crab λ> oof
<d_bot_> <travv0> vscode must not source .profile
<d_bot_> <crab λ> what does tyhat mean?
<d_bot_> <mbacarella> it's the difference between shells and login shells
<d_bot_> <travv0> that's saying the opposite though, that it only reads their .profile but not their .bashrc
<d_bot_> <travv0> @crab λ did you try closing all of your vscode windows and reopening it?
gravicappa has joined #ocaml
<companion_cube> there's #editor-support btw I think
<d_bot_> <crab λ> oh i didnt
<d_bot_> <crab λ> that worked
<d_bot_> <RegularSpatula> Pretty sure that’s backwards…non login shells won’t load the profile, but if running bash should read bashrc
<d_bot_> <travv0> i think ubuntu's default bashrc reads your profile or something like that... i dunno, they have all the rc files set up in a web of reading each other it seems like. i was just saying that the stackoverflow problem seemed to be the opposite of crab's problem lol
<d_bot_> <RegularSpatula> Yeah I got you now…it is like a big web of source commands lol
qwr has joined #ocaml
<d_bot_> <mbacarella> > However if I open VSCode via its icon, only my .profile is loaded.
<d_bot_> <mbacarella> oh haha
<d_bot_> <mbacarella> man unix what is it even
<d_bot_> <mbacarella> why do login shells and non-login shells source different sets of rc files again
<d_bot_> <mbacarella> that one UNIX cultural decision sure causes lot of overhead/support toil
olle has quit [Remote host closed the connection]
bartholin has quit [Read error: Connection reset by peer]
hackhorn has joined #ocaml
hackinghorn has quit [Ping timeout: 272 seconds]
bobo has joined #ocaml
spip has quit [Ping timeout: 256 seconds]
waleee has joined #ocaml
waleee has quit [Ping timeout: 252 seconds]
waleee has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
hornhack has joined #ocaml
hackhorn has quit [Ping timeout: 250 seconds]
waleee has quit [Ping timeout: 252 seconds]
szkl has quit [Quit: Connection closed for inactivity]
rgrinberg has joined #ocaml
unyu has quit [Quit: brb]
waleee has joined #ocaml
xgqt has quit [Ping timeout: 256 seconds]
xgqt has joined #ocaml
Haudegen has joined #ocaml
unyu has joined #ocaml
hackhorn has joined #ocaml
hornhack has quit [Ping timeout: 256 seconds]
hornhack has joined #ocaml
hackhorn has quit [Ping timeout: 250 seconds]
hackhorn has joined #ocaml
hornhack has quit [Ping timeout: 240 seconds]
hornhack has joined #ocaml
hackhorn has quit [Ping timeout: 256 seconds]
hackhorn has joined #ocaml
hornhack has quit [Ping timeout: 256 seconds]
vicfred has joined #ocaml
hornhack has joined #ocaml
Tuplanolla has joined #ocaml
vicfred has quit [Ping timeout: 250 seconds]
hackhorn has quit [Ping timeout: 250 seconds]
hackhorn has joined #ocaml
octachron has quit [Quit: ZNC 1.8.2 - https://znc.in]
hornhack has quit [Ping timeout: 272 seconds]
octachron has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
unyu has quit [Quit: brb]
rgrinberg has quit [Ping timeout: 250 seconds]
unyu has joined #ocaml
<d_bot_> <haesbaert> So vscode considers itself a login shell but not an interactive shell ? That's odd.
gravicappa has quit [Ping timeout: 240 seconds]
rgrinberg has joined #ocaml
hornhack has joined #ocaml
hackhorn has quit [Ping timeout: 256 seconds]
hackhorn has joined #ocaml
hornhack has quit [Ping timeout: 256 seconds]
hackhorn has quit [Client Quit]
hackhorn has joined #ocaml
hackhorn has quit [Client Quit]
wyrd has quit [Ping timeout: 240 seconds]
rgrinberg has quit [Ping timeout: 240 seconds]
wyrd has joined #ocaml
kaph has joined #ocaml
kaph has quit [Remote host closed the connection]
kaph has joined #ocaml
kaph_ has joined #ocaml
kaph has quit [Ping timeout: 272 seconds]
Tuplanolla has quit [Quit: Leaving.]
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 256 seconds]
pgiarrusso has quit [Read error: Connection reset by peer]
xand0_ has quit [Read error: Connection reset by peer]
pgiarrusso has joined #ocaml
xand0_ has joined #ocaml
smondet[m] has quit [Ping timeout: 252 seconds]
OCamlPro[m] has quit [Ping timeout: 252 seconds]
Haudegen has quit [Ping timeout: 240 seconds]
smondet[m] has joined #ocaml
OCamlPro[m] has joined #ocaml