00:21
mathZ has joined #picolisp
00:24
mathZ has quit [Remote host closed the connection]
00:24
mathZ has joined #picolisp
00:27
mathZ has left #picolisp [#picolisp]
03:21
orivej has quit [Ping timeout: 240 seconds]
04:21
<
tankf33der >
picolisp on frontpage of HN
04:28
brandelune has joined #picolisp
04:29
<
brandelune >
It doesn't seem that OSX can easily build picolisp...
04:35
<
tankf33der >
but it can run on irix :)
04:36
<
tankf33der >
wait somebody here on channel or Regenaxer, i dont have osx
04:37
darithorn has quit [Quit: Leaving]
04:39
f8l has quit [Read error: Connection reset by peer]
04:41
f8l has joined #picolisp
04:45
<
brandelune >
thanks :)
04:49
<
brandelune >
can't even build the emulator... :(
04:52
<
tankf33der >
tricky beast
04:53
<
tankf33der >
for the first time and logical for rest of the life
04:54
<
Regenaxer >
Good morning tankf33der, brandelune
04:54
<
brandelune >
Good morning !
04:54
<
Regenaxer >
tankf33der, thank for the HN info
04:55
<
brandelune >
I just come from there :)
04:55
<
Regenaxer >
We should really make an FAQ for OSX/Mac
04:55
<
brandelune >
I wanted to attempt for the nth time in 20 years to start some lisp
04:55
<
Regenaxer >
The question pops up every week
04:55
<
brandelune >
agreed.
04:56
<
brandelune >
is there no solution at all ?
04:56
<
Regenaxer >
I think Nistur was the last one here doing some emu compilation
04:56
<
Regenaxer >
Hmm, I lost overview ;)
04:57
<
Regenaxer >
pil32 does not compile due to clang
04:57
<
brandelune >
correct
04:57
<
brandelune >
but I read somewhere that installing gcc could solve that.
04:57
<
Regenaxer >
And pil64 neesd pos-independend binaries which are not available for x86-64
04:58
<
Regenaxer >
yes, I'm not sure
04:58
<
Regenaxer >
Lets wait until Nistur is up?
04:58
<
brandelune >
I tried gcc with brew but I guess I missed somethings
04:59
<
brandelune >
ok. I'm in gmt+9 and I'll have to leave in a few hours. but I'll check the log.
05:01
<
Regenaxer >
Best would be if Apple swiched hardware to Arm64 for Macs ;)
05:09
<
brandelune >
isn't it something they have in mind ?
05:10
<
Regenaxer >
yes, that's why I faintly hope so
05:11
<
brandelune >
ok, I'm off. I'll come back later.
05:12
<
Regenaxer >
See you :)
05:25
brandelune has quit [Quit: This computer has gone to sleep]
05:33
brandelune has joined #picolisp
05:34
brandelune has quit [Client Quit]
06:31
<
beneroth >
tankf33der, nice! And this time there is even some picolisp discussion in the comments!
06:31
<
Regenaxer >
Hi beneroth! Indeed
06:31
<
beneroth >
"Cool I suppose but the memefied/youtuber tone of voice this landing page has is a bit of a turn off." - I tend to agree...
06:31
<
beneroth >
Guten Morgen Regenaxer :)
06:34
<
beneroth >
"Clojure compiles to JVM bytecode, so it should run much much faster than an interpreted picolisp." -- hmm. depends I would guess.
06:34
<
beneroth >
pil should win startup time
06:34
<
beneroth >
"It has a small group of core users who think very differently about software. " hehe, thx
06:35
<
Regenaxer >
yes, and execution speed is about the same iirc
06:35
<
Regenaxer >
memory usage of Clojure is enormous. Grabs 600 MiB immediately
06:35
<
beneroth >
I would guess so too, and in that cases better abstraction probably reduces the number of non-functional wrappers to execute
06:36
<
beneroth >
600 MiB is not much these days, Regenaxer. not when its common that the OS alone takes 1-2 GB.
06:36
<
beneroth >
but yes, the less the better. also better speed at some point because caching works faster and better, I assume
06:36
<
Regenaxer >
depends, ask Nistur with all his raspis and legacy machines
06:37
<
Regenaxer >
or on Android
06:37
<
Regenaxer >
600 MiB is too much there
06:37
<
beneroth >
I mean from the view (as the comment was) from a guy who is used to run clojure/java enterprise backends
06:37
<
beneroth >
they just throw hardware at it
06:38
<
beneroth >
sometimes economically meaningful. not good for green IT though.
06:42
<
beneroth >
gotta go
06:42
<
beneroth >
have a nice day! o/
06:45
<
Regenaxer >
See you! :)
06:57
<
tankf33der >
question
06:57
<
tankf33der >
Regenaxer:
06:57
<
tankf33der >
this is python dictionary:
06:57
<
tankf33der >
{'a': 5, 'y': 1, 'b': 3, 'z': 1, 'x': 1}
06:58
<
tankf33der >
it sorted after it by number and alphabetically:
06:58
<
tankf33der >
[('a', 5), ('b', 3), ('x', 1), ('y', 1), ('z', 1)]
06:58
<
tankf33der >
how to do it in picolisp ?
07:06
<
Regenaxer >
(by cdr sort '((a . 5) (b . 3) ...
07:07
<
Regenaxer >
ah, number and
*then* alpa?
07:07
<
Regenaxer >
(by '((X) (cons (cdr X) (car X))) sort '((a . 5) (b . 3) ...
07:10
<
tankf33der >
knew it
07:21
* Nistur
was highlighted
07:21
<
Nistur >
yes. 600MB just to setup is insane.
07:21
<
Regenaxer >
Good morning Nistur!
07:22
<
Nistur >
Greetings :)
07:34
mtsd has joined #picolisp
07:48
<
tankf33der >
(flip (by '((X) (cons (cdr X) (- 97 (char (car X))))) sort Z))
07:48
<
tankf33der >
Regenaxer
07:48
<
Regenaxer >
yes, fine
07:48
<
tankf33der >
i have to add (- 97 (char (car X))) to sort alphabetically too
07:49
<
Regenaxer >
but chars
*are* alphabetically
07:50
<
Regenaxer >
And if you do calculations anyway, you don't need 'flip' if you negate
07:50
<
Regenaxer >
(- xxx 97)
07:50
<
tankf33der >
should be a b x y z
07:52
<
Regenaxer >
ok, then do '((X) (cons (- (cdr X)) (car X)))
07:52
<
Regenaxer >
decreasing numbers and increasing letters
07:59
rob_w has joined #picolisp
08:06
brandelune has joined #picolisp
08:09
<
Regenaxer >
Hi mtsd!
08:19
<
mtsd >
More security problems.... not good
08:20
<
mtsd >
It just keeps coming, it seems
08:20
<
Regenaxer >
yeah, disturbing
08:21
rob_w has quit [Quit: Leaving]
08:21
<
brandelune >
(back for a shot while :)
08:22
<
Regenaxer >
good :)
08:22
<
brandelune >
if there is a way to build with a separate version of gcc, it would be trivial to 1) document that 2) (?) create a brew recipe with said dependency...
08:23
<
Regenaxer >
But it helps only for pil32 which is not very interesting
08:24
<
brandelune >
yes and no. I don't think Apple will dump 32 bit applications in the next iteration of osx.
08:25
<
Regenaxer >
I mean picolisp features
08:25
<
Regenaxer >
namespaces, native and coroutines etc.
08:25
<
brandelune >
what about the issue with the emulation ?
08:25
<
Regenaxer >
I won't miss these any more
08:26
<
Regenaxer >
ah, ok, yes
08:26
<
Regenaxer >
but a bit slow
08:26
<
Regenaxer >
I think emu can be built with standard gcc
08:26
<
Regenaxer >
or even clang?
08:26
<
Regenaxer >
Nistur, how is the state?
08:26
<
brandelune >
I tried and it didn't work :(
08:27
<
Regenaxer >
IIRC even some years ago Jon Kleiser succeeded with emu on Mac
08:28
<
brandelune >
I get the exact same error as with src64
08:29
<
brandelune >
also, I'm not an expert at builds... I just follow instructions... :(
08:39
<
brandelune >
the link [Or maybe you could do something like this.]
08:39
<
brandelune >
points to a 404
08:40
<
Regenaxer >
I see, these are Henrik Sarvell's pages
08:40
<
brandelune >
points
_at_
08:40
<
Regenaxer >
Perhaps removed?
08:41
<
brandelune >
it looks like the date base hierarchy is gone
08:42
<
Regenaxer >
it is outside the wiki's DB
08:42
<
brandelune >
nothing on the nginx pages either
08:44
<
brandelune >
www. missing from the original link
08:45
<
Regenaxer >
perhaps nginx config changed over there
08:45
<
Regenaxer >
You can fix the link ;)
08:47
<
brandelune >
can I ?
08:47
<
Regenaxer >
Yes, just register and try it
08:48
<
Regenaxer >
via "Log in" link
08:48
<
Regenaxer >
it is very easy
08:48
<
Regenaxer >
(I believe)
08:50
<
Regenaxer >
Great! Welcome new member! :)
08:50
<
brandelune >
:) ok, starting a 3 day vacation right now with a beer, I won't be able to do more today ;)
08:51
<
brandelune >
hoping to find a solution for osx~
08:51
<
Regenaxer >
I still hope Nistur can bring us up to date concerning emu/Mac
08:51
<
brandelune >
sure !
08:52
<
Regenaxer >
Ah, the link is fixed. Thanks!
08:52
<
brandelune >
I can fix links but Ich speche kein Lisp :)
08:53
<
brandelune >
spreche
08:53
<
brandelune >
ok gone.
08:53
brandelune has quit [Quit: This computer has gone to sleep]
09:10
mtsd has quit [Ping timeout: 240 seconds]
09:23
rob_w has joined #picolisp
09:35
orivej has joined #picolisp
10:29
libertas has joined #picolisp
10:50
Regenaxer has left #picolisp [#picolisp]
10:50
Regenaxer has joined #picolisp
11:18
mtsd has joined #picolisp
11:40
mtsd has quit [Remote host closed the connection]
12:13
<
Nistur >
Regenaxer: hello?
12:16
<
Nistur >
Um, I have been too busy so I haven't had time to tinker with it... I got it compiling and running but some things caused it to crash... I hadn't got around to checking precisely what it was that caused the problem
12:23
<
tankf33der >
what code ?
12:24
<
Nistur >
I have the day off today, my wife had a hospital appointment and it's over already, so I get to twiddle my thumbs for the rest of the day
12:24
<
Nistur >
so I can have a play with it in a bit
12:25
<
tankf33der >
maybe this one ? :)
12:26
<
Nistur >
tankf33der: it was when running the tests, from memory
12:26
<
tankf33der >
like this?
12:26
<
tankf33der >
pil "@lib/test.l" +
12:26
<
tankf33der >
what os?
12:27
<
tankf33der >
never tried emu, maybe i can try compile it on linux and try
12:27
<
Regenaxer >
brandelune's question was first of all how to build emu on MacOS
12:28
<
Regenaxer >
But he left a while ago
12:28
<
Nistur >
yeah, I saw
12:28
<
Nistur >
sorry I wasn't around
12:29
<
Regenaxer >
Perhaps you can pastebin your make procedure, so he can check later
12:30
<
tankf33der >
how to compile emu on linux then ?
12:31
<
Regenaxer >
(cd src64; make emu)
12:32
<
Nistur >
Regenaxer: sure
12:32
<
tankf33der >
test passed.
12:32
<
Nistur >
just finishing my lunch, then I'll set up upstairs and get my macbook out
12:33
<
tankf33der >
lets try openbsd
12:35
<
tankf33der >
passed.
12:36
vikid has joined #picolisp
12:36
<
Regenaxer >
Hi vikid! Its been a long time! :)
12:41
<
tankf33der >
solaris emu tests passed.
12:47
linus` has joined #picolisp
12:54
rob_w has quit [Quit: Leaving]
13:28
<
Nistur >
I remember now, if I run pil "@lib/test.l" + it just hangs indefinitely
13:29
<
Regenaxer >
Hmm, ok, you can find the place with a binary search, by commenting out first files and then parts of the file
13:39
<
Nistur >
any of the (load "@test/... calls will make it hang
13:42
<
Nistur >
I was just going through systematically commenting out calls in test.l
13:43
<
Nistur >
I have now put a println in the top of test/lib.l and it never prints anything
13:43
<
Regenaxer >
Wha a println?
13:44
<
Nistur >
I'm just trying to get it to do
_something_ so I can move it around and see where it's hanging
13:44
<
Regenaxer >
If you comment all loads it should print OK
13:44
<
Regenaxer >
'(load ...
13:45
<
Regenaxer >
Just a quote is OK
13:45
<
Regenaxer >
or #{ ... }#
13:45
vikid has quit [Remote host closed the connection]
13:47
<
Regenaxer >
or, even easier, insert (bye)
13:47
<
Nistur >
I tried that
13:47
<
Regenaxer >
"@test/src/main.l"
13:47
<
Regenaxer >
"@test/s...
13:47
<
Regenaxer >
So it doesn't even get to the first load?
13:48
<
Nistur >
so the first block loaded before
13:48
<
Nistur >
just the ones underneath that were separate I think didn't
13:48
<
Nistur >
but I've got it now to say
13:48
<
Regenaxer >
Good :)
13:48
<
Nistur >
[/usr/local/lib/picolisp/test/src/main.l:115] 4 -- 'test' failed
13:49
<
Regenaxer >
(let U (usec)
13:49
<
Regenaxer >
: (usec)
13:50
<
Nistur >
not sure how I managed to do that... because tht wasn't causing problems before
13:50
<
Regenaxer >
It hung later?
13:51
<
Regenaxer >
Perhaps (usec) works sometimes and sometimes not?
13:51
<
Nistur >
it was getting past there consistently before, and now it's consistently broken, despite nothing having changed
13:52
<
Nistur >
well, I added in (bye) to test/lib.l but then removed it again
13:52
<
Regenaxer >
strange
13:55
<
tankf33der >
comment main
13:55
<
tankf33der >
rest works ?
13:55
<
Nistur >
ok, trying to move (bye) down the list of loads again
13:55
<
Nistur >
test/src/main.l completes
13:55
orivej has quit [Ping timeout: 268 seconds]
13:55
<
tankf33der >
(bye) inside (load ...)
13:55
<
Regenaxer >
main.l without (usec) ?
13:56
<
Nistur >
I haven't changed any files apart from test.l right now
13:56
<
Regenaxer >
tankf33der, yes, why not? The args are evaluated left to right
13:56
<
Nistur >
apply.l is fine
13:56
<
Nistur >
so is flow.l
13:57
<
Nistur >
sym.l is next... but I'm getting that same error in main.l now
13:57
<
Nistur >
((*/ (- (usec) U) 100000))
13:57
<
Nistur >
let me try running again
13:57
<
Regenaxer >
hmm, perhaps comment out only usec for now?
13:58
<
Nistur >
I have to pick my wife up... 15 minutes away in 2 minutes
13:59
<
Nistur >
back later
13:59
<
Regenaxer >
ok, no hurry
13:59
<
Regenaxer >
I must also go soon, back in an hour or so
15:31
orivej has joined #picolisp
16:50
pchrist has joined #picolisp
17:13
beneroth has quit [Quit: Verlassend]
17:29
grp has joined #picolisp
21:09
grp has quit [Quit: box shutting down...]
21:30
beneroth has joined #picolisp
22:19
alexshendi has joined #picolisp
22:57
alexshendi has quit [Read error: Connection reset by peer]