ZombieChicken has quit [Remote host closed the connection]
libertyprime has quit [Ping timeout: 276 seconds]
libertyprime has joined #racket
ubLIX has joined #racket
soegaard has joined #racket
ng0 has quit [Quit: Alexa, when is the end of world?]
zenspider has quit [Quit: bye]
zenspider has joined #racket
ubLIX has quit [Quit: ubLIX]
davidl has joined #racket
orivej has joined #racket
ubLIX has joined #racket
ubLIX has quit [Quit: ubLIX]
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #racket
orivej has quit [Ping timeout: 240 seconds]
ng0 has joined #racket
jao has joined #racket
ng0 has quit [Ping timeout: 260 seconds]
ng0 has joined #racket
iyzsong has quit [Read error: Connection reset by peer]
sword865 has quit [Quit: Connection closed for inactivity]
orivej has joined #racket
davidl has quit [Ping timeout: 276 seconds]
rain2 has joined #racket
rain1 has quit [Ping timeout: 244 seconds]
endobson has joined #racket
manualcrank has joined #racket
q9929t has joined #racket
efm has joined #racket
orivej has quit [Ping timeout: 268 seconds]
ubLIX has joined #racket
orivej has joined #racket
ubLIX has quit [Quit: ubLIX]
q9929t has quit [Quit: q9929t]
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
efm has quit [Ping timeout: 240 seconds]
efm has joined #racket
ziyourenxiang has quit [Ping timeout: 276 seconds]
efm has quit [Ping timeout: 240 seconds]
ubLIX has joined #racket
pera has joined #racket
vraid has quit [Quit: Leaving]
FreeFull has joined #racket
orivej has quit [Ping timeout: 245 seconds]
dustyweb has joined #racket
ubLIX has quit [Quit: ubLIX]
orivej has joined #racket
lavaflow has quit [Ping timeout: 246 seconds]
Sgeo__ has joined #racket
orivej has quit [Ping timeout: 240 seconds]
Sgeo_ has quit [Ping timeout: 268 seconds]
m1dnight_ has joined #racket
lordgrenvilll has joined #racket
sauvin has quit [Read error: Connection reset by peer]
lavaflow has joined #racket
orivej has joined #racket
keep_learning has quit [Remote host closed the connection]
cartwright has quit [Remote host closed the connection]
cartwright has joined #racket
juanfra has quit [Ping timeout: 246 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
endformationage has joined #racket
soegaard has quit [Quit: soegaard]
sameerynho has joined #racket
lavaflow has quit [Ping timeout: 245 seconds]
juanfra has joined #racket
ubLIX has joined #racket
soegaard has joined #racket
Ven`` has joined #racket
ArthurStrong has joined #racket
juanfra has quit [Ping timeout: 246 seconds]
juanfra has joined #racket
lavaflow has joined #racket
<lavaflow>
I really wish area<%> had max-width/max-height
<lavaflow>
maybe a mixin could add it, but getting all the various area-container<%> implementors to respect it would be a problem.
<lavaflow>
if anybody can think of a potential workaround for at least panel:dragable<%>, I'd love to hear it
vraid has joined #racket
lordgrenvilll has quit [Ping timeout: 245 seconds]
<dzoe>
soegaard: Finally I can see you online! Many thanks for that fixnum/fxvector hints you gave me.
<dzoe>
soegaard: I managed to pack everything into 63bit fixnums, create a customized merge-sort for that and even leverage futures to split the work evenly between available processors and now I can sort 2^27 records in 9s, 2^28 under 20s and 2^29 in 40s without any problems.
<dzoe>
For more, I don't have enough memory on my laptop :)
<dzoe>
The only thing that baffles me is the necessity of hardcoding fx< as the comparison function and providing it as a function argument with fx< completely breaks the futures down.
<dzoe>
Looks like ((lambda (a b (cmp fx<)) (cmp a b)) 1 2) triggers some sort of indirect call while simple (fx< 1 2) is inlined (looking at the fixnum.c explains that though).
<soegaard>
Cool!
<soegaard>
I have never worked with futures - when I read the docs I get the impression that they are a bit finicky.
<dzoe>
I was wondering if it might be useful to create a package for polished version of that - but with the indirect call kicking in, I do not think it would be very useful for others.
<dzoe>
And just providing very fast fxvector-sort! is (in my opinion) too little ...
<dzoe>
Well, visualize-futures helps a lot
<dzoe>
I must say that there were days when I was working solely in DrRacket to analyze what I can and what I can not do within future without blocking/syncing.
<soegaard>
Sorting vectors of fixnums might be the most important special case.
<soegaard>
So I'd say it is useful.
<dzoe>
Yes but I cannot get it working with futures when providing the compare function as an argument of the sorting function.
<dzoe>
Maybe rewrite it as macro to ensure the code gets inlined?
<soegaard>
I was about to write, that a macro solution is the only thing I can think of.
<dzoe>
In my usecase I would love to be able to write (fxvector-sort! unsorted (lambda (a b) (fx< (fxand a #xffffffff) (fxand b #xffffffff)))) - but now the comparison logic had to be hardcoded.
efm has joined #racket
<dzoe>
Ok, I'll play with that later on, it is actually very interesting (and relaxing) thing to do.
lavaflow has quit [Ping timeout: 245 seconds]
lavaflow has joined #racket
ng0 has joined #racket
FreeFull has quit [Ping timeout: 246 seconds]
FreeFull has joined #racket
efm has quit [Remote host closed the connection]
efm has joined #racket
dustyweb has quit [Ping timeout: 264 seconds]
dustyweb has joined #racket
juanfra has quit [Disconnected by services]
juanfra has joined #racket
FreeFull has quit []
mzan has quit [Quit: Leaving]
Fernando-Basso has joined #racket
jsgrant_ has joined #racket
soegaard has quit [Quit: soegaard]
ZombieChicken has joined #racket
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ng0 has quit [Quit: Alexa, when is the end of world?]
soegaard has joined #racket
lavaflow has quit [Ping timeout: 276 seconds]
lavaflow has joined #racket
jsgrant_ has quit [Read error: Connection reset by peer]
ubLIX has quit [Quit: ubLIX]
Lowl3v3l has quit [Ping timeout: 245 seconds]
efm has quit [Quit: Konversation terminated!]
Lowl3v3l has joined #racket
Fernando-Basso has quit [Remote host closed the connection]
endformationage has quit [Ping timeout: 245 seconds]