Tech and Business Pearls

Python is a great language

I am using Python right now to experiment with a new idea. My friend Greg proposes that there be a stronger link between the file system and the Internet, the cloud, accessible from anywhere.

I think he has the right idea. No company currently offers a service that syncs files easily, quickly, and correctly. He proposes even more. Any data which can be on both your computer and the Internet can be tied together. For example, even though a text file and a blog post are very different in terms of format, you can write a program to sync them together.

And that’s what I am testing out right now. I am typing this in VIM, on Ubuntu, into a text file. I will run the command python load.py test.txt to upload the blog post. I much prefer to write using VIM.

The hard problem, of course, is concurrency. If I change the blog over the Wordpress interface, how do I update the file on my computer without something breaking? The text file must pull the changes. Should it check every minute? Every day? As I open the file? Also, how does the computer know that this text file corresponds to a specific blog post when I edit, as opposed to a brand new post? Possible solutions are to create a file with metadata associated with this text file (problems with keeping it up to date), or changing the text file to include the id number (ugly). The solution is not difficult.

over 12 years ago on October 1 at 12:06 pm by Joseph Perla in school, technology


blog comments powered by Disqus

Hi, my business card says Joseph Perla. Former VP of Technology, founding team, Turntable.fm. My first college startup was in the education space. My second was Labmeeting, a cross between Google, LinkedIn, and Facebook for scientists. I dropped out of Princeton (twice).

I love to advise and help startups. My code on Github powers many websites and iPhone apps. I give talks about startup tech around the US and also internationally at conferences in Florence. incubators in Paris, and startups in Budapest.

Twitter: @jperla

Subscribe to my mailing list

* indicates required

Favorite Posts

Y Combinator Application Guide
What to do in Budapest
How to hack Silicon Valley, meet CEO's, make your own adventure
Your website is unviral
The Face that Launched a Thousand Startups
Google Creates Humanoid Robot, Programs Itself

Popular Posts

How to launch in a month, scale to a million users
Weby templates are easier, faster, and more flexible
Write bug-free javascript with Pebbles
How to Ace an IQ Test
Capturing frames from a webcam on Linux
A Clean Python Shell Script
Why Plant Rights?

Recent Posts

Working Copy is a great git editor
Venture Capital is broken
The nature of intelligence: brain bowls, cogniphysics, and prochines
Bitcoin: A call-to-arms for technologists
Stanford is startups
Today is Internet Freedom Day! DRM-free book about Aaron Swartz's causes

More...