00:17
orivej has quit [Quit: No Ping reply in 180 seconds.]
00:19
orivej has joined #picolisp
00:32
orivej_ has joined #picolisp
00:35
orivej has quit [Ping timeout: 260 seconds]
00:50
orivej_ has quit [Read error: Connection reset by peer]
00:50
orivej has joined #picolisp
01:01
orivej_ has joined #picolisp
01:04
orivej has quit [Ping timeout: 256 seconds]
01:09
orivej_ has quit [Ping timeout: 264 seconds]
01:23
orivej has joined #picolisp
01:36
orivej has quit [Ping timeout: 256 seconds]
01:36
orivej_ has joined #picolisp
01:55
orivej has joined #picolisp
01:57
orivej_ has quit [Ping timeout: 256 seconds]
02:11
orivej has quit [Ping timeout: 246 seconds]
02:11
orivej has joined #picolisp
02:21
orivej_ has joined #picolisp
02:23
orivej has quit [Ping timeout: 264 seconds]
02:33
orivej_ has quit [Ping timeout: 246 seconds]
02:33
orivej has joined #picolisp
03:03
orivej has quit [Quit: No Ping reply in 180 seconds.]
03:04
orivej has joined #picolisp
03:24
salotz has quit [Write error: Connection reset by peer]
03:36
orivej has quit [Ping timeout: 256 seconds]
03:36
orivej has joined #picolisp
03:43
orivej has quit [Quit: No Ping reply in 180 seconds.]
03:44
orivej has joined #picolisp
04:21
orivej has quit [Quit: No Ping reply in 180 seconds.]
04:23
orivej has joined #picolisp
04:32
orivej has quit [Ping timeout: 260 seconds]
04:33
orivej has joined #picolisp
04:40
orivej has quit [Quit: No Ping reply in 180 seconds.]
04:41
orivej has joined #picolisp
04:49
orivej has quit [Ping timeout: 256 seconds]
04:50
orivej has joined #picolisp
05:00
orivej has quit [Ping timeout: 246 seconds]
05:01
orivej has joined #picolisp
05:08
orivej has quit [Quit: No Ping reply in 180 seconds.]
05:10
orivej has joined #picolisp
05:20
orivej_ has joined #picolisp
05:21
orivej has quit [Read error: Connection reset by peer]
05:29
orivej has joined #picolisp
05:29
orivej_ has quit [Read error: Connection reset by peer]
05:41
orivej_ has joined #picolisp
05:41
orivej has quit [Ping timeout: 264 seconds]
05:50
orivej has joined #picolisp
05:50
orivej_ has quit [Read error: Connection reset by peer]
06:10
orivej has quit [Ping timeout: 265 seconds]
06:11
orivej has joined #picolisp
06:41
orivej has quit [Ping timeout: 264 seconds]
06:41
orivej has joined #picolisp
06:56
orivej has quit [Ping timeout: 260 seconds]
06:56
orivej has joined #picolisp
07:01
orivej has quit [Read error: Connection reset by peer]
07:02
orivej_ has joined #picolisp
07:10
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
07:11
orivej has joined #picolisp
07:19
orivej_ has joined #picolisp
07:21
orivej has quit [Ping timeout: 264 seconds]
07:22
mtsd has joined #picolisp
07:27
orivej_ has quit [Ping timeout: 264 seconds]
07:28
orivej has joined #picolisp
07:35
orivej has quit [Ping timeout: 246 seconds]
07:37
orivej has joined #picolisp
07:44
<
Regenaxer >
Cheers aw-
07:44
<
aw- >
i'm looking for something
07:44
<
aw- >
someone posted to the list a while back
07:44
<
aw- >
some picolisp code that draws graphics
07:45
<
aw- >
ascii art maybe?
07:45
<
Regenaxer >
@lib/canvas?
07:45
<
aw- >
my memory is fuzzy
07:45
<
Regenaxer >
or the Vip lib?
07:45
<
Regenaxer >
Vip can draw ascii diagrams
07:46
<
aw- >
oh yes, i think that's it
07:46
<
Regenaxer >
hmm, I forgot a little
07:46
<
Regenaxer >
there was a video
07:46
<
aw- >
did you remove the code?
07:47
<
Regenaxer >
Is there @lib/vip/draw.l ?
07:48
<
Regenaxer >
too long ago ;)
07:48
<
aw- >
i just found it
07:48
<
aw- >
was looking in @lib/vip.l
07:49
<
Regenaxer >
I should play with it again
07:49
<
Regenaxer >
Memory garbage collected already
07:50
<
Regenaxer >
I still have the demo code
07:52
orivej has quit [Ping timeout: 256 seconds]
07:52
orivej has joined #picolisp
07:55
<
Regenaxer >
you do $ vip <file>
07:55
<
Regenaxer >
the hit 'v'
07:55
<
Regenaxer >
ok, 'vip' is a script here
07:56
<
Regenaxer >
with a single line (load "@bin/vip")
07:57
<
aw- >
#/bin/vip:6] COLUMNS or LINES not set
07:57
<
Regenaxer >
needs to be exported in .bashrc probably
07:58
<
aw- >
: (load "@bin/vip")
07:58
<
aw- >
[/usr/lib/picolisp/bin/vip:6] COLUMNS or LINES not set
07:58
<
Regenaxer >
export COLUMNS LINES
07:58
<
Regenaxer >
in .bashrc
07:59
<
Regenaxer >
Normally this is set
08:01
<
aw- >
doesn't work.. that's weird.. i wonder if I packaged picolisp incorrectly for tinycore linux
08:01
<
aw- >
it's v19.12.28
08:02
<
Regenaxer >
still COLUMNS not set?
08:02
<
Regenaxer >
It is a shell env issue
08:02
<
Regenaxer >
Hi mtsd
08:02
<
Regenaxer >
aw-, you can also just export it in this session
08:02
<
mtsd >
I recognize COLUMNS or LINES not set, think I ran into that too
08:02
<
aw- >
yes i tried that too
08:02
<
Regenaxer >
$ export COLUMNS LINES
08:03
<
Regenaxer >
strange
08:03
<
mtsd >
But I did not have time to look at it further then
08:03
<
Regenaxer >
$ set |fgrep COLUMNS
08:03
<
Regenaxer >
is it set?
08:04
<
Regenaxer >
After export you should have
08:04
<
Regenaxer >
$ env |grep COLUMNS
08:04
<
Regenaxer >
COLUMNS=48
08:04
<
aw- >
ok I need to set them
08:04
<
aw- >
what value for LINES?
08:04
<
Regenaxer >
I think bash sets it
08:05
<
Regenaxer >
also then the terminal is resized
08:05
<
Regenaxer >
Better not set manually
08:05
<
Regenaxer >
it may change
08:06
<
Regenaxer >
if not exported, you should at least see it with set |grep COLUMNS
08:06
<
Regenaxer >
So vip started?
08:06
<
mtsd >
Worked here after export COLUMNS LINES
08:07
<
Regenaxer >
Then you could open the file I posted
08:07
<
mtsd >
had to test..
08:07
<
Regenaxer >
mtsd, good
08:08
<
Regenaxer >
'v' in command mode
08:08
<
Regenaxer >
shows ASCII drawing?
08:08
<
Regenaxer >
it opens a new buffer
08:10
<
aw- >
how can i use this without vip?
08:11
<
aw- >
(box) and (arrow) only?
08:12
<
aw- >
oh i need to load draw.l
08:12
<
Regenaxer >
Not sure if/how draw.l works stand-alone
08:13
<
Regenaxer >
it builds vip buffer structures
08:13
<
Regenaxer >
lists of lists uf chars
08:13
<
Regenaxer >
You can save the result in vip of course
08:14
<
Regenaxer >
:w myfile
08:33
orivej has quit [Quit: No Ping reply in 180 seconds.]
08:34
orivej has joined #picolisp
08:49
orivej has quit [Ping timeout: 260 seconds]
08:49
orivej_ has joined #picolisp
08:57
orivej_ has quit [Ping timeout: 258 seconds]
08:58
orivej has joined #picolisp
09:07
rob_w has joined #picolisp
09:11
<
rob_w >
good morning channel
09:15
<
Regenaxer >
Hi rob_w
09:26
<
rob_w >
hey Regenaxer
09:28
<
beneroth >
hi rob_w :)
09:28
<
beneroth >
hallo everyone
09:31
<
Regenaxer >
Hi beneroth
09:33
<
rob_w >
Regenaxer, today is not good for me, a cold has creeped up on me
09:33
<
Regenaxer >
No hurry, I'm also not at home atm, and a bit busy
09:33
<
Regenaxer >
Take care!
09:34
<
Regenaxer >
Covid19?
09:34
<
rob_w >
but i need to solve my bucketlist to go ;.) so i will get back to u
09:34
<
Regenaxer >
sure :)
09:34
<
rob_w >
well if its covid then goodnight
09:34
<
Regenaxer >
You are young ;)
09:35
<
rob_w >
on paper ... but my lung is not in best form
09:35
<
Regenaxer >
Smoking kills the virus
09:35
<
rob_w >
thats what they say .. but who knows
09:36
<
rob_w >
but i get back to you and you will be thrilled , i got quite some "special to me" problems for you
09:54
orivej has quit [Ping timeout: 260 seconds]
09:54
orivej_ has joined #picolisp
10:21
mtsd has quit [Quit: Leaving]
11:54
orivej_ has quit [Ping timeout: 264 seconds]
11:54
orivej has joined #picolisp
12:12
orivej has quit [Ping timeout: 256 seconds]
12:13
orivej has joined #picolisp
12:20
orivej has quit [Read error: Connection reset by peer]
12:21
orivej has joined #picolisp
12:26
<
Regenaxer >
Next: Pil21 signal handling
12:30
orivej has quit [Ping timeout: 260 seconds]
12:31
orivej_ has joined #picolisp
12:38
<
aw- >
this might interest you
12:38
<
aw- >
(warning IT'S A SCAM)
12:45
<
aw- >
(credit patrixl)
13:00
<
beneroth >
ah, I saw this mentioned on Twitter weeks ago, but not this url
13:01
<
beneroth >
funny how the whole medium layout/CSS/everything got duplicated for this phishing :-)
13:05
<
aw- >
yes it's a brilliantly executed scam
13:06
<
patrixl >
they're even circulating faked twitter screenshots dated today of @elonmusk posting about it
13:20
orivej_ has quit [Ping timeout: 258 seconds]
13:21
orivej has joined #picolisp
13:23
<
beneroth >
patrixl, same with trump tweets, though there it is much harder to tell which one are fakes and which ones are indeed real
13:30
orivej has quit [Read error: Connection reset by peer]
13:31
orivej has joined #picolisp
13:36
razzy has joined #picolisp
13:50
orivej has quit [Quit: No Ping reply in 180 seconds.]
13:51
orivej has joined #picolisp
14:01
orivej has quit [Ping timeout: 240 seconds]
14:02
orivej has joined #picolisp
14:33
razzy has quit [Ping timeout: 256 seconds]
14:50
orivej has quit [Ping timeout: 265 seconds]
14:50
orivej has joined #picolisp
15:07
orivej has quit [Ping timeout: 256 seconds]
15:08
orivej has joined #picolisp
15:37
rob_w_ has joined #picolisp
15:40
rob_w has quit [Ping timeout: 260 seconds]
15:49
orivej_ has joined #picolisp
15:50
orivej has quit [Ping timeout: 264 seconds]
16:00
orivej_ has quit [Ping timeout: 264 seconds]
16:00
orivej has joined #picolisp
16:13
orivej has quit [Ping timeout: 264 seconds]
16:45
patrixl has quit [Ping timeout: 264 seconds]
17:13
<
Regenaxer >
Oh! We have somewhere a non-gc-safe function in pil21
17:13
<
Regenaxer >
No idea where
17:14
<
Regenaxer >
Happens when auto-building. With standard pil it builds, also if called with -"gc 400".
17:29
<
tankf33der >
i will play, this is something new
17:29
<
Regenaxer >
*very* hard to reproduce
17:29
<
tankf33der >
my tests are wrapped bu gc 256
17:30
<
Regenaxer >
I can release a non-ready version
17:30
<
Regenaxer >
It gives a build error
17:31
<
Regenaxer >
released
17:31
<
Regenaxer >
if you make, you
*may* get
17:31
<
Regenaxer >
llvm-as: base.ll:75418:11: error: expected value token
17:31
<
Regenaxer >
ret i64 void
17:31
<
Regenaxer >
This is a nonsense error
17:31
<
Regenaxer >
in base.ll one line is missing
17:32
<
Regenaxer >
the line before that
17:32
<
Regenaxer >
But the code genrater is very involved
17:32
<
Regenaxer >
very hard to find the reason
17:33
<
Regenaxer >
If a few lines are added or removed somewhere, this error disappears
17:33
<
Regenaxer >
or if you call with -"gc 400"
17:33
<
Regenaxer >
so it is probably som illegally collected data
17:34
<
Regenaxer >
i.e. it 'save'd
17:34
<
Regenaxer >
Would be really cool if you find the faulty function with some gc-tests
18:39
<
tankf33der >
yeah, hardcore
19:00
<
beneroth >
sounds like a Heisenbug
19:00
<
beneroth >
happy hunting :)
19:02
<
Regenaxer >
thanks! :)
19:09
<
tankf33der >
found while having fun with gc.
19:09
<
tankf33der >
wrong in pil21.
19:11
<
Regenaxer >
So which function is wrong? :)
19:12
<
Regenaxer >
Seems to be mapcar
19:13
<
Regenaxer >
: (length (mapcar inc (range 1 100000)))
19:13
<
Regenaxer >
-> 20242
19:13
<
Regenaxer >
!: (length (range 1 100000))
19:13
<
Regenaxer >
-> 100000
19:13
<
tankf33der >
it works if you add (gc 128)
19:13
<
tankf33der >
in front.
19:14
<
Regenaxer >
: (gc 400) (length (mapcar inc (range 1 100000))
19:14
<
Regenaxer >
-> 100000
19:14
<
Regenaxer >
Thanks a lot!!
19:15
<
Regenaxer >
Should be rather easy now
19:15
<
Regenaxer >
I look tomorrow, too sleepy now
19:18
<
tankf33der >
i will try git bisect and report if successfully found something.
19:27
<
Regenaxer >
What does bisect do?
19:30
<
tankf33der >
do set good commit and bad commit and it checkout commits by steps and show you where bug begun.
19:30
<
tankf33der >
range again.
19:31
<
tankf33der >
commit where range was born
19:32
<
tankf33der >
but before that commit (mapcar inc L) worked.
19:32
<
tankf33der >
I've generated list without range.
19:32
<
tankf33der >
like this:
19:32
<
tankf33der >
(setq L (make (for N 100000 (link N]
19:32
<
tankf33der >
(mapcar inc L)
19:33
<
Regenaxer >
I changed the mapping functions several times
19:34
<
Regenaxer >
But 'range' is not the problem, right? Just in the same commit?
19:38
<
tankf33der >
(range 1 anynumber) always works
19:38
<
tankf33der >
but mapcar inc L always crash it
19:39
<
Regenaxer >
also extract
19:39
<
Regenaxer >
and inc or prog or cons
19:39
<
Regenaxer >
so it is the mapping functions in general
19:39
<
tankf33der >
mapcar crash it because of gc when creating new list.
19:39
<
Regenaxer >
does not crash though
19:39
<
tankf33der >
corrupt it.
19:40
<
Regenaxer >
yes, this is always the case with these gc issues
19:40
<
Regenaxer >
not correctly 'save'd data
19:40
<
Regenaxer >
during 'cons'
19:41
<
Regenaxer >
and mapcar or extract cons a new list
19:41
<
Regenaxer >
'range' is not the problem here, it is already finished when mapcar starts
19:44
<
Regenaxer >
Anyway, afp
19:44
<
tankf33der >
at the same time in this broken checkout this one works:
19:44
<
tankf33der >
(setq L (range 1 100000))
19:44
<
tankf33der >
(mapcar inc L)
19:44
<
tankf33der >
only this corrupts:
19:44
<
tankf33der >
(mapcar inc (range 1 100000))
19:49
<
tankf33der >
commit above is wrong, I found below in list corrupted result too.
20:02
<
beneroth >
wow, good find tankf33der!
20:09
<
Regenaxer >
(setq L (... works naturally, because the value
*is* safe as it is also referred to from the symbol 'L', which in turn is intered in the namespace
20:10
<
tankf33der >
afk 100%
20:10
<
Regenaxer >
It is really very tricky to save everything necessary, but not more
20:10
<
Regenaxer >
yeah, me too :)
20:29
rob_w_ has quit [Quit: Leaving]
23:04
patrixl has joined #picolisp