Just installed Silverlight on Mac, works :)
Took almost the same time as on windows, not bad.Sent from my iPhone
HTML 5's canvas tag implemented using Silverlight!
Very interesting!
"The specification for <canvas> is available from two sources: the W3C and the WHATWG. The API is comprised of something close to 100 interfaces, properties, and methods and offers an immediate mode programming model that's superficially similar to the Windows GDI API.
Is it new for Google or i was just stupidly blind?
Maybe it was available before but I’ve just noticed that Google search allows to comment on search results and to promote search results. It is available for some results and not available for others. If anybody knows why it would be great to know.
Another reason to use YUI namespaces
When using YUI namespaces if something is wrong in web app it is very useful and actually very easy to go to Firebug Console or DOM window and inspect app’s objects.
Useful links to start working with mozmill
“Mozmill is a UI testing tool for all Mozilla based applications.”
Project Page:
http://quality.mozilla.org/projects/mozmill
Python interface:
http://pypi.python.org/pypi/mozrunner/2.0
http://pypi.python.org/pypi/jsbridge/2.2
http://pypi.python.org/pypi/mozmill/1.2.1
How to run it from comman
IronRuby can call COM
Interesting that IronRuby pays attention to such things as COM - kind of very old technology :)
http://ironpython-urls.blogspot.com/2009/08/ironruby-09-performance-and-interop.html
“On the compatibility front, the Win32OLE Ruby library is now available in IronRuby.
team of engineers who do both development and testing as opposed to dedicated developers and testers
Good comparison of two approaches: “team of engineers who do both development and testing as opposed to dedicated developers and testers” http://tomasz.janczuk.org/2009/03/discipline-oriented-team-structure-in.html
My experience was very close to what Tomasz has described.
Silverlight supports a communication protocol that allows a server to asynchronously send messages to a Silverlight client
That’s interesting, server pushes info to the browser.
Unit Tests for IronPython/Silverlight App
Re ‘Unit Tests’ for now I use ‘CPython tests IronPython’ approach. Sure to make it possible I stub all calls to .Net Even with that –S option IronPython is not that fast yet. Sure for functional tests I need to call system itself.
There is only one UI thread in the Silverlight application
“When the web service call is initiated from the UI thread of a Silverlight application, the async event handler code will also execute on the UI thread.” http://tomasz.janczuk.org/2009/08/improving-performance-of-concurrent-wcf.html
Looks like DispatcherTimer behaves the same – works in the contex
Either empty site.py or -S option helps a lot with IronPython startup time ~ 4 times faster, thanks to @voidspace!
http://maplpro.blogspot.com/2009/08/pre-compile-parts-of-cpython-standard.html
Pre-compile the parts of CPython standard library IronPython uses to make its startup time faster
I can’t agree with this statement: “IronPython is actually doing quite a lot at startup time” http://ironpython-urls.blogspot.com/2009/08/good-mix-20-startup-time-inline-c.html If you are doing again and again the same thing and it affects users of the language why don’t you do it by some other way
2No more wires! Just put it on and charge it full :)
“Duracell myGrid wireless charger puts an end to tangles” http://stuff.tv/News/Duracell-myGrid-wireless-charger-puts-an-end-to-tangles/13087/
How to Create Killer SharePoint Applications with Four Simple Techniques
Interesting Apps on CodePlex:
“SPCurrentUsers (on CodePlex)
SPCurrentUsers tracks users’ behavior in a site using a DelegateControl that runs on every page a user visits. The interface for the administrator is through a dynamic CustomAction that displays the current number of logged-on users.
YUI has its own meaning of namespace
YUI has its own meaning of namespace which can be used by custom application.
Python global variables are not JavaScript global variables
Interesting mistake Python programmers can do if they write JavaScript. In Python the separate file is a namespace. All global variables are in that namespace. So if you have couple of ‘a’ in different files they are different ‘a’s.
How to use YUI LogReader
To turn on YUI LogReader:
- add logger into the <head> section, something like this: <script type="text/javascript" src="/static/yui/build/logger/logger.js"></script>
- add LogReader creation before </body> tag, something like this: new YAHOO.widget.LogReader( "logID" )
- you can put somewhere su
Tool for getting calls tree for python code
Tool for getting calls tree for python code http://pypi.python.org/pypi/py2dot Another good link http://blog.prashanthellina.com/2007/11/14/generating-call-graphs-for-understanding-and-refactoring-python-code/
Duplication in Python Code
Removing the duplication in Python Code (sure you are!) ? Good Tool: http://clonedigger.sourceforge.net/documentation.html
How to escape from proxy in urllib2
“urllib2 will auto-detect your proxy settings and use those. This is through the ProxyHandler which is part of the normal handler chain. Normally that's a good thing, but there are occasions when it may not be helpful [5]. One way to do this is to setup our own ProxyHandler, with no proxies defined.
IMHO IDE hides the beauty of language
I think IDE hides the beauty of the programming language. The same is true for the ugliness.
An update conflict has occurred, and you must re-try this action
Error message when you try to modify or to delete an alternate access mapping in Windows SharePoint Services 3.0: "An update conflict has occurred, and you must re-try this action"
http://support.microsoft.com/kb/939308
HTML is generated by Silverlight object with no UI
Wrote Web App:- HTML is generated by Silverlight object with no UI
- Silverlight object is written on IronPython
- IronPython code is tested through CPython: nose
Sounds crazy, works great!
Silverlight is used as a controller of this app.
HTML Form with javascript action
If you want to call javascript for HTML Form and do no HTML/Form action (no page reload), just return false in javascript function.
RE: Silverlight as a system part of AJAX application
Maybe even more important point for doing this is a testability.
Silverlight as a system part of AJAX application
It is absolutely possible to use Silverlight as a system part of your Web App. So page is still HTML with all benefits of that. Silverlight objects are hidden.
HTML Bridge: Interaction Between HTML and Silverlight
http://msdn.microsoft.com/en-us/library/cc645076(VS.95).aspx
“
In Silverlight, the HTML Bridge is an integrated set of types and methods that enable you to do the following:
Expose complete managed types to JavaScript for scripting.
Google to Launch a New Version of Google Search
http://mashable.com/2009/08/10/google-new-version/
Google (Google) has a giant target on its back. Microsoft has been on a spending and deal-making spree to grow Bing (Bing), recently signing a huge search deal with Yahoo.
Listening to 'Extreme Toyota: Radical Contradictions That Drive Success at the World's Best Manufacturer'
http://www.audible.com/adbl/site/products/ProductDetail.jsp?productID=BK_GDAN_000153&BV_UseBVCookie=Yes
‘To an outsider, Toyota is hard to understand. The company moves forward gradually while also advancing in big leaps.
Comparisons of SharePoint Search Versions
http://msdn.microsoft.com/en-us/library/aa981559.aspx
Chrome doesn't show MSDN examples!
At least finally I’ve found it, that’s good :) It was pretty annoying to go to MSDN and see no examples. Just text. So what was it? Chrome :( It shows nothing for examples. If you go to Firefox, everything is in place. It is first time I was really disappointed in Chrome.
10 Awesome Images That Are Actually Paintings
http://www.thetoyzone.com/2009/blog/10-awesome-images-that-are-actually-paintings/
SharePoint is next MSFT OS
"Along these lines, Steve Ballmer, Microsoft’s chief executive, has talked about SharePoint as the company’s next big operating system."
http://bits.blogs.nytimes.com/2009/08/07/microsofts-sharepoint-thrives-in-the-recession/
Microsoft's SharePoint Thrives in the Recession
http://bits.blogs.nytimes.com/2009/08/07/microsofts-sharepoint-thrives-in-the-recession/
“While Microsoft’s Windows sales fell for the first time in history this year, its SharePoint sales have gone up.
SharePoint WebServices Spec
Sure it is a known “issue” :) but I’ve just discovered this cool stuff if you put into browser this http://california/_vti_bin/Lists.asmx (it is SP web service and sure 'california' should be your FE), you get nice list of web service operations.