Live data from Hacker News

Zed Shaw: Tir Web Framework Officially Up

sheddingbikes.com

11–20 of 70 posts

Re: Zed Shaw: Tir Web Framework Officially Up

#11
post #7

This one really surprised me: "Finally, there's not much for deployment. I run my apps in GNU screen and that's about it." Seriously? Is he that lucky, serves that little traffic, or does he run with redundant power, network, server and 24/7 monitoring in an inaccessible bunker? I haven't been able to run even my toy web apps without something like monit - due to both things under my control and outside of it.

On my hobby projects I run stuff in screen, I haven't had a problem and my server uptime is currently above 200 days. Is it being used? Something like 1,000 concurrent users for most of the day, so yes.

I regarded this as cowboy, but as it worked for me I haven't needed to re-visit it.

Re: Zed Shaw: Tir Web Framework Officially Up

#12
post #9
post #5

So in 2010 Zed has written his own web server which runs his new framework he wrote for the new webapp he wrote. What did you do this year?

In 2010? I reworked my Comet-based realtime game-in-a-web-server library, RailsGame. I fully rewrote, updated and released a webapp called WantMyJob.com. I wrote a circuit simulator game called Shanna's Pizza to start teaching my two-year-old the basics of programming. I also started doing Snap Circuits with her so she'd have a physical basis to understand the circuit simulator game. Also, had a second kid. I wrote a…

Indeed writing and interacting about something levels you up. I'm not (yet) a blogger but recently I have started interacting on a few social coding networks (stackoverflow, github, HN) and I feel more productive.

PS. Is RailsGame open source ? It looks interesting!

Re: Zed Shaw: Tir Web Framework Officially Up

#13
post #12
post #9

Earlier quoted context omitted.

In 2010? I reworked my Comet-based realtime game-in-a-web-server library, RailsGame. I fully rewrote, updated and released a webapp called WantMyJob.com. I wrote a circuit simulator game called Shanna's Pizza to start teaching my two-year-old the basics of programming. I also started doing Snap Circuits with her so she'd have a physical basis to understand the circuit simulator game. Also, had a second kid. I wrote a…

Indeed writing and interacting about something levels you up. I'm not (yet) a blogger but recently I have started interacting on a few social coding networks (stackoverflow, github, HN) and I feel more productive. PS. Is RailsGame open source ? It looks interesting!

nvm, found it on your github account https://github.com/noahgibbs/RailsGame

Re: Zed Shaw: Tir Web Framework Officially Up

#14

Very cool. I was just looking for other Seaside-style web frameworks today. The "natural style" mode in Tir is just like the main way to build web apps in Seaside. Aside from Lua and Smalltalk, what other languages could host this kind of framework? I know Ruby 1.9 has Wee, but that doesn't seem to be "ready for prime time."

Code written in the continuation monad (i.e., simple imperative style) can be translated to an Automaton arrow and fit into a Haskell on a Horse application. This approach has the advantage of type-safety and greater composability.

Re: Zed Shaw: Tir Web Framework Officially Up

#15
post #9
post #5

So in 2010 Zed has written his own web server which runs his new framework he wrote for the new webapp he wrote. What did you do this year?

In 2010? I reworked my Comet-based realtime game-in-a-web-server library, RailsGame. I fully rewrote, updated and released a webapp called WantMyJob.com. I wrote a circuit simulator game called Shanna's Pizza to start teaching my two-year-old the basics of programming. I also started doing Snap Circuits with her so she'd have a physical basis to understand the circuit simulator game. Also, had a second kid. I wrote a…

Don't forget "answered a rhetorical question".

Re: Zed Shaw: Tir Web Framework Officially Up

#17
post #5

So in 2010 Zed has written his own web server which runs his new framework he wrote for the new webapp he wrote. What did you do this year?

I wrote a rant about how much I hate people that kick back and put their feet up on the table.

Oh, nope, that was Zed, too!

(But seriously, Mongrel 2 is an amazing work of software engineering. In addition to being a good web server, it's also a good example of how nice C is if you forget how they did it in the 70s and write it like it's 2010.)

Re: Zed Shaw: Tir Web Framework Officially Up

#18
post #11
post #7

This one really surprised me: "Finally, there's not much for deployment. I run my apps in GNU screen and that's about it." Seriously? Is he that lucky, serves that little traffic, or does he run with redundant power, network, server and 24/7 monitoring in an inaccessible bunker? I haven't been able to run even my toy web apps without something like monit - due to both things under my control and outside of it.

On my hobby projects I run stuff in screen, I haven't had a problem and my server uptime is currently above 200 days. Is it being used? Something like 1,000 concurrent users for most of the day, so yes. I regarded this as cowboy, but as it worked for me I haven't needed to re-visit it.

It is cowboy, but there is a time and place for that. If you did this in a large organization, you'd be putting the team at risk. Since it is just you, well, do what you find prudent.

Re: Zed Shaw: Tir Web Framework Officially Up

#19
post #9
post #5

So in 2010 Zed has written his own web server which runs his new framework he wrote for the new webapp he wrote. What did you do this year?

In 2010? I reworked my Comet-based realtime game-in-a-web-server library, RailsGame. I fully rewrote, updated and released a webapp called WantMyJob.com. I wrote a circuit simulator game called Shanna's Pizza to start teaching my two-year-old the basics of programming. I also started doing Snap Circuits with her so she'd have a physical basis to understand the circuit simulator game. Also, had a second kid. I wrote a…

Did you know you get more done if you write it down somewhere (like a blog and portfolio) and tell people about it? True story.

Do you find that? I'm the opposite, once I "announce" something all desire and motivation for completion goes out of the window. For me I think it's about the appreciation, so when I explain the idea and love it, why complete it.

Re: Zed Shaw: Tir Web Framework Officially Up

#20
post #6

Very cool. I was just looking for other Seaside-style web frameworks today. The "natural style" mode in Tir is just like the main way to build web apps in Seaside. Aside from Lua and Smalltalk, what other languages could host this kind of framework? I know Ruby 1.9 has Wee, but that doesn't seem to be "ready for prime time."

I've been toying with something similar in Atomo (running atop mongrel2): http://bitbucket.org/alex/web/src/2a90b9bd6322/example.atomo In its early stages it was continuation-based, but now it's just regular ol' closures. You can still use continuations rather easily though; some of it is modeled on the PLT stack (send/suspend, etc.). Earlier progress: https://gist.github.com/717381/433d743dc4a7d91705692ff1dc6ca... S…

Racket would make a great web language...
Post reply on HN