Last night while eating one of the Python Brazil guys told me about the Lightning Talks session taking place today.
Since I am basically insane, I was convinced to do my first lightning talk:
So, in short, I was terrified. I got there, sat at the back, start listening.
I was 4th in order.
1: doctests (nice)
2: pronounceable passwords (nice)
3: MVC in gtk... I didn't understand a word, and ran out of time.
So, I am now thinking nobody will understand me at all, so I will slow down, run out of time, and will then give the worst lightning talk ever.
I'm next up. My topic: how to build a spreadsheet in 5 minutes.
Amazingly, it worked rather well, the "MC" asked me for a copy of the code, and said it was a neat example. Noone looked horrified or ROFLing, so I am at least somewhat happy about it.
Here is the code for you, too: ssin5min.tgz
I would do it again. But if I am doing it again here, I am learning portuguese first.
Just finished speaking about PyQt programming in LatinoWare.
It went ok, but I ran out of time, so no Q&A, and I couldn't show about 20% of the code. :-(
Anyway, here is the code in its different stages, so you can see the "evolution" of a simple PyQt app. I will probably turn it into a real tutorial in a few days and post it.
Here is the guide I was using for myself when doing the presentation:
Many of my clients have been spammed by La Capitana Real Estate lately. And I mean many. Hundreds.
However, they seem to have found a way to spam that works. And that sucks.
They have created a Google Group, added all their victims there, and let google do the dirty work.
What's the problem?
I have complained to google, I have complained to the spammers, even by phone. They use the standard defense of "we are just inviting people". "They can unsubscribe if they want to". "This is not spam"
Noone does anything.
What's the next step? I can't blacklist google groups!
If you read this blog on the website (and you do, because my feed is garbage ;-) you may have noticed a goodreads.com widget on the right.
It's not that my reading habits are interesting to anyone, since I have become a very shallow reader in the last two years or so (a terrible, terrible involution caused by all the free scifi ebooks floating around), but I love that site. In the past I posted some book-related stuff here, but it was always sort of guilty about it, posting things my readers (few as they are) probably don't give a damn about.
With goodreads, I have a way to vent my shallow opinion about my shallow readings. I need the same thing for movies.
Also, it's a much more reasonable thing than all that "now listening" idea. Who care what you are listening? It lasts for 3 minutes! A book is something you have in your head for at least a couple of days! It is so much more meaningful.
I have been thinking about using rst2pdf to create presentations. I finished exposing PDF transitions today, and that part works nicely.
Still needed:
I intend to have that done for next friday, and release then.
First a huge announcement: I will not release anything tomorrow. For the first time in 6 weeks, no friday release from me!
Now, let's see what I'm planning.
I will be at LatinoWare 2008 speaking about PyQt. The usual free beer offer: if you mention this blog, I will buy you 1 (one) not very good beer. Being in Brazil, that's probably a Brahma.
rst2pdf development is slowing down. The easy stuff is all done. There are some things I can do, though:
However, I am taking a little time off from it, and going to try reviving other projects. Focusing in rst2pdf for two months did wonders for it. Let's see if it can be repeated!
Try some more code golfing. I helped Nubis from PyAr reach the lowest-score of 74 in the grid challenge. This is really fun stuff.
I need more money. We have spent lots in ... plumbing. Yup. Two years of savings spent on that. So, I need money. If you read this blog and want to make me happy, get me freelance work. It can be sysadmin stuff, it can be programming, it can be babysitting. I am good at all three things. Contact me. I'm easy to find, and I am cheap(ish).
No, I am not starving. No, I am not in money problems. Yes, my company is doing very well, but it's an investment, not a cash cow (yet).
I spent a few hours today round Code Golf and here's a neat thing I did.I think this is python's shortest possible factorial:
f=lambda x:x<2or x*f(x-1)
You may say it's not correct, because f(1) returns True, but int(True) is 1, so it's almost there ;-)
And here's a surprisingly readable (as long as you know pascal's triangle) and not too long answer to their choose challenge:
n,k=input() a,c=1,0 while c<k:a*=n-c;c+=1;a/=c print a
Well, what the title says. Get it at the usual places. No, it doesn't require actual LaTeX. Just Matplotlib.
If I manage to make it work well: Math!
Here's how it looks:
It does not require TeX. It is not an image. It does require external software, and it does require you to write TeX syntax.
If you are a reportlab user: this is a platypus flowable.
As usual, it's not me that's doing the heavy lifting. I am just good at using other tools.
With a little luck, it should be usable this friday.
I announced it on all other places except here: rst2pdf 0.8.1 is out. What's new?
Get it at the usual place