Philipp Schumann

Disrupt, constructively. Construct, disruptively. 

Peugeot Mountainbike Bike for Sale, second-hand but Good as New.

I'm leaving Cairo so I'm selling the bike I bought NEW just half a year ago in "Mohandiseen Sports Mall". Condition is excellent, just a bit dusty from riding through Cairo 2-4x a week. When not riding I kept it inside at all times. Brakes could need some retightening but still work well on the chaotic roads here! The tyres are perfect for those broken streets full of litter and shards!... I paid for it EGP 1850 and I'll be happy to sell it to you for EGP 1.150. It's Peugeot, good as new, rock-solid and sturdy, and handled even multiple half-day trips along motorways, the Corniche to Maadi, the Cairo-Alex Desert Road and across the northern slums exceptionally gracefully.

I'm leaving on Friday so best to come round and take a look today or tomorrow. Afterwards a friend will handle the sale for me. Call me on +20117868674 but better to email to phil@roxority.com as I'm not a phone person and online anyway.

Comments [2]

Cannot import PyCairo in Python 3.0 (ImportError: dlopen / "Expected in: flat namespace")

Dear Lazyweb,
 
I'm in the process of moving my code base to Python 3.0. On Mac OS X 10.5.6, I've upgraded both Cairo and PyCairo to 1.8.0; then in /Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/site-packages/ ran 2to3 -w cairo and removed the __init__.pyc file.
 
After restarting Eclipse Ganimede /w Pydev and trying to run my code, I got the following ImportError:
 
 File "/Users/roxor/dev-py/metaleap/src/metaleap/core/gfx.py", line 2, in
  import cairo
 File "/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/site-packages/cairo/__init__.py", line 1, in
  from ._cairo import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/site-packages/cairo/_cairo.so, 2): Symbol not found: __Py_ZeroStruct
 Referenced from: /Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/site-packages/cairo/_cairo.so
 Expected in: flat namespace
 
Any ideas how this can be fixed "quick-and-dirty"-ish? I'm far from a production release anyway so I don't have to wait until pycairo "officially" supports Python 3000. Just any ideas to quickly and easily get Python 3.0 / pycairo to work with the current _cairo.so dynamic library would be *highly* appreciated...

Comments [1]

How do I open a TCP port on a Ubuntu physical machine (host) for a Win virtual machine (guest)?

So here's my problem: I have a Windows 2003 guest virtual machine running under VMware Server 2.0 64bit. The host machine is Ubuntu 8.04 where I have a custom web server running under TCP port 54321.

With both bridged and host-only networking, the (Windows) guest machine can ping the (Linux) host machine -- but cannot connect to the aforementioned TCP service (neither via Telnet nor a web browser). In both bridged and host-only networking scenarios, the two machines (virtual and physical) obviously belong to the same virtual LAN so they can ping each other. I suppose my Ubuntu is, per factory defaults, "over-configured / secured". How do I open this specific port for clients from these virtual networks or just from the LAN in general?

Without knowing much about iptables, I tried both
sudo iptables -I OUTPUT -p tcp --source-port 54321 -j ACCEPT
sudo iptables -I INPUT -p tcp --destination-port 54321 -j ACCEPT

which, from some googling, people sometimes seem to use for other ports like MySQL or BitTorrent. Didn't help with my particular problem in the VMware scenario I just described.

Any pointers gladly appreciated!

Comments [1]

In reply to the "Chrome doesn't matter so much and will hardly get any market share anytime soon" comments everywhere

What everyone is missing dicussing Google Chrome, the allegedly upcoming Web Browser: Google will be the only 'browser vendor' ever and worldwide whose website is visited by absolutely, positively *everyone* using whatever browser they are currently using, at least once a day and most of the time, more often than that. How exactly they will leverage that without sacrificing the quality of their current offerings' user experience, no idea. But they will figure that one out. So their chances are so much better than Apple's, Opera's, Mozilla's and even Microsoft's combined!

Even people who do not use Google as a search engine have just about no choice but to encounter a Google Maps iframe here, a Blogger article there, and lots of AdSense ads in between and everywhere. As a user of the web, no matter your choice of browser or search engine, Google can reach out to you and you have no choice about it. I don't particularly mind, but if their product rocks, they have the means to convert the masses quickly.

Comments [0]

Round Rects are Everywhere!

Comments [0]