Buenísimo: tengo mi invitación para Google App Engine!
¿Porqué? Porque no me puedo conectar a Haloscan desde mi casa.
¿Porqué? Porque no me puedo conectar a Haloscan desde mi casa.
I am trying to become more organized in my work. And it seems to be working.
Things I do/notice/try now:
There is a ticketing system. Use it.
Really, there is no reason not to. If the customer says creating tickets is annoying/boring/whatever, I do them myself.
It takes very little time and it lets me see/describe what I do/did in the day. Then, take what's in the ticket, clean it up, and...
There is a wiki. Use it.
Document every thing I do. No "this is just a little thing". There are no little things. If it was so little, I wouldn't have to do it. Put everything in the docs. The client needs it. I need it.
There is an email. Use it.
I got an email. Then either it's something that's broken (create a ticket), or something that needs explaining (create/refer a doc), or something that needs doing (create a todo), or a meeting (put it in the phone), or a a piece of data I need to remember (archive it, mairix will find it when I need it). I have had an inbox with no mail in it for three days, and it's quite liberating.
The phone is the first PDA that actually works.
I never managed to use desktop PIM suites or PDAs. I do keep my appointments on the phone. I always have my phone with me. I listen to it when I have an alarm. I can't say the same thing about the notebook, or about any PDA I owned. And it's a cheap phone. Using a smartphone makes no sense. I lose the things. Now I can sync it via bluetooth, too! I still use a Sony CLIE to read ebooks, though.
I like HiveMinder.
It's todo lists I can actually use. Done? Click, gone. New task? Fill a line and it's there, tagged, grouped, dated, prioritized. Want to do it from the CLI? Yup. I do need to write a Trac plugin that converts my tickets into todos, though.
Sure, I don't have it with me all the time (maybe sync it with my phone's todo list is possible somehow...) but I just need to do one full task review a day, add tasks when I'm on a computer, close tasks at the end of the day or while working.
Read email/news on fixed time periods.
I can't focus on working for over one hour nonstop. So I stop every hour for 10 minutes of news, and 5 minutes of mail (which is still working anyway, since I need to know about stuff). No mail app running in the meantime. If it's urgent, they have my phone number. If they don't, it's not urgent.
It is making a difference, I am becoming more productive without spending more hours at it, which was my previous "strategy".
Respuesta:
[root@victima ~]# qmail-qstat messages in queue: 151369 messages in queue but not yet preprocessed: 9
Lección:
Hay un motivo por el cual no te deja hacer eso por default.
Debería limitar el correo saliente por cuenta por default en todos los servers. Mejor me pongo a trabajar en eso.
Estoy seguro que tiene que haber alguna manera de hacerlo andar. Por otro lado, ya lo tenía andando en Linux... así que uno puede simplemente usar esto en un Linux amigo, y mandar mensajes SMS accediendo a una URL especial:
#!/usr/bin/env python from colubrid import BaseApplication, HttpResponse, execute import os class SMSApplication(BaseApplication): def process_request(self): numero = self.request.args.get('numero') mensaje = self.request.args.get('mensaje') [entrada,salida]=os.popen4('/usr/bin/gnokii --sendsms %s'%numero,mode='rw') entrada.write(mensaje) entrada.flush() entrada.close() msg=salida.read() response = HttpResponse(msg) response['Content-Type'] = 'text/plain' return response if __name__ == '__main__': execute(SMSApplication,debug=True, hostname='mybox.domain.internal', port=8080,reload=True)
Si alguien abre http://mybox.domain.internal:8080/?numero=1234?mensaje=hola%20mundo
manda "hola mundo" al numero 1234.
Supongo que podría decir que es un servicio web de telefonía, pero es la solución de 5 minutos que se me ocurrió.
Usa una cosa que se llama colubrid que no es realmente un framework web y no algo conocido porque quería mantenerlo simple, y no se pone mucho más simple que esto.
Just a snippet of code because every once in a while I need something like the classic memoize decorator but am working on a CentOS 4 bix (with python 2.3!)
I am still testing it, and am not even sure it really works, but it should be close.
cache=memcache.Client(['127.0.0.1:11211'], debug=0) cachetimeout=30 def memoize(fun): def inner(*args, **kwargs): key=repr(fun)+repr(args)+repr(kwargs) cached = cache.get(key) if cached is None: val = fun(*args, **kwargs) print "Setting: ",key, "to: ",val cache.set(key,val,cachetimeout) return val return cached return inner
And later inside a class:
And that's it. The basic idea I stole from a blog who was inspired by a Paul Graham book. It can be trivially turned into a decorator, of course (but then only works on 2.4 and later).