Avatar
Karsten Johansson
c11820d607ae2f62975c6c7e016f177c5c5c0a4bb2aa38a4798dcd142ef6d5af
Tailored Access Operations since 1989 - Not Scarlett's Dad - Guitarist - Mentalist - Raspberry Pi and Microcontrollers - Offensive Operations Model (Y2K1) - Quantum McAntics - Djinn Slayer Rectum? Damn near Uranus! #raspberrypi #guitar #alife #lisp #commonlisp #stratocaster #metal #neoclassicalmetal #microcontrollers #artificiallife #fedi22 #musician #mentalism #magic #socialengineering #infosec #pentesting #hacking #retrocomputing #electronics

nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq48fzfauk9suw3tk8zfjg8cz680m7jguzxf0eqjrhh2hls6nkd35q6eauwy nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqsnyagfex53d6hj5u264fcuvwmc4q9u5n2ch754j7zv4zw87hd30q3xv96l nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq9y8xknr5twkrg2aeu6dyt9rhk5eg6punm4kl4q07pp0av8aa47es8dl9v9 Since you are now blessed with the #lisp bug, you should check out NetLOGO3D. It's not your grandpa's LOGO.

NetLOGO and NetLOGO3D is a multi-agent LOGO, which means you can control thousands of turtles individually. It's used a lot in swarming demos.

There is a web version, which I linked an example below. Click one of the setup- buttons, then Go. Click Go again to stop it, and other setup- buttons to change the form.

The local NetLOGO3D app, if you install it, lets you click and drag the 3D box around like a normal 3D app. I guess on a web page that's a lot more resources. It also comes with several hundred NetLOGO and NetLOGO3D models for just about everything in physics and maths.

This one just spins a 3D shape around. Check out the code at the bottom menu. It looks like your grandpa's LOGO, but way more cool.

https://www.netlogoweb.org/launch#http://ccl.northwestern.edu/netlogo/models/models/Sample%20Models/Mathematics/3D%20Solids.nlogo

What I'm most impressed with re: the #eclipse is just how small of a sliver of sun is needed to light everything back up like it's 8 in the morning again.

That sliver of sun is bright like an arc welder. But more so.

Why doesn't #Python have #Lisp style macros?

For example, here is something that should be able to be used in code generation:

s = "This is a string that I want to turn into a list"

print(s.split(' ', -1))

It's a lame example, but it shows the point cleanly. With a Lisp style macro, I would be able to compile this as a list, instead of creating the lisp at runtime every time.

There doesn't really seem to be anything stopping Python from being able to do this, except the lack of implementation.

Or is it there, and I just don't know about it yet?

Maybe a related question: Does Python have something like Lisp's (compile ....) because that would immediately call for Lisp style macros!