funkaster

โœจย www.rolando.cl

[ my public key: https://keybase.io/rolandoam; my proof: https://keybase.io/rolandoam/sigs/Q8SNg1xUA0lrAKRtgdrKCDYNy7zPOLcWOygRHiWc0hE ]

๐Ÿ“… Joined in 2011

๐Ÿ”ผ 1,738 Karma

โœ๏ธ 437 posts

๐ŸŒ€
15 latest posts

Load

(Replying to PARENT post)

I would recommend taking a look at some of the schemes. In particular I've been having tons of fun with CHICKEN: https://call-cc.org/ - the fact that it compiles to C and can generate binaries is a great plus.
๐Ÿ‘คfunkaster๐Ÿ•‘1d๐Ÿ”ผ0๐Ÿ—จ๏ธ0

(Replying to PARENT post)

All of it? probably not a small effort. Parts of it like chiccup html generation, maybe a couple of days, assuming there's something similar to sxml in the target scheme.

But for Guile in particular there's https://artanis.dev/ that's a pretty close cousin.

๐Ÿ‘คfunkaster๐Ÿ•‘1mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0

(Replying to PARENT post)

thanks for creating it! I'm really impressed by how easy was to use for dev and prod.
๐Ÿ‘คfunkaster๐Ÿ•‘1mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0

(Replying to PARENT post)

I just shipped Schematra 0.4 with some updates based on some usage and feedback.

Testing ergonomics: Went from 15+ lines of boilerplate to a one-liner by introducing structural testing. Routes can now return S-expressions (chiccup) instead of rendered HTML, so you test against data structures, not string parsing.

  ;; Assert against structure, not HTML strings
  (test "returns greeting"
    '(ccup [h1 "Hello"])
    (test-route-body app 'GET "/hello"))
Structural middleware: Since routes return S-expressions and rendering happens at the framework boundary, middleware can inspect and transform the DOM structure before it becomes HTML. Want to inject CSRF tokens into every form? It's just an S-expression transform with sxml-transforms. No template engine plugins needed. (see the post for a complete example)

Performance notes: I benchmarked chiccup rendering at 145k ops/sec average (339k for simple elements, 2k for 50-row tables). Even worst case is 0.5ms - way below database/network latency, so no caching layer needed, at least not for now.

What's next: Besides the Redis-backed job queue and rqlite-based ORM mentioned in the full post, I'm working on improving route handling with automatic path parameter extraction:

  (get "/posts/:id/comments"
    ;; :id automatically becomes a local variable
    (display id))  ; just works, no (alist-ref 'id params) needed
Schematra is a Sinatra-inspired web framework for CHICKEN Scheme. Still pre-1.0, API is evolving based on real-world use.

Full post: https://schematra.com/blog/whats-new-in-schematra-0-4

Source: https://github.com/schematra/schematra

Benchmarks: https://github.com/schematra/schematra/tree/main/benchmarks

๐Ÿ‘คfunkaster๐Ÿ•‘1mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0
๐Ÿ‘คfunkaster๐Ÿ•‘1mo๐Ÿ”ผ4๐Ÿ—จ๏ธ5

(Replying to PARENT post)

this is super cool. congrats and best of luck with it! Love the mother & son backstory to the product. The scarves look like they could make a great gift as well. I'll bookmark your website.
๐Ÿ‘คfunkaster๐Ÿ•‘1mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0

Show HN:

"Schematra โ€“ Sinatra-inspired minimal web framework for Chicken Scheme"

๐Ÿ‘คfunkaster๐Ÿ•‘3mo๐Ÿ”ผ49๐Ÿ—จ๏ธ4
๐Ÿ‘คfunkaster๐Ÿ•‘4mo๐Ÿ”ผ2๐Ÿ—จ๏ธ0

(Replying to PARENT post)

lower tech/scale but in Chile (in the island of Chiloe) they have been doing this for centuries for individual houses: https://www.atlasobscura.com/articles/moving-houses-of-chilo... - although no smart jacks, only bulls and people.
๐Ÿ‘คfunkaster๐Ÿ•‘4mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0
๐Ÿ‘คfunkaster๐Ÿ•‘6mo๐Ÿ”ผ3๐Ÿ—จ๏ธ0
๐Ÿ‘คfunkaster๐Ÿ•‘7mo๐Ÿ”ผ212๐Ÿ—จ๏ธ80
๐Ÿ‘คfunkaster๐Ÿ•‘9mo๐Ÿ”ผ1๐Ÿ—จ๏ธ0

(Replying to PARENT post)

for software, I'm very happy with X-Plane, specially if you own a mac. For hardware, you could use an xbox joystic, but I would highly recommend this: https://yawmanflight.com/ - it's perfect for on-the-go and tbh much more convenient than a full yoke + pedals. I sold my yoke and pedals and now just use the yawman.
๐Ÿ‘คfunkaster๐Ÿ•‘9mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0

(Replying to PARENT post)

If you want to learn a bit more, there was a recent, really good Planet Money episode[1] about this exact same topic. They focus on the problems that you might face when using zip code for demographic analysis.

[1]: https://www.npr.org/2025/01/08/1223466587/zip-code-history

๐Ÿ‘คfunkaster๐Ÿ•‘9mo๐Ÿ”ผ0๐Ÿ—จ๏ธ0