News for hackers. Stuff that matters.
Re:The FuqIt Web Framework by zedshaw on Saturday July 13, 2013 @08:13PM (#6039319)
Well must be a slow news day today so I'll say a few things about FuqIt for the high-minded HN crowd:

1. Don't run this at all in anyway that someone can access it. It's ultra hackable. Extra points if people can point out why.

2. I basically am just goofing off. The idea though is this thought: "What if PHP got it right?"

3. There's some little tricks in there you may not have seen before. Take a look at the code if you're new to Python.

4. If I get around to it I may write a web server for this using my various web-server-maker chops and put in some of the Lamson code and then make it talk to ZeroMQ off of a URL similar to how it's doing jinja and python so it can be a full service web+email+messaging system configured off just files in a directory and then probably I'll get bored and do something else.

Enjoy!

Re:The FuqIt Web Framework by rdtsc on Sunday July 14, 2013 @01:08AM (#6040030)
Hey Zed that's pretty cool.

I think this was submitted with a back-thought of possibly generating ridicule. It doesn't matter, anyone coding and playing with shit like this gets upvotes from me.

I also like web.py (the framework conceived and built by Aaron Swartz) for some of the same reasons -- simplicity and cleanliness. Start with something like "let's see how would a clean and simple web framework look like in Python." That's beautiful I think. Yeah I know it hasn't exactly taken off and flask and friends surpassed it but I still like it.

EDIT: corrected Aaraon Swartz's name (thanks bensw)

Re:The FuqIt Web Framework by vph on Sunday July 14, 2013 @02:04PM (#6041573)
>That's beautiful I think. Yeah I know it hasn't exactly taken off and flask and friends surpassed it but I still like it.

That reason it still hasn't taken off is that Aaron is very like Zed; they are grasshoppers. They get bored easily from doing something.

Re:The FuqIt Web Framework by toyg on Sunday July 14, 2013 @07:04PM (#6042623)
:s/is/was/

:(

Re:The FuqIt Web Framework by bensw on Sunday July 14, 2013 @01:49AM (#6040085)
s/Schwarz/Swartz
Re:The FuqIt Web Framework by hartror on Saturday July 13, 2013 @10:00PM (#6039575)
I've seen something similar done with the Mako templating library which allows mixing html and Python. We jokingly dubbed it PHPython, and it had grown into horrible spaghetti.

I think what happened was it started out as a quick and dirty thing that just grew and grew.

Re:The FuqIt Web Framework by whimsy on Sunday July 14, 2013 @12:02AM (#6039902)
Just like most PHP projects.
Re:The FuqIt Web Framework by astrange on Sunday July 14, 2013 @06:39AM (#6040530)
Don't forget PerlHP. ("PHPerl" also seems to exist twice over at least.)

http://wakaba.c3.cx/perlhp/

Re:The FuqIt Web Framework by kibibu on Sunday July 14, 2013 @06:27AM (#6040508)
I'm going to assume the "ultra hackable" is thanks to requesting '../../phpmyadmin/config.php' or whatever.

Oddly enough, I can't easily see any way to load a random (system-level) python module, thanks to including the 'app' package explicitly in the load_module - IIRC you can't resolve imports outside a top-level package.

Re:The FuqIt Web Framework by davenull on Sunday July 14, 2013 @05:20PM (#6042302)
This looks cool. BTW, thanks for helping me not feel like a total moron while learning Python, the hard way was the right way.
Re:The FuqIt Web Framework by zeroecco on Saturday July 13, 2013 @08:20PM (#6039346)
Spend more time on LRTHW. I need more lessons to get better!! (kidding)