Posts

Showing posts with the label C#

Have I Returned?

Have I Returned?   I am going to resurrect this blog and rebrand it. I had been trying to get away from blogger and use cool "new" tech like CLI site generation and Markdown. But it seemed everytime i tried this, the true costs didnt make sense (monetary and time) when blogger has always been here. Yes, one day it will go away too, but until then I am going to take advantage of it. Also, There are some great old discussions such as me possibly leaving ZFS . At the time, ZFS was basically married to Solaris (and later OpenSolaris and then illumos). It has since had a divorce and OpenZFS was born. I was sad to have to give up DTrace , but now Dtrace is everywhere. I am happy to say I am still using ZFS and have quite a bit of storage stood up. Whats Next? I have some things brewing, some ideas on MCPs, AI, C#, Zig (my new language love), Jujutsu , Serverless, etc.  Stay tuned.

Quick Update

Just wanted to give a quick update. On the ZFS front i have really made inroads. I now have to decide whether to create a stand alone snappy kernel module (which could assist folks outside of my little tinkerings) or roll snappy into zfsonlinux, so i can do some benches, and see if its a viable alternative to the compression included in zfs. I am leaning toward kernel module, but I've found a project called snappy-c that is a completely C port of snappy. This will make option #1 super easy. On the tinkering front, Xamarin has ported the java layer of android to C# . I have already gotten my hands on the source. Planning to put it on a phone or tablet soon.

Things I am working on

Just an update. I've been down in the "trenches", poking around with various technologies. Below is a short list of things i am checking out: Mono and SWT I am checking out mono and SWT as a UI toolkit vs Windows.Forms, or GTK# or WxWidgets or some other toolkit. SWT is an interesting UI toolkit that uses native widgets. Originally from IBM and now a major part of the eclipse project. It seems that IKVM allows SWT to be run without much effort. I'll post some of my progress on this later IKVM and Eclipse I am also checking out running the current version of eclipse with IKVM. Why? Its an interesting test on how far the project has come, its also could provide an interesting alternative to MonoDevelop or Visual Studio. WindowBuilder is also an interesting feature i'd like to check out. What if WindowBuilder could produce C# compatible SWT code? Could be a boon for Desktop mono linux apps. Solaris ZFS development I am looking at doing some Solaris Develop...

Linq To SQL and Change Tracking

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...