I doubt anyone uses Python for serializing anonymous inner-classes!
Python supports a limited form of lambda, which is kinda-almost-like an anonymous inner-class. And interestingly enough it cannot be serialized by the python pickle module.
>>> import pickle
>>> pickle.dumps(lambda x: x) Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.2/pickle.py", line 977, in dumps
Pickler(file, bin).dump(object)
File "/usr/lib/python2.2/pickle.py", line 115, in dump
self.save(object)
File "/usr/lib/python2.2/pickle.py", line 225, in save
f(self, object)
File "/usr/lib/python2.2/pickle.py", line 519, in save_global
raise PicklingError( pickle.PicklingError: Can't pickle <function <lambda> at 0x82534fc>: it's not found as __main__.<lambda>
How does one test a design without some implementation?
Don't other engineering disciplines build stuff... simulations, models, road-worthy concept cars just to see if the design is workable? Isn't there feedback between these implementation steps and the design used in final production?
Aren't new car models and new bridges substantially similar to the previous implementation?
I like to write my ER diagrams in something executable, like python scripts, which will create my schema automagically.
If you gotta have pictures, you might want to check out Dia, whose file format is XML. It has ER diagram components for you to connect. When you are done drawing, write a quick program to translate the XML description into SQL.
I used subterfugue to intercept system calls like "read" and "write" for arbitrary programs. Then I fowarded these system calls to Recall which replicated the requests.
I got it working in a couple of days. Working in a high-level language and all in user-space really simplified the task.
The biff command appeared in 4.0BSD. It was named after the dog of Heidi Stettner. He died in August 1993, at 15.
Python supports a limited form of lambda, which is kinda-almost-like an anonymous inner-class. And interestingly enough it cannot be serialized by the python pickle module.
How does one test a design without some implementation?
Don't other engineering disciplines build stuff... simulations, models, road-worthy concept cars just to see if the design is workable? Isn't there feedback between these implementation steps and the design used in final production?
Aren't new car models and new bridges substantially similar to the previous implementation?
Yah, but if you look REALLY closely at one, you'll
see it says "microsoft" on the face. Eeeww.
I was getting my wallet out for this, when I saw the logo. I put it right back.
I like to write my ER diagrams in something executable, like python scripts, which will create my schema automagically.
If you gotta have pictures, you might want to check out Dia, whose file format is XML. It has ER diagram components for you to connect. When you are done drawing, write a quick program to translate the XML description into SQL.
I got it working in a couple of days. Working in a high-level language and all in user-space really simplified the task.