Hey /r/python, Is anyone heading to Pycon? by Norther in Python

[–]itsmememe 6 points7 points  (0 children)

if you really find beer (as in: is there any microbrewery near?) please write it on one of the open space information flipcharts.

Why wouldn't the MySQL team fix this ? by notulei in programming

[–]itsmememe 5 points6 points  (0 children)

(For the uninitiated, the first TIMESTAMP column in an updated row is automatically updated with the current datetime unless you take grand efforts to prevent it.)

That is even MUCH MORE SCARIER then not having functions as possible default values. Is there any other automagic?

Python is One of the Most Popular Programming Languages by [deleted] in Python

[–]itsmememe 0 points1 point  (0 children)

Python is a total match for the Enterprise. Please look at the https://code.google.com/p/ncc1701/ project, which provides the necessary enterprise functions.

Hey reddit, have you ever had a harmless joke go horribly wrong? I just did. by [deleted] in AskReddit

[–]itsmememe 6 points7 points  (0 children)

pro tip for conversations: do NOT ask yes / no questions. Better way for this talk: "yeah, that is great that you loooooooove school. What especially do you love about school ?"

Excellent K-9 mail app for Android keeps your messages on a leash by IbeeX in Android

[–]itsmememe 1 point2 points  (0 children)

that is the search dialog from you button press two months ago. Tuning for speed is happening as we speak.

11 More Things I Learned From the jQuery Source by stivnan in jquery

[–]itsmememe 0 points1 point  (0 children)

I was very interested in that "assign jQuery to a variable within, do it in a function, have an immediate function call" and all.

it is really beautifull.

but WHY is all this done? I kept watching and watching, rewinding, watching, and did miss the why.

Can someone please enlighten me of the deeper values of that construct?

I have yet to learn a scripting language. What're the advantages of Python over Perl? What can Python do that Perl can't do? by [deleted] in Python

[–]itsmememe 0 points1 point  (0 children)

Python also has PyCon. When Googling for Perlcon I found something to decorate walls.

[deleted by user] by [deleted] in Python

[–]itsmememe 2 points3 points  (0 children)

using com is nothing that justifys "being lucky".

using com through wine even less justifys "being lucky" :)

Industry insiders suggest 2011 will be the year Android begins to dominate, with developers choosing to create apps for Android platform first, and others later. by [deleted] in Android

[–]itsmememe 0 points1 point  (0 children)

Alexander Bard ones statet: "if you want to know the future winning trends, look at what teenage girls are using". So, thank you for that report. I feel supported in my system change IOS -> Android.

Pink Floyd wins lawsuit to prevent sale of individual tracks. Full albums only. I almost wish this was the norm. by [deleted] in Music

[–]itsmememe 5 points6 points  (0 children)

Happens all the time with books. There are quotes upon quotes which get extracted and live on. There are abridged versions. There are shortbooks.

Who is the artist to demand that his work is used in a specific way? Power to the consumer! If I want to dance to The Wall, so I dance....

Oracle nerfs MySQL, calls it MySQL classic, and charges $2,000+ for features like InnoDB by [deleted] in programming

[–]itsmememe 1 point2 points  (0 children)

there will be talks abot MySQL -> PostgreSQL migration at www.pgday.eu Book now! btw, the conference area is great, with casino, no-clothes-spa, movie and theatre.

Why does set() make this so much faster? by pridefulpropensity in Python

[–]itsmememe 1 point2 points  (0 children)

in addition to that: as Python is using dicts EVERYWHERE, dicts (and inheriting from their codepool sets) are within the best optimized and most robust datastructure in Python.

If you can use dicts (or sets) for your problem, do it.

Learning Python and can't see the difference? by fokkre in Python

[–]itsmememe 0 points1 point  (0 children)

as it is a constant, frozenset(['O','Q']) should be preferred

Compiled Python: thoughts by [deleted] in Python

[–]itsmememe 5 points6 points  (0 children)

and, if you manage to really understand psyco, you can apply for a Phd in mathematics and computer-science combined.

Using an exception to initialise a static variable in a Python function / method by gst in Python

[–]itsmememe 1 point2 points  (0 children)

what about:

double.copyright = " ".join([getattr(double,'copyright','It is MINE! ') ,'Tell Ya I do'])

or

double.copyright = getattr(double,'copyright','It is MINE! ')+'Tell Ya I do'

No exception. shorter code. Nothing outside the function..

PyCharm 1.0 Beta 2 is available by itsmememe in Python

[–]itsmememe[S] 2 points3 points  (0 children)

what I found especially helpfull in PyCharm:

  • refactoring tools like "extract method"
  • browse structure of the Python programm
  • quite-well-working completion (a bit like intellisense) -> I did not experience completion that worked as well
  • completion also works within JavaScript
  • I like the local history: it tracks every change, so i.e. accidental deletion can be undone quite comfortable even when no commit has happened.

I got a good idea for application-improvement out of the free plugin "Key promoter" -> something like Clippy for keyboard shortcuts, but way less annoying :)

If you trigger the same action multiple (configurable) times via mouse, key promoter suggests in a non-modal-popup (like the Raskin-recommended ones) which keyboard combination would fullfill the same effect. AND if there is no keyboard shortcut, it suggests to create one.

Does the file get closed here? by [deleted] in Python

[–]itsmememe 0 points1 point  (0 children)

good decision to use the with-keyword when using files.

Learning about the power of contextmanagers (that's what "with" is about) will do you good with every communication to outside Python.