beneroth changed the topic of #picolisp to: PicoLisp language | The scalpel of software development | Channel Log: https://libera.irclog.whitequark.org/picolisp | Check www.picolisp.com for more information
bjorkint0sh has quit [Remote host closed the connection]
bjorkint0sh has joined #picolisp
bjorkint0sh has quit [Remote host closed the connection]
bjorkint0sh has joined #picolisp
z4k4ri4 has quit [Quit: WeeChat 4.6.2]
z4k4ri4 has joined #picolisp
<tankf33der> morning
<tankf33der> i will create macos Makefile
<abu[7]> OK, good
<abu[7]> The easiest to pack it into the release as Makefile.macos, right?
Iacob has quit [Ping timeout: 260 seconds]
<tankf33der> yeap
rob_w has joined #picolisp
Iacob has joined #picolisp
<tankf33der> can not make shared libraries on macos
<tankf33der> picolisp is ready
<taleon> PicoLisp works on macOS, but not Vip.
<taleon> If I remember correctly, pil + didn't work either. But I'm sure about Vip.
<tankf33der> one of the version of experiments.
<tankf33der> makes me crazy.
<tankf33der> abu[7]: forgot how to check shared modules
<tankf33der> sndx - i meant
<tankf33der> done/
<tankf33der> done.
<tankf33der> makefile for macos ^^^
<tankf33der> all compiled. all tests passed.
<tankf33der> afk.
<abu[7]> taleon: The problem with Vip on Mac is from shared libs?
rob_w has quit [Remote host closed the connection]
rob_w has joined #picolisp
<abu[7]> So thanks tankf33der and taleon! I've put both Makefiles into the release
<tankf33der> and ask users to test. I can imagine situations where macos version will fail
rob_w has quit [Ping timeout: 248 seconds]
<taleon> abu[7]: I'll test it later on my "old" MacBook Air M1. I rarely use it and have to check. I think I had an error message saying that the dimensions/measurements couldn't be determined. More details later.
<abu[7]> OK, great!
<abu[7]> it it an ioctl() call iirc
<abu[7]> 'getTerm' in @lib/term.l
<abu[7]> So it could be some wrong constant like TIOCGWINSZ
<taleon> We already discussed this topic last year. However, I didn't pursue it further because I don't use macOS very much.
<taleon> Unfortunately, termbin.com seems to be down. It's about time for a new paste service that can be called directly from the terminal.
<abu[7]> tankf33der's pb1n
<abu[7]> It is also a command in Vip
<abu[7]> :pb1n
<abu[7]> sends current buffer
rob_w has joined #picolisp
beneroth_ has quit [Quit: Leaving]
beneroth has joined #picolisp
<taleon> That's right, pb1n.de. I'll test that out. :)
<beneroth> thanks tankf33der!
<abu[7]> I also use:
<abu[7]> alias pb1n='curl -F "f=@-;" pb1n.de'
<abu[7]> but almost always simply in Vip
<taleon> Really good and simple. I also set up an alias and it works.
<taleon> $ cat Makefile.macos | pb1n
<abu[7]> 👍
<M-Sci> beneroth: Do You have a few KiBs of DHT?
* M-Sci hides.
<taleon> macos: ~ pil +
<taleon> : (version)
<taleon> 25.5.5
<taleon> -> (25 5 5)
<taleon> :
<taleon> macos: ~ vip
<taleon> [/Users/cr/mystuff/src/pil21/bin/vip:9] Can't get terminal size
<taleon> ?
<abu[7]> Yes, getSize -> getTerm
<abu[7]> (%@ "ioctl" 'I 1 TIOCGWINSZ
<abu[7]> TIOCGWINSZ is from sysdefs
<abu[7]> Generated in the make process
<beneroth> M-Sci, DHT? I guess you don't mean the androgen hormone?
<M-Sci> W/Distributed_hash_table
<abu[7]> Distributed Hash Tables?
<abu[7]> I was too slow
<taleon> Unfortunately, I am not familiar with macOS syscalls and would not know how to work around this issue. I avoid Apple whenever possible. :-)
<abu[7]> It should build automatically, plled from includes
<abu[7]> *pulled
<M-Sci> I recently realized that Hash is such a general concept that DHT could be a linked list in an extreme case. Array, or more accurately Memory Region, is also a Linked List with 0 bit link field.
<M-Sci> (** 256 size) is not far from malloc...