Childhood Injuries

Injuries from ages 5-18:

The list below only features some of the injuries that I remember somewhat vividly. This is because of their painful nature. It does not include the dozens (hundreds?) of cuts and scraps. That being said in the grand scheme of things they are all very minor.

~5 Bicycle head over handle bars face first into pavement. Skin off all left side of face, from forehead to chin, off the ear and nose. A few years later bike helmets became available. Of course my hands and arms were also skinned.

Servicestack.net and PHP

Connecting to a servicestack (see servicestack.net) service from php is very easy. If you go to https://github.com/majorsilence/WebServiceDotNetTesting there is a c# project that has one service called Hello. This service will listen on http://localhost:9200.

In the php folder there is a script servicestack-php.php that will connect to the c# servicestack web service.

The main function that can be used is get_data_curl. This function can be used with both HTTP, HTTPS, and can connect to open services and services protected with basic authentication.


/**

My-FyiReporting 4.5.0

My-FyiReporting 4.5.0 has been released.

Main new features:
* Gtk Viewer based on cairo
* Barcodes QR Codes, Code39, EAN8
* Menu Insert* Upgraded to visual studio 2010
* Helper to select SQLite database
* Helper to select SQL Server 2005/2008 server and database
* Enable drag and drop of reports into designer when designer had no other reports open
* Wpf report viewer control

BUG fixes:
Issue 12 - Aggregate Function First() returns data from wrong dataset
Issue 8 - Field place holders in Expression builder
Issue 7 - Setting Paper Size

C# Barcode 39

To create a Code39 barcode using C# or any .net language first go to http://code.google.com/p/zxing/ and download the C# library and build it. Direct link for version 2 source (http://code.google.com/p/zxing/downloads/detail?name=ZXing-2.0.zip&can=2&q=)

Add the zxing.dll file as a reference to your project.

        using System.Drawing;
        Bitmap bmp = BarCode39("Message");

        public Bitmap BarCode39(string codeMessage)
        {
            com.google.zxing.oned.Code39Writer writer = new com.google.zxing.oned.Code39Writer();

C# QR Codes

To create a QR code using C# or any .net language first go to http://code.google.com/p/zxing/ and download the C# library and build it. Direct link for version 2 source (http://code.google.com/p/zxing/downloads/detail?name=ZXing-2.0.zip&can=2&q=)

Add the zxing.dll file as a reference to your project.

        using System.Drawing;
        Bitmap bmp = QRCode("The Message To Encode");

        public Bitmap QRCode(string codeMessage)
        {
            com.google.zxing.qrcode.QRCodeWriter writer = new com.google.zxing.qrcode.QRCodeWriter();

Comprehension

Attempting to explain to users that software and data are different. Failed again. No one reads, no one listens. Talking to people is an exercise in futility. The average persons English comprehension skills are subpar.

Optimizations

I recently spent some time optimizing some 8 year old .NET code. The program would convert files, do some cleanup of data, and insert the data into a sql 2005 database. The problem was that it could take anywhere from 10 to 20 hours. It also would randomly crash and someone would need to babysit the process.

A lot of people would probably jump in at this point and start coding. I first decided to take a look at how the process was running. The program would load the data from a shared network drive as needed and then insert into a database that was also on another networked computer.

Success at Painting Basement

Nearly two years after starting I have finally succeeded at painting the basement. Next time I will use a darker color as the yellow I used needed way to many layers of paint.

xwt

I have been playing around some with xwt (https://github.com/mono/xwt). I am looking forward to it reaching a release status.

Xwt is a cross platform (Window, Linux, Mac) toolkit for c#. Write your application once and it is native on all platforms. Nice.

On windows it uses wpf, linux gtk, and mac cocoa.

Good news everyone

I am sick. That is all.

Pages

Subscribe to majorsilence RSS