Python Capabilities (restricted execution)
Grok Headline matches for Python Capabilities (restricted execution)
Python and XML: XML Namespaces Support
in Python Tools, Part Three
Python and XML: XML Namespaces Support
in Python Tools, Part Three
06/30/2004 07:31 PMIn this month's Python and XML column Uche Ogbuji examines the
namespace support in ElementTree, PyRXPU, and libxml.
Python and XML: XML Namespaces Support
in Python Tools, Part Two
Python and XML: XML Namespaces Support
in Python Tools, Part Two
05/13/2004 07:55 PMIn his latest Python and XML column, Uche Ogbuji continues his tour of
XML namespaces support in Python tools, focusing this time on 4Suite.
All Airspace is Now Restricted
All Airspace is Now Restricted
02/17/2004 02:24 PMCalling all Americans who travel by plane: No matter how much you
enjoy a thorough cavity search, stand up for your rights and protest
the introduction of Soviet-style travel restrictions and other
Orwellian measures on flights within the country. (02-17)
More Copy Restricted CDs from Sony and
BMG
More Copy Restricted CDs from Sony and
BMG
12/19/2004 03:01 PM
CNet is reporting that Sony and BMG are set to unleash a
new format of copy-restricted CDs some time next year, one designed to
both work in the majority of CD players yet remain invulnerable to the
crafty wiles of the pirate's shift key. There's nothing else to say,
really. If you buy them, you deserve them. If you buy one
accidentally, take it back.
New CD copy-lock technology nears
market [CNet via TheInquirer]
Pepsi's Restricted Refreshments
Pepsi's Restricted Refreshments
08/09/2004 11:14 AMThe company will try again to entice people to buy sodas by limiting
their shelf life.
Should Caesarean deliveries be
restricted?
Should Caesarean deliveries be
restricted?
04/28/2004 06:04 AMPregnant women should be persuaded not to have a Caesarean delivery if
they do not need one according to government guidelines issued on
Wednesday. Do you agree?
Mozilla 1.7 and Aviary 1.0 Checkins
Further Restricted
Mozilla 1.7 and Aviary 1.0 Checkins
Further Restricted
03/31/2005 08:53 AMArmy restricted ethnic recruits
Army restricted ethnic recruits
01/03/2005 10:27 PMThe British Army secretly restricted numbers of ethnic recruits,
according to official files just released.
Online gambling restricted from tomorrow
Online gambling restricted from tomorrow
06/30/2004 09:18 PMNzherald.co.nz - Wed Jun 30, 07:34 am GMT
Restricted System Shell for Linux, Unix
Restricted System Shell for Linux, Unix
03/25/2005 09:18 PMTechnology News Daily Mar 26 2005 1:53AM GMT
SMS Client Installation and Restricted
Group Policy
SMS Client Installation and Restricted
Group Policy
05/16/2004 10:37 PMIron Bars restricted Shell for Linux
Iron Bars restricted Shell for Linux
03/24/2005 07:22 PMVersion 0.1a uploaded
Lasers to warn pilots in restricted D.C.
airspace
Lasers to warn pilots in restricted D.C.
airspace
04/16/2005 02:26 AMReal Cuts Prices for DRM-Restricted
Music
Real Cuts Prices for DRM-Restricted
Music
08/17/2004 01:45 PMNearly half in U.S. say Muslim civil
liberties should be restricted
Nearly half in U.S. say Muslim civil
liberties should be restricted
12/19/2004 03:52 PMThis is not surprising .. bad
news
salon.com/news/wire/2004/12/18/muslim/index.html
track this
site | 3 links
Memo Says Bush Not Restricted by Torture
Bans (Reuters)
Memo Says Bush Not Restricted by Torture
Bans (Reuters)
06/08/2004 06:27 PMReuters - President Bush, as
commander-in-chief, is not restricted by U.S. and international
laws barring torture, Bush administration lawyers stated in a
March 2003 memorandum.
White House Has Tightly Restricted
Oversight of C.I.A. Detentions
White House Has Tightly Restricted
Oversight of C.I.A. Detentions
04/06/2005 02:34 AMOnly a small number of members of Congress are permitted to be briefed
on how and where high-level terror suspects are being held and
interrogated.
Backporting from Python 2.3 to Python
2.2
Backporting from Python 2.3 to Python
2.2
06/08/2004 11:18 PMWe have a home-grown templating system at work, which I
intend to dedicate an entry to some time in the future. We originally
wrote it in Python 2.2, but upgraded to Python 2.3 a while ago and
have since been evolving our code in that environment. Today I found a
need to load the most recent version of our templating system on to a
small, long neglected application that had been running the original
version ever since it had enough features to be usable.
Unfortunately, this application was running on a server
that only had Python 2.2. Installing Python 2.3 would have been
somewhat more painful here than on other servers we run for reasons I
won't go in to, so I decided to have a go at getting our current code
to run under the older Python version.
In the end, I only had to make three minor changes, all at
the top of the file in question.
I added from __future__ import
generators as the very first line of the file. We use
generators (with the yield statement) in a
few places - this feature was only properly added in Python 2.3, but
was made available in Python 2.2 as a "future enhancement" through the
aforementioned obscure import.
I added True, False = 1,
0 on the next line down. Surprisingly, Python 2.2 had no
support for a boolean type and instead used a test for non-zero
instead. The above line defines constants that behave enough like
Python 2.3's True and False to avoid any problems.
I defined an enumerate
function, which was introduced for real in Python 2.3. Here's the code
I used:
def enumerate(obj):
for i, item in zip(range(len(obj)), obj):
yield i, item
All in all it only took around ten minutes to put the
above together, after which the script worked just fine. It was
interesting to see how our code had grown to rely on Python 2.3
features without us realising it.
HP Bolsters ILM Capabilities
HP Bolsters ILM Capabilities
03/23/2005 08:13 AMThe company's improvements to its information lifecycle management
products positions it to compete with EMC's Centera while making
stronger inroads into the mid-tier market.
1 x EV-DO 3G Air Interface Scanning
Capabilities
1 x EV-DO 3G Air Interface Scanning
Capabilities
03/17/2005 02:57 AM3G Mar 17 2005 1:23AM GMT
NetScreen boosts IDP capabilities
NetScreen boosts IDP capabilities
04/14/2004 03:55 PMComputerworld Singapore Apr 14 2004 7:25PM GMT
AOL Search Expands Capabilities
AOL Search Expands Capabilities
03/14/2005 05:13 PMIBM Expands Blade Capabilities
IBM Expands Blade Capabilities
03/23/2005 04:43 PMIBM is bolstering its BladeCenter systems, offering two new switch
options and letting users try virtualization technology from VMware.
Wi-Fi Enhances RFID Capabilities
Wi-Fi Enhances RFID Capabilities
06/30/2004 01:06 PMApriso and AeroScout are partnering to offer companies a logistics
platform that marries RFID and Wi-Fi for sophisticated asset tracking
applications: AeroScout's Wi-Fi location tracking offering can be used
by companies to track items that have RFID tags. Apriso offers the
backend logistics software. The solution can be used to track
resources such as equipment, people, and containers around the
globe....
QualysGuard Picks Up Auditing
Capabilities
QualysGuard Picks Up Auditing
Capabilities
04/18/2005 11:22 AMQualys this week is releasing Version 4.0 of its QualysGuard security
service.
UMTS Capabilities for Migration to 3G
Networks
UMTS Capabilities for Migration to 3G
Networks
07/23/2004 06:21 AM3G Jul 23 2004 9:08AM GMT
Meru Updates Optimization Capabilities
Meru Updates Optimization Capabilities
07/13/2004 12:01 PMMeru repackaged its software to allow users to easily configure their
networks for a variety of situations: The software allows IT managers
to select different configurations based on the type of use of the
network, which consists of access points, a controller, and embedded
software. "If you want to deploy voice, then you press optimize for
voice so the controller will determine the best way for devices to
connect and send packets and handoff is seamless," said Sarah Kim,
senior marketing manager for Meru. "It's all the pieces of our
technology that already existed but it's packaged in a way that the IT
manager doesn't have to think about which set of parameters to turn on
to get the best setting." Users can also choose to configure their
networks for the best coverage and can opt for different
configurations based on separate VLANs. Kim says that Meru's approach
to network optimization is unique. WLAN switch providers tend to rely
on power adjustment to optimize network performance, adjusting each
access point's power output to achieve the best coverage. But Meru
networks, which operate on a single channel, optimize on a per packet
basis....
Dell Offering InfiniBand Capabilities
Dell Offering InfiniBand Capabilities
02/17/2004 01:02 PMDell Inc. is bringing InfiniBand capabilities to its high-performance
computing cluster configurations via technology from Topspin
Communications Inc.
ATI Delivers HDTV Reception and PVR
Capabilities for PCs
ATI Delivers HDTV Reception and PVR
Capabilities for PCs
02/17/2004 02:34 PMFilm and Video Magazine Feb 17 2004 6:49PM GMT
IBM Extends Tivoli's On-Demand
Capabilities
IBM Extends Tivoli's On-Demand
Capabilities
05/17/2004 10:38 PMThe company extends automation functions in its IBM Tivoli
Provisioning Manager to cover its own storage products and also allows
integration with other vendors' gear.
eBuilding 1.4 Released With Expanded
Capabilities
eBuilding 1.4 Released With Expanded
Capabilities
06/23/2004 03:08 AM [PRWEB Jun 23, 2004]
Outsourcers build up security
capabilities
Outsourcers build up security
capabilities
03/24/2005 08:31 PMvnunet.com Mar 25 2005 12:12AM GMT
NetManage buys Librados for EAI
capabilities
NetManage buys Librados for EAI
capabilities
09/23/2004 08:43 AMComputer Business Review Sep 23 2004 12:21PM GMT
WebEx Hosts More Advanced Capabilities
WebEx Hosts More Advanced Capabilities
01/16/2004 11:03 AMGains tighter integration with office, multipoint videoconferencing.
Outstanding 3G UMTS Test Capabilities
Outstanding 3G UMTS Test Capabilities
04/21/2004 04:57 AM3G Apr 21 2004 8:02AM GMT
Bluetooth's Name Recognition,
Capabilities Grow
Bluetooth's Name Recognition,
Capabilities Grow
03/19/2005 03:02 AMBroadband Daily Mar 18 2005 11:34AM GMT
NVIDIA to Bring Firewall Capabilities
NVIDIA to Bring Firewall Capabilities
12/18/2003 06:14 PMNew 3G Video Capabilities for IP Media
Servers
New 3G Video Capabilities for IP Media
Servers
06/24/2004 05:05 AM3G Jun 24 2004 8:20AM GMT
Cisco Expands it's Wireless Capabilities
Cisco Expands it's Wireless Capabilities
03/25/2005 09:18 PMTechnology News Daily Mar 26 2005 2:04AM GMT
Grok Description matches for Python Capabilities (restricted execution)
GrokA matches for Python Capabilities (restricted execution)
Python Multi-Agent System Environment
Python Multi-Agent System Environment
04/13/2005 08:01 AMUpdate
Java Embedded Python 0.9.0
Java Embedded Python 0.9.0
06/14/2004 07:44 PMEmbeds CPython in Java.
Java Embedded Python
Java Embedded Python
05/21/2004 07:06 PMJep - 0.8.1 Released -- May 21, 2004
Comparing Python to Java
Comparing Python to Java
11/18/2002 12:57 PMJava was designed to be an incremental step up from C++, with the
rationale that for the price of a small bit of efficiency, you gained
a huge amount in terms of simplicity, ease of development,
maintainability, and portability. Python on the other hand "turns all
the knobs to 10." It offers a beautifully simple, clean design that
can result in programs that are extremely clear, easy to maintain and
very quick to develop.
"tri" In my mind, what is true of Python holds true for PHP also.
Furthermore I can train a C or Javascript programmer to code in
proficiently PHP in 2 days. I cannot say the same for Python. Python
enjoys a certain intellectual cachet among the digirati, but I think
PHP is the better language, especially when PHP's support for threads
and unicode is fixed.
"zeldman.oo8"
Java Embedded Python 0.9.11
Java Embedded Python 0.9.11
07/26/2004 04:08 PMEmbeds CPython in Java.
Jython para programadores de Python y
Java
Jython para programadores de Python y
Java
07/12/2004 03:46 AMComparing C, C++, Java, Perl, Python,
Rexx, and TCL (pdf)
Comparing C, C++, Java, Perl, Python,
Rexx, and TCL (pdf)
12/22/2002 11:37 AMGoogle HTML version.
The key conclusions of the research paper are
- Designing and writing the program in Perl, Python,
Rexx, or Tcl takes no more than half as much time as
writing it in C, C++, or Java and the resulting program
is only half as long.
– No unambiguous differences in program reliability between
the language groups were observed.
– The typical memory consumption of a script program is
about twice that of a C or C++ program. For Java it is
another factor of two higher.
– For the initialization phase of the phonecode program
(reading the 1 MB dictionary file and creating the 70kentry
internal data structure), the C and C++ programs
have a strong run time advantage of about factor 3 to
4 compared to Java and about 5 to 10 compared to the
script languages.
– For the main phase of the phonecode program (search
through the internal data structure), the advantage in run
time of C or C++ versus Java is only about factor 2 and
the script programs even tend to be faster than the Java
programs.
There is also an interesting
debate at Lambda the Ultimate on my previous Developing Reliable
Software with Scripting Languages essay.
Some people have got the impression the Developing Reliable Software
essay advocates scripting languages as the best way to write software.
That's simply silly - some things can only be done in a 3GL due to
their better performance characteristics. All that was written was
"This seems to be a pretty good justification for using scripting
languages." Whether the justification fits the problem domain is
up to you of course.
Also I am more interested in finding ways to make coding scripting
languages more reliable, and not proving that they can be reliable. I
am not interested in proving whether Python is more reliable than PHP
or C# or vice versa. I just want our code to suck less.
Lastly the reason (which was never elaborated) why scripting is the
now and future of computing is because the price/performance ratio
of computers is still dramatically going down. The 68000 assembler
that I wrote for the Macintosh in the 80's that I (hopefully) thought
was highly tuned runs slower than the slowest Perl code I could write
today. More and more problems over time have become amenable to the
use of specialised domain specific scripting languages. One non-PHP
example being the numerical processing now done using P
ython and MatLab.
"zeldman.darla"
Java Service Wrapper 3.1.0
Java Service Wrapper 3.1.0
04/15/2004 10:21 AMA tool that allows Java applications to be run as Unix daemon
processes.
Java Service Wrapper
Java Service Wrapper
04/15/2004 03:58 AMJava Service Wrapper Version 3.1.0
Java SQLite Wrapper 1.0
Java SQLite Wrapper 1.0
04/13/2004 07:53 PMA Java wrapper for SQLite.
java.sql.ResultSet DOM Wrapper
java.sql.ResultSet DOM Wrapper
11/16/2003 09:21 AMResultSet DOM Wrapper v1.0rc1 released
Java Service Wrapper 3.1.1
Java Service Wrapper 3.1.1
07/21/2004 06:18 AMA tool that allows Java applications to be run as Unix daemon
processes.
Java Resource Wrapper
Java Resource Wrapper
07/07/2004 11:31 AMjResWrap v. 1.0 is available.
Python-SIP 4.1.1
Python-SIP 4.1.1
09/24/2004 03:30 PMA tool to generate Python bindings from C++ code.
PHP Everywhere: Python vs. PHP?
PHP Everywhere: Python vs. PHP?
03/30/2005 09:12 AMFrom
PHP
Everywhere today:
Python-SIP 4.0
Python-SIP 4.0
06/23/2004 12:48 PMA tool to generate Python bindings from C++ code.
XML with Xen and with Python
XML with Xen and with Python
12/19/2004 03:53 PMHere is a comment on the paper "Programming with Circles,
Triangles and Rectangles" by Erik Meijer et al. Perhaps interesting
for XML programmers.
Another look at PHP and Python
Another look at PHP and Python
02/10/2004 02:46 AMPostscript: Some people have got the impression from this article
that I am moving away from PHP. That is far from the truth. I will
continue to use PHP extensively today, tomorrow and for the forseeable
future.
I find Python harder than PHP.
It could be because we are programming multi-threaded networked
servers in Python, and that
could be inherently harder than coding dynamic web-sites.
Another reason could be lack of familiarity with
Python. For example, I couldn't find the equivalent of htmlspecialchars
and other functions, so i had to roll my own.
Despite all these issues, we are continuing to develop this in
Python because (AFAIK) PHP does not have stable networking frameworks.
So what do I like about Python?
- Neat Syntax
The use of indentation for compound statements discourages deep
nesting, and thus more modular code.
- More Safety Checks
In PHP, when you search using a regular expression, an associative
array is returned.
In Python, a typed object, "match" is returned when a regular
expression search is performed,
and not a generic dictionary. You cannot perform arithmetic on
strings, an explicit cast is required; neither
can you concatenate numbers with strings, explicit typecasts are
needed.
- Supports Multi-Threaded Apps
There exists a global lock in Python that prevents multi-threading
from working effectively on multiple processors - nevertheless Python
has reasonable thread support and allows me to develop reasonably
responsive servers.
- Python's Compiler is Standard
Python has a standard compiler and byte-code format. There is no
such standard in the PHP world, and
most ISP's don't support Zend or Turck MMCache encoded PHP. Better
still, a debugger is included in the package too.
- Python Fully Supports Unicode
Python 2.0 and later has full support for unicode. For example to
convert big5 to unicode is the simple:
unicode_str = unicode(tw_chinese_string, 'big5')
In contrast, see how complicated it is to perform
double-byte to unicode conversions in PHP (see User Notes).
The only issue i had with the unicode support is that it doesn't
come with a complete set of double-byte decoders (eg. big5, gb). After
a 20 minute google search, i found this set of python cjk decoders.
And what I dislike about Python
- Python Is Not Rapid Enough?
I think that PHP is a better tool for rapid application
development, especially for web-sites. Minor type issues are handled
for you transparently in PHP. In Python, once a variable is set,
stricter type-checking is performed on most operations.
So you can argue that Python is safer. But PHP coding is definitely
more rapid.
Another thing i dislike is that Python's import/load facility does
not check .py file modification dates. If i modify a .py file,
Python's run-time environment will not recompile it until i restart
Python, or perform a reload manually from the command-line
interpreter.
- Database Access
Python does not have official database drivers, and you have to
select and download these drivers
yourself. It's easy to get it wrong. For example, only after coding
the adodb_odbc module using PythonWin
odbc extension did i
realize how awful PythonWin odbc was. I then found the mxODBC
extension - unfortunately the mxODBC requires commercial
licensing ($75 per CPU).
- Python is Not That Popular
Popularity is relative. There are lots of Python programmers - but
there are perhaps 3 times more PHP programmers than Python ones. In
Malaysia, the ratio of PHP to Python programmers is probably much
worse (10:1?). And there are many training centers offering PHP
courses. AFAIK, there are no centers in Malaysia offering Python
training.
A quick search in monster.com reveals the following (numbers might
change over time):
PHP: 131 jobs
http://jobsearch.monster.com/jobsearch.asp?q=php&re=0&sort=rv&tm=&fn=6
60&vw=b&cy=US&brd=1%2C1862%2C1863
Python: 41 jobs
http://jobsearch.monster.com/jobsearch.asp?q=python&re=0&sort=rv&t
m=&fn=660&vw=b&cy=US&brd=1%2C1862%2C1863

Python 2.3.3
Python 2.3.3
12/30/2003 05:13 PMA high-level scripting language.
Python-SIP 4.0.1
Python-SIP 4.0.1
07/06/2004 06:45 AMA tool to generate Python bindings from C++ code.
Python 2.3
Python 2.3
10/28/2003 11:06 PM
Python 2.3 was released
yesterday... and not a moment too soon. I was just swearing under my
breath about this sort of nonsense:
>>> cosmos = technorati.cosmos('http://diveintomark.org/')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "technorati.py", line 214, in cosmos
xmldoc = minidom.parseString(rawdata)
File "/usr/lib/python2.2/site-packages/_xmlplus/dom/minidom.py",
line 1605, in parseString
return expatbuilder.parseString(string)
, in parseString
return builder.parseString(string)
File
"/usr/lib/python2.2/site-packages/_xmlplus/dom/expatbuilder.py",
line 187, in parseString
parser = self.getParser()
File
"/usr/lib/python2.2/site-packages/_xmlplus/dom/expatbuilder.py",
line 119, in getParser
self._parser = self.createParser()
File
"/usr/lib/python2.2/site-packages/_xmlplus/dom/expatbuilder.py",
line 734, in createParser
parser.namespace_prefixes = True
AttributeError: namespace_prefixes
OS X users, don't be discouraged by the mention of there being no
MacPython version yet or daunted by the task of compiling it from
source --
MacP
ython 2.3 lives and is just a few glorious GUI installer clicks
away.
MPY (MPi for pYthon)
MPY (MPi for pYthon)
06/26/2004 05:20 PMMPY Version 0.1 Released
Python-SIP 3.9
Python-SIP 3.9
12/08/2003 04:42 PMA tool to generate Python bindings from C++ code.
Introduction to Python.
Introduction to Python.
04/12/2005 11:12 AMOk, first part is going to be fairly boring, but put up with it. Im
just going to go through...
Python SRS Library 0.30.9
Python SRS Library 0.30.9
08/31/2004 02:50 AMA Python Sender Rewriting Scheme library.
Python UnZipped
Python UnZipped
01/05/2004 01:42 PM
Python is a great choice for anyone wanting to play with the
increasingly popular ZIP or GZIP (not covered here) file formats, and
as usual Python makes it surprisingly fun/easy! Don't believe me? In
this article we'll look at creating, extracting, and adding to Zip
archives using Pythons standard zipfile module and defining a set of
functions you can use with your own Zip files; ending with an example
which recursively scans a Zip file and sub-archives.
Python Capabilities (restricted execution)