Sunday, February 28, 2010

configuration and datasource

Hello all,
My cakephp application uses a few custom configuration constants which
I load from a configuration file.
I would like to have some of the users to be able to change the
settings of these constants.
My first idea was to use a database table which will contain these
configuration constants, but then I thought that every call to every
url would also create an extra call to a certain db table to fetch
these config constants.
I thought of another option which is creating a datasource which will
be mapped to a configuraion file so when an update will be needed,
this file will be re-written.
Is it a good idea?
How can I expose my configuration constants to be changed by some
users without loosing performance ? The database is constantly being
read and I don't want to add another read/write operation to it...
Thanks very much,
Roey

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

MASTER PSYCHIC READER~ ACCURATE & AMUSING

Your first 3 minutes are FREE talking live with me.

Please visit my website at: http://www.keen.com/Ask+Fran

Or, call me right now at: 1-800-275-5336 x0160


--
You received this message because you are subscribed to the Google Groups "BeautiControl-Alabama-Gadsden" group.
To post to this group, send email to beauticontrol-alabama-gadsden@googlegroups.com.
To unsubscribe from this group, send email to beauticontrol-alabama-gadsden+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beauticontrol-alabama-gadsden?hl=en.

[Rails] Rendering an action (with layout) into a Javascript template

Hi everyone

I have an action:

def index
@settings = Setting.all(:order => 'name')

respond_to do |format|
format.html
format.js
end
end

and corresponding views:

index.html.erb:

<h1>Settings</h1>
...


index.js.erb

$("<%= escape_javascript(render XXX) %>").bigDialog();


So what's happening is that for HTML requests the HTML template will
be rendered (inside application.html.erb) and for Javascript requests
I want the HTML template to be rendered as a string into the
Javascript snippet so that jQuery can throw out a dialog. The catch is
that dialogs have a separate layout file, dialog.html.erb.

Is there a way to render a template with a layout into my Javascript
snippet where I've typed "render XXX"? I've looked at render_to_string
but that breaks MVC by taking view material into the controller.

Ideally, I'd like something like render(:action =>
'index.html.erb', :layout => 'dialog') (note index.html.erb to
distinguish it from index.js.erb) and have this rendered inline.

Ideas?

Thanks!
Tristan

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

comp.lang.python - 25 new messages in 17 topics - digest

comp.lang.python
http://groups.google.com/group/comp.lang.python?hl=en

comp.lang.python@googlegroups.com

Today's topics:

* Challenge: escape from the pysandbox - 2 messages, 2 authors
http://groups.google.com/group/comp.lang.python/t/87bf10f8acede7c3?hl=en
* Py2exe - Bad File Descriptor - 4 messages, 2 authors
http://groups.google.com/group/comp.lang.python/t/da53bce38fcf95b6?hl=en
* Updates about Tk - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/d8d24eacf022ed75?hl=en
* stripping fields from xml file into a csv - 2 messages, 2 authors
http://groups.google.com/group/comp.lang.python/t/978963344b473e2d?hl=en
* Upgrading Py2exe App - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/425fea70d75ab788?hl=en
* Python dos2unix one liner - 2 messages, 2 authors
http://groups.google.com/group/comp.lang.python/t/c4b63debe91d51c7?hl=en
* PyQt4.7 and PyQwt5.2.0 - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/8e2afe83fd158f42?hl=en
* pynguin-0.1 (python-based turtle graphics application) - 1 messages, 1
author
http://groups.google.com/group/comp.lang.python/t/e5ff8666aba21846?hl=en
* Earn Money Online without Investment - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/2abdd714493399d1?hl=en
* Docstrings considered too complicated - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/dea5c94f3d058e26?hl=en
* help with Python installation - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/7b9dfd6f69a57931?hl=en
* Quoting quotes - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/91b44580c41be61c?hl=en
* Use eval() safely? - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/885bc48dabf073e6?hl=en
* cpan for python? - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/ecd51ced8d24593e?hl=en
* Starting Python from the terminal with no welcome message - 2 messages, 2
authors
http://groups.google.com/group/comp.lang.python/t/e7843b8d59f2e41a?hl=en
* Sample code usable Tkinter listbox - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/bd27ec170800827f?hl=en
* Draft PEP on RSON configuration file format - 2 messages, 2 authors
http://groups.google.com/group/comp.lang.python/t/09ce33197b330e90?hl=en

==============================================================================
TOPIC: Challenge: escape from the pysandbox
http://groups.google.com/group/comp.lang.python/t/87bf10f8acede7c3?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Feb 28 2010 9:55 am
From: aahz@pythoncraft.com (Aahz)


In article <mailman.330.1267292249.4577.python-list@python.org>,
Daniel Fetchinson <fetchinson@googlemail.com> wrote:
>
>I guess they also have some kind of a sandbox if they let people run
>python on their machines, I'm not sure if it's open source though.

Thing is, I'm sure that Google uses a critical backstop to any
Python-based sandbox: something like a chroot jail. The Python sandbox
is mostly there to inform you about what you can and can't do; the real
security is provided by the OS.
--
Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/

"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer


== 2 of 2 ==
Date: Sun, Feb 28 2010 2:40 pm
From: Daniel Fetchinson


>>I guess they also have some kind of a sandbox if they let people run
>>python on their machines, I'm not sure if it's open source though.
>
> Thing is, I'm sure that Google uses a critical backstop to any
> Python-based sandbox: something like a chroot jail. The Python sandbox
> is mostly there to inform you about what you can and can't do; the real
> security is provided by the OS.

I see, makes perfect sense. This then raises the question whether it's
important to have a 100% fool proof python sandbox without help from
the OS, or this goal is not only too ambitious but also not really a
useful one. One aspect might be that one might want to have a platform
independent way of sandboxing, perhaps.

Cheers,
Daniel


--
Psss, psss, put it down! - http://www.cafepress.com/putitdown

==============================================================================
TOPIC: Py2exe - Bad File Descriptor
http://groups.google.com/group/comp.lang.python/t/da53bce38fcf95b6?hl=en
==============================================================================

== 1 of 4 ==
Date: Sun, Feb 28 2010 10:35 am
From: T


I have a Python script, which is a Windows Service, that I created an
EXE of via py2exe. As part of the program, it calls some external
binaries, one of which restarts the computer. When I'm logged in,
this works fine. However, if I log out, the service stops and logs
the following error in the Event Log:

<type 'exceptions.IOError'>:(9, 'Bad file descriptor')

Anyone have an idea what could be causing this?


== 2 of 4 ==
Date: Sun, Feb 28 2010 12:48 pm
From: Dennis Lee Bieber


On Sun, 28 Feb 2010 10:35:23 -0800 (PST), T <misceverything@gmail.com>
declaimed the following in gmane.comp.python.general:

> I have a Python script, which is a Windows Service, that I created an
> EXE of via py2exe. As part of the program, it calls some external
> binaries, one of which restarts the computer. When I'm logged in,
> this works fine. However, if I log out, the service stops and logs
> the following error in the Event Log:
>
> <type 'exceptions.IOError'>:(9, 'Bad file descriptor')
>
> Anyone have an idea what could be causing this?

Without code, one must play psychic... And I haven't dusted off the
Tarot cards, I Ching coins, and Crystal balls is some time (No, I don't
have a ouija board)...

Could it be you have a mapped drive that gets disconnected when you
log off?

Is the service being started as part of your login?

Does it attempt to write to a console?
--
Wulfraed Dennis Lee Bieber KD6MOG
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/

== 3 of 4 ==
Date: Sun, Feb 28 2010 1:22 pm
From: T


On Feb 28, 3:48 pm, Dennis Lee Bieber <wlfr...@ix.netcom.com> wrote:
> On Sun, 28 Feb 2010 10:35:23 -0800 (PST), T <misceveryth...@gmail.com>
> declaimed the following in gmane.comp.python.general:
>
> > I have a Python script, which is a Windows Service, that I created an
> > EXE of via py2exe.  As part of the program, it calls some external
> > binaries, one of which restarts the computer.  When I'm logged in,
> > this works fine.  However, if I log out, the service stops and logs
> > the following error in the Event Log:
>
> > <type 'exceptions.IOError'>:(9, 'Bad file descriptor')
>
> > Anyone have an idea what could be causing this?
>
>         Without code, one must play psychic... And I haven't dusted off the
> Tarot cards, I Ching coins, and Crystal balls is some time (No, I don't
> have a ouija board)...
>
>         Could it be you have a mapped drive that gets disconnected when you
> log off?
>
>         Is the service being started as part of your login?
>
>         Does it attempt to write to a console?
> --
>         Wulfraed         Dennis Lee Bieber               KD6MOG
>         wlfr...@ix.netcom.com      HTTP://wlfraed.home.netcom.com/

Sorry for the lack of code - yes, it does try to write to the
console. From what I'm finding, this error may be due to the fact
that there is no "console" to write to when I'm logged off. However,
I would like to be able to print to screen if I run the EXE in debug
mode (i.e. "myservice.exe debug"). Do you know of any way around
this? Also, I need to get the output generated from an external EXE -
will subprocess.Popen cause problems if I use stdout=PIPE? Thanks for
your help!


== 4 of 4 ==
Date: Sun, Feb 28 2010 7:00 pm
From: Dennis Lee Bieber


On Sun, 28 Feb 2010 13:22:19 -0800 (PST), T <misceverything@gmail.com>
declaimed the following in gmane.comp.python.general:

> Sorry for the lack of code - yes, it does try to write to the
> console. From what I'm finding, this error may be due to the fact
> that there is no "console" to write to when I'm logged off. However,
> I would like to be able to print to screen if I run the EXE in debug
> mode (i.e. "myservice.exe debug"). Do you know of any way around
> this? Also, I need to get the output generated from an external EXE -
> will subprocess.Popen cause problems if I use stdout=PIPE? Thanks for
> your help!

True services typically don't have interactive (console) type I/O...
What is more likely to work is to have an open socket waiting for
connections, and the use of a separate user-space client that connects
to the socket...
--
Wulfraed Dennis Lee Bieber KD6MOG
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/


==============================================================================
TOPIC: Updates about Tk
http://groups.google.com/group/comp.lang.python/t/d8d24eacf022ed75?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 11:10 am
From: Fabiano


rantingrick ha scritto:
> On Feb 27, 11:11 am, Kevin Walzer <k...@codebykevin.com> wrote:
>
> (...snip...)
>
>> Kevin Walzer
>> Code by Kevinhttp://www.codebykevin.com
>
> Great post Kevin! The only thing i would like to add are my two
> favorite references for learning Tkinter. They are not geared around
> the new ttk stuff, but still 95% relevant to any Tkinter-ing
>
> http://effbot.org/tkinterbook/
> http://infohost.nmt.edu/tcc/help/pubs/tkinter/
>
>

Thanks @All you guys for the explanations and links!
Regards

==============================================================================
TOPIC: stripping fields from xml file into a csv
http://groups.google.com/group/comp.lang.python/t/978963344b473e2d?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Feb 28 2010 11:20 am
From: Stefan Behnel


Hai Vu, 28.02.2010 17:41:
> By the way, Stefan, I am using Python 2.6. Do you know the differences
> between ElementTree and cElementTree?

Use cElementTree, it's implemented in C and a lot faster and more memory
friendly.

http://effbot.org/zone/celementtree.htm#benchmarks
http://codespeak.net/lxml/performance.html

Stefan

== 2 of 2 ==
Date: Sun, Feb 28 2010 3:15 pm
From: Hal Styli


On 28 Feb, 19:20, Stefan Behnel <stefan...@behnel.de> wrote:
> Hai Vu, 28.02.2010 17:41:
>
> > By the way, Stefan, I am using Python 2.6. Do you know the differences
> > between ElementTree and cElementTree?
>
> Use cElementTree, it's implemented in C and a lot faster and more memory
> friendly.
>
> http://effbot.org/zone/celementtree.htm#benchmarkshttp://codespeak.net/lxml/performance.html
>
> Stefan

Thanks for the responses so far, most enlightening.

Stefan, I was happy to see such concise code.
Your python worked with only very minor modifications.

Hai's test xml data *without* the first and last line is close enough
to the data I am using:

<order customer="john" product="eggs" quantity="12" />
<order customer="cindy" product="bread" quantity="1" />
<order customer="larry" product="tea bags" quantity="100" />
<order customer="john" product="butter" quantity="1" />
<order product="chicken" quantity="2" customer="derek" />

... quirky.

I get a large file given to me in this format. I believe it is
created by something like:
grep 'customer=' *.xml, where there are a large number of xml files.

I had to edit the data to include the first and last lines, <orders>
and </orders>,
to get the python code to work. It's not an arduous task(!), but can
you recommend a way to get it to work without
manually editing the data?

One other thing, what's the Roland Mueller post above about (I'm
viewing htis in google groups)? What would the test.xsl file look
like?

Thanks again

Hal.

==============================================================================
TOPIC: Upgrading Py2exe App
http://groups.google.com/group/comp.lang.python/t/425fea70d75ab788?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 11:44 am
From: aahz@pythoncraft.com (Aahz)


In article <mailman.201.1267054217.4577.python-list@python.org>,
Ryan Kelly <ryan@rfk.id.au> wrote:
>On Wed, 2010-02-24 at 15:05 -0800, Aahz wrote:
>> In article <mailman.2807.1266614926.28905.python-list@python.org>,
>> Ryan Kelly <ryan@rfk.id.au> wrote:
>>>
>>>Yes. The idea of having a "bootstrapping exe" is that actual
>>>application code can be swapped out without having to overwrite the
>>>executable file. As long as you don't change python versions, this
>>>allows updates to be safe against system crashes, even on platforms
>>>without atomic file replacement.
>>>
>>>So the frozen app does this in a background thread:
>>>
>>> Esky(sys.executable,"http://my.updates.com").auto_update()
>>>
>>>And it hits the given url, grabs the latest zipfile, downloads and
>>>unpacks and atomically places it into the application directory. Et
>>>viola, your app is at the latest version.
>>
>> How does this work with a running app? What if the app is a service?
>
>The changes will only take effect the next time the app is started -
>currently there's no support for "hot upgrading" a running app.

From my POV, hot upgrading is less important than solid restart
capabilities, particularly for services. Performing tasks like modifying
the DB schema is also important (not the actual capability, but hooks for
it). E.g., the next time the app starts, it should know that it's been
upgraded.
--
Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/

"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer

==============================================================================
TOPIC: Python dos2unix one liner
http://groups.google.com/group/comp.lang.python/t/c4b63debe91d51c7?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Feb 28 2010 12:48 pm
From: Dennis Lee Bieber


On Sun, 28 Feb 2010 12:05:12 +0100, Stefan Behnel <stefan_ml@behnel.de>
declaimed the following in gmane.comp.python.general:

> Steven D'Aprano, 28.02.2010 09:48:
> > There ought to be some kind of competition for the least efficient
> > solution to programming problems
>
> That wouldn't be very interesting. You could just write a code generator
> that spits out tons of garbage code including a line that solves the
> problem, and then let it execute the code afterwards. That beast would
> always win.
>
This is beginning to sound like the final project someone did at my
college (he was a year ahead of me, and this is hearsay); supposedly he
couldn't figure out how to write the code for the solution but since the
instructor had given the test data and the correct results he'd created
some ugly spaghetti coded (we are talking late 70s here -- flow charts
were still considered coding tools) that somewhere read the input, and
after lots of obscure operations, had output statements that gave out
the canned result.
--
Wulfraed Dennis Lee Bieber KD6MOG
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/

== 2 of 2 ==
Date: Sun, Feb 28 2010 2:59 pm
From: Steven D'Aprano


On Sun, 28 Feb 2010 12:05:12 +0100, Stefan Behnel wrote:

> Steven D'Aprano, 28.02.2010 09:48:
>> There ought to be some kind of competition for the least efficient
>> solution to programming problems
>
> That wouldn't be very interesting. You could just write a code generator
> that spits out tons of garbage code including a line that solves the
> problem, and then let it execute the code afterwards. That beast would
> always win.

Obfuscated code competitions could do the same: insert your simple,
straight-forward, completely unobfuscated algorithm somewhere in the
middle of 15 GB of garbage code. Who would even find it?

But they don't, because human judges decide the winner, not some silly
rule of "the most lines of code wins".

In any case, I wasn't serious. It would be a bit of fun, if you like that
sort of thing, and you might even learn a few things (I never knew that
ints don't have an __eq__ method), but I can't see it taking off. I
prefer to use my powers for inefficiency to be sarcastic to strangers on
Usenet.

--
Steven

==============================================================================
TOPIC: PyQt4.7 and PyQwt5.2.0
http://groups.google.com/group/comp.lang.python/t/8e2afe83fd158f42?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 1:15 pm
From: Gib Bogle


I installed the latest PyQt (4.7-1), then PyQwt 5.2.0, which was built with
PyQt4.5.4. This line

import PyQt4.Qwt5 as Qwt

fails to load the DLL. Could this be the result of not using PyQt4 4.5.4?

==============================================================================
TOPIC: pynguin-0.1 (python-based turtle graphics application)
http://groups.google.com/group/comp.lang.python/t/e5ff8666aba21846?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 1:17 pm
From: Lee Harr

pynguin is a python-based turtle graphics application.
    It combines an editor, interactive interpreter, and
    graphics display area.

It is meant to be an easy environment for introducing
    some programming concepts to beginning programmers.


http://pynguin.googlecode.com/


This is the initial release, with many optimizations
    and finer details yet to come. Please check it out
    and let me know what you think.


pynguin is tested with Python 2.6.4 and uses PyQt (4.6)
    for its GUI elements. pynguin is released under GPLv3.


Changes in pynguin-0.1:
    - initial public release


_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969

==============================================================================
TOPIC: Earn Money Online without Investment
http://groups.google.com/group/comp.lang.python/t/2abdd714493399d1?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 1:47 pm
From: "ranga..............."


Earn Money Online without Investment

Now anyone can earn money online with out any investment by using some
genuine websites.
The detailed information of some of the genuine everseen good earnings
website information are presented clealy for free at

http://earnmoneyonline-without-investment.blogspot.com/2010/02/earn-money-with-e-mail-marketing-how-it.html

Earn Money Online with out Inevstment Overview :

| Home |
| E-mail Marketing |
| Home Job Opportunities |
| Contact |
| Disclaimer |
| Sitemap |

Earn Money By :

| Reading E-mails |
| Clicking Ads |
| Chatting Friends |
| Surfing Internet |
| Filling Forms |
| Taking Surveys |

==============================================================================
TOPIC: Docstrings considered too complicated
http://groups.google.com/group/comp.lang.python/t/dea5c94f3d058e26?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 2:10 pm
From: aahz@pythoncraft.com (Aahz)


In article <4b889e3d$0$27844$c3e8da3@news.astraweb.com>,
Steven D'Aprano <steve@REMOVE-THIS-cybersource.com.au> wrote:
>On Fri, 26 Feb 2010 21:51:17 -0600, Tim Daneliuk wrote:
>>
>> The only possible exception to this I can think of is when there is some
>> non-obvious side-effect (i.e. language and/or hardware is
>> "misfeatured"):
>>
>> mov A,B ; Moving A into B also will also arm
>> ; the nuclear warhead if the CPU is
>> ; hotter than 110C
>
>I had an embedded device that did *just that*, but only on Tuesdays.

Thus explaining why some people never can get the hang of Tuesdays.
--
Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/

"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer

==============================================================================
TOPIC: help with Python installation
http://groups.google.com/group/comp.lang.python/t/7b9dfd6f69a57931?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 2:23 pm
From: gujax


On Feb 27, 10:14 pm, Arnaud Delobelle <arno...@googlemail.com> wrote:
> On 28 Feb, 01:48, gujax <rjngrj2...@gmail.com> wrote:
>
> > Hi,
> > I have been trying to install python on my Win ME system for over two
> > years - gave up for a while and now I am back with a resolve to solve
> > the problem. I tried all versions of python but having installation
> > problems for all. Installation does not proceed and I get a message
> > saying "dll required for installation could not be run". I do not even
> > know what to do next. I also tried Activepython. It installs but when
> > I try to open it from Start->Programs->ActivePython 2.6, I get an
> > error window saying - upgrade windows.
> > Is there no solution at all to installing python on WinME. I have
> > checked registry several times online and have sought professional
> > help but so far no success.
> > Thanks, I will appreciate any help
> > gujax
>
> The docs (*) say that Python 2.5 is still compatible with Windows 9X
> and ME, but that support for these platform was dropped at 2.6.  So
> you should be able to install and run Python 2.5.
>
> (*)http://docs.python.org/using/windows.html#installing-python
>
> --
> Arnaud

Hi,
Yes indeed, Python 2.5 worked and so did numpy and scipy for this
version. Thanks to all for your inputs. There are now issues with
plotting - graph plotting using pylab does not work nor does the Tck-
Tk, but for now I am satisfied. Hopefully I will plod my way through.
I should have read the documentation properly to realize that Win ME
is not supported for later versions,
Thanks again
Gujax

==============================================================================
TOPIC: Quoting quotes
http://groups.google.com/group/comp.lang.python/t/91b44580c41be61c?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 2:46 pm
From: candide


OK, now I see the point. I was mistaken because I was supposing that
every quote strictly _inside_ the string have to match another quote od
the same type.

Thanks to all for yours responses.

==============================================================================
TOPIC: Use eval() safely?
http://groups.google.com/group/comp.lang.python/t/885bc48dabf073e6?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 2:52 pm
From: "W. Martin Borgert"


Gregory Ewing wrote:
> I posted a demonstration of this earlier in this thread.

As you wrote, your example does not work when using eval() like
in my original post with second and third parameter to eval():

>>> import math
>>> eval("[c for c in (0).__class__.__bases__[0].__subclasses__() if c.__name__ == 'file'][0]('/myfile', 'w')",
{ "__builtins__": None }, { "abs": abs, "sin": math.sin })
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 1, in <module>
IOError: file() constructor not accessible in restricted mode

(Same result with Python 2.4, 2.5, and 2.6.)

While I believe, that eval() is not save, I have yet to see an
example for exploiting it. Leaving out the second and third
parameter just proves, that one shouldn't omit them :~)

Thanks in advance for any black hat example!

P.S. Please Cc me, thanks.

==============================================================================
TOPIC: cpan for python?
http://groups.google.com/group/comp.lang.python/t/ecd51ced8d24593e?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 2:57 pm
From: Steven D'Aprano


On Sun, 28 Feb 2010 17:27:22 +0100, Daniel Fetchinson wrote:

> <OFF>
> Is it only me or others also mentally read C-SPAN when somebody writes
> CPAN? </OFF>

No, it's not just you. This is the first time I've realised it wasn't
C-SPAN.


--
Steven

==============================================================================
TOPIC: Starting Python from the terminal with no welcome message
http://groups.google.com/group/comp.lang.python/t/e7843b8d59f2e41a?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Feb 28 2010 3:23 pm
From: candide


Hi,

Does exist some option I could send to the python interpreter during an
interactive session in order to avoid the printing of the introductory
message just above the top prompt ?

In my case, the welcome message is the following :

Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

gdb has such an option (the so-called quiet option).


Compare this :

$ gdb
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
(gdb)

with that

$ gdb -q
(gdb)


== 2 of 2 ==
Date: Sun, Feb 28 2010 5:21 pm
From: Tim Chase


candide wrote:
> Does exist some option I could send to the python interpreter during an
> interactive session in order to avoid the printing of the introductory
> message just above the top prompt ?
>
> In my case, the welcome message is the following :
>
> Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
> [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.

I asked a similar question a while back:

http://www.opensubscriber.com/message/python-list@python.org/4611139.html

(strangely, I couldn't find that in the mail.python.org archives
via google)

If you don't want to monkey with the prompts (like I did in that
thread), you can just use

bash$ python -ic ""

to get a python shell without the banner.

That said, it _would_ be a nice addition to have a "-q"uiet
startup option that behaves like many other apps do. But with it
being just a few extra characters on the command-line, I don't
expect it will happen.

-tkc

==============================================================================
TOPIC: Sample code usable Tkinter listbox
http://groups.google.com/group/comp.lang.python/t/bd27ec170800827f?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 4:30 pm
From: "Alf P. Steinbach"


In case Someone Else(TM) may need this.

This code is just how it currently looks, what I needed for my code, so it's not
a full-fledged or even tested class.

But it works.


<code language="Py3">
import tkinter as t
import tkinter.simpledialog
import tkinter.messagebox
t.askstring = tkinter.simpledialog.askstring
t.warningbox = tkinter.messagebox.showwarning

class UsableListbox( t.Frame ):
def __init__( self, parent_widget ):
t.Frame.__init__( self, parent_widget )
scrollbar = t.Scrollbar( self, orient = "vertical" )
self.lb = t.Listbox( self, yscrollcommand = scrollbar.set )
scrollbar.config( command = self.lb.yview )
scrollbar.pack( side = "right", fill = "y" )
self.lb.pack( side = "left", fill = "both", expand = 1 )

def current_index( self ):
indices = self.lb.curselection()
assert( len( indices ) <= 1 ) # TODO: about multi-selection.
return None if len( indices ) == 0 else int( indices[0] )

def current( self ):
#return self.lb.get( "active" ) # Incorrect with mousing
i = self.current_index()
return "" if i is None else self.lb.get( i )

def append( self, item ):
return self.lb.insert( "end", item )

def add_selection_event_handler( self, handler ):
"An event handler takes one argument, a Tkinter Event"
return self.lb.bind( "<<ListboxSelect>>", handler )
</code>


Cheers,

- Alf

==============================================================================
TOPIC: Draft PEP on RSON configuration file format
http://groups.google.com/group/comp.lang.python/t/09ce33197b330e90?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Feb 28 2010 6:09 pm
From: Patrick Maupin


All:

Finding .ini configuration files too limiting, JSON and XML to hard to
manually edit, and YAML too complex to parse quickly, I have started
work on a new configuration file parser.

I call the new format RSON (for "Readable Serial Object Notation"),
and it is designed to be a superset of JSON.

I would love for it to be considered valuable enough to be a part of
the standard library, but even if that does not come to pass, I would
be very interested in feedback to help me polish the specification,
and then possibly help for implementation and testing.

The documentation is in rst PEP form, at:

http://rson.googlecode.com/svn/trunk/doc/draftpep.txt

Thanks and best regards,
Pat


== 2 of 2 ==
Date: Sun, Feb 28 2010 6:55 pm
From: Paul Rubin


Patrick Maupin <pmaupin@gmail.com> writes:
> I have started work on a new configuration file parser....
> The documentation is in rst PEP form, at:...

Noooooooo.... not another... there are too many already. :-(

-1


==============================================================================

You received this message because you are subscribed to the Google Groups "comp.lang.python"
group.

To post to this group, visit http://groups.google.com/group/comp.lang.python?hl=en

To unsubscribe from this group, send email to comp.lang.python+unsubscribe@googlegroups.com

To change the way you get mail from this group, visit:
http://groups.google.com/group/comp.lang.python/subscribe?hl=en

To report abuse, send email explaining the problem to abuse@googlegroups.com

==============================================================================
Google Groups: http://groups.google.com/?hl=en

Re: to_field connected to field in UserProfile

I don't see much reason to keep Payment method separate from the Orders class then. For each order, you can have a different payment method, so just make a payment method column in the Orders model. Like this:

payment_method_choices = (
    ('$$', 'Cash'),
    ('cc', 'Credit Card'),
)

class Order(models.Model):

    id = models.ForeignKey(CustomerProfile)
    payment_method = models.CharField(max_length=32, choices = payment_method_choices)

By including specific choices the drop-down menu will get rendered automatically by the form (at least on the admin screen...you'll need to do it yourself in your templates as a drop down menu).

At least, this is what I think I would do.

-Tim


On Sat, Feb 27, 2010 at 5:17 AM, django_is <festival.star@googlemail.com> wrote:
Yeah I understand that. But it makes no sense to link the payment
field in my Orders model to the CustomerProfile.
In the end I want to save one payment method from the methods that are
available for one specific user in my record for one order. I'm just
confused on how to achieve that. From a user perspective I'd like to
get a dropdown when adding one order in the backend which allows me to
select one payment method from the methods that got added to the one
specific user. (the same applies to a form field for the frontend)

It would be awesome if you could help me in that point. Thank you very
much!

On Feb 24, 7:10 pm, Timothy Kinney <timothyjkin...@gmail.com> wrote:
> When you include the to_field, it tells Django that you want the foreignkey
> to be the to_field on the CustomerProfile. It then looks for a field called
> payment_id (following the foreignKey relationship). This is normal.
>
> If you remove the to_field, it will choose the primary key of
> CustomerProfile which is probably an AutoField. Then it will look for
> CustomerProfile_id which is a field that DOES exist.
>
> The point of the ForeignKey option is to link one model to another one *via
> the primary key*. You don't link to a random field in the model, you always
> link to the primary key.
>
> Does that make sense?
>
> -Tim
>
> On Tue, Feb 23, 2010 at 11:23 AM, django_is <festival.s...@googlemail.com>wrote:
>
> > Thank you for your response. But how would the Orders model field for
> > payment look like?
>
> > Should it look like that:
>
> > payment = models.ForeignKey(CustomerProfile,
> > related_name="order_customer_payment",verbose_name='Zahlungsart')
>
> > I don't understand how that should work. At the moment I am quite
> > confused about what you mean.
>
> > Regards
>
> > On 23 Feb., 16:00, Daniel Roseman <dan...@roseman.org.uk> wrote:
> > > On Feb 23, 11:56 am, django_is <festival.s...@googlemail.com> wrote:
>
> > > > Hmm ok. Assuming the use case above what would be the correct way to
> > > > solve this problem? Especially to have the possibility to have one
> > > > field in the Orders table that allows me to select one payment method
> > > > of the methods which got added to the one specific user. Adding
> > > > payment methods to each user happens in the CustomerProfile with the
> > > > M2M relationship between the CustomerProfile model and the Payment
> > > > model.
>
> > > > Here is the M2M relationship defined in the CustomerProfile:
>
> > > > payment = models.ManyToManyField(Payment, verbose_name='Zahlungsart')
>
> > > > This M2M relationship is working as expected. I just don't know how to
> > > > get the payment methods inside the Orders model.
>
> > > > It would be great if you could help me with this.
>
> > > > Thank you very much.
>
> > > > Regards
>
> > > I don't know how I can make what I said in the previous message it any
> > > clearer: you don't need the to_field.
> > > --
> > > DR.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to django-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > django-users+unsubscribe@googlegroups.com<django-users%2Bunsubscribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Re: [android-developers] Re: Passing a LinearLayout from one Activity to another

If I were to have one class(java non Android but within the same Application) create a LinearLayout dynamically consisting of 'n' views 
And then let us say we want to spawn a new Activity with this LinearLayout in it then how would we do this.
Is there a good approach for this?
I do realize this is not the recommended way of doing things, but nevertheless is there a way to achieve it?
-------------------------------
Aniruddh Bajirao

Sent from my iPhone

On Feb 28, 2010, at 8:13 PM, Aniruddh Bajirao <abajirao@gmail.com> wrote:

Thanks a lot. 
I just wanted to know if such things are possible and shud it be done. 
I was havin a discussion on Intents  and someone raised this question. After thinking about it for a while and trying it out (obviously it didn't work), I thought I'd ask for help on the forum. 
What we were trying to do was to create a LinearLayout outside an Activity and then pass it to an activity. No real reason there... just experimenting cos we were discussing it.

Thanks for ur ideas on this.

On Sun, Feb 28, 2010 at 11:45 AM, Zigurd <zigurd.mednieks@gmail.com> wrote:
Can you clarify what you are trying to do? It's hard to see why you
want to do what you are asking about.

If you are trying to display the same information, from the same data
model, in two identical-looking views in two different activities, you
should create a class that extends AdapterView if your data model
contains several of the same kind of thing. If the data is all
different kinds, use the observer/observable classes in either
android.database or java.util to connect two views to the same data
using an implementation of the observer pattern. If the views can be
in two different apps, use a ContentProvider component. If you want
the views to look identical, use the same XML to specify how they
look.

On Feb 28, 10:36 am, Aniruddh Bajirao <abaji...@gmail.com> wrote:
> For a rather crazy reason I am trying to pass a linearLayout from one
> activity to another.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Great spirits have always found violent opposition from mediocrities. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence.
... Albert Einstein.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Aniruddh Bajirao
http://myblog.abajirao.com/myblog

Re: How does the default option for a field work in the model?

On Sun, Feb 28, 2010 at 5:13 PM, Andrej <amasiar@gmail.com> wrote:
> I want to use the Admin module to pre-set default values when creating
> the form. For example, in the gender case, I want to have default
> "Unknown" option. Is this this not possible?

It is possible; all you have to do is specify the choices you want,
either in the model or in a form to be used specifically by the admin.
The techniques for both options are covered in the appropriate places
in Django's documentation.


--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

rec.crafts.metalworking - 25 new messages in 14 topics - digest

rec.crafts.metalworking
http://groups.google.com/group/rec.crafts.metalworking?hl=en

rec.crafts.metalworking@googlegroups.com

Today's topics:

* building jeep frame - 4 messages, 2 authors
http://groups.google.com/group/rec.crafts.metalworking/t/32fc57a529507b1b?hl=en
* Tarnow lathes? - 2 messages, 2 authors
http://groups.google.com/group/rec.crafts.metalworking/t/c3da114c072ca535?hl=en
* OT - Most states kick blue asse - 1 messages, 1 author
http://groups.google.com/group/rec.crafts.metalworking/t/d00573543954f95d?hl=en
* Gunlogix 102 - 2 messages, 2 authors
http://groups.google.com/group/rec.crafts.metalworking/t/ddbce96971d01884?hl=en
* Glenn Beck Is an AMERICAN PATRIOT - 2 messages, 1 author
http://groups.google.com/group/rec.crafts.metalworking/t/03ecfef2321238cb?hl=en
* Ask Not for Whom the Bell Tolls - 1 messages, 1 author
http://groups.google.com/group/rec.crafts.metalworking/t/e28f01e35d28c845?hl=en
* Dear Sarah Palin - 1 messages, 1 author
http://groups.google.com/group/rec.crafts.metalworking/t/49995c2bf299dcdf?hl=en
* Vernier caliper accuracy - 1 messages, 1 author
http://groups.google.com/group/rec.crafts.metalworking/t/76e5fcfdb23ed51e?hl=en
* Gun nuts need psych tests, at least "obsessed" 0bama lovers do. - 2 messages,
1 author
http://groups.google.com/group/rec.crafts.metalworking/t/11438d55184e2ddd?hl=en
* Harbor Freight Coupons - 1 messages, 1 author
http://groups.google.com/group/rec.crafts.metalworking/t/dfe3cb755252382f?hl=en
* Pawn Shop Bargains ... - 2 messages, 1 author
http://groups.google.com/group/rec.crafts.metalworking/t/b7474a867df329f8?hl=en
* Need D1-4 Chuck, 4-Jaw - 1 messages, 1 author
http://groups.google.com/group/rec.crafts.metalworking/t/ab53f8cc8f8128ee?hl=en
* Ping: Igor - re: High Voltage - 2 messages, 1 author
http://groups.google.com/group/rec.crafts.metalworking/t/7efd1b146e09d053?hl=en
* The Gunner News Agency - 3 messages, 1 author
http://groups.google.com/group/rec.crafts.metalworking/t/5cc22b57aa9c402b?hl=en

==============================================================================
TOPIC: building jeep frame
http://groups.google.com/group/rec.crafts.metalworking/t/32fc57a529507b1b?hl=en
==============================================================================

== 1 of 4 ==
Date: Sun, Feb 28 2010 5:18 pm
From: Howard Eisenhauer


On Sun, 28 Feb 2010 22:49:46 GMT, Jordan <jwprincic@otpusnet.com.au>
wrote:

*Snip*
.
>Don't Jeep frames need to flex somewhat? I saw a bare one sitting on a
>garage floor. The owner picked up one corner, and the other three
>corners stayed on the floor!
>
>Jordan


CJ frames up till the late 70's were mostly un-boxed c cahannel & were
very flexy. Most people building up an early CJ foe seroius off-road
activities will completely box thier frames for the added stiffness &
t prevent cracking at stress points, htey rely on up-graded
suspensions to keep all 4 on the ground.

H.


== 2 of 4 ==
Date: Sun, Feb 28 2010 5:34 pm
From: Howard Eisenhauer


On Sun, 28 Feb 2010 10:54:39 -0800 (PST), mark <markhabbi@hotmail.com>
wrote:

*Snip*


>> - Show quoted text -
>
>Roy, as for the bends, I am going to eliminate the arches for the leaf
>springs, I have a 4" suspension lift so straight frame rails will be
>fine although I will have to bring them in narrower at the front.
>

*Snip*

Eliminating the arches is gonna hurt come articulation time :(

Plus it's going to complicate the body mounting, the front & rear
kick-ups arn't there just for the arches.

As for an aluminuim chassis in general-

http://www.fishing.net.nz/asp_forums/uploads/53972/can-o-worms.gif

Live in an occaiasionally damp area? Aluminum+steel+damp= galvanic
corosion = a bitch.

Build your own if you want, lots of people have done it successfully
but you'll be a lot happier with the results if you go galvanized
steel.

Hit up the Early CJ5 "intermediate " (yes, I know lates aren't
intermediates & certainly arn't "earlies" & CJ7's arn't 5's but
they're a fairly tolerent bunch) forums-

http://www.earlycj5.com/forums/forumdisplay.php?f=19

& do a search on frames, lots of good info from people who have been
where you're going.

H..


== 3 of 4 ==
Date: Sun, Feb 28 2010 6:27 pm
From: Jon Anderson


Tim Wescott wrote:

> My dad used to brag that with posi-trac and careful driving he could get
> his '59 El Camino stuck in places where the four wheel drive brush rigs
> (with less intrepid drivers) couldn't even get close to pull him out.

Early 80's, I had a 510 Datsun 4 door. I'd once looked through the
Datsun racing parts catalog, and saw the suspension kit for rally cars.
Well, never bought the kit, but I did fit 14" Z wheels which gave a good
bit more ground clearance. I used to drive all over the woods with it.
One nice summer day, I'm crawling along a rocky trail, sunglasses on,
Coke in one hand with my elbow out the window, Led Zeppelin blaring on
the stereo. Around the corner comes a string of Jeeps, out doing some
manly 4x4 trailing.

The look on their faces at the sight of my 510 was priceless...

I did get myself in trouble once on a trail too steep to back up. I
walked down and saw there was a nice flat area to turn around and get a
run back. But there was some major erosion in between. Getting down was
no problem, but it took about an hour of filling the ruts with rocks and
branches to get back out.


Jon


== 4 of 4 ==
Date: Sun, Feb 28 2010 6:32 pm
From: Jon Anderson


Howard Eisenhauer wrote:

> CJ frames up till the late 70's were mostly un-boxed c cahannel & were
> very flexy. Most people building up an early CJ foe seroius off-road
> activities will completely box thier frames for the added stiffness &
> t prevent cracking at stress points, htey rely on up-graded
> suspensions to keep all 4 on the ground.

A boxed frame will still flex, be it steel or aluminum. Here's a thought
to ponder. I know some guys take small wire or buzz box welders out on
the trail. It's sometimes possible to patch a cracked frame enough to
get home. But that's steel. How many guys take a TIG welder out on the
trail?

But hey, give it a go. Nothing like empirical testing... <G>


Jon

==============================================================================
TOPIC: Tarnow lathes?
http://groups.google.com/group/rec.crafts.metalworking/t/c3da114c072ca535?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Feb 28 2010 5:26 pm
From: "Richard W."

"Dave H." <hopefuldave_doesnt_eat_spiced_ham@hotmail.com> wrote in message
news:6ixin.165879$8t3.538@newsfe29.ams2...
>
> "Richard W." wrote...
>>
>> If it's in good shape it not a bad lathe. The one's I ran were built in
>> the late 70's and early 80's. They seem to chatter easy on long shafts. I
>> think they needed more iron in the bed on the longer lathes. (20" swing
>> 10' centers) Seemed fine for chuck work though, which is most of what we
>> did on it. Can't say much about a small one like the one you are looking
>> at. It may be just fine. Although if I was in the market for a new lathe
>> they would be near the bottom of the list.
>>
>
> Thanks for the feedback, Richard, may I pick your brains a little more?
>
> I'd mostly be using it for work in the chuck, things like machining hubs
> and clutches I guess, and boring smallish castings on the carriage with a
> b/c boring bar, occasional work on driveshafts etc., it'd be an addition
> to my tools for working on / modifying motorcycles - I don't imagine I'm
> likely to be doing anything that would tax it too much :)

I think you would find it fine for that. I could take .400" out of 6" bore
running a .020 feed. Didn't even know it was cutting.


>
> I'd be interested to know why you'd put them at the bottom of the list,
> though - rigidity?

Rigidity for longer shafts. I have had 6" shafts chatter, yet the same shaft
in a different lathe cut just fine. The ways are narrow. Also the cross
travel is limited. In order to face a large part in one cut, you would have
to positition the tool just right in the cross slide travel. I didn't like
the electric clutch. For long heavy parts it engages to fast. Sounds like
they wouldn't be a problem for you. They seem to be a nice accurate lathe
otherwise. I don't remember the model, but one of these had a weak clutch.
It's been close to 20 years since I ran one of these lathes.

>
> While I think of it, it runs (as delivered from the factory) a 10HP
> 3-phase motor - reckon I'd get away with a lower-output VFD if I kept the
> cuts fairly light? 7.5KW VFD's cost an Imperial Arm and Leg (more than I
> can pick the lathe up for, anyway) as does getting the 'lectric co. to
> install 3-phase power, but here in the UK 3KW (4HP) are getting to be
> reasonable - and 10HP in a 12" swing lathe seems kinda generous anyway!
> I'm still at the stage of factoring in rental of a plant trailer and truck
> to tug it, new reinforced concrete base for the 'shop, 50 yards of heavy
> armoured cable, VFD etc. and want to keep the collateral damage to my
> wallet down...

I run a rotary phase on my lathe and it works just fine. That is what I
would get. I just got a 20 hp 3 phase motor that I plan to hook up to my 3
phase welder. But I am in no hurry since I lost my job.

Richard W.


== 2 of 2 ==
Date: Sun, Feb 28 2010 6:26 pm
From: "Dave H."

"Richard W." wrote ...
> "john" wrote...
>>
>> If you bolt the lathe to the concrete floor you can make it a lot moe
>> rigid. Also proper leveling makes a big difference. There is an art to
>> doing long thin parts without getting chatter, a steady rest or follower
>> rest being manditory.
>>
>
> True, but a lathe with wide ways helps a lot. Tarnows have narrow ways. At
> least the ones I have used.
>

Checking the spec' (translated as best I can from the original Polish, will
go see my Polish friend Mata if I get the manufacturer's handbook!), it
looks like the width of the ways on the smaller ones like this is about
equal to twice the centre height, and not having a bed gap might help
rigidity some? A new reinforced concrete floor (6" or 8" slab with top and
bottom steel mesh on insulation slab over compacted rubble and sand
blinding) is on the cards whatever I end up buying, and ragbolts into the
concrete would be wise, IMHO, to minimise vibration. I've seen machinery
dance across the floor when it hit resonant frequency, don't fancy 2 tons of
lathe chasing me out the door... 1/4 ton of rock'n'rolling ICL chain-printer
was bad enough.

>
>> I would not recommend using an underrated VFD. I would spring for a
>> single phase motor of about 5 hp or so and eliminate all your other
>> electrical problems. It would probably be cheaper in the long run and
>> would also make the lathe easier to sell.
>
> I would run a rotary phase. My P&W has a 7.5 HP motor and it works just
> fine.

I was thinking of a VFD as a measure of future-proofing as at some point I'd
like to add a smallish mill to the toolkit, and rotary convertors take a
fair amount of real-estate - not something I'm particularly blessed with
(SWMBO would rather have other luxuries and space for our motorcycles in the
Big Shed!) - and it looks like there's not a lot of difference on price. A
single-phase motor in that power bracket is probably going to cost more than
the VFD, too, and would still leave me with around half the original
horsepower and needing a rewire for the "shop" power...

I've seen a few smaller lathes run on "undersized" VFDs without too much of
a problem, and to be honest the lathe has speeds from 17 to 2800 RPM and
plenty in between straight off the motor, with drive clutches so the motor
would be able to spin up without the added mass / moment of the spindle and
workpiece? I appreciate that it might limit the amount of chips I could make
per minute, but this is for serious hobby use, not a production shop, and my
concern is more that runing the motor on an undersized VFD could cause
issues for the motor - not being an expert on induction motors (more optics,
RF and microwaves, really) I'm open to the collective wisdom of the group!

Thanks again,
Dave H.
--
(The engineer formerly known as Homeless)

"Rules are for the obedience of fools, and the guidance of wise men" -
Douglas Bader


==============================================================================
TOPIC: OT - Most states kick blue asse
http://groups.google.com/group/rec.crafts.metalworking/t/d00573543954f95d?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 5:30 pm
From: Harold Burton


In article <hm6njd$v23$1@speranza.aioe.org>,
Hawke <davesmithers@digitalpath.net> wrote:

> >
> >> look at the record . . .
> >
> >
> > I did, and it shows that the booming economy correlated with Republican
> > control of Congress and the tanking economy correlated with Democrat
> > control of Congress.
> >
> >
> > snicker.
>
> You're full of crap. Just look at the record of the economy under Bush
> and his republican congress.


I looked at the economy under the Republican Congresses (1995 until
2007). It boomed. After the DemocRATs seized control in 2007 the
economy started to tank.


Snicker.

==============================================================================
TOPIC: Gunlogix 102
http://groups.google.com/group/rec.crafts.metalworking/t/ddbce96971d01884?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Feb 28 2010 5:47 pm
From: "Scott"

"Zombywoof" <fishwings@live.com> wrote in message
news:j3elo517o5ohkqag2jjckij9hapo17tmut@4ax.com...

> So you are out for a night on the town, two men assault your fianc�e
> and you'll just get in your car & leave her -- I guess that will save
> you a trip to the alter.

You surely must know that you are arguing with idiots.

== 2 of 2 ==
Date: Sun, Feb 28 2010 5:48 pm
From: Tim Miller


Scott wrote:
> "Zombywoof" <fishwings@live.com> wrote in message
> news:j3elo517o5ohkqag2jjckij9hapo17tmut@4ax.com...
>
>> So you are out for a night on the town, two men assault your fianc�e
>> and you'll just get in your car & leave her -- I guess that will save
>> you a trip to the alter.
>
> You surely must know that you are arguing with idiots.
>

So are you, pinhead.

==============================================================================
TOPIC: Glenn Beck Is an AMERICAN PATRIOT
http://groups.google.com/group/rec.crafts.metalworking/t/03ecfef2321238cb?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Feb 28 2010 5:55 pm
From: "Scott"

"Seon Ferguson" <seongf@gmail.com> wrote in message
news:NqydnQ-kH5g9ABTWnZ2dnUVZ_oGdnZ2d@westnet.com.au...

> Here is one that is not in question though. Bush said there ought to be
> limits to freedom
> http://www.commondreams.org/pressreleases/may99/052699a.htm well what are
> those limits, mr Bush?

Bush is no longer an issue, dumbass.


== 2 of 2 ==
Date: Sun, Feb 28 2010 5:58 pm
From: "Scott"

"Seon Ferguson" <seongf@gmail.com> wrote in message
news:C-mdnf3gS65PRBTWnZ2dnUVZ_gWdnZ2d@westnet.com.au...

> Oh wait you killfilled me? I guess you can't tolerate people who have
> different views to you. I used to be a huge Obama fan but even then I
> never killfilled anyone who hated him. So I guess I like free speech more
> than you and I'm an Australian. I can't be bothered with the likes of you
> anymore, see you in the funny pages.

No one has to endure your bullshit, and you also have no obligation.

Why dont you stick to something you know even less about; like Australian
politics.

==============================================================================
TOPIC: Ask Not for Whom the Bell Tolls
http://groups.google.com/group/rec.crafts.metalworking/t/e28f01e35d28c845?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 6:02 pm
From: tankfixer


In article <q70rn59f203pf4djucf1v6j42mr57solth@4ax.com>,
Clhuprichguesswhat@aoltmovetheperiodc.om says...
>
> On Wed, 17 Feb 2010 19:54:25 -0800, tankfixer <paul.carrier@gmail.com> wrote:
>
> >
> >> You want a furnace guy, not a plumber.
> >
> >Furnace guys fix frozen pipes ?
>
> Why did you freeze them?

Lay off that "medicinal" marijuana..

==============================================================================
TOPIC: Dear Sarah Palin
http://groups.google.com/group/rec.crafts.metalworking/t/49995c2bf299dcdf?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 6:06 pm
From: tankfixer


In article <6ofqn590mc15us3b8rs6e5i77vrj04krkc@4ax.com>,
Clhuprichguesswhat@aoltmovetheperiodc.om says...
>
> On Tue, 16 Feb 2010 14:18:50 -0800, tankfixer <paul.carrier@gmail.com> wrote:
>
> >In article <31rln5dv1g7q7vn5t851fkljetmtcfq85r@4ax.com>,
> >Clhuprichguesswhat@aoltmovetheperiodc.om says...
> >>
> >> On Sun, 14 Feb 2010 10:11:26 -0800, tankfixer <paul.carrier@gmail.com> wrote:
> >>
> >> >In article <od9gn5pb869av90g6836ooic7dph1f79e7@4ax.com>,
> >> >Clhuprichguesswhat@aoltmovetheperiodc.om says...
> >> >>
> >> >> On Sat, 13 Feb 2010 16:45:33 -0800, tankfixer <paul.carrier@gmail.com> wrote:
> >> >>
> >> >> >In article <4j6dn55v4g8druvm6r90fm3avhhmjj22og@4ax.com>,
> >> >> >Clhuprichguesswhat@aoltmovetheperiodc.om says...
> >> >> >> On Fri, 12 Feb 2010 17:44:38 +0545, Kadaitcha Man <anon@no.email> wrote:
> >> >> >>
> >> >> >>
> >> >> >> Forged post alert !!
> >> >> >>
> >> >> >> > [quoted text muted]
> >> >> >> >[snip]
> >> >> >> >
> >> >> >> >Humour isn't your strong point, hey. So much so that you have to steal it
> >> >> >> >and post it, uncredited, to usenet.
> >> >> >>
> >> >> >> Uncensored?
> >> >> >> Posted what I got. Tough luck.
> >> >> >
> >> >> >Comprehension isn't your strong suit is it Cliff.
> >> >> >
> >> >> >He said "uncredited"....not "uncensored"
> >> >> >
> >> >>
> >> >> Don't let the draft from your ears blow your pointy foil hat off.
> >> >> http://www.cartoonstock.com/newscartoons/cartoonists/bro/lowres/bron1054l.jpg
> >> >
> >> >
> >> >Time for school cliffy..
> >> >And don't lick the bus windows today will you ?
> >>
> >> I'm not the one that forges posts (thus lying even more).
> >
> >Forges posts ?
> >I don't do such a thing and would invite you to go right ahead and prove
> >your claim.
>
> Are you Kadaitcha Man?

Nope..

>
> >
> >> Did you "think" you'd not be noticed lying yet again?
> >
> >You lie in practically every post you make.
>
> Find those "WMDs" yet?

You have a macro for that don't you ?
You trot it out every time you are afraid


>
> >Cliff's Palin/football player fetish deleted..
>
> Too hard for you.

Nope.
I don't read leftist porno fantasies

==============================================================================
TOPIC: Vernier caliper accuracy
http://groups.google.com/group/rec.crafts.metalworking/t/76e5fcfdb23ed51e?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 6:10 pm
From: Christopher Tidy


Ed Huntress wrote:

>>Ah, I think I misunderstoood you. I thought you meant a piston shaped like
>>a beer barrel. Instead you mean a piston which is slightly elliptical when
>>viewed from the top or bottom?
>
>
> Yes. I wish I still had the 3D versions of those Ford programs that I
> produced in Rhino, for our promotional material on cutting elliptical
> pistons. I applied multipliers in Excel to the values in the CAD drawing
> until you could actually see the shapes with the naked eye.
>
> I don't want to confuse things, but they were shaped a lot lie beer barrels.
> <g> As I mentioned, there were three different ellipses from top to bottom,
> with major axes arranged differently, and the appearance from some angles
> was that they were widest in the middle.

Got it. I can see the shape now. That's complicated!

>>The thought I had about vibration only applies to a piston shaped like a
>>beer barrel. And if the piston expands to become a near-perfect cylinder
>>when it's heated, I can see why wear wouldn't be an issue either. Thanks!
>
>
> Yes, that's more or less what happens.

At least the concept sounds simpler :-)

Chris


==============================================================================
TOPIC: Gun nuts need psych tests, at least "obsessed" 0bama lovers do.
http://groups.google.com/group/rec.crafts.metalworking/t/11438d55184e2ddd?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Feb 28 2010 6:05 pm
From: "SaPeIsMa"

"Scout" <me4guns@verizon.removeme.this2.nospam.net> wrote in message
news:mz2in.57579$G_2.52091@newsfe15.iad...
> Seon Ferguson wrote:
>> "SaPeIsMa" <SaPeIsMa@HotMail.com> wrote in message
>> news:Y5-dnad-U6DpCxXWnZ2dnUVZ_hmdnZ2d@bright.net...
>>>
>>> "Jeff R." <contact@this.ng> wrote in message
>>> news:4b8847be$0$19545$afc38c87@news.optusnet.com.au...
>>>>
>>>> "RBnDFW" <burkheimer@gmail.com> wrote in message
>>>> news:hm9gso$9l9$1@news.eternal-september.org...
>>>>
>>>>> The Constitution does not grant out any rights.
>>>>> It merely recognizes God-given rights of all humans, and expressly
>>>>> limits the right of government to deny or infringe those rights.
>>>>
>> Rights have to be fought for by the people. They are not given to us
>> by some supernatural deity. Throughout history humans have had to
>> fight for their rights and we still are...
>
> Where exactly do you get the right to fight for your rights?
>

Don't you have to go to city hall for a permit, to do that ?

== 2 of 2 ==
Date: Sun, Feb 28 2010 6:08 pm
From: "SaPeIsMa"

"Jeff R." <contact@this.ng> wrote in message
news:4b88c91e$0$6278$afc38c87@news.optusnet.com.au...
>
> "SaPeIsMa" <SaPeIsMa@HotMail.com> wrote in message
> news:Y5-dnad-U6DpCxXWnZ2dnUVZ_hmdnZ2d@bright.net...
>
>> If you don't believe in God, then you can simply state that it's an inate
>> right that comes with life
>
> Don't be silly.
> There are no "innate" rights.
> You and I have no rights whatsoever - other than those granted by the
> society in which we live.
>

Sso if you don't live in a society, you do not have a right to life, and
just give up and die ?
And therefore, if some predator comes along, you don't have the right to
fight to stay alive, and just bend your neck to make it easier for the
predator ?
Look who's being silly


>> End result is the same even though the formulation is world's apart.
>
> Rubbish.
> Compare USA and N.Korea.
> Same end result?
>
> (or is God different there?)
>

Sonny, you're pissing so far up the rope, you believe there's yellow rain...

>> But hey, if you morons want to waste time splitting hairs, that's your
>> problem, not ours.
>
> Yeah - the ultimate question of creation, eternity and existence itself.
> "Splitting hairs."
>
> Ha!
>

Yes
Ha indeed.


==============================================================================
TOPIC: Harbor Freight Coupons
http://groups.google.com/group/rec.crafts.metalworking/t/dfe3cb755252382f?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 6:14 pm
From: "Stormin Mormon"


Great coupons!


You can also download & print them at:

www.harborfreightusa.com/popmechanic


==============================================================================
TOPIC: Pawn Shop Bargains ...
http://groups.google.com/group/rec.crafts.metalworking/t/b7474a867df329f8?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Feb 28 2010 6:20 pm
From: cavelamb


Snag wrote:
> Wes wrote:
>> cavelamb <cavelamb@earthlink.net> wrote:
>>
>>> Not here, Don.
>>> Prices are .9 Retail, at least.
>>>
>> That is the asking price. What is the selling price?
>>
>> Wes
>
> Heh , I got a glance of the tag when Greg pulled it off the nail gun I
> just bought . They were askin' 40 bucks , he offered it to me for 20 .
> Easily half of my power tools were purchased at this pawn shop , and they
> know it . They also know it's my first stop when I need something .
> I think I'm going to go with the HF battery drill , just not confident of
> used batteries . There's no way that I know of to test those battery packs ,
> at least with new I can get a warranty replacement if it's dead from the
> gitgo . Replacement batteries for the name brand tools can easily cost more
> than the tool ...

Or just take the battery pack to Interstate Battery (or who ever does that
near you) and have them rebuilt.

No where near as expensive as new ones!

--

Richard Lamb
http://www.home.earthlink.net/~cavelamb/

== 2 of 2 ==
Date: Sun, Feb 28 2010 6:21 pm
From: cavelamb


Larry Jaques wrote:
> On Sun, 28 Feb 2010 17:29:19 -0500, the infamous Wes
> <clutch@lycos.com> scrawled the following:
>
>> cavelamb <cavelamb@earthlink.net> wrote:
>>
>>> Not here, Don.
>>> Prices are .9 Retail, at least.
>>>
>> That is the asking price. What is the selling price?
>
> In my experience, they usually say "That's my best price." so I laugh
> and hurry out the door, shaking my head.
>

I used to do the same thing.
I'd shop the pawn shops for entertainment value alone.
But I don't bother any more...

--

Richard Lamb
http://www.home.earthlink.net/~cavelamb/


==============================================================================
TOPIC: Need D1-4 Chuck, 4-Jaw
http://groups.google.com/group/rec.crafts.metalworking/t/ab53f8cc8f8128ee?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 28 2010 6:26 pm
From: Ignoramus26630


On 2010-03-01, RogerN <regor@midwest.net> wrote:
> My cheapie Enco chuck had the teeth on one of the jaws break off and now
> it's pretty much useless unless I can get a replacement jaw.
>
> Any recommendations for a 4-Jaw chuck for a 13" South Bend lathe with D1-4
> Spindle? Bison? Ebay? Iggy's tool emporium?

http://www.shars.com/product_categories/search/?search=d1-4

Machine this and buy a plain chuck to go on it.

i

==============================================================================
TOPIC: Ping: Igor - re: High Voltage
http://groups.google.com/group/rec.crafts.metalworking/t/7efd1b146e09d053?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, Feb 28 2010 6:27 pm
From: Ignoramus26630


Emailed, thanks a lot

i

On 2010-03-01, Monkey Butler <x@monkeybutler.com> wrote:
> Igor,
>
> For some reason it sticks in my mind that you have posted about
> playing with high voltage in the past. Is this of any use to you:
>
> http://www.monkeybutler.com/tmp/DSCF0001.jpg
> http://www.monkeybutler.com/tmp/DSCF0002.jpg
>
> If so it's yours for the shipping. Otherwise I'll offer it to the next
> person who can use it.
>
> I'm a little leary of ebaying something like this.
>
> Steve P.


== 2 of 2 ==
Date: Sun, Feb 28 2010 6:28 pm
From: Ignoramus26630


On 2010-03-01, Al A. <alanganes@comcast.net> wrote:
> On 2/28/2010 7:36 PM, Wes wrote:
>>
>>
>> Brain is weak tonight but is that a probe for checking 2nd anode voltage on a tv picture
>> tube?
>>
>> Wes
>
> That is one common use for those. That one plugs into a multimeter (or
> older, a VTVM) and gives you the ability to measure those sorts of
> voltages. I've used modern versions made for Fluke meters that go to
> 40KV. Most divide the measured voltage by 1000.
>
> Not something most of us need real often, but handy to have when you do.

It is also handy when I am not sure what exactly is the voltage.

i

==============================================================================
TOPIC: The Gunner News Agency
http://groups.google.com/group/rec.crafts.metalworking/t/5cc22b57aa9c402b?hl=en
==============================================================================

== 1 of 3 ==
Date: Sun, Feb 28 2010 6:38 pm
From: Too_Many_Tools


On Feb 28, 11:14 am, Larry Jaques <ljaq...@diversify.invalid> wrote:
> On Sun, 28 Feb 2010 00:21:35 -0500, the infamous "Buerste"
> <buer...@buerste.com> scrawled the following:
>
> >"Larry Jaques" <ljaq...@diversify.invalid> wrote in message
> >news:hqjio5li54ocp139rrbrjnkua754fatli9@4ax.com...
> >> Damnit, Tawm. Fix your quoting, will ya?  I just called you on a
> >> rangerssuck post. He's in my twit list (gee, wonder why) so I wouldn't
> >> have seen his post had you not quoted it.
>
> >Okey-dokey!  I don't plonk often but today I killed Cliff, Curley, TMT and a
> >couple of others.  I won't add to the noise anymore, it's senseless to feel
> >the libtard trolls, they'll never get it anyway.
>
> We'll try to hold you to this more tightly than we did the first
> couple time you said it.  ;)
>
> Thanks, BTW.
>
> --
> Pessimist: One who, when he has the choice of two evils, chooses both.
>                                             --Oscar Wilde (1854-1900)

*Snicker*

Of course he lies about the filtering...that is what a winger does.

It also gives us an unique view into his ethics...which tells us that
one should not trust him in a business transaction.

TMT


== 2 of 3 ==
Date: Sun, Feb 28 2010 6:40 pm
From: Too_Many_Tools


On Feb 28, 3:10 pm, "Buerste" <buer...@buerste.com> wrote:
> "Larry Jaques" <ljaq...@diversify.invalid> wrote in message
>
> news:109lo51m3nis03gjdo77b8k8plmppkd6a3@4ax.com...
>
>
>
>
>
> > On Sun, 28 Feb 2010 00:21:35 -0500, the infamous "Buerste"
> > <buer...@buerste.com> scrawled the following:
>
> >>"Larry Jaques" <ljaq...@diversify.invalid> wrote in message
> >>news:hqjio5li54ocp139rrbrjnkua754fatli9@4ax.com...
>
> >>> Damnit, Tawm. Fix your quoting, will ya?  I just called you on a
> >>> rangerssuck post. He's in my twit list (gee, wonder why) so I wouldn't
> >>> have seen his post had you not quoted it.
>
> >>Okey-dokey!  I don't plonk often but today I killed Cliff, Curley, TMT and
> >>a
> >>couple of others.  I won't add to the noise anymore, it's senseless to
> >>feel
> >>the libtard trolls, they'll never get it anyway.
>
> > We'll try to hold you to this more tightly than we did the first
> > couple time you said it.  ;)
>
> > Thanks, BTW.
>
> > --
> > Pessimist: One who, when he has the choice of two evils, chooses both.
> >                                            --Oscar Wilde (1854-1900)
>
> Relapses from recovery.  Besides, too many things going on, work is busy,
> jobs around the house, guns to tune and ammo to make.  I still have the
> catalog/webpage pix and copy to do, etc, etc,...  Political bantering will
> have to take a back seat and spanking the libfarts is getting old.  They're
> on their way back into obscurity anyway now that the public is hurting and
> blaming  the libtards who aren't even trying to mask their Socialist/Marxist
> agenda anymore.  Arrogant fucks!- Hide quoted text -
>
> - Show quoted text -

LOL...so it is starting to sink in that your actions here affect your
bottom line.

And they say that you can't teach old wingers new tricks.

TMT


== 3 of 3 ==
Date: Sun, Feb 28 2010 6:44 pm
From: Too_Many_Tools


On Feb 28, 3:24 pm, "Buerste" <buer...@buerste.com> wrote:
> "John D." <johndsloc...@invalid.com> wrote in message
>
> news:652lo55pk822au8cqdc8kmpttp0fgo174i@4ax.com...
>
>
>
>
>
> > On Sat, 27 Feb 2010 23:21:48 -0600, Don Foreman
> > <dfore...@NOSPAMgoldengate.net> wrote:
>
> >>On Sun, 28 Feb 2010 08:43:22 +0700, John D. <johndsloc...@invalid.com>
> >>wrote:
>
> >>>On Sat, 27 Feb 2010 12:06:26 -0800, Hawke
> >>><davesmith...@digitalpath.net> wrote:
>
> >>>>> Gee, I can't wait. The signal to noise ratio certainly improves when
> >>>>> he's not around.
> >>>>> **************
>
> >>>>> But I need to pick his brain about my 1911, I'm at a standstill trying
> >>>>> to
> >>>>> figure out some issues.
>
> >>>>If your gun is a new one before you do anything else you need to break
> >>>>it in. That means you have to shoot at least a thousand and preferably
> >>>>2000 rounds of ball ammo through it. That's hardball ammo. Don't shoot
> >>>>anything but round nosed ammo until you break it in. After your gun is
> >>>>good and broken in then you can worry about SWC lead bullets, lower
> >>>>power recoil springs, and other things. If you haven't shot the gun
> >>>>enough to get it good and broken in then you're getting way ahead of
> >>>>yourself. Many times people have all kinds of problems with brand new
> >>>>1911s. They need to be shot a lot before you even think of going on to
> >>>>other things. Some 1911s are good to go right out of the box but many
> >>>>need a break in period. Shoot a thousand rounds or so of ball ammo and
> >>>>see what happens. Make sure you use Wilson Combat magazines too.
>
> >>>>Hawke
>
> >>>Question: Is this correct? I read various articles in gun magazines
> >>>about "breaking-in" guns but in my own experience, which stopped
> >>>abruptly in 1972, one bought a gun and it worked right out of the box
> >>>and if it didn't you took it back.
>
> >>>Certainly I never saw a 1911 that wouldn't function right out of the
> >>>box. Of course, the only 1911's in those days were either war-surplus
> >>>or made by Colt so I wonder; has manufacturing quality fallen that
> >>>far?
>
> >>>You break in your gun but not your automobile? Used to be 'tother way
> >>>round.
>
> >>>John D.
> >>>(johnbslocombatgmaildotcom)
>
> >>I have several semiautos.  One of them, a Browning Buckmark .22LR, was
> >>fussy about ammo at first. It's still a bit fussy after maybe 1500
> >>rounds, but less so.  Another that is slightly fussy about ammo is a
> >>Colt 1911 Officer's which I got used. It appeared to have been carried
> >>a lot but seldom fired. It had a bit of holster wear but the action
> >>was and is tight as a tick.  It's OK with factory ammo or handloads
> >>that aren't too mild.  5.6 grains of W231 behind 200-grain lead SWC's
> >>works well. That's a little lighter than Winchester White Box 230
> >>grain but not a lot. I have chrony data, too lazy to get my range
> >>notebook out.
>
> >>The rest of them, including the SA 1911 "loaded", are quite unfussy
> >>about ammo for reliable operation.
>
> >>A recoil-operated semiauto (which is about all of them) needs some
> >>"push back" from the shooter's grip to operate reliably.  The inertial
> >>mass of the frame isn't enough to get that done in the heavier
> >>calibers.  I've found .40S&W and .45ACP to be a bit more demanding
> >>about that than 9mmp and smaller.   Tom, you mention that you have
> >>tender hands.  Your problem might be that you're limpwristing your
> >>.45.  Please ignore anyone who tries to spin that comment as an
> >>insult, it's merely a note from a fellow shooter.   It matters
> >>considerably less with your XD 9mmp and not at all with a revolver but
> >>.40S&W and .45ACP require some starch in the shooter's grip.  I had
> >>that problem early on with my first handgun after a hiatus of 40
> >>years, an XD .40.   Figured it out after a couple hundred rounds,
> >>stiffened up a bit to fix it.
>
> >>I agree with Hawke about the Wilson Combat magazines  I've had no
> >>issue with the Springfield mags but I've had better experience with
> >>Wilson than with the Colt mags for the 1911 Officer's.
>
> > Interesting. I bought one of the long barrel S&W model 41's when they
> > first came out. Shot it for a while and later cut the barrel off (just
> > before S&W did :-) and shot it for ten years or more. It worked right
> > out of the box and never missed a lick in all the time I was shooting
> > it. to the best of my recollection I never has a malfunction with it.
>
> > Your comment about the firm grip is very topical. Most beginning
> > shooters, shooting centerfire guns, have a lot of wrist movement. If
> > you watch an experienced shooter you can see that there is almost no
> > wrist movement. the shoulder moves back a bit and the arm moves up but
> > the wrist stays straight.
>
> > John D.
> > (johnbslocombatgmaildotcom)
>
> It's how quickly can you get the sight picture back by distributing the
> recoil over more muscle and bone and have the muscle memory to compensate.
> Shooting follow-up shots with closed eyes tells a lot about grip issues.- Hide quoted text -
>
> - Show quoted text -

As a diabetic slowly goes blind, be able to shoot blind would be a
plus.

Of course it also means that your shooting days are quickly coming to
an end.

Better use of your time is to stop wasting time on Usenet and to start
studying Braille.

TMT


==============================================================================

You received this message because you are subscribed to the Google Groups "rec.crafts.metalworking"
group.

To post to this group, visit http://groups.google.com/group/rec.crafts.metalworking?hl=en

To unsubscribe from this group, send email to rec.crafts.metalworking+unsubscribe@googlegroups.com

To change the way you get mail from this group, visit:
http://groups.google.com/group/rec.crafts.metalworking/subscribe?hl=en

To report abuse, send email explaining the problem to abuse@googlegroups.com

==============================================================================
Google Groups: http://groups.google.com/?hl=en


Real Estate