Τη Κυριακή, 23 Σεπτεμβρίου 2012 8:38:38 π.μ. UTC+3, ο χρήστης Chris Angelico
έγραψε:
> On Sun, Sep 23, 2012 at 3:18 PM, Dwight Hutto wrote:
>
> > On Sun, Sep 23, 2012 at 12:56 AM, Chris Angelico wrote:
>
> >> Steven's point is not that we, human beings (or parahuman beings, as
>
> >> the case
Tim Roberts writes:
> Apologize in advance for top-posting. My Xoom makes bottom-posting
> awkward.
Surely the better solution, then, is to use a tool which does allow you
to compose a message properly – and abstain from posting until you get
to such a tool.
--
\ “Those are my pr
On Sun, Sep 23, 2012 at 3:18 PM, Dwight Hutto wrote:
> On Sun, Sep 23, 2012 at 12:56 AM, Chris Angelico wrote:
>> Steven's point is not that we, human beings (or parahuman beings, as
>> the case may be), do not know how to run code in Joomla; I've worked
>> with it, and know something about it, a
> It would be nice if out python scripts can be used along with Joomla CMS,
> Drupal or even Wordpress.
As long as the server side prerequisites has been met, then the code
should execute as long as it is allowed in the plugins.
--
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.co
True. Seymour wanted all of the integer instructions to be combinatorial
logic, rather than iterative. Fortunately, since the floating point binary
point was to the right, it was trivial to pack integers to float, do a floating
computation, then unpack back to integer.
Apologize in advance fo
Τη Κυριακή, 23 Σεπτεμβρίου 2012 7:48:40 π.μ. UTC+3, ο χρήστης David Hutto
έγραψε:
> No, joomla is a CMS framework of several languages. You're right, this
>
> is a Joomla question, but even python could be added into joomla as an
>
> API>
Thank you for pointing this out, looks very interesting
On Sun, Sep 23, 2012 at 12:56 AM, Chris Angelico wrote:
> On Sun, Sep 23, 2012 at 2:48 PM, Dwight Hutto wrote:
>> On Sun, Sep 23, 2012 at 12:06 AM, Steven D'Aprano
>> wrote:
>>> On Sat, 22 Sep 2012 19:52:00 -0700, Νίκος Γκρεεκ wrote:
>>>
Out of curiocity how would i used my python counter s
On Sun, Sep 23, 2012 at 2:48 PM, Dwight Hutto wrote:
> On Sun, Sep 23, 2012 at 12:06 AM, Steven D'Aprano
> wrote:
>> On Sat, 22 Sep 2012 19:52:00 -0700, Νίκος Γκρεεκ wrote:
>>
>>> Out of curiocity how would i used my python counter source code along
>>> with Joomla?
>>
>>
>> This is not a Joomla
On Sun, Sep 23, 2012 at 12:06 AM, Steven D'Aprano
wrote:
> On Sat, 22 Sep 2012 19:52:00 -0700, Νίκος Γκρεεκ wrote:
>
>> Out of curiocity how would i used my python counter source code along
>> with Joomla?
>
>
> This is not a Joomla forum. We do not know how to run code in Joomla.
PHP, CSS, HTML,
On Saturday, 22 September 2012 12:50:08 UTC+5:30, Andrew Berg wrote:
> On 2012.09.22 02:08, Jamie Paul Griffin wrote:
>
> > I find this intriguing, I had no idea bots existed to post to mailing
>
> > lists in this way. What's the point of them?
>
>
>
> To amuse their owners is my guess.
>
>
On Sat, 22 Sep 2012 19:52:00 -0700, Νίκος Γκρεεκ wrote:
> Out of curiocity how would i used my python counter source code along
> with Joomla?
This is not a Joomla forum. We do not know how to run code in Joomla.
Regardless of whether the code is Python, or Perl, or Lisp, or Lua, or
any of tho
On Friday, 21 September 2012 02:37:01 UTC+5:30, gelonida wrote:
> I'd like to implement the equivalent functionality of the unix command
>
> /usr/bin/which
>
>
>
> The function should work under Linux and under windows.
>
>
>
> Did anybody already implement such a function.
>
> If not, is
On Thu, Sep 20, 2012 at 12:28 PM, Tobiah wrote:
>
>>> Here is my solution:
>
>
>>> ** Incredibly convoluted and maximally less concise solution
>>> than other offerings. **
>
>
>>> Might be better ones though.
>>
>>
>> Unlikely.
>
>
> Zing!
>
Why don't you all look at the code(python and C), and
Now also, just thinking theoretically with the knowledge I have,
you could underclock(as opposed to overclocking, which is what gamers
do), but have never seen that option in BIOS.
And maybe there is an option in your OS, google search term 'limiting
processes activity cpu usage':
https://www.goo
On Sunday, September 16, 2012 3:01:11 PM UTC-5, Steven D'Aprano wrote:
> On Sun, 16 Sep 2012 11:38:15 -0700, Aaron Brady wrote:
> > Here is an example of some repetitive code.
> >
> > for view_meth in [ dict.items, dict.keys, dict.values ]:
> > dict0= dict( ( k, None ) for k in range( 10 ) )
rites:
>> Is it possible for me to put a limit in the amount of processor usage
>> (% CPU) that my current python script is using? Is there any module
>> useful for this task?
>
> One way is check your cpu usage once in a while, compare with elapsed
> time, and if your % usage is above what you wan
On Sun, Sep 23, 2012 at 12:52 PM, Νίκος Γκρεεκ wrote:
> Τη Σάββατο, 22 Σεπτεμβρίου 2012 9:18:02 μ.μ. UTC+3, ο χρήστης Chris Angelico
> έγραψε:
>> On Sun, Sep 23, 2012 at 4:13 AM, Νίκος Γκρεεκ wrote:
>>
>> > Is there a way to somehow embed(or utilize) python code, for example my
>> > python coun
Τη Σάββατο, 22 Σεπτεμβρίου 2012 9:18:02 μ.μ. UTC+3, ο χρήστης Chris Angelico
έγραψε:
> On Sun, Sep 23, 2012 at 4:13 AM, Νίκος Γκρεεκ wrote:
>
> > Is there a way to somehow embed(or utilize) python code, for example my
> > python counter code script you have seen last week inside my
> > Joomla/
Walter Hurry wrote:
On Sat, 22 Sep 2012 10:58:38 -0700, Emile van Sebille wrote:
On 9/21/2012 2:59 PM Ethan Furman said...
...if my dream job is one that consists mostly of Python, and might
allow telecommuting?
Hi Ethan,
I have an open position in my two man office I've tried to fill a coup
On Sat, 22 Sep 2012 10:58:38 -0700, Emile van Sebille wrote:
> On 9/21/2012 2:59 PM Ethan Furman said...
>> ...if my dream job is one that consists mostly of Python, and might
>> allow telecommuting?
>
> Hi Ethan,
>
> I have an open position in my two man office I've tried to fill a couple
> tim
On Sat, 22 Sep 2012 01:26:43 +, Steven D'Aprano wrote:
> On Fri, 21 Sep 2012 13:20:09 -0700, gengyangcai wrote:
>
>> I am currently using Python 3.2.3 . WHen I use the print function by
>> typing print "Game Over" , it mentions " SyntaxError : invalid syntax
>> ". Any ideas on what the prob
Rolando Cañer Roblejo writes:
> Is it possible for me to put a limit in the amount of processor usage
> (% CPU) that my current python script is using? Is there any module
> useful for this task?
One way is check your cpu usage once in a while, compare with elapsed
time, and if your % usage is a
On 09/22/2012 05:05 PM, Tim Roberts wrote:
> Dennis Lee Bieber wrote:
>> On 22 Sep 2012 01:36:59 GMT, Steven D'Aprano wrote:
>>> For non IEEE 754 floating point systems, there is no telling how bad the
>>> implementation could be :(
>> Let's see what can be found...
>>
>> IBM 360: Same
On 9/22/2012 9:21 AM, Steven D'Aprano wrote:
On Fri, 21 Sep 2012 22:46:08 -0400, Terry Reedy wrote:
On 9/21/2012 5:10 AM, Marco wrote:
I was trying to import a pyo module in Python 3.3, but Python does not
find it:
You appear to be trying to *run*, not *import* a .pyo module.
Marco is usin
To capture the traceback, so to put it in a log, I use this
import traceback
def get_traceback(): # obtain and return the traceback
exc_type, exc_value, exc_traceback = sys.exc_info()
return ''.join(traceback.format_exception(exc_type, exc_value,
exc_traceback))
Suppose I have a scrip
Dennis Lee Bieber wrote:
>
>On 22 Sep 2012 01:36:59 GMT, Steven D'Aprano wrote:
>>
>> For non IEEE 754 floating point systems, there is no telling how bad the
>> implementation could be :(
>
> Let's see what can be found...
>
> IBM 360: Same as Sigma-6 (no surprise; hearsay is the Si
Rolando Cañer Roblejo wrote:
>
>Is it possible for me to put a limit in the amount of processor usage (%
>CPU) that my current python script is using?
Why? That's an odd request. It's natural to want to reduce your priority
if you want other processes handled first, but an idle CPU is a wasted
Hello all:
I've gotten a bit farther into my python mud, and wanted to request
another code review for style and the like. Mainly I'm concerned about
player.py, world.py and components and other ways to handle what I'm
trying to do.
I didn't run pychecker just yet, so there are probably a ton o
On 21/09/12 19:32:20, Ian Kelly wrote:
> On Fri, Sep 21, 2012 at 10:50 AM, Ismael Farfán wrote:
>> 2012/9/21 Peter Otten <__pete...@web.de>:
>>> echo.hp...@gmail.com wrote:
>>>
>>> print "\x1b[2J\x1b[0;0H" # optional
>>
>> Nice code : )
>>
>> Could you dissect that weird string for us?
>>
>> I
On Sun, Sep 23, 2012 at 4:13 AM, Νίκος Γκρεεκ wrote:
> Is there a way to somehow embed(or utilize) python code, for example my
> python counter code script you have seen last week inside my Joomla/WordPress
> cms sites?
You probably could. But I reiterate, you're going about things all
backward
Τη Σάββατο, 22 Σεπτεμβρίου 2012 5:57:41 μ.μ. UTC+3, ο χρήστης Chris Angelico
έγραψε:
> On Sun, Sep 23, 2012 at 12:44 AM, Νίκος Γκρεεκ wrote:
>
> > But how am i supposed to fix this vulnerability if i don't know which one
> > is it?
>
> >
>
> > My guess is they used joomlas template to insert
On 9/21/2012 2:59 PM Ethan Furman said...
...if my dream job is one that
consists mostly of Python, and might allow telecommuting?
Hi Ethan,
I have an open position in my two man office I've tried to fill a couple
times without success that is predominately python and would allow for
telecom
On Fri, 2012-08-31 at 21:04 +0200, Laszlo Nagy wrote:
> I have seen a stand alone cross platform IPC server before that could
> serve "channels", and send/receive messages using these channels. But I
> don't remember its name and now I cannot find it. Can somebody please help?
I strongly recomm
Νίκος Γκρεεκ writes:
> Τη Σάββατο, 22 Σεπτεμβρίου 2012 4:09:37 μ.μ. UTC+3, ο χρήστης Steven D'Aprano
> έγραψε:
> > Why are we discussing this? It has nothing to do with Python and is
> > completely off-topic for this list.
>
> But how am i supposed to fix this vulnerability if i don't know which
On Sun, Sep 23, 2012 at 12:44 AM, Νίκος Γκρεεκ wrote:
> But how am i supposed to fix this vulnerability if i don't know which one is
> it?
>
> My guess is they used joomlas template to insert arbitrary code but thats
> just a guess.
The answer to that is a thing called "research", and you'll us
Τη Σάββατο, 22 Σεπτεμβρίου 2012 4:09:37 μ.μ. UTC+3, ο χρήστης Steven D'Aprano
έγραψε:
> On Sat, 22 Sep 2012 11:13:43 +0100, Kev Dwyer wrote:
>
>
>
> > This is only speculation, as I don't know exactly how your web page has
>
> > been "hacked", but if your page somehow exposes a database connec
On Sat, Sep 22, 2012 at 11:07 PM, Steven D'Aprano
wrote:
> As per their partnership agreement, IBM took over development of OS/2
> version 2 while Microsoft worked on developing version 3. OS/2 2.0 was
> significantly improved over the 1.x series.
>
> Then Microsoft reneged on the agreement to rel
On Saturday, 22 September 2012 18:51:01 UTC+5:30, Steven D'Aprano wrote:
> On Fri, 21 Sep 2012 22:46:08 -0400, Terry Reedy wrote:
>
>
>
> > On 9/21/2012 5:10 AM, Marco wrote:
>
> >> I was trying to import a pyo module in Python 3.3, but Python does not
>
> >> find it:
>
> >
>
> > You appea
On Sat, 22 Sep 2012 13:09:36 +, Steven D'Aprano wrote:
> On Sat, 22 Sep 2012 11:13:43 +0100, Kev Dwyer wrote:
>
>> This is only speculation, as I don't know exactly how your web page has
>> been "hacked", but if your page somehow exposes a database connection,
>> and the hack involves changin
On Fri, 21 Sep 2012 22:46:08 -0400, Terry Reedy wrote:
> On 9/21/2012 5:10 AM, Marco wrote:
>> I was trying to import a pyo module in Python 3.3, but Python does not
>> find it:
>
> You appear to be trying to *run*, not *import* a .pyo module.
Marco is using the standard mechanism for finding, i
On Sat, 22 Sep 2012 11:13:43 +0100, Kev Dwyer wrote:
> This is only speculation, as I don't know exactly how your web page has
> been "hacked", but if your page somehow exposes a database connection,
> and the hack involves changing the contents of the database then you
> should read up on SQL inj
On Sat, 22 Sep 2012 07:44:24 -0400, Dave Angel wrote:
[...]
> Your wording seems to imply that you still think NT was built on some
> earlier MS product. It was written from scratch by a team recruited
> mostly from outside MS, including the leader, a guy who was I think
> experienced in VMS deve
On 22/09/2012 12:44, Dave Angel wrote:
Your wording seems to imply that you still think NT was built on some
earlier MS product. It was written from scratch by a team recruited
mostly from outside MS, including the leader, a guy who was I think
experienced in VMS development. The names escape
Dave Angel於 2012年9月22日星期六UTC+8下午7時44分54秒寫道:
> On 09/22/2012 06:53 AM, Alister wrote:
>
> > On Fri, 21 Sep 2012 18:47:57 -0400, Dave Angel wrote:
>
> >
>
> >>
>
> >>
>
> >> That's not true at all. You'd re thinking of Windows 3, Windows 95, 98,
>
> >> and ME, which were hacked on top of MSDO
On 09/21/2012 02:57 PM, BobAalsma wrote:
> I'd like to write a programme that will be offered as a web service (Django),
> in which the user will point to a specific URL and the programme will be used
> to read the text of that URL.
>
> This text can be behind a username/password, but for severa
On 09/22/2012 06:53 AM, Alister wrote:
> On Fri, 21 Sep 2012 18:47:57 -0400, Dave Angel wrote:
>
>>
>>
>> That's not true at all. You'd re thinking of Windows 3, Windows 95, 98,
>> and ME, which were hacked on top of MSDOS. But Windows NT3.5, 4, 2000,
>> XP, Vista and Windows 7 have an entirely
Op vrijdag 21 september 2012 22:10:04 UTC+2 schreef Dennis Lee Bieber het
volgende:
> On Fri, 21 Sep 2012 09:36:08 -0400, Jerry Hill
>
> declaimed the following in gmane.comp.python.general:
>
>
>
> > On Fri, Sep 21, 2012 at 9:31 AM, BobAalsma wrote:
>
> > > Thanks, Joel, yes, but as far as I
Op vrijdag 21 september 2012 17:28:02 UTC+2 schreef David Smith het volgende:
> On 2012-09-21 08:57, BobAalsma wrote:
>
> > This text can be behind a username/password, but for several reasons, I
> > don't want to know those.
>
> >
>
> > So I would like to set up a situation where the user logs
On Sat, 22 Sep 2012 18:07:32 +1000, Chris Angelico wrote:
> On Sat, Sep 22, 2012 at 5:13 PM, Νίκος Γκρεεκ
> wrote:
>> The web host company pulled a previous backup and now its all good.
>>
>> My apologies for the annoyance i have coused you all i wanted was some
>> insight so to make sure this wo
On 22/09/12 09:30:57, Franck Ditter wrote:
> In article <505ccdc5$0$6919$e4fe5...@news2.news.xs4all.nl>,
> Hans Mulder wrote:
>
>> On 21/09/12 16:29:55, Franck Ditter wrote:
>>> I create a text file utf-8 encoded in Python 3 with IDLE (Mac Lion).
>>> It runs fine and creates the disk file, visib
On Fri, 21 Sep 2012 18:47:57 -0400, Dave Angel wrote:
> On 09/21/2012 12:01 PM, Alister wrote:
>> On Fri, 21 Sep 2012 15:14:53 +, Grant Edwards wrote:
>>
>>> On 2012-09-21, mikcec82 wrote:
Hallo to all,
I'm using Python 2.7.3 with Windows 7 @ 64 bit and an Intel Core i3
-2
On Fri, 21 Sep 2012 15:23:41 -0700, Paul Rubin wrote:
> Steven D'Aprano writes:
>> Have I got this right? Is there a way to work out the gap between one
>> float and the next?
>
> Yes, 53-bit mantissa as people have mentioned. That tells you what ints
> can be exactly represented. But, arithme
Νίκος Γκρεεκ wrote:
> Τη Σάββατο, 22 Σεπτεμβρίου 2012 10:26:05 π.μ. UTC+3, ο χρήστης Peter Otten
> έγραψε:
>> Νίκος Γκρεεκ wrote:
>>
>>
>>
>> > One webpage of mine, http://www.varsa.gr/ has been *hacked* 15 mins
>> > ago.
>>
>>
>>
>> > Please visit my web page varsa.gr and view the source co
On Fri, Sep 21, 2012 at 2:45 PM, Νίκος Γκρεεκ wrote:
> Hello,
>
> One webpage of mine, http://www.varsa.gr/ has been *hacked* 15 mins ago.
>
The others are right, this is a joomla question, unless you're
allowing execution of code by members and they utilize python.
My questions:
Only one? From m
On Sat, Sep 22, 2012 at 5:13 PM, Νίκος Γκρεεκ wrote:
> The web host company pulled a previous backup and now its all good.
>
> My apologies for the annoyance i have coused you all i wanted was some
> insight so to make sure this wont happen again( it already happened 2 times
> by now).
Just rea
Τη Σάββατο, 22 Σεπτεμβρίου 2012 10:26:05 π.μ. UTC+3, ο χρήστης Peter Otten
έγραψε:
> Νίκος Γκρεεκ wrote:
>
>
>
> > One webpage of mine, http://www.varsa.gr/ has been *hacked* 15 mins ago.
>
>
>
> > Please visit my web page varsa.gr and view the source code and maybe you
>
> > can tell me wh
In article <505ccdc5$0$6919$e4fe5...@news2.news.xs4all.nl>,
Hans Mulder wrote:
> On 21/09/12 16:29:55, Franck Ditter wrote:
> > I create a text file utf-8 encoded in Python 3 with IDLE (Mac Lion).
> > It runs fine and creates the disk file, visible with
> > TextWrangler or another.
> > But I can
On 22/09/2012 02:26, Steven D'Aprano wrote:
On Fri, 21 Sep 2012 13:20:09 -0700, gengyangcai wrote:
I am currently using Python 3.2.3 . WHen I use the print function by
typing print "Game Over" , it mentions " SyntaxError : invalid syntax
". Any ideas on what the problem is and how to resolve
Νίκος Γκρεεκ wrote:
> One webpage of mine, http://www.varsa.gr/ has been *hacked* 15 mins ago.
> Please visit my web page varsa.gr and view the source code and maybe you
> can tell me what has happened.
Do you use a password that was exposed in the other thread,
http://mail.python.org/pipermail
On 2012.09.22 02:08, Jamie Paul Griffin wrote:
> I find this intriguing, I had no idea bots existed to post to mailing
> lists in this way. What's the point of them?
To amuse their owners is my guess.
--
CPython 3.3.0rc2 | Windows NT 6.1.7601.17835
--
http://mail.python.org/mailman/listinfo/pyth
Τη Σάββατο, 22 Σεπτεμβρίου 2012 4:42:35 π.μ. UTC+3, ο χρήστης Steven D'Aprano
έγραψε:
> On Fri, 21 Sep 2012 11:45:14 -0700, Νίκος Γκρεεκ wrote:
>
>
>
> > One webpage of mine, [url redacted] has been *hacked* 15 mins ago.
>
> [...]
>
> > I would be gratefull for any help you provide me.
>
>
[ Ian Kelly wrote on Sat 22.Sep'12 at 0:22:43 -0600 ]
> On Fri, Sep 21, 2012 at 7:25 PM, Steven D'Aprano
> wrote:
> > On Fri, 21 Sep 2012 14:49:55 -0600, Ian Kelly wrote:
> >
> >> On Fri, Sep 21, 2012 at 1:54 PM, 8 Dihedral
> >> wrote:
> >>> I don't think functional aspects are only marked
62 matches
Mail list logo