Amazon's a mixed bag. MP3 downloads that you purchase (not stream) are DRM-free. Kindle content has DRM. Not sure about video purchases, but I believe they have DRM.
I'm the same. TabGroups is very hard for me to live without.
Did you find anything usable for Chrome? I'm trying out TabsFolder currently, but the inability to move tabs around between existing groups is making it barely useful for me.
I use TabGroups to context-switch between different work projects, different personal research projects, etc. It makes my work day SO MUCH easier to handle.
I'd be open to totally different approaches to my problem - how to stop using a bunch of websites, easily switch to doing something different, and easily switch back later. And move things from one group/context/session/whatever to another. It doesn't have to look or feel like TabGroups as long as I can switch contexts relatively efficiently. It doesn't necessarily have to preserve per-tab history, though that is sometimes convenient.
Yes. We really should move beyond the idea that knowledge transfer is the fundamental element of teaching, and that students are passive recipients of knowledge.
The best teachers are those that help students teach themselves.
PyCon 2013 was my favorite conference I've ever attended. This incident has been overreacted to by everyone from Richards on down to the hordes of trolls getting on her case. There's some food for thought here but jesus christ people, calm down and use your brains a bit.
Clarification: Cinnamon isn't "the fallback mode," by which I think you mean the thing variously referred to as "GNOME Fallback" or "Gnome Classic" (I can't keep the terminology straight either, maybe this will help: http://askubuntu.com/questions/83351/which-is-correct-gnome-classic-or-gnome-fallback ).
Cinnamon is like the fallback mode in that it builds on Gnome 3 while attempting to feel familiar to Gnome 2 users. But it's a different codebase worked on by different people (http://en.wikipedia.org/wiki/Cinnamon_%28user_interface%29)
You are correct that both Cinnamon and "fallback" still lack quite a bit of Gnome 2's functionality. I'm keeping a hopeful eye on Cinnamon, but still running Gnome 2 indefinitely.
New York's 2nd Avenue subway started construction 40 years ago, after first being planned 83 years ago. And yes, the project is currently under construction (again). http://en.wikipedia.org/wiki/Second_Avenue_Subway#Background
I dare you to find a car anywhere in the NY metro area for anywhere near $11 / day. Zipcar's rates are pretty competitive here. My one complaint, as somebody else pointed out, is that the cars are often dirty inside - nobody ever cleans 'em. I sure don't.
Headphones vary dramatically in their efficiency.
"Safe" on one pair of headphones might be "much too loud" on another, and "barely audible" on my very-nice-but-inefficient AKG K240 phones. Therefore, it is impractical to create a general solution to this problem either in software or in something like a hardware compressor/limiter.
Presumably, Blomberg assumes use of the crappy ipod earbuds, but a lot of people toss those.
A real general solution would require measuring the actual SPL level in the ear canal, or calibrating the limiter to the pair of actual headphones in use. This is left as an exercise to the reader.
Meanwhile, Buskirk's advice from page 2 of TFA still stands.
I think the point of the ''.join(a) example is simply to show that for many practical purposes, sets can be treated as a sequence with unpredictable ordering. The join method of strings works on anything that looks like a sequence of strings. (Works with arbitrary iterators too as long as they yield strings.)
The "bizarre syntax" was rather controversial. The rationale is that joining is a feature of strings, and thus should be the responsibility of strings, not of every sequence class under the sun. If it were a.join(''), the class implementing a would have to know how to join itself into a string. But with ''.join(a), a's class only needs to know how to represent itself as a sequence or iterator. This is useful in a much more general way.
To me it makes sense from an implementation standpoint, but I do remember at first finding the syntax odd, especially with literals. You get used to it.
Don't worry about it. It's still a good book and very little (if anything) has changed that affects the book's accuracy. It won't tell you about new features of course, but those are all either dead easy to learn or not likely to matter to the average new pythonista.
I've been running Zope (implemented in python) on production servers for years. The zope process typically has uptime of weeks and downtime is typically only of the scheduled variety. In the past 20 months I've been at my current job, I can count the number of Zope crashes on one hand. OTOH, we also run Java app servers (formerly BEA, now Jboss) and they crash all the time... frequently with out-of-memory errors.
Snide remarks about "dirty little secrets" notwithstanding, I know which platform I trust to keep running.
ardour http://ardour.org/ hard disk recorder & digital audio workstation.
ladspa http://ladspa.org audio plugins for linux.
hydrogen http://hydrogen.sf.net drum machine for linux
seq24 http://www.filter24.org/seq24/ a very nice little looping midi sequencer
jack http://jackit.sf.net plug all your linux audio apps into each other and blow your mind.
zope http://zope.org app server written in python, great for content management, way cool and weird.
twisted http://www.twistedmatrix.com python framework for whipping up custom servers and clients with astonishing ease. Comes with some fully useable and scaleable examples.
"Icelanders have set the goal of being able to speak and write about all subjects in their mother tongue since the status of Icelandic as a national language requires that it be possible to
use it in all fields. New words are continuously being formed to keep pace with developments in technology and the sciences.
"The Icelandic government has now launched a language technology campaign to encourage the development of software and equipment enabling the use of Icelandic in computer equipment and computer-controlled devices."
You misunderstand. The technology under discussion does not involve burning ethanol at all.
They are extracting hydrogen from "wet" ethanol which is a lot easier to produce than the purified ethanol required for burning.
I don't claim to know whether this is a net gain when all energy costs and byproducts (chiefly carbon dioxide) are taken into account, but don't dismiss the idea out of hand by spuriously equating it to the burning of purified ethanol.
yep, mixed tabs and spaces is bad.
Guido included this on his list of
python regrets at Pycon 2003.
FWIW, emacs python-mode is fantastic, and vim usually annoys the heck out of me until i remember to set up.vimrc properly.
Amazon's a mixed bag. MP3 downloads that you purchase (not stream) are DRM-free.
Kindle content has DRM. Not sure about video purchases, but I believe they have DRM.
I'm the same. TabGroups is very hard for me to live without.
Did you find anything usable for Chrome? I'm trying out TabsFolder currently, but the inability to move tabs around between existing groups is making it barely useful for me.
I use TabGroups to context-switch between different work projects, different personal research projects, etc. It makes my work day SO MUCH easier to handle.
I'd be open to totally different approaches to my problem - how to stop using a bunch of websites, easily switch to doing something different, and easily switch back later. And move things from one group/context/session/whatever to another. It doesn't have to look or feel like TabGroups as long as I can switch contexts relatively efficiently. It doesn't necessarily have to preserve per-tab history, though that is sometimes convenient.
Yes. We really should move beyond the idea that knowledge transfer is the fundamental element of teaching, and that students are passive recipients of knowledge.
The best teachers are those that help students teach themselves.
PyCon 2013 was my favorite conference I've ever attended. This incident has been overreacted to by everyone from Richards on down to the hordes of trolls getting on her case. There's some food for thought here but jesus christ people, calm down and use your brains a bit.
Clarification: Cinnamon isn't "the fallback mode," by which I think you mean the thing variously referred to as "GNOME Fallback" or "Gnome Classic"
(I can't keep the terminology straight either, maybe this will help: http://askubuntu.com/questions/83351/which-is-correct-gnome-classic-or-gnome-fallback ).
Cinnamon is like the fallback mode in that it builds on Gnome 3 while attempting to feel familiar to Gnome 2 users. But it's a different codebase worked on by different people (http://en.wikipedia.org/wiki/Cinnamon_%28user_interface%29)
You are correct that both Cinnamon and "fallback" still lack quite a bit of Gnome 2's functionality. I'm keeping a hopeful eye on Cinnamon, but still running Gnome 2 indefinitely.
New York's 2nd Avenue subway started construction 40 years ago, after first being planned 83 years ago.
And yes, the project is currently under construction (again).
http://en.wikipedia.org/wiki/Second_Avenue_Subway#Background
I am a free man!
(paraphrasing Patrick McGoohan)
Lots of practical advice in this article
I dare you to find a car anywhere in the NY metro area for anywhere near $11 / day. Zipcar's rates are pretty competitive here. My one complaint, as somebody else pointed out, is that the cars are often dirty inside - nobody ever cleans 'em. I sure don't.
Insurance is just part of the subscription price; you don't have to bother with any of that crap when you're trying to get somewhere.
Headphones vary dramatically in their efficiency. "Safe" on one pair of headphones might be "much too loud" on another, and "barely audible" on my very-nice-but-inefficient AKG K240 phones. Therefore, it is impractical to create a general solution to this problem either in software or in something like a hardware compressor/limiter.
Presumably, Blomberg assumes use of the crappy ipod earbuds, but a lot of people toss those.
A real general solution would require measuring the actual SPL level in the ear canal, or calibrating the limiter to the pair of actual headphones in use. This is left as an exercise to the reader.
Meanwhile, Buskirk's advice from page 2 of TFA still stands.
Q: eBay's Fraud Investigations Team -- does every country eBay operates in have one?
MacGibbon: There are over 1,000 Trust and Safety employees at eBay and PayPal operating in the 32 markets around the world.
I figure that means "No".
No.
I think the point of the ''.join(a) example is simply to show that for many practical purposes, sets can be treated as a sequence with unpredictable ordering. The join method of strings works on anything that looks like a sequence of strings. (Works with arbitrary iterators too as long as they yield strings.)
The "bizarre syntax" was rather controversial. The rationale is that joining is a feature of strings, and thus should be the responsibility of strings, not of every sequence class under the sun. If it were a.join(''), the class implementing a would have to know how to join itself into a string. But with ''.join(a), a's class only needs to know how to represent itself as a sequence or iterator. This is useful in a much more general way.
To me it makes sense from an implementation standpoint, but I do remember at first finding the syntax odd, especially with literals. You get used to it.
Don't worry about it. It's still a good book and very little (if anything) has changed that affects the book's accuracy. It won't tell you about new features of course, but those are all either dead easy to learn or not likely to matter to the average new pythonista.
I've been running Zope (implemented in python) on production servers for years. The zope process typically has uptime of weeks and downtime is typically only of the scheduled variety. In the past 20 months I've been at my current job, I can count the number of Zope crashes on one hand. OTOH, we also run Java app servers (formerly BEA, now Jboss) and they crash all the time... frequently with out-of-memory errors.
Snide remarks about "dirty little secrets" notwithstanding, I know which platform I trust to keep running.
ardour http://ardour.org/
hard disk recorder & digital audio workstation.
ladspa http://ladspa.org
audio plugins for linux.
hydrogen http://hydrogen.sf.net
drum machine for linux
seq24 http://www.filter24.org/seq24/
a very nice little looping midi sequencer
jack http://jackit.sf.net
plug all your linux audio apps into each other and blow your mind.
zope http://zope.org
app server written in python, great for content management, way cool and weird.
twisted http://www.twistedmatrix.com
python framework for whipping up custom servers and clients with astonishing ease. Comes with some fully useable and scaleable examples.
"Icelanders have set the goal of being able to speak and write about all subjects in their mother tongue since the status of Icelandic as a national language requires that it be possible to use it in all fields. New words are continuously being formed to keep pace with developments in technology and the sciences.
"The Icelandic government has now launched a language technology campaign to encourage the development of software and equipment enabling the use of Icelandic in computer equipment and computer-controlled devices."
I don't claim to know whether this is a net gain when all energy costs and byproducts (chiefly carbon dioxide) are taken into account, but don't dismiss the idea out of hand by spuriously equating it to the burning of purified ethanol.
Here's an article with a bit more information.. I found this link elsewhere in this discussion.
so? in a vhll who actually rolls their own primitive sort function anyway?
the point was to demo the expressive flavor of the language, not a sort algorithm.
you thought you were joking....
yep, mixed tabs and spaces is bad. Guido included this on his list of python regrets at Pycon 2003. FWIW, emacs python-mode is fantastic, and vim usually annoys the heck out of me until i remember to set up .vimrc properly.
sorry eclectum, you can't use print in a list comprehension. SyntaxError.
The comprehension doesn't add anything to this example. Let's stick with the time-honored:
for k, v in adict.items():
print k+'->'+v
(you can put it on one line if you really want)
PS: if Python is so clear and easy to write why do people constantly say "well, if *I* were writing that code in python, I'd do ...." ??
Where are python developers "constantly" saying this?
Sure, I've seen it said sometimes. Are there developers of *any* language that don't habitually debate points of style and idiom?
Nice, except for one syntax error and one gratuitous optimization nitpick. Try this:
;-)
def quicksort(list):
if len(list) > 1:
pivot = list[0]
left, middle, right = [], [], [] # commas!
for item in list:
# don't perform unnecessary tests
if item < pivot: left.append(item)
elif item > pivot: right.append(item)
else: middle.append(item)
return quicksort(left) + middle + quicksort(right)
else:
return list
Of course it's silly to argue about optimization of such an impractical example
list.sort() is a wonderful thing.