» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with Python + technology

Python for Executives

I’m very happy with our choice to use Python as one of our core development languages. It has proven to be a great time saver, in overall development costs and allowing an excellent pace of changes. When we started IT Structures we debated over using Java\Linux combo or .Net\Windows duo. Python was pushed in as an “experiment” by Ronnie. Our collective experience was derived from C , C++,JAVA , the hard core programming languages of past decades.

technology: dzone.com: tech links

Django 1.0 alpha released!

In accordance with the Django 1.0 release roadmap, tonight we've released the first "alpha" testing version of Django 1.0. This release includes all of the major features due for inclusion in the final Django 1.0, though some lower-priority items are still scheduled to be included before the 1.0 feature freeze, which will occur with the first beta release next month.

technology: dzone.com: tech links

OSCON Evening 1 Begins, and More Portland Tips

The evening plans didn’t wait for talks to be done. The IRC channel (#oscon on irc.freenode.net) was alive with talk of prospects for dinner and drinks after the conference. I myself was torn between a group going out for Lebanese and another going to Henry’s, but opted to go with my buddies from home to Henry’s.

It was worth it. If you haven’t been, Henry’s Tavern boasts 100 beers and hard ciders on tap (oddly, the beer list is the only menu *not* online - guess it changes too frequently). There are a ton of local beers that you can’t even get on the east coast just waiting for you to try, but there are also some rare treats, like the Belgian Lambic beers, which you don’t often see on tap. The food is a little pricey, but is really good, and the staff is very friendly. IMG_4491.JPGA couple of us were in a rush to get back by 7 for the BoF sessions, and when we asked the waittress how easy it was to catch a cab, she immediately informed us that she would have the hostess call one for us. About 2 minutes later we were in a cab on our way back (we wouldn’t have made it back in time if we had to walk back to catch the light rail).

I was not one of those rushing to a BoF, so I did a little poking around the area near the convention center. It was getting dark, and I didn’t want to stray too far, but I did find a couple of points of interest. First, there’s a bank right across the street from the convention center. I’d be willing to bet that the ATM there is less than the $3 the ATM inside the center charges.
IMG_4501.JPG
Beyond that is a paintball place. It was closed by the time I found it, and I don’t know if they run every day, or anything else, but interested parties might find it open during the lunch breaks or something if you wanted to check it out. The paintball place is located behind a building that is directly across the street from the conv. center. If you see the bank, it’s on the other side of the side street the bank sits on.

Tonight appears to be low-key from what I can tell. There’s currently no chatter on irc, the hotel bar had a few people chatting, and I might go down to catch the rush of people as they return from dinner and BoF sessions. Stay tuned tomorrow for more!

addthis_url = 'http%3A%2F%2Fwww.protocolostomy.com%2F2008%2F07%2F21%2Foscon-evening-1-begins-and-more-portland-tips%2F'; addthis_title = 'OSCON+Evening+1+Begins%2C+and+More+Portland+Tips'; addthis_pub = 'jonesy';

MySQL: Planet MySQL

OSCON Day 1 Comes to a Close

I think I have pictures of most of the basic parts of the conference at my OSCON Flickr set, and I thoroughly enjoyed day 1 of the conference. Of course, while *day* 1 is over, *night* 1 has yet to even begin. There are lots of BoF sessions, and maybe even more smaller meetups going on, as smaller groups take to discussing things over dinner and a beer or three.

I have to say, that I occasionally pop into irc channels for conferences I’m not even at and follow up on that because I’m involved a bit in conference planning as part of my work with Python Magazine (I’m helping to organize the PyWorks conference in November). This conference seems to have a pretty happy audience, if IRC chatter is any indication (and it usually is). Sure, there are a couple of weak spots in the wireless network, there are some fuzzy projectors, and there was a little confusion regarding breakfast this morning, but the important bits have been well-covered by the OSCON organizers and the “boots on the ground” here on site. Kudos to them all.

This afternoon I hopped to a couple of different talks: one on Memcached and MySQL, and the other on A/B testing. Both contained good content. Of course, I’m a systems guy primarily, so I sort of wanted more of an overview of memcached from the point of view of an admin who is deploying it rather than a developer implementing their code around it. I still got plenty of value out of that talk, and this *is* really more of an open source *developer’s* conference, so the expectations of 99% of the people in the room were met, I’m sure.

A/B testing is just not an exciting topic, and I would imagine that peoples’ bosses made them go to that talk whether they liked it or not. Not to say the talk wasn’t good - the parts I saw (I came in after the break) were good, and I learned from it, and that was the goal. If you’re a QA/QC person, I’m sure the talk was riveting, and there were a lot of good ideas and things I’d never considered flying by in the slides.

Overall, Day 1 is a win. I’ll cover more about this evening’s events in the pre-breakfast hours tomorrow. Stay tuned!

addthis_url = 'http%3A%2F%2Fwww.protocolostomy.com%2F2008%2F07%2F21%2Foscon-day-1-comes-to-a-close%2F'; addthis_title = 'OSCON+Day+1+Comes+to+a+Close'; addthis_pub = 'jonesy';

MySQL: Planet MySQL

Django and captchas

A simple captcha system for a web application.

technology: dzone.com: tech links

Gripe: XML in Python

The Python core libraries include six different methods for parsing and creating XML, none of which feel particularly Pythonic (here I am, three weeks into developing with Python and already I’m calling out core libraries as not being Python-y enough). I missed the low overhead methods I had used in other languages. Particularly for parsing XML, PHP’s simplexml is hard to beat, and for building, it’s hands-down Ruby’s XML Builder. Off I went, hunting for Python ports.

technology: dzone.com: tech links

therning.org/ magnus " Blog Archive " A somewhat surprising catch

"catch is useful [as a] catch-all "high up" in the program... That means its usefulness in libraries is limited (except for IO heavy libs, like FFI bindings to C), it should also probably not be used like try-catch often is used in Python."

Haskell: del.icio.us tag/haskell

How to do AVG and SUM in Google App Engine Data Store

People who are used to relational databases, which is pretty much every gosh-darned web developer out there, will run into pretty much the same obstacles with the app engine datastore - one of them is How the heck do I do SUM or AVG?. This a guide how to do it.

technology: dzone.com: tech links

Multi-thread scaling issues with Python and Ruby

With the advent of multi-core processors, CPU bound applications need to use multi-threading in order to be able to scale their performance beyond that offered by a single core. This provides many challenges, but an interesting aspect of this problem is to consider how the threading modules in modern programming languages such as Python and Rubycan either help or hinder this scalability. Yes, there are plenty of other programming languages in use today, but Python and especially Ruby are rapidly rising in popularity and there are some surprising limitations to be aware of when using their threading packages.

technology: dzone.com: tech links

Radiohead + Google + Python

Radiohead (cool) collaborated with Google (cool) to create a music video using lasers (cool) and 3D scanning devices (cool) instead of cameras and then released some of the resulting data under a CC-license (cool) and put it up on Google Code (cool) to let the internets muck around with it (cool). With so much awesomeness, how could I possibly go to bed?

technology: dzone.com: tech links

BigTable and Why it Changes Everything

For the last couple of weeks I’ve been playing with Google App Engine. In case you’ve been living in a cave for the last month; App Engine is a mostly complete, sandboxed, Python 2.5 environment with a WSGI web server and a very interesting Datastore API.

technology: dzone.com: tech links

Java 6: Using Python Via The New Scripting Engine

Do you ever find yourself writing Java code that interacts with external processes and systems, but wish you could use a scripting language more suited to the task? If you have Java 6 available to you, then you are in luck.

technology: dzone.com: tech links

The Pylons Book

Welcome to the Pylons book website where you can read all the chapters of the forthcoming Definitive Guide to Pylons, an open source book to be published by Apress later this year.

technology: dzone.com: tech links

Python backing eyed for NetBeans

In a not-so-surprising revelation, Sun plans to support the Python and Jython scripting languages in future releases of the open-source NetBeans IDE, which has been expanding beyond its Java origins lately.

technology: dzone.com: tech links

EuroPython 2008: Python, Sun and the Stars

Boring and opinionated mini review of EuroPython 2008.

technology: dzone.com: tech links

Python Cheat Sheet

Python Cheat Sheet

technology: dzone.com: tech links

Presentation : Contrasting java and dynamic languages.

A presentation I made which contrasts java with other dynamic languages such as python, ruby, PHP and also java based languages such as Groovy, JRuby, Jython. This is not a strictly programming oriented contrasting exercise, it instead attempts to look at it from a architects and a managers view as well.

technology: dzone.com: tech links

InfoQ: Sun Gets Serious About Python

Python has been enjoying a tremendous rise in popularity recently. At the beginning of the year Python became TIOBE's language of the Year (for 2007), surpassing Perl and making it the 6th most popular language....

technology: dzone.com: tech links

Three awesome Django tips

1) By far, the one tip that’s revolutionized my Django projects is this post by Rob Hudson, Django and Relativity. 2) Nathan Ostgard wrote a post on how to use Django with Gmail and I come back to it all the time. 3) James Bennett‘s django-contact-form is indispensable and I use it all the time.

technology: dzone.com: tech links

Python Developer Center from Sun Microsystems, Inc

Welcome to your resource center for the Python programming language and Jython, its implementation for the Java platform.

technology: dzone.com: tech links

Python destructor and garbage collection notes

I hardly ever use destructors in Python objects. I guess Python's dynamic nature often negates the need for destructors. Today though, I needed to write some data to disk when an object was destroyed, or more accurately, when the program exited. So I defined a destructor in the main controller object using the __del__ magic method.

technology: dzone.com: tech links

Performance Comparison - C++ / Java / Python / Ruby/ Jython / JRuby / Groovy

Performance comparison for a small piece of logic across a number of languages. Some of the interesting findings (I emphasise - in this context) are : Java faster than C++, Java about a 100 times faster than Python / Ruby, JRuby faster than Ruby 1.9, Ruby 1.9 twice as fast as Python, Python / Ruby faster than Groovy, and PHP and Jython bringing up the rear.

technology: dzone.com: tech links

Storing Hierarchical Data in CouchDB

So I’ve been fiddling around with CouchDB lately. Since it’s common to store tree-based data, and it’s kind of a pain to do so in your standard relational DB, I thought it would be a good exercise to see how hard it is to store hierarchical data in CouchDB.

technology: dzone.com: tech links

Running C and Python Code on The Web

Last week, Scott Petersen from Adobe gave a talk at Mozilla on a toolchain he’s been creating—soon to be open-sourced—that allows C code to be targeted to the Tamarin virtual machine. Aside from being a really interesting piece of technology, I thought its implications for the web were pretty impressive.

technology: dzone.com: tech links

Pure Python Fibonacci Numbers

A while back, I came across this post, in which the author implements a couple of different algorithms to generate Fibonacci numbers in Python. What he finally ends up with is an algorithm that essentially does matrix exponentiation by repeated squaring, and it runs fairly fast.

technology: dzone.com: tech links

Using dictionaries rather than complex if-elif-else clauses

Lately, I’ve been using dictionaries as a dispatching mechanism. It seems especially elegant when I face some fairly elaborate switching logic.

technology: dzone.com: tech links

Python __Underscore__ Methods

Need to override an operator in your Python class? Ever wonder what all those double-underscore class methods do? Here's your answer. My intention for this article is to be a quick-reference guide: all the information you might need about a method or property condensed into a few lines.

technology: dzone.com: tech links

Get Started With Django

Django was designed from the ground up to handle two common web developer challenges: intensive deadlines and strict adherence to the Don't Repeat Yourself (DRY) principle. DRY sounds exactly like what it is: Why write the same code over and over again?

technology: dzone.com: tech links

Proper Unit Testing of App Engine and Django

How to unit test Django views in App Engine, using as little mocking as possible.

technology: dzone.com: tech links

Graphite - Enterprise Scalable Realtime Graphing

Graphite is a highly scalable real-time graphing system. As a user, you write an application that collects numeric time-series data that you are interested in graphing, and send it to Graphite's processing backend, carbon, which stores the data in Graphite's specialized database. The data can then be visualized through graphite's web interfaces.

technology: dzone.com: tech links

Python 3000: Solving the "outer scope" problem

Python has always limited you to accessing variables in local or global scope, with no way for a nested function to write to non-global variables outside its own scope. Python 3.0 introduces the "nonlocal" declaration to fix that.

technology: dzone.com: tech links

Easy Django installer with Apache and MySQL support

You can find here a multiplatform installer for the Django framework, you can use it on Windows, Mac OS X and GNU/Linux. It takes less than three minutes to have Django with Apache, SQLite and MySQL support. They also provide forums to give support.

technology: dzone.com: tech links

Google App Engine performance - Part 2

So the first analysis was to look at the gadget performance with 40,000 pixels which gives a fair old number of calculations (its 16 iterations for those that want to know). My next consideration was what would happen to a larger image that was further over the threshold. Would that see more issues?

technology: dzone.com: tech links

Python Gets Drupy

Via Boris Mann's blog, I just learned about Drupy - a full port of Drupal on Python. Among all the initial reactions I have to this announcement, the one that screams the loudest is "why?"

technology: dzone.com: tech links

How-to: Full-text search in Google App Engine

It turns out that Google App Engine DOES have support for full-text search, it's just not documented, because the feature is still in development.

technology: dzone.com: tech links

Google App Engine and My Thoughts

After trying Google App Engine for some time, there are goods and bads to it.

technology: dzone.com: tech links

Page 1 | Next >>