7 ms·
I wish my webserver had a repl.
by Excedrin 19y ago
I wish my webserver had a repl.
- pg 19y agohttp://www.arclanguage.org/install http://www.arclanguage.org/install
- davidw 19y agoFWIW, you can log into Erlang's Yaws.
- musiciangames 19y agoor Seaside: http://www.seaside.st/documentation/tools http://www.seaside.st/documentation/tools
- nostrademons 19y agoDjango has a shell that automatically loads all model objects. If you've got a decent shared-nothing architecture and point your config to the live DB (bad idea, but for the sake of argument...) that's effectively a REPL for the webserver. For that matter, you can get the same effect with the MySQL prompt and a shared-nothing PHP architecture.
- anewaccountname 19y ago>For that matter, you can get the same effect with the MySQL prompt and a shared-nothing PHP architecture. I see how you could, say, drop a user from the users table using this; but how would you fix a login bug like the one under discussion?
- nostrademons 19y agoEXPLAIN SELECT username FROM users WHERE username = $dc_user Then look at the output, and either CREATE INDEX users_username ON users(username) Or cache the result, or do something else to fix the performance problem... If you meant "How do you find out it was in the registration check?", that's what the slow query log and query profilers are for...
- Xichekolas 19y agoruby script/console