The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Topics that can go away
Travis B.
Posts: 10682
Joined: Sun Jul 15, 2018 8:52 pm

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by Travis B. »

I have created an extensible, user-friendly HTTP (mind you, not HTTPS) server for zeptoforth and, on top of it, a basic demo illustrating its use and a simple HTTP file server. While I had previously created HTTP servers for zeptoforth, they weren't easily extensible and were essentially single-purpose demos.

The source code for the HTTP server is at https://github.com/tabemann/zeptoforth/ ... _server.fs.

The source code for the HTTP file server is at https://github.com/tabemann/zeptoforth/ ... r_files.fs.

The source code for the HTTP demo is at https://github.com/tabemann/zeptoforth/ ... er_demo.fs.

And here are some screenshots:

picocalc_http_server_dump_tasks.png
picocalc_http_server_dump_tasks.png (93.51 KiB) Viewed 12913 times
picocalc_http_server_files.png
picocalc_http_server_files.png (55.03 KiB) Viewed 12913 times
picocalc_http_server_files_matrix.png
picocalc_http_server_files_matrix.png (115.14 KiB) Viewed 12913 times
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
jcb
Posts: 580
Joined: Thu Jul 07, 2022 4:36 pm
Location: American Upper Midwest

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by jcb »

Cloudflare is going to block AI crawlers soon.
- https://www.nbcnews.com/tech/tech-news/ ... rcna352446
Travis B.
Posts: 10682
Joined: Sun Jul 15, 2018 8:52 pm

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by Travis B. »

Here are a few different fractals generated with Lindenmayer systems using turtle graphics under zeptoforth.

A Gosper curve ─ the source code is at https://github.com/tabemann/zeptoforth/ ... _gosper.fs

GOSPER.PNG
GOSPER.PNG (12.11 KiB) Viewed 12610 times

A Lévy C curve ─ the source code is at https://github.com/tabemann/zeptoforth/ ... e_levyc.fs

LEVYC.PNG
LEVYC.PNG (10.61 KiB) Viewed 12610 times

A plant ─ the source code is at https://github.com/tabemann/zeptoforth/ ... e_plant.fs

PLANT.PNG
PLANT.PNG (12.57 KiB) Viewed 12610 times
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
zompist
Site Admin
Posts: 4358
Joined: Sun Jul 08, 2018 5:46 am
Location: Right here, probably
Contact:

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by zompist »

Those are really pretty, Travis!
Ares Land
Posts: 3761
Joined: Sun Jul 08, 2018 12:35 pm

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by Ares Land »

Seconded!
User avatar
WeepingElf
Posts: 2477
Joined: Sun Jul 15, 2018 12:39 pm
Location: Braunschweig, Germany
Contact:

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by WeepingElf »

zompist wrote: ↑Tue Jul 14, 2026 11:38 pm Those are really pretty, Travis!
They are!
... brought to you by the Weeping Elf
My conlang pages
Yrgidrámamintí!
Glenn
Posts: 135
Joined: Wed Feb 15, 2023 6:40 am

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by Glenn »

Ares Land wrote: ↑Wed Jul 15, 2026 3:42 amSeconded!
Thirded! Those are really lovely!
Travis B.
Posts: 10682
Joined: Sun Jul 15, 2018 8:52 pm

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by Travis B. »

Thank you guys!
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
Travis B.
Posts: 10682
Joined: Sun Jul 15, 2018 8:52 pm

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by Travis B. »

I have implemented four L-system 'bushes' from https://paulbourke.net/fractals/lsys/:

https://github.com/tabemann/zeptoforth/ ... r_bush0.fs

BUSH0.PNG
BUSH0.PNG (6.78 KiB) Viewed 12525 times

https://github.com/tabemann/zeptoforth/ ... r_bush1.fs

BUSH1.PNG
BUSH1.PNG (20.37 KiB) Viewed 12525 times
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
Travis B.
Posts: 10682
Joined: Sun Jul 15, 2018 8:52 pm

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by Travis B. »

https://github.com/tabemann/zeptoforth/ ... r_bush2.fs

BUSH2.PNG
BUSH2.PNG (20.19 KiB) Viewed 12525 times

https://github.com/tabemann/zeptoforth/ ... r_bush3.fs

BUSH3.PNG
BUSH3.PNG (19.99 KiB) Viewed 12525 times
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
Travis B.
Posts: 10682
Joined: Sun Jul 15, 2018 8:52 pm

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by Travis B. »

https://github.com/tabemann/zeptoforth/ ... riangle.fs

TRIANGLE.PNG
TRIANGLE.PNG (22.23 KiB) Viewed 12471 times

https://github.com/tabemann/zeptoforth/ ... er_star.fs

STAR.PNG
STAR.PNG (4.01 KiB) Viewed 12471 times

https://github.com/tabemann/zeptoforth/ ... owflake.fs

QDSNWFLK.PNG
QDSNWFLK.PNG (4.72 KiB) Viewed 12471 times
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
Travis B.
Posts: 10682
Joined: Sun Jul 15, 2018 8:52 pm

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by Travis B. »

More L-systems, now of my creation! As you can tell by this point, I am on an L-system kick at the moment.

https://github.com/tabemann/zeptoforth/ ... y_bush0.fs

MYBUSH0.PNG
MYBUSH0.PNG (26.58 KiB) Viewed 12436 times

https://github.com/tabemann/zeptoforth/ ... y_bush1.fs

MYBUSH1.PNG
MYBUSH1.PNG (25.35 KiB) Viewed 12436 times
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
Travis B.
Posts: 10682
Joined: Sun Jul 15, 2018 8:52 pm

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by Travis B. »

https://github.com/tabemann/zeptoforth/ ... y_bush2.fs

MYBUSH2.PNG
MYBUSH2.PNG (11.12 KiB) Viewed 12436 times

https://github.com/tabemann/zeptoforth/ ... y_bush3.fs

MYBUSH3.PNG
MYBUSH3.PNG (14.3 KiB) Viewed 12436 times
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
User avatar
alice
Posts: 1618
Joined: Mon Jul 09, 2018 11:15 am
Location: 'twixt Survival and Guilt

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by alice »

Niiiice!
mais grand il tour, mais rapid e fort e spes caze la merda
Travis B.
Posts: 10682
Joined: Sun Jul 15, 2018 8:52 pm

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by Travis B. »

Here is a port of the "Quiverbloom" demo for QB64 to zeptoforth on the RP2350 for the PicoCalc. It is slow, I must admit, but it runs. The source code is at https://github.com/tabemann/zeptoforth/ ... erbloom.fs. The original code it is based off of is at https://github.com/oonap0oo/QB64-projec ... bloom2.bas.

And here are some screenshots:

QVBLOOM0.PNG
QVBLOOM0.PNG (11.92 KiB) Viewed 12354 times
QVBLOOM1.PNG
QVBLOOM1.PNG (14.54 KiB) Viewed 12354 times
QVBLOOM2.PNG
QVBLOOM2.PNG (15.22 KiB) Viewed 12354 times
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
User avatar
WeepingElf
Posts: 2477
Joined: Sun Jul 15, 2018 12:39 pm
Location: Braunschweig, Germany
Contact:

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by WeepingElf »

Very beautiful! Thanks for sharing!
... brought to you by the Weeping Elf
My conlang pages
Yrgidrámamintí!
Travis B.
Posts: 10682
Joined: Sun Jul 15, 2018 8:52 pm

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by Travis B. »

I found a neat fast floating-point square root approximation algorithm (which was used in Quake III Arena of all things), and I am going to add it to my code when I get home -- it should make it faster overall.
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
bradrn
Posts: 8001
Joined: Fri Oct 19, 2018 1:25 am

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by bradrn »

Travis B. wrote: ↑Tue Jul 21, 2026 2:33 pm I found a neat fast floating-point square root approximation algorithm (which was used in Quake III Arena of all things), and I am going to add it to my code when I get home -- it should make it faster overall.
Fast inverse square root, I think you mean. (It’s pretty famous.)
Conlangs: Scratchpad | Texts | antilanguage
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices

(Why does phpBB not let me add >5 links here?)
Travis B.
Posts: 10682
Joined: Sun Jul 15, 2018 8:52 pm

Re: The Computer And General Tech Thread - Software, Hardware, Questions, etc.

Post by Travis B. »

bradrn wrote: ↑Tue Jul 21, 2026 3:05 pm
Travis B. wrote: ↑Tue Jul 21, 2026 2:33 pm I found a neat fast floating-point square root approximation algorithm (which was used in Quake III Arena of all things), and I am going to add it to my code when I get home -- it should make it faster overall.
Fast inverse square root, I think you mean. (It’s pretty famous.)
Yes, Quake III Arena is using it for the inverse, but I'll be using it for the inverse of the inverse by doing the following:

Code: Select all

: vapproxisqrt { x -- isqrt }
  x 0.5e0 v* { x2 }
  $5F3759DF x 1 arshift - { y } \ yes, this is correct
  y 1.5e0 x2 y v* y v* v- v* \ 1st iteration of Newton-Raphson
;
: vapproxsqrt ( x -- sqrt ) dup vapproxisqrt v* ;
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
Post Reply