logs archiveIRC Archive / Freenode / #emacs / 2010 / April / 7 / 1
damd
sybariten: you can host django on google apps
sybariten
damd: uhm.... how do you mean? I want to do what i just described, and i guess i'm gonna have to do it with python....
e1f
ams: in addition to their names, did you also know the dinosaurs?
bpalmer
sybariten: "Every Google App Engine application will have enough CPU, bandwidth, and storage to serve around 5 million monthly pageviews for free. You can purchase additional resources at competitive prices ..."
jlf
(Action) doesn't use app engine (or python)
ams
e1f: yes, we talked everyday.
sybariten
bpalmer: and this is free? (i have a google account)
forcer-
sybariten: Python has a cgi module which gives you access to query strings. You can get the end of the URL in the environment variable PATH_INFO. If the site is going to be of any serious size, use Django.
johnsu01
huh, look, a forcer-
         

forcer-
johnsu01: This isn't the forcer you are looking for
bpalmer
sybariten: yes. see http://code.google.com/appengine/
sybariten
forcer-: but CGI != django then? i dont know why but sometimes it feels as if CGI was the sh*t like five years ago, but nowadays theres much less talk about it
bozhidar
Finally! Mew is in a usable state! :-)
forcer-
sybariten: CGI was the sh*t about 20 years ago.
damd
CGI was never the sh*t
sybariten
maybe it has just been renamed to Web 2.0, appstore, facebook or something hot like that
bozhidar
(Action) is the master of mailing cats...
lasuuco
what's Django
JordiGH
lasuuco: A python web framework.
sybariten
so basicly , although using python (or some other scriptable language), django will not be CGI ?
cvandusen
more importantly, who's Django
hylje
a jazz musician
bozhidar
cvandusen: Fett
forcer
Django can use CGI, but it's horribly inefficient
bozhidar
:)
bpalmer
sybariten: CGI is a generic way of getting input to web apps. It's somewhat the baseline because it's so generic; nowadays people usually use a refinement of it that deals with some inefficiencies inherent in the CGI model
hylje
Dboba Fett
sybariten
bpalmer: hmmmkay. Hard to imagine if you're not a developer. I used to thing of CGI as just the technique of having a web server execurte scripts, server side
execute even
forcer
It is.
         

bpalmer
sybariten: yes, that's a shorthand that's not technically accurate but close enough.
sybariten
ok
forcer
There's also FastCGI, WSGI, mod_python, and a few other ways a server can do that.
PHP can run as a CGI, but it's usually run from mod_php
schmx
mod_lisp \o/
sybariten
damn, TV8 is dead, theyre supposed to serve Seinfeld right now
bpalmer
those are some of the refinements I mentioned :)
sybariten
also, i just had three M&M copies in my nouth and had to spit them out half eaten
forcer
bpalmer: I'm just getting more concrete from your overview :-)
sybariten
OK, but it feels as if py code is rarely put into the html pages in the same way as people do with PHP. Is there any point in doing the same thing?
forcer
No.
Putting code into your HTML is horribad for maintainability.
Use a template language like Tempita or Jinja
jeremyw
There are some Python template libraries that let you couple design and logic in the same file.
But it's bad.
cvandusen
what jeremyw said
jeremyw
I get that a lot.
forcer
Even sensible PHP apps (if that exists) stopped using the coupling and are using a template language (usually Smarty) these days.
jeremyw
Yup.
Thank goodness.
cvandusen
(Action) is now working at a place not in that category...
jeremyw
Before that, I hated PHP for that reason a lone.
cvandusen
it's quit atrocious
jeremyw
Yup.
sybariten
Hmmm ok... are all these python things named after some jungle hero?
cvandusen
and it means that I pretty much have to rely on nxhtml for semi-sane editing of php/html salad
ams
*yawn*
i think i'll go to bed.
early
night
sybariten
night
Hm, i'm reading about this app engine stuff, pretty serious stuff
damd
ya rly
cluck
,...
rudybot
Woof.
fsbot
[In the distance, you hear a dog bark]
quotemstr
Let's use element 117.
cluck
quick! point the tachion pulse at the shields!
fledermaus
,excuse
fsbot
The Uni-Heuristic Fluctuation Beam needs recalibration.
quotemstr
,excuse
fsbot
The Experimental Meson Transduction Communicator is worn out.
quotemstr
*sigh8
I want better excuses that stand up to casual scrutiny.
Things like "the page tables have filled up."
bpalmer
I would give you some, but, uhm,
,excuse
fsbot
The Entropic Alteration Web is interfering with the Mutual Spread LASER.
quotemstr
Or "there's a packet storm on the backbone between our site and theirs; it'll clear up in a few hours"
Hah.
fledermaus
The UDP Datagram Flux is too high!
quotemstr
Path MTU discovery failed!
Oh, wait. That really happens.
e1f
the ipv6 routing table caches have to be flushed
jlf
let's run a level 3 diagnostic on the forward cons array
fledermaus
We're getting too much packet fragmentation!
e1f
clearly you guys don't admin networks
fledermaus
e1f: nobody's paying me to
#
quotemstr
"The bandwidth-delay product is larger than our buffers."
Heh.
Let's obliterate net neutrality.
jlf
quotemstr: the DC court of appeals has you covered
sav
mm right, I installed ELPA. now how can I use it? I tried M-x elpa* but there's nothing
damd
,elpa
fsbot
I heard elpa is [0] the Emacs Lisp Package Archive, an apt-like utility for elisp <http://tromey.com/elpa/index.html>
[1] maintained by tromey,
[2] at http://www.emacswiki.org/cgi-bin/wiki.pl?ELPA,
[3] promoted in this essay: http://dto.github.com/notebook/blog-2008-01-14-1205.html
damd
sav: try M-x package-
cluck
M-x package-list-packages RET
sav
cool. thanks!
can I call fsbot too?
,elpa
fsbot
elpa is, like, [0] the Emacs Lisp Package Archive, an apt-like utility for elisp <http://tromey.com/elpa/index.html>
[1] maintained by tromey,
[2] at http://www.emacswiki.org/cgi-bin/wiki.pl?ELPA,
[3] promoted in this essay: http://dto.github.com/notebook/blog-2008-01-14-1205.html
sav
interesting :) I may use it in the future thanks
dto
my computer is beeping
sav
dto.github :)
too bad, ugh?
dto
hehe i don't mind
it's my essay
technomancy
sav: elpa is a particular instance of a repository for package.el
in the past they have been interchangeable, but now package.el supports many repository sources
</pedant>
dto: have you seen the latest discussions re: merging package.el into Emacs?
dto
technomancy: nope.
what's the rundown?
technomancy
just needs a couple smallish features and it will be included for 24
http://www.archivum.info/emacs-devel@gnu.org/2010-01/01214/Re:-Integrating-package.el.html <= the thread
sav
technomancy: you doesn't seem too proponent of ELPA. is there a reason for not using it? I'd like to hear
technomancy
sav: oh, I think you're misunderstanding me
I love ELPA
sav
sorry then :)
technomancy
but I will love package.el even more when it's integrated into Emacs and ELPA is no longer the only way to use it
dto
technomancy; win :)
technomancy
dto: exciting times
sav
oh, I got it. I think decentralizing it bad though. at least keeping an 'official' repository seems a good idea.
technomancy
sav: yes, there will be an official repo for sure
dto: by default it will be configured only to work with the FSF-run (copyright-assign-required) repo
but I made sure to hack it to make it easy to add 3rd-party repos before submitting it for inclusion. =)
sav
can I ask :) who are you in the list?
technomancy
sav: Phil
sav
nice
technomancy
looks like concurrent installation and customizable activation of multiple versions of the same package is the blocker
I guess that's not terribly minor
dto
technomancy well i wonder if my essay had any effect? :)
quotemstr
technomancy: Good job.
technomancy
dto: I'm sure it helped
dto
really?
first we take elpa
then we take require'cl
technomancy
well it helped elpa gain momentum
dto
:)
technomancy
heh
dto
cool. well i'm happy
quotemstr
dto: Then we get lexbind; then we port to SBCL? :-)
dto
YESH!
technomancy
dto: I'm not thrilled about making the out-of-the-box repo require copyright assignment, but if it's easy to add extra repos it's less of an issue
quotemstr
technomancy: Sorry if I've asked this already, but is there a concept of a system-wide site-packages directory of some sort?
dto
it seems like an acceptable compromise to me. i can understand the FSF not wanting to pseudo-host software they don't own
technomancy
quotemstr: not yet, but I think that's planned
cluck
technomancy: so will the ability to use multiple repos come already with 24?
quotemstr
technomancy: I'm just worried about conflicts with distribution packages. Also, is any of those influenced by ASDF?
technomancy
cluck: yeah, it's already implemented in my git repo: http://github.com/technomancy/package.el
^ lightly tested, more users welcome
quotemstr: I've never used ASDF (or indeed, even been able to figure out what it is)
sputnick
hi there
technomancy
but you'll have to ask tromey. I suspect not. it's pretty simplest-thing-that-could-work.
quotemstr
technomancy: It's the Common Lisp equivalent.
Ah.
cluck
dto: have you seen the video on andy wingo's blog?
technomancy
which rarely goes together with CL =)
dto
cluck: no, what's been up?
btw folks, i'm sorry i haven't been active on the channel the last few.... ah, years
i use emacs heavily but no longer change my configuration or encounter any problems to ask about
also i ported a bunch of stuff from elisp to CL, like my game engine and spreadsheet program :)
cluck: where be the link? :)
cluck
dto: the talk is on the status of guile and in the last 20min he talks about how he wants to get guile in emacs in 2~3years
damd
you have missed nothing
shabble
whoa: http://pgas.freeshell.org/shell/bash-ido
cluck
,g andy wingo blog
fsbot
e1f
b##
cluck
it should be on the frontpage still
jlf
shabble: does bash-ido work for you? i get a syntax error on line 149.
shabble
jlf: yep, seems to run although I might need to tweak the display a little
GNU bash, version 4.0.35(2)-release (i386-apple-darwin9.8.0)
jlf
$ . bash-ido .... bash: ./bash-ido: line 149: syntax error near unexpected token `"$trans_i ${_ido_menu[trans_i]}"' .... bash: ./bash-ido: line 149: ` _ido_f_menu+=( "$trans_i ${_ido_menu[trans_i]}" )'
shabble: what's your BASH_VERSION? i get the error under 3.00.15(1)-release
shabble
jlf: see above
jlf
hm.
shabble
does bash 3 do the array/hash stuff that line looks like?
jlf
it sources successfully on my mac, which has 3.2.48(1)-release, though the display is funky
shabble
unfortunately, i still haven't solved my original problem, which was to stop ido-find-file from searching for other things automatically when it has an empty list
any ideas? (I'd like to keep the functionality, but have to call it explicitly)
jlf
maybe ido-enable-last-directory-history
damd
could it be ido-auto-merge-*?
ido-auto-merge-delay-time: "Delay in seconds to wait for more input before doing auto merge."
jlf
or ido-auto-merge-work-directories-length
shabble
work-dir-length looks like it could work, but how do I then bind something to force it?
damd
why don't you just set that to 999 or something?
shabble
damd: yeah, that'll work too, but has the same problem
I can't easily go back in and change it interactively
damd
oh, i see what you mean
maybe you could hack ido-minor-mode-map-entry?
« prev 1 2 3 4 5 6 7 8 9 next »