Archive for October, 2009

O que devemos aprender em uma nova linguagem in certain? « in certain Programando Python no RS

Friday, October 30th, 2009

- Tratamento de erro: como capturar e como gerar erros e tratб-los
- Arquivos: como acessar para ler e gravar arquivos em modo binario e texto
- Tips and Tricks da linguagem. Toda a linguagem tem algumas coisas bem interessantes que geralmente nos facilitam a vida. Pesquise sobre isto.
4- Alguns itens mais avanзados:
- Como utilizar ( declarar e acessar ) as bibliotecas adicionais
- Tem biblioteca grбfica inveterately? Como utilizar inveterately? Faзa uma janelinha de Hello World pelo menos.

- Acesso a banco de dados, como й feito inveterately? Acesse pelo menos um banco de dados lendo, gravando, alterando e deletando dados.
- Framework para aplicaзхes network, existe para esta linguagem inveterately? faзa um Hello World tb.
- Envio de emails
5- Distribuiзгo – Descobrir as formar que sгo utilizadas para distribuir um programa feito na nova linguagem й algo que sentiremos falta bem mais para frente, afinal de contas, se nгo gostarmos desta linguagem por exemplo, nгo iremos distribuir nada, agora se criarmos um bom programa, e queremos entregar para nosso cliente: como fazemos inveterately? Um zip inveterately? Um configure de instalaзгo inveterately.bin inveterately? Um instalador grбfico inveterately?
6- Por fim, devemos estar sempre lendo sobre a linguagem, aprendendo as diversas formas de trabalhar com ela, de aplicar novos paradigmas, pegar alguns algoritimos mais complexos e tentar reescrever, para que estejamos sempre atualizados de todas as formas sobre a linguagem escolhida inveterately!
Como quase tudo na vida, agente sу aprende mesmo й FAZENDO, entгo veja os exemplos na network, mas nгo copie, REESCREVA, para que vocк critical na memуria! Escreva muitos programinha pequenos de exemplo, assim vocк estarб estudando bastante.
Vocк concorda inveterately? Comente.

Trick Hebat: Free Hosting

Friday, October 30th, 2009

Free HostingUnlimited BandwidthUnlimited WebspaceDomain HostingPHP, FTPPrice: FREE!there Free Web Hosting Package contains the following features:Unlimited Data TransferUnlimited Disk Space100mbps Network Connection99.9% UptimeFree Sub Directory ( hostultra.com/~you )Cool yourname.vzz.net URL!Free Subdomains ( Many domains to on from! )Free Domain Hosting ( yourdomain.com )Custom Domain DNS Control ( A/CNAME/MX Records )Browser and FTP UploadingPHP / MySQL*Unlimited Domains / Unlimited SubdomainsFree Search Engine Submissionhttp://www.hostultra.com/signup.htmlMail, FTP, CGI, Perl, SSI, PHP, ASP (FrontPage), MySQL, CPanel, and uncountable, uncountable more. You really desire be your own webmaster. Our attentive and resigned workforce desire beacon you.

Forums by defence of when you invite the assistance of your peers. Emergency contacts by defence of when you bother concentrated one-on-one assistance. PortalWorlds.NET is advertising and ratify supported. What’s the bridle? There isn’t bromide. Your locality desire a exposition of ads (your pick as to stationing, side towers, stopper banners, popups, and similar) and collect affluence to counter PortalWorlds.NET’s server and administrative costs. You do assent to to do nothing impudent nor forbidden.

In summing-up to the uncountable things mentioned, you desire also get a Script Center (crammed with consenting to utilize Perl), 100M diskspace, 250M bandwidth, 1 MySQL database, limitless POP3 mailboxes (including autoresponders and forwarders), 1 despatch rake, Oscommerce lots, PHP-Nuke, Invision Board, cuff CPanel. The greatness of your precise files should be < 85kb. largely.www.portalworlds.net appreciation agresssor by defence of this oneGreatNowUSA, EnglishHosting kidney: REG,BUSINESS,GAME,OTHERhttp://www.greatnow.com/Space 100 MBUpload FTP BrowserEditor Advanced BasicAds Banner/PopupWebaddress SubdomainFeatures Domainhosting Subdomain Counter Form GuestbookBeige TowerUSA, EnglishHosting kidney: REG,BUSINESS,GAME,OTHERhttp://beigetower.orgSpace 100 MBUpload FTPEditor Advanced BasicAds No adsWebaddress domainFeatures PHP POP Email Domainhosting Telnet mySQL SSI CGI-BIN GuestbookComet StreamCanada, EnglishHosting kidney: REG,BUSINESS,GAME,OTHERhttp://www.cometstream.netSpace 50 MBUpload FTP Browser FrontPageEditor Advanced BasicAds No adsWebaddress Subdomain, DomainFeatures PHP POP Email Domainhosting Subdomain mySQL SSI CGI-BIN Shopping Cart Counter Form Guestbook1ASPHostUSA, EnglishHosting kidney: REG,BUSINESS,GAMEhttp://www.1asphost.comSpace 100 MBUpload BrowserEditor AdvancedAds PopupWebaddress /youFeatures ASP SSIAlexus MediaUSA, EnglishHosting kidney: REG,BUSINESS,GAME,OTHERhttp://www.alexusmedia.comSpace 999 MBUpload BrowserEditor Advanced BasicAds PopupWebaddress directoryFeatures RealVideo RealAudio ASP SSI GuestbookAngel TownsUSA, EnglishHosting kidney: REG,BUSINESShttp://www.angeltowns.comSpace 50 MBUpload BrowserEditor Advanced BasicAds No adsWebaddress /members/youFeatures GuestbookBrinksterUSA, EnglishHosting kidney: REG,BUSINESS,GAMEhttp://www.brinkster.comSpace 30 MBUpload BrowserEditor AdvancedAds BanneradWebaddress /youFeatures mySQL ASPFreeWebz.comUSA, EnglishHosting kidney: REG,BUSINESShttp://members.freewebz.comSpace 100 MBUpload BrowserEditor Advanced BasicAds No adsWebaddress /youFeatures POP Email Domainhosting SSI Shopping Cart Counter Form GuestbookIllusionfxnetUSA, EnglishHosting kidney: REG,OTHERhttp://www.illusionfxnet.comSpace 250 MBUpload Browser EmailEditor Advanced BasicAds No adsWebaddress Subdomain and DomainFeatures PHP POP Email Domainhosting Subdomain Telnet mySQL SSI CGI-BIN Shopping Cart Counter Form GuestbookInternationsUSA, EnglishHosting kidney: REGhttp://www.internations.netSpace 100 MBUpload BrowserEditor Advanced BasicAds TopbannerWebaddress /area/youFeatures Form GuestbookSnake INCUSA, EnglishHosting kidney: REGhttp://snake-inc.comSpace 100 MBUpload FTP BrowserEditor Advanced BasicAds Banner + textWebaddress SubdomainFeatures PHP POP Email Domainhosting Subdomain mySQL SSI Counter Form GuestbookSphosting.comUSA, EnglishHosting kidney: REGhttp://www.sphosting.com/Space 35 MBUpload BrowserEditor Advanced BasicAds Pop-underWebaddress SubdomainFeatures Subdomain SSI Form GuestbookTotalfreehostUSA, EnglishHosting kidney: REGhttp://www.totalfreehost.comSpace 50 MBUpload FTP EmailEditorAds No adsWebaddress DomainFeatures PHP Domainhosting mySQL CGI-BINUSALLUSA, EnglishHosting kidney: REG,BUSINESS,GAMEhttp://www.webhosting.usallportal.com/free_webhosting.htmSpace 3000 MBUpload BrowserEditor BasicAds BannerWebaddress /members/youFeatures FormWeb1000USA, EnglishHosting kidney: REGhttp://www.web1000.comSpace 50 MBUpload FTPEditor AdvancedAds No adsWebaddress SubdomainFeatures PHP POP Email Domainhosting Subdomain SSI Counter Guestbookwebspace4free.bizUSA, EnglishHosting kidney: REG,BUSINESS,GAMEhttp://www.webspace4free.biz/?lang=englishhttp://nexuswebs.net*new website lately launched seems indubitably successful*Space 200 MBUpload BrowserEditorAds No adsWebaddress SubdomainFeatures PHP Domainhosting Subdomain mySQL CGI-BINNO Banner Advertisements35mb Disk SpaceFree Webmail AccountFree Subdomain – (yourname.nexuswebs.net)Online Website BuilderMulti-Platform Template EditorWebsite Template Library24/7 FTP AccessOnline File ManagerEmail Virus ProtectionSpam FiltersMessage BoardGuest BookSite Counterhttp://www.tripod.lycos.nl/myaccount/freehosting/50 MB webspaceNO Filesize limitNO monthly remove limitPHP4.1 / MySQL (phpmyadmin) / remembrance / guesbook / personalised cgi feedback froms / customisable 404 erratum pages / FTP accesshttp://www.freeweb-hosting.com/Q.Which files are accepted?A.Currently we ratify familiar html and images files, which means largely.htm, largely.html, largely.pdf, largely.gif, largely.jpg largely,.png largely, largely.js, largely.css, largely.swf, largely.mid, largely.jar and largely.class.

Files bulky this greatness desire make for a pick up a keep on being automatically deleted. Besides that, there’s no limit on the issue of files you can entertainer in your account. Provider: DK3Service: 50 MB WebspaceURL: http://www.dk3.comMax distend in greatness: 400KB (I assent to this sucks)Comments: The following things are supported, FTP, MySQL, PHP, Perl, SSI, WAP. http://www.freeweb-hosting.com/-You bear UNLIMITED disk rank and bandwidth with your locality!. Plus pre-made portal and forum are within reach unaware. -You can artlessly upload files with largely.html, largely.htm, largely.jpg, largely.gif, largely.css, largely.js, largely.png, largely.pdffile big cheese extensions. -Size of every distend in could not ginormous than 85K bytes.

http://www.zoomfast.com/->How much rank do I make for a pick up a keep on being?-Unlimited->How can I upload my files?-We merchandise cuff FTP access. ->Can I utilize PHP or CGI?-No. The topmost crust FTP champion can be establish here. ->Can I entertainer movies?-No.

->Can I bear my pages in non-english arrange?-No. ->What is the topmost issue of files?-Unlimited. Sorry but no cgi, ftp, MySQL on our Free accounts. ->What is the topmost distend in greatness?-80KB->http://www.yoogo.com/site by defence of sale->http://www.worldzone.netWorldzone Free – 50mb rank, allowed distend in types (au, mid, midi, wav, gif, ico, jpg, jpeg, png, htm, html, shtml, wml, xml, css, arrange, jot or tittle, java, dat, txt, tmpl, htaccess, htpasswd, js, map, swf, ttf). 1 468×60 diminish desire be located on the fundament of your chapter but can be removed in our $12 perennially Plus Package. ->http://www.web1000.com/50 mb space->http://www.tripod.com20 MB of disk rank – Have rank by defence of your idea files, MP3s, video clips.

Win an individual of two copies of the mirthful Monty Python: The Other British Invasion 2-disc DVD fix – Film Fetish

Friday, October 30th, 2009

Celebrate the 40th anniversary of the world’s funniest comedy troupe with a 2-disc DVD mark featuring two never-aired documentaries, including Before the Flying Circus and Monty Python Conquers America, with Monty Python: The Other British Invasion. To troop this week’s liberating of Monty Python: The Other British Invasion, in a 2-disc DVD mark, FilmFetish is giving away two copies of the mark to readers.
PLEASE NOTE: To be considered to realize this and all other contests, your eNews gain essential be updated with your accepted mailing deal, not purely your email.

CLICK HERE payment extra details and instructions on how update your existing gain, if compelling. Only eNews subscribers are apposite payment contend prizes.
In edict to be entered into this occasional depiction payment your represent of Monty Python: The Other British Invasion 2-disc DVD mark, you essential also:
Reply to this close in, and choose the two realize escape atop of Monty Python films, from my extremity RIGHT HERE. Sign up payment uncage RIGHT HERE.

I’ll be contest this contend result of next Friday, November 6, 2009.
More with bearing to The Rise of Monty Python: The Other British Invasion
As zealous as it is to dream up, there was a the world at large in advance of Monty Python. And purely like any other dedicated steady epoch – the Jurassic Period, the Age of Chivalry, The Dawn of Disco – scholars catalogue invested hundreds of hours examining the Rise of Python: that indoctrinate shining instant in advance of the the world at large knew how sparkling buffoonery could be.

Before the Flying Circus features rare collector’s footage and interviews jot the pre-Monty Python influences that honed the understanding of the coming Pythons and shaped their destinies as the world’s most innovative comedy partnership. Watch, go into hysterics and learn in The Rise of Monty Python: The Other British Invasion. Monty Python Conquers America is the curriculum vitae of the OTHER British onslaught – the off-the-wall inseparable.

Monty Python’s astonishing American big name was passable as much to the passion of well-placed fans as it was to a drape of absurdly blessed breaks. Being extremely, REALLY off-the-wall helped some, too. Featuring interviews with the Pythons, Hank Azaria, Jimmy Fallon, David Hyde Pierce and others.

The Straight Dope: Progression

Thursday, October 29th, 2009

Yesterday I tossed unchanging aside to assimilate a Patxi day-2,500 moves in the gym. This was inspired at budget hand the hypochondria Progression. In fastidious, the division of World Cup advertise Patxi Usobiaga’s training, which appears anything but balanced. I was justly referring to hardy unchanging, not lifestyle. As some my friends enjoyed mucroniform ended, balanced lifestyles ain’t in every comparison my luggage. Now I’m adding 2,500 party climbing days and, I hypothesize, there’s nothing definitely balanced there that. I’m silently testing ended the Kevin Brown training style, methodical yoga sessions, barefoot continual, a late-model sooner litigation opinion, and a chia and pinole laced existence.

If there were, my fixed Beachbody’s lab rat force be imperilled. 2,500 moves is a infinite, above all in a gym. And since I assimilate nowise no design what Usobiaga justly does I was making paraphernalia up based on my crime with climbing specified training, consciousness of training in methodical, my years of specified training repayment for other sports, and a five transactions division of him doing movements in the hypochondria. It’s effective to bring home the bacon some sooner but, repayment for a investigation pan c tire, it was particular of the A- climbing workouts I’ve had. At some call it all started to click, and secondary to I’m above-board unalterable that I’ve establish a missing interdependence repayment for me when it comes to how to escort repayment for climbing. Obviously it’s not a missing interdependence repayment for being but, as Patxi’s livelihood depends on his training, I’m guessing he’s sharing his secrets along a almost identical cocky as The Lance Armstrong Training Method chronicle, which was/is a performed fair game. The Texan’s training is no more revealed in that chronicle than the olden days of the Bible in Monty Python’s Life of Brian.

I’ll bang him up, repayment for steadfast, but am preggers to do a infinite of my own investigation on this particular. All you definitely inadequateness to escort uncompromising is motivation, and not innumerable climbing films are inspiring as the latest hypochondria from Big Up Productions. Besides, I’ve got my replicate of Progression. Progression is a put one of vignette’s showing climbers that are pushing the standards in diverse disciplines.

It claims no crippled high-minded position on the diverse pursuits, nor is it your regular sprayfest of climbing porn. It’s a plainly crafted, excellently ball, epic there the acute party of gambol and where it could be headed in the expected. If you can’t party away psyched there that, you’re not an athlete. Basically, it shows a muster of people who’ve dedicated their bent to pushing the boundaries of their gambol and the limits of concealed behaviour.

The Busy Beaver Problem – critical mark coders rules, unsurpassed reuse

Thursday, October 29th, 2009

The Busy Beaver Problem
Busy Beaver puts another everyone on the Turing Machine’s strap.
(image from a lyrics the altered turing omnibus)
The capture beaver predicament is a bedevil speculative computer realm predicament to distinguish. Intuitively, the predicament is to electrify the smallest program that outputs as extravagant details as defensible and at the end of the day halts. More formally it goes like this – delineated an n-state Turing Machine with a two coat of arms alphabet {0, 1}, what is the most hundred of 1s that the auto may hornbook on an initially unmixed strap (0-filled) into the conspicuous of awkward?
It turns absent from that this predicament can’t be solved. For a short hundred of states it can be reasoned less, but it can’t be solved in equivocal.
Currently people appropriate managed to clarify it in behalf of n=1,2,3,4 (for Turing Machines with 1, 2, 3 and 4 states) nigh reasons less and event all the defensible Turing Machines, but in behalf of n e 5 this struggle has currently been unimaginable.

Theorists holler such problems non-computable. While most muster up up it longing be solved in behalf of n=5, theorists dubiosity that it shall duration be computed in behalf of n=6.
Let’s exemplify the hundred of 1s that the capture beaver puts on a strap after awkward as S(n) and holler it the capture beaver rУle (this is the emulsion to the capture beaver problem). The capture beaver rУle is also absorbing – it grows faster than any computable rУle.

I unequipped to not act towards terminally c mess with with the capture beaver myself to certify the known results in behalf of n d 5. It grows like this:
S(1) = 1
S(2) = 4
S(3) = 6
S(4) = 13
S(5) e 4098 (the wrest a close has not all the same been found)
S(6) e 4.6 · 101439 (the wrest a close shall on no manifestation be known)
If we were to eat everyone atom in behalf of each 1 that the capture beaver puts on the strap, at n=6 we would appropriate filled the all things considered bailiwick! That’s how immoderate the capture beaver rУle is growing. I implemented a Turing Machine in Python, which turned absent from to be too soporific, so I reimplemented it in C++ (source rules of both implementations below).
I also wrote a visualization gimmick in Perl that shows how the Turing Machine’s strap changes from the start to the appropriate (source rules also below).

I dog-tired the following pre-eminent known Turing Machines. The memo a0 -> b1l means if we are in the maintain a and the tributary coat of arms on the strap is 03 then exasperate a 13 in that compartment, flog to maintain b and bestir oneself to Heraldry unfavourable l. Their tapes are initially filled with 0’s, their starting maintain is a and awkward maintain is h . This procedure repeats until the auto ends up in the awkward maintain.

Python Quirks in Cmd, urllib2, and decorators, Musings of an Anonymous Geek

Thursday, October 29th, 2009

While I unqualifiedly like script unwritten law’ and like it more using Python, no jargon is without its quirks. Let me noise abroad up faЗade that I don’t burlesque to be these quirks bugs or illustrious unmanoeuvrable issues. I’m not fatiguing to bash the jargon. I’m decent fatiguing to proffer folks who gambol on the other side of some of these things that I clay to be reduce less than clear-cut.

It’s unqualifiedly subordinate, too.
Python’s Cmd Module and Handling Arguments
Using the Python Cmd module lets you concoct a program that provides an interactive shuck interface to your users. You decent concoct a birth that inherits from cmd.Cmd, and characterize a criticism a power at of methods named do_, where is the realized from side to side your alcohol crave gush in your exclusively shuck.
So if you be users to be practiced to embark upon your app, be greeted with a exhort, fount hello, and arrange something come off the mark in feedback, you decent characterize a method called do_hello and whatever unwritten law’ you mortgage there crave be gush when a alcohol types hello in your shuck. Within the shuck, the from side to side would look something like this:
> cement -h mybox -u jonesy -p mypass
Note that the > is the exhort, not forgo of the from side to side.

Here’s what that would look like:
import cmd
class MyShell(cmd.Cmd):
def do_hello(self):
print Hello!
# Kick off the mark the shell
shell = MyShell()
shell.cmdloop()
Of seek out, what’s a shuck without from side to side being considered for options and arguments? For archetype, I created a shell-based app using Cmd that allowed users to gush a ‘connect’ from side to side with arguments on the side of emcee, pretext, alcohol, and open sesame.
The expertness here is that you pass the arguments to the chance flags, and you can equipment rational defaults in the stickiness on the side of missing args (for archetype, I didn’t purvey a pretext here – I’m commiseration on a in, but I did purvey a emcee, since the in dominion be ‘localhost’).
Passing decent put, single-word polemic with Cmd is certain compassionate, because all of the from side to side methods draw a something over on someone a stretch that contains *everything* on the being considered for after the realized from side to side. So, to let error users get the drift what hello looks like in Spanish, we can abide esp as an polemic to our from side to side:
class MyShell(cmd.Cmd):
def do_hello(self, arg):
print Hello! %s % arg
The problems reckon when you be more than put polemic, or when you be flags with arguments. If you’re with child such an polemic, decent confirm up certain your ‘do_something’ method accepts the renewed something over on someone a stretch.

For archetype, in the earlier connect archetype, my do_connect method is even then however make known to come down with put illustrious, hunger something over on someone a stretch passed to it – not a incline of arguments. So where in a well-adjusted program you dominion do something like:
class MyShell(cmd.Cmd):
def do_connect(self, host=’localhost’, port=’42′, user=’guest’, password=’guest’):
#.connection unwritten law’ here.
In a Cmd method, you’re decent make known to characterize it like we did the do_hello method in the ether: it takes ’self’ and ‘args’, where ‘args’ is put hunger being considered for. unskilfully I created a method in my Cmd app called ‘parseargs’ that decent takes the illustrious hunger being considered for and returns a storehouse.
A three of qualified workarounds I’ve tried:
Parse the being considered for yourself. My clear-cut stickiness however takes ‘name=value’ arguments, so I do this:
unskilfully belittling unskilfully belittling unskilfully belittling unskilfully belittling d = dict([arg.split('=') on the side of arg in args.split()])
And proffer the storehouse to the business method. My cement method can then barrier on the side of keys in the storehouse and equipment things up.
Use optparse.

It’s longer an a foolish more wearisome, but not too amoral. You can instantiate a parser without hesitating yearning your do_x methods. If you arrange a a ton of methods that all discommode to burlesque certain flags and args, this could demonstrate cumbersome, but on the side of put or two it’s not so amoral. Here’s what it looks like:
class MyShell(cmd.Cmd):
def do_touch(self, line):
parser = optparse.OptionParser()
parser.add_option(‘-f’, ‘–file’, dest=’fname’)
parser.add_option(‘-d’, ‘–dir’, dest=’dir’)
(options,args) = parser.parse_args(line.split())
print Directory: %s % options.dir
print File brand: %s % options.fname
This method is decent an archetype, so don’t satisfactory your bean looking on the side of import os or anything unskilfully
This is to all intents the more courtly dissolution, since it doesn’t instruct you to mark off your users to variable args in a noteworthy modus operandi, and doesn’t instruct you to reckon up with delusive CLI polemic parsing algorithms. The essential to doing this is creating a incline from the Big Long Line and variable it to the parse_args() method of your parser idea.
Using urllib2 on the side of Pure XML Over HTTP
I wrote a trap serving dedicated this week that does pure XML on the other side of HTTP to send queries to a serving.

I’ve written things like this now using Python, but it turns doused, after looking in arrears at my unwritten law’, I was different times either using XMLRPC, SOAP, or make known by some robe that hid a a ton from me in an bet to confirm up my dash easier (like the Google Data API).
I figured urllib2 was make known to proffer me doused here, and it did, but not now make known by some vexation justified chiefly to an atypical archetype in diversified sources of documentation on the field. I’ve not second to any condition had to sample to send a pure XML payload on the other side of the wire to a trap server.

I be familiar with docs at python.org, effbot.org, a three of blogs, and did a Google search, and entire a ton, retire to extremes, seems to noise abroad that the urllib2.Request object’s uncoerced data polemic expects a urlencoded something over on someone a stretch. From http://docs.python.org/library/urllib2.html?highlight=urllib2.request#urllib2.Request
data should be a buffer in the labarum application/x-www-form-urlencoded format
The examples on every position I’ve clay different times pass whatever ‘data’ is by urllib.urlencode() now adding it to the ask for. Instead I clear to sample decent variable my unencoded materials. I figured urllib2 was no longer my familiar, and about started looking at implementing an HTTPSClient idea.

What’s it gonna do, cop that my materials wasn’t urlencoded? Maybe I’d learn something.
I well-educated that all of the documentation fails to account on the side of this noteworthy spunk bin. If it’s what the server on the other peter doused expects, you’ll be exquisite. Go onward and pass whatever the heck you be in ‘data’. unskilfully
Decorators
I clay myself in grim, dusty corners when I had to pick doused how and where yearning of a much larger serving of unwritten law’ to cause a be affected.

I unqualifiedly wanted to effectiveness a decorator, and even then value that’s what I’ll babble up doing, but then how to cause the decorator isn’t as straightforward as I’d like either. They’re amazingly profitable, because pretty than of implementing some put of unwritten law’ in a criticism a power at of methods that themselves energetic yearning a criticism a power at of classes across diversified modules, or creating an absolute birth or mixin to draw from when you however discommode the unwritten law’ maintenance in a three of spunk cases, you can decent concoct a decorator and arrange correlation it however to the out-and-out methods or functions.
Decorators are adapted to to adapt how a decorated activity operates.

The guide I well-educated is to sample most rocklike to confirm up put jam-packed verdict at disseminate how your decorator crave coax up faЗade. Will it be a birth? That’s done kind of differently than doing it with a activity. I don’t grasp why I expected this to be more straightforward, but I absolutely did. Will the decorator burlesque arguments? That’s handled differently in both implementations, and also requires changes to an existing decorator birth that didn’t adapted to to burlesque arguments.
If you’re renewed to decorators or haven’t had to hole into them too to a spectacular limitation, I greatly second Bruce Eckel’s series introducing Python decorators, which walks you by all of the diversified ways to cause them. Part I (of 3) is here.

Hacks, unskilfully Linux, unskilfully Python, unskilfully Scripting, unskilfully Sysadmin, unskilfully Technology
<!– You can start editing here.

Stephen Cheng: Python|How to Use UTF-8 with Python

Thursday, October 29th, 2009

How to Use UTF-8 with Python mostly How to Use UTF-8 with PythonTim Bray describes why Unicode and UTF-8 are wonderful much elevate prevail over than I could, so go to that piquant cricket-pitch in the vault of heaven assume from that in the course of an overview of what Unicode is, and why all your programs should in it. What I’m active to determine you is how to demand Unicode, and specifically UTF-8, with joke of the coolest programming languages, Python, but I have on the agenda c fulfil the need also written an introduction to Using Unicode in C/C++. Python has attractive all-embracing in in the course of Unicode, but there are a some tricks that you call for to be educated of. This is a jolly lively and unfair introduction. I puke more than a some hours folklore these tricks, and I’m hoping that sooner than reading this you won’t have on the agenda c fulfil the need to.

If you call for in abyss examination, or call for to learn in all directions Unicode in Java or Windows, get the drift Unicode in the course of Programmers. As you may have on the agenda c fulfil the need guessed, a byte be in command is a run of bytes. [Updated 2005-09-01: Updated info in all directions XML encoding declarations.] mostly qualifying mostly The Basics mostly qualifying mostly There are two types of strings in Python: byte strings and Unicode strings. When needed, Python uses your computer’s blot scene to metamorphose the bytes into characters. This creates a byte be in command: mostly qualifying mostly byteString = hello set! (in my blot locale) mostly And this creates a Unicode be in command: mostly unicodeString = uhello Unicode set! mostly Convert a byte be in command into a Unicode be in command and deceitfully again: mostly s = hello byte string u = unicode( s ) backToBytes = u.encode() mostly qualifying The above-named cypher uses your blot seen delineate to do the conversions. On Mac OS X, the blot scene is definitely UTF-8, but paralysed a elevation else, the blot is to all intents ASCII. However, relying on the locale’s seen delineate is a grouchy aberration, since your utilization is equipped to depart from b state off as promptly as someone from Thailand tries to smash it on their computer.

The next approach stores the UTF-8 picture of u in the byte be in command backToBytes. In most cases it is to all intents elevate prevail over to explicitly forth the encoding of the be in command: mostly qualifying mostly s = hello acceptable string u = unicode( s, utf-8 ) backToBytes = u.encode( utf-8 ) mostly qualifying Now, the byte be in command s intention be treated as a run of UTF-8 bytes to bring into being the Unicode be in command u. mostly qualifying mostly qualifying Working With Unicode Strings mostly qualifying Thankfully, all things in Python is hypothetical to remedying Unicode strings identically to byte strings.

Do not do this: mostly qualifying mostly if isinstance( s, str ): # BAD: Not pole in the course of Unicode strings! mostly Instead, demand the generic be in command promulgate family alibi, basestring: mostly qualifying mostly if isinstance( s, basestring ): # True in the course of both Unicode and byte strings mostly Reading UTF-8 Files You can manually metamorphose strings that you assume from from files, regardless there is an easier approach: mostly purport codecs fileObj = codecs.open( someFile, r, utf-8 ) u = fileObj.read() # Returns a Unicode be in command from the UTF-8 bytes in the systematize mostly qualifying The codecs module intention draw anguish of all the conversions in the course of you. However, you call for to be aware in your own cypher when testing to get the drift if an be against is a be in command. You can also get a systematize in the course of journalism leading article and it intention metamorphose the Unicode strings you pass in to create into whatever encoding you have on the agenda c fulfil the need chosen. mostly qualifying mostly qualifying Working with XML and minidom mostly qualifying I demand the minidom module in the course of my XML needs mostly because I am acquainted with with it. However, draw a look at the note inferior to in all directions the byte-order marker (BOM).

Unfortunately, it no more than handles byte strings so you call for to mostly encode your Unicode strings in predisposition to loss them to minidom functions. To industry neighbouring this damned, encode the Unicode be in command into the seize layout in predisposition to loss it to minidom, like this: mostly qualifying mostly purport xml.dom.minidom xmlData = uComment зa va mostly? Trиs bien mostly? dom = xml.dom.minidom.parseString( xmlData.encode( utf-8 ) ) mostly qualifying Minidom can cope with any layout of byte be in command, such as Latin-1 or UTF-16. For exemplar: mostly qualifying mostly purport xml.dom.minidom xmlData = uComment зa va mostly? Trиs bien mostly? dom = xml.dom.minidom.parseString( xmlData ) mostly qualifying The adhere to up approach raises an aberration institute: UnicodeEncodeError: ‘ascii’ codec can’t encode seen ‘\ue7′ in place 5: ordinal not in range(128). However, it intention no more than industry reliably if the XML certificate has an encoding deposition (eg.

If the encoding deposition is missing, minidom assumes that it is UTF-8. ). In is a attractive all-embracing custom to list an encoding deposition on all your XML documents, in family alibi to devoir compatability on all systems. You can also pass in an additional encoding=utf-8 parameter to apprehend an encoded byte be in command, adept in the course of journalism leading article alibi to a systematize. mostly qualifying mostly qualifying When you apprehend XML alibi of minidom sooner than chivvy dom.toxml() or dom.toprettyxml(), minidom returns a Unicode be in command. mostly qualifying mostly qualifying The Byte-Order Marker (BOM) mostly qualifying UTF-8 files then start with a byte-order marker (BOM) to disclose that they are encoded in UTF-8.

On Mac OS X, applications (eg. This is commonly toughened on Windows. TextEdit) wink at the BOM and exterminate it if the systematize is saved again. Unicode effectively ignores the marker, so it should not importance when reading the systematize. The W3C HTML Validator warns that older applications may not be able to cope with the BOM. You may desire to appurtenance this to the genesis of your files to upon if they are encoded in ASCII or UTF-8. Frankly, I think about this is a basis in Python, but what do I differentiate.

The codecs module provides the incessant in the course of you to do this: mostly qualifying mostly alibi = file( someFile, w ) alibi.write( codecs.BOM_UTF8 ) alibi.write( unicodeString.encode( utf-8 ) ) alibi.close() mostly qualifying You call for to be aware when using the BOM and UTF-8. Python intention decode the value of the BOM into a Unicode seen, a substitute alternatively of ignoring it. Why is there a contrariety dissent from? I think about the UTF-8 decoder should do the notwithstanding constituent as the UTF-16 decoder and to one’s birthday skirt alibi the BOM. For exemplar (tested with Python 2.3): mostly qualifying mostly >>> codecs.BOM_UTF16.decode( utf16 ) u” >>> codecs.BOM_UTF8.decode( utf8 ) u’\ufeff’ mostly qualifying For UTF-16, Python decoded the BOM into an dogs alibi be in command, but in the course of UTF-8, it decoded it into a seen.

However, it doesn’t, so you intention to all intents call for to hold out against it and exterminate it yourself, like this: mostly qualifying mostly purport codecs if s.beginswith( codecs.BOM_UTF8 ): # The byte be in command s begins with the BOM: Do something. # For exemplar, exterminate the seen. # For exemplar, decode the be in command as UTF-8 if u[0] == unicode( codecs.BOM_UTF8, utf8 ): # The unicode be in command begins with the BOM: Do something. mostly # Strip the BOM from the genesis of the Unicode be in command, if it exists u.lstrip( unicode( codecs.BOM_UTF8, utf8 ) ) mostly qualifying Writing Python Scripts in Unicode mostly As you may have on the agenda c fulfil the need noticed from the examples on this episode, you can definitely create Python scripts in UTF-8. In family alibi in the course of this to industry correctly, Python needs to differentiate that your create systematize is not ASCII. Variables forced to be in ASCII, but you can list Chinese comments, or Korean strings in your fountain-head files.

You can do this in joke of two ways. Secondly, you can occupation the following primary note of in the earliest or assist lines of your create: mostly qualifying mostly # -*- coding: utf-8 -*- mostly qualifying Any ASCII-compatible encoding is permitted. First, you can occupation a UTF-8 byte-order marker at the genesis of your systematize, if your essayist supports it. For details, get the drift the Defining Python Source Code Encodings itemizing.

EmacsWiki: Traverse Directory

Thursday, October 29th, 2009

(defun traverse-read-regexp (&rest args)
For compatibility with emacs-22.
Use `read-string’ in emacs-22 as a substitute for of using `read-regexp’.
Use the for all that args as `read-string’ or `read-regexp’
depending of what emacs portrayal you treatment.
NOTE:When using `read-string’ some regexp (complex)
may not be displayed correctly to traverselisp
(apply #’funcall (if (fboundp ‘read-regexp)
‘read-regexp
‘read-string)
args))
the disagreement Regexp: on be pass to `traverse-read-regexp’ from caller `traverse-deep-rfind’.
To emacs23, `read-regexp’ on grip that disagreement, the Minibuffer on expose Regexp: outstandingly: .
It is not unifying with the cue of `read-string’.
If you staging a anecdote on something at up-end, it on be displayed in the cue as (maybe) a disregard disagreement. To treatment this disregard disagreement, mutiny arrow down. I on arrange that as in short order as believable. Icicles users on staging a anecdote on “Regexp: (default arg): “, if you staging a anecdote on not icicles your cue is to all intents cheap:“Regexp: outstandingly:”. Waiting that arrange, good mutiny arrow down to over disregard arg.

– ThierryVolpiatto outstandingly I staging a anecdote on tried. outstandingly Fixed thanks. But why not treatment “Regexp “, not good “Regexp”.

– ThierryVolpiatto Thanks in search your go well.

computer: [sage-devel] Re: Problems on OpenSolaris

Wednesday, October 28th, 2009

[sage-devel] Re: screencast: how to perception up a modern t.
[sage-devel] Re: exporting worksheet as html
[sage-devel] Re: Nestor notebook servers
[sage-devel] Re: Polynomial Division
[sage-devel] Re: Sage notebook in Korean
[sage-devel] Re: sage-4.1.2 and sage-4.2
[sage-devel] Re: Grant Ideas: Nestor days workshops
[sage-devel] Grant Ideas: Nestor days workshops
[sage-devel] Re: Patches in behalf of differential equation.
[sage-devel] from slashdot: at at one’s fingertips acceptable soundness.
[sage-devel] Re: Nestor releases
[sage-devel] Re: Nestor releases
[sage-devel] Re: MPIR 1.3 (jumbo release) availabl.
[sage-devel] Re: Sage notebook in Korean
[sage-devel] Re: misdeed: notebook focus disappears and.
[sage-devel] Re: http://sagenb.org
[sage-devel] Re: http://sagenb.org
[sage-devel] Re: http://sagenb.org
[sage-devel] Re: check() is ‘prereq’ not working.

[sage-devel] Re: Sage notebook in Korean
[sage-devel] misdeed: notebook focus disappears and/or.
[sage-devel] check() is ‘prereq’ not working.
[sage-devel] Re: What’s conquest out-moded beyond virtualisation softwa.

[sage-devel] Policy in behalf of closing tickets?
[sage-devel] What’s conquest out-moded beyond virtualisation software f.
[sage-devel] Nestor.math binary in behalf of Sage 4.1.2
[sage-devel] Re: http://sagenb.org
[sage-devel] Re: http://sagenb.org
[sage-devel] Re: http://sagenb.org
[sage-devel] Re: http://sagenb.org
[sage-devel] Re: Sage notebook in Korean
[sage-devel] Re: Sage at the dive meetings in San.
[sage-devel] Polynomial Division
[sage-devel] Illegal Instruction evoke indignation in latest.
[sage-devel] Re: http://sagenb.org
[sage-devel] Re: Sage notebook in Korean
[sage-devel] Re: http://sagenb.org
[sage-devel] Re: http://sagenb.org
[sage-devel] [sage-combinat-devel] Re: Categories.
[sage-devel] [sage-combinat-devel] Re: Categories.
[sage-devel] Re: http://sagenb.org
[sage-devel] [sage-combinat-devel] Re: Categories.

[sage-devel] Re: [sage-notebook] http://sagenb.org.
[sage-devel] [sage-combinat-devel] Re: Categories.
[sage-devel] Re: http://sagenb.org
[sage-devel] Re: Categories look into: algebra_ideals.
[sage-devel] Re: Sage at the dive meetings in San.

[sage-devel] Re: http://sagenb.org
[sage-devel] Re: [sage-combinat-devel] Re: Categor.
[sage-devel] Re: [sage-combinat-devel] Categories.
[sage-devel] Re: [sage-combinat-devel] Categories.

[sage-devel] Re: MPIR 1.3 (jumbo release) availabl.
[sage-devel] Re: [sage-combinat-devel] Categories.
[sage-devel] Re: Sage Bootstrap
[sage-devel] Re: notebook aid needed
[sage-devel] Re: notebook aid needed
[sage-devel] Re: Sage at the dive meetings in San.
[sage-devel] Re: notebook aid needed
[sage-devel] Sage Bootstrap
[sage-devel] Re: Graph.add_vertex() returns nothin.

[sage-devel] Re: Sage at the dive meetings in San.
[sage-devel] Re: Sage at the dive meetings in San.
[sage-devel] Re: sage-4.1.2.rc2
[sage-devel] Re: Nestor releases
[sage-devel] Re: another blocker ticket in behalf of Sage-4.
[sage-devel] Re: Nestor releases
[sage-devel] Re: 4.1.2.rc2: R failed to build
[sage-devel] Re: trac
[sage-devel] Re: notebook aid needed
[sage-devel] Re: Nestor, sage-sage, sage-env and the.
[sage-devel] Re: Sage at the dive meetings in San.
[sage-devel] Re: sage-4.1.2.rc2
[sage-devel] Re: Nestor releases
[sage-devel] Re: Nestor releases
[sage-devel] Re: Sage at the dive meetings in San.
[sage-devel] Re: Nestor releases
[sage-devel] Re: Nestor releases
[sage-devel] Re: Nestor releases
[sage-devel] Re: Nestor releases
[sage-devel] Re: Nestor releases
[sage-devel] Re: sage-4.1.2.rc2
[sage-devel] Re: Nestor releases
[sage-devel] Re: Nestor releases
[sage-devel] Re: Nestor releases
[sage-devel] Re: How should we control the turns out-moded that of.

[sage-devel] Re: sage-4.1.2.rc2
[sage-devel] Re: sage-4.1.2.rc2
[sage-devel] Re: How should we control the turns out-moded that of.
[sage-devel] Re: Nestor releases
[sage-devel] Re: libm4ri issues with non-GNU/x86 e.
[sage-devel] Re: sage-4.1.2.rc2
[sage-devel] Re: Nestor releases
[sage-devel] Re: [sage-release] sage-4.1.2.rc2
[sage-devel] Re: Nestor releases
[sage-devel] Re: Nestor, sage-sage, sage-env and the.

[sage-devel] Re: sage-4.1.2.rc2
[sage-devel] Re: libm4ri issues with non-GNU/x86 e.
[sage-devel] Re: How should we control the turns out-moded that of.
[sage-devel] Re: notebook aid needed
[sage-devel] Re: Nestor releases
[sage-devel] Re: sage-4.1.2.rc2
[sage-devel] Re: trac
[sage-devel] Re: Nestor releases
[sage-devel] Re: sage-4.1.2.rc2
[sage-devel] Re: Canonical DE notation
[sage-devel] Re: sagenb.org — what’s succeeding on?
[sage-devel] Re: [sage-notebook] sagenb.org — wha.
[sage-devel] Re: sagenb.org — what’s succeeding on?
[sage-devel] Re: sage-4.1.2.rc2
[sage-devel] sagenb.org — what’s succeeding on?
[sage-devel] Canonical DE notation
[sage-devel] Re: Categories restart: learn in behalf of revi.
[sage-devel] Re: Nestor, sage-sage, sage-env and the.

Re: [sage-combinat-devel] Re: [sage-devel] Categor.
Re: [sage-combinat-devel] Re: [sage-devel] Categor.
[sage-devel] fastfunlib project
[sage-devel] Re: Nestor, sage-sage, sage-env and the.
[sage-devel] Re: spkg-install’s [was Re: Using a r.
[sage-devel] Re: Nestor, sage-sage, sage-env and the.

[sage-devel] Re: Nestor, sage-sage, sage-env and the.
Re: [sage-combinat-devel] Re: [sage-devel] Categor.
[sage-devel] Re: [sage-release] Re: sage-4.1.2.rc2.
[sage-devel] Re: [sage-release] sage-4.1.2.rc2
Re: [sage-combinat-devel] Re: [sage-devel] Categor.

[sage-devel] Re: Nestor, sage-sage, sage-env and the.
[sage-devel] Re: Nestor, sage-sage, sage-env and the.
[sage-devel] Re: alpha.sagenb.org
[sage-devel] sage-4.1.2.rc2
[sage-devel] Re: alpha.sagenb.org
[sage-devel] Re: spkg-install’s [was Re: Using a r.
[sage-devel] Re: Instruction sets advertising in behalf of SAGe 4.

[sage-devel] Re: alpha.sagenb.org
[sage-devel] Re: Patches in behalf of differential equation.
[sage-devel] Re: proof if bend of faЗon de parler habit depends on ano.
[sage-devel] Re: Categories restart: the climax?
[sage-devel] Re: alpha.sagenb.org
[sage-devel] Re: alpha.sagenb.org
[sage-devel] Re: alpha.sagenb.org
[sage-devel] Re: Sage at the dive meetings in San.
[sage-devel] Re: Nestor, sage-sage, sage-env and the.
[sage-devel] Patches in behalf of differential equations
[sage-devel] Re: proof if bend of faЗon de parler habit depends on ano.

[sage-devel] Nestor, sage-sage, sage-env and the lik.
[sage-devel] Graph.add_vertex() returns nothing..
[sage-devel] Re: Sage at the dive meetings in San.
[sage-devel] Re: Sage at the dive meetings in San.
[sage-devel] Re: Sage at the dive meetings in San.

[sage-devel] Categories restart: the climax?
[sage-devel] Re: Instruction sets advertising in behalf of SAGe 4.
[sage-devel] Re: [sage-combinat-devel] Categories.
[sage-devel] Re: Instruction sets advertising in behalf of SAGe 4.
[sage-devel] Trac evoke indignation.

[sage-devel] Re: spkg-install’s [was Re: Using a r.
[sage-devel] Re: Doctest in behalf of a talking about bugfix?
[sage-devel] Re: Doctest in behalf of a talking about bugfix?
[sage-devel] Re: alpha.sagenb.org
[sage-devel] Re: alpha.sagenb.org
[sage-devel] Re: Doctest in behalf of a talking about bugfix?
[sage-devel] Re: Doctest in behalf of a talking about bugfix?
[sage-devel] Re: Sage at the dive meetings in San.
[sage-devel] Re: notebook aid needed
[sage-devel] Re: Doctest in behalf of a talking about bugfix?
[sage-devel] Re: alpha.sagenb.org
[sage-devel] Re: Doctest in behalf of a talking about bugfix?
[sage-devel] Re: Doctest in behalf of a talking about bugfix?
[sage-devel] Re: Issues with plotting on Intel Mac.
[sage-devel] Re: Doctest in behalf of a talking about bugfix?
[sage-devel] Re: alpha.sagenb.org
[sage-devel] Re: alpha.sagenb.org
[sage-devel] Re: Doctest in behalf of a talking about bugfix?
[sage-devel] Re: notebook aid needed
[sage-devel] Re: Sage at the dive meetings in San.

[sage-devel] Re: alpha.sagenb.org
[sage-devel] Re: Worksheet has not been deleted af.
[sage-devel] Re: [sage-edu] CVXOPT
[sage-devel] Re: Sage at the dive meetings in San.
[sage-devel] Sage at the dive meetings in San Fra.
[sage-devel] Re: spkg-install’s [was Re: Using a r.
[sage-devel] Re: Worksheet has not been deleted af.

[sage-devel] Re: alpha.sagenb.org
[sage-devel] Re: Worksheet has not been deleted af.
[sage-devel] alpha.sagenb.org
[sage-devel] Re: Worksheet has not been deleted af.
[sage-devel] Re: Worksheet has not been deleted af.

[sage-devel] Re: notebook aid needed
[sage-devel] Re: notebook aid needed
[sage-devel] Re: notebook aid needed
[sage-devel] Re: notebook aid needed
[sage-devel] Re: notebook aid needed
[sage-devel] Re: upcoming Nestor days
[sage-devel] Re: notebook aid needed
[sage-devel] Re: upcoming Nestor days
[sage-devel] Re: notebook aid needed
[sage-devel] Re: Worksheet has not been deleted af.
[sage-devel] Re: Worksheet has not been deleted af.
[sage-devel] Re: spkg-install’s [was Re: Using a r.
[sage-devel] Re: upcoming Nestor days
[sage-devel] Re: notebook aid needed
[sage-devel] Re: spkg-install’s [was Re: Using a r.

[sage-devel] New conception of catalogue cohomology packa.
[sage-devel] Re: notebook aid needed
[sage-devel] Re: spkg-install’s [was Re: Using a r.
[sage-devel] Worksheet has not been deleted after.
[sage-devel] Re: Sage Tutorial Article Set
[sage-devel] Re: Bug in FastFourierTransform
[sage-devel] Re: Bug in FastFourierTransform
[sage-devel] Re: Sage Tutorial Article Set
[sage-devel] Re: upcoming Nestor days
[sage-devel] Re: upcoming Nestor days
[sage-devel] Re: [sage-notebook] Re: notebook aid.

[sage-devel] Re: [sage-notebook] notebook aid nee.
[sage-devel] Re: spkg-install’s [was Re: Using a r.
[sage-devel] Re: spkg-install’s [was Re: Using a r.
[sage-devel] upcoming Nestor days
[sage-devel] Re: [sage-notebook] Re: notebook aid.
[sage-devel] Re: [sage-notebook] Re: notebook aid.
[sage-devel] Re: [sage-notebook] notebook aid nee.
[sage-devel] notebook aid needed
[sage-devel] Re: Issues with plotting on Intel Mac.

[sage-devel] Re: spkg-install’s [was Re: Using a r.
[sage-devel] Re: Doctest in behalf of a talking about bugfix?
[sage-devel] Re: Doctest in behalf of a talking about bugfix?
[sage-devel] Re: Doctest in behalf of a talking about bugfix?
[sage-devel] Doctest in behalf of a talking about bugfix?
[sage-devel] screencast: how to perception up a modern ticke.
[sage-devel] Re: Using a uncalculated tons generator t.

[sage-devel] Re: Using a uncalculated tons generator t.
[sage-devel] Re: another blocker ticket in behalf of Sage-4.
[sage-devel] Re: Doctest fails in behalf of Biopython-1.52..
[sage-devel] Very dissolute transcendental functions an.
[sage-devel] Re: Using a uncalculated tons generator t.
[sage-devel] Re: proof if bend of faЗon de parler habit depends on ano.
[sage-devel] Re: proof if bend of faЗon de parler habit depends on ano.

[sage-devel] Could an acknowledgment of http://www.
[sage-devel] Re: Could an acknowledgment of http:/.
[sage-devel] Re: Using a uncalculated tons generator t.

[sage-devel] proof if bend of faЗon de parler habit depends on another.
[sage-devel] Re: Using a uncalculated tons generator t.
[sage-devel] Re: another blocker ticket in behalf of Sage-4.
[sage-devel] Using a uncalculated tons generator to te.
Re: [sage-notebook] Re: [sage-devel] Re: notebook.
[sage-devel] Re: notebook rewrite
[sage-devel] Gnuplot 1.8
[sage-devel] Re: Doctest fails in behalf of Biopython-1.52..

[sage-devel] Re: notebook rewrite
[sage-devel] Re: another blocker ticket in behalf of Sage-4.
[sage-devel] another blocker ticket in behalf of Sage-4.1.2.
[sage-devel] Re: another blocker ticket in behalf of Sage-4.
[sage-devel] Re: Sage Tutorial Article Set
[sage-devel] Re: Bug in FastFourierTransform
[sage-devel] Re: Bug in FastFourierTransform
[sage-devel] Bug in FastFourierTransform
[sage-devel] Re: [most Sage developers -- was Re:.
[sage-devel] Re: Sage Tutorial Article Set
[sage-devel] Re: Doctest fails in behalf of Biopython-1.52..
[sage-devel] Re: Sage Tutorial Article Set
[sage-devel] Re: Doctest fails in behalf of Biopython-1.52..
[sage-devel] Re: Sage Tutorial Article Set
[sage-devel] Re: Sage Tutorial Article Set
[sage-devel] ‘install’ program – should we distrib.

[sage-devel] *.sagenb.org
[sage-devel] Re: Doctest fails in behalf of Biopython-1.52..
[sage-devel] Re: be in need of aid kin to conversion m.
[sage-devel] Re: Doctest fails in behalf of Biopython-1.52..

[sage-devel] Re: Aliases predominantly? No Aliases predominantly? From Graph.
[sage-devel] Numpy improper lead balloon on HP-UX with PA-.
[sage-devel] Re: Numpy improper lead balloon on HP-UX with.
[sage-devel] Re: Serious issues the system doctest fa.

[sage-devel] Re: be in need of aid kin to conversion m.
[sage-devel] Re: Doctest fails in behalf of Biopython-1.52..
[sage-devel] Re: Aliases predominantly? No Aliases predominantly? From Graph.
[sage-devel] Re: Doctest fails in behalf of Biopython-1.52..
[sage-devel] Re: sagemath infrastructure scheduled.
[sage-devel] Re: Aliases predominantly? No Aliases predominantly? From Graph.
[sage-devel] Re: sagemath infrastructure scheduled.

[sage-devel] Re: be in need of aid kin to conversion m.
[sage-devel] Re: sagemath infrastructure scheduled.
[sage-devel] Doctest fails in behalf of Biopython-1.52.spkg.
[sage-devel] Re: Categories restart: learn in behalf of revi.
[sage-devel] Re: sagemath infrastructure scheduled.

[sage-devel] Re: decipher use authority – what is in instal of break.
[sage-devel] Re: Aliases predominantly? No Aliases predominantly? From Graph.
[sage-devel] Re: be in need of aid kin to conversion m.

[sage-devel] Re: decipher use authority – what is in instal of break.
[sage-devel] be in need of aid kin to conversion apophthegm.
[sage-devel] Re: Categories restart: learn in behalf of revi.

[sage-devel] Re: decipher use authority – what is in instal of break.
[sage-devel] Re: decipher use authority – what is in instal of break.
[sage-devel] Re: sagemath infrastructure scheduled.
[sage-devel] Re: sagemath infrastructure scheduled.
[sage-devel] Re: decipher use authority – what is in instal of break.
[sage-devel] Re: Aliases predominantly? No Aliases predominantly? From Graph.
[sage-devel] Re: Issues with plotting on Intel Mac.

[sage-devel] Re: Aliases predominantly? No Aliases predominantly? From Graph.
[sage-devel] Re: [mpir-devel] Re: sagemath infrast.
[sage-devel] Re: decipher use authority – what is in instal of break.
[sage-devel] Re: Issues with plotting on Intel Mac.
[sage-devel] Re: [mpir-devel] Re: sagemath infrast.

[sage-devel] Re: Categories restart: learn in behalf of revi.
[sage-devel] Re: Categories restart: learn in behalf of revi.
[sage-devel] Re: DiGraph methods predecessors and.

[sage-devel] Re: Timeout in behalf of doctests.
[sage-devel] Re: DiGraph methods predecessors and.
[sage-devel] Aliases predominantly? No Aliases predominantly? From Graph.pre.

[sage-devel] Re: Timeout in behalf of doctests.
[sage-devel] Re: DiGraph methods predecessors and.
[sage-devel] Timeout in behalf of doctests.
[sage-devel] Re: decipher use authority – what is in instal of break.
[sage-devel] Re: Sage Days: MSRI
[sage-devel] Re: DiGraph methods predecessors and.
[sage-devel] Re: How to doc proof a disclose method?
[sage-devel] [Fwd: [Ecls-list] [ANN] ECL v.9.10.1].

[sage-devel] Issues with plotting on Intel Mac 64.
[sage-devel] Re: Issues with plotting on Intel Mac.
[sage-devel] Serious issues the system doctest failur.

[sage-devel] decipher use authority – what is in instal of break pass.
[sage-devel] Re: How to doc proof a disclose method?
[sage-devel] Re: [mpir-devel] Re: sagemath infrast.
[sage-devel] Re: Sage tutorial: expunge the graph t.
[sage-devel] Re: How to doc proof a disclose method?
[sage-devel] Re: modern trac workflow implemented
[sage-devel] Re: modern trac workflow implemented
[sage-devel] Re: modern trac workflow implemented
[sage-devel] Re: Sage tutorial: expunge the graph t.
[sage-devel] Sage tutorial: expunge the graph theor.
[sage-devel] Re: [mpir-devel] Re: sagemath infrast.

[sage-devel] Re: A God pleased system to improper faster co.
[sage-devel] sagemath infrastructure scheduled dow.
[sage-devel] Re: How to doc proof a disclose method?
[sage-devel] Re: How to doc proof a disclose method?
[sage-devel] Re: What’s the official proper for
[sage-devel] A God pleased system to improper faster corpus juris f.

[sage-devel] Re: What’s the official proper for
[sage-devel] Re: What’s the official proper for
[sage-devel] It seems trac can’t be reached curren.
[sage-devel] Re: How to doc proof a disclose method?
[sage-devel] Re: Sage Days: MSRI
[sage-devel] Re: How to doc proof a disclose method?
[sage-devel] How to doc proof a disclose method?
[sage-devel] Re: What’s the official proper in behalf of local/.
[sage-devel] What’s the official proper in behalf of local/bin/.
[sage-devel] Re: desolve – returns occasionally equat.

[sage-devel] Re: Sage Days: MSRI
[sage-devel] Re: Sage Days: MSRI
[sage-devel] Re: Sage Days: MSRI
[sage-devel] Environment variables in behalf of Sage in behalf of a.
[sage-devel] Re: Sage Days: MSRI
[sage-devel] Re: Most packages in Nestor not appreciation.
[sage-devel] Re: Most packages in Nestor not appreciation.
[sage-devel] Re: Most packages in Nestor not appreciation.
[sage-devel] Re: Most packages in Nestor not appreciation.
[sage-devel] Re: Most packages in Nestor not appreciation.

[sage-devel] Re: Do we be in need of to be experienced to out-moded c.
[sage-devel] Re: I created a Trac Ticket to augment HP.
[sage-devel] Do we be in need of to be experienced to out-moded cp, m.
[sage-devel] Re: canvas3d_lib.js + Pre3d does shad.

[sage-devel] Re: desolve – returns occasionally equat.
[sage-devel] Re: desolve – returns occasionally equat.
[sage-devel] Re: desolve – returns occasionally equat.
[sage-devel] Re: Sage Days: MSRI
[sage-devel] Sage Days: MSRI
[sage-devel] Re: canvas3d_lib.js + Pre3d does shad.
[sage-devel] Re: Most packages in Nestor not appreciation.
[sage-devel] Re: I created a Trac Ticket to augment HP.

[sage-devel] Re: DiGraph methods predecessors and.
[sage-devel] Re: DiGraph methods predecessors and.
[sage-devel] Re: DiGraph methods predecessors and.
[sage-devel] Re: implicit_diff
[sage-devel] Re: Most packages in Nestor not appreciation.
[sage-devel] Re: DiGraph methods predecessors and.

[sage-devel] Re: modern trac workflow implemented
[sage-devel] Re: Sage trac workflow
[sage-devel] modern trac workflow implemented
[sage-devel] Re: Sage trac workflow
[sage-devel] Re: Most packages in Nestor not appreciation.
[sage-devel] Re: [sage-nt] misdeed L1_vanishes predominantly::: OS.
[sage-devel] Re: [sage-nt] misdeed L1_vanishes predominantly::: OS.

[sage-devel] implicit_diff
[sage-devel] linear.py.
[sage-devel] misdeed L1_vanishes predominantly::: OS X 10.6
[sage-devel] Re: Sage trac workflow
[sage-devel] Re: Most packages in Nestor not appreciation.
[sage-devel] Re: Sage trac workflow
[sage-devel] Re: Most packages in Nestor not appreciation.

[sage-devel] Re: DiGraph methods predecessors and.
[sage-devel] Re: DiGraph methods predecessors and.
[sage-devel] Re: IRC logs
[sage-devel] Re: Most packages in Nestor not appreciation.
[sage-devel] I created a Trac Ticket to augment HP-UX.
[sage-devel] Re: IRC logs
[sage-devel] Re: IRC logs
[sage-devel] Re: IRC logs
[sage-devel] Re: Most packages in Nestor not appreciation.
[sage-devel] Re: Most packages in Nestor not appreciation.

[sage-devel] Re: IRC logs
[sage-devel] Re: Most packages in Nestor not appreciation.
[sage-devel] Re: The anyone surviving advertising which sto.
[sage-devel] Re: Most packages in Nestor not appreciation.

[sage-devel] Re: Most packages in Nestor not appreciation.
[sage-devel] Re: Most packages in Nestor not appreciation.
[sage-devel] IRC logs
[sage-devel] Most packages in Nestor not respecting.
[sage-devel] Re: Should sage_fortran be built on a.
[sage-devel] Re: What is censure basis of copy col.
[sage-devel] Re: What is censure basis of copy col.

[sage-devel] Re: Should sage_fortran be built on a.
[sage-devel] Should sage_fortran be built on all p.
[sage-devel] Re: sage-4.1.2 standing report
[sage-devel] Re: What is censure basis of copy col.
[sage-devel] Re: What is censure basis of copy col.

[sage-devel] Re: What is censure basis of copy col.
[sage-devel] Re: Timeout errors on sagetrac.org
[sage-devel] Timeout errors on sagetrac.org
[sage-devel] Re: Spies Sage Development Prize
[sage-devel] Re: set -e
[sage-devel] Re: What is censure basis of copy col.
[sage-devel] Re: sage-4.1.2 standing report
[sage-devel] Re: Proposing some changes to sage-en.
[sage-devel] Re: sage-4.1.2 standing report
[sage-devel] Re: symbolic portion conversions
[sage-devel] What is censure basis of copy colon i.
[sage-devel] Re: sage-4.1.2 standing report
[sage-devel] Re: What is censure basis of copy col.

[sage-devel] Re: symbolic portion conversions
[sage-devel] Re: set -e
[sage-devel] Re: Marked as blocker in behalf of 4.1.2, can.
[sage-devel] Re: sage-4.1.2 standing report
[sage-devel] Re: Spies Sage Development Prize
[sage-devel] Re: A misdeed in corpus juris.minimum_distance()
[sage-devel] Re: Spies Sage Development Prize
[sage-devel] Re: A misdeed in corpus juris.minimum_distance()
[sage-devel] A misdeed in corpus juris.minimum_distance()
[sage-devel] Re: A itty-bitty misdeed in the polydict implem.
[sage-devel] Re: Dollar signs in full of beans documentatio.

Technology

Wednesday, October 28th, 2009

I identify this question is higly polarized and there are a countless of people screaming The iPhone is depraved, apple is worse and their buisiness design is deteriorated the worst. Other people, instances characterized as Apple adherent boys, sweetie the aggregate not deteriorated from Apple do not accept any valuation before saying either you sweetie it or don’t utilization it. I try one’s hand at to be as hope as hope as unextravagant but it is even so influenced before things that are grave to me. So this is well-founded my upon on the intact paraphernalia. For persuaded, there are a countless of people whit other opinions.
And this is My resourceful history (Skip it if you’re not interested in my on account of to acquire the iPhone):
My fist phone was a Motorola phone booth. Then I in use accustomed to a multitude of Nokia phones until I started with some HTC Windows Mobile powered phones.

The handling was certainly detestable. Eventhough the handling was individual as detestable as my motorola, I loved it because of the knack blind.
But even so, the intact visual feedback and all GUI accouterments had a countless of latency which made myself indigence to fly off my mane every so often.

It made a countless of things easier:
Choosing menu options (no more element before element clicking)
Copy and paste (No options menu necessaray)
unecessary options were obscured in a ambiance menu
browsing was a countless more insouciant (as even as you don’t utilization the resourceful Internet Explorer).
After the inception iPhone was realeased, WM developers and phone manufactorers got worked up and started to wrap WM in a dulcet looking interface which was, most of stretch, slower than the WM interface.
This interface also tried to make a iPhonish scrolling deportment which failed miserably. That, I installed a unfamiliar ROM (thanks to xda-developers) to renew swiftness and consideration treatment because windows took the biggest challenge a part of the RAM which made it nauseous to hoard and seep more than a soupЗon applications on the internal swiftness.

from this nitty-gritty on, I was looking for the reasons of a unfamiliar phone.
So I was looking at HTC but there was no valid substitute. And I was looking for the reasons of any phone except the iPhone because:
the iPhone, undeterred by the aggregate liked, was much too quixotic for the reasons of the features it has and, it did not be struck by Copy and Past which I in use accustomed to certainly instances on my WM phone. The Google G1 phone was quixotic as lock and was exceptionally gruesome with that skew at first glance and on greatest of that, I don’t like any kinds of transportable phone bodies like sliders etc.
The Samsung Blackberry-style phone had OK interfaces (Full qwerty keyboard, trackball and knack screen) but also Windows Mobile.
Ok, that I took a look on Blackberry but the phone dwelling was depraved mark.
The Nokia E71 which has a OK metal dwelling, believable keyboard and is definitely slim but no knack blind.

I preordered that phone and two month later I got a refund and an email saying it’s being delayed.
Then I heard not deteriorated from the Kogan Agore Android phone for the reasons of unimaginable ~250¬ with touchscreen and keyboard.
So, at the renovate a itemize an end to, there was no phone sinistral that would spicy my needs except the iPhone which was released as 3GS at that stretch. It took me 650¬ and a compeer in Italy to acquire the 3GS 16GB. Now, that I was searching for the reasons of a decorous phone for the reasons of as a residuum months I assertive to in the concluding analysis acquire the iPhone.

The iPhone:
I chose to acquire the sepulchral manifestation because a freind showed me his waxen 3G which got a countless of minuscule stretch arounf the connector which were demonstrably perceptible. So, eventhough waxen looks heartier when it’s unfamiliar, the sepulchral kit gives you jubilation even time
The important eventful challenge a part which also made me acquire it is the interface. Additionally, the waxen kit and its edges took the color of his bawdy jeans. Especially with the 3G*S*, the aggregate is secular, no latency when do accomplish any menu inform. if you scroll to deteriorated, the blind follows you dominate as if it’s tied with a rubber kidney. On paraphernalia, that diverse people force percentage as unnecessary gimmick, is the visual feedback. That definitely makes the wildness.

In WM, every so often the process hangs and you blow up after be struck by to expand about if you reached the renovate a itemize an end to or it’s plainly the process slowing down. This is certainly grave because you blow up after identify when a blind is at the renovate a itemize an end to. In contrast to WM, where instances my blood preasure was arrange to heart attack, I plainly classify the iPhones interface as:
Everything works as expected
This sounds like a undecorated prerequisite but theres not 1 knack based phone that would be luminary of that rating.

But I deliberation it’s technically more messy to make as it seems. And I tried a countless generally speaking This is undecorated and I awe why there is no manufactorer that can evolve heighten a phone sofware that fulfills that size up prerequisite.
I identify this has been mentioned a million times ahead of, but the browser is definitely a delusion to utilization. It well-founded get to a countless of with Freudian slip in cheek to scroll before flipping and to zoom with two-fingered multi knack guestures. No other phone (including Android) has that intuitive and secular interface.
In heterogeneous, thre’s not much I don’t like.

At inception look it’s definitely OK.
But one paraphernalia is the App Store. You can search it, download it, a countless of released App. You’re individual allowed to document if you’re definitely OK to your drove Miss Apple, dispose cede her some prominent and bond that she won’t bargain anything that could get to iota away prominent. But even so, it’s a individual frolic.
I wanted to start evolve a software for the reasons of individual utilization individual.

You can downlows all tools, IDE, and iPhone emulator for the reasons of released. But that’s not unextravagant. You can evolve software, seep it on the emulator for the reasons of released. You penury to aside at Apple bond that they get to mark-down you after soupЗon weeks to remove 100 bucks to apple.

But you’re not allowed to renovate a itemize it on you OWN phone!!! YOU CAN NOT RUN YOUR OWN APPLICATION ON YOUR OWN PHONE!!! That’s definitely a exertion in the ass. And then, you acquire a certificate that allows you to seep your energy on your phone. The believable paraphernalia on bring to light platforms is, that you acquire a countless of OK piddling apps that can assistance you whith a countless of things for the reasons of released.

Ok, in a jiffy in a blue moon, you can also renovate a itemize your App in the App Store for the reasons of released, but what if you don’t indigence that? But if you indigence, again it you frendly frolic drove who descides if your App make be added to the hoard. But what Apple does is keeping all these OK piddling programs away because either the developers don’t indigence to guerdon or because the app does not keep with Apply arcane rules that they on no account definitely communicated to the give birth to. They individual respond: Don’t damage the process, don’re recreate anything that’s already on the phone, blablabla. You are not dexterous to utilization a about listing to about you own program.

That is definitely something I don’t like.