Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
the_mitsuhiko
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
1410 ms
·
4141.
▲
The Lazy User is OpenID's Security Issue — please prove me wrong
(lucumr.pocoo.org)
4 points
by
the_mitsuhiko
16y ago
|
0 comments
4142.
▲
by
the_mitsuhiko
16y ago
I'm embarrassed it had to come to that, but the testsuite was lacking tests for templates in folders and a bug sneaked in.
4143.
▲
by
the_mitsuhiko
16y ago
"however i am not using werkzeug anymore as i don't like the way people act in #pocoo on freenode. this is the only reason i am not using werkzeug. they are ignorant and i don't like it." Would be nice to know if this is a general thing or
4144.
▲
by
the_mitsuhiko
17y ago
> I use Crockford's object.beget rather than normal JS constructors, and that works quite fine. Crockford's beget patches on Object which I think is a terrible idea. The main reason why people create class libraries on top of JavaScrip
4145.
▲
by
the_mitsuhiko
17y ago
> The reversal of the "extends" paradigm is interesting. It seems very natural. What made you go with that? I think the earliest version of that was prototype which I think used Class.create and Object.extend. I've seen that in many Ja
4146.
▲
by
the_mitsuhiko
17y ago
> Huh, weird. This seems to crib very heavily from my original Simple JavaScript Inheritance implementation: http://ejohn.org/blog/simple-javascript-inheritance/ It is, see the AUTHORS file which credits that URL. In fact I was using
4147.
▲
by
the_mitsuhiko
17y ago
Because I wanted that trendy "fork me on github" badge on the website. And for that a code repository has to exist :)
4148.
▲
by
the_mitsuhiko
17y ago
Well, the run() function was intended to be a very bad example of API. Because there is that magical application object you never see that run magically picks up. There is another example of really bad API in denied: there is a template ren
4149.
▲
by
the_mitsuhiko
17y ago
Werkzeug had an example with the same semantics (decorator for URL rules and returning strings and response objects from functions) for a long time. But neither did Werkzeug come up with that, the original idea was TurboGears which did it