Domain: engelschall.com
Stories and comments across the archive that link to engelschall.com.
Comments · 21
-
Re:Dijkstra said it best...
Dijstra was a quiche eater
-
Re:Replacing Expect? It's not a testing tool.
Expect.pm is great because you can use all those excellent perl modules (and you don't have to use tcl.)
One use I found for it is to put bash-like command-line editing on tools with lack command-line editing like Oracle's sqlplus. Just use it in conjunction with Term::ReadLine::Gnu and have ReadLine send commands to an Expect-controlled process. Sqlplus is finally usable!
-Bruce -
Re:amdmb website flaws
Static pages are normally hard to keep updated, but there's light at the end of the tunnel. Software like WML make webmaster's life easy
:-) -
Some Prior Art
-
Some Prior Art
-
Hmm, looks nice...
BOA looks nice, but I still think I'll rather take Website Meta Language - it lets me define the tags AND use Perl and other languages to build static pages.
-
Re:I think that statement is nonsense.
Yes, it's a shame that not everybody is a programmer. I'm not a programmer...
So get off your lazy fat arse and learn. Nobody was born a programmer, and while some programmers are much better than others, 90% of that is hard work and dedication.
-
They forgot ePerl
ePerl combines the into-HTML-embeddability of PHP with the power of Perl. Just have a look at http://www.engelschall.com/sw/eperl.
-
Ralph Engelschall (was Re:Alan Cox)
4 weeks ago Alan Cox spend a weekend i Denmark and Sweden giving talks in Stockholm and Lund to the local LUG he speeks very well!
Absolutely. He's brilliant. In fact, it seems like all the top people in Linux are brilliant speakers. Which came first, the brilliant speaking or the high position in the meritocracy?
This week at ApacheCon Europe I listened to Ralph Engelschall (mod_ssl, mod_rewrite, etc) speak. He was speaking in English, which (seeing he's Swiss) must be his third or fourth language. He was talking about SSL and security, which is a deep technical topic. He was lively, witty, inspiring, fun. He obviously enjoyed himself. He obviously knew his topic inside out. And he was able to communicate both his enjoyment and his knowledge.
I think what it comes down to is the meritocracy. Ralph Engelschall, like Alan Cox, got to his position in the meritocracy because he produces exceedingly could code ('damned cool voodoo'). You need to be pretty brilliant to produce code at that level, and many (though not all) pretty brilliant people are good speakers.
-
Cool!
This makes place for the real WML !
-
Re:sitting in the office
PHP isn't really a competitor to Perl in the CGI space. PHP is embeded in an HTML page, whereas a Perl CGI is more likely to be in the backend, or at most generating HTML. There are HTML::Embperl, ePerl, and maybe other embeded perl options, but probably the way most people use Perl is not comparable to PHP.
-
Have you looked into WML?
It has structure in place for producing web documents in several languages. It's slow, but if you don't have much dynamic content, or you just want to know how it's implimented and maybe adopt for your PHP needs...
http://www.engelschall.com/sw/wml/ -
try WMLi've been designing sites with WML for a year or so, now, and i can't believe how cool it is. basically, WML acts as a wrapper around several different tools to create 'compiled' web pages. things like multiple languages are handled by WML's notion of 'slices.' you can set up different sections of the source file with different language tags, then run them through WML, which will create the different language-specific files by extracting the appropriate slices.
I don't use it for multi-lingual sites, but i would think it'd be pretty simple to set up. as far as the graphics, WML can help out there, too, through its support of the gfont language, which can create GIF images on the fly, using TeX fonts. with graphics for multiple languages, though, it may be tough creating buttons and the like because the length of the text could change so dramatically. i've not played with gfont either.
WML (and some tutorial pages, one describing multi-lingual sites) is at http://www.engelschall.com/sw/wml/. give it a try. it has made my web-development life much richer.
-
try WMLi've been designing sites with WML for a year or so, now, and i can't believe how cool it is. basically, WML acts as a wrapper around several different tools to create 'compiled' web pages. things like multiple languages are handled by WML's notion of 'slices.' you can set up different sections of the source file with different language tags, then run them through WML, which will create the different language-specific files by extracting the appropriate slices.
I don't use it for multi-lingual sites, but i would think it'd be pretty simple to set up. as far as the graphics, WML can help out there, too, through its support of the gfont language, which can create GIF images on the fly, using TeX fonts. with graphics for multiple languages, though, it may be tough creating buttons and the like because the length of the text could change so dramatically. i've not played with gfont either.
WML (and some tutorial pages, one describing multi-lingual sites) is at http://www.engelschall.com/sw/wml/. give it a try. it has made my web-development life much richer.
-
Dynamic overuse
It has been my opinion for a long time that database driven dynamic web pages are entirely overused. If more people used things like Website Meta Language to preprocess their web site and make them "dynamically generated but statically served" that would take us a long way toward being able to index content.
There is a tradeoff. All of your content is then not only in a database it is also in the web pages. But in my experience most sites who are dynamically generating their content via PHP, ASP, perl, mod_perl, whatever, don't really have enough content to worry about it. -
try WMLThe Website Meta Language, which embeds (wait for it)
- Pass 1: Source Reading and Include File Expansion (ipp)
- Pass 2: Meta HTML Macro Construct Expansion (mhc)
- Pass 3: Perl 5 Programming Construct Expansion (eperl)
- Pass 4: M4 Macro Construct Expansion (gm4)
- Pass 5: Diversion Filter (divert)
- Pass 6: Character and String Substitution (asubst)
- Pass 7: HTML Fixup (htmlfix)
- Pass 8: Line Stripping and Output Fixup (htmlstrip)
- Pass 9: Output Splitting and Final Writing (slice)
--
W.A.S.T.E. -
try WMLThe Website Meta Language, which embeds (wait for it)
- Pass 1: Source Reading and Include File Expansion (ipp)
- Pass 2: Meta HTML Macro Construct Expansion (mhc)
- Pass 3: Perl 5 Programming Construct Expansion (eperl)
- Pass 4: M4 Macro Construct Expansion (gm4)
- Pass 5: Diversion Filter (divert)
- Pass 6: Character and String Substitution (asubst)
- Pass 7: HTML Fixup (htmlfix)
- Pass 8: Line Stripping and Output Fixup (htmlstrip)
- Pass 9: Output Splitting and Final Writing (slice)
--
W.A.S.T.E. -
FreeBSD.. (and another idea)
claims theoretical support for 4 gigs at http://www.freebsd.org/FAQ/FAQ51.html. Cdrom.com has some impressive stats too on their new box. The problem with trying ultra high-end stuff on PC hardware is the best you can really say to your boss is that it should work. Companies like Sun or SGI have already deployed hundreds (if not thousands) so you shouldn't end up with any suprises along the way.
Another alternative could be to buy a bunch of smaller (high end P2 and moderate memory+disk) clones and set a bunch of those up. New videos would be added to the servers in round-robin order and more popular videos could be placed on multiple servers. Now you would have one (or maybe more for reliability) redirectors which could redirect the request to the right server using mod_rewrite. Through the use of an external program (which would do a database lookup most likely), the user could be redirected to the proper server based on regular expression patern grabbing from the URL. See the "External Rewriting Engine" part in the Rewrite guide. It is also possible to transparently proxy the request so the user never sees http://www19.example.com/ugly/url/movie.xyz, but you probably aren't http streaming your movies anyway. -
A nerd's alternative: Website Meta Language.WML is an open source UNIX-only website generator. Rather than a WYSIWYG approach, WML uses a 9-pass filter on ordinary text files. This lets you do things like make your own tags and use embedded perl, which is later expanded into HTML. One of the best features is the use of header files. Then you can use nice things like Makefiles. I do believe Debian uses this on their site. I'm currently switching my site to WML from Net Objects Fusion, another nifty Windows and Mac WYSIWYG site builder, but weak and slow with really big sites.
-
sorry! wrong url!
http://www.engelschall.com/sw/wml
it rules and it's open source. -
yeah. really.
try WML and the pain is over.