Re: Azure Pricing

2016-07-26 Thread Grant Molloy
Hi Greg,

I did these calcs before seeing the calculator, and it pretty much
confirmed my calcs for storage.

As a complete Azure newb, I'm assuming I have the following options..

1. Virtual machine where I'd install company licensed versions of SQL, run
IIS, and maybe some disk storage for files and SQL backups, etc

Or

2. Web app service, SQL, storage for files etc.

Is this correct?

On Jul 27, 2016 7:40 AM, "Greg Keogh" <gfke...@gmail.com> wrote:

> Hi Grant, you might be one of the few people in history with the will
> power to attempt to use the calculator, I balked. My usage is small in
> comparison, about 60MB of Table rows and 3GB of Blobs, all with trivial IO
> counts. My recent account summaries show a cost of about $0.25/month for
> this data, so I'm guessing your low figures are in the right order of
> magnitude.
>
> I also have a Basic Small App running my personal web site, which also has
> trivial hit rates and it costs $55/month. I recently deleted a tiny SQL
> database which had zero IO and was costing about $30/month. I restate my
> alarm over these costs, especially the Apps, which can add-up to
> frightening annual amounts which might dissuade small business from
> chucking out their own boxes and migrating to the cloud.
>
> *Greg*
>
> On 26 July 2016 at 15:45, Grant Molloy <graken...@gmail.com> wrote:
>
>> Hi list..
>>
>> Azure has always baffled me a bit with their pricing..  I'm looking into
>> something for my employer and looking at the costs here,
>> https://azure.microsoft.com/en-us/pricing/details/storage/ and trying to
>> work out the cost of storing files starting from scratch..
>>
>> So with this following scenario, can anyone confirm my pricing examples?
>> So lets say I have 0 files in Azure to start with.
>> If each month 5,000 5mb files are uploaded (giving approx 25.6GB of files
>> at the end of the month), and each file is written only 1 time, but read 3
>> times.
>>
>>
>> *BLOB storage *prices (from above link)..
>> + Storage - GRS (COOL) - First 100TB/M $0.0382 (is prorata'd)
>> + Access - GRS (COOL) - Put (/10,000) $0.2547
>> - Other (/10,000)   $0.0127
>> - Retrieval (GB) $0.0127
>> -  Write (GB)   $0.0064
>> - GRS (GB)   $0.1528  (geographical redundancy)
>>
>> Example:
>> END OF FIRST MONTH
>> Storage: 25.6/2 x ((0.0382/100)*0.025)  NOTE: have halved data amount to
>> give an average for the month, as you're not paying for the full 25.6GB of
>> storage for the whole month.
>> 12.8 * 0.0955 = $ 0.00012224
>> Access: PUT: 0.2547/10k * 5k = $ 0.12735
>> READ: 25.6GB * 3 * 0.0127 = $ 0.97536
>> GRS:  25.6GB * 0.1528 = $ 3.91168
>> *$$  5.01451224*
>>
>> END OF 2nd MONTH
>> Storage: (25.6GB + 25.6/2) x ((0.0382/100)*(0.025+0.025/2))
>> 38.4GB x (0.000382 * 0.0375)
>> 38.4GB x 0.14325 = $ 0.00055008
>> Access: PUT: 0.2547/10k * 5k = $ 0.12735
>> READ: 25.6GB * 3 * 0.0127 = $ 0.97536
>> GRS:  25.6GB * 0.1528 = $ 3.91168
>> *$$  5.01494008*
>>
>>
>> *FILE storage* (prices from above link too)
>> File Storage
>> + Storage - GRS Per GB $0.1401
>> + Access - GRS - Put (/10k) $0.3821
>> - List (/10k) $0.1911
>> - Other (/10k) $0.0191
>> Example.
>> END OF FIRST MONTH
>> Storage: 25.6GB/2 x 0.1401 = $  1.79
>> Put: (0.3821 / 10k * 5k) = $  0.19
>> Read: (0.0191 / 10k * 5k) x 3 = $  0.03
>>  *$$  2.01*
>> END OF 2nd MONTH
>> Storage: (25.6 + 25.6/2)GB x 0.1401 = $ 5.38
>> Put: (0.3821 / 10k * 5k) = $  0.19
>> Read: (0.0191 / 10k * 5k) x 3 = $  0.03
>> * $$  5.60*
>>
>> Do these calculations look correct ??
>>
>
>


Azure Pricing

2016-07-25 Thread Grant Molloy
Hi list..

Azure has always baffled me a bit with their pricing..  I'm looking into
something for my employer and looking at the costs here,
https://azure.microsoft.com/en-us/pricing/details/storage/ and trying to
work out the cost of storing files starting from scratch..

So with this following scenario, can anyone confirm my pricing examples?
So lets say I have 0 files in Azure to start with.
If each month 5,000 5mb files are uploaded (giving approx 25.6GB of files
at the end of the month), and each file is written only 1 time, but read 3
times.


*BLOB storage *prices (from above link)..
+ Storage - GRS (COOL) - First 100TB/M $0.0382 (is prorata'd)
+ Access - GRS (COOL) - Put (/10,000) $0.2547
- Other (/10,000)   $0.0127
- Retrieval (GB) $0.0127
-  Write (GB)   $0.0064
- GRS (GB)   $0.1528  (geographical redundancy)

Example:
END OF FIRST MONTH
Storage: 25.6/2 x ((0.0382/100)*0.025)  NOTE: have halved data amount to
give an average for the month, as you're not paying for the full 25.6GB of
storage for the whole month.
12.8 * 0.0955 = $ 0.00012224
Access: PUT: 0.2547/10k * 5k = $ 0.12735
READ: 25.6GB * 3 * 0.0127 = $ 0.97536
GRS:  25.6GB * 0.1528 = $ 3.91168
*$$  5.01451224*

END OF 2nd MONTH
Storage: (25.6GB + 25.6/2) x ((0.0382/100)*(0.025+0.025/2))
38.4GB x (0.000382 * 0.0375)
38.4GB x 0.14325 = $ 0.00055008
Access: PUT: 0.2547/10k * 5k = $ 0.12735
READ: 25.6GB * 3 * 0.0127 = $ 0.97536
GRS:  25.6GB * 0.1528 = $ 3.91168
*$$  5.01494008*


*FILE storage* (prices from above link too)
File Storage
+ Storage - GRS Per GB $0.1401
+ Access - GRS - Put (/10k) $0.3821
- List (/10k) $0.1911
- Other (/10k) $0.0191
Example.
END OF FIRST MONTH
Storage: 25.6GB/2 x 0.1401 = $  1.79
Put: (0.3821 / 10k * 5k) = $  0.19
Read: (0.0191 / 10k * 5k) x 3 = $  0.03
 *$$  2.01*
END OF 2nd MONTH
Storage: (25.6 + 25.6/2)GB x 0.1401 = $ 5.38
Put: (0.3821 / 10k * 5k) = $  0.19
Read: (0.0191 / 10k * 5k) x 3 = $  0.03
* $$  5.60*

Do these calculations look correct ??


RE: [OT] New PC no video

2016-01-24 Thread Grant Molloy
That's what I was thinking.
Could be a return or similar.

Was the box all sealed when you got it?

I've had an issue with a mobo before where I couldn't boot it. It turned
out the bios version wasn't compatible with my ram, but  elevated version
was.

Grant
On Jan 24, 2016 3:24 PM, "Ken Schaefer"  wrote:

> Could it be that someone’s already had a play with the board? Seems like
> an odd configuration, and if it were normal, I’d guess that it’d be the
> #1-10 hits on Google as every man and his dog would be running into the
> same problem.
>
>
>
> Also, just a thought, if the board supports Intel vPro, then the AMT
> feature would allow someone to reconfigure the BIOS over the LAN, thus
> getting around the Catch 22 situation you describe.
>
>
>
> *From:* ozdotnet-boun...@ozdotnet.com [mailto:
> ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Greg Keogh
> *Sent:* Saturday, 23 January 2016 6:04 PM
> *To:* ozDotNet 
> *Subject:* Re: [OT] New PC no video
>
>
>
> My friend just rang to say he got the new box working, but in a way the
> confused and worried him. He also could get no video out of the
> motherboard, so in desperation he stuck a video card in, and it worked.
> Then in the BIOS screen he set it to use "onboard video" (which normally
> has to be the default), after which it works without the video card. So how
> stupid is that?! A perfect Catch-22 .. you can't configure the video to
> work until you get the video working. Sheesh! I'wondering if the ASRock
> board come out of the factory with the wrong settings -- *GK*
>
>
>
> On 23 January 2016 at 17:43, Ian Thomas  wrote:
>
> We couldn't even get the BIOS screen to show -- *GK*
>
> That’s tell-tale for RAM not seated, and/or CPU. I’m not sure with these
> new MBs whether there is a connection to a speaker but it was used as a
> useful fault detection by a pattern of “beeps”. Your MB’s guide may show a
> pattern of LEDs for fault diagnosis (green/red lights on the board).
>
>
>
> Ian Thomas
>
> Albert Park, Victoria 3206 Australia
>
>
>
>
>


Re: .Net Micro Framework

2015-11-08 Thread Grant Molloy
Hi Piers,

You wouldn't happen to have the talk content available online or anything
like that would you.
I'd like to have a read if possible.

Grant

On Sun, Nov 8, 2015 at 4:49 PM, <piers.willi...@gmail.com> wrote:

> Coincidentally I just did a talk at Perth.Net about my RPi controlled
> Christmas lights, though mostly I’m driving 5V RGB addressable ones, not
> just slaving normal Bunnings lights.
>
>
>
> For these I’d definitely recommend just using a relay on the low voltage
> side, and leave the 240v bits well alone. It’s *possible* to get 240v
> control kits, but ones that are actually compliant are rare (I think there
> was a thread about this years ago, but the normal problem is not the
> electrics, but the physical safety, like cable clamps to stop the 240 side
> pulling out exposing live etc...). You can just get little 12V relays like
> that in Jaycar / Altronics etc... (either DC or AC depending on your
> lights).
>
>
>
> I’ve not done the sync to music thing, but as I understand it you
> typically use dedicated sequencer software to set it all up, normally using
> DMX kit mind. There used to be a really good forum where they discussed all
> this stuff, but seems to have gone astray. Oz Christmas Lights or something
> (but that site seems to be something else now)
>
>
>
>
> *From: *Grant Molloy
> *Sent: *Wednesday, 4 November 2015 12:55 PM
> *To: *ozDotNet
> *Subject: *Re: .Net Micro Framework
>
>
>
>
>
> Hi Mike,
>
>
>
> I'm talking about using the led string lights from Bunnings and the like
> which have the 240-12v power pack converters..
>
> What I've seen is a micro controller flicking relays which turn the 240v
> power on/off for the strings of lights.
>
>
>
> I guess you could leave the power on, and cut into the 12v line, and make
> a switch there!
>
>
>
> Grant
>
>
>
> On Wed, Nov 4, 2015 at 2:39 PM, mike smith <meski...@gmail.com> wrote:
>
> Individually addressable?  Otherwise, the stuff jaycar, dicksmith sell
> should do.  If you keep it to LEDs it gets a lot easier and safer.  TBH,
> the mucking around with incandescent 240 isn't worth it.
>
>
>
> On Wed, Nov 4, 2015 at 12:59 PM, Grant Molloy <graken...@gmail.com> wrote:
>
> Hi all,
>
>
>
> Just wondering if anyone's played around with syncing christmas lights to
> music using the .Net micro framework and an Arduino, Fez Panda, raspberry
> pie,etc or even a laptop?
>
>
>
> I've found some things online but nothing with a real good tutorial with
> schematics for the micocontroller to 240v wiring etc..
>
>
>
> thanks
>
> Grant
>
>
>
>
>
> --
>
> Meski
>
>  http://courteous.ly/aAOZcv
>
>
> "Going to Starbucks for coffee is like going to prison for sex. Sure,
> you'll get it, but it's going to be rough" - Adam Hills
>
>
>
>
>
>
>


.Net Micro Framework

2015-11-03 Thread Grant Molloy
Hi all,

Just wondering if anyone's played around with syncing christmas lights to
music using the .Net micro framework and an Arduino, Fez Panda, raspberry
pie,etc or even a laptop?

I've found some things online but nothing with a real good tutorial with
schematics for the micocontroller to 240v wiring etc..

thanks
Grant


Re: .Net Micro Framework

2015-11-03 Thread Grant Molloy
Hi Mike,

I'm talking about using the led string lights from Bunnings and the like
which have the 240-12v power pack converters..
What I've seen is a micro controller flicking relays which turn the 240v
power on/off for the strings of lights.

I guess you could leave the power on, and cut into the 12v line, and make a
switch there!

Grant

On Wed, Nov 4, 2015 at 2:39 PM, mike smith <meski...@gmail.com> wrote:

> Individually addressable?  Otherwise, the stuff jaycar, dicksmith sell
> should do.  If you keep it to LEDs it gets a lot easier and safer.  TBH,
> the mucking around with incandescent 240 isn't worth it.
>
> On Wed, Nov 4, 2015 at 12:59 PM, Grant Molloy <graken...@gmail.com> wrote:
>
>> Hi all,
>>
>> Just wondering if anyone's played around with syncing christmas lights to
>> music using the .Net micro framework and an Arduino, Fez Panda, raspberry
>> pie,etc or even a laptop?
>>
>> I've found some things online but nothing with a real good tutorial with
>> schematics for the micocontroller to 240v wiring etc..
>>
>> thanks
>> Grant
>>
>
>
>
> --
> Meski
>
>  http://courteous.ly/aAOZcv
>
> "Going to Starbucks for coffee is like going to prison for sex. Sure,
> you'll get it, but it's going to be rough" - Adam Hills
>


IOS App

2015-10-29 Thread Grant Molloy
Hi all,

I've been tasked with submitting updates for an IOS app that the company I
work for has built.
The person who was doing this has recently departed and has left some
notes, but not massive amounts. So this is a call out to the Apple IOS
guru's out there for some assistance, as I'm not an Apple person!

App is Xamarin based, with IOS and Droid UI's. Both utilise a Portable Code
Library(PCL).  We're developing in VS2015 on Win10, and have a MacMini for
IOS build and deploy machine (Xamarin Studio v5.9.7 b9), XCode v7.0.1).

I've received the following rejection from Apple..

>From Apple


>- 2.2 - Apps that exhibit bugs will be rejected
>
> 2.2 Details

Thank you for your resubmission. During review, your app still failed to
> launch on iPad running iOS 9.1 and iPhone running iOS 9.1 on both Wi-Fi and
> cellular networks. Specifically, when we selected the application on the
> Home screen, the app displayed a launch image then quit unexpectedly. This
> may be because iOS 9 uses a watchdog timer for applications; if an
> application takes too long to complete its initial startup, the operating
> system terminates the application.

Next Steps

Please run your app on a device to identify the launch issue(s), then
> revise and resubmit your app for review.

For new apps, uninstall all previous versions of your app from a device,
> then install and follow the steps to reproduce the issue(s). For updates,
> install the new version as an update to the previous version, then follow
> the steps to reproduce the issue(s).

Resources

For information about the watchdog timer, please see Technical Q:
> Application does not crash when launched from debugger but crashes when
> launched by user.
> 
> .

If you have difficulty reproducing a reported issue, please try testing the
> workflow described in Technical Q QA1764: How to reproduce bugs
> reported against App Store submissions
> 
> .

If you have code-level questions after utilizing the above resources, you
> may wish to consult with Apple Developer Technical Support
> .
> When the DTS engineer follows up with you, please be ready to provide:

- complete details of your rejection issue(s)

- screenshots

- steps to reproduce the issue(s)

- symbolicated crash logs
> 
>  -
> if your issue results in a crash log


I've been unable to reproduce the bug they mention on an IPad Air v1, and
Apple doesn't provide any crash reports or logs.

So I'm at a bit of a loss as to where to concentrate my efforts.
>From what I can deduce, the errors mey be occurring within the Main or
FinishedLaunching methods.
{ App Starts -> Application.Main() -> AppDelegate.FinishedLaunching()}
However, my last submission to the AppStore had these methods utilising
Try..Catch blocks which showed an alert with a specific error code which we
would be able to track down upon notification of failure.  We didn't
receive any information stating that an error code was displayed (as can be
seen from above response).

Do any of the IOS guru's on here have any suggestions?

thanks
Grant


Re: IOS App

2015-10-29 Thread Grant Molloy
We have tested the apps on devices while debugging with VS and using Test
Flight.
Everything worked fine, and seemed to start pretty quickly. The loading
image was only visible for a few seconds before the first view was visible.

There were some database update and Service resolution processes happening
in the Main method, but that's now been moved to the
AppDelegate.FinishedLaunching method.

Service stack is being used to make network calls, and that was having it's
Startup method called in Main in the latest build rejected by Apple..


On Fri, Oct 30, 2015 at 10:52 AM, Michael Ridland <rid...@gmail.com> wrote:

>
> Are you doing any long running tasks during the finishedlaunching /
> network calls?
>
> Have you tested on a device? In release mode? Have you tested in
> testflight?
>
> It might be the NSAppTransportSecurity if you're accessing a web server.
>
> Add this to your info.plist.
>
> NSAppTransportSecurity
> 
> NSAllowsArbitraryLoads
> 
> NSExceptionDomains
> 
>
>
> Thanks
>
> *Michael Ridland | Technical Director | Xamarin MVP*
>
> XAM Consulting - Mobile Technology Specialists
>
> www.xam-consulting.com
>
> Blog: www.michaelridland.com
>
>
>
> On Fri, Oct 30, 2015 at 11:42 AM, Grant Molloy <graken...@gmail.com>
> wrote:
>
>> Hi all,
>>
>> I've been tasked with submitting updates for an IOS app that the company
>> I work for has built.
>> The person who was doing this has recently departed and has left some
>> notes, but not massive amounts. So this is a call out to the Apple IOS
>> guru's out there for some assistance, as I'm not an Apple person!
>>
>> App is Xamarin based, with IOS and Droid UI's. Both utilise a Portable
>> Code Library(PCL).  We're developing in VS2015 on Win10, and have a MacMini
>> for IOS build and deploy machine (Xamarin Studio v5.9.7 b9), XCode v7.0.1).
>>
>> I've received the following rejection from Apple..
>>
>> From Apple
>>
>>
>>>- 2.2 - Apps that exhibit bugs will be rejected
>>>
>>> 2.2 Details
>>
>> Thank you for your resubmission. During review, your app still failed to
>>> launch on iPad running iOS 9.1 and iPhone running iOS 9.1 on both Wi-Fi and
>>> cellular networks. Specifically, when we selected the application on the
>>> Home screen, the app displayed a launch image then quit unexpectedly. This
>>> may be because iOS 9 uses a watchdog timer for applications; if an
>>> application takes too long to complete its initial startup, the operating
>>> system terminates the application.
>>
>> Next Steps
>>
>> Please run your app on a device to identify the launch issue(s), then
>>> revise and resubmit your app for review.
>>
>> For new apps, uninstall all previous versions of your app from a device,
>>> then install and follow the steps to reproduce the issue(s). For updates,
>>> install the new version as an update to the previous version, then follow
>>> the steps to reproduce the issue(s).
>>
>> Resources
>>
>> For information about the watchdog timer, please see Technical Q:
>>> Application does not crash when launched from debugger but crashes when
>>> launched by user.
>>> <http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg63BmqzW8r4PxK7dKKwRW64k9XR56dJ_lf6gFvvd02?t=http%3A%2F%2Fdeveloper.apple.com%2Flibrary%2Fios%2Fqa%2Fqa2009%2Fqa1592.html=6506175823085568=c5612196-c1cc-4cb3-f645-31484c1cef4e>
>>> .
>>
>> If you have difficulty reproducing a reported issue, please try testing
>>> the workflow described in Technical Q QA1764: How to reproduce bugs
>>> reported against App Store submissions
>>> <http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg63BmqzW8r4PxK7dKKwRW64k9XR56dJ_lf6gFvvd02?t=https%3A%2F%2Fdeveloper.apple.com%2Flibrary%2Fios%2Fqa%2Fqa1764%2F=6506175823085568=c5612196-c1cc-4cb3-f645-31484c1cef4e>
>>> .
>>
>> If you have code-level questions after utilizing the above resources, you
>>> may wish to consult with Apple Developer Technical Support
>>> <http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg63BmqzW8r4PxK7dKKwRW64k9XR56dJ_lf6gFvvd02?t=https%3A%2F%2Fdeveloper.apple.com%2Fsupport%2Ftechnical%2Fsubmit%2F=6506175823085568=c5612196-c1cc-4cb3-f645-31484c1cef4e>.
>>> When the DTS engineer follows up with you, please be ready to provide:
>>
>> - complete details of your rejection issue(s)
>>
>> - screenshots
>>
>> - steps to reproduce the issue(s)
>>
>> - symbolicated crash l

Re: IOS App

2015-10-29 Thread Grant Molloy
Ok. thanks for the tips Michael..
Much appreciated..

Grant

On Fri, Oct 30, 2015 at 11:05 AM, Michael Ridland <rid...@gmail.com> wrote:

>
> So FinishedLaunching shouldn't do any long running tasks, just setup the
> views and do the rest in background.
>
> Also need to test in release modes on devices.
>
> Thanks
>
> *Michael Ridland | Technical Director | Xamarin MVP*
>
> XAM Consulting - Mobile Technology Specialists
>
> www.xam-consulting.com
>
> Blog: www.michaelridland.com
>
>
>
> On Fri, Oct 30, 2015 at 11:58 AM, Grant Molloy <graken...@gmail.com>
> wrote:
>
>> We have tested the apps on devices while debugging with VS and using Test
>> Flight.
>> Everything worked fine, and seemed to start pretty quickly. The loading
>> image was only visible for a few seconds before the first view was visible.
>>
>> There were some database update and Service resolution processes
>> happening in the Main method, but that's now been moved to the
>> AppDelegate.FinishedLaunching method.
>>
>> Service stack is being used to make network calls, and that was having
>> it's Startup method called in Main in the latest build rejected by Apple..
>>
>>
>> On Fri, Oct 30, 2015 at 10:52 AM, Michael Ridland <rid...@gmail.com>
>> wrote:
>>
>>>
>>> Are you doing any long running tasks during the finishedlaunching /
>>> network calls?
>>>
>>> Have you tested on a device? In release mode? Have you tested in
>>> testflight?
>>>
>>> It might be the NSAppTransportSecurity if you're accessing a web server.
>>>
>>> Add this to your info.plist.
>>>
>>> NSAppTransportSecurity
>>> 
>>> NSAllowsArbitraryLoads
>>> 
>>> NSExceptionDomains
>>> 
>>>
>>>
>>> Thanks
>>>
>>> *Michael Ridland | Technical Director | Xamarin MVP*
>>>
>>> XAM Consulting - Mobile Technology Specialists
>>>
>>> www.xam-consulting.com
>>>
>>> Blog: www.michaelridland.com
>>>
>>>
>>>
>>> On Fri, Oct 30, 2015 at 11:42 AM, Grant Molloy <graken...@gmail.com>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I've been tasked with submitting updates for an IOS app that the
>>>> company I work for has built.
>>>> The person who was doing this has recently departed and has left some
>>>> notes, but not massive amounts. So this is a call out to the Apple IOS
>>>> guru's out there for some assistance, as I'm not an Apple person!
>>>>
>>>> App is Xamarin based, with IOS and Droid UI's. Both utilise a Portable
>>>> Code Library(PCL).  We're developing in VS2015 on Win10, and have a MacMini
>>>> for IOS build and deploy machine (Xamarin Studio v5.9.7 b9), XCode v7.0.1).
>>>>
>>>> I've received the following rejection from Apple..
>>>>
>>>> From Apple
>>>>
>>>>
>>>>>- 2.2 - Apps that exhibit bugs will be rejected
>>>>>
>>>>> 2.2 Details
>>>>
>>>> Thank you for your resubmission. During review, your app still failed
>>>>> to launch on iPad running iOS 9.1 and iPhone running iOS 9.1 on both Wi-Fi
>>>>> and cellular networks. Specifically, when we selected the application on
>>>>> the Home screen, the app displayed a launch image then quit unexpectedly.
>>>>> This may be because iOS 9 uses a watchdog timer for applications; if an
>>>>> application takes too long to complete its initial startup, the operating
>>>>> system terminates the application.
>>>>
>>>> Next Steps
>>>>
>>>> Please run your app on a device to identify the launch issue(s), then
>>>>> revise and resubmit your app for review.
>>>>
>>>> For new apps, uninstall all previous versions of your app from a
>>>>> device, then install and follow the steps to reproduce the issue(s). For
>>>>> updates, install the new version as an update to the previous
>>>>> version, then follow the steps to reproduce the issue(s).
>>>>
>>>> Resources
>>>>
>>>> For information about the watchdog timer, please see Technical Q:
>>>>> Application does not crash when launched from debugger but crashes when
>>>>> launched by user.
>>>>> <http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x

Re: [OT] Clients

2015-10-22 Thread Grant Molloy
Although this should be a standard clause in an IT contract, unfortunately
it is not in this one, and we're probably too far down the track to start!

Is pretty annoying as they refuse to use electronic meeting facilities too.

Has anyone successfully implemented charging for meetings partway into a
contract (fixed price)?
On Oct 22, 2015 6:39 PM, "Craig van Nieuwkerk" <crai...@gmail.com> wrote:

> Tell them you charge for meetings on normal hourly rate even if they are
> cancelled.
>
> Craig
>
> On Thu, Oct 22, 2015 at 7:28 PM, Grant Molloy <graken...@gmail.com> wrote:
>
>> Hi list,
>>
>> I'm working on a long running project for a client.
>> They've been reviewing recent mods and have called a meeting. I was
>> provided a date range for said meeting where I was told all 3 reps from
>> client would be available. I've selected a convenient date and time and
>> have responded to their request.
>> Meeting was all booked in and now one of them says they're unavailable
>> for the selected timeslot.
>> I have a feeling I'm being dicked around and am wondering how to respond.
>>
>> Have others had similar issues?
>> How has it been handled?
>>
>
>


[OT] Clients

2015-10-22 Thread Grant Molloy
Hi list,

I'm working on a long running project for a client.
They've been reviewing recent mods and have called a meeting. I was
provided a date range for said meeting where I was told all 3 reps from
client would be available. I've selected a convenient date and time and
have responded to their request.
Meeting was all booked in and now one of them says they're unavailable for
the selected timeslot.
I have a feeling I'm being dicked around and am wondering how to respond.

Have others had similar issues?
How has it been handled?


Re: [OT] Clients

2015-10-22 Thread Grant Molloy
Thanks for comments everyone, all valid and taken on board.
This is my first freelance style engagement, and is a massive learning
curve.

Cheers
Grant
On Oct 23, 2015 10:16 AM, "Stuart Kinnear" <stu...@skproactive.com> wrote:

> There could be any number of reasons for one or more parties not attending
> a meeting. If ample notice is given, there should be no reason that the
> meeting could not be rescheduled.
>
> If the other members can attend and have sufficient authorisation, why not
> proceed without the 3rd member and take minutes and / or recording if
> warranted ?
>
> Should there be a last minute cancellation, you are justified in asking
> for a reimbursement if there are costs involved. However, you have to work
> out a way of clearly communicating that.  If it's a long term relationship,
> you might just have to wear it to keep the peace especially if it's a once
> off.
>
>
> - Stuart
>
>
>
> On 22 October 2015 at 19:28, Grant Molloy <graken...@gmail.com> wrote:
>
>> Hi list,
>>
>> I'm working on a long running project for a client.
>> They've been reviewing recent mods and have called a meeting. I was
>> provided a date range for said meeting where I was told all 3 reps from
>> client would be available. I've selected a convenient date and time and
>> have responded to their request.
>> Meeting was all booked in and now one of them says they're unavailable
>> for the selected timeslot.
>> I have a feeling I'm being dicked around and am wondering how to respond.
>>
>> Have others had similar issues?
>> How has it been handled?
>>
>
>
>
> --
>
> -
> Stuart Kinnear
> Mobile: 040 704 5686.   Office: 03 9589 6502
>
> SK Pro-Active! Pty Ltd
> acn. 81 072 778 262
> PO Box 6082 Cromer, Vic 3193. Australia
>
> Business software developers.
> SQL Server, Visual Basic, C# , Asp.Net, Microsoft Office.
>
> -
>


RE: File upload component

2015-09-08 Thread Grant Molloy
No problem Greg.
On Sep 8, 2015 2:01 PM, "Greg Low (罗格雷格博士)" <g...@greglow.com> wrote:

> Hi Grant,
>
>
>
> I’ve been taking a look at it. It’s quite awesome. Thanks for the hint.
>
>
>
> Regards,
>
>
>
> Greg
>
>
>
> Dr Greg Low
>
>
>
> 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913
> fax
>
> SQL Down Under | Web: www.sqldownunder.com
>
>
>
> *From:* ozdotnet-boun...@ozdotnet.com [mailto:
> ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy
> *Sent:* Monday, 7 September 2015 7:52 AM
> *To:* ozDotNet <ozdotnet@ozdotnet.com>
> *Subject:* Re: File upload component
>
>
>
> There's a JS library called dropzone.
> Allows drag-n-droo, as well as typical click to upload.
>
> On Sep 6, 2015 10:49 PM, "Greg Low (罗格雷格博士)" <g...@greglow.com> wrote:
>
> Hi folks
>
> What's the best file upload component for an MVC5 app?
>
> Regards
>
> Greg
>
> Dr Greg Low
> SQL Down Under
> +61 419201410
> 1300SQLSQL (1300775775)
>
>


Re: What's a million lines of code worth?

2014-04-22 Thread Grant Molloy
Oops.. I forgot to use a mock!
On Apr 23, 2014 1:25 PM, Dave Walker rangitat...@gmail.com wrote:

 Wonder what the acceptance tests on a missile launch system would look
 like.


 On 23 April 2014 10:57, Craig van Nieuwkerk crai...@gmail.com wrote:

 Considering that there are a number of systems it doesn't seem that many.
 Do they include the unit tests? There are unit tests aren't there in the
 missile launch systems!


 On Wed, Apr 23, 2014 at 12:51 PM, Paul Evrat p...@paulevrat.com wrote:

 Hi All,



 Collins Class Submarine – 6 million lines of code.



 Joint Strike Fighter – 19 million lines of code.



 Seems plausible OR Over-bloated software development mismanagement ??



 Not saying one way or the other, just interested in your professional
 gut-feels ?



 Article -

 http://www.abc.net.au/am/content/2014/s3990236.htm



 Paul E ..














Re: [OT] SDK versions

2013-12-22 Thread Grant Molloy
Hey Greg,

I think those folders contain the bootstrap packages for the assembly
dependencies for different dot net versions, which I believe VS installs by
default.
Grant
 On Dec 22, 2013 7:16 PM, Greg Keogh g...@mira.net wrote:

 I was wondering if I needed to install one of the Windows SDKs after my
 big reinstall. Last year I had to put SDK 7.1 x64 in for some reason I
 can't remember about some utilities. I just noticed I now have these
 folders after a vanilla install of development products:

 *C:\Program Files (x86)\Microsoft SDKs\Windows*
 v7.0A (14MB)
 v7.1A (166MB)
 v8.0 (5MB)
 v8.0A (14MB)
 v8.1 (25MB)
 v8.1A (20MB)
 *C:\Program Files (x86)\Windows Kits*
 8.0 (266MB)
 8.1 (508MB)

 This is quite confusing. Which files in which kit are being used by who?
 Perhaps I shouldn't even worry about it.

 Greg K



Re: [OT] Facebook advertising

2013-11-30 Thread Grant Molloy
They pay money for reported bugs dont they??
On Dec 1, 2013 10:25 AM, David Connors da...@connors.com wrote:

 Facebooks advertising seems mostly to work via the referrer from the site
 you came in from or the like/fb comments embeds.

 As a result, it kept serving me up ads for my own car I was selling on
 carsales.com.au.
 On 1 Dec 2013 09:06, Greg Keogh g...@mira.net wrote:

 Hmmm! I just went into Facebook for the first time in a couple of weeks
 and I happened to notice an Ad at the top right for a DNS service. Now
 isn't that suspicious, as I just happened to mention this topic in the
 group last week and I've sent a few emails on the subject. Where did it get
 the data to make the association, from my Gmail, from forum posts, or
 where? I don't know why more people are scared out of their pants by things
 like this -- Greg K




Re: Runtime log4net configuration

2013-11-17 Thread Grant Molloy
If you want more detailed discussion you should include whether you are
using fttn, fttn, fttb, etc etc..

;-)
Grant
On Nov 17, 2013 3:18 PM, Greg Keogh g...@mira.net wrote:

 Why would you need to change the logfile?


 In any non-trivial app with logging I sent log files (and other files)
 here:

 %LOCALAPPDATA%\Company\Product\Ver

 I don't know a way of encoding this path directly into a log4net
 configuration, it needs a bit of early startup code to set it. Although I
 recently discovered in the easily missed fine print that you can put
 ${LOCALAPPDATA} in the config file.

 Greg



Re: [OT] VMware Player multiple monitors (addendum)

2013-11-04 Thread Grant Molloy
Greg,

I think you need VMWare Ace edition to get multi monitor support within the
VM.
That's from a few years ago however. I haven't checked current capabilities
recently.

Grant
On Nov 5, 2013 12:41 PM, Greg Keogh g...@mira.net wrote:

 I forgot to mention why I'm attempting to get VMware player to go
 full-screen on multiple monitors...

 When I build a brand new main work machine next Xmas holidays I am
 considering using Windows 7 in a VM as my primary OS. I would leave the
 host OS barely touched. However, this plan is totally dependent upon
 multi-monitor full-screen operation. If it's not possible with Player then
 I will have to find an alternative, or perhaps there are reasons my plan is
 flawed and I should stick to the native OS as my real one. Are others doing
 as I planned, how?
 Greg K




Re: [OT] Nokia sells smartphone business to Microsoft

2013-09-03 Thread Grant Molloy
Some Fed govt departments give dumb company phones..
On Sep 4, 2013 10:45 AM, mike smith meski...@gmail.com wrote:

 On Tue, Sep 3, 2013 at 6:23 PM, osjasonrobe...@gmail.com wrote:

 It’s pretty amazing that 32,000 people will transfer from Nokia to
 Microsoft... Could be a great cross-pollination of ideas, marketing skills,
 etc.

 Wonder whether there will just be Microsoft Phone or whether they’ll keep
 (or be allowed to keep) the Lumia brand?



 Without phones, what does Nokia have?  (don't twit me about phones vs
 smartphones, noone buys dumbphones anymore.)

 --
 Meski

http://courteous.ly/aAOZcv

 Going to Starbucks for coffee is like going to prison for sex. Sure,
 you'll get it, but it's going to be rough - Adam Hills



Deploy sql db with App

2013-07-19 Thread Grant Molloy
Hi all,

I have a winforms app which will be installed on a laptop.  The app talks
to a local sql database which will need installing, and maybe even install
sql server too.

I haven't got to the packaging stage yet but was just wondering what others
use to package, deploy, and attach a db during msi install.

Thanks
Grant


Re: WPF Themes

2013-06-01 Thread Grant Molloy
Hi Greg,

From memory there were some on complex. I can't remember thair specific
names, but i thought they were ok when i last looked at them.
I'll review my Google bookmarks and see what i can find..

Grant
On Jun 2, 2013 9:45 AM, Greg Keogh g...@mira.net wrote:

 Folks, I've been looking for some free WPF themes and so far all I can
 find are the 7 in the WPF Toolkit (BureauBlack, ShinkyRed, etc). They seem
 to have some weird defects and there are lots of blog comments about that.
 The Windows supplied themes are rather underwhelming in their variety.

 Is anyone here using some satisfactory WPF themes that I can get a copy of
 and try them out?

 Also, is there a more elegant way to change themes at runtime besides
 clearing the App Resources.MergedDictionaries and adding the theme to it?

 Cheers,
 Greg K



Re: WPF Themes

2013-06-01 Thread Grant Molloy
Hi Greg,

http://wpfthemes.codeplex.com/ is what I was thinking of..
It appears that they may already be the ones your using..

Grant


On Sun, Jun 2, 2013 at 10:15 AM, Grant Molloy graken...@gmail.com wrote:

 Hi Greg,

 From memory there were some on complex. I can't remember thair specific
 names, but i thought they were ok when i last looked at them.
 I'll review my Google bookmarks and see what i can find..

 Grant
 On Jun 2, 2013 9:45 AM, Greg Keogh g...@mira.net wrote:

 Folks, I've been looking for some free WPF themes and so far all I can
 find are the 7 in the WPF Toolkit (BureauBlack, ShinkyRed, etc). They seem
 to have some weird defects and there are lots of blog comments about that.
 The Windows supplied themes are rather underwhelming in their variety.

 Is anyone here using some satisfactory WPF themes that I can get a copy
 of and try them out?

 Also, is there a more elegant way to change themes at runtime besides
 clearing the App Resources.MergedDictionaries and adding the theme to it?

 Cheers,
 Greg K




Re: WPF Themes

2013-06-01 Thread Grant Molloy
Hi Greg,

I knew there were some I was missing.
Just looked in my source repository. Re-uxables and nukeation were what I
was thinking of. There are some reuxable themes in WPF toolkit on codeplex,
and nukeation ones are available here.
http://www.nukeation.com/free.aspx

Also some discussion on stack overflow.
http://stackoverflow.com/questions/260098/any-free-wpf-themes

Grant
On Jun 2, 2013 10:33 AM, Greg Keogh g...@mira.net wrote:

 http://wpfthemes.codeplex.com/ is what I was thinking of..

 It appears that they may already be the ones your using..

 Yes, these are the ones that are flawed with strange effects like white
 text on a pale orange background and GroupBox looking weird.

 Greg



Re: Cloud TFS

2013-04-05 Thread Grant Molloy
Greg,
In VS goto tools - options - source control. Set this to tfs.
Close dialog.

In menu - View - Team Explorer..  this is what you will need to connect to
your TFS instance in cloud.

In menu - View - other windows (I think) - Source Code Explorer.. this
will give you a view of your repository of the connected tfs.

HTH..

Grant
On Apr 5, 2013 6:36 PM, Greg Keogh g...@mira.net wrote:

 Folks, while stuffing around today I noticed that VS2012 has an option to
 create a TFS account, so I made https://*mybusiness*.visualstudio.comaccount, 
 then I created a new Team Project for my current hobby project.

 My only questions are now ... what have I done and what can I do with it?

 For comparison, a few months ago I created a Bitbucket account and I've
 been using the TortoiseHG Workbench client app to move stuff in and out.
 It's working quite well and I like having my projects in the cloud,
 just like my backups and email (ignoring security issues for now!). So I
 suppose I've created an account that is in direct competition with
 Bitbucket, is that right? If I have, what's the advantage? I get the
 impression that Visual Studio's version control can work directly with my
 new account, is that right? It would be nice to have the version control
 integrated into the VS IDE if that's what I can get. Then I worry that I
 have the wrong version of Visual Studio or there are dependencies on other
 TFS stuff I have to install.

 Anyway, I'd really appreciate it if someone is using projects in the
 cloud and can give me a potted summary of what advantage I can gain
 quickly and what I might need to install.

 Cheers,
 Greg K



Re: nTier ASP.NET MVC Application Architecture

2013-03-20 Thread Grant Molloy
Thanks to everyone who's taken the time to read, consider and reply.
The consensus seems to be MVC4 Web API.  I think i will take that advice
and upgrade to MVC4.
I know www.asp.net is a good starting point but does anyone have some super
must use web resource for MVC4 (to save hours on Google)?

Has anyone had any experience in scaling up and out using MVC4 ?  Anything
special need doing, or considered early? How easy was it? How is it
performing?

Thanks again
Grant
On Mar 20, 2013 10:22 PM, Craig van Nieuwkerk crai...@gmail.com wrote:

 I agree. I see WCF middle tier is used so often for no good reason. I
 would just create an MVC Web API controllers for the mobile app (and future
 other clients) and have logical tiers, not physical, for business logic.

 On Wed, Mar 20, 2013 at 7:27 PM, stacy.andr...@iinet.net.au wrote:

 My 2 Cents...

 This seems over-engineered.

 If I were designing this... I would create new WCF services/ web api
 controllers for the mobile clients and remove the WCF middle tier.

 Stacy Andrews
 (first time poster, long time reader ;))


 - Original Message -
 From:
 ozDotNet ozdotnet@ozdotnet.com

 To:
 ozDotNet ozdotnet@ozdotnet.com
 Cc:

 Sent:
 Wed, 20 Mar 2013 12:27:45 +1000
 Subject:
 Re: nTier ASP.NET MVC Application Architecture



 Thanks for comments and advice Nathan.

  Your idea of DAL between WCF Service and MVC Controllers is a good one,
 and it does mimic how i have this set up currently (not explained properly
 previously - sorry).. I have my wcf services accessible only from within my
 SessionRepository objects. So the controller interacts only with the SR's
 and the SR talks to the WCF services.
 Comments on abolishing wcf layer seem sound, I was looking into the dual
 interfaces to the business layer (1 from mobile and 1 from mvc web).  I
 haven't had the opportunity to explore Web API yet, but it looks like that
 opportunity has just presented itself..

 fyi.. ViewModels packaged in same dll as models (for convenience).. not
 used in wcf services or as a DTO..
 I agree with your _never_ sentiments..

 thanks again..
 Grant


  On Wed, Mar 20, 2013 at 11:35 AM, Nathan Schultz milish...@gmail.comwrote:

 The last time I wrote an MVC app which included an iPhone client, the
 architecture looked similar to yours. Although I would _never_ have a
 view model in the WCF project, since a View Model has everything to do
 with presentation, and nothing to do with data access. I always have a
 Mapper in the MVC project that maps all Models to View Models and
 vice-versa.

 I also consider a web-service really to be just another data
 repository, so I add a DAL in between the MVC Controller and WCF
 service. This means a controller is never tied to the web-service, so
 is independent of implementation.

 Now that MVC4 has the Web API available, I'd be tempted to abolish the
 WCF layer so controllers talk directly to the Business Layer.
 I would then just write Web API controllers that would service RESTful
 requests from a mobile client. This has the advantage of not having to
 share a DLL containing your Domain Types and enums.

 Regards,

 Nathan.


 On 20 March 2013 08:11, Grant Molloy graken...@gmail.com wrote:
  Hi All..
 
  Application architecture is an interesting and regularly debated topic
 among
  developers..
  Everyone seems to have their own take on it based either purely on
 theory,
  real world experiences, and as always, a mixture of both.
 
  The application started out as a simple enough hosted ASP.NET MVC
  application where users would visit a website, register, log in, and
 work
  online.. Simple enough..
  Recently there's been a change where the scope has creeped with an
 eye for
  the future, maximise code re-use, etc..  Fair enough.. Great
 concept..
 
  My dilemma now is what's the best architecture for this app now that
 we will
  be (in the future -- when ever that gets here) accessing the system
 from
  mobile devices, and probably not through the default ASP.NET MVC
 interface
  that is currently being developed.
  I've been looking around for a decent online example of an nTier
 ASP.NET MVC
  application architecture, but most of the things I've found are all
  basically single tier where the author accesses the database via DAL
  directly from controllers.
 
  The app has morphed into the following Architecture...
 
  ---  ASP.NET MVC ---
  |  View
  |+ -- MVC Helpers
  ||
  |  Model
  ||
  |  Controller
  |+  -- Constants, Enums  Helpers.. (Separate DLL)
  |+  -- Session Repository  (in MVC Project)
  |+  -- Domain Types (Models  ViewModels) (Separate DLL)
  --- --- --- --- ---
  \/
   |  WCF Service Call...
  /\
  ---  WCF Services SERVER  ---
  |  WCF Services
  ||
  |  Business Layer
  ||
  |  DAL
  |+ -- Domain Types  (Models  ViewModels) (Separate DLL)  [..
 this is
  the same dll as referenced by the Controller above]
  |+ -- Constants

nTier ASP.NET MVC Application Architecture

2013-03-19 Thread Grant Molloy
Hi All..

Application architecture is an interesting and regularly debated
topic among developers..
Everyone seems to have their own take on it based either purely on theory,
real world experiences, and as always, a mixture of both.

The application started out as a simple enough hosted ASP.NET MVC
application where users would visit a website, register, log in, and work
online.. Simple enough..
Recently there's been a change where the scope has creeped with an eye for
the future, maximise code re-use, etc..  Fair enough.. Great concept..

My dilemma now is what's the best architecture for this app now that we
will be (in the future -- when ever that gets here) accessing the system
from mobile devices, and probably not through the default ASP.NET MVC
interface that is currently being developed.
I've been looking around for a decent online example of an nTier
ASP.NETMVC application architecture, but most of the things I've found
are all
basically single tier where the author accesses the database via DAL
directly from controllers.

The app has morphed into the following Architecture...

---  ASP.NET MVC ---
|  View
|+ -- MVC Helpers
||
|  Model
||
|  Controller
|+  -- Constants, Enums  Helpers.. (Separate DLL)
|+  -- Session Repository  (in MVC Project)
|+  -- Domain Types (Models  ViewModels) (Separate DLL)
--- --- --- --- ---
\/
 |  WCF Service Call...
/\
---  WCF Services SERVER  ---
|  WCF Services
||
|  Business Layer
||
|  DAL
|+ -- Domain Types  (Models  ViewModels) (Separate DLL)  [.. this is
the same dll as referenced by the Controller above]
|+ -- Constants, Enums  Helpers.. (Separate DLL)   [.. this is the
same dll as referenced by the Controller above]
--- --- --- --- ---
|
---  DATABASE Server ---
|  Database
--- --- --- --- ---

This architecture seems to be working fine for now and I know that i'm
probably going to have to change my WCF services to use a more RESTful
approach, or implement another more mobile friendly interface, to make it
easier for mobile connection, but that can happen down the track when i'm
ready for that part.
I'm also looking to use SQL CLR Types in the future so that I can be sure
that the data in reference tables (like say PhoneType, PencilType,
CarBrand, etc) mirror that exactly as in the Enums in the code.  I've done
some preliminary investigations into this and it is feasible, but whether
it's worth it is another issue.

How are people designing their ASP.NET MVC app architecture out there in
the wild ??
I would love to hear/see your ideas/architecture..

Grant


Re: nTier ASP.NET MVC Application Architecture

2013-03-19 Thread Grant Molloy
Thanks for comments and advice Nathan..

Your idea of DAL between WCF Service and MVC Controllers is a good one, and
it does mimic how i have this set up currently (not explained properly
previously - sorry).. I have my wcf services accessible only from within my
SessionRepository objects. So the controller interacts only with the SR's
and the SR talks to the WCF services.
Comments on abolishing wcf layer seem sound, I was looking into the dual
interfaces to the business layer (1 from mobile and 1 from mvc web).  I
haven't had the opportunity to explore Web API yet, but it looks like that
opportunity has just presented itself..

fyi.. ViewModels packaged in same dll as models (for convenience).. not
used in wcf services or as a DTO..
I agree with your _never_ sentiments..

thanks again..
Grant


On Wed, Mar 20, 2013 at 11:35 AM, Nathan Schultz milish...@gmail.comwrote:

 The last time I wrote an MVC app which included an iPhone client, the
 architecture looked similar to yours. Although I would _never_ have a
 view model in the WCF project, since a View Model has everything to do
 with presentation, and nothing to do with data access. I always have a
 Mapper in the MVC project that maps all Models to View Models and
 vice-versa.

 I also consider a web-service really to be just another data
 repository, so I add a DAL in between the MVC Controller and WCF
 service. This means a controller is never tied to the web-service, so
 is independent of implementation.

 Now that MVC4 has the Web API available, I'd be tempted to abolish the
 WCF layer so controllers talk directly to the Business Layer.
 I would then just write Web API controllers that would service RESTful
 requests from a mobile client. This has the advantage of not having to
 share a DLL containing your Domain Types and enums.

 Regards,

 Nathan.


 On 20 March 2013 08:11, Grant Molloy graken...@gmail.com wrote:
  Hi All..
 
  Application architecture is an interesting and regularly debated topic
 among
  developers..
  Everyone seems to have their own take on it based either purely on
 theory,
  real world experiences, and as always, a mixture of both.
 
  The application started out as a simple enough hosted ASP.NET MVC
  application where users would visit a website, register, log in, and work
  online.. Simple enough..
  Recently there's been a change where the scope has creeped with an eye
 for
  the future, maximise code re-use, etc..  Fair enough.. Great concept..
 
  My dilemma now is what's the best architecture for this app now that we
 will
  be (in the future -- when ever that gets here) accessing the system from
  mobile devices, and probably not through the default ASP.NET MVC
 interface
  that is currently being developed.
  I've been looking around for a decent online example of an nTier ASP.NETMVC
  application architecture, but most of the things I've found are all
  basically single tier where the author accesses the database via DAL
  directly from controllers.
 
  The app has morphed into the following Architecture...
 
  ---  ASP.NET MVC ---
  |  View
  |+ -- MVC Helpers
  ||
  |  Model
  ||
  |  Controller
  |+  -- Constants, Enums  Helpers.. (Separate DLL)
  |+  -- Session Repository  (in MVC Project)
  |+  -- Domain Types (Models  ViewModels) (Separate DLL)
  --- --- --- --- ---
  \/
   |  WCF Service Call...
  /\
  ---  WCF Services SERVER  ---
  |  WCF Services
  ||
  |  Business Layer
  ||
  |  DAL
  |+ -- Domain Types  (Models  ViewModels) (Separate DLL)  [.. this
 is
  the same dll as referenced by the Controller above]
  |+ -- Constants, Enums  Helpers.. (Separate DLL)   [.. this is the
  same dll as referenced by the Controller above]
  --- --- --- --- ---
  |
  ---  DATABASE Server ---
  |  Database
  --- --- --- --- ---
 
  This architecture seems to be working fine for now and I know that i'm
  probably going to have to change my WCF services to use a more RESTful
  approach, or implement another more mobile friendly interface, to make it
  easier for mobile connection, but that can happen down the track when i'm
  ready for that part.
  I'm also looking to use SQL CLR Types in the future so that I can be sure
  that the data in reference tables (like say PhoneType, PencilType,
 CarBrand,
  etc) mirror that exactly as in the Enums in the code.  I've done some
  preliminary investigations into this and it is feasible, but whether it's
  worth it is another issue.
 
  How are people designing their ASP.NET MVC app architecture out there
 in the
  wild ??
  I would love to hear/see your ideas/architecture..
 
  Grant



RE: [OT] Home setup

2013-03-13 Thread Grant Molloy
Thanks Ken, and all.
On Mar 14, 2013 8:05 AM, Ken Schaefer k...@adopenstatic.com wrote:

  The absolute “lowest maintenance” solution just involves turning
 everything off. Unfortunately that usually fails other tests (having
 certain functionality available for use).

 ** **

 Without understanding where your time is going, I think it’d be hard to
 guess what remediation measures to take. I don’t think there’s anything
 intrinsically wrong with the setup you have today. But obviously there is a
 need to cut down on the time/effort you’re spending – just need to
 understand what you’re spending time on.

 ** **

 Cheers

 Ken

 ** **

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy
 *Sent:* Wednesday, 13 March 2013 4:22 PM
 *To:* ozDotNet
 *Subject:* RE: [OT] Home setup

 ** **

 There's no 'major's issue, but it feels like there is always something
 that needs to be done with os.
 I do use WU/MU, but in recent times I've had a few failures which have
 cost me lots of time to fix.
 Virus/malware not issue as regular scans and daily update checks.
 PC and server have auto backups setup.
 I have noticed a nice amount of dust on front of cases and CPU heatsinks
 with too much dust, but that's not a biggie...

 Maybe I should have asked for the 'lowest maintenance' solution. 



RE: [OT] Home setup

2013-03-13 Thread Grant Molloy
Ken,

Out of interest how loud is your computer room (based on 7pc's and 3
servers?)
On Mar 14, 2013 8:05 AM, Ken Schaefer k...@adopenstatic.com wrote:

  The absolute “lowest maintenance” solution just involves turning
 everything off. Unfortunately that usually fails other tests (having
 certain functionality available for use).

 ** **

 Without understanding where your time is going, I think it’d be hard to
 guess what remediation measures to take. I don’t think there’s anything
 intrinsically wrong with the setup you have today. But obviously there is a
 need to cut down on the time/effort you’re spending – just need to
 understand what you’re spending time on.

 ** **

 Cheers

 Ken

 ** **

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy
 *Sent:* Wednesday, 13 March 2013 4:22 PM
 *To:* ozDotNet
 *Subject:* RE: [OT] Home setup

 ** **

 There's no 'major's issue, but it feels like there is always something
 that needs to be done with os.
 I do use WU/MU, but in recent times I've had a few failures which have
 cost me lots of time to fix.
 Virus/malware not issue as regular scans and daily update checks.
 PC and server have auto backups setup.
 I have noticed a nice amount of dust on front of cases and CPU heatsinks
 with too much dust, but that's not a biggie...

 Maybe I should have asked for the 'lowest maintenance' solution. 



Re: [OT] Home setup

2013-03-13 Thread Grant Molloy
I can relate to that..
Win7 box has 80mm fans which are a lot louder than the 120mm fans in same
box and server.. still they all add up to noise!
Was looking at full tower cases on pccasegear.com.au yesterday.. plenty now
come with 20cm+ fans at 16dBA. Nice!

Was looking at a sleeve adapter which allows you to fix 120mm fan to 80mm
outlet (a bit like a reducer used with plumbing pipes). Just found one on
www.PCcasegear.com/index.php?main_page=indexcPath=9_72.. cheaper than eBay
too!
On Mar 14, 2013 8:57 AM, mike smith meski...@gmail.com wrote:

 Compared, say, to an airport. :^)


 On Thu, Mar 14, 2013 at 9:44 AM, Grant Molloy graken...@gmail.com wrote:

 Ken,

 Out of interest how loud is your computer room (based on 7pc's and 3
 servers?)
 On Mar 14, 2013 8:05 AM, Ken Schaefer k...@adopenstatic.com wrote:

  The absolute “lowest maintenance” solution just involves turning
 everything off. Unfortunately that usually fails other tests (having
 certain functionality available for use).

 ** **

 Without understanding where your time is going, I think it’d be hard to
 guess what remediation measures to take. I don’t think there’s anything
 intrinsically wrong with the setup you have today. But obviously there is a
 need to cut down on the time/effort you’re spending – just need to
 understand what you’re spending time on.

 ** **

 Cheers

 Ken

 ** **

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy
 *Sent:* Wednesday, 13 March 2013 4:22 PM
 *To:* ozDotNet
 *Subject:* RE: [OT] Home setup

 ** **

 There's no 'major's issue, but it feels like there is always something
 that needs to be done with os.
 I do use WU/MU, but in recent times I've had a few failures which have
 cost me lots of time to fix.
 Virus/malware not issue as regular scans and daily update checks.
 PC and server have auto backups setup.
 I have noticed a nice amount of dust on front of cases and CPU heatsinks
 with too much dust, but that's not a biggie...

 Maybe I should have asked for the 'lowest maintenance' solution. 




 --
 Meski

http://courteous.ly/aAOZcv

 Going to Starbucks for coffee is like going to prison for sex. Sure,
 you'll get it, but it's going to be rough - Adam Hills



Re: [OT] Home setup

2013-03-12 Thread Grant Molloy
This is 1 consideration.
Need to confirm that thin clients can connect to vm's
On Mar 13, 2013 2:07 PM, mike smith meski...@gmail.com wrote:

 Sounds like a case for a virtual machine, with snapshots.


 On Wed, Mar 13, 2013 at 2:51 PM, Grant Molloy graken...@gmail.com wrote:

 All of it..
 Patches, updates, failed updates, PC worked yesterday but not today..
 usual things.
  On Mar 13, 2013 1:48 PM, Ken Schaefer k...@adopenstatic.com wrote:

  What area of maintenance do you want to reduce?

 ** **

 Cheers

 Ken

 ** **

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy
 *Sent:* Wednesday, 13 March 2013 2:04 PM
 *To:* ozDotNet
 *Subject:* [OT] Home setup

 ** **

 Hey all..

 I'm looking at re-jigging my home PC's and network setups in an attempt
 to lower the levels of required maintenance.

 Currently have following
 * Server - Core 2 Quad, 8gb ram, raid 5 array (2tb), + 2 x 2tb hdds,
 server 2008 R2 OS (non domain) with hyper-v vm's.
 * Desktop - Core 2 Duo, 8gb ram, 4 bed's, Win 7, printer, scanner,
 several dev  VM's (vmware), apps, etc..
 * Media PC x 2 - old Dell mini desktops with extra hdd's, xbmc, Skype,
 802.11n wifi cards and with wireless keyboards.
 * plus laptops, tablet, phones...

 I was looking at keeping with 2008 r2 server (just beef it up more), and
 then having thin clients to replace desktop, and new terminal for kids, and
 also replacing media PC's with a 'media device's of one sort or another.
 

 What are you using?
 I would welcome people's experiences in this area and suggestions.




 --
 Meski

http://courteous.ly/aAOZcv

 Going to Starbucks for coffee is like going to prison for sex. Sure,
 you'll get it, but it's going to be rough - Adam Hills



RE: [OT] Home setup

2013-03-12 Thread Grant Molloy
There's no 'major's issue, but it feels like there is always something that
needs to be done with os.
I do use WU/MU, but in recent times I've had a few failures which have cost
me lots of time to fix.
Virus/malware not issue as regular scans and daily update checks.
PC and server have auto backups setup.
I have noticed a nice amount of dust on front of cases and CPU heatsinks
with too much dust, but that's not a biggie...

Maybe I should have asked for the 'lowest maintenance' solution.
On Mar 13, 2013 2:54 PM, Ken Schaefer k...@adopenstatic.com wrote:

  WHS 2011 is still available. I was lucky to get a HP EX495 when they
 were still being sold, but you can certainly buy a HP N40L Microsoft + WHS
 2011 today if you look on StaticIce

 ** **

 If you’re getting malware and viruses, I’d have to ask “why?” and “how?”
 Most AV products can be set to update once-per-day, and removing admin
 rights should also do away with most of the really bad cruft that’s hard to
 get rid of (since it can only affect user mode), and thus make restore
 points a more valid way of dealing with them. 

 ** **

 Firefox, Flash and Java all have their own auto-update mechanisms if you
 need/want to use that software.

 ** **

 Cheers

 ken

 ** **

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *mike smith
 *Sent:* Wednesday, 13 March 2013 3:30 PM
 *To:* ozDotNet
 *Subject:* Re: [OT] Home setup

 ** **

 Wish Windows Home Server still existed. :(

 ** **

 A VM helps scrape viruses and malware off a virtual install, restore
 points don't begin to fix that issue.

 ** **

 On Wed, Mar 13, 2013 at 3:19 PM, Ken Schaefer k...@adopenstatic.com
 wrote:

  In terms of patching, do you have this handled automatically at the
 moment? Or do you just wish to automate this? You could use WSUS, or MU but
 with patches auto-downloaded and installed (at least to cover the Windows
 bit)

  

 In terms of “PC worked yesterday but doesn’t work today” – are you having
 hardware issues? Or software issues? If the latter, I don’t see how a VM
 will help if people are screwing things up. Look at Restore Points (and
 removing Admin access) instead. Or is there some other kind of issue?

  

 Even though you say “usual things”, that really doesn’t enlighten us much
 per se. FWIW I have 7 PCs and 3 physical servers (+about 8 always on VMs),
 plus a few phones, tablets etc., but I don’t consider I spend much time on
 keeping it running. Most maintenance activities (like backups) are
 automated (e.g. clients backup to Windows Home Server, patching is handled
 by WSUS)

  

 Cheers

 Ken

  

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy
 *Sent:* Wednesday, 13 March 2013 2:52 PM
 *To:* ozDotNet
 *Subject:* RE: [OT] Home setup

  

 All of it..
 Patches, updates, failed updates, PC worked yesterday but not today..
 usual things.

 On Mar 13, 2013 1:48 PM, Ken Schaefer k...@adopenstatic.com wrote:

  What area of maintenance do you want to reduce?

  

 Cheers

 Ken

  

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy
 *Sent:* Wednesday, 13 March 2013 2:04 PM
 *To:* ozDotNet
 *Subject:* [OT] Home setup

  

 Hey all..

 I'm looking at re-jigging my home PC's and network setups in an attempt to
 lower the levels of required maintenance.

 Currently have following
 * Server - Core 2 Quad, 8gb ram, raid 5 array (2tb), + 2 x 2tb hdds,
 server 2008 R2 OS (non domain) with hyper-v vm's.
 * Desktop - Core 2 Duo, 8gb ram, 4 bed's, Win 7, printer, scanner, several
 dev  VM's (vmware), apps, etc..
 * Media PC x 2 - old Dell mini desktops with extra hdd's, xbmc, Skype,
 802.11n wifi cards and with wireless keyboards.
 * plus laptops, tablet, phones...

 I was looking at keeping with 2008 r2 server (just beef it up more), and
 then having thin clients to replace desktop, and new terminal for kids, and
 also replacing media PC's with a 'media device's of one sort or another.**
 **

 What are you using?
 I would welcome people's experiences in this area and suggestions.



 

 ** **

 --
 Meski

  http://courteous.ly/aAOZcv


 Going to Starbucks for coffee is like going to prison for sex. Sure,
 you'll get it, but it's going to be rough - Adam Hills



Re: API to add and remove watermarks on pdfs

2012-11-22 Thread Grant Molloy
I haven't used it but a colleague swears by iTextSharp.
On Nov 23, 2012 6:02 AM, Kirsten Greed kirst...@jobtalk.com.au wrote:

 **
 Hi All
 Can anyone recommend an api to stamp a watermark on a pdf file?
 Thanks
 Kirsten




Re: [OT] Android - Windows communications

2012-11-21 Thread Grant Molloy
Hi Ian,

I don't think that AndSMB is going to be of specific help.. I just
highlighted it as an app that uses the samba protocol to write to network
addresses..
I know that from my Xoom, I can access my pc's file systems using the Samba
protocol. AndSMB is one app I had to use to punch a hole through before I
could use other apps like ES File Explorer to connect to my file systems..

I guess the first thing you need is the path.  Once you have that I guess
it's just like writing to a network drive..
Just looking in ES F.E on the LAN tab, it has an address with the
following style...

SMB://IP ADDRESS/SHARE/Path..

Now that's from Android to Win, maybe you could do that from win to droid
if you know it's ip address..

good luck..

Grant



On Thu, Nov 22, 2012 at 2:44 PM, Ian Thomas il.tho...@iinet.net.au wrote:

 Grant, if I wanted to have my .NET code write a 0-byte file onto the
 Android (eg, with a name that is just a GUID), how could I do that making
 use of AndSMB? 

 I don’t have the device to play with, and the guys with that end are n/a
 this week. I can’t work that out, from the LyseSoft website’s product 
 pagehttp://www.lysesoft.com/products/andsmb/index.html.
 

 ** **
 --

 **Ian Thomas**
 Victoria Park, Western Australia

 ** **

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy

 *Sent:* Tuesday, November 20, 2012 1:00 PM
 *To:* ozDotNet
 *Subject:* Re: [OT] Android - Windows communications

 ** **

 Check out andSMB app..

 On Nov 20, 2012 2:57 PM, Grant Molloy graken...@gmail.com wrote:



Re: [OT] Android - Windows communications

2012-11-19 Thread Grant Molloy
File transfer is with samba..
I can get access to my home PC's via samba client when I'm on home wifi.
On Nov 20, 2012 11:34 AM, Ian Thomas il.tho...@iinet.net.au wrote:

 Does anyone have any hobby / work experience with this, which they can
 share with me? I need to understand what the 2-way file transfer can be
 between Android tablet devices and Windows. (Off-list appreciated)

 My naïve impression is that older Android  devices and OS (3.x) are not so
 good, and that USB and WiFi is not viable, but that most newer devices with
 the various v4 OS are quite capable and the SDK/API is also a lot more
 capable for coding that.

 The “home” project I’m working on has part of its user-facing operation on
 Android tablets (programmed by another using Eclipse with SDK and emulator
 on Windows), and part on Windows (me, one other). Users perform touch-based
 tests (tapping on the surface) on the tablet, and that operation is
 captured on video, the camera and control (and later data collation, etc)
 being on Windows. In order to synchronize data files, without having the
 user enter some unique ID that can be used to relate data, my best solution
 would be for the Windows machine to generate a GUID and simply write that
 to a file on the Android device for consumption by the tablet. 

 From what I’m told, USB connection between Android and PC is not an option
 – at least on Android 3.x (I have forgotten what the problem is – 1-way
 file transfer, API not good, ??).

 From my research, either or both these Android apps (ES File Explorer +
 SwiFTP ) might be useful. I’m leaning towards wireless communication
 directly between the Android and Windows, in code. The idea of a user
 having to muck about with these 2 apps as well as the Windows application
 and the tablet test itself is not attractive,  principally as the primary
 users are people with Parkinson's.  
 --

 **Ian Thomas**
 Victoria Park, Western Australia



Re: [OT] Android - Windows communications

2012-11-19 Thread Grant Molloy
Check out andSMB app..
On Nov 20, 2012 2:57 PM, Grant Molloy graken...@gmail.com wrote:


RE: Help..reference not working..still no resolution..

2012-11-19 Thread Grant Molloy
Common.dll has an indirect dependency on .NET 4 Is common.dll your
code? Is it referring to anything using the .NET Framework 4??
On Nov 20, 2012 4:50 PM, ifum...@gmail.com wrote:

 Projects targeting v3.5...i have checked everwhere..i di accentually
 change  the project to v4 before but i reverted it 

 ** **

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy
 *Sent:* Tuesday, 20 November 2012 5:22 PM
 *To:* ozDotNet
 *Subject:* RE: Help..reference not working..still no resolution..

 ** **

 What version are your projects targeting??
 Right click on project, choose properties.
 Location of the setting varies, so look around for .NET Framework
 4.0/3.5 drop down list.. 

 On Nov 20, 2012 4:10 PM, ifum...@gmail.com wrote:

 Common.dll is set to framework v3.5 but he output panel says i'm trying to
 use v4...see output below...


 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,
 9): warning MSB3258: The primary reference C:\Common.dll could not be
 resolved because it has an indirect dependency on the .NET Framework
 assembly mscorlib, Version=4.0.0.0, Culture=neutral,
 PublicKeyToken=b77a5c561934e089 which has a higher version 4.0.0.0 than
 the version 2.0.0.0 in the current target framework.

 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,
 9): warning MSB3258: The primary reference C:\Common.dll could not be
 resolved because it has an indirect dependency on the .NET Framework
 assembly System.Xml, Version=4.0.0.0, Culture=neutral,
 PublicKeyToken=b77a5c561934e089 which has a higher version 4.0.0.0 than
 the version 2.0.0.0 in the current target framework.

 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,
 9): warning MSB3258: The primary reference C:\Common.dll could not be
 resolved because it has an indirect dependency on the .NET Framework
 assembly System, Version=4.0.0.0, Culture=neutral,
 PublicKeyToken=b77a5c561934e089 which has a higher version 4.0.0.0 than
 the version 2.0.0.0 in the current target framework.

 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,
 9): warning MSB3258: The primary reference C:\Common.dll could not be
 resolved because it has an indirect dependency on the .NET Framework
 assembly System.Data.SqlXml, Version=4.0.0.0, Culture=neutral,
 PublicKeyToken=b77a5c561934e089 which has a higher version 4.0.0.0 than
 the version 2.0.0.0 in the current target framework.

 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,
 9): warning MSB3258: The primary reference C:\Common.dll could not be
 resolved because it has an indirect dependency on the .NET Framework
 assembly System.Configuration, Version=4.0.0.0, Culture=neutral,
 PublicKeyToken=b03f5f7f11d50a3a which has a higher version 4.0.0.0 than
 the version 2.0.0.0 in the current target framework.

 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,
 9): warning MSB3258: The primary reference C:\Common.dll could not be
 resolved because it has an indirect dependency on the .NET Framework
 assembly System.Security, Version=4.0.0.0, Culture=neutral,
 PublicKeyToken=b03f5f7f11d50a3a which has a higher version 4.0.0.0 than
 the version 2.0.0.0 in the current target framework.
 CoreResGen:
   All outputs are up-to-date.
 CoreCompile:
 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Vbc.exe /noconfig

 /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.
 Generic,System.Data,System.Diagnostics,System.Linq,System.Xml.Linq
 /optioncompare:Binary /optionexplicit+ /optionstrict:custom
 /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
 /optioninfer+ /nostdlib /rootnamespace:Sby.Intellilog
 /sdkpath:C:\Windows\Microsoft.NET\Framework\v2.0.50727
 /doc:obj\Debug\Sby.Intellilog.xml

 /define:CONFIG=\Debug\,DEBUG=-1,TRACE=-1,_MyType=\Windows\,PLATFORM=\A
 nyCPU\

 /reference:C:\data\tfs\CSO\sbh\intelliLogData\bin\Debug\intelliLogData.dll,
 C:\data\tfs\CSO\sbh\thirdparty\Catalyst Development\SocketTools .NET

 Edition\Redist\v2.0.50727\SocketTools.MailMessage.dll,C:\Windows\Microsoft.
 NET\Framework\v2.0.50727\System.configuration.dll,C:\Program Files
 (x86)\Reference
 Assemblies\Microsoft\Framework\v3.5\System.Core.dll,C:\Program Files
 (x86)\Reference

 Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.dll,C:\Wi

 ndows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll,C:\data\tfs\CSO\sbh

 \packages\System.Data.SQLite.1.0.82.0\lib\net20\System.Data.SQLite.dll,C:\da

 ta\tfs\CSO\sbh\packages\System.Data.SQLite.1.0.82.0\lib\net20\System.Data.SQ

 Lite.Linq.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll,C:\Wi
 ndows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll,C:\Program Files
 (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll
 /debug+ /debug:full /filealign:512 /out:obj\Debug\Sby.Intellilog.dll

Re: Just seen the prices of Window 8 RT Surface devices....

2012-10-17 Thread Grant Molloy
Mike,
what redirect service do you use??

Grant
On Oct 17, 2012 4:38 PM, mike smith meski...@gmail.com wrote:

 If I buy it via my redirect address, in Florida, its zero state tax.  And
 30USD to ship.  Where it really pays off is software/ebook/music purchases.
  My first purchase more than paid for the setup costs.  IIRC, it was Office
 4 Mac. :^)



 On Wed, Oct 17, 2012 at 5:28 PM, David Kean david.k...@microsoft.comwrote:

  Converting using the current USD/AUD exchange rate, it’s $28 more in
 Australia for the base model. Remember, US is quoted without tax, in my
 state (Washington) there’s around 9% tax.

 ** **

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Ken Schaefer
 *Sent:* Tuesday, October 16, 2012 11:21 PM
 *To:* ozDotNet
 *Subject:* RE: Just seen the prices of Window 8 RT Surface devices***
 *

 ** **

 $60-90 seems reasonable given how small our market is. The US prices
 would vary by the state that you buy it in, as different states levy
 different rates of sales tax (not sure whether you included that in your
 calculation or not)

 ** **

 Cheers

 Ken

 ** **

 *From:* ozdotnet-boun...@ozdotnet.com [
 mailto:ozdotnet-boun...@ozdotnet.com ozdotnet-boun...@ozdotnet.com] *On
 Behalf Of *Damon Pollard
 *Sent:* Wednesday, 17 October 2012 5:16 PM
 *To:* ozDotNet
 *Subject:* Re: Just seen the prices of Window 8 RT Surface devices***
 *

 ** **

 http://www.microsoftstore.com/store/msaus/en_AU/pdp/productID.257917600**
 **

 ** **

 Lovely. $60-90 price bump for the aussie-tax.

 On Wed, Oct 17, 2012 at 2:13 PM, mike smith meski...@gmail.com wrote:**
 **

 ** **

 On Wed, Oct 17, 2012 at 4:50 PM, Preet Sangha preetsan...@gmail.com
 wrote:

 the new stuff is all part of the Surface brand I suppose. 

 ** **

 599 for a coffee table that would get kids dropping plates on is not
 going to happen in this house :-)

 ** **

 18 K for magic coffee table NOPE can't justify it ever I suspect.

 ** **

 http://www.youtube.com/watch?v=6Cf7IL_eZ38feature=plcp

 ** **

 Don't recall if it was here, or you've seen, but it is impressive.

 ** **

  

   ** **

 On 17 October 2012 18:37, mike smith meski...@gmail.com wrote:

 I thought Surface was the big coffee-table sized thing.  Colour me
 disappointed.

 ** **

  ** **

 ** **




 --
 Meski

http://courteous.ly/aAOZcv

 Going to Starbucks for coffee is like going to prison for sex. Sure,
 you'll get it, but it's going to be rough - Adam Hills




Re: Report Builder in VS2012

2012-10-12 Thread Grant Molloy
Have used Telerik Reporting to good effect about 12-18 months ago..
It was a little limiting in fonts and styling because that part is html
based and they apparently didn't want to build a full html render engine.
It has inheritance and you can do queries in code for each different
section of report if you wish. Community forums and their online doco is
very good and useful. Was able to produce a pretty good looking data driven
multi page, multi chart report from absolutely no TR knowledge in a few
weeks (with several iterations by the business!).

I had to modify some Crystal reports after working with Telerik Reporting,
which just left me feeling dirty.
On Oct 12, 2012 5:57 PM, Heinrich Breedt heinrichbre...@gmail.com wrote:

 What do ppl use these days for reports?

 On Fri, Oct 12, 2012 at 5:48 PM, Arjang Assadi arjang.ass...@gmail.comwrote:

 Some (ir)relevant videos about reporting using Win Forms to get started
 (There are also WPF vids as well).

 http://windowsclient.net/learn/video.aspx?v=30532
 http://windowsclient.net/learn/video.aspx?v=142074
 http://windowsclient.net/learn/video.aspx?v=142067

 Not keeping the Crystal is the best path forward, there are also ways of
 making reports using Power Pivot With Excel and using SSRS and SSAS
 directly from Excel, the rest is going to be history.

 Using reporting from Excel users can do their reports in an already
 familiar environment.

 Regards

 Arjang


 On 12 October 2012 15:47, Tony Wright tonyw...@gmail.com wrote:

 Hi all,

 ** **

 I am currently considering rebuilding a report previously created using
 Crystal Reports in VS2010.

 ** **

 I am using VS2012, and as yet, Crystal Reports is not supported (read: I
 did discover a hack workaround but I’m not happy with it)

 ** **

 That’s sort of ok for me as I only have about 2 reports in this app
 anyway, so I am thinking of rebuilding it using the default Report Builder
 in VS2012.

 ** **

 But it looks and behaves differently to what I remembered previously. It
 used to be that I could relate my Crystal knowledge straight to SSRS, but
 it appears that I now have some gaps there and I’m hoping someone can give
 me some tips.

 ** **

 Is it SQL Server Reporting services, or a cut down version?

 ** **

 How can I add a Report Header and Report Footer – I can do that easily
 in Crystal but in Report Builder the option isn’t obvious?

 ** **

 I am somewhat confused about the Column and Row groups. Everything seems
 to be some sort of tabulation, whereas all I want is to have row details
 showing with a summing in the Report footer. Is there something I’m missing
 here?

 ** **

 Regards,

 Tony





 --
 Heinrich Breedt

 “Do not wait to strike till the iron is hot; but make it hot by striking.”
 - William B. Sprague



ASP.Net 1.0 in 3.5 container

2012-06-12 Thread Grant Molloy
Hi all..

So my boss came to me yesterday and asks me to look into and build a
prototype for an ASP.Net 3.5 web app which would need to act as a container
for an ancient ASP.Net 1.0 app..
1.0 app is well and truely past due for life cycling, but org doesn't want
to do big bang tech refresh, as have recently had fingers burnt on another!

The request...
The prefered approach would be to come up with a solution that allows
existing functionality to remain 'as-is' and new functionality to be
developed in .Net 3.5.
Over time existing functionality can be upgraded (from 1.0 to 3.5) as the
need arises.

Can you look at building a simple prototype in 3.5 that acts as a container
to 'Project ABC' web presentation functionality? The focus would be to
identify possible options for integration between 3.5 and 1.0 at a
presentation level..  Some key challenges include
* how to host 1.0 components within a 3.5 container
* how to integrate navigation from UIP (3.5) to 1.0 model
* how to sync data between 3.5 and 1.0 (eg. Session state)
* how to best isolate 1.0 functionality to allow clean separation from a
maintenance perspective, as well as ease to be able to upgrade any piece of
1.0 functionality independently of other functionality. 

As I'm waiting for my environment to be commissioned, I've been fruitlessly
scouring the web. It seems like the web has cleansed itself of most. Net
1.0 info!!

Has anyone out there faced and defeated (or turned and run away screaming
for their mummy) this type of beast?

Can you use. Net 1.0 user controls in 3.5?

Grant


Re: [OT] Windows 7 license keys

2012-05-28 Thread Grant Molloy
Thanks Mike..
Sounds like I need to use hopshopgo.com or bongous.com...

Thanks again..
 On 28/05/2012 8:32 PM, mike smith meski...@gmail.com wrote:

 On Mon, May 28, 2012 at 2:49 PM, Grant Molloy graken...@gmail.com wrote:

 Yeah it's dodgy alright.
 Whois search shows address, but not company name.
 Address: 11400 W. Olympic Blvd. Suite 200
 A quick google of address shows many sites registered to this address.

 Where do people shop for ms licenses?


 www.digitalriver.com

 But you will be paying much more than $28.  If you can, pretend you are
 buying it from USA.  Prices are much better.  (you'll need a USA billing
 address to do this)  And no, I don't feel at all guilty for doing this.


 --
 Meski

http://courteous.ly/aAOZcv

 Going to Starbucks for coffee is like going to prison for sex. Sure,
 you'll get it, but it's going to be rough - Adam Hills




[OT] Windows 7 license keys

2012-05-27 Thread Grant Molloy
Hi all.
Has anyone bought Win 7 license keys from online stores like this?
http://www.windows7keycode.org/windows-7-key-c-1.html

Win 7 Ultimate key only for $28..
Are these legit stores?


Re: [OT] Windows 7 license keys

2012-05-27 Thread Grant Molloy
Yeah it's dodgy alright.
Whois search shows address, but not company name.
Address: 11400 W. Olympic Blvd. Suite 200
A quick google of address shows many sites registered to this address.

Where do people shop for ms licenses?
 On 28/05/2012 2:12 PM, Craig van Nieuwkerk crai...@gmail.com wrote:

 Looks dodgy to me. Can you see any contact details that lead to a real
 address or phone number?

 On Mon, May 28, 2012 at 2:08 PM, Grant Molloy graken...@gmail.com wrote:

 Hi all.
 Has anyone bought Win 7 license keys from online stores like this?
 http://www.windows7keycode.org/windows-7-key-c-1.html

 Win 7 Ultimate key only for $28..
 Are these legit stores?





Re: Java to C#

2012-05-03 Thread Grant Molloy
Will Oracle sue me if I use it??
On 03/05/2012 4:03 PM, Ian Thomas il.tho...@iinet.net.au wrote:

 ** ** **

 http://blog.xamarin.com/2012/05/01/android-in-c-sharp/ 

 ** **

 Although this about porting the entire Android OS to C# running on Mono,
 the interesting part may be the improved Sharpen java to C# converter. Sharpen
 is at github https://github.com/xamarin/XobotOS/tree/master/sharpen. ***
 *

 ** **
  --

 **Ian Thomas**
 Victoria Park, Western Australia

 ** **



RE: Java to C#

2012-05-03 Thread Grant Molloy
So only need to pay licensing fees if you make large sums of money from
using?
 On 03/05/2012 4:13 PM, Ian Thomas il.tho...@iinet.net.au wrote:

 ** ** **

 No, they’re too busy fighting Google. Who has the deeper pockets? 

 ** **
  --

 **Ian Thomas**
 Victoria Park, Western Australia
   --

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy
 *Sent:* Thursday, May 03, 2012 2:05 PM
 *To:* ozDotNet
 *Subject:* Re: Java to C#

 ** **

 Will Oracle sue me if I use it??

 On 03/05/2012 4:03 PM, Ian Thomas il.tho...@iinet.net.au wrote:

 http://blog.xamarin.com/2012/05/01/android-in-c-sharp/ 

  

 Although this about porting the entire Android OS to C# running on Mono,
 the interesting part may be the improved Sharpen java to C# converter. Sharpen
 is at github https://github.com/xamarin/XobotOS/tree/master/sharpen. ***
 *

  
  --

 Ian Thomas
 Victoria Park, Western Australia

  



Re: Java to C#

2012-05-03 Thread Grant Molloy
Yes..
It's just fantastic the way these copyright and patent wars are going!
What are opinions of list members on patenting things like swipe to
unlock or API syntax (Oracle v google looks like its going this way.) ??
 On 03/05/2012 4:19 PM, djones...@gmail.com wrote:

 **
 Or they will sue you if they need to set a precedence in the court and you
 are the weakest link so they can make huge money off of someone else.
 .02c
 Davy
 Hexed into a portable ouija board.
 --
 *From: * Grant Molloy graken...@gmail.com
 *Sender: * ozdotnet-boun...@ozdotnet.com
 *Date: *Thu, 3 May 2012 16:16:42 +1000
 *To: *ozDotNetozdotnet@ozdotnet.com
 *ReplyTo: * ozDotNet ozdotnet@ozdotnet.com
 *Subject: *RE: Java to C#

 So only need to pay licensing fees if you make large sums of money from
 using?
  On 03/05/2012 4:13 PM, Ian Thomas il.tho...@iinet.net.au wrote:

 ** ** **

 No, they’re too busy fighting Google. Who has the deeper pockets? 

 ** **
  --

 **Ian Thomas**
 Victoria Park, Western Australia
   --

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy
 *Sent:* Thursday, May 03, 2012 2:05 PM
 *To:* ozDotNet
 *Subject:* Re: Java to C#

 ** **

 Will Oracle sue me if I use it??

 On 03/05/2012 4:03 PM, Ian Thomas il.tho...@iinet.net.au wrote:

 http://blog.xamarin.com/2012/05/01/android-in-c-sharp/ 

  

 Although this about porting the entire Android OS to C# running on Mono,
 the interesting part may be the improved Sharpen java to C# converter. 
 Sharpen
 is at github https://github.com/xamarin/XobotOS/tree/master/sharpen. **
 **

  
  --

 Ian Thomas
 Victoria Park, Western Australia

  




Re: [OT] Removing private details on Internet

2012-04-23 Thread Grant Molloy
I use them to prop up the kids at the dinner table!

Grant
On 24/04/2012 12:22 PM, David Richards ausdot...@davidsuniverse.com
wrote:

 On Tue, Apr 24, 2012 at 12:10, Greg Keogh g...@mira.net wrote:
 And BTW, how long has whitepages been so easy to lookup and parse?
 
  How can you stop getting those damn phone books?
 

 What else are you going to put your monitors on?

 David

 If we can hit that bullseye, the rest of the dominoes
  will fall like a house of cards... checkmate!
  -Zapp Brannigan, Futurama



Re: x16 PCI-E 2.0 RAID-5 card recommendation

2012-04-10 Thread Grant Molloy
Would it be cheaper to bang up a new box with a mobo with Raid 5
compatibility?
On 11/04/2012 7:59 AM, David Connors da...@codify.com wrote:

 On Wed, Apr 11, 2012 at 7:56 AM, Geoff Appleby geoff.appl...@gmail.comwrote:

 Does anyone out there have *first hand experience* in a third party
 RAID controllers for a whitebox that can push a good clip of IOPS in RAID
 No, but I can support your theory that cheaper is crapper. The only RAID5
 I've used were cheap chards (read: less than 100 dollars) and they all
 failed me completely. I gave up and stopped using them at all (in my case
 buying a *good* RAID5 card was a budgetary no-no).


 That goes without saying. :) We'd be looking at spending ~$1000 for a DAS
 controller.

 --
 *David Connors* | da...@codify.com | www.codify.com
 Codify Pty Ltd
 Phone: +61 (7) 3210 6268 | Facsimile: +61 (7) 3210 6269 | Mobile: +61 417
 189 363
 V-Card: https://www.codify.com/cards/davidconnors
 Address Info: https://www.codify.com/contact




Re: The cost of putting small websites online

2012-04-02 Thread Grant Molloy
David,
Why not start with shared host first? Usually much cheaper than vps!
If your needs expand you can ramp up in future.

Places like mochahost have reasonable costs, plus allow multiple domains,
multiple database types and number for any future expansion. They even
offer free domain names on some plans (check fine print) ..
http://www.mochahost.com/webhosting_windows.php

Grant
 On 02/04/2012 5:43 PM, David Burela david.bur...@gmail.com wrote:


Re: The way NuGet works

2012-01-25 Thread Grant Molloy
I believe you can also make nuget packages for your own libraries that you
include in your projects, which means that your library is only in source
control once, as the project itself.
You may need a corporate nuget server for this, I'm not 100% sure..
On 26/01/2012 9:46 AM, David Burela david.bur...@gmail.com wrote:

 I don't understand how it makes anything trickier.
 Deployment is easy, all the assemblies are set as copy local = true.
 having 3mb of files isn't a problem with source control, but there are
 strategies around how you can make it NOT check those files in if you are
 worried.


 On 25 January 2012 17:53, Greg Keogh g...@mira.net wrote:

 People have been talking about NuGet a bit so I thought I’d try it out.**
 **

 ** **

 The very first thing that confused me was the relationship between the
 NuGet packages I install and those that I have already installed by other
 means. For example I get packages for Entity Framework, Nunit and SQL CE,
 but I already have these installed. So I opened a small console app and
 added the NUnit package to see what happens. I see that it adds 3
 references like this sample:

 ** **

 E:\dev\command\myapp\packages\NUnit.2.5.10.11092\lib\nunit.framework.dll*
 ***

 ** **

 Then I see that it has created a packages folder under my solution folder
 containing 55 files in 4 folders with a total size of 3.8MB. Now this seems
 a bit heavy-handed ... it will create duplicated and redundant files in
 projects everywhere, multiple tool versions can be installed, and it will
 make version control and deployment trickier. I’m utterly bewildered by
 what NuGet has done and find it hard to believe that anyone would find this
 acceptable.

 ** **

 Am I missing something?

 ** **

 Greg





Re: Stress testing

2012-01-24 Thread Grant Molloy
I'd start with testing the easiest points first, the actual service and the
components behind it.

Rig up an application to hit these points in a multi threaded fashion.
Eg.
In a loop x long, create a new thread and fire off a call to svc or method.
Repeat y times with z interval.

Grant
On 25/01/2012 4:38 PM, Greg Keogh g...@mira.net wrote:

 Some potential customers have asked if our product has been stress tested.
 The answer is that we’re not telling them until we figure out if it’s
 possible. Web searches produce lots of hits on this subject, but I thought
 it would be wise to ask here first to see if anyone has experience and
 advice.

 ** **

 Our app is actually composed of a Silverlight 4 app in the browser client,
 a C++ COM component at the other, and  a WCF service to allow the two to
 talk to each other via XML. So there are many potential points for
 performance trouble: Loading the SL app, rendering complex graphics in the
 SL app, transmitting XML (it’s zipped), network speed, IIS performance, and
 performance of the C++ component which further talks to the file system and
 contacts a master authentication server using FTP. The author the C++
 component says it was not written with multithreading in mind.

 ** **

 So we have to think of a way of stress testing this conglomeration. I’ll
 continue reading web search results in the meantime.

 ** **

 Greg



RE: [Friday OT] unstoppable force meets an immovable object,

2011-11-20 Thread Grant Molloy
I think putting dev's in vm's is a bit a55 about. I work in them at current
and also in  previous job, and have always been issues, mainly having to
wait for vm.

They gave me a nice big pd with a quad core with 8gb of ram. Then they
installed the corporate image on it. Windows XP 32 bit..  Thanks!  Money
well spent!

Server services commissioned the vm with soe server image, and said there
you go. We'll do support until you install anything on it!. So you crack
it open, install notepad++, and you're not supported.

I've always argued for the soe as a vm, and let me as a developer use the
hardware you've paid for. After all the soe is for email and office
documents! Give me Norton Ghost and some storage and my physical pc setup
will be just as convenient as a backed up vm image.
On 21/11/2011 11:57 AM, Ken Schaefer k...@adopenstatic.com wrote:

 A virtualised environment, or separate physical environment, can be used
 for development purposes. Though I would still hesitate to give developers
 full admin rights on their actual work PC. I.e. you have a regular user
 account for handling email, browsing the web etc., but then you have access
 to separate environment (or set of machines) that you can have admin
 privileges on for doing development work.

 Cheers
 Ken

 -Original Message-
 From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
 On Behalf Of Arjang Assadi
 Sent: Saturday, 19 November 2011 5:36 AM
 To: ozDotNet
 Subject: Re: [Friday OT] unstoppable force meets an immovable object,

 Damn good counter point. I guess the two cannot exist together, maybe
 having a separate physically isolated network  only for developers to get
 the job done and then installing the result on the test machine can keep
 both happy.

 On 19 November 2011 01:06, Ken Schaefer k...@adopenstatic.com wrote:
  On the other hand, you just head over to the sysadmin lists and see the
 admins complaining about how much time is consumed supporting developers
 who get their machines compromised or otherwise borked. Putting
 unauthorised networks into an environment is a huge no-no in my book. Most
 developers do not have the skills or the knowledge to secure a network, let
 alone know what regulatory/audit requirements the business has. Then, if
 there is a compromise and corporate IP is stolen, customer information
 stolen etc. due to ingress via an unauthorized network, who is going to
 take the rap?
 



Re: while (true) using Parallel.ForEach

2011-10-26 Thread Grant Molloy
Hi Tom,
Check out Sacha Barber's TPL posts on code project.

Grant
On 26/10/2011 11:27 PM, Tom Gao t...@tomgao.com wrote:

 Hi All,

 ** **

 Can someone please provide me with an example of how I can replicate a
 while(true){ … } using Parallel.ForEach?

 ** **

 Thank you,

 Tom

 ** **



Re: [OT] Security clearance for work in Canberra

2011-09-26 Thread Grant Molloy
I think it depends on the security clearance you're after..

For anything serious, all I can say is bend over  cough!..
Be prepared to put your last 10 yrs on paper, and a full current financial
picture of your life!  As a start!!
On 26/09/2011 6:56 PM, Preet Sangha preetsan...@gmail.com wrote:
 I hope it's easier than getting uk security clearance. You're not
considered
 for contracts until you have it and you can't get it until you have a job
or
 some company to sponsor you. Meh

 On 26 September 2011 13:32, Tom Rutter therut...@gmail.com wrote:

 Gday,
 Moving to Canberra in a few months and I hear getting a security
clearance
 would help find jobs in the government. Any advice on the process for
this?
 Is it possible to secure a claerance on my own? Costs? How? No luck with
my
 Googling skills yet

 Cheers
 Tom




 --
 regards,
 Preet, Overlooking the Ocean, Auckland


Re: Good looking WinForms apps

2011-08-18 Thread Grant Molloy
You say that the API becomes flaky when the add-ins use multiple threads..
Have you coded the use of extra threading within your WPF component or are
you referring to the default 2 threads of a standard WPF application?
Is it flaky all the time, or under certain circumstances, or certain method
calls / events / etc?


On Thu, Aug 18, 2011 at 4:25 PM, Matt Siebert mlsieb...@gmail.com wrote:

 Our product is an add-in for a native 3rd party CAD application that
 hosts the .NET runtime and loads add-ins like ours into it's process.

 Ultimately this does not work well with WPF's threading model.  The CAD
 application's API becomes very flaky when add-ins use multiple threads.  The
 solution at the time was to pull most of our code and GUI out into another
 process which involved developing a small service layer to ferry data from
 one process to the other.  This also meant that we could use .NET 4 instead
 of being stuck with .NET 3.5 (and it's WPF text clarity issues) since the
 CAD application did not support .NET 4 at the time.

 I'm now concerned about the effort involved in maintaining this service
 layer and expanding it as we develop new products that cover more of the
 host application's API, and the additional logic for handling some of the
 more advanced interaction scenarios across the service boundary.

 If we were to use WinForms instead then we could dramatically simplify the
 code base and future development.


 On Thu, Aug 18, 2011 at 3:18 PM, Jake Ginnivan 
 jake.ginni...@readify.netwrote:

 +1 would be very interested to know what constraints would cause you to
 choose winforms over wpf..

 ** **

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy
 *Sent:* Thursday, 18 August 2011 1:05 PM
 *To:* ozDotNet
 *Subject:* Re: Good looking WinForms apps

 ** **

 I think that you should also explain in more detail the constraints of
 the situation which are causing you extra work and why this has made you
 believe that WPF is not the correct choice.

 ** **

 Grant

 On Thu, Aug 18, 2011 at 2:33 PM, Matt Siebert mlsieb...@gmail.com
 wrote:

 Hi folks,

 ** **

 Can anyone point out some particularly good looking WinForms apps?
  Screenshots will do, a working app I could show someone would be better.
 

 ** **

 This is a bit of a strange request so I should probably explain a
 little...

 ** **

 We've built a product using WPF but we have lots of constraints imposed by
 the environment we're coding for.  This has caused a lot of extra work with
 more to come.  As such, I don't think WPF is the right choice and I'm trying
 to convince my manager that it's worth considering switching to WinForms
 which is much better suited to this environment.  He's not a developer and
 is fairly visually oriented, and he's worried that if we were to use
 WinForms then we may not be able to produce a good GUI / UX.  I've assured
 him that this isn't the case but some good examples would help.

 ** **

 Cheers.

 ** **





Re: Good looking WinForms apps

2011-08-18 Thread Grant Molloy
Hi Matt,

Ok..
So WPF has 2 threads, first for Rendering (which is pretty well hidden), and
the other to update the UI, perform code, etc.
You haven't hooked into the first Rendering thread with any funky code have
you?
How are you interacting with the API?
ie. Just on say the Click event of a button, or SelectedIndexChanged of a
combobox or list, or are you using other events too?

Grant

On Fri, Aug 19, 2011 at 9:25 AM, Matt Siebert mlsieb...@gmail.com wrote:

 No, it was WPF's default 2 thread model.

 I originally noticed the flakiness under certain circumstances.  I tested
 some other non-WPF scenarios where I created an extra thread that didn't in
 any way interact with the host app's API, but this still resulted in the API
 calls on the main thread becoming unreliable (i.e. weird exceptions being
 thrown intermittently, method calls not returning).

 Ultimately, I just couldn't trust it for running a production application.

 On Thu, Aug 18, 2011 at 10:03 PM, Grant Molloy graken...@gmail.comwrote:

 You say that the API becomes flaky when the add-ins use multiple
 threads..
 Have you coded the use of extra threading within your WPF component or are
 you referring to the default 2 threads of a standard WPF application?
 Is it flaky all the time, or under certain circumstances, or certain
 method calls / events / etc?


 On Thu, Aug 18, 2011 at 4:25 PM, Matt Siebert mlsieb...@gmail.comwrote:

 Our product is an add-in for a native 3rd party CAD application that
 hosts the .NET runtime and loads add-ins like ours into it's process.

 Ultimately this does not work well with WPF's threading model.  The CAD
 application's API becomes very flaky when add-ins use multiple threads.  The
 solution at the time was to pull most of our code and GUI out into another
 process which involved developing a small service layer to ferry data from
 one process to the other.  This also meant that we could use .NET 4 instead
 of being stuck with .NET 3.5 (and it's WPF text clarity issues) since the
 CAD application did not support .NET 4 at the time.

 I'm now concerned about the effort involved in maintaining this service
 layer and expanding it as we develop new products that cover more of the
 host application's API, and the additional logic for handling some of the
 more advanced interaction scenarios across the service boundary.

 If we were to use WinForms instead then we could dramatically simplify
 the code base and future development.


 On Thu, Aug 18, 2011 at 3:18 PM, Jake Ginnivan 
 jake.ginni...@readify.net wrote:

 +1 would be very interested to know what constraints would cause you to
 choose winforms over wpf..

 ** **

 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy
 *Sent:* Thursday, 18 August 2011 1:05 PM
 *To:* ozDotNet
 *Subject:* Re: Good looking WinForms apps

 ** **

 I think that you should also explain in more detail the constraints of
 the situation which are causing you extra work and why this has made you
 believe that WPF is not the correct choice.

 ** **

 Grant

 On Thu, Aug 18, 2011 at 2:33 PM, Matt Siebert mlsieb...@gmail.com
 wrote:

 Hi folks,

 ** **

 Can anyone point out some particularly good looking WinForms apps?
  Screenshots will do, a working app I could show someone would be better.
 

 ** **

 This is a bit of a strange request so I should probably explain a
 little...

 ** **

 We've built a product using WPF but we have lots of constraints imposed
 by the environment we're coding for.  This has caused a lot of extra work
 with more to come.  As such, I don't think WPF is the right choice and I'm
 trying to convince my manager that it's worth considering switching to
 WinForms which is much better suited to this environment.  He's not a
 developer and is fairly visually oriented, and he's worried that if we were
 to use WinForms then we may not be able to produce a good GUI / UX.  I've
 assured him that this isn't the case but some good examples would help.
 

 ** **

 Cheers.

 ** **







Re: Good looking WinForms apps

2011-08-17 Thread Grant Molloy
I think that you should also explain in more detail the constraints of the
situation which are causing you extra work and why this has made you believe
that WPF is not the correct choice.

Grant

On Thu, Aug 18, 2011 at 2:33 PM, Matt Siebert mlsieb...@gmail.com wrote:

 Hi folks,

 Can anyone point out some particularly good looking WinForms apps?
  Screenshots will do, a working app I could show someone would be better.

 This is a bit of a strange request so I should probably explain a little...

 We've built a product using WPF but we have lots of constraints imposed by
 the environment we're coding for.  This has caused a lot of extra work with
 more to come.  As such, I don't think WPF is the right choice and I'm trying
 to convince my manager that it's worth considering switching to WinForms
 which is much better suited to this environment.  He's not a developer and
 is fairly visually oriented, and he's worried that if we were to use
 WinForms then we may not be able to produce a good GUI / UX.  I've assured
 him that this isn't the case but some good examples would help.

 Cheers.



Re: System.Data classes and ListT

2011-07-20 Thread Grant Molloy
Hi Greg..

I've worked a bit with an open source app called nSurvey (
http://survey.codeplex.com), and it uses the datatables and datasets all the
way from DB to UI. However, it's overridden/extended the dataset and data
table to make them more like strongly bound types.

I don't know if these are auto generated (netTiers or other) data objects,
but there are examples in the Branch  ++  survey-1.2.3.1  ++  Reflector  ++
 NSurvey BE  ++  Votations.NSurvey.Data project section, and there are
examples in the Web App Project (ie.  Branch  ++  survey-1.2.3.1  ++  Survey
WAP ++  NSurveyAdmin  ++ UserControls ), files which show how the data is
extracted and added to the data objects.  The DAL uses the old MS Data
Application Block helpers to massage the data to and from the db.

As with all models, there's pros and cons, some of which I really noticed
were
PRO - single data object to get data from db to UI in a *relatively*
strongly typed manner
CONS - a real b!tch to hand code new Data object classes..
CONS - the data objects seemed heavy to use, ie. lots of typing.

I personally like using the ListT for transporting entities..  A fairly
simple linq query can be used to sort and/or query the list, and if you're
using .Net 4.0, then the TPL extension of .AsParallel may add some zip to
the sort process.

Grant



On Wed, Jul 20, 2011 at 5:55 PM, Greg Keogh g...@mira.net wrote:

 Folks, I get the impression that the DataSet and its child classes classes
 are falling out of favour, is that true? However, I personally find them to
 be very convenient and full-featured for apps of all sizes (but I don’t
 expose them to the outside world of course and my discussion here is only
 about private use). What I like about DataView and DataRow are the huge
 number of interfaces they support, and for me the most important features
 are these:

 ** **

 1. When bound to a grid you get bi-directional sorting with no code at all.
 

 2. They supports SQL-like filter expressions (Foo Like '%bar%') AND (FooId
  666) for example, and applying these filters is blazingly fast.

 3. IEditableObject in DataRowView gives begin/end edit semantics.

 ** **

 While coding lots of Entity Framework 4 over the last several weeks I often
 have to materialize a collection of entities and send them up to the UI for
 display in grids or pickers. The EF4 context only allows materializing T[]
 arrays or ListT of entities, and these are woeful compared to DataView and
 DataRow, they don’t any of the three lovely features listed above.

 ** **

 I have resorted to converting my EF4 query results from raw DbDataRecord
 back to DataRow so I get all the functionality back. Why do I have to do
 this workaround? Am I missing some other technique?

 ** **

 Note, the entities and collections created by netTiers support all the
 interfaces that the System.Data classes do, so it’s only after migrating to
 EF4 that I’m hitting this irritation. It seems that I’m taking a step
 backwards with EF4 entities and hence doing stupid workarounds like
 converting to System.Data objects.

 ** **

 I’m told there is an MSDN EF4 discussion group, so I’ll ask about this in
 there once I find it and get in.

 ** **

 Greg



Re: EF4 and SQLite monitoring

2011-07-18 Thread Grant Molloy
Does that breach copyright?

On Mon, Jul 18, 2011 at 10:36 PM, Greg Keogh g...@mira.net wrote:

 http://efprof.com/ ?

 ** **

 Looks great, but it’s $305 and I only want to snoop into the underlying
 commands as a learning exercise. Oh, I just noticed it’s written by
 ‘Ayende’, I know that guy. If he has hooked into the EF4 processing flow
 somehow to create this tool, then perhaps I can find the magic hook and do
 the same thing for free on a much smaller scale.

 ** **

 Greg



Re: [OT] Backups

2011-06-03 Thread Grant Molloy
I've decided to go old school..
I just bought 10,000 floppy disks  a USB FDD.. (Got nothing else on this
weekend anyway !! )
:-D

On Fri, Jun 3, 2011 at 5:48 PM, Ian Thomas il.tho...@iinet.net.au wrote:

  Ken

 You’re using WHS (v1 or 2011 - ?), so what Cloud service do you use that *
 does* allow you to backup a server? Most cheaper ones preclude server
 backups (eg, iiNet’s Vault is specific about that).

 

 Ian Thomas
 Victoria Park, Western Australia



Re: .NET Consultant role - Microsoft

2011-05-31 Thread Grant Molloy
Hi Heinrich...
If your SMALL cv is 12 pages long, how long is your NORMAL or LARGE cv
?
I remember doing CV classes with my degree and they told us to keep them
to around 4-5 pages.
What do other people on the list do?


On Tue, May 31, 2011 at 7:54 PM, Heinrich Breedt
heinrichbre...@gmail.comwrote:

 LOL, cant wait, *rubs hands* take your best shot :P


 On Tue, May 31, 2011 at 7:32 PM, David Connors da...@codify.com wrote:

 On Tue, May 31, 2011 at 7:31 PM, mike smith meski...@gmail.com wrote:

 Yes, you just did... and included a CV.  Last time someone did that,
 their CV got dissected with a fine toothed comb.


 I think I recall that one - someone took credit for a project someone else
 on the list delivered or something if I recall. It wasn't pretty.

 David.



 I'm not going to throw stones, I've mis-hit reply to all before when I
 didn't want to, and lived.



 On Tue, May 31, 2011 at 6:53 PM, Heinrich Breedt 
 heinrichbre...@gmail.com wrote:

 oops, did i just reply to the list *facepalm* lol


 On Tue, May 31, 2011 at 5:04 PM, David Connors da...@codify.comwrote:

 Can you guys discuss it off list with Priyanka?

 On Tue, May 31, 2011 at 5:02 PM, Anthony asale...@tpg.com.au wrote:

 Where is this role based?



 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Heinrich Breedt
 *Sent:* Tuesday, 31 May 2011 4:44 PM
 *To:* ozDotNet
 *Subject:* Re: .NET Consultant role - Microsoft



 Hi Priyanka,



 Yes I would definitely be interested in this position.

 I have attached my current CV. I Hope we can progress this



 Heinrich

 On Tue, May 31, 2011 at 12:09 PM, Priyanka Sindwani (Adecco) 
 a-prs...@microsoft.com wrote:

 Hi All,



 My name is Priyanka and I am the APAC Talent Sourcer for Microsoft. I
 am looking for great Senior .NET Consultants/Architects for Microsoft. 
 It’s
 a Permanent consulting role for Microsoft’s Consulting Arm – MCS. Please
 find the JD attached and drop me a line should you be interested.



 Many Thanks.



 Kind Regards,

 * *

 *Priyanka Sindwani* |Talent Sourcer

 Email : a-prs...@microsoft.com

 [image: Description: Description: Description: Description:
 Description: Description: Description: Description: Description:
 Description: LinkedIn] http://au.linkedin.com/in/priyankasindwani

 [image: Description: Description: Description: Description:
 Description: Description: Description: Description: Description:
 Description: Twitter] http://twitter.com/pri_aus

 [image: Description: Description: Description: Description:
 Description: Description: Description: Description: Description:
 http://t1.gstatic.com/images?q=tbn:ANd9GcR37byOZ1sWfKr9KGZKwisfUFxkffT9MyXPXPyiSg9If83qMp73Kg]http://www.facebook.com/Microsoft#!/Microsoft?v=wall








 [image: Description: Description: Description: Description:
 Description: Description: Description: Description: Description:
 Description: Description: climber-signature.jpg]

 *Click 
 **here*http://www.microsoft.com/microsoftservices/en/us/home.aspx
 * for further information and exciting job opportunities at Microsoft
 Services*








 --
 Heinrich Breedt

 “Do not wait to strike till the iron is hot; but make it hot by
 striking.” - William B. Sprague




 --
 *David Connors* | da...@codify.com | www.codify.com
 Software Engineer
 Codify Pty Ltd
 Phone: +61 (7) 3210 6268 | Facsimile: +61 (7) 3210 6269 | Mobile: +61
 417 189 363
 V-Card: https://www.codify.com/cards/davidconnors
 Address Info: https://www.codify.com/contact




 --
 Heinrich Breedt

 “Do not wait to strike till the iron is hot; but make it hot by
 striking.” - William B. Sprague




 --
 Meski

 Going to Starbucks for coffee is like going to prison for sex. Sure,
 you'll get it, but it's going to be rough - Adam Hills




 --
 *David Connors* | da...@codify.com | www.codify.com
 Software Engineer
 Codify Pty Ltd
 Phone: +61 (7) 3210 6268 | Facsimile: +61 (7) 3210 6269 | Mobile: +61 417
 189 363
 V-Card: https://www.codify.com/cards/davidconnors
 Address Info: https://www.codify.com/contact




 --
 Heinrich Breedt

 “Do not wait to strike till the iron is hot; but make it hot by striking.”
 - William B. Sprague

image002.pngimage001.pngimage004.jpgimage003.jpg

Re: Govt .net jobs?

2011-05-22 Thread Grant Molloy
Wrong type of piss Winston...

On Mon, May 23, 2011 at 7:12 AM, Winston Pang winstonp...@gmail.com wrote:

 Is this an indication that I should be hanging out at pubs to score a
 govt job? :p

 On Mon, May 23, 2011 at 6:57 AM, Scott Barnes scott.bar...@gmail.com
 wrote:
  love this thread. We went from Govt jobs etc to Piss... Love it.
  ---
  Regards,
  Scott Barnes
  http://www.riagenic.com
 
 
  On Fri, May 20, 2011 at 12:36 PM, David Connors da...@codify.com
 wrote:
 
  On Fri, May 20, 2011 at 11:57 AM, DotNet Dude adotnetd...@gmail.com
  wrote:
 
  Wikipedia is taking the piss itself with this quote from
  http://en.wikipedia.org/wiki/Taking_the_piss
 
  Definitely wasn't written by an Aussie.
  --
  David Connors | da...@codify.com | www.codify.com
  Software Engineer
  Codify Pty Ltd
  Phone: +61 (7) 3210 6268 | Facsimile: +61 (7) 3210 6269 | Mobile: +61
 417
  189 363
  V-Card: https://www.codify.com/cards/davidconnors
  Address Info: https://www.codify.com/contact
 
 
 



Re: clever friday code

2011-05-20 Thread Grant Molloy
Hi Steven,

There are already an Attribute within the .net framework that are used to
enforce permissions..

Try the PrincipalPermissionAttribute..
http://msdn.microsoft.com/en-us/library/system.security.permissions.principalpermissionattribute.aspx

You could maybe use Reflector or other similar tool to see how it's done in
this class, so you can implement yours.

Grant


On Fri, May 20, 2011 at 5:29 PM, Stephen Price step...@littlevoices.comwrote:

 Hey all,

 I'm looking for a way to get at the value of the parameter of a method
 call from a custom attribute.

  [RequiresJobRole(JobRole.site_data_entry)]
public void GetPerson(int personId)
{
// Do stuff if authorised
}

 Then in the attribute

   protected override AuthorizationResult IsAuthorized(IPrincipal
 principal, AuthorizationContext authorizationContext)
{
   // For inserts and  updates I can check the Entity being
 operated on via something like this
var person = authorizationContext.Instance as PersonalDetails;

   // But its null if I'm doing a Query / read.

   var hasPermission = // getThe int personId that the method
 was called with and check they have access. Is this even possible?
   if (hasPermission)
{
return AuthorizationResult.Allowed;
}
return new AuthorizationResult(You do not have permission
 to access this person.);
 }

 I can do this with Inserts, Updates and Deletes. Calling a method to
 do a view or query seems impossible. How do I know what they are
 trying to view? user permission is based on the Id of the item they
 are looking up. There's a stored proc that goes off and returns their
 permission mask on the items they are accessing. Problem is I can't
 tell what they are trying to view.
 The other solution is to put a user validation call at the top of each
 method like so;

public void GetPerson(int personId)
{
  if(UserHasAccess()){
// Do stuff if authorised
}
   else{
throw new SecurityAccessException(go away);
 }
}

 but a single Attribute on the method would be cleaner. Otherwise have
 to put that code all over the place...

 cheers,
 Stephen



Re: Govt .net jobs?

2011-05-19 Thread Grant Molloy
There is a theory floating around in the Local Govt in which I work that
somewhere in the building there is a fountain of piss.
Some people take cups to the fountain, some take buckets.. Unfortunately
there are also those who take over sized wheely bins !!


On Fri, May 20, 2011 at 10:01 AM, DotNet Dude adotnetd...@gmail.com wrote:

 I guess it all depends on the organisation. I am sure there are good
 projects and hard working permies in the govt.. i just haven't seen
 any in my experience. :p


 On Fri, May 20, 2011 at 8:30 AM, Liam McLennan liam.mclen...@gmail.com
 wrote:
  That is a great summary. Clearly, the trick is to be the boss of the
  permanent body shop.
 
  In Brisbane there is currently very few new contracts, and a relatively
  strong permanent market. The advantage of being a government contractor
 is
  that you don't get stuck in one dysfunctional government department, you
 get
  to move around many of them. The disadvantage is that you miss out on the
  most fun work. Employers doa lot of permanent not invest in contractors
 so
  you don't get paid training and you don't get to work on serious research
  since there is no value in building deep skills in a contractor who will
  only be around for a few months. Of course, there is not much (any?)
  interesting work going on in the government anyway.
 
  I like to build products for small businesses and startups. It's risky, I
  don't always get paid, working conditions are often appalling, but the
 work
  is fun.
 
  On Thu, May 19, 2011 at 7:31 PM, Rob von Nesselrode
  rob...@austarnet.com.au wrote:
 
  There is something worse than being a contractor, or being a permanent:
 
  It's the dreaded limited term permanent - all the exciting benefits of a
  permanent post without the hassles of having to stay more than say 6
 months.
  Haven't seen too many of these since the market tightened up in the last
 3
  months or so.
 
  Or the permanent in a body shop farmed out as a contractor so that your
  boss gets to do the death leap off the wallet instead of you.
 
  I'm enjoying the job satisfaction in my new permanent. Not too many
  people, no BA, no PM's, no Architects, no DBA's no coffee machine. Hmmm.
  That's serious.
 
  Rob
  
  From: ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com]
  On Behalf Of noonie
  Sent: Thursday, 19 May 2011 19:10
  To: ozDotNet
  Subject: Re: Govt .net jobs?
 
  It's almost Friday,
 
  Did you hear about the contractor who committed suicide?
 
  He climbed up on his wallet and threw himself to his death.
 
  --
  (mobile) noonie
 
 
 
  --
  Liam McLennan.
 
  l...@eclipsewebsolutions.com.au
  http://www.eclipsewebsolutions.com.au
 



Re: [OT] Visual Studio 2010 Premium Edition

2011-05-12 Thread Grant Molloy
Maybe the local MS Vendor could come up with a special on MSDN subscriptions
and offer an extended service from FIJI...


On Fri, May 13, 2011 at 12:04 PM, Les Hughes l...@datarev.com.au wrote:

 Greg Keogh wrote:

 Oh well, it seems that the Harris price is on the low end for SAO MSDN
 Premium with VS2010, so I've begrudgingly paid for the upgrade so I can get
 the Office and Expression suites and kits on top of the SDKs, DBs and OSs
 (I'm begrudged because for the same price I can get a week long holiday on
 5-star private island resort in Fiji). The subscription is petty cash for a
 large company, but it hurts a bit when you're a one man business. However my
 wife reminded me that it's a tax deduction so I would feel better -- Greg


 What about our Fiji.NET 1.5 week conference at the Hyatt Suva, where we
 have daily development talks situated at the bar in the swimming pool?

 :))
 --

 Les Hughes
 l...@datarev.com.au



Re: [OT] Lightweight laptop for dev and demos

2011-05-08 Thread Grant Molloy
Why wait..
Use this service.. http://www.hopshopgo.com



On Mon, May 9, 2011 at 12:46 PM, Andrew Coates (DPE AUSTRALIA) 
andrew.coa...@microsoft.com wrote:

 Amen - hanging off until my next US trip to get a decent SSD

 -Original Message-
 From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
 On Behalf Of Greg Low (GregLow.com)
 Sent: Friday, 6 May 2011 3:58 PM
 To: 'ozDotNet'
 Subject: RE: [OT] Lightweight laptop for dev and demos

 And you just need one of these inside it :-)
 http://www.crucial.com/store/listmodule/SSD/~524288~/list.html

 Regards,

 Greg

 -Original Message-
 From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
 On Behalf Of Andrew Coates (DPE AUSTRALIA)
 Sent: Friday, 6 May 2011 3:43 PM
 To: ozDotNet
 Subject: RE: [OT] Lightweight laptop for dev and demos

 I've just ordered a Lenovo x220
 (
 http://www.lenovoblogs.com/designmatters/2011/03/thinkpad-x220-you-sexy-bea
 st/) - they claim 23hr battery with the additional slice battery (15 hr
 without)

 Corei7 + 8GB + 320GB + 3yr onsite + IPS (720p) + WWAN + UltraBay + Slice
 Battery

 Just waiting for it to arrive now ...

 -Original Message-
 From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
 On Behalf Of Bec Carter
 Sent: Thursday, 5 May 2011 9:53 AM
 To: ozDotNet
 Subject: Re: [OT] Lightweight laptop for dev and demos

 Hmm yes battery life would be important to me. The mini dell claims over 7
 hours battery life though I doubt that is the case when doing anything but
 running the screensaver :-)

 Vostro sounds good but for the size. Thanks for the info I'll keep looking

 On Thu, May 5, 2011 at 12:29 AM, Wallace Turner wallacetur...@gmail.com
 wrote:
  Bec, disclaimer, the Vostro has guts (for its weight/price) but its
  battery life is *poor*.
 
  I have used it at work connected to a 23 HD monitor with no issues
  but on a plane trip you'll be lucky to get 2hrs of dev work in.
 
  mostly i use it plugged in so is not an issue for me personally.
 
  On 4/05/2011 7:42 PM, Ken Schaefer wrote:
 
  Most of the mini machines have a pretty cramped keyboard. I would
  not use it for dev work (or any serious typing). The screen
  resolution tends to be low as well.
 
  Powering an external, high res monitor can be painful, depending on
  what sort of graphics chip it has.
 
  For skype/web browsing etc, no problems using one of these things.
  For more serious work, I'd get something a bit larger with a bit more
  oomph. The Vostro V13 mentioned earlier is a pretty good tradeoff.
  All depends on your budget
 
  Cheers
  Ken
 
  -Original Message-
  From: ozdotnet-boun...@ozdotnet.com
  [mailto:ozdotnet-boun...@ozdotnet.com]
  On Behalf Of Bec Carter
  Sent: Wednesday, 4 May 2011 7:23 PM
  To: ozDotNet
  Subject: Re: [OT] Lightweight laptop for dev and demos
 
  Anybody here got a notebook mini? Dell mini 10 or HP 10? What do you
  think of them?
  I need something with a web cam for Skype, wireless card obviously
  and
  *maybe* a tiny bit of dev here and there - these minis seem to meet
  system requirements for vs express versions.
 
 
  On Wed, Apr 6, 2011 at 1:18 PM, Grant Mawgrant@gmail.com  wrote:
 
  Very true.
 
  I took mine on a site visit one day and one of their mobile guys
  laughed at me, and informed the rest of the group that my M1730's
  power supply was bigger than his computer!
 
  Our power bill has dropped $20 since I stopped using it.
 
  On 6 April 2011 11:26, Stephen Pricestep...@littlevoices.com  wrote:
 
  3.5Kg is light!!
 
 
 
 





Re: Dynamic ORM?

2011-05-07 Thread Grant Molloy
I use a self created ORM solution where the DAL DLL does not need changing
between projects as it maps the entity object to the appropriate stored proc
based on custom class attributes.  A custom built code gen builds the
entities and stored procs (as well as WPF MVVM View  VM, ASP.NET Forms 
usercontrols) based on the db structure, so any changes to the database are
easily updated in the stored proc, and then in the entity classes.

Thinking of making it available for sale, hopefully sometime this year...
 Ideas are far outweighing my time availability at this point.

Grant

On Fri, May 6, 2011 at 12:06 AM, Anthony asale...@tpg.com.au wrote:

 Anyone aware of a dynamic orm software.  Been using llblgen for years and
 finding the need for a dynamic orm.



 I find that some database create custom fields etc at runtime which do not
 become visible to the ORM until I re-apply the ORM schema.   If I  re-apply
 orm to a db with  customer fields, then it makes the  orm code specific to
 one environment….



 regards

 Anthony (*12QWERNB*)







Re: Dynamic ORM?

2011-05-07 Thread Grant Molloy
Performance nat an issue.. Test harness proves its quicker than linq
for same query (single and multi record).  it also returns multi
resultsets with good speed too. 10 result sets from 1 stored proc in
20 millisecs.

On 5/8/11, Mark Ryall mark.ry...@gmail.com wrote:
 I've heard of a few projects that needed to do something like this (mingle
 is one that comes to mind) where the structure of your entities can be
 modified at runtime.  It gets really complicated very quickly - especially
 in getting the implementation to perform adequately.

 This seems a better fit for a non relational database such as mongodb,
 ravendb, couchdb etc. if that's an available option.

 On Fri, May 6, 2011 at 12:06 AM, Anthony asale...@tpg.com.au wrote:

 Anyone aware of a dynamic orm software.  Been using llblgen for years and
 finding the need for a dynamic orm.



 I find that some database create custom fields etc at runtime which do not
 become visible to the ORM until I re-apply the ORM schema.   If I
 re-apply
 orm to a db with  customer fields, then it makes the  orm code specific to
 one environment….



 regards

 Anthony (*12QWERNB*)







-- 
Sent from my mobile device


Re: INotifyPropertyChanged on nested objects

2011-05-02 Thread Grant Molloy
Hi Greg,

I think there may be a few ways to assist you with your project..

Paul Stovell's Bindable Linq propagates changes from collections in memory
to the UI..
http://www.paulstovell.com
http://bindablelinq.codeplex.com/

Also, Sacha Barber wrote an article (a very long one) on Chained Property
Observer.. Sounds like something that may assist you ..
http://www.codeproject.com/KB/cs/ChainedObserve.aspx

Then there is also RX (Reactive Extensions), which I think may also be able
to help you.. I remember reading an article where someone did something
similar to what you're trying to do using RX. I couldn't find the article to
assist you however..  Maybe this article may give you a start..
http://shujaatsiddiqi.blogspot.com/2011/02/wpf-joining-rxs-iobservables-using-linq.html
Larger RX intro and series of articles..
http://leecampbell.blogspot.com/2010/08/reactive-extensions-for-net.html

HTH
Grant

On Mon, May 2, 2011 at 7:42 PM, Michael Minutillo 
michael.minuti...@gmail.com wrote:

 Whoops. And there was a typo in that one. This one runs :)



 On Mon, May 2, 2011 at 5:41 PM, Michael Minutillo 
 michael.minuti...@gmail.com wrote:

 How much do you dislike reflection? The attached is a quick LINQPad mockup
 of a technique I have used in the past. A real implementation would need
 to be more careful (there is no error handling, no real collection support
 and circular references will result in stack overflows) but the basics are
 here.

 Essentially this is a new component that is responsible for listening to
 INotifyPropertyChanged events. When you bind it to a new object it will
 search through it's properties (via reflection) and try to bind to them
 recursively as well. The nice thing is that because it also implements
 INotifyPropertyChanged and exposed a single boolean value you can bind
 things (like Button enabledness/visibility) to it directly.

 It's a cheap trick but it works ;)



 On Mon, May 2, 2011 at 3:19 PM, Greg Keogh g...@mira.net wrote:

 Folks, in dialog-like screens with OK/Cancel buttons and a bound data
 object I like to implement and listen to INotifyPropertyChanged on the data
 object so I know the screen is “dirty” and I enable the OK button.



 When the data bound object is composed from a nest of other objects, it
 becomes impractical to pass changed events up through the levels of objects
 to the top. It can be done by manually sending the event up through
 child-parent objects, but the code to create this sort of “event bubbling”
 is verbose and tedious.



 Is there some trick that I’m not aware of for creating mock property
 changed “event bubbling” in my own nested objects?



 Greg








Re: writting apps that run on phones and dial phone numbers

2011-04-25 Thread Grant Molloy
that's
http://nicksnettravels.builttoroam.com/
http://nicksnettravels.builttoroam.com/

On Mon, Apr 25, 2011 at 8:39 PM, Chris Walsh ch...@walshie.me wrote:

 Also look at http://nickstravels.builttoroam.com

 Nick Randolph has started a trio of blog posts on writing cross platform
 apps.

 Sent from my Windows Phone

 -Original Message-
 From: Arjang Assadi
 Sent: Monday, 25 April 2011 20:34
 To: ozDotNet
 Subject: Re: writting apps that run on phones and dial phone numbers


 http://www.silverlight.net/getstarted/devices/windows-phone/

 On 25 April 2011 19:20, Kirsten Greed kirst...@jobtalk.com.au wrote:
  Hi All
 
 
 
  Can anyone give me an idea how to write an app that runs on Android
 and/or
  iphone and/or windows 7 phone
 
  The user would search for a contact and then press a DIAL button
 
  The contacts database would sync with the corporate one  ( via Microsoft
  Sync Framework I expect )
 
 
 
  Where do I start?
 
 
 
  Thanks
 
  Kirsten
 
 



Re: [OT] BYO Computer @ Suncorp

2011-03-29 Thread Grant Molloy
The ideas good, but I wouldn't want to take a home pc to work and leave it
there, laptop maybe...
Good on suncorp for trying something different..
The company I work for gave me a Quad Core with 8gb Ram, and then put the
standard SOE (XP 32 Bit) on it, in which I have to run a VM to do the dev
work..

All ass about as far as I'm concerned..
They've got the cash to put out for the box, something stupid like $8k
through their supplier, but won't give me the environment to make my life
easier..



On Tue, Mar 29, 2011 at 9:14 PM, Stephen Price step...@littlevoices.comwrote:

 I've always thought that if your team are not coming into work complaining
 about how crap their home computer is compared to their work PC then you're
 not looking after your developers. I'm currently working from home Tuesdays
 and Thursdays (the boss thinks productivity is higher if you go dark, which
 I think has some merit). 30 monitor and 27.5 montior at home. 2 x 24 at
 work. Got a newer desktop at work than home... I did have to buy myself an
 SSD drive for my home PC to try to keep up with my work PC. :D
 Pertty cool idea people being able to bring their own machines to work.
 Downsides I can see, more people using laptops (possibly more future cases
 of workers comp from hunching over a laptop rather than eye level monitor?)
 and putting the responsibility of your hardware back on the worker. No car
 == no job, may become no laptop == no job.

 Should help cut down situations where people are using 8 year old laptops
 to try to do their job. Man what a way to abuse your staff. unless they are
 contractors of course...  (no no, it's ok. I'll take the 1Gb ram machine. )

 On Tue, Mar 29, 2011 at 6:11 PM, Simon Haigh smha...@gmail.com wrote:

  Not as exciting as it sounds.  Definately not going to be be a open
 slather policy about bringing your favourite device to work and plugging it
 into the network.  From what I've heard, all access to the company network
 will be through the Citrix portal.

 Still it might be the justification I need to buy a new high powered
 laptop and push a little harder to be able to telecommute.  :-)

 Simon


 On 29/03/2011 7:11 PM, Paul Stovell wrote:

  I think this is pretty exciting:



 The BYO (bring your own) device program at one of Australia's largest
 insurers means staff will be able to break free from the shackles of their
 company-issued PCs and plug in their personal laptops, tablets and
 smartphones into the enterprise network.



 We can supply you with desktops here, but if people want to bring in
 their Macs or other devices, then that's their choice. People should use the
 device they feel the most productive in.



 It is part of Suncorp's fundamental strategy to attract, develop and
 retain top talent and to give them a great place to work, and try to inspire
 them to do great things. Mr Smith said Suncorp's goal was not to have
 infrastructure be a constraint to people's innovation and ingenuity.



 From The Australian:




 http://www.theaustralian.com.au/australian-it/suncorp-goes-byo-in-hardware-as-staff-are-encouraged-to-plug-in-their-devices/story-e6frgakx-1226029655986









Re: [OT] Good sites to sell furniture?

2011-03-29 Thread Grant Molloy
Try your footpath !!

On Tue, Mar 29, 2011 at 8:43 PM, Winston Pang winstonp...@gmail.com wrote:

 Hey guys,

 A little OT.

 Apart from ebay, and gumtree, any of you guys have any other good
 sites to sell off furniture?

 I've been trying to sell an IKEA Galant desk for months on
 ebay/gumtree and other forums, but no interested peeps, so trying to
 look for other sites which might be popular to sell off furniture.

 Cheers!

 Winston



Re: Propagate Database changes to application

2011-03-29 Thread Grant Molloy
Hi Joseph,

I wasn't really looking at any particular single client solution..

If Paul Stovell is listening, what did you use in Bindable Linq.. I am
downloading now to have a look, but thought you may be able to put into
words for larger audience..

thanks


On Tue, Mar 29, 2011 at 9:59 AM, Joseph Cooney joseph.coo...@gmail.comwrote:

 Re: client type - I was more wondering is it a web app? Windows app?
 Silverlight? Windows intranet app could do udp broadcast of changes from the
 server or something like that.

 Sent from my iPhone

 On 29/03/2011, at 8:18 AM, Grant Molloy graken...@gmail.com wrote:

 Thanks everyone for feedback..

 Joseph,
 SQL Server, yes, version either 2008 or 2008 R2.. More than likely R2, but
 not nailed down yet.
 Client type is a DAL DLL.. I want the DAL to know when the data changes,
 and the client will subscribe to DAL events, and then DAL can fire off event
 when data is changed, and App can decide what to do about it.  Kind of like
 a publisher / subscriber model implementation.

 I'm not 100% sure I'm going about it the right way or have the events in
 the right place (ie in the DAL)..


 On Tue, Mar 29, 2011 at 1:55 AM, Joseph Cooney  joseph.coo...@gmail.com
 joseph.coo...@gmail.com wrote:

 What type of client is it? Do you control the means by which data is
 written to the table? Are clients deployed to the internet or intranet? What
 kind of database are we talking about here (I assume you mean SQL Server,
 since you mention SqlDependency) but which version?

 Joseph


 On Mon, Mar 28, 2011 at 8:33 AM, Grant Molloy  graken...@gmail.com
 graken...@gmail.com wrote:

 Hi list,

 I'm looking to have an application automagically update it's view of the
 data when the data in the connected database table changes.
 I've seen two main ways to do this so far.
 1. Poll the database every n seconds
 2. Use the System.Web.Caching.SqlDependancy object.

 Does anyone else know of any other better or smarter way of doing this ?

 thanks
 Grant




 --

 w: http://jcooney.nethttp://jcooney.net
 t: @josephcooney





Re: Propagate Database changes to application

2011-03-29 Thread Grant Molloy
Ok..
well it looks like bindable linq only propagates changes from what it's got
in memory already, not from changes in the database..


On Tue, Mar 29, 2011 at 9:26 PM, Grant Molloy graken...@gmail.com wrote:

 Hi Joseph,

 I wasn't really looking at any particular single client solution..

 If Paul Stovell is listening, what did you use in Bindable Linq.. I am
 downloading now to have a look, but thought you may be able to put into
 words for larger audience..

 thanks


 On Tue, Mar 29, 2011 at 9:59 AM, Joseph Cooney joseph.coo...@gmail.comwrote:

 Re: client type - I was more wondering is it a web app? Windows app?
 Silverlight? Windows intranet app could do udp broadcast of changes from the
 server or something like that.

 Sent from my iPhone

 On 29/03/2011, at 8:18 AM, Grant Molloy graken...@gmail.com wrote:

 Thanks everyone for feedback..

 Joseph,
 SQL Server, yes, version either 2008 or 2008 R2.. More than likely R2, but
 not nailed down yet.
 Client type is a DAL DLL.. I want the DAL to know when the data changes,
 and the client will subscribe to DAL events, and then DAL can fire off event
 when data is changed, and App can decide what to do about it.  Kind of like
 a publisher / subscriber model implementation.

 I'm not 100% sure I'm going about it the right way or have the events in
 the right place (ie in the DAL)..


 On Tue, Mar 29, 2011 at 1:55 AM, Joseph Cooney joseph.coo...@gmail.com
 joseph.coo...@gmail.com wrote:

 What type of client is it? Do you control the means by which data is
 written to the table? Are clients deployed to the internet or intranet? What
 kind of database are we talking about here (I assume you mean SQL Server,
 since you mention SqlDependency) but which version?

 Joseph


 On Mon, Mar 28, 2011 at 8:33 AM, Grant Molloy  graken...@gmail.com
 graken...@gmail.com wrote:

 Hi list,

 I'm looking to have an application automagically update it's view of the
 data when the data in the connected database table changes.
 I've seen two main ways to do this so far.
 1. Poll the database every n seconds
 2. Use the System.Web.Caching.SqlDependancy object.

 Does anyone else know of any other better or smarter way of doing this ?

 thanks
 Grant




 --

 w: http://jcooney.nethttp://jcooney.net
 t: @josephcooney






Re: Propagate Database changes to application

2011-03-29 Thread Grant Molloy
Thanks for your input Paul..
I'm currently building a DAL which I want to be able to transport between
projects with no recoding required of the DAL, just configuration.. I've got
it all working wonderfully, and is very fast too.. I've coupled this with a
code generator which I point at a database (SQL or ORACLE) and can create
stored procs (SQL or Oracle), model or entity classes (marked up with class
and property decorations to work with the DAL) in the click of a few
buttons.  I'm also working on outputting forms, views, view model stubs, and
listing and search pages for ASP.Net, WPF and MVC to start with..

The DAL can work with any app type really as it's just a DLL and the host
app just needs some config settings to hook it all up.

The idea of having updates through the DAL for the host app was something I
was just thinking about.. I thought it would be a nice addition to the DAL
you just hook up and database data changes are propagated back to the app
for you.. It's looking like it may be too much trouble, or as you suggest,
in the wrong layer of the app..

Maybe the following is a better solution

   - SQL Trigger on tables call a .Net assembly from Sql Server (see
herehttp://www.codeproject.com/KB/database/Managed_Code_in_SQL.aspx)
   when data is modified.
   - The .Net assembly talks to a web service to notify of the db change.
   - Apps subscribe to the web service which is setup in the Observer
   pattern http://en.wikipedia.org/wiki/Observer_pattern.
   - The web service notifies the app of the change
   - The app responds to the change as it needs to..

again.. just thinking out aloud...


On Tue, Mar 29, 2011 at 11:54 PM, Paul Stovell paul.stov...@readify.netwrote:

 And note that System.Data.SqlClient.SqlDependency (which uses service
 broker) is different to System.Web.Caching.SqlCacheDependency (which uses
 triggers and polling, making it kind of useless):




 http://msdn.microsoft.com/en-us/library/system.web.caching.sqlcachedependency



 Paul



 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Paul Stovell
 *Sent:* Tuesday, 29 March 2011 11:50 PM

 *To:* ozDotNet
 *Subject:* RE: Propagate Database changes to application



 This is what I was talking about (I think):



 http://msdn.microsoft.com/en-us/library/ms172133.aspx



 Personally I'd probably just poll unless my demand load suggested
 notifications would work better.



 Paul



 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Paul Stovell
 *Sent:* Tuesday, 29 March 2011 11:45 PM
 *To:* ozDotNet
 *Subject:* RE: Propagate Database changes to application



 Correct, though once upon a time I did have an experiment that worked with
 query notifications. From memory you attach some kind of SqlDependency
 object to your SqlCommand (not the type that works with triggers - it used
 the same code as clustered views from memory).



 There is a trade off either way you go. With a notification system you can
 end up drinking from a fire hose if the events happen too frequently under
 load (e.g., an Orders table probably isn't good for notifications). Systems
 that rely on polling tend to scale better (for example: this little thing
 called the internet) but that's a generalization.



 Out of curiosity, is this something that needs to happen at the database
 level? Should more than one process really be writing to the database at
 once? Could it be done using a messaging system above the database?



 Paul



 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Grant Molloy
 *Sent:* Tuesday, 29 March 2011 9:32 PM
 *To:* ozDotNet
 *Subject:* Re: Propagate Database changes to application



 Ok..

 well it looks like bindable linq only propagates changes from what it's got
 in memory already, not from changes in the database..



 On Tue, Mar 29, 2011 at 9:26 PM, Grant Molloy graken...@gmail.com wrote:

 Hi Joseph,



 I wasn't really looking at any particular single client solution..



 If Paul Stovell is listening, what did you use in Bindable Linq.. I am
 downloading now to have a look, but thought you may be able to put into
 words for larger audience..



 thanks





 On Tue, Mar 29, 2011 at 9:59 AM, Joseph Cooney joseph.coo...@gmail.com
 wrote:

 Re: client type - I was more wondering is it a web app? Windows app?
 Silverlight? Windows intranet app could do udp broadcast of changes from the
 server or something like that.

 Sent from my iPhone


 On 29/03/2011, at 8:18 AM, Grant Molloy graken...@gmail.com wrote:

 Thanks everyone for feedback..



 Joseph,

 SQL Server, yes, version either 2008 or 2008 R2.. More than likely R2, but
 not nailed down yet.

 Client type is a DAL DLL.. I want the DAL to know when the data changes,
 and the client will subscribe to DAL events, and then DAL can fire off event
 when data is changed, and App can decide what to do about it.  Kind of like

Re: Propagate Database changes to application

2011-03-29 Thread Grant Molloy
Hi DND..

I did mention earlier that I wasn't thinking any 1 particular platform..
I've got more thick client experience than thin, but was thinking that in
ASP.Net an async call to the web service/wcf with a callback action may do
the trick..

Again.. just thinking out loud.

On Wed, Mar 30, 2011 at 9:12 AM, DotNet Dude adotnetd...@gmail.com wrote:

 On Wed, Mar 30, 2011 at 9:46 AM, Grant Molloy graken...@gmail.com wrote:
  Thanks for your input Paul..
  I'm currently building a DAL which I want to be able to transport between
  projects with no recoding required of the DAL, just configuration.. I've
 got
  it all working wonderfully, and is very fast too.. I've coupled this with
 a
  code generator which I point at a database (SQL or ORACLE) and can create
  stored procs (SQL or Oracle), model or entity classes (marked up with
 class
  and property decorations to work with the DAL) in the click of a few
  buttons.  I'm also working on outputting forms, views, view model stubs,
 and
  listing and search pages for ASP.Net, WPF and MVC to start with..
  The DAL can work with any app type really as it's just a DLL and the host
  app just needs some config settings to hook it all up.
  The idea of having updates through the DAL for the host app was something
 I
  was just thinking about.. I thought it would be a nice addition to the
 DAL
  you just hook up and database data changes are propagated back to the app
  for you.. It's looking like it may be too much trouble, or as you
 suggest,
  in the wrong layer of the app..
  Maybe the following is a better solution
 
  SQL Trigger on tables call a .Net assembly from Sql Server (see here)
 when
  data is modified.
  The .Net assembly talks to a web service to notify of the db change.
  Apps subscribe to the web service which is setup in the Observer pattern.
  The web service notifies the app of the change
  The app responds to the change as it needs to..

 Haven't read all the responses on this thread but I don't see how for
 a web app a web page can be updated on this notification when the
 client's (browser's) connection to the server is already closed.
 Unless the client side script polls the server.

 
  again.. just thinking out aloud...
 
  On Tue, Mar 29, 2011 at 11:54 PM, Paul Stovell paul.stov...@readify.net
 
  wrote:
 
  And note that System.Data.SqlClient.SqlDependency (which uses service
  broker) is different to System.Web.Caching.SqlCacheDependency (which
 uses
  triggers and polling, making it kind of useless):
 
 
 
 
 
 http://msdn.microsoft.com/en-us/library/system.web.caching.sqlcachedependency
 
 
 
  Paul
 
 
 
  From: ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com]
  On Behalf Of Paul Stovell
  Sent: Tuesday, 29 March 2011 11:50 PM
 
  To: ozDotNet
  Subject: RE: Propagate Database changes to application
 
 
 
  This is what I was talking about (I think):
 
 
 
  http://msdn.microsoft.com/en-us/library/ms172133.aspx
 
 
 
  Personally I'd probably just poll unless my demand load suggested
  notifications would work better.
 
 
 
  Paul
 
 
 
  From: ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com]
  On Behalf Of Paul Stovell
  Sent: Tuesday, 29 March 2011 11:45 PM
  To: ozDotNet
  Subject: RE: Propagate Database changes to application
 
 
 
  Correct, though once upon a time I did have an experiment that worked
 with
  query notifications. From memory you attach some kind of SqlDependency
  object to your SqlCommand (not the type that works with triggers - it
 used
  the same code as clustered views from memory).
 
 
 
  There is a trade off either way you go. With a notification system you
 can
  end up drinking from a fire hose if the events happen too frequently
 under
  load (e.g., an Orders table probably isn't good for notifications).
 Systems
  that rely on polling tend to scale better (for example: this little
 thing
  called the internet) but that's a generalization.
 
 
 
  Out of curiosity, is this something that needs to happen at the database
  level? Should more than one process really be writing to the database at
  once? Could it be done using a messaging system above the database?
 
 
 
  Paul
 
 
 
  From: ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com]
  On Behalf Of Grant Molloy
  Sent: Tuesday, 29 March 2011 9:32 PM
  To: ozDotNet
  Subject: Re: Propagate Database changes to application
 
 
 
  Ok..
 
  well it looks like bindable linq only propagates changes from what it's
  got in memory already, not from changes in the database..
 
 
 
  On Tue, Mar 29, 2011 at 9:26 PM, Grant Molloy graken...@gmail.com
 wrote:
 
  Hi Joseph,
 
 
 
  I wasn't really looking at any particular single client solution..
 
 
 
  If Paul Stovell is listening, what did you use in Bindable Linq.. I am
  downloading now to have a look, but thought you may be able to put into
  words for larger audience..
 
 
 
  thanks
 
 
 
 
 
  On Tue, Mar 29, 2011 at 9:59 AM

Propagate Database changes to application

2011-03-27 Thread Grant Molloy
Hi list,

I'm looking to have an application automagically update it's view of the
data when the data in the connected database table changes.
I've seen two main ways to do this so far.
1. Poll the database every n seconds
2. Use the System.Web.Caching.SqlDependancy object.

Does anyone else know of any other better or smarter way of doing this ?

thanks
Grant


Re: Easy util to browse a DBF

2011-03-22 Thread Grant Molloy
try database.net..  Deals with lots of different database sources and can
run from USB stick.
http://fishcodelib.com/Database.htm

http://fishcodelib.com/Database.htmI haven't tried it...


On Wed, Mar 23, 2011 at 10:47 AM, David Connors da...@codify.com wrote:

 Does anyone know of a quick/easy/good util to browse the contents of a
 DBF/foxpro table?

 --
 *David Connors* | da...@codify.com | www.codify.com
 Software Engineer
 Codify Pty Ltd
 Phone: +61 (7) 3210 6268 | Facsimile: +61 (7) 3210 6269 | Mobile: +61 417
 189 363
 V-Card: https://www.codify.com/cards/davidconnors
 Address Info: https://www.codify.com/contact




Re: [OT] Lightweight laptop for dev and demos

2011-03-21 Thread Grant Molloy
Stephen,
Get her a stable table.. She sits it on her legs, and the laptop sits on a
flat surface allowing the vents to breath !!

On Tue, Mar 22, 2011 at 9:57 AM, Stephen Price step...@littlevoices.comwrote:

 Thank goodness! Hell ugly laptops. Always have been. Maybe i'm just
 superficial. :)

 I was looking at the Vostro V130 Wallace recommended. Looks very nice. I
 get these Dell emails about the Vostro's all the time and to be honest I've
 always been underimpressed by them. I look at the business range and compare
 them to the XPS's or the Studio laptops and wonder if i'm missing something.
 Are the business laptops more targetted at the people who just use word and
 excel or something?

 Shopping around for a laptop my wife can use at the moment... The way she
 currently uses her (my old) XPS m1210, it needs to be small, light and NOT
 have all its fans on the bottom. It runs at 100% cpu a lot and I think its
 because she sits it on her lap on a pillow. Poor thing gets so damn hot
 having its air vents smothered by a pillow. I dare not say anything in case
 i'm next. (I'm kidding, I do dare saying something a lot. If I dissapear
 suddenly you'll know why...)
 Does the V130 have any vents on the bottom? It looks like there's one at
 the back but they have no pics of the bottom of the laptop on their site. It
 looks pretty slick laptop actually... I didn't see any options to configure
 it with an SSD hard drive. Ah well probably better to get an after market
 one anyway.
 On Tue, Mar 22, 2011 at 7:33 AM, Noon Silk noonsli...@gmail.com wrote:

 On Tue, Mar 22, 2011 at 10:31 AM, Stephen Price
 step...@littlevoices.com wrote:
  Is it me or do the Lenovo laptops look exactly the same as they did 20
 years
  ago?

 It's not just you.

 --
 Noon Silk

 http://dnoondt.wordpress.com/  (Noon Silk) |
 http://www.mirios.com.au:8081 

 Fancy a quantum lunch?
 http://www.mirios.com.au:8081/index.php?title=Quantum_Lunch

 Every morning when I wake up, I experience an exquisite joy — the joy
 of being this signature.





Re: [OT] Lightweight laptop for dev and demos

2011-03-21 Thread Grant Molloy
Well you can only lead a horse to water can't you !!

On Tue, Mar 22, 2011 at 10:55 AM, Stephen Price step...@littlevoices.comwrote:

 She got one for christmas and doesn't use it. (I think its a stable table
 clone. I wouldn't use it either). Pillows are so much handier... lol

 will have a look at a real stable table and see if they are any nicer than
 the horrible thing she got. The thought was there... (no, I didn't buy it)

 On Tue, Mar 22, 2011 at 8:51 AM, Grant Molloy graken...@gmail.com wrote:

 Stephen,
 Get her a stable table.. She sits it on her legs, and the laptop sits on a
 flat surface allowing the vents to breath !!


 On Tue, Mar 22, 2011 at 9:57 AM, Stephen Price 
 step...@littlevoices.comwrote:

 Thank goodness! Hell ugly laptops. Always have been. Maybe i'm just
 superficial. :)

 I was looking at the Vostro V130 Wallace recommended. Looks very nice. I
 get these Dell emails about the Vostro's all the time and to be honest I've
 always been underimpressed by them. I look at the business range and compare
 them to the XPS's or the Studio laptops and wonder if i'm missing something.
 Are the business laptops more targetted at the people who just use word and
 excel or something?

 Shopping around for a laptop my wife can use at the moment... The way she
 currently uses her (my old) XPS m1210, it needs to be small, light and NOT
 have all its fans on the bottom. It runs at 100% cpu a lot and I think its
 because she sits it on her lap on a pillow. Poor thing gets so damn hot
 having its air vents smothered by a pillow. I dare not say anything in case
 i'm next. (I'm kidding, I do dare saying something a lot. If I dissapear
 suddenly you'll know why...)
 Does the V130 have any vents on the bottom? It looks like there's one at
 the back but they have no pics of the bottom of the laptop on their site. It
 looks pretty slick laptop actually... I didn't see any options to configure
 it with an SSD hard drive. Ah well probably better to get an after market
 one anyway.
 On Tue, Mar 22, 2011 at 7:33 AM, Noon Silk noonsli...@gmail.com wrote:

 On Tue, Mar 22, 2011 at 10:31 AM, Stephen Price
 step...@littlevoices.com wrote:
  Is it me or do the Lenovo laptops look exactly the same as they did 20
 years
  ago?

 It's not just you.

 --
 Noon Silk

 http://dnoondt.wordpress.com/  (Noon Silk) |
 http://www.mirios.com.au:8081 

 Fancy a quantum lunch?
 http://www.mirios.com.au:8081/index.php?title=Quantum_Lunch

 Every morning when I wake up, I experience an exquisite joy — the joy
 of being this signature.







Re: IE9 RTW

2011-03-14 Thread Grant Molloy
On Tue, Mar 15, 2011 at 1:48 PM, David Burela david.bur...@gmail.comwrote:

 The final release Internet Explorer 9 is now available
 http://beautyoftheweb.com
 Go download it.


Why?? I have chrome !!


 Thoughts?
 I'm wondering if we'll start seeing smaller point releases (IE 9.5) as
 things get standardized. There has been a lot of talk about the release
 schedules of competing browsers (Firefox, Chrome).

 -David Burela



Re: I.T. resume

2011-03-09 Thread Grant Molloy
What's people's opinion of showing screenshots via internet links on resume
of apps they've built for companies ?
Most places have agreements where you can't take the app offsite, and you
can't really demo an app in an interview with employer or recruiter..


On Wed, Mar 9, 2011 at 3:44 PM, DotNet Dude adotnetd...@gmail.com wrote:

 Age is not appropriate IMO.

 On Wed, Mar 9, 2011 at 3:18 PM, Craig van Nieuwkerk crai...@gmail.comwrote:

 Depends on the audience, but if sending to a recruiter then have a
 'buzzword' matrix can't hurt. Then I have a recent jobs summary with
 buzzwords. Education at the end. Minimal personal info, just name and phone
 number (and age I think).

 Craig.


 On Wed, Mar 9, 2011 at 3:07 PM, Simon Kuldin 
 sim...@prism-solutions.com.au wrote:

  Hey everyone,



 Any advice on the best way to structure a resume for the I.T. industry?
 I’ve not needed a resume for a long time so I am a bit rusty J



 I do remember having a skills matrix at the beginning is very useful.





 *Simon Kuldin* | Senior Technical Consultant | *PRISM*

 Suite 3, 214 Bay St Brighton, VIC 3186, Australia

 *P:* %2B61%203%209596%208633+61 3 9596 8633 *M:* 0408 310 957 *W:*
 www.prism-solutions.com.au



 [image: prism-v5.jpg]

 *People.  Responsive.  Innovative.  Simple.  Methodical.*






image001.jpg

Re: I.T. resume

2011-03-08 Thread Grant Molloy
Don't forget to mention your 5yrs experience with .Net 4.0...


On Wed, Mar 9, 2011 at 2:44 PM, Winston Pang winstonp...@gmail.com wrote:

 lol, I agree with the buzzword matrix, when recruiters who use to call me
 about a Web Development role and include WPF and WinForms and C++ in the
 whole mix of it, I thought they were reading off a long list of crap.


 On Wed, Mar 9, 2011 at 3:18 PM, Craig van Nieuwkerk crai...@gmail.comwrote:

 Depends on the audience, but if sending to a recruiter then have a
 'buzzword' matrix can't hurt. Then I have a recent jobs summary with
 buzzwords. Education at the end. Minimal personal info, just name and phone
 number (and age I think).

 Craig.


 On Wed, Mar 9, 2011 at 3:07 PM, Simon Kuldin 
 sim...@prism-solutions.com.au wrote:

  Hey everyone,



 Any advice on the best way to structure a resume for the I.T. industry?
 I’ve not needed a resume for a long time so I am a bit rusty J



 I do remember having a skills matrix at the beginning is very useful.





 *Simon Kuldin* | Senior Technical Consultant | *PRISM*

 Suite 3, 214 Bay St Brighton, VIC 3186, Australia

 *P:* +61 3 9596 8633 *M:* 0408 310 957 *W:* www.prism-solutions.com.au



 [image: prism-v5.jpg]

 *People.  Responsive.  Innovative.  Simple.  Methodical.*






image001.jpg

Online Shopping Mall Platform

2011-02-16 Thread Grant Molloy
Hi everyone,

Just wondering whether anyone knows of a platform or product which will
cater for the creation of an online shopping mall, allowing my customers to
setup a shop, and sell their goods for a fee?
Effectively.. an Ebay clone platform..

thanks


Re: Online Shopping Mall Platform

2011-02-16 Thread Grant Molloy
thanks for the tips guys..
I've found this mob http://www.cs-cart.com which have a full MALL version of
their software..


On Thu, Feb 17, 2011 at 9:58 AM, David Connors da...@codify.com wrote:

 On 17 February 2011 09:37, David Connors da...@codify.com wrote:

 I know the guy who built this and it seems pretty comprehensive:
 http://www.shopping-cart-reviews.com/

 I can't recall ever seeing a 'meta' shopping cart/mall solution in my
 travels to be honest.


 Which goes to show how little I know. Apparently there are a few shopping
 mall products listed on that site if you look. The guy who runs the site
 operates an advisory service for $250 if you're interested (enquire on the
 site).

 --
 *David Connors* | da...@codify.com | www.codify.com
 Software Engineer
 Codify Pty Ltd
 Phone: +61 (7) 3210 6268 | Facsimile: +61 (7) 3210 6269 | Mobile: +61 417
 189 363
 V-Card: https://www.codify.com/cards/davidconnors
 Address Info: https://www.codify.com/contact




Re: Placeholders in large text file

2011-02-06 Thread Grant Molloy
Bec,

Read this article and download the demo..
It goes through several different options for find and replace in large
text strings..

http://www.codeproject.com/KB/string/fastestcscaseinsstringrep.aspx

Grant

On Mon, Feb 7, 2011 at 9:43 AM, Bec Carter bec.usern...@gmail.com wrote:

 On Mon, Feb 7, 2011 at 10:35 AM, Noon Silk noonsli...@gmail.com wrote:
  On Mon, Feb 7, 2011 at 10:29 AM, Bec Carter bec.usern...@gmail.com
 wrote:
  On Mon, Feb 7, 2011 at 10:25 AM, Noon Silk noonsli...@gmail.com
 wrote:
  On Mon, Feb 7, 2011 at 10:21 AM, Bec Carter bec.usern...@gmail.com
 wrote:
  Good mornin' all!
 
  I've a requirement to put certain values (after computing them) in
  various spots in a very large text file. So basically the starting
  text file can have placeholders where these computed values will end
  up- like a template. Then my code will compute some values based on
  user input and i need to fill in the placeholders.
 
  Is there a better way to do this besides a simple string replace?
 
  Well, no. You'll need to read the file in and find your tokens and
  replace them. Depending on how large the file it, you might need to do
  this line by line, or chunk by chunk, writing out as you read in, but
  inevitably it comes down to looking for a sequence and replacing it
  with another.
 
  How large is very large? Megs? Gigs?
 
 
  Yup reading all into a string right now and replacing. File is around
 750 megs
 
  Mm, in that case I would definitely think reading in chunk by chunk
  would be better.
 
  So, you read in chunks of chars in a char[], and then you must look
  for the start of your token. Taking care to note that you could end up
  in the middle of your token, something like:
 
  // Pseudocode
  char[] data = { $te }
  char[] nextData = { st$ }
 
  Where the token is $test$.
 
  Depending on your data, it might be that reading lines is enough, and
  do the replace on that basis. Hopefully this is somewhat clear. I had
  a quick search and couldn't find a nice example on doing this, but it
  should be easy enough using StreamReader or friends. If it's not clear
  I can show an example later on.
 

 That's fine thanks. Line by line would be ok as the data will never be
 broken up and flow onto the next line.

 I was kinda hoping there'd be something specifically built for this-
 seems like I'm creating mail merge all over again :-)

  --
  Noon Silk
 
  http://dnoondt.wordpress.com/  (Noon Silk) |
 http://www.mirios.com.au:8081 
 
  Fancy a quantum lunch?
  http://www.mirios.com.au:8081/index.php?title=Quantum_Lunch
 
  Every morning when I wake up, I experience an exquisite joy — the joy
  of being this signature.
 



Re: Looking for 19inch server rack

2011-02-02 Thread Grant Molloy
Keep an eye on Grays Online http://www.graysonline.com/..
Racks sometimes come up ..

On Thu, Feb 3, 2011 at 9:52 AM, David Boccabella 
davidboccabe...@anubis-systems.com wrote:

 Hi Folks

 I'm on the scavenge. I am looking for an old server rack poss 42RU + and at
 least 900mm deep. Condition does not have to be perfect either. Essentially
 I have 4 standard non-rack servers and I need to be able to shelve them. I
 will be moving to rackable equip in time.
 Not worried about covers, doors etc though they would be a bonus.

 I'm happy to pay something for it, and the transport costs. I am in
 Brisbane
 so please no interstate offers. I have looked on eBay also and likewise
 anything interesting is interstate.

 My office is being moved and I am on a tight budget to fit everything in
 (Myself, Desk, and 4 servers)

 Many thanks
 Dave


 
 David J. Boccabella
 Proprietor
 Anubis Systems
 Phone: 0433 808 525
 Fax: 3200 0085
 Email:  davidboccabe...@anubis-systems.com

 This e-mail and it's contents is confidential to Anubis Systems.
 This e-mail, any attachments, or any part of can not be reproduced
 without the express written permission of Anubis Systems
 






Re: Why DVCS, was Re: TFS Feedaback? Anyone moved away from it?

2010-11-04 Thread Grant Molloy
Putting the flavour of your DVCS aside for the moment...
How secure do you feel having all your code, IP, etc, sitting on somebody
elses servers ?
If they shut up shop tomorrow, do you keep a local copy of everything too ??
What cost per month are you paying to have it hosted *in the cloud* ?
(sounds so Web 3.0 !!).

Grant

On Fri, Nov 5, 2010 at 9:11 AM, David Russell druss...@iress.com.au wrote:

 Hi, I would just like to say I disagree with this assessment of merging in
 TFS.

 In TFS, you would also merge the 19 changes from Trunk into the Feature
 branch first, resolve conflicts  checkin, then merge Feature branch back
 into Trunk. This generally works well. Cherry-picking merges is a different
 story, but can also be straightforward.

 It is true that a merge results in a new single 'mushed' changeset in the
 target, but this doesn't mean you lose the context of the original checkins
 - In VS 2010, the History view shows the originating changesets as a tree
 (even after the source branch has been deleted), and the Branch
 Visualisation tool can help you track a changeset across multiple branches.

 That isn't to say TFS is without its problems. The trouble we have with TFS
 merges tends to be with deletes, renames, changes you DON'T want to merge,
 partial merges (for changesets that span multiple branch-points), forgetting
 to Get Latest of a target branch before merging, rollbacks, cherry-picking
 non-sequential changesets, and occasionally poor auto-merging. Thankfully,
 some of this has substantially improved in TFS 2010 since they changed to
 'slot' mode when dealing with deletes, renames, and undeletes, as well as a
 proper rollback command. But these problems only occur occasionally and we
 manage to deal with them.

 I have not used other source control systems (other than VSS - does that
 count? ;) so maybe I am missing something in the comparison, but as someone
 who comes from a background of merging code _manually_ for many years, I
 think TFS merging is generally fine I don't think it is broken.

 Branch Visualization:
 http://www.edsquared.com/2010/03/17/Branching+And+Track+Changes+Visualization+In+TFS+2010+Is+Awesome.aspx
 'Slot' mode:
 http://blogs.msdn.com/b/mitrik/archive/2009/05/28/changing-to-slot-mode-in-tfs-2010-version-control.aspx


 -Original Message-
 From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
 On Behalf Of Paul Stovell
 Sent: Thursday, 4 November 2010 6:11 PM
 To: ozDotNet
 Subject: RE: Why DVCS, was Re: TFS Feedaback? Anyone moved away from it?

  Broken how?

 Let's say you decide to implement a new feature in a TFS branch. You branch
 the trunk to FeatureX. Over the course of a week, you make 13 check-ins to
 that branch. During this time, the rest of your team made another 19 changes
 to the trunk. The feature is now stable, so you decide to merge. In TFS,
 this is done by doing a giant compare on the two directories, AND'ing them
 together, and seeing what falls out. You aren't just merging a check-ins -
 you're merging the state of two file system directories after 32 different
 check ins in a single attempt - you better get it right, because if you get
 90% of the way in and screw it up, it will take a long time to recover.

 When you're done merging, you're left with  a huge pending check in that
 touches every file involved in those 13 commits. You have to come up with a
 nice paragraph that sums up the 13 changes you're mushing in, because when
 you delete the branch, you'll probably lose the history of those branched
 changes. You should also remember to associate it with all of the work
 items/bugs/stories those 13 check ins touched, since this huge check in is
 really associated with all of them.

 In Mercurial it works different. You'd pull the 19 changes made to the
 trunk to your local repository - they'd be replayed, one-by-one, against
 your files. You'll still do the merges (leaving alone that Mercurial does a
 much better job of merging than TFS out of the box), but since you're
 dealing with one or two commits at a time, the merges are pretty simple, and
 if you screw up, you don't have to start the whole thing again. Once you've
 merged the trunk into your branch, you'd just push everything back to trunk.
 Now all the changes are replayed against trunk, and trunk has all 32
 commits, with their history and dates exactly as you wrote them when you
 checked them in during the week. It's a much more elegant model.

 Paul

 -Original Message-
 From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
 On Behalf Of silky
 Sent: Thursday, 4 November 2010 4:51 PM
 To: ozDotNet
 Subject: Re: Why DVCS, was Re: TFS Feedaback? Anyone moved away from it?

 On Thu, Nov 4, 2010 at 5:40 PM, Paul Stovell paul.stov...@readify.net
 wrote:
  Hi Silky,
 
  I think in some ways you have to experience it - the proof is in the
  tasting. But here are some things I like about it that work even for
  small, 

Re: Why DVCS, was Re: TFS Feedaback? Anyone moved away from it?

2010-11-04 Thread Grant Molloy
Hi Silky,
Wasn't directed directly at you, but at anyone who wants to provide an
answer...

Wow... $90 a month IS expensive.. but tax deductible !!


On Fri, Nov 5, 2010 at 9:59 AM, silky michaelsli...@gmail.com wrote:

 On Fri, Nov 5, 2010 at 10:54 AM, Grant Molloy graken...@gmail.com wrote:
  Putting the flavour of your DVCS aside for the moment...
 
  How secure do you feel having all your code, IP, etc, sitting on
 somebody
  elses servers ?
 
  If they shut up shop tomorrow, do you keep a local copy of everything too
 ??
  What cost per month are you paying to have it hosted *in the cloud* ?
  (sounds so Web 3.0 !!).

 Who is this directed to? Me? (because I've got SVN hosted at amazon?)

 I feel fine. I've got backups of all my code on two drives anyway, and
 of course I have it all on my laptop.

 If Amazon shut up shop tomorrow, I'll lose a bit of data, but not much
 else.

 Any reasonable person has backups ...

 The server I have cost ~90 per month. It's expensive.


  Grant

 --
 silky

 http://dnoondt.wordpress.com/

 Every morning when I wake up, I experience an exquisite joy — the joy
 of being this signature.



Fwd: [ozalt.net] Source control hosting poll

2010-11-04 Thread Grant Molloy
-- Forwarded message --
From: David Burela david.bur...@gmail.com
Date: Fri, Nov 5, 2010 at 1:18 PM
Subject: [ozalt.net] Source control hosting poll
To: ozaltdotnet ozaltdot...@googlegroups.com


Scott Hanselmann just tweeted this URL
http://hnsl.mn/a4b7LZ

a quick 30 second survey on where do you host your open source project code.
The results were interesting, lots being hosted on git, but mercurial/git
usage is about equal to each other.

-David Burela

-- 
You received this message because you are subscribed to the ozaltdotnet
group.
To post: send an email to ozaltdot...@googlegroups.com
To unsubscribe: send an email to
ozaltdotnet+unsubscr...@googlegroups.comozaltdotnet%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/ozaltdotnet?hl=en-GB

Find us on the web at http://ozalt.net


RE: Alternative way of using too many else if's when using if?

2010-10-26 Thread Grant Molloy
Easiset way may be to create 2 new classes which implement the interface, ie 
BookA and CustomerA.  Each of these classes would then inherit their original 
classes, ie. Class BookA Implements IDisplayInterface and Inherits Book.
This way you get all the props of original Book class without modifying that 
generated object, plus the new features of interface..

-original message-
Subject: RE: Alternative way of using too many else if's when using if?
From: Nathan Stayte nat...@sdc.net.au
Date: 27/10/2010 1:33 pm

Stackoverflow has an example of how to do what you want
http://stackoverflow.com/questions/298976/c-is-there-a-better-alternative-than-this-to-switch-on-type

Nathan.




I need to do something similar to do this :

if (e.Value  is Book)
{
e.Value = (e.Value as X).Title;

}
else if (e.Value is Customer)
{
e.Value = (e.Value as Customer).FullName;
}
else
{
e.Value = Unknown;
}
etc.

in DataGridView_CellFormatting even, but it just looks plain ugly. is
there way to do this in a more structured manner?

Regards

Arjang




Re: Remote control hardware / software

2010-09-23 Thread Grant Molloy
Just send an SMS to one of the dancing girls !!

On Fri, Sep 24, 2010 at 3:50 PM, mike smith meski...@gmail.com wrote:

 On 24 September 2010 15:21, Glen Harvy g...@aquarius.com.au wrote:

  Hi,

 I have received a few requests for a hardware / software solution that
 will allow a user to enter a PIN at a remote unattended site that will then
 contact via a wireless connection my software located off-site and providing
 the PIN is accepted, at least allow a door/gate to be opened, lights come
 on, dancing girls flash their tits etc etc etc.

 Does anyone know of such a beast available within Australia that will do
 such a thing via a suitable wireless interface?


 DO you have cost constraints?   I'm thinking too, if there are dancing
 girls, can you really claim it's unattended?  (if it is, the problems are
 going to be vandalism and people hacking it)  (Look at the construction of
 modern outdoor public phones, they're built like tanks)


 Thanks,

 Glen Harvy.




 --
 Meski

 Going to Starbucks for coffee is like going to prison for sex. Sure,
 you'll get it, but it's going to be rough - Adam Hills



Re: Charting with WPF and Linq

2010-09-02 Thread Grant Molloy
Dylan,

Try these WPF  Silverlight chart controls..
http://www.visifire.com/

http://www.visifire.com/Grant

On Wed, Sep 1, 2010 at 1:49 PM, Dylan Tusler 
dylan.tus...@sunshinecoast.qld.gov.au wrote:

 __
 [image: Sunshine Coast Regional Council]http://www.sunshinecoast.qld.gov.au/

 I have a .NET 3.5 WPF app (working on it in VS2010).

 On one of the windows, is a grid that is populated with data from an
 in-memory LINQ to SQL object (the hard way, in code instead of in bindings.)

 I am trying to drop a simple line graph underneath it, and am struggling to
 find a good example.

 Most web sites I've found are either talking about creating a chart
 completely from scratch in XAML. I haven't seen any examples of creating a
 chart and populating it via C#. I'm using the WPF Chart control, which seems
 pretty good.

 My datasets are pretty small, so I was thinking I'd just create a
 PointCollection and populate it with Point objects that represent each data
 point, but since my graph is a series over time, I can't see how I get a
 value (Y) and date (X) value into a point in .NET 3.5. I would then assign
 the PointCollection to a Series that I've already created, and set the
 minimum and maximum values for the Axes accordingly. (My X axis is already
 set up with dates, and that seems to work. Just can't get the Point to
 accept a date.)

 I feel like I'm on the wrong track and there should be some better way. Can
 I just use the DataContext of the chart directly?

 Am I missing something basic? There doesn't seem to be any good examples of
 doing this anywhere that I can find.

 Cheers,

 Dylan Tusler


 --
 To find out more about the Sunshine Coast Regional Council, visit your
 local office at Caloundra, Maroochydore, Nambour or Tewantin or visit us
 online at www.sunshinecoast.qld.gov.au.  If correspondence includes
 personal information, please refer to Council's Privacy 
 Policyhttp://www.sunshinecoast.qld.gov.au/sitePage.cfm?code=disclaimer
 .

 This email and any attachments are confidential and only for the use of the
 addressee.  If you have received this email in error you are requested to
 notify the sender by return email or contact council on 1300 00 7272 and are
 prohibited from forwarding, printing, copying or using it in anyway, in
 whole or part. Please note that some council staff utilise Blackberry
 devices, which results in information being transmitted overseas prior to
 delivery of any communication to the device. In sending an email to Council
 you are agreeing that the content of your email may be transmitted overseas.
 Any views expressed in this email are the author's, except where the email
 makes it clear otherwise. The unauthorised publication of an email and any
 attachments generated for the official functions of council is strictly
 prohibited. Please note that council is subject to the Right to Information
 Act 2009 (Qld) and Information Privacy Act 2009 (Qld).



Re: IIS Log Reader

2010-08-17 Thread Grant Molloy
As long as it's a big one !!!

On Wed, Aug 18, 2010 at 4:06 AM, Joseph Cooney jos...@learnwpf.com wrote:

 Thanks for the kind words grant. If anyone has any feature requests other
 than 'less crashy' I'm all ears.

 I've made the cheque out to 'Grant Molloy' - I hope this is OK ;-)
 Joseph

 On Tue, Aug 17, 2010 at 4:05 PM, Grant Molloy graken...@gmail.com wrote:

 Thought I would share with this little gem of a product I found hiding in
 my RSS feeds released by Joseph Cooney, author of LearnWpf.com..


 http://jcooney.net/post/2010/08/03/Announcing-my-latest-side-project-logEnvy-bringing-e28098sexye28099-to-windows-and-IIS-logs.aspx


 ___
 ozsilverlight mailing list
 ozsilverli...@ozsilverlight.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight



 ___
 ozsilverlight mailing list
 ozsilverli...@ozsilverlight.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight




Re: Dependency Injection

2010-08-05 Thread Grant Molloy
This article provides some options..
http://www.sqlservercentral.com/articles/T-SQL/61918/
http://www.sqlservercentral.com/articles/T-SQL/61918/

On Thu, Aug 5, 2010 at 7:56 PM, Maddin, Peter 
peter.mad...@pathwest.wa.gov.au wrote:

  I am experimenting with Dependency Injection in the Microsoft CAB
 framework.



 From http://blog.irm.se/blogs/home.aspx?App=ericp=11



 Who says



 In this post I'm back covering the CreateNew attribute that you can use in
 a class that is instantiated by 
 ObjectBuilderhttp://www.codeplex.com/Wiki/View.aspx?ProjectName=ObjectBuilder.
 Marking a property (or parameter to a method or constructor) with the
 CreateNew attributes will set that property to an instance of the object.
 The instance itself will of course be built by the ObjectBuilder too. A
 great example of when to use this functionality is if you want to implement
 your GUI with for example the Model View Presenter (MVP) design pattern. I
 will only focus on the View and Presenter here.



 I have this basic piece of code



 private ContentPresenter _contentPresenter;



 [CreateNew]

 public ContentPresenter Presenter

 {

 get { return _contentPresenter; }

 set { _contentPresenter = value;}

 }



 The objectBuilder may instantiate the ContentPresenter for me but I suspect
 it wil use the the default parameterless constructer (or expect one).



 How can I pass a parameter (in this case a reference to my view that
 implements the interface that will be used

 By my presenter.



 I have a solution that does not use Dependency Injection but would like the
 advantages of loose coupling if possible.



 Has anyone played (sorry used) the ObjectBuilder in the CAB framework for
 dependancy injection of this type and if so how can it be used to specify a
 constructor with a parameter.



 I have looked at the attributes here
 http://www.ikriv.com/en/prog/info/dotnet/CabDependencyInjection/DependencyAttributes.html#CreateNew



 But that has not helped me much (actually not at all in fact).



 I am a sub novice (if one can get that low) with Dependancy Injection.



 *Regards Peter Maddin*
 *Applications Development Officer*
 *Path**West Laboratory Medicine WA*
 *Phone : +618 9473 3944*
 *Fax : +618 9473 3982*
 *E-Mail : peter.mad...@pathwest.wa.gov.au*
 *The contents of this e-mail transmission outside of the WAGHS network are
 intended solely for the named recipient's), may be confidential, and may be
 privileged or otherwise protected from disclosure in the public interest.
 The use, reproduction, disclosure or distribution of the contents of this
 e-mail transmission by any person other than the named recipient(s) is
 prohibited. If you are not a named recipient please notify the sender
 immediately.*





Re: Dependency Injection

2010-08-05 Thread Grant Molloy
oops.. replied to wrong email..
pls ignore in this discussion.

On Fri, Aug 6, 2010 at 1:40 PM, Grant Molloy graken...@gmail.com wrote:

 This article provides some options..
 http://www.sqlservercentral.com/articles/T-SQL/61918/
 http://www.sqlservercentral.com/articles/T-SQL/61918/

 On Thu, Aug 5, 2010 at 7:56 PM, Maddin, Peter 
 peter.mad...@pathwest.wa.gov.au wrote:

  I am experimenting with Dependency Injection in the Microsoft CAB
 framework.



 From http://blog.irm.se/blogs/home.aspx?App=ericp=11



 Who says



 In this post I'm back covering the CreateNew attribute that you can use in
 a class that is instantiated by 
 ObjectBuilderhttp://www.codeplex.com/Wiki/View.aspx?ProjectName=ObjectBuilder.
 Marking a property (or parameter to a method or constructor) with the
 CreateNew attributes will set that property to an instance of the object.
 The instance itself will of course be built by the ObjectBuilder too. A
 great example of when to use this functionality is if you want to implement
 your GUI with for example the Model View Presenter (MVP) design pattern. I
 will only focus on the View and Presenter here.



 I have this basic piece of code



 private ContentPresenter _contentPresenter;



 [CreateNew]

 public ContentPresenter Presenter

 {

 get { return _contentPresenter; }

 set { _contentPresenter = value;}

 }



 The objectBuilder may instantiate the ContentPresenter for me but I
 suspect it wil use the the default parameterless constructer (or expect
 one).



 How can I pass a parameter (in this case a reference to my view that
 implements the interface that will be used

 By my presenter.



 I have a solution that does not use Dependency Injection but would like
 the advantages of loose coupling if possible.



 Has anyone played (sorry used) the ObjectBuilder in the CAB framework for
 dependancy injection of this type and if so how can it be used to specify a
 constructor with a parameter.



 I have looked at the attributes here
 http://www.ikriv.com/en/prog/info/dotnet/CabDependencyInjection/DependencyAttributes.html#CreateNew



 But that has not helped me much (actually not at all in fact).



 I am a sub novice (if one can get that low) with Dependancy Injection.



 *Regards Peter Maddin*
 *Applications Development Officer*
 *Path**West Laboratory Medicine WA*
 *Phone : +618 9473 3944*
 *Fax : +618 9473 3982*
 *E-Mail : peter.mad...@pathwest.wa.gov.au*
 *The contents of this e-mail transmission outside of the WAGHS network
 are intended solely for the named recipient's), may be confidential, and may
 be privileged or otherwise protected from disclosure in the public interest.
 The use, reproduction, disclosure or distribution of the contents of this
 e-mail transmission by any person other than the named recipient(s) is
 prohibited. If you are not a named recipient please notify the sender
 immediately.*







Re: Mixing development software versions

2010-08-03 Thread Grant Molloy
Greg,

Ensure that you have the VMWare Tools installed in the VM Client.

Grant

On Wed, Aug 4, 2010 at 9:20 AM, Greg Keogh g...@mira.net wrote:

  Folks, I’m preparing for the big migration of all of my projects to
 VS2010, Framework 4 and Silverlight 4. I built a Win7 in WMWare with the
 latest software development installed so I could rebuild and test everything
 in parallel with my real work. Unfortunately, problems with the mouse and
 stalls in VM are ruining my plans.



 Win7 has a terribly “jittery” mouse in the VM which requires the VMWare
 drivers be installed to correct the problem. However, the installation of
 these drivers causes the VM to freeze dead randomly every 5-10 minutes. It
 seems to freeze when I am manipulating opening and closing tree control
 nodes in Windows Explorer and the VS2010 solution pane. I spent hours
 researching this problem and found that if I only install the mouse and
 video drivers then the problem only happens every 20-30 minutes. This is
 still unacceptable.



 I continue to search for a way of making the Win7 VM stable, but no luck so
 far. This isn’t a .NET related problem, but I’d love to hear from anyone
 else who has suffered from this problem and solved it.



 My other option is to not us a VM and install VS2010, Framework 4 and
 Silverlight 4 and all of the supporting kits on my work machine alongside
 their previous versions. Cramming everything together gives me a creepy
 feeling. Before I consider doing this, I just wanted to ask if this is
 acceptable in theory and in practise. Has anyone got everything installed
 side-by-side and can report success or side effects.  I don’t want to
 destroy the machine I use to make a living.



 Greg



Re: [OT] Friday - Recruiters

2010-07-29 Thread Grant Molloy
I guess if you were playing with the Alpha and Beta releases of .Net 4, then
it's possible you've got about 2 yrs experience with it..


On Thu, Jul 29, 2010 at 11:39 PM, silky michaelsli...@gmail.com wrote:

  I was at an Australian (alleged) News site where they have job ads from
  their sister sites/sponsors in one of the columns, one was for a Senior
  .NET Role, so I thought I'd have a sticky beak... The first requirement
 was:
 
  5-10 years in C#.Net 2.0-3.5
 
  VS2005 release was October 2005, with the 2.0 Framework Redistributable
  made available in Jan 2006
 
  Why why why?

 Mm, I saw something similar (2 years in C# 4.0 or something).

 It's arguably interesting. I mean, there are a few solutions to the
 problem:

  1/ Recruiters hire programmers to vet all their jobs ad's
   - Cons: Expensive, time consuming
   - Pros: Hopefully acurate

  2/ Recruiters do research themselves and get everything correct
   - Even more time consuming than the above, and probably less accurate

  3/ Recruiters take requirements from clients, publish them in an
 'appropriate fashion' and hope people 'get the idea'
   - Current process

  4/ Some magical scheme whereby the positions are posted in such a way
 that errors are impossible (i.e. the job website deals with it), or
 any other scheme I can't think of
   - Not currently available

 Clearly, the most likely situation is 3. If only for the reason that
 it applies to all fields and not only programming. I think we can all
 agree that there is, generally, a different set of skills required in
 the recruiting business as compared to the given business they recruit
 in. As a pipe to the companies they are arguably efficient (from both
 ends). Now, if people are being rejected by recruiters for not
 *having* 10 years experience in .NET N.M, then that's not good. But in
 my experience, this is not the case. I hope I've bored you enough with
 this response. I'll go back to watching Star Trek now.

 --
 silky

 Every morning when I wake up, I experience an exquisite joy — the joy
 of being this signature.



Re: Anyone used any 3rd party diagramming tools

2010-07-15 Thread Grant Molloy
Tangible Engineering
http://www.tangible-engineering.com/products_overview.html have a product
for this.. Their modelling tools are installed as templates within Visual
Studio..

http://t4-editor.tangible-engineering.com/T4-Editor-Visual-T4-Editing.htmlThey
also have T4 editor templates..

[image: mwsnap_0030.jpg]

On Fri, Jul 16, 2010 at 7:30 AM, Neil Young neildavidyo...@gmail.comwrote:

 Hey everyone,

 Just a quick one, wondering if anyone has used any 3rd party
 diagramming tools?  We have a .Net 4 web abb that we want to generate
 reports showing relationships between things, and it would be nice to
 generate an image in the report.  We don't necessarily need to have
 them customise the drawing just render it.  Here's an example of one I
 found:

 http://www.syncfusion.com/products/user-interface-edition/aspnet/Diagram

 Anyone else used any or have any comments?

 Cheers,

 Neil.

mwsnap_0030.jpg

Re: [OT] 2560x1600 widescreen LCDs

2010-07-04 Thread Grant Molloy
umart.com.au

http://www.umart.com.au/pro/products_listnew.phtml?id=10id2=143bid=2sid=47197
http://www.umart.com.au/pro/products_listnew.phtml?id=10id2=143bid=2sid=47197
http://www.umart.com.au/pro/products_listnew.phtml?id=10id2=143bid=2sid=51466

http://www.umart.com.au/pro/products_listnew.phtml?id=10id2=143bid=2sid=51466They
have 4 shops in Bris, and 1 in Vic..
MSY.com.au had the same models at a similar price..


On Sat, Jul 3, 2010 at 10:36 PM, Greg Keogh g...@mira.net wrote:

   I've recently purchased 2 x 23 wide screen LG LCD's for $200 each..
 46 of widescreen for $400.. much better than $1500 for 30..



 Where? – Greg (tell me off-list if it’s a national secret)





  1   2   >