Archive for the ‘SW development’ Category.
October 11, 2009, 11:35 am
If you are going to develop Verilog/VHDL code using eclipse I’ve got good news for you. Veditor provides a nice environment to work with Verilog. To install it click Help->Install new software. The repository URL is at:
http://veditor.sourceforge.net/update
Be sure to uncheck Group items by category, otherwise Veditor won’t show up.
July 10, 2009, 10:15 pm
Microsoft has published a research paper on a browser that uses different processes to isolate page content elements. It builds on the concept of multiprocess browsing but goes one step further and uses more fine-grained isolation to expand on the security advantages that are already included in Chrome and are being developed in Firefox. This is the paper’s abstract. The full article can be found here.
Original web browsers were applications designed to view static web content. As web sites evolved into dynamic web applications that compose content from multiple web sites, browsers have become multi-principal operating environments with resources shared among mutually distrusting web site principals. Nevertheless,no existing browsers, including new architectures like IE 8, Google Chrome, and OP, have a multi-principal operating system construction that gives a browser-based OS the exclusive control to manage the protection of all system resources among web site principals.
In this paper, we introduce Gazelle, a secure web browser constructed as a multi-principal OS. Gazelle’s browser kernel is an operating system that exclusively manages resource protection and sharing across web site principals. This construction exposes intricate design issues that no previous work has identified, such as cross-protection-domain display and events protection. We elaborate on these issues and provide comprehensive solutions.
Our prototype implementation and evaluation experience indicates that it is realistic to turn an existing browser into a multi-principal OS that yields significantly stronger security and robustness with acceptable performance.
June 4, 2009, 2:18 am
Control versioning systems are an essential tool for every programmer and provide very useful options such as keeping different branches of the same project or reverting the source code to a previous version.
In this post I’m going to show you how to set up and integrate Subversion with VS2008. Continue reading ‘Adding Subversion support to Visual Studio 2008’ »
May 19, 2009, 5:59 pm
Surprisingly, there aren’t too many web services libraries in Python. On the one hand, we have ZSI, allegedly the most powerful one. However its documentation is outdated and the beginnings aren’t easy. Keeping my search I discovered soaplib. Soaplib is an easy to use python library for writing and calling soap web services. To install it follow these steps:
svn co https://svn.optio.webfactional.com/soaplib/trunk soaplib
cd soaplib python setup.py install
Creating web services with soaplib is quite easy. This is the server:
from soaplib.wsgi_soap import SimpleWSGISoapApp
from soaplib.service import soapmethod
from soaplib.serializers.primitive import String, Integer, Array
class HelloWorldService(SimpleWSGISoapApp):
@soapmethod(String,Integer,_returns=Array(String))
def say_hello(self,name,times):
results = []
for i in range(0,times):
results.append('Hello, %s'%name)
return results
if __name__=='__main__':
from cherrypy._cpwsgiserver import CherryPyWSGIServer
# this example uses CherryPy2.2, use cherrypy.wsgiserver.CherryPyWSGIServer for CherryPy 3.0
server = CherryPyWSGIServer(('localhost',7789),HelloWorldService())
server.start()
And this is the client:
from soaplib.client import make_service_client
from helloworld import HelloWorldService
client = make_service_client('http://localhost:7789/',HelloWorldService())
print client.say_hello("Dave",5)
As you can see writing a simple web service just takes a few seconds. This example passes primitive data types (String, integer …) to the remote method. We’ll see how to pass complex data another time.