I'll be talking about all things Rails, Python, Ruby and Java among other topics in this blog. I also enjoy a bit of system programming, so my fun with WebOS, Win32 and Solaris may show up here too.
Interesting technology
Get link
Facebook
X
Pinterest
Email
Other Apps
Found an interesting project called vertx.x I might end up trying to port it to the CLR using the technology that the folks over at the mono-project used for porting android's java layer to C#
I have been using Linq To SQL in a project recently. Linq is a great way to traverse through a collection of objects. Its a very nice utility and can get rid of those unsightly nested foreach loops with if/elses in your code. Linq To SQL is also a nice basic Object Relational Mapper. The issue is "when the rubber meets the road", as it were. Linq seems a slight bit incomplete. Take this example: A simple ChangeLog class. It has an Enum ChangeLogStates that has 4 states, Created, Modified, StatusChanged (a disposition), Shelved(basically deleted). Now, i could do an ChangeLog.add(LogStates.Created/Modified/Changed/Shelved,Object Key, strDescription) to every line of code where there is a change in the database....everywhere i insert, update the underlying entity. But Using the beauty of OOP and Linq to SQL, i can impletement the Datacontext's insert and update partial methods: partial void insertLinqItem(LinqItem item); partial void updateLinqItem(LinqItem item); in...
After trying to compile and install mono 2.10.8 on the latest builds of Haiku, its apparent that Haiku is now getting some Mono love. Its not 100% complete, but while spelunking through source I saw specific __HAIKU__ #ifdef tags, which didnt exist when i first started looking into getting mono working. It looks like by the next alpha or release candidate mono will be up and running. Its doubtful my endeavors really helped. Though going forward I will be, at the very least, publishing the majority of hacks so they may be used as information for patches going forward. I will also attempt (where i see the need) to get patches committed into Mono (and any other projects/tech that I hack regularly). I think the knowledge gained from hacking Mono/WebOS, Mono/Haiku and ZFS/Snappy (among others) will allow me to start creating useful patches. I've learned a lot about autoconf, automake, et al.
I am back, with my usual mono antics! RIM recently had a conference and showed off more of BB10. I have decided I will attempt (albiet in my spare time) to use C# to create a Cascade application. I have a few ideas how i'll accomplish this. I'll post more info as time goes on.
Comments