On Aug 26, 4:17 am, alex23 wrote:
> Frameworks created for the sake of creating a framework, as opposed to
> those written to meet a defined need, tend to be the worst examples of
> masturbatory coding.
Indeed, but masturbation is perfectly healthy and acceptable, and we
all do it every now and t
On Feb 28, 5:54 pm, Lie Ryan wrote:
> Yuan HOng wrote:
> > HI,
>
> > In my project I have several date related methods which I want tested for
> > correctness. The functions use date.today() in several places. Since this
> > could change every time I run the test, I hope to find someway to fake a
On 5/15/06, Brian Quinlan <[EMAIL PROTECTED]> wrote:
> The problem with tabs is that people use tabs for alignment e.g.
>
> def foo():
>->query = """SELECT *
>-> -> -> FROM sometable
>-> -> -> WHERE condition"""
>
> Now I change my editor to use 8-space tabs and the code is all
On 01/04/06, John Salerno <[EMAIL PROTECTED]> wrote:
> I V wrote:
>
>
> > Note that print gets called after _each_ time that printBackward
> > returns. So, as the different calls to printBackward return, they print
> > whatever 'head' was set to in that invocation. Now, logically enough,
> > the la
On 4 Apr 2006 15:18:27 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote in message
> > Here is a 3' view. I posted about a clear
> > (admittedly very minor) doc problem 8 days ago.
> > Since then there have been 30+ postings in this
> > thread. Insults and bad f
On 30 Mar 2006 16:30:24 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> "Fredrik Lundh" wrote:
> > [EMAIL PROTECTED] wrote
> > > write a tutorial as good as what is already there. But what I can
> > > do is report problems I find when using it, and make suggestions
> > > about how to avoid
On 29/03/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Ed Singleton wrote:
>
> > > alright, I got bored and uploaded a copy of the current Python tutorial to
> > >
> > > http://pytut.infogami.com
> >
> > Damn. You beat me to it by an hou
On 29/03/06, Ed Singleton <[EMAIL PROTECTED]> wrote:
> On 29/03/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> > > btw, one alternative could be to use an infogame site for this purpose:
> > >
> > >http://infogami.com
> > >
> > > thi
On 29/03/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> > btw, one alternative could be to use an infogame site for this purpose:
> >
> >http://infogami.com
> >
> > this gives you revision history, a permissions system (limiting editing to
> > registered users might be a good idea), comments, a
On 29/03/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote
> > write a tutorial as good as what is already there. But what I can
> > do is report problems I find when using it, and make suggestions
> > about how to avoid those problems.
>
> There's no shortage of ideas -- nor
On 21/03/06, Ilias Lazaridis <[EMAIL PROTECTED]> wrote:
> Where can I find practical coding examples for real life coding problems?
>
> Something like a categorized solution guide?
>
This sounds quite a lot like PLEAC. It certainly contains a lot that
you would find useful.
http://pleac.sourcefo
On 09/02/06, Magnus Lycka <[EMAIL PROTECTED]> wrote:
> While the official Python Tutorial has served its
> purpose well, keeping it up to date is hardly anyones
> top priority, and there are others who passionately
> create really good Python tutorials on the web.
>
> I think 'A Byte of Python' by
On 8 Feb 2006 19:49:09 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I am a little bit stuck
>
> I want to play a bunch of soundfiles randomly, but i want to give each
> soundfile a rating (say 0-100) and have the likelihood that the file be
> chosen be tied to its rating so that the
On 08/02/06, Magnus Lycka <[EMAIL PROTECTED]> wrote:
> Ed Singleton wrote:
> > Is it obvious to a newbie what the difference between mappings and
> > "not-mappings", and is it obvious exactly what is and isn't a mapping?
> >
> > Should it be necessar
On 08/02/06, Magnus Lycka <[EMAIL PROTECTED]> wrote:
> Ed Singleton wrote:
> > I'm a fairly average programmer (better than average compared to my
> > immediate colleagues). I've read every tutorial I can get my hands
> > on, but I have no _memory_ of ev
On 07/02/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Ed Singleton wrote
>
> > I'm not mud-slinging, I'm just saying that people are very dismissive
> > of making the language easier to use for newbies.
>
> no, you're telling people who have long
On 7 Feb 2006 07:08:17 -0800, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
> > As a general rule of thumb, I would say that if a person is struggling
> > with a language, it is primarily a problem with the language, and than
> > problem with the documentation, and lastly a problem with the person.
On 07/02/06, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
> > Again we unfortunately have a bit of an attitude problem
> > > towards anyone posting here that doesn't know whatever the experts
> > > think is obvious.
> >
> > I agree wholeheartedly with this, particularly as there often seems to
> >
On 07/02/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Bryan Olson wrote:
>
> > So is consistency; it ain't Perl, thank Guido.
>
> consistency is the hobgoblin of little minds.
>
> > Python now has, what, three built-in mutable collections types:
> > lists, dictionaries, and sets. Dicts and sets b
On 7 Feb 2006 02:02:42 -0800, Ben Sizer <[EMAIL PROTECTED]> wrote:
> > Fred is exactly correct. Slicing is absolutely basic to Python.
> > Accordingly, it gets covered right at the beginning of the tutorial
> > (section 3.1).
>
> Yes, right after UTF encoding details, complex numbers, and various
On 7 Feb 2006 00:27:05 -0800, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
> There was a pithy Tim Peters quotation to the effect that he was
> unpersuaded by language proposals predicated on some hypothetical
> average programmer not being smart enough to understand something that
> the rest of u
On 11 Jan 2006 17:54:05 -0800, Ray <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've got the chance to determine the technology to use in creating a
> product similar to this:
>
> http://www.atomicisland.com/
>
> Now the thing is that I need to sell this to the guy with the money.
> I've developed for y
On 22/12/05, A.M. Kuchling <[EMAIL PROTECTED]> wrote:
> On Thu, 22 Dec 2005 14:05:08 +,
> Ed Singleton <[EMAIL PROTECTED]> wrote:
> >> Yes; I've long worried about this, but have no idea how to fix the
> >> problem. Python users large
On 22/12/05, A.M. Kuchling <[EMAIL PROTECTED]> wrote:
> On 20 Dec 2005 15:05:15 -0800,
> Michael Tobis <[EMAIL PROTECTED]> wrote:
> > Python people don't really think that way. As a community we really
> > seem to inherit the open source dysfunction of trying harder to impress
> > each othe
On 29/11/05, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> Fredrik Lundh wrote:
> > on the other hand, it's also possible that there are perfectly usable ways
> > to keep bikes and bike seats dry where Christoph works, but that he prefers
> > not to use them because they're violating some design
I used Visual Basic a long time in the past and I know what you mean.
The ability to step through code line by line was very useful in a
language where you often didn't know what was happening. I
particularly loved the ability to hover the mouse over any variable or
expression and see the value a
I think I'm going to back you up a little bit here.
You've gone about this in a bit of a half-assed way (and pissed off a
fair few people in the process) but you are right that the site needs
a redesign.
It uses tables for layout with inline styles and font tags and doesn't
really use CSS. It ha
The best free app I've found for this is MusicBrainz [www.musicbrainz.com].
This has a huge database of obsessively correct details of albums
which can be formatted in anyway you choose. It can automatically
recognise which song an MP3 is!
This is a similar script I wrote to renumber files in se
28 matches
Mail list logo