Profile

Cover photo
Guido van Rossum
Works at Dropbox
Attended University of Amsterdam
Lives in California
61,956 followers|4,584,705 views
AboutPostsPhotosVideos

Stream

Guido van Rossum

Shared publicly  - 
 
My son goes to school here. I know many of those kids.
33
Justin R. Andrusk's profile photobbosa henry's profile photoWenxiang He's profile photoAlex Tsai's profile photo
6 comments
 
hey guido how would i pronounce your name? spell it in english pronunciation 
Add a comment...

Guido van Rossum

Shared publicly  - 
 
In the memory lane department: Doing some research on Base64 led me to RFC 3548 (http://tools.ietf.org/html/rfc3548) which references as [8] a post by Zooko; however the link seems to go to the wrong post. Viewing the month of those archives (http://zgp.org/pipermail/p2p-hackers/2001-September/date.html) it's like all the usual suspects: Bram Cohen, +Gregory P. Smith, +Zooko Wilcox-O'Hearn...
[Docs] [txt|pdf] [draft-josefsson-b...] [Diff1] [Diff2] Obsoleted by: 4648 INFORMATIONAL Network Working Group S. Josefsson, Ed. Request for Comments: 3548 July 2003 Category: Informational The Base16, Base32, and Base64 Data Encodings Status of this Memo This memo provides information for the ...
34
7
Frank Alcantara's profile photoMathias Gumz's profile photoAndrew Gray's profile photoTomasz Tarczyński's profile photo
13 comments
 
+Brian Jones I haven't been able to get beyond the basics... choose a sequence a such that Σ(a[n]*π^n) = x
Now what?  : s
Add a comment...

Guido van Rossum

Shared publicly  - 
 
I was asked on Twitter why Python uses 0-based indexing, with a link to a new (fascinating) post on the subject (http://exple.tive.org/blarg/2013/10/22/citation-needed/). I recall thinking about it a lot; ABC, one of Python's predecessors, used 1-based indexing, while C, the other big influence, used 0-based. My first few programming languages (Algol, Fortran, Pascal) used 1-based or variable-based. I think that one of the issues that helped me decide was slice notation.

Let's first look at use cases. Probably the most common use cases for slicing are "get the first n items" and "get the next n items starting at i" (the first is a special case of that for i == the first index). It would be nice if both of these could be expressed as without awkward +1 or -1 compensations.

Using 0-based indexing, half-open intervals, and suitable defaults (as Python ended up having), they are beautiful: a[:n] and a[i:i+n]; the former is long for a[0:n].

Using 1-based indexing, if you want a[:n] to mean the first n elements, you either have to use closed intervals or you can use a slice notation that uses start and length as the slice parameters. Using half-open intervals just isn't very elegant when combined with 1-based indexing. Using closed intervals, you'd have to write a[i:i+n-1] for the n items starting at i. So perhaps using the slice length would be more elegant with 1-based indexing? Then you could write a[i:n]. And this is in fact what ABC did -- it used a different notation so you could write a@i|n.(See http://homepages.cwi.nl/~steven/abc/qr.html#EXPRESSIONS.)

But how does the index:length convention work out for other use cases? TBH this is where my memory gets fuzzy, but I think I was swayed by the elegance of half-open intervals. Especially the invariant that when two slices are adjacent, the first slice's end index is the second slice's start index is just too beautiful to ignore. For example, suppose you split a string into three parts at indices i and j -- the parts would be a[:i], a[i:j], and a[j:].

So that's why Python uses 0-based indexing.
740
230
Chris Dillon (Onemouse)'s profile photoAnil Kumar H P's profile photoTom van der Sommen's profile photoJeff Mandell's profile photo
20 comments
Jeff Hammond
+
19
20
19
 
Fortran gets it right, not with 1-based indexing, but with user-defined indexing. You can index a 7-element array from -3 to 3 if you want.

Guido van Rossum

Shared publicly  - 
 
Dropbox developer conference coming up! July 9, Fort Mason, San Francisco. https://www.facebook.com/Dropbox/posts/10151761640691756
DBX is coming! Here's why we're so excited for our first developer conference: http://ow.ly/m9PBl
64
7
Dalton Hubble's profile photoOmar Peralta's profile photoPedro Pezzarini's profile photoMarcos Luis Ortiz Valmaseda's profile photo
3 comments
 
Seriously, why the hating?

Guido van Rossum

Shared publicly  - 
 
OH on python-dev: "This has come up before.  Classes have metaclasses (and _prepare_). Modules have loaders.  Poor, poor functions.  Because of the same concerns you've already expressed regarding the criticality of function performance, they miss out on all sorts of fun--inside their highly optimized box looking out at the other types showing off their cool new features all the time. It just isn't fair. :)"
48
2
Mike Pelletier's profile photoDaniele Simonetti's profile photoAdrian Marius Popa's profile photoOleg Chubin's profile photo
10 comments
 
+Mike Pelletier that's what I call "workaround" (almost the opposite of "solution" )

Guido van Rossum

Shared publicly  - 
 
HALP! The Python trademark is in danger in Europe. Please help if you've used the name Python in Europe for your business.
For anyone who works in a company that has an office in a EU Community member state, we need your help. There is a company in the UK that is trying to trademark the use of the term "Python" for all so...
650
301
Pål Herman Sund's profile photoValery Djondo's profile photoFrederic Marand's profile photoRamon Maceiras's profile photo
68 comments
 
+Bill Anderson *We want have free trademarks prefixes* which could not be robbed/registered at all - it need change US law first. I could choose If I want free trademark which is not protected or registered with some protection.

Whatever to make is more serious what is "dilution" between "Coca-Cola", "Cola-Coca", "Hop-Cola", "Koka-Kola" it sometimes very subtle.

Quick solution is give prefix "Free Another X" so it give possibility use "Free Another Coca Cola" without risk of unpredictable lawyers attack - prefix should be long :)

Maybe currently is it defined as dilution == probably it is illegal - I do not know US law as good as it need to understand this but think that "dillution" with special prefixes should be introduced to allow free trademarks not only registered.

Law should be change since number of product increased and not all of us want have registered trademarks and fight to defend trademark against robbery.

It is stupid that I have to defend my trademark if I do not want and loose time instead invention - is not?
Have him in circles
61,956 people
François Pinard's profile photo
gabrutyagi008's profile photo
Lou Nash's profile photo
Chris Loft's profile photo
Rahul Krishan Ahuja's profile photo
Stephanie Parkson's profile photo
James Lecker's profile photo
Roman Evstifeev's profile photo
Zhongwei Sun's profile photo

Guido van Rossum

Shared publicly  - 
 
I was so impressed with this I am posting it to G+ and tweeting it. https://medium.com/learning-to-code/565fc9dcb329
437
258
Dev Gorur's profile photoChristopher Humphrey (RaspyDjango)'s profile photoSrikar Mannepalli's profile photoJames Stansell (Jester of Fabulous)'s profile photo
18 comments
Nick Li
 
great to read

Guido van Rossum

Shared publicly  - 
 
I just love the flowery language in this spam comment that Blogger intercepted for me:

"Its such as you learn my thoughts! You seem to grasp so much approximately this, such as you wrote the ebook in it or something. I think that you simply can do with some% to force the massage house a bit, however other than that this is magnificent blog. An excellent read. I will certainly be back." [link suppressed]
56
1
Chuck McManis's profile photoJan Bernhart's profile photoJavier Chiappa's profile photoNicholas Rumas's profile photo
11 comments
 
Is this an inverse touring test? What if the computer is just waiting to be taken seriously, like a small brilliant child?, by using more complicated language?
Add a comment...

Guido van Rossum

Shared publicly  - 
 
Do not send me email like this:

"""
Hi Guido,
 
I came across your resume in a Google web search. You seem to have an awesome expertise on Python. I would be glad if you can reply my email and let me know your interest and availability.
 
………………………..
Our client immediately needs a PYTHON Developers at its location in *, NJ. Below are the job details. If interested and available, kindly fwd me your updated resume along with the expected rate and the availability.

[...]
"""

I might reply like this:

"""
I'm not interested and not available.
"""
1767
584
Miguel Piña's profile photoMateusz Piskorz's profile photo임정섭's profile photoJoseph Wegner's profile photo
54 comments
 
Pretend that you're interested and send them a resume. Much funnier.

Guido van Rossum

Shared publicly  - 
 
I am at my wits' end. In Office 2011 on the Mac, specifically Powerpoint, how do I turn off the automatic substitution of a smiley graphic when I type ":-)" ? I have turned off every single option under AutoCorrect and it still does this. :-(
47
3
Guido van Rossum's profile photoNehemiah Dacres (dacresni)'s profile photoViktor Lieskovsky's profile photoFrançois Colas's profile photo
12 comments
 
+Jason Yeo Bingo! Thanks! The mouse-over option worked. (The Tools -> AutoCorrect didn't, I'd already tried that.) Comments closed.

Guido van Rossum

Shared publicly  - 
 
Bad user experience with Google wallet and Google apis console: getting monthly bills for $0.00. Worse user experience: being threatened with suspension of the account when the credit card expires.
136
10
Dmytro Aleksyeyenko's profile photoTitusz Pan's profile photoRino Severino's profile photoPeter, “Peter, Berlin” Rosemann's profile photo
28 comments
 
Another problem is: when I want to donate, google wallet says they do not ship to Poland. 

Guido van Rossum

Shared publicly  - 
When we first announced our trademark issues yesterday, we immediately and continually received a great outpouring of support from our community. The number of supporting emails in our inbox is tremen...
165
41
Ricardo J. Barberis's profile photoAlexandre Fayolle's profile photoTrevor Olson's profile photoFelipe Augusto de Souza's profile photo
20 comments
 
I still think their behavior is extremely uncooperative, therefore my comment "asshats will never die out" - which I consider civil, since it's very clear that python has been around forever and they're trying to monetize something they deep inside know isn't theirs, just because there might be a legal chance to do so - obviously somebody else might use a different term to describe this kind of behavior (e.g. "business school graduate standard procedure"), but to me that word describes it best. Tastes differ though.

That said, I'm also unhappy about many comments and - even worse - actions that make the Python community look like a bunch of anonymous wannabes, not understanding that to win a game you have to play by the rules, regardless if you like them or not - especially in an open source project that's supposed to be sustainable - after all sustainability is one of the key benefits of open source software. Also Python as a project relies on donations (which by the way doesn't make it evil or bad etc.) and it's harder to convince companies to give money to a project that might make them look bad - basically the same reason why Python needs a global trademark, so somebody else's (potentially broken) technologies don't reflect back on the project in a negative way.

Maybe that's also a good lesson about the difference between mailings lists and social media in terms of dynamics, things spiral out of control more easily.
People
Have him in circles
61,956 people
François Pinard's profile photo
gabrutyagi008's profile photo
Lou Nash's profile photo
Chris Loft's profile photo
Rahul Krishan Ahuja's profile photo
Stephanie Parkson's profile photo
James Lecker's profile photo
Roman Evstifeev's profile photo
Zhongwei Sun's profile photo
Work
Occupation
Writing and reviewing code
Employment
  • Dropbox
    Engineer (Python BDFL), 2013 - present
  • Google
    Senior Staff Software Engineer, 2005 - 2012
  • Elemental Security
    Senior Language Architect, 2003 - 2005
  • Zope Corporation
    Director of PythonLabs, 2000 - 2003
  • BeOpen.com
    Director of PythonLabs, 2000 - 2000
  • CNRI
    1995 - 2000
  • CWI
    Programmer, 1982 - 1995
  • SARA
    Student programmer, 1977 - 1982
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
California
Previously
Holland - Virginia
Contact Information
Home
Email
Story
Tagline
Creator of the Python programming language.
Introduction
Python's BDFL.
Bragging rights
My first computer was a Control Data mainframe.
Education
  • University of Amsterdam
Basic Information
Gender
Male