trace cmd line args

2010-12-08 Thread rusi
I am unable to get trace to not trace system modules. I tried: $ python -m trace --listfuncs tt.py --ignore-module 'bdb' tracefile $ python -m trace --listfuncs --ignore-dir /usr/lib/python2.6 tt.py tracefile and many other combinations But anyhow my tracefile contains lines like this:

Re: trace cmd line args

2010-12-09 Thread rusi
On Dec 9, 1:39 pm, Terry Reedy tjre...@udel.edu wrote: On 12/9/2010 1:10 AM, rusi wrote: I am unable to get trace to not trace system modules. Try it with 3.2b1, just released. Multiple bugs were fixed in trace. Some fixes might also be in recent 2.7.1 and 3.1.3. Not sure. -- Terry Jan

Re: trace cmd line args

2010-12-09 Thread rusi
On Dec 9, 9:03 pm, Terry Reedy tjre...@udel.edu wrote: On 12/9/2010 7:12 AM, rusi wrote: On Dec 9, 1:39 pm, Terry Reedytjre...@udel.edu  wrote: On 12/9/2010 1:10 AM, rusi wrote: I am unable to get trace to not trace system modules. Try it with 3.2b1, just released. Multiple bugs were

Re: trace cmd line args

2010-12-09 Thread rusi
On Dec 9, 10:37 pm, rusi rustompm...@gmail.com wrote: On Dec 9, 9:03 pm, Terry Reedy tjre...@udel.edu wrote: On 12/9/2010 7:12 AM, rusi wrote: On Dec 9, 1:39 pm, Terry Reedytjre...@udel.edu  wrote: On 12/9/2010 1:10 AM, rusi wrote: I am unable to get trace to not trace system

Deprecation warnings (2.7 - 3 )

2010-12-09 Thread rusi
In trying to get from 2.x to 3 Terry suggested I use 2.7 with deprecation warnings Heres the (first) set DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x DeprecationWarning: callable() not supported in 3.x; use isinstance(x, collections.Callable) Is there one

Re: Deprecation warnings (2.7 - 3 )

2010-12-10 Thread rusi
On Dec 10, 9:17 pm, nn prueba...@latinmail.com wrote: On Dec 9, 10:15 pm, rusi rustompm...@gmail.com wrote: In trying to get from 2.x to 3 Terry suggested I use 2.7 with deprecation warnings Heres the (first) set DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__

Re: trace cmd line args in 2.7

2010-12-10 Thread rusi
On Dec 10, 10:53 am, rusi rustompm...@gmail.com wrote: Ive installed python 2.7 And trace still ignores my ignore-module etc requests Is this a know bug with the trace module? I find it hard to believe that as traces naturally tend to get huge unless carefully trimmed -- http://mail.python.org

Re: class browser

2010-12-12 Thread rusi
On Dec 8, 11:24 pm, Adam Tauno Williams awill...@whitemice.org wrote: On Wed, 2010-12-08 at 13:18 +0530, Rustom Mody wrote: If I have a medium to large python code base to browse/study, what are the class browsers available? Monodevelop has good Python support which includes a working

Re: Added Python, WSGI to XAMPP

2010-12-13 Thread rusi
On Dec 10, 2:29 am, Gerry Reno gr...@verizon.net wrote: If you have any need of a portable LAMP stack, I just finished writing some How-To's for getting Python, VirtualEnv and WSGI frameworks running with XAMPP: How-To: Add VirtualEnv and Pylons (WSGI framework) to XAMPP

Re: Tkinter: The good, the bad, and the ugly!

2011-01-17 Thread rusi
On Jan 18, 4:13 am, rantingrick rantingr...@gmail.com wrote: On Jan 17, 4:47 pm, Terry Reedy tjre...@udel.edu wrote: On 1/16/2011 11:20 PM, rantingrick wrote: Ok, try this...      http://juicereceiver.sourceforge.net/screenshots/index.php      

Re: Tkinter: The good, the bad, and the ugly!

2011-01-20 Thread rusi
On Jan 20, 5:30 pm, Bill Felton subscripti...@cagttraining.com wrote: With some hesitation, I feel a need to jump in here.   This thread is now at 239 posts (and so I too hesitate...) The arguments for size, dependencies etc are what may be termed 'sys- ad' perspectives. The questions of 'it

Re: HTSQL 2.0 RC1 -- a Query Language for the Accidental Programmer

2011-01-21 Thread rusi
On Jan 22, 2:45 am, Clark C. Evans c...@clarkevans.com wrote: Kirill Simonov and myself would like to introduce HTSQL, a novel approach to relational database access which is neither an ORM nor raw SQL. : We're curious what you think. Thanks -- looks interesting. Given the claim htsql is

Re: HTSQL 2.0 RC1 -- a Query Language for the Accidental Programmer

2011-01-22 Thread rusi
On Jan 22, 10:20 pm, Kirill Simonov x...@gamma.dn.ua wrote: On 01/22/2011 12:25 AM, rusi wrote: On Jan 22, 2:45 am, Clark C. Evansc...@clarkevans.com  wrote: Kirill Simonov and myself would like to introduce HTSQL, a novel approach to relational database access which is neither an ORM nor

Re: WxPython versus Tkinter.

2011-01-23 Thread rusi
On Jan 23, 5:07 am, rantingrick rantingr...@gmail.com wrote: WxPython versus Tkinter (A code battle to the death!) by Rick Johnson. I have in many threads declared that Tkinter (and TclTk) is currently --and has been for a decade-- the wrong choice for Python's stdlib GUI. Throughout the

Re: WxPython versus Tkinter.

2011-01-23 Thread rusi
On Jan 24, 9:16 am, Littlefield, Tyler ty...@tysdomain.com wrote:  PS: Be sure not to cause any segfaults because these linux folks can't  debug for shite! Or maybe it is that the person fighting and throwing insults around like candy at a parade can't code for shite. Or *gasp* the library

Re: WxPython versus Tkinter.

2011-01-25 Thread rusi
Just trying to sift the BS from the real issues Heres a list of the issues relating to GUI toolkits Look Nativity-1 (as in apps look like other apps on the OS) Nativity-2 (as in uses 'bare-metal' and not a separate interpreter) Themeing (ttk) Efficiency (extra interpreter) Cross Platform

Re: WxPython versus Tkinter.

2011-01-25 Thread rusi
On Jan 25, 11:15 pm, Terry Reedy tjre...@udel.edu wrote: On 1/25/2011 10:29 AM, rusi wrote: Just trying to sift the BS from the real issues Heres a list of the issues relating to GUI toolkits Look Nativity-1 (as in apps look like other apps on the OS) Nativity-2 (as in uses 'bare

Re: WxPython versus Tkinter.

2011-01-26 Thread rusi
On Jan 26, 11:18 am, Octavian Rasnita orasn...@gmail.com wrote: From: rantingrick rantingr...@gmail.com On Jan 25, 3:41 pm, Corey Richardson kb1...@aim.com wrote: Do you honestly think he was talking about the accessibility problem? IMO that should move to another thread, because this one

Re: WxPython versus Tkinter.

2011-01-26 Thread rusi
On Jan 27, 12:02 am, Nicholas Devenish misno...@gmail.com wrote: Heck, I am probably wasting my time with this post; but you come across as genuine in your held central beliefs, and so either serious or the most dedicated and adept troll I have ever encountered. In the case of the former, I

Re: WxPython versus Tkinter.

2011-01-26 Thread rusi
On Jan 27, 3:35 am, rantingrick rantingr...@gmail.com wrote: On Jan 26, 3:48 pm, Grant Edwards inva...@invalid.invalid wrote: People will not separate your personality from the cause you espouse. You may not like it, but that's a fact.  If you are in favor of XYZ, and act rude and

Re: WxPython versus Tkinter.

2011-01-27 Thread rusi
On Jan 27, 11:45 pm, rantingrick rantingr...@gmail.com wrote: When has Octavian been uncivil? This lecture of Octavian is ludicris! You are such a friendly totalitarian, how do you keep a strait face -- Col. Hans Landa? And this mutual 'support' between Octavian and Ranter is ludicris(sic)

Re: WxPython versus Tkinter.

2011-01-28 Thread rusi
On Jan 27, 10:47 pm, Grant Edwards inva...@invalid.invalid wrote: So you're saying that you don't see any value in easing communication, nor presumably in communication itself? A Goedel-ian meta-recursion problem here Grant: You want to communicate the need for communication to one who does

Re: Use the Source Luke

2011-01-28 Thread rusi
On Jan 29, 4:10 am, Ben Finney ben+pyt...@benfinney.id.au wrote: Note that Raymond is speaking specifically in the context of free software, where the license is by definition permitting free redistribution of the source code. It is an obvious necessary condition that for code to be opened it

Re: Use the Source Luke

2011-01-29 Thread rusi
On Jan 30, 2:22 am, Ben Finney ben+pyt...@benfinney.id.au wrote: The “problem”, which I don't consider to be a problem per se, is one of OS-wide policy, not “installers”. The policy is a matter of tradeoffs across the system, and isn't “tucking the code away in a dark corner”. Earlier mail:

Re: Use the Source Luke

2011-01-29 Thread rusi
On Jan 30, 9:21 am, Steven D'Aprano steve +comp.lang.pyt...@pearwood.info wrote: I think this is a fairly accurate description of (one aspect of) the problem. If you dont see it as a problem how do you explain that google can search the World Wide Web better than we can search our

Re: Use the Source Luke

2011-01-30 Thread rusi
On Jan 30, 6:19 pm, David Boddie da...@boddie.org.uk wrote: You might find this page useful: http://www.wikinfo.org/index.php/Comparison_of_desktop_search_software David Thanks for that link David I note particularly the disclaimer that it was removed from wikipedia [Like when

Re: Is it possible to pass CSV Reader Object As Argument to another Python File ???

2011-01-30 Thread rusi
On Jan 30, 6:31 pm, bansi mail2ba...@gmail.com wrote: On Jan 28, 4:22 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote: You'll need to have Visual C++ 2008 (not 2010) installed for this to work. You can get it for free fromhttp://www.microsoft.com/express/Downloads/if you don't

Re: Is it possible to pass CSV Reader Object As Argument to another Python File ???

2011-01-30 Thread rusi
On Jan 30, 10:35 pm, rusi rustompm...@gmail.com wrote: On Jan 30, 6:31 pm, bansi mail2ba...@gmail.com wrote: Isn't it possible to implement your suggestion without installing Visual C++ 2008 . http://code.google.com/p/pyodbc/wiki/Building#Windows Well... This is what the official site says

Re: Understanding def foo(*args)

2011-01-30 Thread rusi
On Jan 31, 12:35 am, rantingrick rantingr...@gmail.com wrote: Also, can the terms method and function be used interchangeably? Can the terms cars and truck be used interchangeably? Oooff! A load of meaning in that one line -- I wonder though if the OP will understand... --

Re: IDLE: A cornicopia of mediocrity and obfuscation.

2011-01-31 Thread rusi
On Feb 1, 1:35 am, Raymond Hettinger pyt...@rcn.com wrote: However, even the parts of the standard library written in pure Python don't seem to be getting read anymore, so I'm still inclined to attribute the issue to 1) inconvenient placement of source code, 2) a largish code base, and 3)

Re: IDLE: A cornicopia of mediocrity and obfuscation.

2011-01-31 Thread rusi
On Feb 1, 11:14 am, rusi rustompm...@gmail.com wrote: On Feb 1, 1:35 am, Raymond Hettinger pyt...@rcn.com wrote: snipped O O wrong thread... sorry! -- http://mail.python.org/mailman/listinfo/python-list

Re: Use the Source Luke

2011-01-31 Thread rusi
The following, meant for this thread, went to another my mistake :-) -- On Feb 1, 1:35 am, Raymond Hettinger pyt...@rcn.com wrote: However, even the parts of the standard library written in pure Python don't seem to be getting read anymore, so I'm still inclined to

Re: Use the Source Luke

2011-02-04 Thread rusi
On Feb 2, 12:32 am, OKB (not okblacke) brennospamb...@nobrenspambarn.net wrote: Tim Wintle wrote: (2) is especially important IMO - under half of the python developers I have regularly worked with would feel comfortable reading C - so for the other half reading C source code probably

Re: Use the Source Luke

2011-02-04 Thread rusi
On Feb 4, 9:34 pm, rusi rustompm...@gmail.com wrote: [PS Does not read properly in google docs though it reads ok in acroread and evince ] Sorry google docs does not like the pdf Heres a ps https://docs.google.com/leaf?id=0B3gsacOF56PxOWUxZTVmOTQtYWIxNy00ZGFjLWEwODUtZDVkM2MyZGI5ZmRkhl=en

Re: Use the Source Luke

2011-02-04 Thread rusi
On Feb 5, 12:11 am, OKB (not okblacke) brennospamb...@nobrenspambarn.net wrote:         Very interesting, thanks.  I think Python has its own warts comparable to some of those you mention, but not all.  What bothers me most is when practicality beats purity is invoked, with practicality

Re: Problems of Symbol Congestion in Computer Languages

2011-02-28 Thread rusi
On Feb 17, 3:07 am, Xah Lee xah...@gmail.com wrote: might be interesting. 〈Problems of Symbol Congestion in Computer Languages (ASCII Jam; Unicode; Fortress)〉http://xahlee.org/comp/comp_lang_unicode.html Haskell is slowly moving this way see for example

Re: Problems of Symbol Congestion in Computer Languages

2011-02-28 Thread rusi
On Feb 28, 11:39 pm, Dotan Cohen dotanco...@gmail.com wrote: You miss the canonical bad character reuse case: = vs ==. Had there been more meta keys, it might be nice to have a symbol for each key on the keyboard. I personally have experimented with putting the symbols as regular keys and the

Re: Problems of Symbol Congestion in Computer Languages

2011-03-01 Thread rusi
On Mar 1, 6:01 pm, Mark Thomas m...@thomaszone.com wrote: I know someone who was involved in creating a language called A+. It was invented at Morgan Stanley where they used Sun keyboards and had access to many symbols, so the language did have set symbols, math symbols, logic symbols etc.

Re: I found some very odd behaviour in Python's very basic types

2011-03-10 Thread rusi
On Mar 10, 10:47 am, Sunjay Varma varma.sun...@gmail.com wrote: For some reason, sub-classing and overwriting a built-in type does not change the behavior of the literal. Have you looked through this? http://www.python.org/download/releases/2.2/descrintro/#subclassing [Dunno exactly how

Re: Editing tabular data

2013-09-03 Thread rusi
On Friday, August 2, 2013 12:05:53 PM UTC+5:30, Ben Finney wrote: Skip Montanaro writes: I really love Emacs, however... […] This is clearly a case where choosing the proper tool is important. I agree that using a spreadsheet to edit a 3x5 CSV file is likely overkill (might just as

Re: Confessions of a terrible programmer

2013-09-16 Thread rusi
On Friday, September 6, 2013 10:26:07 PM UTC+5:30, Steven D'Aprano wrote: Not specifically about Python, but still relevant: http://blog.kickin-the-darkness.com/2007/09/confessions-of-terrible-programmer.html Nice post -- thanks! Prompted this from me

Re: better and user friendly IDE recommended?

2013-09-17 Thread rusi
On Wednesday, September 11, 2013 7:44:04 PM UTC+5:30, mnishpsyched wrote: Hey i am a programmer but new to python. Can anyone guide me in knowing which is a better IDE used to develop web related apps that connect to DB using python? Just saw this http://www.youtube.com/watch?v=1-dUkyn_fZA

Re: Python GUI?

2013-09-17 Thread rusi
On Thursday, September 12, 2013 10:21:49 PM UTC+5:30, Benjamin Kaplan wrote: The main difference between wx and qt is that qt looks native on every platform while wx *is* native on every platform (it uses native controls wherever possible). This means that wx integrates into the OS better,

Re: Python GUI?

2013-09-17 Thread rusi
On Tuesday, September 17, 2013 9:49:28 PM UTC+5:30, Benjamin Kaplan wrote: On Tue, Sep 17, 2013 at 7:55 AM, rusi wrote: On Thursday, September 12, 2013 10:21:49 PM UTC+5:30, Benjamin Kaplan wrote: The main difference between wx and qt is that qt looks native on every platform

Re: *.csv to *.txt after adding columns

2013-09-18 Thread rusi
On Wednesday, September 18, 2013 7:12:21 AM UTC+5:30, Bryan Britten wrote: Hey, gang, I've got a problem here that I'm sure a handful of you will know how to solve. I've got about 6 *.csv files that I am trying to open; change the header names (to get rid of spaces); add two new columns,

Re: What minimum should a person know before saying I know Python

2013-09-20 Thread rusi
On Friday, September 20, 2013 3:28:00 PM UTC+5:30, Aseem Bansal wrote: I started Python 4 months ago. Largely self-study with use of Python documentation, stackoverflow and google. I was thinking what is the minimum that I must know before I can say that I know Python? I come from a C

Re: What minimum should a person know before saying I know Python

2013-09-20 Thread rusi
On Friday, September 20, 2013 7:09:13 PM UTC+5:30, Robert Kern wrote: On 2013-09-20 12:43, rusi wrote: Stroustrup says he is still learning C++ and I know kids who have no qualms saying they know programming language L (for various values of L) after hardly an hour or two of mostly

Re: lambda - strange behavior

2013-09-20 Thread rusi
On Friday, September 20, 2013 8:51:20 PM UTC+5:30, Kasper Guldmann wrote: I was playing around with lambda functions, but I cannot seem to fully grasp them. I was running the script below in Python 2.7.5, and it doesn't do what I want it to. Are lambda functions really supposed to work that

Re: reload and work flow suggestions

2013-09-22 Thread rusi
On Sunday, September 22, 2013 3:13:13 AM UTC+5:30, Peter Cacioppi wrote: This is an idea brought over from another post. When I write Python code I generally have 2 or 3 windows open simultaneously. 1) An editor for the actual code. 2) The interactive interpreter. 3) An editor for the

Re: Why do I have to use global so much when using Turtle?

2013-09-22 Thread rusi
On Monday, September 23, 2013 12:27:50 AM UTC+5:30, John Ladasky wrote: All right, never mind! I hacked around this morning, making some changes to parts of my program that I thought were unrelated to my namespace issues. I was paring it down to a minimal example, to post here as Ned

Functional Programming and python

2013-09-22 Thread rusi
Combining your two questions -- Recently: What minimum should a person know before saying I know Python And earlier this On Sunday, August 4, 2013 10:00:35 PM UTC+5:30, Aseem Bansal wrote: If there is an issue in place for improving the lambda forms then that's good. I wanted a link about

Re: python, pythontex and plots

2013-09-22 Thread rusi
Take a look at babel http://www.cs.unm.edu/~eschulte/data/CISE-13-3-SciProg.pdf http://orgmode.org/worg/org-contrib/babel/intro.html Its my impression that babel supports everything and more that pylatex does ...the catch is that its under emacs...!! --

Re: reload and work flow suggestions

2013-09-23 Thread rusi
On Monday, September 23, 2013 2:01:00 PM UTC+5:30, Peter Cacioppi wrote: One thing re: editors and interactive environments. I'm not a huge emacs fan (ducking) and I really like iPython. Heh! Yeah we are an endangered species G enerally N ot U sed E ditor for M iddle A ged C omputer S

Re: Functional Programming and python

2013-09-24 Thread rusi
On Monday, September 23, 2013 11:54:53 PM UTC+5:30, Vito De Tullio wrote: rusi wrote: [Not everything said there is correct; eg python supports currying better [than haskell which is surprising considering that Haskell's surname is [Curry!] AFAIK python does not support currying

Re: Functional Programming and python

2013-09-24 Thread rusi
On Tuesday, September 24, 2013 1:12:51 PM UTC+5:30, Jussi Piitulainen wrote: rusi writes: Without resorting to lambdas/new-functions: With functools.partial one can freeze any subset of a function(callable's) parameters. In Haskell one can only freeze the first parameter

Re: Functional Programming and python

2013-09-24 Thread rusi
On Tuesday, September 24, 2013 8:21:19 PM UTC+5:30, Jussi Piitulainen wrote: Would the type system get in the way of providing some analogous function in Haskell? I don't know. Yes. The haskell curry curry f x y = f (x,y) is really only curry2 curry3 would be curry3 f x y z = f (x,y,z) and so

Re: Functional Programming and python

2013-09-24 Thread rusi
On Tuesday, September 24, 2013 8:56:21 PM UTC+5:30, Chris Angelico wrote: On Wed, Sep 25, 2013 at 1:07 AM, rusi wrote: And this is an old conundrum in programming language design: In C printf is easy to write and NOT put into the language but into external libraries In Pascal

Re: Understanding how is a function evaluated using recursion

2013-09-25 Thread rusi
On Thursday, September 26, 2013 4:54:22 AM UTC+5:30, Arturo B wrote: So I know what recursion is, but I don't know how is flatten(i) evaluated, what value does it returns? When you are a noob, who do you ask? The gurus. When you are a guru who do you ask? The

Re: work develope matrix of difusive concentration

2013-09-26 Thread rusi
On Friday, September 27, 2013 12:43:51 AM UTC+5:30, D.YAN ESCOLAR RAMBAL wrote: Good morning all thanks for your help. Now I`ve a question, if I need create a matrix, method of thomas, ghost nodes, etc.. for developed one aplicative for the ecuation of difusion in 1d, 2d, 3d, 4d. It`s

Re: Handling 3 operands in an expression without raising an exception

2013-09-28 Thread rusi
On Friday, September 27, 2013 4:13:52 PM UTC+5:30, Dave Angel wrote: You should study APL. Many functions were written in one line, with twenty lines of explanation. The function itself was considered unreadable nonsense. And if a function stopped working, general wisdom was to throw it out,

Re: Understanding how is a function evaluated using recursion

2013-09-29 Thread rusi
On Thursday, September 26, 2013 4:54:22 AM UTC+5:30, Arturo B wrote: So I know what recursion is, but I don't know how is flatten(i) evaluated, what value does it returns? There is a folklore in CS that recursion is hard [To iterate is human, to recurse divine --

Re: Functional Programming and python

2013-09-30 Thread rusi
On Tuesday, October 1, 2013 6:11:18 AM UTC+5:30, Steven D'Aprano wrote: On Mon, 30 Sep 2013 19:04:32 +0200, Franck Ditter wrote: 2. Lambda-expression body is limited to one expression. Why ? Nobody has come up with syntax that is unambiguous, would allow multiple statements in an

Re: VERY BASIC HELP

2013-10-01 Thread rusi
On Monday, September 30, 2013 11:20:16 PM UTC+5:30, vignesh.h...@gmail.com wrote: Thank you both so much! I'll be sure to make more pertinent subject lines now :) Thanks for the detailed explanations! Clearly, I've just started learning this language ~20 minutes before I made this post, and

Re: Tail recursion to while iteration in 2 easy steps

2013-10-01 Thread rusi
On Wednesday, October 2, 2013 3:00:41 AM UTC+5:30, Terry Reedy wrote: Part of the reason that Python does not do tail call optimization is that turning tail recursion into while iteration is almost trivial, once you know the secret of the two easy steps. Here it is. What happens for mutual

Re: Tail recursion to while iteration in 2 easy steps

2013-10-02 Thread rusi
On Wednesday, October 2, 2013 1:53:46 PM UTC+5:30, Alain Ketterlin wrote: rusi writes: On Wednesday, October 2, 2013 3:00:41 AM UTC+5:30, Terry Reedy wrote: Part of the reason that Python does not do tail call optimization is that turning tail recursion into while iteration is almost

Re: Tail recursion to while iteration in 2 easy steps

2013-10-04 Thread rusi
On Thursday, October 3, 2013 10:57:48 PM UTC+5:30, Ravi Sahni wrote: On Wed, Oct 2, 2013 at 10:46 AM, rusi wrote: 4. There is a whole spectrum of such optimizaitons -- 4a eg a single-call structural recursion example, does not need to push return address on the stack. It only needs

Re: Database statements via python but database left intact

2013-10-06 Thread rusi
On Sunday, October 6, 2013 2:35:24 PM UTC+5:30, Chris “Kwpolska” Warrick wrote: So, instead of this, maybe we should work on getting psycopg2 to the top result on Googling “python sql”, or even “python mysql” with an anti-MySQL ad? (like vim was doing some time ago on Googling “emacs”) Do you

Formal-ity and the Church-Turing thesis

2013-10-07 Thread rusi
On Tuesday, October 8, 2013 5:54:10 AM UTC+5:30, zipher wrote: Now, one can easily argue that I've gone too far to say no one has understood it (obviously), so it's very little tongue-in-cheek, but really, when one tries to pretend that one model of computation can be substituted for another

Re: Formal-ity and the Church-Turing thesis

2013-10-07 Thread rusi
On Tuesday, October 8, 2013 10:46:50 AM UTC+5:30, Ravi Sahni wrote: With due respect Sir, you saying that Turing machine not a machine? Very confusion Sir!!! Thanks Ravi for the 'due respect' though it is a bit out of place on a list like this :-) Thanks even more for the 'very confusion'. I

Re: Formal-ity and the Church-Turing thesis

2013-10-08 Thread rusi
On Tuesday, October 8, 2013 10:49:11 AM UTC+5:30, zipher wrote: I don't have an infinite stack to implement lambda calculus, but... And then But this is not a useful formalism. Any particular Program implements a DFA, even as it runs on a TM. The issue of whether than TM is finite or not

Re: Formal-ity and the Church-Turing thesis

2013-10-08 Thread rusi
On Tuesday, October 8, 2013 6:31:21 PM UTC+5:30, Ravi Sahni wrote: On Tue, Oct 8, 2013 at 11:14 AM, rusi wrote: To explain at length will be too long and OT (off-topic) for this list. I'll just give you a link and you tell me what you make of it: http://sloan.stanford.edu/mousesite

Re: Cookie gets changed when hit comes from a referrer

2013-10-09 Thread rusi
On Thursday, October 10, 2013 6:40:19 AM UTC+5:30, Steven D'Aprano wrote: I have no objection to encouraging people to read the fine manual, and I don't intend to be Nikos' (or anyone else's) unpaid full-time help desk and troubleshooter. But I do think it is simply unfair to treat him more

Re: Complex literals (was Re: I am never going to complain about Python again)

2013-10-10 Thread rusi
On Thursday, October 10, 2013 8:04:00 PM UTC+5:30, David wrote: I have never heard the term hypercomplex numbers. I guess you are referring to vectors with more dimensions than two. A three A generalization of quaternions : http://en.wikipedia.org/wiki/Hypercomplex_number

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-14 Thread rusi
On Sunday, October 13, 2013 6:34:56 PM UTC+5:30, Roy Smith wrote: To be fair to Larry, there were different design drivers working there. One more thing to be said for perl: I remember when some colleague first told me about perl (I guess early 90s) I was incredulous that the *same* language

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-14 Thread rusi
On Tuesday, October 15, 2013 7:01:37 AM UTC+5:30, zipher wrote: Yes, and all of that is because, the world has not settled on some simple facts. It needs an understanding of type system. It's been throwing terms around, some of which are well-defined, but others, not: there has been

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-14 Thread rusi
On Tuesday, October 15, 2013 8:48:25 AM UTC+5:30, Steven D'Aprano wrote: On Mon, 14 Oct 2013 12:18:59 -0700, John Nagle wrote: No, Python went through the usual design screwups. Look at how painful the slow transition to Unicode was, from just str to Unicode strings, ASCII strings,

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-15 Thread rusi
On Tuesday, October 15, 2013 2:20:10 PM UTC+5:30, Steven D'Aprano wrote: If you read the whole python-history blog on blogspot, you'll see that Python's had it's share of mistakes, design failures and other oops! moments. I think that it is a testament to GvR's over-all design that the end

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-15 Thread rusi
On Wednesday, October 16, 2013 1:56:27 AM UTC+5:30, zipher wrote: Objects in programming languages (or 'values' if one is more functional programming oriented) correspond to things in the world. One of the things you're saying there is that values correspond to things in the world. But

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-15 Thread rusi
On Wednesday, October 16, 2013 3:31:06 AM UTC+5:30, Rhodri James wrote: On Tue, 15 Oct 2013 21:26:27 +0100, Mark Janssen wrote: = Rusi, attribution missing from original. Yes. It would help to keep your quotes bound (firstclassly?) to their respective quoters -- Mark Janssen also

Re: How pickle helps in reading huge files?

2013-10-16 Thread rusi
On Wednesday, October 16, 2013 12:35:42 PM UTC+5:30, Stéphane Wirtel wrote: Keep it in memory Thats a strange answer given that the OP says his file is huge. Of course 'huge' may not really be huge -- that really depends on the h/w he's using. --

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-16 Thread rusi
On Wednesday, October 16, 2013 11:27:03 PM UTC+5:30, zipher wrote: Types on the other hand correspond to our classifications and so are things in our minds. That is not how a C programmer views it. They have explicit typedefs that make it a thing for the computer. Speaking as a C

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-16 Thread rusi
On Thursday, October 17, 2013 6:17:57 AM UTC+5:30, Ned Batchelder wrote: On 10/16/13 8:13 PM, Mark Janssen wrote: Who uses object abstraction in C? No one. That's why C++ was invented. Examples from 1. Linux Kernel 2. Python 3. OS/2 But, here it is significant that the user

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-17 Thread rusi
On Thursday, October 17, 2013 12:19:02 PM UTC+5:30, Peter Cacioppi wrote: Object oriented programming takes things further, most significantly by introducing the idea that the object reference you are referencing might be a run time dependent sub-class. Even Python, which isn't strongly

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-17 Thread rusi
On Thursday, October 17, 2013 6:09:59 PM UTC+5:30, rusi wrote: On Thursday, October 17, 2013 12:19:02 PM UTC+5:30, Peter Cacioppi wrote: Object oriented programming takes things further, most significantly by introducing the idea that the object reference you are referencing might

Re: Sexism in the Ruby community: how does the Python community manage it?

2013-10-17 Thread rusi
On Thursday, October 17, 2013 5:18:25 PM UTC+5:30, Zero Piraeus wrote: : On Thu, Oct 17, 2013 at 09:20:39AM +, Steven D'Aprano wrote: Oh well. There's only so much I can do at once. I've got bigger troubles than trying to solve Ruby's problems with yahoos, and frankly, if I

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-17 Thread rusi
On Wednesday, October 16, 2013 1:56:27 AM UTC+5:30, zipher wrote: Yes, well clearly we are not having the same thoughts, yet the purpose of the academic establishment is to pin down such terminology and not have these sloppy understandings everywhere. You dig? Heh Mark I am really sorry. I

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-17 Thread rusi
On Thursday, October 17, 2013 11:14:29 PM UTC+5:30, MRAB wrote: On 17/10/2013 18:32, rusi wrote: On Wednesday, October 16, 2013 1:56:27 AM UTC+5:30, zipher wrote: Yes, well clearly we are not having the same thoughts, yet the purpose of the academic establishment is to pin down

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-17 Thread rusi
On Friday, October 18, 2013 7:38:30 AM UTC+5:30, zipher wrote: It's like this. No matter how you cut it, you're going to get back to the computers where you load instructions with switches. At that point, I'll be very much looking in anticipation to your binary-digit lexer. Why stop

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-18 Thread rusi
On Saturday, October 19, 2013 2:02:24 AM UTC+5:30, Peter Cacioppi wrote: I still say that object-based is a distinct and meaningful subset of object-oriented programming. Yes that is what is asserted by http://www-public.int-evry.fr/~gibson/Teaching/CSC7322/ReadingMaterial/Wegner87.pdf -- a

Re: Looking for UNICODE to ASCII Conversioni Example Code

2013-10-19 Thread rusi
On Saturday, October 19, 2013 8:40:37 PM UTC+5:30, Roy Smith wrote: Zero Piraeus wrote: For example, a miscreant may create the username 'míguel' in order to pose as another user 'miguel', relying on other users inattentiveness. Asciifying is one way of reducing the risk of that.

Re: Error Testing

2013-10-19 Thread rusi
On Saturday, October 19, 2013 7:04:30 PM UTC+5:30, Scott Novinger wrote: My plan is to create several different programs that perform specific Algebraic operations. My boys are learning Algebra 2 and I thought it might be a fun way to help us all learn Algebra and programming together.

Re: converting letters to numbers

2013-10-20 Thread rusi
On Monday, October 14, 2013 10:32:36 AM UTC+5:30, Steven D'Aprano wrote: On Sun, 13 Oct 2013 20:13:32 -0700, Tim Roberts wrote: def add(c1, c2): % Decode c1 = ord(c1) - 65 c2 = ord(c2) - 65 % Process i1 = (c1 + c2) % 26 % Encode return

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-20 Thread rusi
On Monday, October 21, 2013 7:51:12 AM UTC+5:30, Roy Smith wrote: In article Steven D'Aprano wrote: According to some, Java, which has many low-level machine primitive types, is an object-oriented language, while Python, which has no machine primitives and where every value is an

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread rusi
On Monday, October 21, 2013 2:13:52 PM UTC+5:30, Peter Cacioppi wrote: Specifically the following seems so misguided as to be deliberate trolling. The same could be said for this below… but… One of the reasons multiple languages exist is because people find that useful programming idioms

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread rusi
On Tuesday, October 22, 2013 8:25:58 AM UTC+5:30, Peter Cacioppi wrote: Guess-who said: but it's ugly, by which I mean it is hard to use, error prone, and not easily maintained. OK, I see the problem. What you call ugly is really just objectively bad. You continue to not attribute quotes.

Re: Python Front-end to GCC

2013-10-21 Thread rusi
On Tuesday, October 22, 2013 1:59:36 AM UTC+5:30, Ned Batchelder wrote: On 10/21/13 4:14 PM, Mark Janssen wrote: On Mon, Oct 21, 2013 at 12:46 AM, Steven D'Aprano wrote: An optimizing JIT compiler can often produce much more efficient, heavily optimized code than a static AOT compiler,

Re: Python Front-end to GCC

2013-10-22 Thread rusi
Mark Janssen said: Unattributed No its not like those 'compilers' i dont really agree with a compiler generating C/C++ and saying its producing native code. I dont really believe its truely within the statement. Compilers that do that tend to put in alot of type saftey code and

Re: Python Front-end to GCC

2013-10-22 Thread rusi
On Tuesday, October 22, 2013 11:53:22 PM UTC+5:30, Ned Batchelder wrote: A BNF doesn't provide enough information to compile a program to C. That's all I'm trying to help you understand. If you don't agree, then we have to talk about the meaning of the words BNF, compile, program, and C. I

Re: Python Front-end to GCC

2013-10-22 Thread rusi
On Wednesday, October 23, 2013 7:06:40 AM UTC+5:30, alex23 wrote: On 23/10/2013 4:40 AM, Ned Batchelder wrote: I've tried to be polite, and I've tried to be helpful, but I'm sorry: either you don't understand a lot of the terms you are throwing around, or you aren't disciplined enough to

Re: Maintaining a backported module

2013-10-24 Thread rusi
On Thursday, October 24, 2013 5:16:58 PM UTC+5:30, Steven D'Aprano wrote: On Thu, 24 Oct 2013 06:36:04 -0400, Ned Batchelder wrote: coverage.py currently runs on 2.3 through 3.4 You support all the way back to 2.3??? I don't know whether to admire your dedication, or back away slowly

  1   2   3   4   5   6   7   8   9   10   >