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
pilne has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
wreed has joined #racket
wreed has quit [Quit: Goodbye]
wreed has joined #racket
bbuccianti has left #racket ["WeeChat 2.7"]
wreed has quit [Quit: Goodbye]
sword865 has joined #racket
mymosh has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
YuGiOhJCJ has joined #racket
pilne has quit [Quit: I used to think I was indecisive, but now I'm not too sure.]
ayerhart has joined #racket
mymosh has quit [Quit: Leaving]
narimiran has joined #racket
Sgeo has quit [Read error: Connection reset by peer]
Sgeo has joined #racket
ermo has quit [Quit: ZNC 1.7.5 - https://znc.in]
dddddd has quit [Ping timeout: 256 seconds]
chambln has quit [Remote host closed the connection]
orivej has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
epony has quit [Quit: reconf]
keep_learning has quit [Quit: This computer has gone to sleep]
keep_learning has joined #racket
narimiran has quit [Quit: leaving]
narimiran has joined #racket
SGASAU has quit [Read error: Connection reset by peer]
SGASAU has joined #racket
<und-l-t-d[m]> Hi everyone. I'm experimenting a bit with writing a web application in Racket, a sort of KISS reincarnation of this: https://gitlab.com/yurb/wikigrade
<und-l-t-d[m]> This is an attempt to start very very minimalistic, like no javascript and almost no css - only the pure essence
<und-l-t-d[m]> On racket side - as little code as possible too :D
<und-l-t-d[m]> Something I'm thinking about now is - what would be a good way to implement a slow asynchronous task like importing data from Wikipedia, within serve/servlet?
<und-l-t-d[m]> It is unlikely to be run on a different machine than the web app itself, so I don't think I need a distributed architecture like python's Celery
<und-l-t-d[m]> What would be the most primitive way to do it? A thread? Or I am crazy?
<bremner> und-l-t-d[m]: I know almost nothing about webdev, but you know about the builtin webserver stuff (continuation based)?
ayerhart has quit [Read error: Connection reset by peer]
<und-l-t-d[m]> yes, I'm currently using the url dispatch mechanism to route requests, that works nice. My question is more about tasks that should happen in the background, so that you give the user a response before the background task completes
<und-l-t-d[m]> Let's say user clicks a "Refresh data" button
<und-l-t-d[m]> They will get a page saying that a background task has started
<und-l-t-d[m]> The task itself can take minutes to complete
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
vraid has joined #racket
ermo has joined #racket
nullcone has quit [Quit: Connection closed for inactivity]
ArthurStrong has quit [Quit: leaving]
tilpner has quit [Ping timeout: 264 seconds]
tilpner_ has joined #racket
tilpner_ is now known as tilpner
catonano has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
SGASAU has quit [Remote host closed the connection]
parsley936 has joined #racket
SGASAU has joined #racket
dddddd has joined #racket
epony has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
sword865 has quit [Quit: Connection closed for inactivity]
parsley936 has quit [Remote host closed the connection]
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
keep_learning has quit [Quit: This computer has gone to sleep]
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
iyzsong has quit [Ping timeout: 246 seconds]
Lowl3v3l has quit [Remote host closed the connection]
Lowl3v3l has joined #racket
gaqwas has joined #racket
Lowl3v3l has quit [Client Quit]
Lowl3v3l has joined #racket
<samth> und-l-t-d[m]: just create a `thread` that does the work
Lowl3v3l has quit [Read error: Connection reset by peer]
evhan has quit [Quit: De IRC non curat rex...]
Lowl3v3l has joined #racket
evhan has joined #racket
Lowl3v3l has quit [Client Quit]
<und-l-t-d[m]> samth: thanks, I'm going to do that and submit work to it using channels
jcowan has left #racket [#racket]
Lowl3v3l has joined #racket
dmiles has quit [Ping timeout: 250 seconds]
logicmoo has joined #racket
Lowl3v3l has quit [Remote host closed the connection]
libertyprime has joined #racket
Lowl3v3l has joined #racket
nullcone has joined #racket
Intensity has quit [Quit: Ping timeout (120 seconds)]
Intensity has joined #racket
zmt00 has quit [Quit: Leaving]
corpix has joined #racket
honza_ has joined #racket
<honza_> I'm a clojurist, new to racket, and i have an emacs question: is there a way to evaluate a form under point? I was only able to find the F5 binding which runs your current file in the repl...
zmt00 has joined #racket
<bremner> honza_: C-x C-e after the form
<bremner> works for elisp also, in a different mode
<honza_> bremner: hm, i keep getting a "text is read only"
<bremner> what does emacs say that key is bound to?
<bremner> are you in spacemacs or some heretic variation?
<honza_> bremner: yes :(
<bremner> ok, then your keybindings are probably different.
<honza_> what function should be called?
<bremner> the function is racket-send-last-sexp
<honza_> bremner: perfect, thanks!
<honza_> restarted emacs and it works wonderfully, thanks again
Intensity has quit [Ping timeout: 256 seconds]
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
sauvin has quit [Read error: Connection reset by peer]
libertyprime has quit [Ping timeout: 240 seconds]
libertyprime has joined #racket
gaqwas has quit [Read error: Connection reset by peer]
Intensity has joined #racket
libertyprime has quit [Read error: Connection reset by peer]
lavaflow has quit [Quit: WeeChat 2.8]
travv0 has quit [Ping timeout: 265 seconds]
travv0 has joined #racket
lavaflow has joined #racket
parsley936 has joined #racket
nullcone has quit [Ping timeout: 265 seconds]
cbarrett has quit [Ping timeout: 265 seconds]
cbarrett has joined #racket
nullcone has joined #racket
efm has joined #racket
izh_ has joined #racket
narimiran has quit [Ping timeout: 264 seconds]
<und-l-t-d[m]> raco question: is there a way to install just the dependencies of a local package?
<und-l-t-d[m]> i.e. I have a directory with info.rkt in it where I have (define deps (list "some-deps" ...))
<und-l-t-d[m]> wasn't able to find if there is a way to install the deps only
Lowl3v3l has quit [Remote host closed the connection]
<samth> und-l-t-d[m]: no, there's not a deps-only option. but you could just install that directory as a package.
<und-l-t-d[m]> samth: okay, and if I have installed it and added a new dependency, how to install the new dependency? Installing the package again just says the package is already installed.
Lowl3v3l has joined #racket
<samth> und-l-t-d[m]: I don't think there's an easy way to do that
<und-l-t-d[m]> okay, I'll just install it manually then
izh_ has quit [Quit: Leaving]
corpix has quit [Quit: Leaving]
logicmoo has quit [Read error: Connection reset by peer]
dmiles has joined #racket
sarna has quit [Quit: bye]
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
efm has quit [Ping timeout: 250 seconds]
parsley936 has quit [Remote host closed the connection]
Codaraxis_ has joined #racket
corpix has joined #racket
keep_learning has joined #racket
corpix has quit [Quit: corpix]
corpix has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket