RE: Advice to Microsoft (not mine - the IT press and developer blogosphere)

2014-02-13 Thread Williams, Thomas
Hey Scott - I have to admit I'm not particularly imaginative - if you were 
building the internet from scratch, what do you think would be better than 
JavaScript?

Does this product exist?

Thomas



From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Scott Barnes
Sent: Friday, 14 February 2014 11:42 AM
To: ozDotNet
Subject: Re: Advice to Microsoft (not mine - the IT press and developer 
blogosphere)

David: I think the words your seeking are JavaScript Stockholm Syndrome .. I 
object strongly to a language who's surrounded by frameworks that are hell bent 
on abstracting developers from the said language as much as possible because 
the said language is so far behind the evolution curve. Had JS moved to ECMA4 - 
ECMA6 ..sure.. i'll play along but this JS ciricle jerk that's going on because 
everyone's given the defeatist attitude... bleh...

And yes, I will concede I see my future with me standing on the roadside way 
WILL CODE JS FOR CRACK...




---
Regards,
Scott Barnes
http://www.riagenic.com

On Fri, Feb 14, 2014 at 9:23 AM, David Connors 
da...@connors.commailto:da...@connors.com wrote:
On Fri, Feb 14, 2014 at 8:42 AM, Scott Barnes 
scott.bar...@gmail.commailto:scott.bar...@gmail.com wrote:
better, faster?  O.o... did you just say JavaScript is better than WPF? 
.

I said 'someone's 10kb of JS is better.

JavaScript is just Internet assembly language. It's the frameworks that matter.

I used to hate JS with a passion, but the momentum around it is undeniable and 
the things people accomplish with frameworks on top of it are staggering.


David Connors
da...@connors.commailto:da...@connors.com | M +61 417 189 
363tel:%2B61%20417%20189%20363
Download my v-card: https://www.codify.com/cards/davidconnors
Follow me on Twitter: https://www.twitter.com/davidconnors
Connect with me on LinkedIn: http://au.linkedin.com/in/davidjohnconnors





Peninsula Health - Metropolitan Health Service of the Year 2007  2009


RE: Windows forgetting app passwords

2013-05-05 Thread Williams, Thomas
Does your work have a web proxy?

Thomas

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of David Connors
Sent: Monday, 6 May 2013 7:08 AM
To: ozDotNet
Subject: Windows forgetting app passwords

Howdy,

Nothing to do with .NET but I thought I would throw this out there and see if 
anyone has any ideas.

I have a number of apps that have their own password stored in them (Lync, 
GTalk, etc) that I set to auto-sign-on when I log into my work PC.

Whenever my domain password expires, all of these apps forget their credentials 
on the next logon and I have to set them all again and tick 'sign in 
automatically'.

Does anyone else see this behaviour or know what causes it? The search terms 
are obviously pretty spammy in Google.

David Connors
da...@connors.commailto:da...@connors.com | M +61 417 189 363
Download my v-card: https://www.codify.com/cards/davidconnors
Follow me on Twitter: https://www.twitter.com/davidconnors
Connect with me on LinkedIn: http://au.linkedin.com/in/davidjohnconnors


RE: [OT] Surface RT or Surface Pro?

2013-04-01 Thread Williams, Thomas
Wow Tony - great quote!

Thomas

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Tony Wright
Sent: Tuesday, 2 April 2013 12:04 PM
To: ozDotNet
Subject: Re: [OT] Surface RT or Surface Pro?

actually that said, you pay for what you get. The WinRT device is quite 
limiting, and its only when you hit those limitations that you will feel the 
regret. If you want full flexibility, then you would be better off with the Pro 
device.

Reminds me of a quote:
It's unwise to pay too much, but it's worse to pay too little. When you pay too 
much, you lose a little money - that is all. When you pay too little, you 
sometimes lose everything, because the thing you bought was incapable of doing 
the thing it was bought to do. The common law of business balance prohibits 
paying a little and getting a lot - it can't be done. If you deal with the 
lowest bidder, it is well to add something for the risk you run, and if you do 
that you will have enough to pay for something better.
On Tue, Apr 2, 2013 at 11:38 AM, James Chapman-Smith 
ja...@chapman-smith.commailto:ja...@chapman-smith.com wrote:
I want a fairly portable device that is easier to lug around than my current 
laptop. I expect to get a light-weight device that I can remote into my 
workstations. I anticipate replacing my single laptop with two desktop machines 
- one for work and one for home - and the Surface then becomes my traveling 
device and something that I can place beside the bed to watch TV at night or 
use on the couch to check emails, update facebook, etc. I'll also use the 
Surface as a note taking device at seminars/conferences.

From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com 
[mailto:ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Ken Schaefer
Sent: Tuesday, 2 April 2013 10:26
To: ozDotNet
Subject: RE: [OT] Surface RT or Surface Pro?

Do you have any requirements or wants from the device that you're buying?

Cheers
Ken

From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com 
[mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of James Chapman-Smith
Sent: Tuesday, 2 April 2013 10:50 AM
To: ozDotNet
Subject: [OT] Surface RT or Surface Pro?

Hi Folks,

I'm thinking about getting myself either a Surface RT or a Surface Pro (or 
maybe some other alternative). Every time I think about it I convince myself 
that one is better than the other but then the next time I flip.

What are everyone's thoughts?

Should I get a Surface RT or a Surface Pro? Should I get a surface at all? How 
much memory should I get?

I thank you for your well thought out ideas in advance.

Cheers.

James.



Peninsula Health - Metropolitan Health Service of the Year 2007  2009


RE: Encryption

2013-03-21 Thread Williams, Thomas
An oldy but a goody - 
http://www.codeproject.com/Articles/10154/NET-Encryption-Simplified

Thomas


From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Stephen Price
Sent: Friday, 22 March 2013 1:06 PM
To: ozDotNet
Subject: Encryption

Hey all,

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

...which allows you to encrypt data using information from the current user 
account or computer. 

I'm using ProtectedData to encrypt and decrypt passwords so they can be stored 
in database encrypted, but they want to be able to see what the password is for 
administrators. It all works great except when a user logs in (using a custom 
principal, not the user who did the encryption.. ie the Admin) and it doesn't 
work as the user is different, or the machine is different.

I'm looking for a way to encrypt and decrypt at an app level rather than 
user/machine level. Don't mind if keys are involved. Anyone done this and is 
there a framework class somewhere for that?

cheers,
Stephen


Peninsula Health - Metropolitan Health Service of the Year 2007  2009


RE: [OT] sql convert datetime problem; forcing order of AND statements

2012-10-29 Thread Williams, Thomas
As an alternative to CTE/subselect, you could do something like below. Not sure 
of the implications on indexing:

--temp table
DECLARE @temp TABLE ( 
[Value] VARCHAR(15) 
) 

--populate 
INSERT INTO @temp 
SELECT '28-Nov-2012' UNION ALL 
SELECT '28-Nov-2012' UNION ALL 
SELECT 'blah' 

SELECT  [Value] 
FROM@temp 
WHERE   --only convert if date - comparisons to NULL return NULL 
CONVERT(DATE, CASE WHEN ISDATE([Value]) = 1 THEN [Value] ELSE NULL END) 
 GETDATE()

Thomas


-Original Message-
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Davy Jones
Sent: Monday, 29 October 2012 11:47 PM
To: ozDotNet
Subject: Re: [OT] sql convert datetime problem; forcing order of AND statements

As far as I am aware, and coming from a time when we didn't have optimisers. 
All parts are evaluated

A part, in the case of a case else is is the statement as a whole.

Select * from t where Id = 3 and date  1997

Without the optimiser,   It does

Date  1997
Id = 3
Select *

With the optimiser it does
Id =3
Date  1997
Select *

The example provided I have no idea which the optimiser thinks is more 
performant, the point being you can't write standard logic in SQL, all parts 
are executed.  A select case is a special construct to get around the problems.

I would not like to do the convert date on a string of characters over and over 
any way. Are all these dates stored in the same way?

Davy


Sent via telegraph.

On 29 Oct 2012, at 10:25, Les Hughes l...@datarev.com.au wrote:

 Davy Jones wrote:
 Hi

 SQL always executes right to left
 Are you talking about boolean evauluation? If so... False. (At least 
 for 2008 R2 which I have in front of me)
 --
 Les Hughes
 l...@datarev.com.au

Peninsula Health - Metropolitan Health Service of the Year 2007  2009


RE: Anyone using structs in C# Business Applications?

2012-08-16 Thread Williams, Thomas
Hi Arjang, my experience sounds close to yours: DB to WinForms/ASP.NET business 
apps, and no need for structs.

Thomas


From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Arjang Assadi
Sent: Friday, 17 August 2012 10:53 AM
To: ozDotNet
Subject: Anyone using structs in C# Business Applications?

Hello

I have found myself not needing to use structs for any reason in the vanilla 
business apps ( DB to front end WindosForms,WPF,ASP.net etc) for past 7 years 
or so.
All BO's are classes, and I can't think of anything more fine grind than that.

Unless I have been missing something, my question is to Business App writers, 
do you use structs any where for any reasons?

In all the usuall VS demos I have not seen structs being used ( graphics demos 
do not count!)

Regards

Arjang



Peninsula Health - Metropolitan Health Service of the Year 2007  2009


RE: ASP.NET modal dialog effect

2012-07-16 Thread Williams, Thomas
Hi Greg - I'd say it would be worth the overhead to include jQuery and a 
pop-up/modal like http://swip.codylindley.com/DOMWindowDemo.html

Can pop-up using an IFRAME to contain another page, or a DIV on the current 
page, or via AJAX.

However it's a client solution, nothing to do with ASP.NET server-side code.

Thomas


From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Greg Keogh
Sent: Tuesday, 17 July 2012 9:55 AM
To: 'ozDotNet'
Subject: ASP.NET modal dialog effect

Folks, we have a traditional ASP.NET page with a need for a popup product 
picker. We need that mock modal dialog effect you get (for example) in Gmail 
where you do things like Export Contacts, create New Group, etc. Gmail even has 
a nice effect where the background disables and the popup has a drop shadow and 
a close X button to simulate a real model window in a web page.

What is the quickest and least painful way of getting this modal dialog effect 
in an ASP.NET page?

My previous experience with Javascript and ASP.NET combined has been a 
nightmare of quirks and failure trying to manage the lifetime and interaction 
of the two. So I'm hoping there are some kits or tools to help me. Any advice 
would be greatly appreciated so I can knock-up a demo asap.

Thanks
Greg


Peninsula Health - Metropolitan Health Service of the Year 2007  2009


RE: Mornington Peninsula Developers

2012-05-03 Thread Williams, Thomas
Hi Mitch - that's where I live.

Thomas


From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Mitch Denny
Sent: Thursday, 3 May 2012 1:28 PM
To: ozDotNet
Subject: Mornington Peninsula Developers

Hi there,

I'm wondering if there are any folks here on the list that live on the 
Mornington Peninsula in Victoria. I'm just curious if there is any viable way 
to create a regional developer community in that part of Victoria in addition 
to the active community that is in the city.

Mitch Denny
Readify | Chief Technology Officer | MVP (ALM) | vTSP (ALM) | ASPInsider
Head Office: Suite 408 Life.Lab Building | 198 Harbour Esplanade | Docklands | 
VIC 3008 | Australia
M: +61 414 610 141 | E: mitch.de...@readify.netmailto:mitch.de...@readify.net 
| W: www.readify.nethttp://www.readify.net/ | Twitter: 
@MitchDennyhttp://twitter.com/MitchDenny



Peninsula Health - Metropolitan Health Service of the Year 2007  2009


RE: Vmware

2011-10-27 Thread Williams, Thomas
Hi Tom - I'd take a look at the power plans that the host and guest are running.

Thomas

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Tom Gao
Sent: Friday, 28 October 2011 6:57 AM
To: 'ozDotNet'
Subject: Vmware

Hi All,

My home machine is a 4 core 8 thread i7-960. I have allowed Vmware to take all 
4 cores. However even when all CPU cores for the VM are loaded at 93% on all 
cores the host machine's CPU is only loaded at 60%. Does anyone know of any 
ways to make the Host PC take on more load ?

Thanks,
Tom


Peninsula Health - Metropolitan Health Service of the Year 2007  2009


RE: Window Management software

2011-09-07 Thread Williams, Thomas
I was using ZBar http://www.zhornsoftware.co.uk/zbar/ (free) to extend the task 
bar across two monitors - recently switched to Dual Monitor Taskbar 
http://sourceforge.net/projects/dualmonitortb/ (also free) as it has better 
Windows 7 theme support.

Thomas


From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Stephen Price
Sent: Thursday, 8 September 2011 11:36 AM
To: ozDotNet
Subject: Re: Window Management software

I use displayfusion, and used to use ultramon. Prefer displayfusion, it has a 
few features that ultramon does but not quite as well. (widescreen wallpapers 
for example). both are pretty good
On Thu, Sep 8, 2011 at 7:55 AM, Raghu Rana 
raghur...@gmail.commailto:raghur...@gmail.com wrote:
You could also look at http://www.displayfusion.com/

On Thu, Sep 8, 2011 at 8:56 AM, Joseph Clark 
jcl...@atlassian.commailto:jcl...@atlassian.com wrote:
 I've been using Ultramon for years for just one single feature - it extends
 the Windows taskbar onto secondary monitors. Can't live without it, now.


 On Wed, Sep 7, 2011 at 10:38 PM, Wallace Turner 
 wallacetur...@gmail.commailto:wallacetur...@gmail.com
 wrote:

 Does anyone use any window management software, free or otherwise, that
 they swear by ?

 I'm looking at Divvy right now...




--
Raghu Rana
Mobile: +61 432 139 301tel:%2B61%20432%20139%20301
Email: raghur...@gmail.commailto:raghur...@gmail.com



Peninsula Health - Metropolitan Health Service of the Year 2007  2009


RE: Dynamic buttons on WinForms

2011-08-01 Thread Williams, Thomas
Hi Anthony - I have used a library called Transitions for WinForms 
animations: https://code.google.com/p/dot-net-transitions/

Thomas


From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Anthony Mayan
Sent: Monday, 1 August 2011 12:43 PM
To: ozDotNet
Subject: Dynamic buttons on WinForms

Is it possible to create a winform so that buttons slide into the current 
available position similar to divs in HTML.


Basically, i have some buttons that will remove under certain conditions, but 
want  the remaining buttons to take up the space left by the remove ones.

Almost like  tetris...hope i have ade this clear?



Peninsula Health - Metropolitan Health Service of the Year 2007  2009