Pyrodius

Django Settings Site Domain example.com

Code Spatter - Mon, 01/05/2009 - 11:11
It took me a while to figure out how to change from the default, example.com. Maybe it should have been obvious, but I was looking in all the wrong places and every search I did wouldn’t come up with an answer. As I discovered, it isn’t a setting in the settings.py file. It’s something that [...]
Categories: Greg, Pyrodius

Django RequestContext Example

Code Spatter - Mon, 12/22/2008 - 16:55
Browsing other peoples’ code is a great way to learn new things about a language or framework. I never made it to the Django docs about Contexts, but the Pinax developers apparently did and I got a chance to learn this from them. This is a few sections of their code and how they use [...]
Categories: Greg, Pyrodius

Clever table design

Comments by Greg - Thu, 12/18/2008 - 19:22

I thought about building one on my own when watching the video, but I haven't even built anything simple before. Maybe I need the challenge to get me interested.

Read more comments by gallard

Categories: Greg, Pyrodius

College Stops Giving Students New Email Accounts

Comments by Greg - Sat, 11/22/2008 - 00:27

I've been looking around at the school's interface and at the Windows Live account area and I haven't found anything yet. If https://owa.msoutlookonline.net/Login.aspx is the OWA you are talking about, then I can't log in to that.

I remember someone saying that forwarding was turned off so that people would have to use the web interface. I don't know why they would even make than an option.

Read more comments by gallard

Categories: Greg, Pyrodius

College Stops Giving Students New Email Accounts

Comments by Greg - Fri, 11/21/2008 - 23:15

Also, a lot of universities have their application process online and require an e-mail address to apply. So the information is already available and that would eliminate the step of requiring the student to set up forwarding manually.

If it's already a method of contact between you and the university, why add another place to look by creating a separate inbox?

Read more comments by gallard

Categories: Greg, Pyrodius

College Stops Giving Students New Email Accounts

Comments by Greg - Fri, 11/21/2008 - 21:07

> They considered offering from both Google and Microsoft, but eventually decided against both in lieu of the new forwarding option.

UCF recently had to make this decision and went with Microsoft. And now our students do not have an option of forwarding those messages to an address of their choice.

Read more comments by gallard

Categories: Greg, Pyrodius

PHP Developers, Keep me Sane

Comments by Greg - Tue, 11/18/2008 - 21:01

I've been using python a lot recently and I like they way they work with their errors. Instead of suppressing it, you are catching it and then you have a chance to do some logic in that case. I guess php implemented a way of doing it that way also, but no one uses it.

Read more comments by gallard

Categories: Greg, Pyrodius

Ask YC: Does music help programmer concentrate better?

Comments by Greg - Tue, 11/18/2008 - 04:18

I agree that instrumental progressive metal is awesome for programming. I've also found classical music to work, but I enjoy metal a bit more.

Read more comments by gallard

Categories: Greg, Pyrodius

Using Beautiful Soup for Screen Scraping

Greg's Portfolio - Wed, 11/12/2008 - 19:16
I’ve been curious to learn more about screen scraping for some time. And then I heard about a python script that is great for parsing html. Since I’ve also been learning python, I thought now was the perfect time to explore some scraping. In the past I had some trouble with using php to parse the [...]
Categories: Greg, Pyrodius

C

Comments by Greg - Thu, 11/06/2008 - 20:30
Categories: Greg, Pyrodius

How To Use Triggers to Track Changes in MySQL

Comments by Greg - Fri, 10/31/2008 - 18:50

OLD and NEW are used on UPDATE triggers. OLD.col_names will access the data that is in the row of the database before the UPDATE query runs and NEW.col_names will access the data that the row will be updated to.

IF OLD.first_name != NEW.first_name

That checks if the UPDATE query is changing the information for first_name.

Read more comments by gallard

Categories: Greg, Pyrodius

Ask HN: Rate my startup: IvyLees

Comments by Greg - Fri, 10/24/2008 - 20:10

We've opened up parts of the site so that you don't have to be logged in to view it. Some links will need to be added to the front page, but maybe this will satisfy your curiosity for now. http://ivylees.com/associations/IvyLees

Read more comments by gallard

Categories: Greg, Pyrodius

htpc.. troubles once again…

comPU_bLOG - Mon, 10/20/2008 - 15:32
I have put together a small media center pc with spare parts I had laying around and let me just say this.. i love it. I use it daily now and don’t know how I managed without it. It was all fine and dandy I even bought it a proper htpc case. (http://www.newegg.com/Product/Product.aspx?Item=N82E16811108058) which is [...]
Categories: Euro, Pyrodius

Setting up Apache2, mod_python, MySQL, and Django on Debian Lenny or Ubuntu Hardy Heron

Comments by Greg - Sun, 10/19/2008 - 20:57

I've seen a few sites mention it and I would like to check that out also. I was wondering how to pronounce that word for a while. I should have just looked it and I would know it's pronounced "engine x". I subscribed to your feed so that I'll know if you do post about it.

Read more comments by gallard

Categories: Greg, Pyrodius

Setting up Apache2, mod_python, MySQL, and Django on Debian Lenny or Ubuntu Hardy Heron

Comments by Greg - Sun, 10/19/2008 - 20:00

That is a really good article and I'll be following along when I get around to using a different server for static files.

Read more comments by gallard

Categories: Greg, Pyrodius

Setting up Apache2, mod_python, MySQL, and Django on Debian Lenny or Ubuntu Hardy Heron

Comments by Greg - Fri, 10/17/2008 - 20:16

I didn't mention anything about a mail server in this post. I found this page that can set up forwarders easily: http://eightpence.com/howto-setup-mail-forwardi...

Read more comments by gallard

Categories: Greg, Pyrodius

Setting up Apache2, mod_python, MySQL, and Django on Debian Lenny or Ubuntu Hardy Heron

Code Spatter - Wed, 10/15/2008 - 10:46
Both Debian and Ubuntu make it really simple to get a server up and running. I was trying a few different Machine Images on Amazon and I found myself repeating a lot of things so I wanted to put them here for reference for those who might find it useful. With a fresh image, the first [...]
Categories: Greg, Pyrodius

Going with Slicehost Instead of AWS EC2

Greg's Portfolio - Tue, 10/14/2008 - 16:04
I ran into some trouble with python2.4 and the django code I was using. The previous server had 2.5 and I didn’t notice any problems, so I tried upgrading to 2.5 and changing which version of python Debian uses as default (this was on Debian Etch). I was having some difficulty getting a few of [...]
Categories: Greg, Pyrodius

Mufin: An Automated Music Recommendation Engine That Actually Works

Comments by Greg - Wed, 10/08/2008 - 19:36

Some of the recommendations were on target, but there were about half that were far off. I like being able to browse through the similar tracks and it's cool that it keeps the history of them so you can go back.

Do any of the music recommendation places have an api? I've been thinking about creating a site that recommends music for groups of people that might have different tastes in music. Not many of my friends like the same stuff, but I know there is some overlap there.

Read more comments by gallard

Categories: Greg, Pyrodius
Syndicate content