samth changed the topic of #racket to: Racket v7.6 has been released: https://blog.racket-lang.org/2020/02/racket-v7-6.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
nebunez has joined #racket
nullcone has quit [Ping timeout: 272 seconds]
nullcone has joined #racket
nullcone has quit [Excess Flood]
nullcone has joined #racket
iyzsong has joined #racket
<nebunez> anybody around familiar with the net/http-client base library? I'm trying to make a basic request using http-sendrecv with http://wttr.in as the host, but I'm getting host not found. Maybe I'm misunderstanding what host is?
<nebunez> nvm I found an answer on SO. I just had to ask here first to raise the search gods' attention I guess
libertyprime has joined #racket
nebunez has quit [Ping timeout: 260 seconds]
selimcan has quit [Quit: Leaving]
nebunez has joined #racket
nebunez has quit [Ping timeout: 260 seconds]
pilne has quit [Quit: Relax, its only ONES and ZEROS!]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has joined #racket
libertyprime has quit [Read error: No route to host]
sauvin has joined #racket
libertyprime has joined #racket
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
notzmv has quit [Remote host closed the connection]
iyzsong has joined #racket
libertyprime has quit [Read error: No route to host]
Naptra has joined #racket
rmnull has quit [Ping timeout: 272 seconds]
rmnull has joined #racket
efm has quit [Remote host closed the connection]
efm has joined #racket
narimiran has joined #racket
aeth has quit [Ping timeout: 264 seconds]
aeth has joined #racket
orivej has quit [Ping timeout: 260 seconds]
ArthurStrong has joined #racket
rmnull has quit [Quit: WeeChat 2.7.1]
miskatonic has joined #racket
tilpner_ has joined #racket
tilpner has quit [Ping timeout: 256 seconds]
tilpner_ is now known as tilpner
laduke has quit [Ping timeout: 252 seconds]
nullcone has quit [Quit: Connection closed for inactivity]
laduke has joined #racket
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
libertyprime has joined #racket
iyzsong has quit [Ping timeout: 272 seconds]
libertyprime has quit [Read error: Connection reset by peer]
libertyprime has joined #racket
ufaucernio has joined #racket
miskatonic has joined #racket
<srandon111> guys why the keyboard shortcuts showed here https://docs.racket-lang.org/drracket/Keyboard_Shortcuts.html
<srandon111> don't work in drracket ?
<srandon111> if i press e.g., Ctrl+e it opens/close the repl winndow
<srandon111> but does not go to the end of line as specified
srji has joined #racket
Codaraxis has joined #racket
Codaraxis__ has quit [Ping timeout: 265 seconds]
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
epony has quit [Quit: reconfigure]
notzmv has joined #racket
epony has joined #racket
<greghendershott> srandon111: In the intro at the top of that page, see the last two paragraphs (starting with "If you are most familiar with Emacs-style key bindings...")
<srandon111> ok thanks greghendershott
<greghendershott> Probably you need to toggle the "Enable keybindings in menus" preference.
<srandon111> the thing is that i enabled them but now i cannot use ctrl+w to close a tab
<srandon111> how can i close a tab with emacs keybindings???
<srandon111> the kill a buffer shortcut does not work
<srandon111> greghendershott,
<greghendershott> Also it says "the authoritative source for keybindings is the Edit menu’s Show Active Keybindings menu item"
<srandon111> greghendershott, i searched there
<srandon111> couldn't find anything to close a tab
<greghendershott> Sorry I don't know.
<greghendershott> I mostly use Emacs, especially for editing. I use Dr Racket from time to time to double-check things, or for features that work better there.
<greghendershott> It looks like you'd need to choose File | Close to close the tab.
<greghendershott> Using whatever keyboard UI there is for your OS, for menus.
<greghendershott> srandon111: ^
<srandon111> ok thanks greghendershott
samlamamma has joined #racket
nebunez has joined #racket
<samlamamma> Hey guys. I want to help develop a library that I've installed through raco. I need to have a concurrent copy of the library on HEAD of the git repo and do my development on that copy. How do I ensure that my git copy of the library is loaded instead of the raco one? I use DrRacket at the moment (but typing this from Racket capable Emacs :-) ).
Lowl3v3l has quit [Quit: Leaving.]
Lowl3v3l has joined #racket
libertyprime has quit [Read error: Connection reset by peer]
orivej has joined #racket
samlamamma has quit [Remote host closed the connection]
slrc has joined #racket
<slrc> hello
krono has joined #racket
ecraven has quit [Ping timeout: 272 seconds]
camelCaser has quit [Ping timeout: 256 seconds]
ecraven has joined #racket
ecraven has quit [Client Quit]
ecraven has joined #racket
ecraven has quit [Ping timeout: 250 seconds]
slrc has quit [Remote host closed the connection]
ArthurStrong has quit [Quit: leaving]
efm has quit [Ping timeout: 265 seconds]
efm has joined #racket
dddddd has joined #racket
selimcan has joined #racket
<selimcan> 'sup racketeers
MetaHertz has joined #racket
jellie has joined #racket
camelCaser has joined #racket
true-grue has joined #racket
camelCaser has quit [Read error: Connection reset by peer]
camelCaser has joined #racket
conjunctive has joined #racket
<srandon111> guys i created in racket a program to show the animation of a traffic light... can you tell me if it is good/acceptable code? https://pastebin.com/VfajcjMp I am asking you this because since it was an exercise from the "How to Design Program" book i see that the provided solution differs... as you can see here https://pastebin.com/5bkahMMV
jellie has quit [Ping timeout: 264 seconds]
jellie has joined #racket
jellie has quit [Ping timeout: 265 seconds]
jellie has joined #racket
<srandon111> ok guys i am confused...
<srandon111> i did "raco exe --gui tlv1.rkt" and then i try to launch the executable on another machine and i get ./tlv1: failed to start /home/giuseppe/bin/racket/lib/gracket (No such file or directory)
<srandon111> wtf?
jellie has quit [Read error: Connection reset by peer]
jellie has joined #racket
jellie has quit [Ping timeout: 265 seconds]
miskatonic has joined #racket
efm has quit [Ping timeout: 260 seconds]
efm has joined #racket
pilne has joined #racket
<srandon111> guys can somebody help me
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
Naptra has quit [Quit: Leaving]
efm has quit [Ping timeout: 265 seconds]
nullcone has joined #racket
efm has joined #racket
<bremner> srandon111: at a guess you probably want to use raco distribute
<srandon111> bremner, but doesn't give me a static binary
<srandon111> it gives me /bin and /lib
<srandon111> directories...
<srandon111> how can i generate a single bin with everything inside it?
Codaraxis has quit [Read error: Connection reset by peer]
<selimcan> srandon111, can you share your tlv1.rkt with me? I can try to reproduce
<srandon111> yes sure
<srandon111> selimcan,
true-grue has quit [Read error: Connection reset by peer]
<srandon111> selimcan, https://pastebin.com/YYAcAN9m
<selimcan> srandon111, raco exe --gui tlv1.rkt works for me on ubuntu 18.04
<selimcan> So does raco distribute stradon111-tlv1 tlv1
<selimcan> Are you running Windows?
<selimcan> ah, you'd asked for a single bin, sorry
<selimcan> I don't think you can get a single bin
<selimcan> i.e. a single file
<srandon111> selimcan, it works for me too
<srandon111> but try to run it on a different machine
<srandon111> or inside a docker container
<srandon111> selimcan, okok
<selimcan> srandon111, for it to work on another machine (with the same OS), you have to share the directory which `raco distribute` had generated
<selimcan> lemme check that
<srandon111> ok thanks selimcan
<selimcan> Trying to run stradon111-tlv1/bin/tlv1 on another ubuntu 18.04 machine, I get this error:
<selimcan> root@first:/tmp# ./stradon111-tlv1/bin/tlv1
<selimcan> ffi-lib: couldn't open "libfontconfig.so.1" (libfontconfig.so.1: cannot open shared object file: No such file or directory)
<selimcan> But this probably means that I'm missing some apt packages
<srandon111> yes
<srandon111> selimcan, what about the single executable ?
<selimcan> lemme see
<selimcan> srandon111, single executable won't run, I get the same error as you did. But it's also not meant to run, you have to share Racket libraries with it, i.e. the result of raco distribute
<srandon111> ok but then when you use raco distribute, does it load automatically the libraries from that lib/ directory?
<selimcan> it does
<srandon111> ok but what if i have to create a binary for a distro
<selimcan> like, a linux distro?
<srandon111> i mean i don't know seems a little bit unconformartable
<srandon111> yes selimcan
<srandon111> can i move the libraries inside /usr/share/lib/
<srandon111> and the binary inside /usr/local/bin
<srandon111> and everything works ok ?
<srandon111> or it is like the binary is still searching in his local lib path?
<selimcan> I don't have any experience with packaging for linux, sorry...
<selimcan> or any packaging, for that matter :D
<srandon111> i mean can i move the libraries around ?
<selimcan> the binary in stradon111-tlv1/bin/ probably uses relative paths.
<srandon111> damn
<selimcan> srandon111, you can try to put the binary into /usr/bin and the lib into /usr/lib/, that should work
<srandon111> ok selimcan good
<selimcan> There's also docker these days, and snap, and appimage, and guix
<selimcan> All are on my list to learn about, but haven't had time yet
<srandon111> i know docker