orivej has joined #picolisp
<
Regenaxer>
wiki crashes now
<
Regenaxer>
Since changing 'intern'
<
Regenaxer>
Reverted picolisp.com to pil64 for now
jibanes has quit [Ping timeout: 260 seconds]
jibanes has joined #picolisp
<
Regenaxer>
Yes, there is at least one place where replacing the symbol is needed. Must rethink intern again
rob_w has joined #picolisp
jibanes has quit [Ping timeout: 272 seconds]
jibanes has joined #picolisp
orivej has quit [Ping timeout: 272 seconds]
<
Regenaxer>
Modified internal 'intern' logic once more
<
Regenaxer>
tankf33der, any tests are appreciated! :)
<
Regenaxer>
thanks!!
<
Regenaxer>
b2 5 works
<
Regenaxer>
dard unit tests too
<
tankf33der>
all passed.
<
Regenaxer>
I need to be more careful with such critical changes
<
Regenaxer>
The crash in the wiki btw was because the private namespace did not work right any more
<
Regenaxer>
Anyone knowing here about PNG images?
<
Regenaxer>
I want to draw an image with @lib/canvas.l with a transparent background
<
Regenaxer>
I have an image, but I'm not even sure
*if* it already has a transparent background
<
Regenaxer>
I think it does, but how to know?
<
Regenaxer>
convert -format ... gives "srgba(0,0,0,0)"
<
Regenaxer>
does the last 0 mean "transparent"?
<
Regenaxer>
Perhaps Nistur knows?
<
Regenaxer>
tankf33der, I want to port @games/chess.l to PilBox :)
<
Regenaxer>
make a frontend
<
Regenaxer>
as you may have noticed, I split @games/chess.l into a separate library
<
Regenaxer>
@games/libchess.l
<
tankf33der>
also you could create a bot for lichess <-> chess.l
<
Regenaxer>
What kind of bot?
<
Regenaxer>
in irc?
<
Regenaxer>
pil chess is too weak
<
Regenaxer>
only enough for me cause my chess skills are
*very* poor
<
Regenaxer>
Anyway, at the moment I don't even succeed to draw the pieces with a transparent background :(
aw- has joined #picolisp
orivej has joined #picolisp
<
beneroth>
lets build a pil-based chess app and make the pilchess group :D
<
beneroth>
or picochess?
<
beneroth>
(to be played with microscope)
<
beneroth>
many thanks to tankf33der, you are our supreme quality assurance master :)
<
beneroth>
and ofc thanks to Regenaxer. No risks, no gains :)
<
beneroth>
<Regenaxer> convert -format ... gives "srgba(0,0,0,0)"
<
beneroth>
I think it does
<
beneroth>
alpha channel
<
beneroth>
should be: 0.0 (fully transparent) and 1.0 (not transparent at all)
<
beneroth>
it's usually interpreted as "transparency in percentage"
<
beneroth>
but then again you have more canvars knowledge than me :)
<
Regenaxer>
Hi beneroth! :)
<
Regenaxer>
yes, alpha channel
<
Regenaxer>
I'm stuck
<
Regenaxer>
But it does not work
<
Regenaxer>
I believe the images I have
*are* transparent
<
Regenaxer>
But they display with a white background
<
Regenaxer>
I also tried two images from the stackoverfow link above, they also show white
<
Regenaxer>
and the code in @lib/canvas.js does basically alo the same
<
Regenaxer>
I must haves missed some minor issue
<
Regenaxer>
I think I know what the problem is
<
Regenaxer>
@lib/canvas.l does something weird
<
Regenaxer>
it clears the area first
<
Regenaxer>
that explains it!
<
Regenaxer>
Yess! Works now
<
Regenaxer>
Sorry for the confusion!
<
beneroth>
nice find
<
beneroth>
congrats :)
<
beneroth>
afk for a while
rob_w has quit [Quit: Leaving]
orivej has quit [Ping timeout: 260 seconds]
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
DKordic has quit []
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]