you’re not here to write code; you’re here to ship products.
"Zawinski: They were being extremely academic about their project.
They were trying to approach it from the DOM/DTD side of things. "Oh,
well, what we need to do is add another abstraction layer here and
have a delegate for this delegate for this delegate.
py.test can ad-hoc distribute test runs to multiple CPUs or remote machines
http://codespeak.net/py/dist/test/dist.html
py.test can ad-hoc distribute test runs to multiple CPUs or remote machines. This allows to speed up development or to use special resources of remote machines.
pylib: the testing-with-python innovations continue
http://tetamap.wordpress.com/2009/08/04/pylib-1-0-0-released-the-testing-with-python-innovations-continue/
py.test: simultanously test your code on all platforms
http://tetamap.wordpress.com/2009/03/23/new-simultanously-test-your-code-on-all-platforms/
It is now convenient to do test runs that transparently distribute a normal test run to multiple CPUs or processes.
py.test: information-rich tracebacks vs. nose
Simple test
from nose.tools import *
def test_first():
ok_( True )
ok_( False )
with nose you get:
test_one.py F
======================================================================
FAIL: test_one.test_first
-------------------------------------------------------------------
HDFS: Hardware failure is the norm rather than the exception
http://hadoop.apache.org/common/docs/current/hdfs_design.html#Introduction
The Hadoop Distributed File System (HDFS) is a distributed file system designed to run on commodity hardware. It has many similarities with existing distributed file systems.
HBase is the Hadoop database
http://hadoop.apache.org/hbase/
Use it when you need random, realtime read/write access to your Big Data. This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters of commodity hardware.
What is Google Wave good for?
http://www.techcrunch.com/2009/11/26/why-google-wave-sucks/
Brainstorming, early concept creation and discussion is what I see Google Wave being used for extensively in the near future. It can also serve as a multi-user note-taking platform for meetings and sessions in your company or university.
reStructuredText: List Table
http://docutils.sourceforge.net/docs/ref/rst/directives.html#list-table
The "list-table" directive is used to create a table from data in a uniform two-level bullet list. "Uniform" means that each sublist (second-level list) must contain the same number of list items.
Example:
..
SharePoint 2007 API: Executing code as another named user
http://vspug.com/tanujashares/2007/08/07/impersonation-in-sharepoint-2007/
When we create a SharePoint site programmatically using the Microsoft.SharePoint namespace, we can supply a user token which enables you to create objects in the context of a specific user.
How to set current user name in SharePoint?
Interesting question - http://stackoverflow.com/questions/1803337/how-to-set-current-user-name-in-sharepoint
How to configure Forms Based Authentication - Active Directory (LdapMembership)
Can be useful for testing this scenario
http://blogs.technet.com/nishants/archive/2009/05/22/how-to-configure-forms-based-authentication-active-directory-ldapmembership.aspx
What are your biggest complaints about Sharepoint?
http://stackoverflow.com/questions/256407/what-are-your-biggest-complaints-about-sharepoint
- Insane Development Requirements: You must have a Windows 2003/2008 Server as your Workstation, you really should be local Administrator on it.
the new IE9 JavaScript engine will compile JavaScript into native code
http://arstechnica.com/microsoft/news/2009/11/javascript-graphics-performance-improvements-on-tap-for-ie9.ars
three main areas of improvement: JavaScript, Web standards, and graphics technology.
What is the Closure Library?
http://closure-library.googlecode.com/svn/trunk/closure/goog/docs/index.html
The Closure Library is an industrial-strength JavaScript library.
Google releases core development tools as open source
http://www.cio.com.au/article/325235/google_releases_core_development_tools_open_source
http://code.google.com/closure/
The tools include Closure Compiler, which streamlines, optimizes and consolidates Javascript code to make it run faster and more efficiently, increasing the chances that the ap
Coverage v3.2b1: branch coverage!
http://nedbatchelder.com/blog/200911/coverage_v32b1_branch_coverage.html
Branch coverage
Coverage.py now supports branch coverage measurement.
SilverlightXP website released.
http://silverlightxp.net/
The collection of links to Silverlight resources. BTW the web site is Silverlight App.
Windows 7 Indexing: it started working and now it looks and feels very good
Have got 63959 items indexed so far, 3GB pst was indexed in couple of hours, searches very fast
execnet: instantiate local/remote Python Interpreters
http://codespeak.net/execnet/trunk/index.html
The execnet package allows to:
- instantiate local/remote Python Interpreters
- send code for execution to one or many Interpreters
- send and receive data through channels
execnet performs zero-install bootstrapping into other interpreters; package
pytest_nose plugin
http://codespeak.net/py/dist/test/plugin/nose.html
nose-compatibility plugin: allow to run nose test suites natively.
py.test: information-rich tracebacks, PDB introspection
http://codespeak.net/py/dist/test/features.html
A lot of care is taken to present useful failure information and in particular nice and concise Python tracebacks. This is especially useful if you need to regularly look at failures from nightly runs, i.e.
py.test as a red/green lamp for tdd
http://codespeak.net/py/dist/test/features.html#advanced-test-selection-and-running-modes
py.test --looponfailing allows to run a test suite, memorize all failures and then loop over the failing set of tests until they all pass.
Now translate.google.com has got an audio available! Nice!
http://translate.google.com
py.path: uniform high-level api to deal with filesystems and filesystem-like interfaces
http://codespeak.net/py/dist/path.html
The 'py' lib provides a uniform high-level api to deal with filesystems and filesystem-like interfaces: py.path.
py.code: higher level python code and introspection objects
http://codespeak.net/py/dist/code.html
Every object in the py.code library wraps a code Python object related to code objects, source code, frames and tracebacks: the py.code.Code class wraps code objects, py.code.Source source snippets, py.code.Traceback` exception tracebacks, ``py.code.Frame fram
Windows 7: Indexing of Microsoft Office Outlook doesn't work :(
It sounds weird but I am planning to install Google Desktop on Windows 7 to get e-mail indexed
2Maybe Flash/Silverlight would have been better
http://gojko.net/2006/09/29/joys-and-perils-of-mass-market-java-games/
"Would I do it again? Don’t think so. For business applications, in a controlled environment, Java does an excellent job.
What about agile iterations and releasing early?
http://gojko.net/2009/11/23/the-danger-of-releasing-too-early/
“We should prioritise projects to be able to release early something that is genuinely useful, not partial functionality that is useless on its own.”
The waterfall trap for "agile" projects or Incremental is not iterative
http://gojko.net/2007/12/04/waterfall-trap/
“Although both these plans aim for the same thing, the incremental plan does not really reduce the risk of delivering something unsuitable to the client. The big picture appears only at the very end.
reStructuredText: Sidebar
http://docutils.sourceforge.net/docs/ref/rst/directives.html#sidebar
Sidebars are like miniature, parallel documents that occur inside other documents, providing related or reference material.
reStructuredText: Topic
http://docutils.sourceforge.net/docs/ref/rst/directives.html#topic
A topic is like a block quote with a title, or a self-contained section with no subsections. Use the "topic" directive to indicate a self-contained idea that is separate from the flow of the document.
An ISAPI WSGI Handler
http://code.google.com/p/isapi-wsgi/
Description: An implementation of WSGI (PEP 333) for running as a ISAPI extension under IIS. WSGI is considered as important standard for the future of web deployed Python code.
How to index python files on windows 7
Go to Indexing Options/Advanced/File Types/
Add py extension
Select Index Properties and File Content for py extension
Enjoy!
IronPython 2.6 Release Candidate 3
http://ironpython-urls.blogspot.com/2009/11/ironpython-26-release-candidate-3.html
IronPython 2.6 is the up-and-coming version of IronPython targeting compatibility with Python 2.6. As well as the new features in Python 2.6, IronPython 2.6 has several important new features specific to IronPython.