Trashlord21 has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #picolisp
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
groovy2shoes has quit [Ping timeout: 260 seconds]
groovy2shoes has joined #picolisp
aw- has joined #picolisp
orivej has quit [Ping timeout: 252 seconds]
<Nistur>
mornin'
<Regenaxer>
Hi Nistur
<Nistur>
hulloo :)
stephen8717 has joined #picolisp
stephen8717 has quit [Remote host closed the connection]
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
<razzy>
hi all, i hope beneroth will show up
<Regenaxer>
Hi razzy
rob_w has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
orivej has joined #picolisp
_whitelogger has joined #picolisp
ubLIX has joined #picolisp
razzy` has joined #picolisp
pierpal has joined #picolisp
pierpal has quit [Ping timeout: 240 seconds]
razzy has left #picolisp ["ERC (IRC client for Emacs 25.1.1)"]
razzy` has quit [Quit: ERC (IRC client for Emacs 26.1)]
razzy has joined #picolisp
rob_w has quit [Quit: Leaving]
pierpal has joined #picolisp
<razzy>
hi, Regenaxer , why would xchess not work? any idea? i have local instalation, but i changed (load limul.l) to correct value. it runs without error, but nothings happen
<razzy>
newest installation
<Regenaxer>
Hmm, I did not try it many years, used to work fine
<razzy>
also, picolisp-mode working great. run-picolisp not working, saying and: File already exists: /home/razzy/.pil/editor-orig
pierpal has quit [Ping timeout: 260 seconds]
<razzy>
Regenaxer: also, is there a way to download http:page? and run it through json?
<razzy>
Regenaxer: already solved inferior-picolisp problem
<Regenaxer>
emacs?
<razzy>
yop
<Regenaxer>
I have not looked at it ;)
<razzy>
just informing back, so i do not potentionally waste your time
<Regenaxer>
Thanks :)
<razzy>
only problem left is xchess, which is not pressing
<razzy>
just wanted to see
<Regenaxer>
yeah
<Regenaxer>
Did you find some description?
<Regenaxer>
eg games/README
<Regenaxer>
using XBoard
<Regenaxer>
Or, how did you know it exists?
<razzy>
Regenaxer: tried random libraries
<Regenaxer>
So games/README explains how to use it. I did not remember at all ;)
<Regenaxer>
I cannot test here on Android. No X
<razzy>
Regenaxer: yes, i do not have xboard
<Regenaxer>
so install it
<razzy>
i was hoping to see picolisp graphics interface
<razzy>
picolisp have some graphics yes?
<Regenaxer>
yes, various
<razzy>
i mean, integrated
<Regenaxer>
openGl, svg, canvas
<Regenaxer>
look for the OpenGL examples in rosettacode
<Regenaxer>
also canvas demos, eg in the phone gui
<razzy>
hmm hmm
<Regenaxer>
or in PilBox
<razzy>
thx
<razzy>
Regenaxer: if i have you here,... does picolisp have function to measure memory ussage?
<razzy>
like what function eat up most memory?
<Regenaxer>
no, you could monitor with 'heap' or 'proc'
<Regenaxer>
It is difficult to say "which function"
<Regenaxer>
You can measure which function(s) take most time with @lib/prof.l (profiling)
<Regenaxer>
But memory cannot be accounted to a function I think
<razzy>
Regenaxer: i was thinking (memory-ussage (function-you-are-interested)) and it would return max allocated memory, median allocated memory, averadge allocated memory
<Regenaxer>
difficult I think
<Regenaxer>
memory allocation is not explicit
<razzy>
Regenaxer: if you recursivelly drill function tree and count bytes used in lists?
<Regenaxer>
and garbage collection changes the cells all the time
<Regenaxer>
statically it is even more impossible
<razzy>
hmm
<Regenaxer>
There is no concept of memory at all on the Lisp level
<Regenaxer>
all assumes memory is unlimited
<Regenaxer>
gc recovers it ;)
<Regenaxer>
'heap' indicates only the *maximum* that was allocated
<Regenaxer>
What for?
<razzy>
sure sure,...but i feel it should be possible to count it in something like (debug mode)
<Regenaxer>
Even if you count the number of times 'cons' was called,
<Regenaxer>
most of these cells are recovered soon after
<Regenaxer>
You need to traverse all memory as gc does to find non-garbage cells
<Regenaxer>
What for?
<razzy>
Regenaxer: for automatic optimization, not that i am there
<Regenaxer>
haha
<Regenaxer>
please stop such preliminary optimizations
<Regenaxer>
especially before you understand the internals
<razzy>
Regenaxer: how do GC know which cells are no longer needed?
<Regenaxer>
by traversing the heaps
<Regenaxer>
btw, about canvas graphics, we had discussions over weeks here about @lib/pdfPage.l
<Regenaxer>
it is interactive drawing
<Regenaxer>
You can see a live demo of that library at "blitzmenu.7fach.de"
<Regenaxer>
But it is not trivial
<Regenaxer>
as I said, I explained it to someone here over seviral weeks
<Regenaxer>
Perhaps look into the logs of this chat
<Regenaxer>
There is also a simple demo in the disto, misc/pdfPage.l
<Regenaxer>
it loads lib/pdfPage.l
<razzy>
canvas graphics is not that usefull right now, but thx