00:06
catonano_ has joined #racket
00:09
catonano has quit [Ping timeout: 260 seconds]
00:09
catonano_ is now known as catonano
00:14
Ven`` has joined #racket
00:26
lockywolf__ has quit [Ping timeout: 246 seconds]
01:00
lockywolf has joined #racket
01:00
lockywolf has quit [Max SendQ exceeded]
01:04
selimcan has joined #racket
01:11
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:22
vraid has quit [Ping timeout: 246 seconds]
01:39
chambln has joined #racket
02:03
<
nisstyre >
remexre: but in my opinion it is much easier to use Guile's C API
02:03
<
remexre >
nisstyre: ah, didn't find that googling; thanks!
02:03
<
nisstyre >
I'm assuming you meant calling Racket code from C
02:04
<
nisstyre >
if you find it to be too much then I highly recommend looking at Guile instead
02:04
<
remexre >
I'm interacting w/ a non-scheme racket lang, so I don't think guile's an option
02:04
<
nisstyre >
ok fair enough
02:04
<
nisstyre >
uh, I don't actually know how that'll work
02:04
<
nisstyre >
I guess the API will somehow let you set the language
02:05
<
nisstyre >
I'm assuming there's a way to have it load a file and then make the definitions available
02:05
<
nisstyre >
this will probably work
02:06
<
nisstyre >
since it's already compiled code
02:06
<
remexre >
okay, I'll start there
02:08
<
nisstyre >
remexre: I think you will have to install racket from source to get the correct library installed
02:09
<
nisstyre >
depending on your OS
02:10
<
nisstyre >
e.g. I don't even have racketcs.h on my system
02:10
<
nisstyre >
since I don't have the CS backend
02:10
<
nisstyre >
(Chez Scheme)
02:11
<
remexre >
nisstyre: heh, I'm already on gentoo, so installing sources is theoretically just one addition to a config file
02:12
<
nisstyre >
you'll probably have to modify the emerge files or whatever it is you use
02:12
<
nisstyre >
this could definitely be made easier
02:23
ArneBab has joined #racket
02:37
<
selimcan >
schemers of the world, unite
02:45
jmiven has quit [Quit: bye]
02:45
jmiven has joined #racket
03:02
ArneBab has quit [Remote host closed the connection]
03:03
ArneBab has joined #racket
03:04
sauvin is now known as Daddy
03:04
Daddy is now known as Daddums
03:04
Daddums is now known as Sauvin
03:14
efm has quit [Read error: Connection reset by peer]
03:17
efm has joined #racket
03:47
selimcan has quit [Quit: Leaving]
03:49
dddddd has quit [Ping timeout: 264 seconds]
04:12
Sgeo has quit [Read error: Connection reset by peer]
04:33
narimiran has joined #racket
04:33
endformationage has quit [Quit: WeeChat 2.6]
04:36
lavaflow has quit [Ping timeout: 256 seconds]
04:38
ArneBab has quit [Read error: Connection reset by peer]
04:40
lavaflow has joined #racket
05:10
catonano has quit [Quit: catonano]
05:14
nullman has quit [Remote host closed the connection]
05:14
nullman has joined #racket
05:20
aeth has quit [Read error: Connection reset by peer]
05:21
aeth has joined #racket
05:26
Sgeo has joined #racket
05:47
_whitelogger has joined #racket
06:07
orivej has joined #racket
06:17
orivej has quit [Quit: No Ping reply in 180 seconds.]
06:18
orivej has joined #racket
06:25
orivej has quit [Quit: No Ping reply in 180 seconds.]
06:26
orivej has joined #racket
06:28
libertyprime has quit [Ping timeout: 256 seconds]
06:32
fanta1 has joined #racket
06:33
orivej has quit [Quit: No Ping reply in 180 seconds.]
06:35
orivej has joined #racket
06:38
zenspider has joined #racket
06:52
orivej has quit [Ping timeout: 256 seconds]
06:52
orivej has joined #racket
06:56
pilne has quit [Quit: Me fail English? That's unpossible.]
07:00
orivej has quit [Ping timeout: 240 seconds]
07:00
orivej has joined #racket
07:05
Sgeo has quit [Read error: Connection reset by peer]
07:06
TCZ has joined #racket
07:12
orivej has quit [Ping timeout: 256 seconds]
07:13
orivej has joined #racket
07:17
rgherdt has joined #racket
07:21
orivej has quit [Quit: No Ping reply in 180 seconds.]
07:23
orivej has joined #racket
07:26
cbarrett has quit [Ping timeout: 252 seconds]
07:28
cbarrett has joined #racket
07:39
orivej has quit [Quit: No Ping reply in 180 seconds.]
07:40
orivej has joined #racket
07:54
libertyprime has joined #racket
08:00
orivej has quit [Ping timeout: 265 seconds]
08:00
orivej has joined #racket
08:10
ArneBab has joined #racket
08:12
orivej_ has joined #racket
08:12
orivej has quit [Ping timeout: 272 seconds]
08:15
ArneBab has quit [Remote host closed the connection]
08:16
aidalgol has quit [Read error: Connection reset by peer]
08:21
libertyprime has quit [Ping timeout: 264 seconds]
08:27
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
08:28
orivej has joined #racket
08:34
ArneBab_ has joined #racket
08:34
TCZ has quit [Quit: Leaving]
08:38
ArneBab_ has quit [Remote host closed the connection]
08:40
orivej has quit [Quit: No Ping reply in 180 seconds.]
08:40
doyougnu has joined #racket
08:42
orivej has joined #racket
08:51
orivej has quit [Ping timeout: 265 seconds]
08:52
orivej has joined #racket
09:00
doyougnu has quit [Remote host closed the connection]
09:06
orivej has quit [Ping timeout: 246 seconds]
09:06
orivej has joined #racket
09:09
doyougnu has joined #racket
09:09
doyougnu has left #racket [#racket]
09:15
doyougnu has joined #racket
09:16
doyougnu has quit [Client Quit]
09:18
doyougnu has joined #racket
09:34
Ven`` has joined #racket
09:38
doyougnu has quit [Quit: ERC (IRC client for Emacs 26.3)]
09:38
doyougnu has joined #racket
09:41
doyougnu has quit [Client Quit]
09:43
true-grue has joined #racket
09:44
orivej has quit [Quit: No Ping reply in 180 seconds.]
09:45
doyougnu has joined #racket
09:45
orivej has joined #racket
09:53
ArneBab_ has joined #racket
09:55
orivej has quit [Ping timeout: 260 seconds]
09:56
ArneBab_ has quit [Client Quit]
09:56
orivej has joined #racket
10:02
libertyprime has joined #racket
10:15
Ven`` has quit [Read error: Connection reset by peer]
10:26
dddddd has joined #racket
10:35
orivej has quit [Quit: No Ping reply in 180 seconds.]
10:36
orivej has joined #racket
10:42
iyzsong has joined #racket
10:53
orivej has quit [Ping timeout: 246 seconds]
10:53
orivej has joined #racket
11:18
orivej has quit [Ping timeout: 264 seconds]
11:18
orivej_ has joined #racket
11:21
libertyprime has quit [Remote host closed the connection]
11:30
orivej_ has quit [Ping timeout: 256 seconds]
11:33
catonano has joined #racket
11:36
orivej has joined #racket
11:43
lockywolf has joined #racket
11:43
lockywolf has quit [Max SendQ exceeded]
11:44
lockywolf has joined #racket
11:48
lockywolf_ has joined #racket
11:50
lockywolf has quit [Ping timeout: 240 seconds]
11:57
fanta1 has quit [Quit: fanta1]
12:17
catonano has quit [Ping timeout: 265 seconds]
12:19
catonano has joined #racket
12:20
rmnull has quit [Read error: Connection reset by peer]
12:21
lockywolf__ has joined #racket
12:24
lockywolf_ has quit [Ping timeout: 258 seconds]
12:27
lockywolf__ has quit [Ping timeout: 260 seconds]
12:29
TCZ has joined #racket
13:02
_whitelogger has joined #racket
13:07
doyougnu has quit [Ping timeout: 256 seconds]
13:08
orivej has quit [Ping timeout: 260 seconds]
13:08
orivej_ has joined #racket
13:19
lockywolf has joined #racket
13:19
fanta1 has joined #racket
13:56
<
samth >
basically, just construct an s-exp for a module path and then hand it to `racket_dynamic_require`
14:01
rgherdt has quit [Quit: Leaving]
14:22
fanta1 has quit [Quit: fanta1]
14:28
chambln has quit [Remote host closed the connection]
14:34
lockywolf_ has joined #racket
14:34
lockywolf_ has quit [Remote host closed the connection]
14:35
lockywolf_ has joined #racket
14:36
lockywolf_ has quit [Max SendQ exceeded]
14:36
lockywolf has quit [Ping timeout: 260 seconds]
14:36
lockywolf_ has joined #racket
14:37
lockywolf_ has quit [Max SendQ exceeded]
14:38
lockywolf_ has joined #racket
14:38
lockywolf_ has quit [Max SendQ exceeded]
14:39
lockywolf_ has joined #racket
14:40
lockywolf_ has quit [Max SendQ exceeded]
14:40
lockywolf_ has joined #racket
14:41
lockywolf_ has quit [Max SendQ exceeded]
14:42
lockywolf_ has joined #racket
14:42
lockywolf_ has quit [Max SendQ exceeded]
14:43
lockywolf_ has joined #racket
14:43
<
dzoe >
Not dynamic require again ...
14:44
lockywolf_ has quit [Max SendQ exceeded]
14:44
<
dzoe >
I've spent quite some hours getting gui-dynamic-require orchestrated with dynamic-require do what I need this Sunday.
14:44
lockywolf_ has joined #racket
14:45
lockywolf_ has quit [Max SendQ exceeded]
14:45
<
dzoe >
Especially deriving classes from dynamically required superclasses - although super easy in principle - turned to be a nightmare.
14:46
lockywolf_ has joined #racket
14:46
lockywolf_ has quit [Max SendQ exceeded]
14:47
lockywolf_ has joined #racket
14:48
lockywolf_ has quit [Max SendQ exceeded]
14:49
lockywolf_ has joined #racket
14:50
lockywolf_ has quit [Max SendQ exceeded]
14:51
lockywolf_ has joined #racket
14:51
lockywolf_ has quit [Max SendQ exceeded]
14:52
lockywolf_ has joined #racket
14:53
lockywolf_ has quit [Max SendQ exceeded]
14:53
lockywolf_ has joined #racket
14:55
lockywolf_ has quit [Max SendQ exceeded]
14:55
lockywolf_ has joined #racket
14:56
lockywolf_ has quit [Max SendQ exceeded]
14:56
<
samth >
dzoe: how so?
14:56
<
dzoe >
I'd say lack of documentation.
14:57
lockywolf_ has joined #racket
14:57
lockywolf_ has quit [Max SendQ exceeded]
14:58
<
dzoe >
That is without (require racket/gui/base) first.
14:58
lockywolf_ has joined #racket
14:59
<
dzoe >
Unless you already needed that before, the answer is super easy and absolutely non-obvious and definitely nowhere written. Of course, for the definition of "nowhere" as "not where I can find it" :)
14:59
lockywolf_ has quit [Max SendQ exceeded]
14:59
<
dzoe >
But given how deep I usually dig in the Racket sources, it is a surprise something like this takes me surprise ...
14:59
phoe has joined #racket
14:59
lockywolf_ has joined #racket
15:00
<
samth >
the answer is that you have to `(dynamic-require 'racket/gui/base #f)`, right?
15:00
<
samth >
but you should add an example to the docs!
15:00
lockywolf_ has quit [Max SendQ exceeded]
15:01
lockywolf_ has joined #racket
15:01
<
phoe >
hey! I have a question related to racket/gui - how is it implemented under the hood? does it utilize Qt or Gtk for cross-platformness or does it use some kind of per-OS bindings itself?
15:02
lockywolf_ has quit [Max SendQ exceeded]
15:02
<
samth >
phoe: on Linux, it uses Gtk, on Windows and Mac it uses the native GUI libraries
15:02
lockywolf_ has joined #racket
15:02
<
phoe >
samth: thanks. Where in the code should I look for them?
15:03
* phoe
takes a dive
15:13
rmnull has joined #racket
15:15
rgherdt has joined #racket
15:25
<
dzoe >
samth: Correct :)
15:25
<
dzoe >
I will submit a patch.
15:30
tautologico has joined #racket
15:52
orivej_ has quit [Ping timeout: 265 seconds]
15:54
orivej has joined #racket
16:02
rmnull has quit [Read error: Connection reset by peer]
16:02
rmnull1 has joined #racket
16:07
rmnull1 has quit [Quit: WeeChat 2.8]
16:07
rmnull has joined #racket
16:11
rmnull has quit [Read error: Connection reset by peer]
16:17
notzmv has quit [Remote host closed the connection]
16:22
notzmv has joined #racket
16:22
rmnull has joined #racket
16:28
TCZ has quit [Quit: Leaving]
16:34
endformationage has joined #racket
16:37
vraid has joined #racket
16:50
orivej_ has joined #racket
16:51
orivej has quit [Read error: Connection reset by peer]
16:58
phoe has left #racket [#racket]
17:07
lavaflow has quit [Quit: WeeChat 2.8]
17:08
lavaflow has joined #racket
17:12
pilne has joined #racket
17:17
orivej has joined #racket
17:17
orivej_ has quit [Read error: Connection reset by peer]
17:47
orivej has quit [Quit: No Ping reply in 180 seconds.]
17:48
orivej has joined #racket
17:56
narimiran has quit [Quit: leaving]
17:57
orivej_ has joined #racket
17:58
orivej has quit [Ping timeout: 260 seconds]
17:59
narimiran has joined #racket
18:04
<
dzoe >
samth: I think, that I'll just add some description and sample code to gui-dynamic-require scribbling, right?
18:04
<
dzoe >
Technically the module bindings need to be required, but the module itself must not be instantiated.
18:11
ohama has quit [Ping timeout: 256 seconds]
18:13
ohama has joined #racket
18:17
orivej_ has quit [Ping timeout: 258 seconds]
18:18
orivej has joined #racket
18:23
Sauvin has quit [Read error: Connection reset by peer]
18:24
lockywolf has joined #racket
18:25
lockywolf_ has quit [Ping timeout: 244 seconds]
18:42
tlcu has joined #racket
18:42
tlcu has quit [Client Quit]
18:45
<
samth >
dzoe: sounds good
18:53
cantstanya has quit [Remote host closed the connection]
19:20
<
dzoe >
But goraud shading first :)
19:20
<
dzoe >
I really need some procrastination
19:44
<
dzoe >
It doesn't stop giving surprises :)
19:45
<
dzoe >
ARGB blending... 3m: 133Mpps, CS: 78Mpps
19:46
<
dzoe >
RGB lighting... 3m: 61Mpps, CS: 81Mpps
19:46
<
dzoe >
What the heck? Both operations are a few bitshifts and some iors (and a lookup table, of course).
19:52
<
dzoe >
Ok, but when mixing lookup and fixnum multiplications, I can implement ARGB blending in CS with >200Mpps
19:59
TCZ has joined #racket
20:32
efm has quit [Ping timeout: 265 seconds]
20:33
narimiran has quit [Ping timeout: 256 seconds]
20:48
orivej has quit [Ping timeout: 265 seconds]
20:49
orivej has joined #racket
21:05
TCZ has quit [Quit: Leaving]
21:05
TCZ has joined #racket
21:27
orivej_ has joined #racket
21:28
orivej has quit [Ping timeout: 272 seconds]
22:05
TCZ has quit [Quit: Leaving]
22:07
rgherdt has quit [Ping timeout: 265 seconds]
22:11
TCZ has joined #racket
22:19
lockywolf_ has joined #racket
22:21
lockywolf has quit [Ping timeout: 260 seconds]
22:26
true-grue has quit [Read error: Connection reset by peer]
22:38
TCZ has quit [Quit: Leaving]
23:34
TCZ has joined #racket
23:46
lockywolf_ has quit [Ping timeout: 260 seconds]
23:49
lockywolf has joined #racket