Re: Platform x64 argument

2022-10-12 Thread Preet Sangha
> "it's an x64 world and it creates a better impression"

*the 2000's called and they want their outdated assumptions back*

regards,
Preet, in Auckland NZ



On Thu, 13 Oct 2022 at 11:48, Greg Keogh via ozdotnet 
wrote:

> Folks, one of my colleagues insists on compiling everything as platform
> x64 mainly because he thinks "it's an x64 world and it creates a better
> impression". For a year I've tried to convince him that for managed code
> that it's a complete waste of time. I've told him that ildasm.exe shows
> that for x64 and AnyCPU the generated IL and the manifests are identical, I
> even told him that dumpbin.exe shows the only non trivial difference in the
> PE headers is a couple of flags that show x86/x64 and PE32/PE32+, but they
> don't affect the loading and running of a PE containing IL and metadata.
>
> Does anyone have paradigm-shattering evidence I can give my colleague to
> break his habit? (I'm hoping I'm right of course!!)
>
> *Greg*
> --
> ozdotnet mailing list
> To manage your subscription, access archives: https://codify.mailman3.com/


Re: WinForms toolbox blank in .NET 6

2022-09-10 Thread Preet Sangha
Greg, in a situation like this the only thing that comes to mind (after all
the usual searching and reinstalls you've already tried) is to search the
windows logs for any clues. Also perhaps work machines are some obscure
hardening/firewall/similar type settings that are blocking call out/in and
the software behaving stupidly based on that.


As the decades go on, the obscurity of trying to find things going wrong in
windows is pushing me farther and farther away from recommending/wanting to
build software on it. Perhaps I'm just getting old and tired ;-)


Sorry, I can't offer anything else and I hope you get a resolution.

regards,
Preet, in Auckland NZ



On Sun, 11 Sept 2022 at 11:10, Greg Keogh via ozdotnet <
ozdotnet@ozdotnet.com> wrote:

> Folks, my Windows Forms toolbox is empty for .NET 6 projects. I've
> expended hours on web searches and "Resets" and experiments but it's
> utterly hopeless. I've run out of ideas.
>
> The problem is only on my work PC, not my idental laptop or in a VM. Has
> anyone experienced this and fixed it? There must be something peculiar
> about my work PC, but what?!?
>
> I could start randomly uninstalling and installing stuff again, but that
> could go on for days with no promise of a fix. Why does crap like this
> happen so often? Sometimes I spend more time keeping my PC and development
> environment working than I do actually writing software.
>
> *Greg K*
> --
> ozdotnet mailing list
> To manage your subscription, access archives: https://codify.mailman3.com/


Re: Indexed JSON documents (file system)

2022-09-01 Thread Preet Sangha
And also this: https://github.com/SleekwareDB/sleekwaredb

regards,
Preet, in Auckland NZ



On Fri, 2 Sept 2022 at 12:28, Preet Sangha  wrote:

> I found this: https://github.com/ketanip/dbjson hope it helps.
>
> regards,
> Preet, in Auckland NZ
>
>
>
> On Fri, 2 Sept 2022 at 11:20, Greg Keogh via ozdotnet <
> ozdotnet@ozdotnet.com> wrote:
>
>> Folks, back to work.
>>
>> I'm trying to convince some colleagues that they should persist "reports"
>> from a product as JSON instead of a fiddly custom text format. Each
>> "report" looks a lot like a self-contained document to me, with a few
>> sections containing the parameters, layout and data of the report. I'm
>> pitching that JSON is standard, readable by everything, change tolerant,
>> and ... most importantly ... databases like Mongo, Cosmos, Dynamo, etc
>> easily store and index JSON documents. They could stuff their reports into
>> a document db and get the indexing, speed and robustness for nothing.
>>
>> However, some customers will want to store all the JSON reports in the
>> file system, so I'm wondering if there is some library that indexes and
>> manages local JSON documents. If I was younger I'd write one myself, but
>> I'll bet someone's already done something similar. Any ideas anyone? I'm
>> searching. I think the latest SQL Server versions do this, but it might be
>> a bit of a heavyweight option.
>>
>> *Greg*
>> --
>> ozdotnet mailing list
>> To manage your subscription, access archives:
>> https://codify.mailman3.com/
>
>


Re: Deleting registry hive root key

2022-04-21 Thread Preet Sangha
Ahh sorry - I read your original message as implying it was locked and
couldn't be deleted normally as it was loaded - my bad.

Another couple of thoughts:

1. HKCR seems to be actually linked to another key in HK LM or HK
CU perhaps deleting it there instead?
2. perhaps interop dll to do it? for instance

- RegOpenKeyEx
- RegDeleteKey
- RegEnumKeyEx

(
https://docs.microsoft.com/en-us/windows/win32/sysinfo/deleting-a-key-with-subkeys
)

regards,
Preet, in Auckland NZ



On Fri, 22 Apr 2022 at 13:55, Greg Keogh  wrote:

> OZ calling NZ. From the command prompt I can delete the key:
>
> > reg delete HKCR\MyKeyToDelete
>
> I need the C# code equivalent of this. I'll bet there's a trick for this
> hidden somewhere in plain sight?! It doesn't seem dangerous or obscure
> enough for special procedures like mounting hives.
>
> *Greg*
>
> On Fri, 22 Apr 2022 at 11:29, Preet Sangha  wrote:
>
>> I kind of get the feeling that this is something that would be done by
>> mounting the hive in another instance of windows or perhaps a live Linux,
>> or during the set. I cant see how you'd do it programmatically I'm afraid
>> (unless your program is a low level on running in the pre-boot stage - like
>> when you set up a new os).
>>
>> I did find this - but it's old and may not be very useful:
>> https://www.raymond.cc/blog/how-to-edit-windows-registry-key-values-without-booting-in-windows/
>>
>>
>> regards,
>> Preet, in Auckland NZ
>>
>>>


Re: Deleting registry hive root key

2022-04-21 Thread Preet Sangha
I kind of get the feeling that this is something that would be done by
mounting the hive in another instance of windows or perhaps a live Linux,
or during the set. I cant see how you'd do it programmatically I'm afraid
(unless your program is a low level on running in the pre-boot stage - like
when you set up a new os).

I did find this - but it's old and may not be very useful:
https://www.raymond.cc/blog/how-to-edit-windows-registry-key-values-without-booting-in-windows/


regards,
Preet, in Auckland NZ



On Fri, 22 Apr 2022 at 13:15, Greg Keogh  wrote:

> Folks, TGIF
>
> I have to delete a registry key that is a direct child of the
> HKEY_CLASSES_ROOT hive.
>
> Normally deleting a key is easy because you just open the parent key as
> writable and call DeleteSubKeyTree.
>
> In this case the parent is the HKCR hive itself, and I can't figure out
> how to open it as writable. The Registry.ClassesRoot property is static and
> has no open methods.
>
> Chers,
> *Greg K*
>


Re: Technology euology

2022-03-24 Thread Preet Sangha
I literally have my .net security book from Apress holding up my monitor
and it's about 10cm away from my fingers at the moment. I spent ages
learning that and all the other stuff you mention.

I spent a considerable time in my early career building RPC over serial
ports in C and assembler so that will always hold a place in my heart :-D
 But having spent years (!) time doing XML-based services I'm perfectly
happy to see fewer angle brackets though!


regards,
Preet, in Auckland NZ



On Fri, 25 Mar 2022 at 12:03, Greg Keogh  wrote:

> TGIF folks,
>
> I've had a large suite of projects stuck on Framework 4.5 because of old
> servers, but finally I have the chance to upgrade them to newer platforms
> and use newer tools and libraries. I have decided that all existing full
> Framework projects will simply go up to 4.8, but all new projects will be
> in .NET 6 and all web apps will be Blazor (death from above to server-side
> web apps!).
>
> During my research I noticed some interesting obsolete technologies in
> .NET Core. You probably all know this, but I'd like to make a personal
> eulogy.
>
> *Remoting
> *
> - Farewell old chum. I used this in Framework 1.0 to write a distributed
> client-server suite with callbacks for notifications. The amount of core
> code was surprisingly small and simple. Before the arrival of Remoting,
> writing such a thing would have scared the pants off the most confident
> coder. You could have used a VB6 server or written C sockets or RPC or
> whatever, but think of the effort and the fragile results!
>
> *AppDomains* - Strange things, but useful in certain circumstances to
> load (and unload) libraries. Closely related to Remoting and the next item.
> Using separate processes to get a similar effect is a heavyweight and
> cumbersome alternative. I found I own a single old utility project that
> uses an AppDoman.
>
> *CAS
> *
> - Yeah, don't slam the door on the way out. What a weird thing ...
> sophisticated security boundaries buried inside .NET. I never used a single
> CAS feature in 20 years, preferring to just handball security issues to the
> operating system. I think it's historically interesting that something so
> comprehensive was created and advertised prominently in books and articles,
> then trivially dismissed as not useful.
>
> *WCF* - Mostly good riddance. Jeez that thing was complicated to
> configure, because it tried to do everything for everyone everywhere. I
> still miss the SOAP protocol and WSDL. What angers me is that it's all been
> replaced by REST, an omni-shambles of a so-called convention that looks
> like some kid's high school project.
>
> There endeth the rant. Comments and recriminations welcome.
>
> *Greg K*
>


Re: Regex and Span

2022-01-21 Thread Preet Sangha
Is this a personal challenge or can you just use something like grep on WSL?

regards,
Preet, in Auckland NZ



On Sat, 22 Jan 2022 at 13:49, Greg Keogh  wrote:

> Folks, I have to parse just over a million lines of text as quickly as
> possible. I'm using a Regex instance with a simple pattern (no backtrack or
> the like) and it's taking from 1 to 2 seconds, which my colleague says is
> too slow.
>
> Since it's a .NET 6 library I was keen to use the Span<> overloads of
> Regex.Match which should perform much better due to reduced allocations,
> but I can't find them. I know there was a big release of Span overloads
> recently, but didn't it make it into Regex?
>
> FYI -- My colleague used to parse the lines the old C-style way using a for
> (int =0; i substrings
> as he went. That 1970s style code was hard to read, but it performed about
> 10x faster than a Regex. I thought my demo with a Regex.Match and just a
> few lines of code would be faster, but now I have egg on my face. That's
> why I was looking for the Span overloads to save my reputation.
>
> *Greg K*
>


Re: [OT] Old .NET Runtimes

2021-11-04 Thread Preet Sangha
Hi Greg,

Just looking through the source of that tool opens the possibility of
finding the locations in Windows (registry etc) where these old ones may be
found (e.g.
https://github.com/dotnet/cli-lab/blob/main/src/dotnet-core-uninstall/Windows/RegistryQuery.cs
)

I think looking through the code for *dotnet --info *might give you all the
locations, and perhaps together will give you enough to rustle up a script
that removes them effectively.

regards,
Preet, in Auckland NZ



On Fri, 5 Nov 2021 at 00:27, Greg Keogh  wrote:

> Does anyone know how to uninstall old .NET Runtimes listed via via dornet
> --info (see below)? My work PC has 14 old ones, and my laptop has double
> that. I tried using the .NET Uninstall Tool
> ,
> but it only lists the latest versions that I want to keep. None of the old
> ones are listed and uninstall can't see them.
>
> *Greg K*
>
> .NET runtimes installed:
>   Microsoft.AspNetCore.All 2.1.30 [C:\Pro
>   Microsoft.AspNetCore.App 2.1.30 [C:\Pro
>   Microsoft.AspNetCore.App 3.1.18 [C:\Pro
>   Microsoft.AspNetCore.App 3.1.20 [C:\Pro
>   Microsoft.AspNetCore.App 5.0.4 [C:\Prog
>   Microsoft.AspNetCore.App 5.0.9 [C:\Prog
>   Microsoft.AspNetCore.App 5.0.11 [C:\Pro
>   Microsoft.NETCore.App 2.1.30 [C:\Progra
>   Microsoft.NETCore.App 3.1.18 [C:\Progra
>   Microsoft.NETCore.App 3.1.20 [C:\Progra
>   Microsoft.NETCore.App 5.0.4 [C:\Program
>   Microsoft.NETCore.App 5.0.5 [C:\Program
>   Microsoft.NETCore.App 5.0.9 [C:\Program
>   Microsoft.NETCore.App 5.0.11 [C:\Progra
>   Microsoft.WindowsDesktop.App 3.1.18 [C:
>   Microsoft.WindowsDesktop.App 3.1.20 [C:
>   Microsoft.WindowsDesktop.App 5.0.4 [C:\
>   Microsoft.WindowsDesktop.App 5.0.5 [C:\
>   Microsoft.WindowsDesktop.App 5.0.9 [C:\
>   Microsoft.WindowsDesktop.App 5.0.11 [C:
>


Re: [OT-ish] IIS win auth for different domains

2021-09-07 Thread Preet Sangha
Just a quick google came up with this

https://forums.iis.net/t/1153075.aspx

Which talks about ensuring that the domains trust each other first.

Also, this alludes to what I think you're doing...
https://stackoverflow.com/questions/25988437/configure-iis-authentication-from-another-domain

regards,
Preet, in Auckland NZ



On Wed, 8 Sept 2021 at 15:19, Tom Rutter  wrote:

> Hi folks
>
> I have an older web app sitting in IIS and it uses win auth. The IIS
> server is in domainA. Is it possible for users in domainB to get
> authenticated and access the app? I haven't had any luck. My google
> research has made me very confused.
>
> Cheers
>


Re: Publish conditional

2021-08-11 Thread Preet Sangha
And perhaps use the Choose statement?
https://docs.microsoft.com/en-us/visualstudio/msbuild/choose-element-msbuild?view=vs-2019

regards,
Preet, in Auckland NZ



On Wed, 11 Aug 2021 at 19:37, Preet Sangha  wrote:

> This might be relevant: https://stackoverflow.com/a/28874918/30225
>
> > While conditional import statements work in command-line MSBuilds,
> > they do not work with MSBuild in the Visual Studio integrated
> > development environment (IDE). Conditional imports are evaluated by
> > using the configuration and platform values that are set when the
> > project is loaded. If changes are subsequently made that require a
> > reevaluation of the conditionals in the project file, for example,
> > changing the platform, Visual Studio reevaluates the conditions on
> > properties and items, but not on imports. Because the import
> > conditional is not reevaluated, the import is skipped. To work around
> > this, put conditional imports in the .targets files or put code in a
> > conditional block such as a Choose Element (MSBuild) block.
>
> I think this is true for `ItemGroup` element also...
>
> regards,
> Preet, in Auckland NZ
>
>
>
> On Wed, 11 Aug 2021 at 18:52, Greg Keogh  wrote:
>
>> Folks, I need to publish different *.js files depending upon the selected
>> $(Configuration). I have VS2019 configs for Debug, AU region and US region.
>> I tried editing the csproj file to have conditions around the files, like
>> this fragment for the US.
>>
>>   
>> 
>>   
>>
>> It does nothing, so I tried  and  and
>> CopyToPublishDirectory in a dozen combinations, but I either get no files
>> or all files. I'm clearly bumbling around uselessly, so maybe someone has
>> done this before and can reveal what tricks are required.
>>
>> I'm just using VS2019 publish project command, so that's when I want the
>> conditions to run. Maybe ItemGroup conditions are meaningless for publish?
>> I dunno because web searches produce confusing and contradictory samples
>> and the MSDN documentation doesn't seem to cover what I'm doing.
>>
>> Thanks,
>> *Greg*
>>
>


Re: Publish conditional

2021-08-11 Thread Preet Sangha
This might be relevant: https://stackoverflow.com/a/28874918/30225

> While conditional import statements work in command-line MSBuilds,
> they do not work with MSBuild in the Visual Studio integrated
> development environment (IDE). Conditional imports are evaluated by
> using the configuration and platform values that are set when the
> project is loaded. If changes are subsequently made that require a
> reevaluation of the conditionals in the project file, for example,
> changing the platform, Visual Studio reevaluates the conditions on
> properties and items, but not on imports. Because the import
> conditional is not reevaluated, the import is skipped. To work around
> this, put conditional imports in the .targets files or put code in a
> conditional block such as a Choose Element (MSBuild) block.

I think this is true for `ItemGroup` element also...

regards,
Preet, in Auckland NZ



On Wed, 11 Aug 2021 at 18:52, Greg Keogh  wrote:

> Folks, I need to publish different *.js files depending upon the selected
> $(Configuration). I have VS2019 configs for Debug, AU region and US region.
> I tried editing the csproj file to have conditions around the files, like
> this fragment for the US.
>
>   
> 
>   
>
> It does nothing, so I tried  and  and
> CopyToPublishDirectory in a dozen combinations, but I either get no files
> or all files. I'm clearly bumbling around uselessly, so maybe someone has
> done this before and can reveal what tricks are required.
>
> I'm just using VS2019 publish project command, so that's when I want the
> conditions to run. Maybe ItemGroup conditions are meaningless for publish?
> I dunno because web searches produce confusing and contradictory samples
> and the MSDN documentation doesn't seem to cover what I'm doing.
>
> Thanks,
> *Greg*
>


Re: Dotfuscating

2020-09-28 Thread Preet Sangha
I think you can use the command line for this. I don't use it but a quick
google gave me :
https://www.preemptive.com/dotfuscator/pro/userguide/en/interfaces_command_line.html

regards,
Preet, in Auckland NZ



On Tue, 29 Sep 2020 at 11:24, Greg Keogh  wrote:

> Folks, for the first time I have to obfuscate some assemblies that contain
> proprietary algorithms. I'm playing with the built-in Community edition.
> I'm disappointed to find that it's not integrated into Visual Studio in any
> way I can find, I have to use a separate app to create an XML file for each
> 'fuscate. Then how do I add that into my local build pipeline, post build
> commands or PS scripts? And my libraries are multi-platform targeted, so I
> have to process them all? Then I want to build NuGet packages, and so on.
> My first impression is that adding dotfuscator is like a spanner thrown
> into my nice simple local build and deploy process.
>
> Before I start reinventing wheels everywhere I thought I'd ask in here
> first if anyone has been down this road and has some suggestions.
>
> *Greg K*
>


Re: Migrating bitbucket

2020-03-31 Thread Preet Sangha
Greg, Can you not use a container for the python downloads?

I'm sure you've seen this but just in case
https://github.com/dusty-phillips/gitifyhg   it says it needs python 2.7

regards,
Preet, in Auckland NZ



On Wed, 1 Apr 2020 at 14:13, Greg Keogh  wrote:

>
> A few years ago I ended up doing these manually and took the opportunity
>> to upgrade our solutions/projects also. Didn’t find an easy or reliable way
>> but that was at least 2 years ago from memory.
>>
>
> Funny you should say that. After spending another futile hour wading
> through crazy suggestions that involve tools that I can't find or don't
> trust, and refusing to install the full Python runtime for other utilities
> ... I think I'll just commit the current source directly into fresh git
> repos without all the history and branches. I'll move the local copies of
> the old Mercurial repos into an archive folder where I can refer to the
> history if necessary.
>
> So basically, I give up and I'm taking the dumb blunt way out.
>
> The whole version control ecosystem is like the playground of asylum
> inmates.
>
> *GK*
>


Re:

2019-12-26 Thread Preet Sangha
thanks Dan.

regards,
Preet, in Auckland NZ



On Tue, 24 Dec 2019 at 16:44, Dan Cash  wrote:

> Anywhere there's an input field, someone will try to give you their
> details ...  Saying  "please don't enter personally identifying
> information" is a bit like saying "Please don't push this button".   How
> many people hit send with their CC in the Name/address field because they
> were watching the keyboard instead of where the cursor was?  Even with a
> validation error, the information has processed, and probably transmitted.
> Someone just needs a regex pattern.
>
> The standard Enterprise security baselines usually prevent .dmp files
> being transmitted (policy or firewall) but they may still need to be
> destroyed.  Anything that was saved to a 'temp' file - including logs - can
> potentially be harvested by next machine user on shared cloud
> infrastructure (not sure about SSD backed SAN), which is why government /
> High Security clouds, where users are basically buying the hosted
> infrastructure for guaranteed exclusive use.
>
>
> On Thu, 19 Dec 2019 at 11:14, mike smith  wrote:
>
>> Consider that ultimate of all log files, a .dmp file.   Everything is
>> going to be in that, and they typically get automatically sent when
>> something goes wrong.
>>
>> Mike.
>>
>> On Thu, Dec 19, 2019, 09:03 Alan Ingleby  wrote:
>>
>>> I guess the key requirement here is "I'm about to write this string to a
>>> log file, is there a chance there's a credit card number in here?".  All
>>> other things considered, this is reasonably good safeguard.  I'd imaging if
>>> the quick and dirty regex I listed picks anything up, you could do a
>>> further mod10 to validate against valid credit card numbers etc.
>>>
>>> All seems a bit iffy though doesn't it.  If a CC # has gotten its way to
>>> a log file, you really need to question your developers.
>>>
>>> On Wed, 18 Dec 2019 at 23:11, Grant Maw  wrote:
>>>
>>>> I thought all credit cards use the Mod10 (Kuhn) algorithm. I seem to
>>>> remember it being a safeguard against data entry errors back in the day,
>>>> so this is possibly a hangover from those days.
>>>>
>>>> We never validate card numbers.  We pass the card data to the
>>>> processing gateway and let their APIs handle all that stuff. Less code for
>>>> us to maintain.
>>>>
>>>> On Wed, 18 Dec. 2019, 3:33 pm Preet Sangha, 
>>>> wrote:
>>>>
>>>>> Hi Ed,
>>>>>
>>>>> Thanks for that. We are an large enterprise platform doing thousands
>>>>> of transactions via gateways - CC info is normally flowing through our 
>>>>> code
>>>>> except in the most secure of ways - we are PCI compliant. However to be
>>>>> extra careful I'm trying to remove anything that looks like a known CC
>>>>> shape from logging. It's to prevent issues in case someone inadvertently
>>>>> stores CC in fields that they shouldn't. Yes there education but sometimes
>>>>> mistakes happen.
>>>>>
>>>>> regards,
>>>>> Preet, in Auckland NZ
>>>>>
>>>>>
>>>>>
>>>>> On Wed, 18 Dec 2019 at 16:57,  wrote:
>>>>>
>>>>>> Hi Preet,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I don’t know of any libraries that handle this, but I do have a
>>>>>> question for you.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Why are you validating credit card info?
>>>>>>
>>>>>>
>>>>>>
>>>>>> I ask this because if you are validating card info then you are
>>>>>> handling/processing card info. Any business handling credit card
>>>>>> information should have PCI-DSS compliance.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Personally, I find it is much easier to use external providers (eway,
>>>>>> paypal et al) to handle the whole payment process, meaning your code 
>>>>>> never
>>>>>> needs to touch a credit card number and you never have to worry about
>>>>>> compliance, *security etc.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Just a another random thought, YMMV.
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Security of the card information
>>>>>>
>>>>>>
>>>>>>
>>>>>> Ed.
>>>>>>
>>>>>>
>>>>>>
>>>>>> *From:* ozdotnet-boun...@ozdotnet.com 
>>>>>> *On Behalf Of *Preet Sangha
>>>>>> *Sent:* Wednesday, 18 December 2019 2:41 PM
>>>>>> *To:* ozDotNet 
>>>>>> *Subject:*
>>>>>>
>>>>>>
>>>>>>
>>>>>> Would anyone know of any credit card validation/detection or similar
>>>>>> libraries that we may be able incorporate into our .net framework code
>>>>>> (preferably in nuget form) in order to eliminate our own hand coded 
>>>>>> regexs
>>>>>>  please?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Regards Preet
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>
>>> --
>>> Alan Ingleby
>>>
>>
>
> --
> Dan Cash
> -m. 0411 468 779
> -e. dan.c...@gmail.com
>
> F.A.B. Information Systems Pty Ltd   ABN 16 084 146 261
>
>


Re:

2019-12-26 Thread Preet Sangha
Thank you Alan. That works great as a first level check for me. I'll still
be doing more checks if this one doesn't find matches but it allows me to
have a short circuit.

regards,
Preet, in Auckland NZ



On Wed, 18 Dec 2019 at 19:23, Alan Ingleby  wrote:

> https://www.regextester.com/106873
>
> Still using Regex, but so simple.
>
> On Wed, 18 Dec 2019 at 15:56, mike smith  wrote:
>
>> There's the odd number/arrangement that amex uses to check for as well
>>
>> On Wed, Dec 18, 2019, 16:14 Eddie de Bear  wrote:
>>
>>> Hi Preet,
>>>
>>> I always check when somebody mentions credit card processing..
>>>
>>> Anyways, off the top of my head I don't know of any component that can
>>> easily identify credit card info. I suspect your in for a world of pain
>>> using Regex to identify potential card numbers and then a Luhn check to see
>>> if it is actually a valid card number.
>>>
>>> From my bookmarks:
>>> https://en.wikipedia.org/wiki/Luhn_algorithm
>>>
>>> https://stackoverflow.com/questions/21249670/implementing-luhn-algorithm-using-c-sharp
>>>
>>> Might be helpful..
>>>
>>> Ed.
>>>
>>> On Wed, Dec 18, 2019 at 4:33 PM Preet Sangha 
>>> wrote:
>>>
>>>> Hi Ed,
>>>>
>>>> Thanks for that. We are an large enterprise platform doing thousands of
>>>> transactions via gateways - CC info is normally flowing through our code
>>>> except in the most secure of ways - we are PCI compliant. However to be
>>>> extra careful I'm trying to remove anything that looks like a known CC
>>>> shape from logging. It's to prevent issues in case someone inadvertently
>>>> stores CC in fields that they shouldn't. Yes there education but sometimes
>>>> mistakes happen.
>>>>
>>>> regards,
>>>> Preet, in Auckland NZ
>>>>
>>>>
>>>>
>>>> On Wed, 18 Dec 2019 at 16:57,  wrote:
>>>>
>>>>> Hi Preet,
>>>>>
>>>>>
>>>>>
>>>>> I don’t know of any libraries that handle this, but I do have a
>>>>> question for you.
>>>>>
>>>>>
>>>>>
>>>>> Why are you validating credit card info?
>>>>>
>>>>>
>>>>>
>>>>> I ask this because if you are validating card info then you are
>>>>> handling/processing card info. Any business handling credit card
>>>>> information should have PCI-DSS compliance.
>>>>>
>>>>>
>>>>>
>>>>> Personally, I find it is much easier to use external providers (eway,
>>>>> paypal et al) to handle the whole payment process, meaning your code never
>>>>> needs to touch a credit card number and you never have to worry about
>>>>> compliance, *security etc.
>>>>>
>>>>>
>>>>>
>>>>> Just a another random thought, YMMV.
>>>>>
>>>>>
>>>>>
>>>>> *Security of the card information
>>>>>
>>>>>
>>>>>
>>>>> Ed.
>>>>>
>>>>>
>>>>>
>>>>> *From:* ozdotnet-boun...@ozdotnet.com  *On
>>>>> Behalf Of *Preet Sangha
>>>>> *Sent:* Wednesday, 18 December 2019 2:41 PM
>>>>> *To:* ozDotNet 
>>>>> *Subject:*
>>>>>
>>>>>
>>>>>
>>>>> Would anyone know of any credit card validation/detection or similar
>>>>> libraries that we may be able incorporate into our .net framework code
>>>>> (preferably in nuget form) in order to eliminate our own hand coded regexs
>>>>>  please?
>>>>>
>>>>>
>>>>>
>>>>> Regards Preet
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>> --
>>> *EDDIE DE BEAR*
>>> Mob: 0417066315
>>> Messenger: eddie_deb...@hotmail.com
>>> Skype: eddiedebear
>>>
>>
>
> --
> Alan Ingleby
>


Re:

2019-12-17 Thread Preet Sangha
Sorry I mean it's not flowing.

regards,
Preet, in Auckland NZ



On Wed, 18 Dec 2019 at 18:32, Preet Sangha  wrote:

> Hi Ed,
>
> Thanks for that. We are an large enterprise platform doing thousands of
> transactions via gateways - CC info is normally flowing through our code
> except in the most secure of ways - we are PCI compliant. However to be
> extra careful I'm trying to remove anything that looks like a known CC
> shape from logging. It's to prevent issues in case someone inadvertently
> stores CC in fields that they shouldn't. Yes there education but sometimes
> mistakes happen.
>
> regards,
> Preet, in Auckland NZ
>
>
>
> On Wed, 18 Dec 2019 at 16:57,  wrote:
>
>> Hi Preet,
>>
>>
>>
>> I don’t know of any libraries that handle this, but I do have a question
>> for you.
>>
>>
>>
>> Why are you validating credit card info?
>>
>>
>>
>> I ask this because if you are validating card info then you are
>> handling/processing card info. Any business handling credit card
>> information should have PCI-DSS compliance.
>>
>>
>>
>> Personally, I find it is much easier to use external providers (eway,
>> paypal et al) to handle the whole payment process, meaning your code never
>> needs to touch a credit card number and you never have to worry about
>> compliance, *security etc.
>>
>>
>>
>> Just a another random thought, YMMV.
>>
>>
>>
>> *Security of the card information
>>
>>
>>
>> Ed.
>>
>>
>>
>> *From:* ozdotnet-boun...@ozdotnet.com  *On
>> Behalf Of *Preet Sangha
>> *Sent:* Wednesday, 18 December 2019 2:41 PM
>> *To:* ozDotNet 
>> *Subject:*
>>
>>
>>
>> Would anyone know of any credit card validation/detection or similar
>> libraries that we may be able incorporate into our .net framework code
>> (preferably in nuget form) in order to eliminate our own hand coded regexs
>>  please?
>>
>>
>>
>> Regards Preet
>>
>>
>>
>


Re:

2019-12-17 Thread Preet Sangha
Hi Ed,

Thanks for that. We are an large enterprise platform doing thousands of
transactions via gateways - CC info is normally flowing through our code
except in the most secure of ways - we are PCI compliant. However to be
extra careful I'm trying to remove anything that looks like a known CC
shape from logging. It's to prevent issues in case someone inadvertently
stores CC in fields that they shouldn't. Yes there education but sometimes
mistakes happen.

regards,
Preet, in Auckland NZ



On Wed, 18 Dec 2019 at 16:57,  wrote:

> Hi Preet,
>
>
>
> I don’t know of any libraries that handle this, but I do have a question
> for you.
>
>
>
> Why are you validating credit card info?
>
>
>
> I ask this because if you are validating card info then you are
> handling/processing card info. Any business handling credit card
> information should have PCI-DSS compliance.
>
>
>
> Personally, I find it is much easier to use external providers (eway,
> paypal et al) to handle the whole payment process, meaning your code never
> needs to touch a credit card number and you never have to worry about
> compliance, *security etc.
>
>
>
> Just a another random thought, YMMV.
>
>
>
> *Security of the card information
>
>
>
> Ed.
>
>
>
> *From:* ozdotnet-boun...@ozdotnet.com  *On
> Behalf Of *Preet Sangha
> *Sent:* Wednesday, 18 December 2019 2:41 PM
> *To:* ozDotNet 
> *Subject:*
>
>
>
> Would anyone know of any credit card validation/detection or similar
> libraries that we may be able incorporate into our .net framework code
> (preferably in nuget form) in order to eliminate our own hand coded regexs
>  please?
>
>
>
> Regards Preet
>
>
>


[no subject]

2019-12-17 Thread Preet Sangha
Would anyone know of any credit card validation/detection or similar
libraries that we may be able incorporate into our .net framework code
(preferably in nuget form) in order to eliminate our own hand coded regexs
 please?

Regards Preet


Re: Async Await.

2019-03-26 Thread Preet Sangha
*forking* hell!

regards,
Preet, in Auckland NZ



On Tue, 26 Mar 2019 at 22:52, Greg Keogh  wrote:

>
> I've started a new post, and one of the applications here uses Async Await
>> for nearly every method call, even for simple calls that just create an
>> object and return it.
>>
>
> How on earth is that sort of thing coded? How are intrinsically
> synchronous methods forcibly turned into async ones? Is it like this?...
> (I'm just guessing)
>
> var foo = await Task.Run(() => return new Foo());
>
> *Greg K*
>
>>


Re: Slightly off topic - Pros and con of moving to an Apple machine

2019-03-15 Thread Preet Sangha
Thanks. We have plenty of those I was just wondering if I needed to install
a copy or it came with parallels. That's cool thanks.

regards,
Preet, in Auckland NZ



On Sat, 16 Mar 2019 at 15:05, mike smith  wrote:

> Yes, you do need a license, if you don't have a corporate license//msdn etc
>
>
> On Sat, Mar 16, 2019, 12:44 Preet Sangha  wrote:
>
>> I see that parallels is VM software.I assume that I will need a windows
>> 10 license to go with it?
>>
>> regards,
>> Preet, in Auckland NZ
>>
>>
>>
>> On Sat, 16 Mar 2019 at 14:02, Greg Keogh  wrote:
>>
>>>
>>> Parallels will let you run windows oses, mostly just a matter of having
>>>> a powerful enough machine, either way.
>>>>
>>>
>>> Parallels is good. I have on the iMac and the missus has it on the
>>> MacBook. You can put it into a mode where the OS X and Windows desktops are
>>> intermingled together in a way that is completely bewildering so you don't
>>> know what button you're clicking in which OS. Great feature?! It's about
>>> $130/year for the pro version. I had pro for 4 years but cancelled renewal
>>> when I realised I was using none of the pro features. I look forward to it
>>> expiring and all the VMs breaking for some hidden reason.
>>>
>>> Coincidentally, this morning I tried to share the Parallels folder on
>>> the iMac so I could copy the VM files from it to a Windows backup folder.
>>> Well, 40 minutes later after following all the instructions, I get stuck at
>>> the Windows password prompt to access the shared iMac. I try every user and
>>> password in Christendom and they all fail. I give up.
>>>
>>> *Greg K*
>>>
>>>>


Re: Slightly off topic - Pros and con of moving to an Apple machine

2019-03-15 Thread Preet Sangha
I see that parallels is VM software.I assume that I will need a windows 10
license to go with it?

regards,
Preet, in Auckland NZ



On Sat, 16 Mar 2019 at 14:02, Greg Keogh  wrote:

>
> Parallels will let you run windows oses, mostly just a matter of having a
>> powerful enough machine, either way.
>>
>
> Parallels is good. I have on the iMac and the missus has it on the
> MacBook. You can put it into a mode where the OS X and Windows desktops are
> intermingled together in a way that is completely bewildering so you don't
> know what button you're clicking in which OS. Great feature?! It's about
> $130/year for the pro version. I had pro for 4 years but cancelled renewal
> when I realised I was using none of the pro features. I look forward to it
> expiring and all the VMs breaking for some hidden reason.
>
> Coincidentally, this morning I tried to share the Parallels folder on the
> iMac so I could copy the VM files from it to a Windows backup folder. Well,
> 40 minutes later after following all the instructions, I get stuck at the
> Windows password prompt to access the shared iMac. I try every user and
> password in Christendom and they all fail. I give up.
>
> *Greg K*
>
>>


Re: Slightly off topic - Pros and con of moving to an Apple machine

2019-03-15 Thread Preet Sangha
I originally read that as Band Camp and was mightily confused. Thank you.

regards,
Preet, in Auckland NZ



On Sat, 16 Mar 2019 at 12:48, Alan Ingleby  wrote:

> Get top spec Macbook and set up bootcamp.  Best of both worlds!
>
> On Sat, 16 Mar 2019 at 09:28, Preet Sangha  wrote:
>
>> I am starting with a new role in a few weeks and I've been asked the
>> question if want a windows or apple laptop. I do .net development but it's
>> all still framework not core. but we're moving in that direction. I'm
>> thinking of using this opportunity to finally start working on a 'unixy'
>> machine for the first time in my career.
>>
>> Would it be a major PITA working on MacOS for framework development?
>>
>> regards,
>> Preet, in Auckland NZ
>>
>>
>
> --
> Alan Ingleby
>


Slightly off topic - Pros and con of moving to an Apple machine

2019-03-15 Thread Preet Sangha
I am starting with a new role in a few weeks and I've been asked the
question if want a windows or apple laptop. I do .net development but it's
all still framework not core. but we're moving in that direction. I'm
thinking of using this opportunity to finally start working on a 'unixy'
machine for the first time in my career.

Would it be a major PITA working on MacOS for framework development?

regards,
Preet, in Auckland NZ


Re: [OT] SQL Server DB designed for reporting

2019-02-01 Thread Preet Sangha
I spent a few years building these kind of reporting systems. Here are the
key things I learned:

1.  Absolutely design your reporting DB with completely different concerns
to the transaction one. A Star schema is what I'd recommend.

2. Avoid SSIS unless you are doing something very high volume and requiring
streaming. SSIS is opaque and a PITA  to source control/diff easily.Instead
use denormalised views that allow you to run near real time deltas to feed
to reporting database. Using good IO and indexing can result in excellent
performance using cross db/server queries.

3. If the performance of the reporting DB is not sufficient consider
feeding the star schema in hypervcubes using SSAS or simillar. It's
designed for reporting and is highly performant.  MDX isn't hard once you
get the hang of navigating these cubes..

 I didn't spend much time outside of SSRS so can't comment on other
reporting tools.

Preet

On Fri, 1 Feb 2019 at 18:05, David Burstin  wrote:

> >> It's only if you were building a green-fields application that you'd
> look into CQRS - it's not something practical for your existing line of
> business apps.
>
> Hi Nathan,
>
> My response is that "it depends". I would certainly not advocate a full
> separate database approach except in exceptional circumstances. However,
> CQRS is primarily an approach to having separate *models *for CUD vs R. I
> would argue that having SQL views is a form of CQRS, as it supplies a
> specific data model that is used for reads only. So, in the sense of having
> different views of the data for reading/reporting, and leveraging the
> experience and knowledge of CQRS practitioners, there is a good opportunity
> to find a solution for Tom's problem and answer any questions that come up
> (eg around synchronization if required).
>
> I believe that this approach is totally applicable to current LoB
> applications - the implementation is just a question of degree, and the
> minimum to meet the requirements is best. I again suggest looking at the
> work of Vladimir Khorikov, including the Pluralsight course, as it walks
> through the multiple levels of CQRS from simple views right through to
> separate databases. Somewhere in that range is the sweet spot for
> responsive reporting vs implementation work/risk.
>
> YMMV
>
> Cheers
> David
>
> On Fri, 1 Feb 2019 at 15:45, Nathan Schultz  wrote:
>
>> +1 to Tony's answer. Using SSIS (integration services) to export to a
>> reporting database or data warehouse.
>> From there you can use Power BI (for Dashboards) or something like SSRS
>> (SQL Server Reporting Services) for traditional print invoices and things.
>>
>> It's only if you were building a green-fields application that you'd look
>> into CQRS - it's not something practical for your existing line of business
>> apps.
>>
>>
>> On Fri, 1 Feb 2019 at 07:55, Tony McGee  wrote:
>>
>>> One way to do this is to have a regular job that uses SQL Server
>>> Integration Services package(s) to extract data from the source system,
>>> transform it, cleanse, etc then load it into a destination database (ETL)
>>>
>>> Often, but not always, the destination database has a star schema with
>>> fact and dimension tables, that a data warehouse can be built upon. Tools
>>> like SQL Server Analysis Services or Excel/Power BI can understand and
>>> slice the data for the user interface
>>>
>>> For large volumes of data there's usually an initial load, then
>>> subsequent runs capture any changed data from the source system and load it
>>> incrementally
>>>
>>>
>>> On Fri, 1 Feb 2019, 08:27 Tom P >>
 Hi Folks

 I have a normalised database for an application that is working well
 but is not performant for reporting. I’ve tried and tried to optimise my
 reporting queries but they are just too slow as the data volume is large in
 the database. What techniques are there to tackle this?

 I was thinking of creating denormalised tables for the reports which
 would work but how to automate this so that whenever the main normalised
 tables are updated then the changes “flow into” the denormalised reporting
 tables and stay in synch?

 I’m sure this is not a new problem so surely some of the people here
 have been in this situation. Any advice would be appreciated.

 Cheer
 Tom
 --
 Thanks
 Tom

>>>


Re: [OT] Server 2008 R2 to 2019

2018-12-27 Thread Preet Sangha
Inside MFC was one of the best books I read back in the day. How to connect
a C api to an object oriented abstraction was pretty good reading - despite
the macros and others crap in MFC.

regards,
Preet, in Auckland NZ



On Thu, 27 Dec 2018 at 20:53, Greg Keogh  wrote:

>
> Mother in law got me a book on c++ MFC. 100% serious
>>
>
> Wow! I last wrote something in that in 2003, it was the last time I used
> C++ or MFC for anything "real".  Lord it was difficult. Thanks heavens all
> that was replaced by .NET for app developers.
>
> Spurred by your comment, I just did some searching. I always assumed
> (don't know why) that MFC was Petzold's creation, but it looks like that's
> an urban legend via YouTube. And a quick Wikipedia search shows that MFC is
> still being updated and the last one was several weeks ago. Amazing!
>
> *GK*
>
> P.S. Search for Charles Petzold and you gets lots of fascinating stuff,
> including on his home page.
>
>>


Re: [OT] Server 2008 R2 to 2019

2018-12-27 Thread Preet Sangha
Hahaha no it's just an electrical device that creates a massive arc that
melts metal. No certs needed. TBH I bought it a weeks back though I only
really used it yesterday to fix my daughters bed. Yes they are dangerous -
but they are simple if you follow the rules (face/eyes, hand and body plus
lung protection). A friend showed me how to use it etc.

However just like any software problem can be fixed with another layer of
abstraction not most real work problems can be fixed by fusing two bits of
metal together.

regards,
Preet, in Auckland NZ



On Thu, 27 Dec 2018 at 20:43, Greg Keogh  wrote:

>
> Merry Xmas etc. I bought myself a welder but I also gave away some tech
>> does that count?
>>
>
> Welders are dangerous things. Do you have to get some sort of
> certification to use/own one?
>
> Buying yourself presents for Xmas is grey psychological area, possibly
> producing a mix of satisfaction and guilt.
>
> *GK*
>
>>


Re: [OT] Server 2008 R2 to 2019

2018-12-26 Thread Preet Sangha
Merry Xmas etc. I bought myself a welder but I also gave away some tech
does that count?

On Thu., 27 Dec. 2018, 8:07 pm Greg Keogh  Hi folks (quiet in here lately... where is all the .NET chatter these
> days?)
>
> My home office LAN has a Windows 2008 R2 server running on a real box. It
> only does two things:
>
> 1. It's the domain controller.
> 2. It runs my 2008 R2 web server inside Hyper-V.
>
> I'd like to update the 2008 R2 DC to 2019, just so I have the latest for
> testing and learning. However I have never before upgraded or replaced a DC
> and I'm not sure what the easiest path is. I could just wipe and install
> 2019 and set the DC feature, but all the AD tree of computers and users
> would be gone and all the authentication and ACLs all over the LAN would be
> cactus (I think).
>
> Is there some ay of upgrading my DC with the least suffering? Any general
> advice would be most welcome.
>
> Cheers,
> *Greg*
>
> P.S. I must be marginal, as Santa just gave me socks, undies and Bunnings
> vouchers … nothing IT related. Anyone get any good tech?
>


Re: Dot net core 2.1 and ssas

2018-10-17 Thread Preet Sangha
Cheers!

regards,
Preet, in Auckland NZ



On Thu, 18 Oct 2018 at 13:56, Tony Wright  wrote:

> Hi Preet,
>
> The package is in NuGet and is called
> Unofficial.Microsoft.AnalysisServices.AdomdClientNetCore.
>
> It's returning results but not much else around that, but that might be
> good enough!
>
> Kind regards,
> Tony
>
> On Thu., 18 Oct. 2018, 9:19 am Preet Sangha, 
> wrote:
>
>> Nice. Let me know how it goes I'd be interested in the package for future
>> reference
>>
>>
>> regards,
>> Preet, in Auckland NZ
>>
>>
>>
>> On Thu, 18 Oct 2018 at 11:12, Tony Wright  wrote:
>>
>>> Ah the world of dot net core; I did think of building my own webapi
>>> interface into SSAS using net framework, but I have since found an
>>> unsupported NuGet package which I am having a play with now that is a
>>> rewrite of adomd for core. It's not compete and appears to have simple
>>> functionality, but I'll have a play and see whether it fits everything I
>>> need.
>>>
>>> Thanks for the suggestion.
>>>
>>> On Thu., 18 Oct. 2018, 6:57 am Preet Sangha, 
>>> wrote:
>>>
>>>> Hi tony,
>>>>
>>>> I've not touched ssas for a couple of years (before I went core :-) and
>>>> a quick google seems to me that the ado libs for ssas are not there for
>>>> core. Personally I'd suggest exposing the cubes using a webapi though this
>>>> is not a strict core solution either via your own .net FMK service own or
>>>> via Azure ssas. The other thing I found was using IIS to expose the cubes
>>>> as an XML web service -
>>>> http://getsetsql.blogspot.com/2012/02/v-behaviorurldefaultvmlo.html
>>>> access ( more in
>>>> https://stackoverflow.com/questions/25300211/adomd-client-in-mono) -
>>>> core supports legacy support for XML web services through the WCF Client
>>>> Core - https://github.com/dotnet/wcf
>>>>
>>>> Hope that that helps
>>>>
>>>>
>>>>
>>>> regards,
>>>> Preet, in Auckland NZ
>>>>
>>>>
>>>>
>>>> On Wed, 17 Oct 2018 at 18:30, Tony Wright  wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I am currently attempting to access an analysis services olap cube
>>>>> from my dot net core 2.1 application, written in c# (I'd prefer a pure dot
>>>>> net core solution) Has anyone done this? If so how did you achieve it?
>>>>>
>>>>> Kind regards,
>>>>> Tony
>>>>>
>>>>


Re: Dot net core 2.1 and ssas

2018-10-17 Thread Preet Sangha
Nice. Let me know how it goes I'd be interested in the package for future
reference


regards,
Preet, in Auckland NZ



On Thu, 18 Oct 2018 at 11:12, Tony Wright  wrote:

> Ah the world of dot net core; I did think of building my own webapi
> interface into SSAS using net framework, but I have since found an
> unsupported NuGet package which I am having a play with now that is a
> rewrite of adomd for core. It's not compete and appears to have simple
> functionality, but I'll have a play and see whether it fits everything I
> need.
>
> Thanks for the suggestion.
>
> On Thu., 18 Oct. 2018, 6:57 am Preet Sangha, 
> wrote:
>
>> Hi tony,
>>
>> I've not touched ssas for a couple of years (before I went core :-) and a
>> quick google seems to me that the ado libs for ssas are not there for core.
>> Personally I'd suggest exposing the cubes using a webapi though this is not
>> a strict core solution either via your own .net FMK service own or via
>> Azure ssas. The other thing I found was using IIS to expose the cubes as an
>> XML web service -
>> http://getsetsql.blogspot.com/2012/02/v-behaviorurldefaultvmlo.html
>> access ( more in
>> https://stackoverflow.com/questions/25300211/adomd-client-in-mono) -
>> core supports legacy support for XML web services through the WCF Client
>> Core - https://github.com/dotnet/wcf
>>
>> Hope that that helps
>>
>>
>>
>> regards,
>> Preet, in Auckland NZ
>>
>>
>>
>> On Wed, 17 Oct 2018 at 18:30, Tony Wright  wrote:
>>
>>> Hi all,
>>>
>>> I am currently attempting to access an analysis services olap cube from
>>> my dot net core 2.1 application, written in c# (I'd prefer a pure dot net
>>> core solution) Has anyone done this? If so how did you achieve it?
>>>
>>> Kind regards,
>>> Tony
>>>
>>


Re: Dot net core 2.1 and ssas

2018-10-17 Thread Preet Sangha
Hi tony,

I've not touched ssas for a couple of years (before I went core :-) and a
quick google seems to me that the ado libs for ssas are not there for core.
Personally I'd suggest exposing the cubes using a webapi though this is not
a strict core solution either via your own .net FMK service own or via
Azure ssas. The other thing I found was using IIS to expose the cubes as an
XML web service -
http://getsetsql.blogspot.com/2012/02/v-behaviorurldefaultvmlo.html access
( more in https://stackoverflow.com/questions/25300211/adomd-client-in-mono)
- core supports legacy support for XML web services through the WCF Client
Core - https://github.com/dotnet/wcf

Hope that that helps



regards,
Preet, in Auckland NZ



On Wed, 17 Oct 2018 at 18:30, Tony Wright  wrote:

> Hi all,
>
> I am currently attempting to access an analysis services olap cube from my
> dot net core 2.1 application, written in c# (I'd prefer a pure dot net core
> solution) Has anyone done this? If so how did you achieve it?
>
> Kind regards,
> Tony
>


Re: Installers for a windows service

2018-10-02 Thread Preet Sangha
No worries. I also used Wix for another project and honestly I believe
that though it has so much promise, it really had such appaling
documentation and examples available that nearly every thing was a real
pain to try and work out.

I personally urge you to stick with the installer projects if you can.

On Tue., 2 Oct. 2018, 7:23 pm kirsten greed, 
wrote:

> Thanks Preet I found it
>
> On Tue, Oct 2, 2018 at 2:30 PM Preet Sangha  wrote:
>
>> The old visual studio installer projects are available. You just have to
>> install the extension yourself. I found that in 2015 and 2017.
>>
>> On Tue., 2 Oct. 2018, 5:22 pm kirsten greed, 
>> wrote:
>>
>>> Hi Folk
>>> I understand that VS2017 does not include an installer (2015 apparently
>>> made use of Install Shield )
>>>
>>> I have a windows service that I want to build an installer for.
>>> Any recommendations?
>>>
>>> Thanks
>>> Kirsten
>>>
>>


Re: Installers for a windows service

2018-10-01 Thread Preet Sangha
The old visual studio installer projects are available. You just have to
install the extension yourself. I found that in 2015 and 2017.

On Tue., 2 Oct. 2018, 5:22 pm kirsten greed, 
wrote:

> Hi Folk
> I understand that VS2017 does not include an installer (2015 apparently
> made use of Install Shield )
>
> I have a windows service that I want to build an installer for.
> Any recommendations?
>
> Thanks
> Kirsten
>


Re: C# SqlConnection Nested Stored Proc Deadlock

2018-01-31 Thread Preet Sangha
Can you use a try catch in the outewr proc and get the error number such as
in this page?
https://technet.microsoft.com/en-us/library/aa175791(v=sql.80).aspx ( *SQL
Essentials: Using TRY/CATCH to Resolve Deadlocks in SQL Server 2005)*


regards,
Preet, in Auckland NZ


On 1 February 2018 at 14:42, David Burstin  wrote:

> Hi folks,
>
> Hope everyone is having a great day and enjoyed the super blue blood moon
> last night.
>
> Quick question:
>
> Given a stored procedure "OuterProc" that calls another stored procedure
> internally "InnerProc"
> When I call "OuterProc" from C# using a connection with a started
> transaction, and "InnerProc" becomes a deadlock victim
> Is there a way that I can identify in my C# code that "InnerProc" was the
> deadlock victim, given that my C# code only knows about "OuterProc"?
>
> Cheers
> Dave
>


Re: Global SQL Server timeout

2017-07-09 Thread Preet Sangha
;Connection Timeout=XX in the connection string

where XX is in seconds is the way to do it in a single connection string.

I don't know about EL


regards,
Preet, in Auckland NZ


On 10 July 2017 at 14:27, Greg Keogh  wrote:

> Folks, I have some old code that uses a mixture of Enterprise Library 5
> and traditional ADO.NET classes. On some machines I'm getting command
> timeouts at 30 seconds. Is there a way of globally changing the timeout for
> all commands on the connection, perhaps by changing the connection string?
>
> I could get into every db call and set the timeout on each command, but
> there are hundreds of them. That's why I'm looking for some global change
> that avoids code changes.
>
> *Greg K*
>


Re: What are the WebDev technologies that any self respecting Dev should know these days?

2017-06-23 Thread Preet Sangha
Cheers piers. That's a hell of map.

On 23/06/2017 2:10 am, "Piers Williams" <piers.willi...@gmail.com> wrote:

https://github.com/kamranahmedse/developer-roadmap seems like quite a good
landscape overview

On 18 June 2017 at 18:47, Preet Sangha <preetsan...@gmail.com> wrote:

> Thanks guys. I suspect that what I'm really after is the answer to the
> question "I'm gonna do some web dev to support my IOT projects, and to make
> the skills saleable, what web technologies should I consider as must haves
> these days?"
>
> I can see that javascript is the big one! As a .netter I'll obviously get
> reskilled in MVC and I already have ORM & SQL skills anyway.
>
> Again thanks for taking the time for your detailed answers!
>
>
>
> regards,
> Preet, in Auckland NZ
>
>
> On 18 June 2017 at 15:02, Stephen Price <step...@lythixdesigns.com> wrote:
>
>> Yes, I'm currently working on an Android application which is part of a
>> product suite.
>>
>>
>> The work going on in the Xamarin space is very active. Many new features
>> and bug fixes coming out regularly.
>>
>> Mature is a relative term I think. If you compare Xamarin with other
>> frameworks that have been around longer and are relatively slow moving (ie
>> say WPF) then yeah you could say its less mature.
>>
>>
>> If you want stable, then I would say that is there. The stable releases
>> are stable enough to use in production. Perfect? No, but each new release
>> is more stable than the last. Currently seeing several releases per month.
>> Show stopper bugs are unusual.
>>
>>
>> Looking at your post about getting into web technologies, I would say
>> that it would be difficult as a developer today to be able to be all over
>> Web technologies as well as Xamarin/mobile. Throw desktop into that and you
>> further dilute your skill focus. I have worked with all of these, desktop,
>> web and mobile. My experience is if you focus on one of them, keeping up to
>> date, then you miss things in the others. Last year I was working on
>> Angular 2 (about the time it released, I was using the final RC's) and I
>> don't even know what version it's at now.
>>
>>
>> It takes a lot of time to keep up to speed with so many fast moving
>> fronts. The more time you have available the more of them you can keep on
>> top off. I guess it comes down to your personal interests and goals on
>> which you focus on. Which do you enjoy the most? Do you contract or
>> permanent? Do you enjoy going deep on one technology or like to spread your
>> skills across many different technologies? If you do go deep on one, then
>> that will take you away from others.
>>
>>
>> Do what you love, you will do way better at it and it won't even feel
>> like work. Changing from one technology to another can take time as
>> employers tend to hire people with experience. I think you are on the right
>> path finding out the must haves to learn, but finding the "right" one might
>> be a much harder task as there are so many. In all my years as a developer,
>>  I've never seen two projects using identical technology stacks. Even when
>> you compare two Angular projects, or whatever.
>>
>> That's gotta make choosing what to learn so much harder.
>>
>>
>> cheers
>>
>> Stephen
>>
>>
>>
>> --
>> *From:* ozdotnet-boun...@ozdotnet.com <ozdotnet-boun...@ozdotnet.com> on
>> behalf of Preet Sangha <preetsan...@gmail.com>
>> *Sent:* Sunday, 18 June 2017 9:59:16 AM
>> *To:* ozDotNet
>> *Subject:* Re: What are the WebDev technologies that any self respecting
>> Dev should know these days?
>>
>> Are the. Net core skills in demand where you guys are based? Is anyone
>> doing commercial projects in the portable technologies?
>>
>> I've read about people experience of xamarin on the list and it doesn't
>> seem to resonate as mature technology.
>>
>> On 16/06/2017 11:00 pm, "Preet Sangha" <preetsan...@gmail.com> wrote:
>>
>>> Cheers. I appreciate the feedback.
>>>
>>> regards,
>>> Preet, in Auckland NZ
>>>
>>>
>>> On 16 June 2017 at 20:07, Bec C <bec.usern...@gmail.com> wrote:
>>>
>>>> Melb market is also filled with Dynamics and Sitecore work.
>>>>
>>>> But as .net dude said JS is where it's all at. I found it very hard to
>>>> get work in Melb with no Angular or React experience.
>>>>
>>>> "Full stack

Re: [OT] Sit/stand desk results

2017-06-19 Thread Preet Sangha
Hey Tom.

No I decided to try it when I joined a new company. I've been itching to
try it (and didn't bother when working from home - laziness). I didn't do
it for health reasons other that the nebulous "it's better for you to not
sit all day". I'm overweight and I was hoping it would make me lose weight
more quickly too (Spoiler - not in the slightest :=)

However I will say this, being overweight I don't get any backache now that
I can recall. I feel my posture has improved and this has had some benefit
on my overall all back strength. I don't recall getting back ache when I
sat but perhaps that was posture too.

What I can say is that perhaps it's worth a try. For me it was a month
before I truly felt OK - not comfortable, OK. Now it's very comfortable to
sit or stand (though my desk doesn't change - so I move to a sitting desk
very very occasionally for a few mins to do sitting down stuff like reading
paper or meetings.


regards,
Preet, in Auckland NZ


On 19 June 2017 at 18:33, Tony Wright  wrote:

> Hi Tom,
>
> No, not the back for me. They say that your body stops regulating insulin
> properly after 4 hours of sitting, and that's about when I was feeling
> unwell/lethargic from sitting.
>
> Regards,
> Tony
>
> On Mon, Jun 19, 2017 at 4:00 PM, Tom Rutter  wrote:
>
>> Did you switch to this for a specific reason (lower back problem for
>> example)? If so did this help at all in a noticeable way?
>>
>>
>> On Monday, 19 June 2017, Tony Wright  wrote:
>>
>>> Hi Tom,
>>>
>>> It changes for me. Sometimes I stand, sometimes I sit. If I feel that
>>> I've been sitting for too long, I hit the buttons and stand for a while.
>>> I'm not regretful for one second that I have the option.
>>>
>>> Regards,
>>> Tony
>>>
>>> On Mon, Jun 19, 2017 at 1:54 PM, Tom Rutter  wrote:
>>>
 Hey folks

 I recall a while ago discussion into sit/stand desks and was interested
 in how people went with this setup. Did those that tried standing get any
 good (or bad) results? Are they still doing it or went back to only 
 sitting?

 Cheers

>>>
>>>
>


Re: What are the WebDev technologies that any self respecting Dev should know these days?

2017-06-18 Thread Preet Sangha
Thanks guys. I suspect that what I'm really after is the answer to the
question "I'm gonna do some web dev to support my IOT projects, and to make
the skills saleable, what web technologies should I consider as must haves
these days?"

I can see that javascript is the big one! As a .netter I'll obviously get
reskilled in MVC and I already have ORM & SQL skills anyway.

Again thanks for taking the time for your detailed answers!



regards,
Preet, in Auckland NZ


On 18 June 2017 at 15:02, Stephen Price <step...@lythixdesigns.com> wrote:

> Yes, I'm currently working on an Android application which is part of a
> product suite.
>
>
> The work going on in the Xamarin space is very active. Many new features
> and bug fixes coming out regularly.
>
> Mature is a relative term I think. If you compare Xamarin with other
> frameworks that have been around longer and are relatively slow moving (ie
> say WPF) then yeah you could say its less mature.
>
>
> If you want stable, then I would say that is there. The stable releases
> are stable enough to use in production. Perfect? No, but each new release
> is more stable than the last. Currently seeing several releases per month.
> Show stopper bugs are unusual.
>
>
> Looking at your post about getting into web technologies, I would say that
> it would be difficult as a developer today to be able to be all over Web
> technologies as well as Xamarin/mobile. Throw desktop into that and you
> further dilute your skill focus. I have worked with all of these, desktop,
> web and mobile. My experience is if you focus on one of them, keeping up to
> date, then you miss things in the others. Last year I was working on
> Angular 2 (about the time it released, I was using the final RC's) and I
> don't even know what version it's at now.
>
>
> It takes a lot of time to keep up to speed with so many fast moving
> fronts. The more time you have available the more of them you can keep on
> top off. I guess it comes down to your personal interests and goals on
> which you focus on. Which do you enjoy the most? Do you contract or
> permanent? Do you enjoy going deep on one technology or like to spread your
> skills across many different technologies? If you do go deep on one, then
> that will take you away from others.
>
>
> Do what you love, you will do way better at it and it won't even feel like
> work. Changing from one technology to another can take time as employers
> tend to hire people with experience. I think you are on the right path
> finding out the must haves to learn, but finding the "right" one might be a
> much harder task as there are so many. In all my years as a developer,
>  I've never seen two projects using identical technology stacks. Even when
> you compare two Angular projects, or whatever.
>
> That's gotta make choosing what to learn so much harder.
>
>
> cheers
>
> Stephen
>
>
>
> --
> *From:* ozdotnet-boun...@ozdotnet.com <ozdotnet-boun...@ozdotnet.com> on
> behalf of Preet Sangha <preetsan...@gmail.com>
> *Sent:* Sunday, 18 June 2017 9:59:16 AM
> *To:* ozDotNet
> *Subject:* Re: What are the WebDev technologies that any self respecting
> Dev should know these days?
>
> Are the. Net core skills in demand where you guys are based? Is anyone
> doing commercial projects in the portable technologies?
>
> I've read about people experience of xamarin on the list and it doesn't
> seem to resonate as mature technology.
>
> On 16/06/2017 11:00 pm, "Preet Sangha" <preetsan...@gmail.com> wrote:
>
>> Cheers. I appreciate the feedback.
>>
>> regards,
>> Preet, in Auckland NZ
>>
>>
>> On 16 June 2017 at 20:07, Bec C <bec.usern...@gmail.com> wrote:
>>
>>> Melb market is also filled with Dynamics and Sitecore work.
>>>
>>> But as .net dude said JS is where it's all at. I found it very hard to
>>> get work in Melb with no Angular or React experience.
>>>
>>> "Full stack" they usually want Angular or React, css, webapi, entity
>>> framework, sql server.
>>>
>>>
>>> On Friday, 16 June 2017, DotNet Dude <adotnetd...@gmail.com> wrote:
>>>
>>>> Hey Preet,
>>>>
>>>> Generally, Azure and JS frameworks like React and Angular is where "it"
>>>> is mostly at these days as far as general .net wed dev goes. It
>>>> also depends on location from my experience. I'm not familiar with the
>>>> Auckland market at all. In Melbourne most of the maintenance work is in
>>>> mvc, very little if any webforms, LOTS of Angular/React/whatever JS

Re: What are the WebDev technologies that any self respecting Dev should know these days?

2017-06-17 Thread Preet Sangha
Are the. Net core skills in demand where you guys are based? Is anyone
doing commercial projects in the portable technologies?

I've read about people experience of xamarin on the list and it doesn't
seem to resonate as mature technology.

On 16/06/2017 11:00 pm, "Preet Sangha" <preetsan...@gmail.com> wrote:

> Cheers. I appreciate the feedback.
>
> regards,
> Preet, in Auckland NZ
>
>
> On 16 June 2017 at 20:07, Bec C <bec.usern...@gmail.com> wrote:
>
>> Melb market is also filled with Dynamics and Sitecore work.
>>
>> But as .net dude said JS is where it's all at. I found it very hard to
>> get work in Melb with no Angular or React experience.
>>
>> "Full stack" they usually want Angular or React, css, webapi, entity
>> framework, sql server.
>>
>>
>> On Friday, 16 June 2017, DotNet Dude <adotnetd...@gmail.com> wrote:
>>
>>> Hey Preet,
>>>
>>> Generally, Azure and JS frameworks like React and Angular is where "it"
>>> is mostly at these days as far as general .net wed dev goes. It
>>> also depends on location from my experience. I'm not familiar with the
>>> Auckland market at all. In Melbourne most of the maintenance work is in
>>> mvc, very little if any webforms, LOTS of Angular/React/whatever JS
>>> framework. Same for Sydney. Canberra is mostly webforms and mvc from what I
>>> know (govt is usually a bit behind), Qld and WA I am not sure about.
>>>
>>> If you're wanting to get back into web dev I would ask you why. Not
>>> joking. :) If your reason is because you want to update and get back into
>>> it I'd say go hard on Javascript. If you're after money I'd say forget all
>>> that and get into Salesforce lol. Kidding. Well not really. As I said
>>> earlier you need to know your market too if you're wanting to be valuable
>>> (hireable).
>>>
>>> Cheers
>>>
>>> On Friday, 16 June 2017, Preet Sangha <preetsan...@gmail.com> wrote:
>>>
>>>> Hi team,
>>>>
>>>> Got Friday OT question for you all.  I started .net with the beta and
>>>> used aspx all those years ago. I stayed with ASPX until about 2007 but
>>>> about then I moved into doing more desktop development. I'd really like to
>>>> dust off and polish my web dev skills but there seems to be a plethora of
>>>> things that have sort of past me by Azure, Javascript, Angular (?) to name
>>>> a few.
>>>>
>>>> I know that fair few of you do web dev so i was wondering what you
>>>> could advise as the must have skills today!
>>>>
>>>> Just to give you a history, from 2007 I did WCF/WF & WPF type stuff,
>>>> from 2010 I did more Cubes and SSRS BI stuff and for the past couple of
>>>> years I've been doing pure legacy desktop C++/CLI/.Net so not a lot of
>>>> webbie stuff at all :-)
>>>>
>>>>
>>>> regards,
>>>> Preet, in Auckland NZ
>>>>
>>>>
>


Re: What are the WebDev technologies that any self respecting Dev should know these days?

2017-06-16 Thread Preet Sangha
Cheers. I appreciate the feedback.

regards,
Preet, in Auckland NZ


On 16 June 2017 at 20:07, Bec C <bec.usern...@gmail.com> wrote:

> Melb market is also filled with Dynamics and Sitecore work.
>
> But as .net dude said JS is where it's all at. I found it very hard to get
> work in Melb with no Angular or React experience.
>
> "Full stack" they usually want Angular or React, css, webapi, entity
> framework, sql server.
>
>
> On Friday, 16 June 2017, DotNet Dude <adotnetd...@gmail.com> wrote:
>
>> Hey Preet,
>>
>> Generally, Azure and JS frameworks like React and Angular is where "it"
>> is mostly at these days as far as general .net wed dev goes. It
>> also depends on location from my experience. I'm not familiar with the
>> Auckland market at all. In Melbourne most of the maintenance work is in
>> mvc, very little if any webforms, LOTS of Angular/React/whatever JS
>> framework. Same for Sydney. Canberra is mostly webforms and mvc from what I
>> know (govt is usually a bit behind), Qld and WA I am not sure about.
>>
>> If you're wanting to get back into web dev I would ask you why. Not
>> joking. :) If your reason is because you want to update and get back into
>> it I'd say go hard on Javascript. If you're after money I'd say forget all
>> that and get into Salesforce lol. Kidding. Well not really. As I said
>> earlier you need to know your market too if you're wanting to be valuable
>> (hireable).
>>
>> Cheers
>>
>> On Friday, 16 June 2017, Preet Sangha <preetsan...@gmail.com> wrote:
>>
>>> Hi team,
>>>
>>> Got Friday OT question for you all.  I started .net with the beta and
>>> used aspx all those years ago. I stayed with ASPX until about 2007 but
>>> about then I moved into doing more desktop development. I'd really like to
>>> dust off and polish my web dev skills but there seems to be a plethora of
>>> things that have sort of past me by Azure, Javascript, Angular (?) to name
>>> a few.
>>>
>>> I know that fair few of you do web dev so i was wondering what you could
>>> advise as the must have skills today!
>>>
>>> Just to give you a history, from 2007 I did WCF/WF & WPF type stuff,
>>> from 2010 I did more Cubes and SSRS BI stuff and for the past couple of
>>> years I've been doing pure legacy desktop C++/CLI/.Net so not a lot of
>>> webbie stuff at all :-)
>>>
>>>
>>> regards,
>>> Preet, in Auckland NZ
>>>
>>>


Re: What are the WebDev technologies that any self respecting Dev should know these days?

2017-06-16 Thread Preet Sangha
Thank you. Well I have a couple of reasons - one is the remaining relevant
in case I need/want to change jobs, and the second is that I've done lots
of desk top work and I need a new challenge away from the desktop
programming. I've been playing with embedded/electronics/iot in my hobbies
for then past  year and the web ties up with it really well. So bit of both
really challenge and skills to sell.

In terms of cash - I have good amount of big business exp in
BI/Analytics/Cubes etc, but frankly been there and got the tshirt but
wouldn't want to retire there :-) But thanks for the recommendations.


> If you're wanting to get back into web dev I would ask you why. Not
> joking. :) If your reason is because you want to update and get back into
> it I'd say go hard on Javascript. If you're after money I'd say forget all
> that and get into Salesforce lol. Kidding. Well not really. As I said
> earlier you need to know your market too if you're wanting to be valuable
> (hireable).
>
> Cheers
>
>
> On Friday, 16 June 2017, Preet Sangha <preetsan...@gmail.com> wrote:
>
>> Hi team,
>>
>> Got Friday OT question for you all.  I started .net with the beta and
>> used aspx all those years ago. I stayed with ASPX until about 2007 but
>> about then I moved into doing more desktop development. I'd really like to
>> dust off and polish my web dev skills but there seems to be a plethora of
>> things that have sort of past me by Azure, Javascript, Angular (?) to name
>> a few.
>>
>> I know that fair few of you do web dev so i was wondering what you could
>> advise as the must have skills today!
>>
>> Just to give you a history, from 2007 I did WCF/WF & WPF type stuff, from
>> 2010 I did more Cubes and SSRS BI stuff and for the past couple of years
>> I've been doing pure legacy desktop C++/CLI/.Net so not a lot of webbie
>> stuff at all :-)
>>
>>
>> regards,
>> Preet, in Auckland NZ
>>
>>


What are the WebDev technologies that any self respecting Dev should know these days?

2017-06-16 Thread Preet Sangha
Hi team,

Got Friday OT question for you all.  I started .net with the beta and used
aspx all those years ago. I stayed with ASPX until about 2007 but about
then I moved into doing more desktop development. I'd really like to dust
off and polish my web dev skills but there seems to be a plethora of things
that have sort of past me by Azure, Javascript, Angular (?) to name a few.

I know that fair few of you do web dev so i was wondering what you could
advise as the must have skills today!

Just to give you a history, from 2007 I did WCF/WF & WPF type stuff, from
2010 I did more Cubes and SSRS BI stuff and for the past couple of years
I've been doing pure legacy desktop C++/CLI/.Net so not a lot of webbie
stuff at all :-)


regards,
Preet, in Auckland NZ


Re: Windows folder redirection and Assembly.GetExecutingAssembly().Location and editing a .config file at run time

2017-04-06 Thread Preet Sangha
Actually pressed send too early.

>From my original question. Will windows folder redirection mean I won't be
able to apply my permissions modification to a knows file location or is
WFR invisible to me?


regards,
Preet, in Auckland NZ


On 7 April 2017 at 13:35, Preet Sangha <preetsan...@gmail.com> wrote:

> Cheers Greg
>
>
> regards,
> Preet, in Auckland NZ
>
>
> On 7 April 2017 at 13:19, Greg Keogh <gfke...@gmail.com> wrote:
>
>> In terms of permission I can use icacls to make the changes can't I?
>>>
>>
>> I'm lucky to have some installer CAs written in C# so I tweak permissions
>> in code. You could shell-out to the icacls command, but be careful with
>> timing and command arguments. I forgot which of cacls utilities was the
>> most modern, but a search quickly revealed that icacls is -- *GK*
>>
>> *Currently, you can use the Xcacls.exe utility, the Cacls.exe utility,
>> and the Xcacls.vbs utility to modify NTFS permissions in Windows Server
>> 2003. The Icacls.exe utility is an alternative option for modifying NTFS
>> permissions. The Icacls.exe utility resolves various issues that occur when
>> you use the existing utilities.*
>>
>
>


Re: Windows folder redirection and Assembly.GetExecutingAssembly().Location and editing a .config file at run time

2017-04-06 Thread Preet Sangha
Cheers Greg


regards,
Preet, in Auckland NZ


On 7 April 2017 at 13:19, Greg Keogh  wrote:

> In terms of permission I can use icacls to make the changes can't I?
>>
>
> I'm lucky to have some installer CAs written in C# so I tweak permissions
> in code. You could shell-out to the icacls command, but be careful with
> timing and command arguments. I forgot which of cacls utilities was the
> most modern, but a search quickly revealed that icacls is -- *GK*
>
> *Currently, you can use the Xcacls.exe utility, the Cacls.exe utility, and
> the Xcacls.vbs utility to modify NTFS permissions in Windows Server 2003.
> The Icacls.exe utility is an alternative option for modifying NTFS
> permissions. The Icacls.exe utility resolves various issues that occur when
> you use the existing utilities.*
>


Re: Windows folder redirection and Assembly.GetExecutingAssembly().Location and editing a .config file at run time

2017-04-06 Thread Preet Sangha
Thanks Glen,

If i owned the info then I'd definitely not be storing it there, however
I'm in a double bind the information is not know until well after
installation so I can edit it then. And it's not replaceable into another
format as it's read by a third party component.

However I'm now going to be investigating changing the installer so that I
change it's permissions to make at least that file editable (at the later
time) and hope that the customers IT (non enterprise) has some modicum of
change control over it. I will add extra code to verify that they haven't
messed it up from the 'official source of truth' I'm storing in my database
and correcting it to last know good if they have before use.

In terms of permission I can use icacls to make the changes can't I?


regards,
Preet, in Auckland NZ


On 7 April 2017 at 10:11, Glen Harvy <g...@aquarius.com.au> wrote:

> Hi,
>
> What is the information you need to store? If it's paths then you could
> record the path in the config file and then have that path redirected to
> where you really install the data.
>
> Frankly, changing permissions is very simple to do so changing
> permissions, editing and then changing back is no big deal. I have my
> installer run a simple program to do what you want and it works OK.
>
> Glen.
> On 6/04/2017 7:17 AM, Preet Sangha wrote:
>
> team,
>
> I have a .config file (not the main blah.exe.config) that needs some
> special mangling at runtime.
>
>
> My google fu is failing me. Provided that I'm running on a OS Window 7+,
> will the above .net 4.52 call and I write to the file, do I have to
> anything special to allow my program to write to the file? My code can
> request 'Run as ADMIN" access for when they need to do this operation.
>
> The issue I face is that this file belongs to a third party product but we
> have to install it. The file cannot be edited at install time as this
> information is only known later at run time. I'm looking for a way to not
> have to manually have to (a) have to edit the security on the file in (b)
> keep the file protected for any other casual access.
>
>
> I'm sure this is a solved problem but I don't seem to be able to find an
> answer.
>
>
>
>
> regards,
> Preet, in Auckland NZ
>
>
>
>


Re: Windows folder redirection and Assembly.GetExecutingAssembly().Location and editing a .config file at run time

2017-04-05 Thread Preet Sangha
I gets worse. I now have to ensure that each client as a copy of the
updated file ;-)


regards,
Preet, in Auckland NZ


On 6 April 2017 at 12:43, Greg Keogh <gfke...@gmail.com> wrote:

> Yoikes ... You've got a 3rd party config file that stuck beside the
> executables in a folder that is not writable by normal user accounts, but
> you need to update it at runtime. It sounds like you're snookered as you're
> technically breaking the modern compliance rules.
>
> You could annotate the program as requiring admin privileges, but you'll
> get elevation prompts all the time. If you have your own installer you
> could write a CA to set modify permission on that specific file at install
> time for some suitable account (all users? which is very loose).
>
> I can't right now think of any neat or sensible way around this. The last
> idea seems the least worst, assuming you have some control over the
> installation process.
>
> *GK*
>
> On 6 April 2017 at 07:47, Preet Sangha <preetsan...@gmail.com> wrote:
>
>> team,
>>
>> I have a .config file (not the main blah.exe.config) that needs some
>> special mangling at runtime.
>>
>>
>> My google fu is failing me. Provided that I'm running on a OS Window 7+,
>> will the above .net 4.52 call and I write to the file, do I have to
>> anything special to allow my program to write to the file? My code can
>> request 'Run as ADMIN" access for when they need to do this operation.
>>
>> The issue I face is that this file belongs to a third party product but
>> we have to install it. The file cannot be edited at install time as this
>> information is only known later at run time. I'm looking for a way to not
>> have to manually have to (a) have to edit the security on the file in (b)
>> keep the file protected for any other casual access.
>>
>>
>> I'm sure this is a solved problem but I don't seem to be able to find an
>> answer.
>>
>>
>>
>>
>> regards,
>> Preet, in Auckland NZ
>>
>>
>


Windows folder redirection and Assembly.GetExecutingAssembly().Location and editing a .config file at run time

2017-04-05 Thread Preet Sangha
team,

I have a .config file (not the main blah.exe.config) that needs some
special mangling at runtime.


My google fu is failing me. Provided that I'm running on a OS Window 7+,
will the above .net 4.52 call and I write to the file, do I have to
anything special to allow my program to write to the file? My code can
request 'Run as ADMIN" access for when they need to do this operation.

The issue I face is that this file belongs to a third party product but we
have to install it. The file cannot be edited at install time as this
information is only known later at run time. I'm looking for a way to not
have to manually have to (a) have to edit the security on the file in (b)
keep the file protected for any other casual access.


I'm sure this is a solved problem but I don't seem to be able to find an
answer.




regards,
Preet, in Auckland NZ


Re: Ozdotnet list

2017-04-03 Thread Preet Sangha
As a non Oz developer (I'm in Auckland) I suppose I don't have much say. So
I'll just add that my chief bug bear with of web boards is the utter shite
most seem to have in terms of conversation threading, searching, and also
the formatting of code. As long as these are good then I'd be happy to
continue contributing (if will you still have me).

To me tags opposed to multiple boards are way way better. If a convo can be
xamarin and VB and iOS then I'd hate to see it only in say the iOS board as
opposed to the xamarin and VB boards - I hope that makes sense.


regards,
Preet, in Auckland NZ


On 4 April 2017 at 13:52, Greg Keogh  wrote:

> If Discourse tags conversations like other typical modern forums, then we
> can have lots of easily identifiable sub-topics like .NET, C#, F#, Xamarin,
> Android, WPF, VB Sucks, OT, etc.
>
> There are a hell of a lot of forums for IT, far too many I think, so we'll
> have lots of competition and will need to make it attractive.
>
> *GK*
>
> On 4 April 2017 at 11:08, Stephen Price  wrote:
>
>> Some great feedback all.
>>
>>
>> Given our current lists all have a .Net theme, along with the long
>> standing history of Aus-dotnet (now Ozdotnet), I like the idea of sticking
>> with the current Ozdotnet. And as suggested make it clear that any topic is
>> fine, developers tend to be in all spaces these days.
>>
>>
>> Discourse has a really nice way of tagging a message with a category. so
>> you can't really post into the "wrong" topic. Anyone with suitable
>> permissions (regular forum users become more trusted and so the workload
>> doesn't fall on a single Admin) can tag a message with a category which
>> essentially moves it into the right topic.
>>
>>
>> My daughter has agreed to do some logo designs so I'll post any potential
>> designs to the group. We can RedBubble up some Ozdotnet merchandise which
>> can help cover the costs of hosting, and maybe even go towards promotion to
>> other Aussie devs onboard.
>>
>>
>> This is exciting!
>> --
>> *From:* ozdotnet-boun...@ozdotnet.com  on
>> behalf of David Richards 
>> *Sent:* Tuesday, 4 April 2017 8:55:27 AM
>> *To:* ozDotNet
>> *Subject:* Re: Ozdotnet list
>>
>> I have no problem with the move.  I've been on this list since sometime
>> around 2003/4.  It's probably a bit ironic that a tech focused list is a
>> bit behind in the tech department.
>>
>> Suggestions from me:
>> 1. Open it up a bit rather than be focused on .net but make sure its made
>> clear what category you're discussing and can filter as per your desire.
>> I'm still a .net developer but these days do more in java and android.
>> Xamarin has brought .net to other platforms so this expands the possible
>> discussions. (OT anyone?)
>> 2. Make sure there are alternative ways to contact admins.  I only
>> mention this because for a long time I was a member of an android google
>> group and suddenly found I could no longer post to the group.  I couldn't
>> even contact anyone to help resolve the issue, it all seemed to be
>> blocked.  Ended up giving up on the group.
>> 3. Aus focussed could be a good thing. It can be annoying seeing
>> something interesting mentioned on a forum that is in another country and
>> in any practical sense, inaccessible.  There are plenty of developer forums
>> out there so an Aus forum gives us an important differentiation.
>>
>> David
>>
>> "If we can hit that bullseye, the rest of the dominoes
>>  will fall like a house of cards... checkmate!"
>>  -Zapp Brannigan, Futurama
>>
>> On 4 April 2017 at 10:24, William Luu  wrote:
>>
>>> I don't contribute here much either, but still read it whenever there's
>>> some interesting discussion.
>>>
>>> I welcome the move. However, I think most people would jump straight to
>>> their favourite search engines/StackOverflow when they have an issue. So I
>>> think that's part of why this last has become so inactive.
>>> From what I'm recall, this list (in its' original form as 'aus-dotnet'
>>> and hosted by Dr Pete) had been around since .NET 1.0 (and probably
>>> earlier), so I'd be sad to see it disappear altogether. I think I've been a
>>> member since around 2002/3?
>>>
>>> From a nostalgia standpoint, I'd like to see the same name continue but
>>> make it clear that we welcome all.
>>>
>>>
>>> Will
>>>
>>>
>>>
>>
>


Re: FrontBase

2017-03-24 Thread Preet Sangha
Never used it myself - but looking through the docs I think i supports
ODBC, to perhaps you can use a tools like MS Query/Access etc to access it?


regards,
Preet, in Auckland NZ


On 24 March 2017 at 23:14, Craig van Nieuwkerk  wrote:

> I have a backup of a FrontBase (http://www.frontbase.com) database that I
> am trying to access. Does anyone have any experience with this? I have
> tried using the tools from their website to restore but to no avail.
>
> Thanks
> Craig
>


Re: installing multiple things on my development machine. Are Virtualmachines still the way to go?

2017-02-04 Thread Preet Sangha
Well done - what a memory!

PF 1 ===> HELP
PF 2 ===> SPLIT
PF 3 ===> END
PF 4 ===> RETURN
PF 5 ===> RFIND
PF 6 ===> RCHANGE
PF 7 ===> UP
PF 8 ===> DOWN
PF 9 ===> SWAP
PF10 ===> LEFT
PF11 ===> RIGHT
PF12 ===> RETRIEVE


https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ikjp100/pfk.htm#pfk







regards,
Preet, in Auckland NZ


On 4 February 2017 at 14:23, Greg Keogh  wrote:

> Oh sorry Kirsten that's my old IBM days coming through. The function keys
>> used to be named PF1 PF2 etc...I meant F5 (start debug in Visual Studio).
>>
>
> I thought I was seeing things. Yes, wasn't PF07 scroll up and PF08 scroll
> down, and PF01 help? I've forgotten now -- *Greg*
>


Re: installing multiple things on my development machine. Are Virtualmachines still the way to go?

2017-02-03 Thread Preet Sangha
Oh sorry Kirsten that's my old IBM days coming through. The function keys
used to be named PF1 PF2 etc...I meant F5 (start debug in Visual Studio).


regards,
Preet, in Auckland NZ


On 4 February 2017 at 13:30, Kirsten Greed <kirst...@jobtalk.com.au> wrote:

> Thanks Preet
> What is  PF5 ?
> --
> *From:* ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-bounces@
> ozdotnet.com] *On Behalf Of *Preet Sangha
> *Sent:* Saturday, 4 February 2017 10:47 AM
> *To:* ozDotNet
> *Subject:* Re: installing multiple things on my development machine. Are
> Virtualmachines still the way to go?
>
> Your VMs take a long time to load? I've been using SSd for about 4/5 years
> now and don't find VMs take that long at all, esp. since there is not need
> to power down. You can just pause them.
>
> For my dev box I have SQL server (2 versions), VS 2010 (C++) and VS 2015
> (complete) , though the 2010 is now no longer needed. Plus I have git and
> and few tools like beyond compare and git UIs + office software.
>
> I tend to use VMs (Hyper V) for testing where more than PF5 is needed.
>
>
> regards,
> Preet, in Auckland NZ
>
>
> On 4 February 2017 at 12:30, Kirsten Greed <kirst...@jobtalk.com.au>
> wrote:
>
>> I have a chance to upgrade my development box.
>>
>> Over the years multiple programs have crept on to my box including 3
>> versions of SQL Server Express.
>>
>> I am wondering how to be more disciplined in keeping my environment clean
>>
>> Although I have some VMs installed I haven't been using them because they
>> take so long to load.
>>
>> For trying out new things - like VS2017, are VMs still the way to go?
>> Or is there something else  now ( like Docker? )
>>
>> What programs should be "On the metal" ?
>>
>>
>>
>
>


Re: installing multiple things on my development machine. Are Virtual machines still the way to go?

2017-02-03 Thread Preet Sangha
Your VMs take a long time to load? I've been using SSd for about 4/5 years
now and don't find VMs take that long at all, esp. since there is not need
to power down. You can just pause them.

For my dev box I have SQL server (2 versions), VS 2010 (C++) and VS 2015
(complete) , though the 2010 is now no longer needed. Plus I have git and
and few tools like beyond compare and git UIs + office software.

I tend to use VMs (Hyper V) for testing where more than PF5 is needed.


regards,
Preet, in Auckland NZ


On 4 February 2017 at 12:30, Kirsten Greed  wrote:

> I have a chance to upgrade my development box.
>
> Over the years multiple programs have crept on to my box including 3
> versions of SQL Server Express.
>
> I am wondering how to be more disciplined in keeping my environment clean
>
> Although I have some VMs installed I haven't been using them because they
> take so long to load.
>
> For trying out new things - like VS2017, are VMs still the way to go?  Or
> is there something else  now ( like Docker? )
>
> What programs should be "On the metal" ?
>
>
>


Re: Friday Rant (today!)

2017-01-21 Thread Preet Sangha
> *Breaking news* ... I see that WiX has Visual Studio integration since I
last tried it. This sounds really encouraging. Has anyone tried it? I'll
give it a try now (and I expect to shed more of my hair in frustration).

nope. the integration in VS is pretty poor/basic. It's sort of usable for
MSI but if you're using the bundles it is abysmal. Anything I wanted to do
(ANYTHING) I had to edit the proj file by hand. Right clicking for
properties did nothing.

I started using WIX last week and I started outside of Visual studio WIX
projects using a batch file. And I'm so glad I did as I'd have wasted hours
trying to get anything done.




regards,
Preet, in Auckland NZ


On 22 January 2017 at 19:32, Greg Keogh  wrote:

> I disagree. We use WIX significantly inside Visual Studio, and use it to
>> build quite possible the largest in world using it (in terms of both
>> packages and size). Office also used it for years.
>>
>
> Then for the love of humanity, please get someone to make it easier for
> coders in the suburbs to use. Unless it's changed in the last few years, I
> was angered by the lack of clarity on how to nest the various elements, I
> recall you could group blocks of elements either inline or factor them out,
> and there was no guidance on when to do what. As the XML grew large and
> repetitive it became a burden. I needed to create some custom dialogs in
> the UI sequence (a bit like the old office ones) but there was no designer
> assistance of any kind and you had to manually define the position and
> length of every dialog element using unclear units (are they GDI Dialog
> units?). Even some helpful samples or typical usage cases would have been a
> helpful starting point. It was so impenetrable that I gave up. The 
> *dis*-integration
> of the various humorously named tools and lack of guidance created the
> amateurish impression.
>
> *Breaking news* ... I see that WiX has Visual Studio integration since I
> last tried it. This sounds really encouraging. Has anyone tried it? I'll
> give it a try now (and I expect to shed more of my hair in frustration).
>
> *GK*
>


Re: Portable Web Server?

2017-01-18 Thread Preet Sangha
Scott,

I don't think WF is available on .net Core yet. So in that case I'd
recommend IIS Express as your host. All the WF stuff I did was years ago
and it was all IIS based. It's grown considerably easier I hear.

Preet


regards,
Preet, in Auckland NZ


On 19 January 2017 at 19:46, Scott Barnes  wrote:

> I have a need to create a local mini web server which sole job is to act
> as a WCF host for local area network clients to feed off. The web server's
> main role is to act as a Windows Workflow host that will process inbound
> data into various whacky workflow(s).
>
> The web server is headless in that i don't ever plan on providing a HTML
> UI to it, as its really just in place to run long running procs, react to
> new inbound data and then answer any local clients requests back with data
> (in fact i'd ideally like to keep it locally "swagger"`fied).
>
> Where are we at with this kind of pattern, any new toys to play with that
> makes this easier or should i keep it circa 2009 and below - .NET wise.
>
> I'm at the moment leaning towards .NET Core mix but still not sure how to
> make Windows Workflow fit into that still (i have to use WWF).
>
>
> ---
> Regards,
> Scott Barnes
> http://www.riagenic.com
>


Re: Friday Rant (today!)

2017-01-18 Thread Preet Sangha
Wallace,

I've just been off on a reading spree following your link. One thing that
keeps coming up is that MSI offers features galore to aid all parts of the
application deployment management process. The list is very very
impressive. However the the thing that comes across is "*if written
correctly* MSI provides.". My biggest issue as you've found, is that
it's so damn hard to write them correctly. I would put money on something
like 80% of installers being the same - put some files on a disk, modify
some permissions/registry keys/windows settings and possible install some
prereqs like the C++/.net, and together with UI functions likes collect
confirm and apply This should be an absolutely solved problem by now, and I
don't see why we have to jump through a nightmare of hoops to do this.






regards,
Preet, in Auckland NZ


On 19 January 2017 at 18:59, Wallace Turner <wallace.tur...@gmail.com>
wrote:

> >Is it just me or is WIX just just a complete utter PITA?
> Yes its garbage. Yes this is just my opinion and apologies if you have
> built the worlds best installer on WIX but for me it is the most
> un-intiative piece of crap in the world. I have been waiting for someone
> else to rant so i myself can rant.
>
> after 3 days of banging my head against the wall going nowhere i switched
> to innosetup which i had absoultely no bias to prior (or had heard of) and
> acheived a good result in a short amount of time.
>
> I am not the only punter who thinks like this [1]
>
>
> [1]: http://stackoverflow.com/questions/6245260/installers-
> wix-or-inno-setup
>
> On Thu, Jan 19, 2017 at 1:49 PM, Preet Sangha <preetsan...@gmail.com>
> wrote:
>
>> Is it just me or is WIX just just a complete utter PITA?
>>
>> The documentation is appalling. It's basically incomplete and what's
>> there is spread out all over the web.
>>
>> I know the issue is that the underlying MSI infrstructure is the real
>> problem but I'm just going to rant about WIX.
>>
>> Preet
>>
>
>


Friday Rant (today!)

2017-01-18 Thread Preet Sangha
Is it just me or is WIX just just a complete utter PITA?

The documentation is appalling. It's basically incomplete and what's there
is spread out all over the web.

I know the issue is that the underlying MSI infrstructure is the real
problem but I'm just going to rant about WIX.

Preet


Re: [OT] IT in 'The Martian'

2017-01-06 Thread Preet Sangha
Talking of old processors - did you guys see this?

https://www.youtube.com/watch?v=AZb4NLXx1aM

It's very low tech (Z80) and he boots it up on a bread board. Sort of what
you'd expect of that really old stuff on those probes.


regards,
Preet, in Auckland NZ


On 6 January 2017 at 21:09, Davy Jones  wrote:

> Pathfinder (1996) was a very low tech / love cost proof of concept
> mission, so a hardened 8 bit processor is not out of the question. Nasa
> doesn't use of the shelf chips. In it's craft. That's why you will see
> laptops all over the place in Nasa footage, they don't meet the radiation
> proof specs of Nasa but are not mission critical.
> Converting. A - 65 to hex I would need a chart too, or a bit of paper and
> a pen.
>
> Davy
>
> Sent from my iPhone
>
> > On 6 Jan 2017, at 03:13, Greg Keogh  wrote:
> > Folks, we watched The Martian last night on a friend's huge TV with 3-D
> glasses (which really work, it's a technical marvel). Fabulous looking
> movie, a bit too long, clearly targeted for the big screen and those sorts
> of audiences, science stretched to the limits of credibility but you don't
> really care.
> >
> > I noticed that IT played a small co-starring role. One astrophysicist
> boffin was huddled in the corridor of a super-computer centre with his
> laptop plugged directly into one of the racks running slingshot orbit
> simulations (is it faster that way?). Matt Damon communicating with a
> camera pointing to base-16 placards (he shamefully needed an ASCII chart to
> decode the digits).
> >
> > Matt is using a hex editor at one point to directly to allow cross-probe
> communication. I'm not sure if that hex was actually anything like
> recognisable machine code, or it was real Mars Rover code from 2006 (did it
> use a well-known chip and OS?)
> >
> > One lady in the mothership's crew must have been a highly skilled
> programmer, as she had to do some emergency drastic refactoring of some
> sort (I can't remember the details now).
> >
> > A bit of cryptography/steganography ... a NASA guy sent a secret message
> to one of the crew using a fake broken email attachment, but the message
> was simply encoded as hex digits.
> >
> > There were lots of quick screen-shots showing nice graphics and source
> code. Luckily they avoided the cliché of having ludicrous complicated
> meaningless screens full of little windows and scrolling hex dumps (as in
> most action movies, like Die Hard 4). I'm sure I noticed some actual LISP
> code at one point, it was quick, but there were many lines of giveaway
> . A few other times I saw function definitions in lower case with
> underscores, so perhaps it was Python, but it was too quick to be sure.
> >
> > Greg K
>


Re: [OT] HP Spectre x360 thoughts

2016-12-13 Thread Preet Sangha
Not used this device in particular, but I've found that the the best
increase in speed I've ever found was with raid 0 ssds.

It was blistering even on a pc from 5 years ago.


regards,
Preet, in Auckland NZ


On 14 December 2016 at 19:34, Tom P  wrote:

> Hi Folks,
>
> I'm thinking of buying the HP Spectre x360 13 inch with high specs (16gb
> ram, 512 ssd, i7) which ends up costing about $3100 with the warranty. Have
> any devs here had bad experiences with this machine or recommend a better 
> alternative
> for the price?
>
> Cheers
> Tom
>
>
>
> --
> Thanks
> Tom
>
>


Re: PowerShell help

2016-09-25 Thread Preet Sangha
[Environment]::GetFolderPath("MyDocuments") | Set-Location


regards,
Preet, in Auckland NZ


On 26 September 2016 at 04:34, Ian Thomas  wrote:

> Just trying to set the initial folder as the my documents in a profile –
> this fails
>
> set-location [Environment]::GetFolderPath("MyDocuments")
>
> but in PS prompt,  [Environment]::GetFolderPath("MyDocuments") returns
> the folder string correctly.
>
>
>
> Ian Thomas
>
> Albert Park, Victoria 3206 Australia
>
>
>


SHA1 & SHA2 and WCF Services in Azure

2016-09-14 Thread Preet Sangha
If I have a hosted WCF service in Azure, at some point MS will stop
allowing SHA1 encrypted sessions with said service. I'm trying to get a
handle on when this is likely.

I know that at the end of the year various browsers will stop people
connecting to SHA1 only compliant sites, but I'm not so sure about the WCF
support.


We have some old XP clients and we want them all to move to .net 4.5.2+
which can't be installed on XP and need some hard timescales in order to
inform them.


I've been searching for this and the closest I can find

doesn't
tell me much about timelines. Would anyone have any ideas please?

regards,
Preet, in Auckland NZ


replicating the functionality of openssl command line using openssl.net

2016-08-03 Thread Preet Sangha
Hi there,

I'm in a bit of a rabbit warren of research and am basically lost. I need
to determine if a server supports a particular version of TLS
programmatically. I can determine it using the openssl tool with the
command:

openssl.exe s_client -connect someServerName:995 -tls1_1

But I've not really done anything in this world of certs and encryption
before and was wondering if anyone can point me to a sample that that
accomplishes the same or similar using the openssl.net wrapper to the
openssl libraries. If I can't I'll just encode a shell call to the exe, but
I'd like to avoid if I can (learning experience).


PS Since TLS 1.1 is going out of the window soon I have to support legacy
systems (for another year) that need graceful error messages to non
technical users telling them that their 'xyz' servers doesn't support the
old security protocols and they need to upgrade their clients!


thank you.,
Preet, in Auckland NZ


Re: Training/Mentoring a developer who doesn't seem to use many modern development productivity tools

2016-07-18 Thread Preet Sangha
This is what I've been trying to do this past week. Yeah I reckon I must be
bombarding her - I'll ease up a bit.

Thanks


On 19 July 2016 at 16:16, DotNet Dude <adotnetd...@gmail.com> wrote:

> I'd prioritise the most productive tools/keystrokes in terms of
> productivity and have her do some pair programming. You or someone else who
> sits with her can occasionally ask her to use some shortcuts. Just don't
> bombard her with shortcuts as she won't absorb them. One or two per pair
> session should help a lot.
>
> On Tuesday, 19 July 2016, Preet Sangha <preetsan...@gmail.com> wrote:
>
>> Guys I wonder if I can ask for some advice please.
>>
>> I'm currently leading a project with a developer who originally came from
>> a Delphi background but has been using visual studio (C++ and C#) for a few
>> years now. However I'm finding that she doesn't seem to have much
>> experience of many of the productivity features available in modern tools
>> like visual studio, or the OS or office for instance.
>>
>>
>> By these I mean even simple things like autoformating, intellisense (well
>> some), keystrokes to comment/uncomment, snippets, or  refactoring for
>> instance. I even had to teach her to do auto build on starting execution
>> (PF5 etc), or to use the keyboard to save or build. Things like resharper
>> are a pipe dream it seems. I felt as though I was doing magic incantations
>> when I started writing some unit tests... Nearly everything she does is
>> sort of 'most manual way possible" it sometimes seems.
>>
>> Now generally I'm happy to let other do it their way but I find that her
>> productivity is very low and I'm thinking part of it might be this factor.
>> I know we all have different styles, and I'm far from dictating other use
>> my style however I do feel that a modern developer should be aware of the
>> capabilities of their development environments.  If her productivity was OK
>> I wouldn't care how she used whatever tool.
>>
>> What I'd like to do is encourage her to do some directed training that
>> would help her productivity and thus personal development. I've tried
>> putting together some Pluralsight (it's paid for by our employers so it's
>> always there) playlists for her, but I get the "I did some of the training,
>> and then stopped to get some work done". I've been more than happy for her
>> to actually do the courses lowering the workload for this reason.
>>
>> I'd really like her to get the best out of her tools and not be
>> hamstrung. Can anyone with experience of this kind of thing tell how how
>> perhaps I could approach this in a more positive way please?
>>
>> Preet.
>>
>


Re: Training/Mentoring a developer who doesn't seem to use many modern development productivity tools

2016-07-18 Thread Preet Sangha
About 18 months. I've just taken this project new project.

regards,
Preet, in Auckland NZ


On 19 July 2016 at 16:10, Tom Rutter  wrote:

> I'm more of a manual guy myself and have become pretty efficient but it
> only came with experience and coding for a while. How long has she been
> with your team?
>
>


Training/Mentoring a developer who doesn't seem to use many modern development productivity tools

2016-07-18 Thread Preet Sangha
Guys I wonder if I can ask for some advice please.

I'm currently leading a project with a developer who originally came from a
Delphi background but has been using visual studio (C++ and C#) for a few
years now. However I'm finding that she doesn't seem to have much
experience of many of the productivity features available in modern tools
like visual studio, or the OS or office for instance.


By these I mean even simple things like autoformating, intellisense (well
some), keystrokes to comment/uncomment, snippets, or  refactoring for
instance. I even had to teach her to do auto build on starting execution
(PF5 etc), or to use the keyboard to save or build. Things like resharper
are a pipe dream it seems. I felt as though I was doing magic incantations
when I started writing some unit tests... Nearly everything she does is
sort of 'most manual way possible" it sometimes seems.

Now generally I'm happy to let other do it their way but I find that her
productivity is very low and I'm thinking part of it might be this factor.
I know we all have different styles, and I'm far from dictating other use
my style however I do feel that a modern developer should be aware of the
capabilities of their development environments.  If her productivity was OK
I wouldn't care how she used whatever tool.

What I'd like to do is encourage her to do some directed training that
would help her productivity and thus personal development. I've tried
putting together some Pluralsight (it's paid for by our employers so it's
always there) playlists for her, but I get the "I did some of the training,
and then stopped to get some work done". I've been more than happy for her
to actually do the courses lowering the workload for this reason.

I'd really like her to get the best out of her tools and not be hamstrung.
Can anyone with experience of this kind of thing tell how how perhaps I
could approach this in a more positive way please?

Preet.


Re: [OT] Free Blog

2016-06-23 Thread Preet Sangha
I've always used blogspot but I'm not very active anymore.
On 23/06/2016 6:07 pm, "Tom Rutter"  wrote:

> Hi Folks
>
> A friend has asked where is a good place to start her new blog. I'm not a
> blogger myself so looking for any recommendations. I've heard people tease
> WordPress here and there but never used it so I don't get the jokes :)
>
> Cheers
>


Re: [OT] PC powering off

2016-06-09 Thread Preet Sangha
Overheating either on the CPU (reseating heatsink), or perhaps the power
supply as you say.

we had the first and my son got some gloop and reseated the heatsink.

We recorded the temp before and after and that's how we determined it. I
can't remember the program but there are some free ones that record the
temp and that might give you a log of it.


regards,
Preet, in Auckland NZ


On 9 June 2016 at 19:54, Greg Keogh  wrote:

> Folks, my 5 month old hand-built PC has developed a serious problem where
> it randomly just switches itself off, no warning, just instant off. It
> happened twice earlier in the year, which I wrote off as flukes. Now it's
> happening a few times a day. Pressing power on does nothing. If I pull all
> the plugs out of the back and wait 5 to 15 minutes and put everything back
> in, then it powers up again. Any ideas? Power supply? -- *GK*
>


Re: Contemporary frameworks to use for restful web services with SQL backend

2016-06-06 Thread Preet Sangha
Thank you. I'll be managing the DB and it's a simple time recording store
that will be reported on using BI/Excel tools so practically trivial.

In terms of data a simple SQL Server Express/Local DB will be more that
enough - so I think a hosted SQL instance will be sufficient. Having spent
4 years doing BI stuff - this is definitely not a warehouse (;-)




regards,
Preet, in Auckland NZ


On 7 June 2016 at 00:08, DotNet Dude <adotnetd...@gmail.com> wrote:

> AFAIK not much has changed. I've been out of the area for a while too.
>
> Start with web api and only go to wcf if web api is insufficient which I
> doubt it will be.
>
> DB side can depend on many things as you know like if you have an existing
> db you need to use, who manages the db (dba?), amount of data, more reads
> or more writes, table structure, etc. Azure SQL or (unlikely) another Azure
> storage mechanism may be an options.
>
>
> On Monday, 6 June 2016, Preet Sangha <preetsan...@gmail.com> wrote:
>
>> I've been out of .net Web stuff for many years and now need to build a
>> webservice with a sql backend. I've seen many posts on here from you guys
>> going web stuff and wondered if you could point me in the right direction
>> please?
>>
>> If I wanted to build .net based web cased service, would I need to use
>> WCF? Or is ASP.NET sufficient? If the latter what ASP.NET technology
>> should I be researching?
>>
>> For the DB I suspect the latest entity framework will be sufficient but
>> am open to ideas about other technologies that might not have been present
>> when I last worked with it 5 years ago.
>>
>> This service will only be used in house, but might be housed in the cloud
>> and security is a very high consideration.
>>
>> regards,
>> Preet, in Auckland NZ
>>
>>


Re: Contemporary frameworks to use for restful web services with SQL backend

2016-06-06 Thread Preet Sangha
It's seems to me that a restful one would be the simplest in terms of usage
for all the clients (various tools and programs within the organisation).

Personally I find them easier to work with when coding to them as clients,
and I'll be writing the first client for this service too.


regards,
Preet, in Auckland NZ


On 6 June 2016 at 23:46, Greg Keogh <gfke...@gmail.com> wrote:

> Have you decided on the style you need: SOAP and XML, or RESTful? -- *GK*
>
> On 6 June 2016 at 21:20, Preet Sangha <preetsan...@gmail.com> wrote:
>
>> I've been out of .net Web stuff for many years and now need to build a
>> webservice with a sql backend. I've seen many posts on here from you guys
>> going web stuff and wondered if you could point me in the right direction
>> please?
>>
>> If I wanted to build .net based web cased service, would I need to use
>> WCF? Or is ASP.NET sufficient? If the latter what ASP.NET technology
>> should I be researching?
>>
>> For the DB I suspect the latest entity framework will be sufficient but
>> am open to ideas about other technologies that might not have been present
>> when I last worked with it 5 years ago.
>>
>> This service will only be used in house, but might be housed in the cloud
>> and security is a very high consideration.
>>
>> regards,
>> Preet, in Auckland NZ
>>
>>
>


Contemporary frameworks to use for restful web services with SQL backend

2016-06-06 Thread Preet Sangha
I've been out of .net Web stuff for many years and now need to build a
webservice with a sql backend. I've seen many posts on here from you guys
going web stuff and wondered if you could point me in the right direction
please?

If I wanted to build .net based web cased service, would I need to use WCF?
Or is ASP.NET sufficient? If the latter what ASP.NET technology should I be
researching?

For the DB I suspect the latest entity framework will be sufficient but am
open to ideas about other technologies that might not have been present
when I last worked with it 5 years ago.

This service will only be used in house, but might be housed in the cloud
and security is a very high consideration.

regards,
Preet, in Auckland NZ


Re: [OT] Small pc

2016-06-01 Thread Preet Sangha
As can chromecast
On 2/06/2016 1:40 pm, "Tom Rutter" <therut...@gmail.com> wrote:

> Apple tv can do netflix and that's even cheaper
>
> On Thursday, 2 June 2016, Eddie de Bear (Gmail) <eddie.deb...@gmail.com>
> wrote:
>
>> I have a compute stick (running Windows 10) which I use for Netflix..
>> Seems to handle that alright, but they are very under powered and I
>> wouldn’t recommend them for much more than this.
>>
>>
>>
>> Ed.
>>
>>
>>
>> *From:* ozdotnet-boun...@ozdotnet.com [mailto:
>> ozdotnet-boun...@ozdotnet.com] *On Behalf Of *David Connors
>> *Sent:* Thursday, 2 June 2016 11:03 AM
>> *To:* ozDotNet <ozdotnet@ozdotnet.com>
>> *Subject:* Re: [OT] Small pc
>>
>>
>>
>> On Tue, 31 May 2016 at 14:47 Preet Sangha <preetsan...@gmail.com> wrote:
>>
>> Intel compute stick?
>>
>> I bought one of these. They are worse than useless.
>>
>>
>>
>> It took about 10 hours to upgrade from WIndows 8.1 to 10.
>>
>>
>>
>> David.
>>
>>
>>
>> --
>>
>> David Connors
>> da...@connors.com | @davidconnors | LinkedIn | +61 417 189 363
>>
>


Microsoft gold partnership process

2016-05-30 Thread Preet Sangha
I've just been tasked with getting our apac group of firms, a second
partnership gold  agreement. I've never done anything like this before. I
have been told that Ms agree that this is possible.

Before I contact MS myself, I wondering if there are any gotchas or tips I
can read up on to lubricate the process.

Many thanks

Preet.


Re: [OT] Small pc

2016-05-30 Thread Preet Sangha
Intel compute stick?
On 31/05/2016 4:45 PM, "Tom Rutter"  wrote:

> Folks, I am after a very small and cheap pc that can run Win 7+ and IE8+.
> Any ideas?
>
> Cheers
>


RE: Gadgets [OT]

2016-04-28 Thread Preet Sangha
I have 17 items on order from aliexpress.  I've just got into arduino and
went mental on components.
On 29/04/2016 1:30 pm, "Stephen Price"  wrote:

> Oh I did that last week with my new Samsung s7. Westpac have hooked up an
> app. You open the app, select your card, use fingerprint to authorise it
> and the wave your phone over the paypass sensor.
>
> The phone is great but have noticed the GPS  location function is slow and
> inaccurate. Hope they fix that soon its annoying
>
> Sent from Outlook Mobile 
>
>
>
> On Thu, Apr 28, 2016 at 6:23 PM -0700, "Grant Castner" <
> gcast...@outlook.com.au> wrote:
>
> Not a gadget as such but made my first Apple Pay payment with my iPhone
> yesterday. I can just see my son in 10 years going, “Dad, what was that
> credit card thing you used to use?”
>
>
>
> Grant
>
>
>
> *From:* ozdotnet-boun...@ozdotnet.com [mailto:
> ozdotnet-boun...@ozdotnet.com] *On Behalf Of *mike smith
> *Sent:* Friday, 29 April 2016 11:12 AM
> *To:* ozDotNet 
> *Subject:* Re: Gadgets [OT]
>
>
>
> Fitbit Blaze (last friday)  - Nice watch, the band looks a bit cheap.  But
> there's lots of 3rd party bands around for the Blaze)
>
>
>
>
>
> On Fri, Apr 29, 2016 at 10:15 AM, Stephen Price 
> wrote:
>
> Hi, my name is Stephen and i'm a gadget-oholic. It's been 12 hours since i
> bought my last gadget.
>
> Got me a minix neo 8 from jbhifi (last one in stock)
>
>
> https://www.jbhifi.com.au/computers-tablets/accessories/minix/minix-neo-x8-h-plus-4k-quad-core-media-hub-for-android/648244/
>
> Seems like a very cool device and the build feels very nice. Even came
> bundled with an air mouse controller which has a keyboard on the back.
>
> Anyone else got some new gadget they woukd like to share?
>
> Sent from Outlook Mobile 
>
>
>
>
>
> --
>
> 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] New laptop

2016-04-05 Thread Preet Sangha
I'm sort of looking at this now.  Since I have a powerful desktop at work I
can rdp from any piece of rubbish and still be productive.  However for
offline access and dev power is still needed so I'm still debating.

I like the idea of a lightweight i5 Mac type device to be honest.
On 6/04/2016 9:52 am, "Tejas Goradia"  wrote:

> Just wondering, is it worth spending so much money on local computing?
>
> I wonder how many people are now using Amazon or Azure as an option vs
> buying best in the breed local computing power.
>
> Is 8gb, i5 environment not enough?
> On 29/10/2015 9:22 AM, "Tom Rutter"  wrote:
>
>> Geez had a look and it gets expensive real quick
>>
>> On Thu, Oct 8, 2015 at 12:27 PM, Stephen Price > > wrote:
>>
>>> I've ordered mine. If the 1Tb version was available (no date on that has
>>> been released yet) I would have gotten that one. Shut up and take my money!
>>> Have disclosed said pre-order to my significant other, and I've
>>> successfully trained her to react with a simple eye roll. I'll likely "pay"
>>> for it later. :)
>>>
>>> It's a great feeling to not have to drool over Apple hardware and be
>>> embarrassed about being in the Microsoft camp.
>>> It would have been nice for the Surface Book to have come with Usb-C
>>> port(s) but given I don't actually yet have any devices, and how long it
>>> takes for devices to spring up, I can live with USB 3.0 for a while more.
>>>
>>> Exciting times!
>>>
>>> On Thu, 8 Oct 2015 at 08:49  wrote:
>>>
 Yeah - looks pretty nice, 512GB / i7/ 16GB for $4,199 AUD

 Compared to similar spec Lenovo ThinkPad W541 (no touch/pen/etc)
 $3,649.00 AUD (though I think the Lenovo is 5th Gen i7 not 6th Gen as in
 Surface Book?)

 Jason Roberts
 Journeyman Software Developer

 Twitter: @robertsjason
 Blog: http://DontCodeTired.com
 Pluralsight Courses: http://bit.ly/psjasonroberts

 ===
 I welcome VSRE emails. Learn more at http://vsre.info/
 ===

 *From:* DotNet Dude 
 *Sent:* ‎Wednesday‎, ‎7‎ ‎October‎ ‎2015 ‎5‎:‎18‎ ‎PM
 *To:* ozDotNet 

 In case anyone here hasn't heard yet and is interested the new Surface
 Book will apparently be available in Oz on Nov 12th. Looks to be expensive
 though

 On Thu, Sep 24, 2015 at 10:10 AM, DotNet Dude 
 wrote:

> I also read somewhere next version of Surface Pro likely to be
> announced oct 6 so anyone interested may want to wait to see what happens
> there
>
>
> On Thursday, 24 September 2015, Ken Schaefer 
> wrote:
>
>> Microsoft are going to start offering Signature editions via their
>> new stores in Aus (first one opening soon-ish in Sydney). They might 
>> offer
>> the same online I guess, once the store opens.
>>
>>
>>
>>
>>
>>
>>
>> *From:* ozdotnet-boun...@ozdotnet.com [mailto:
>> ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Tom Rutter
>> *Sent:* Wednesday, 23 September 2015 3:57 PM
>> *To:* ozDotNet 
>> *Subject:* Re: [OT] New laptop
>>
>>
>>
>> Any things to look out for if I buy direct from US? I've always
>> purchased locally
>>
>>
>>
>> On Fri, Aug 28, 2015 at 2:31 PM, Eddie de Bear (Gmail) <
>> eddie.deb...@gmail.com> wrote:
>>
>> The Signature Editions are the exact same machines (HP, Lenovo, etc)
>> BUT stripped bare of all the crapware.. From what I remember reading when
>> Microsoft first started with them, it’s a clean windows install, with all
>> the correct tweeks, drivers etc to get the most out of the hardware..
>>
>>
>>
>> Here is a link to their US store:
>> http://www.microsoftstore.com/store/msusa/en_US/cat/categoryID.69916600
>>
>>
>>
>>
>>
>> *From:* ozdotnet-boun...@ozdotnet.com [mailto:
>> ozdotnet-boun...@ozdotnet.com] *On Behalf Of *mike smith
>> *Sent:* Friday, 28 August 2015 2:11 PM
>> *To:* ozDotNet 
>> *Subject:* Re: [OT] New laptop
>>
>>
>>
>> On Fri, Aug 28, 2015 at 10:44 AM, Eddie de Bear (Gmail) <
>> eddie.deb...@gmail.com> wrote:
>>
>> This is where Microsoft could really make a difference, if they would
>> stop thinking about just the US and make the Signature Edition 
>> laptops/PCs
>> available in Australia…
>>
>>
>>
>> Do they make them (or rebadge) ?  If the former, whose their
>> manufacturer?
>>
>>
>>
>>
>>
>> *From:* ozdotnet-boun...@ozdotnet.com [mailto:
>> ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Thomas Koster

Re: Silverlight runtime

2016-03-02 Thread Preet Sangha
Are there any clues in the process monitor?
On 3/03/2016 11:34 am, "Greg Keogh"  wrote:

> I've tried fiddling with IE11's trusted sites, compatibility settings,
> different versions of the SDK and runtime, adjusting active plugins,
> running VS2015 under different accounts, running IE11 under different
> accounts, creating dummy SL5 projects, adjusting object tag versions,
> comparing Win8 and Win10 behavior ... and more I can't recall.
>
> All I've learned is that there is no problem at all on my old parallel
> Win8 VM with the same software, and I can run remote SL5 apps when I'm the
> local Administrator. So there's a small clue about the user account, but I
> don't know what to make of it yet.
>
> *GK*
>
> On 2 March 2016 at 18:47, Ian Thomas  wrote:
>
>> Can’t suggest much, except: It’s not something as simple as your default
>> browser on the Windows 10 dev machine being stuck at Edge, not IE11, is it?
>> Windows 10 recently reverted my default applications to what it wanted
>> (with a polite notification popup), but after several of those reversions I
>> took the most drastic control panel remedy for defaults and they’re
>> sticking again (touch wood).
>>
>> The most usual complaint I hear about Silverlight and windows 10 is
>> getting debugging to work in VS. That’s not a problem for you.
>>
>>
>>
>> Ian Thomas
>>
>> Albert Park, Victoria 3206 Australia
>>
>>
>>
>> *From:* ozdotnet-boun...@ozdotnet.com [mailto:
>> ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Greg Keogh
>> *Sent:* Wednesday, 2 March 2016 5:54 PM
>> *To:* ozDotNet 
>> *Subject:* Silverlight runtime
>>
>>
>>
>> Folks, I'm probably the only person left in this group writing
>> Silverlight, but I've got a shocking problem that has been uncrackable in
>> my spare time for two weeks now.
>>
>>
>>
>> Since I moved over to my new Win10 dev box and installed the SDK
>> 5.0.61118.0 and the 64-bit dev runtime 5.1.41212.0 I can develop and debug
>> Silverlight okay, but if I browse to any page with an app that's not on
>> localhost I just get the blue logo asking me to install the runtime. So
>> it's  Catch-22 ... it works on localhost and in VS2015, but not when I
>> browse elsewhere. I'm completely stumped and all web searches produces
>> ancient useless suggestions.
>>
>>
>>
>> I just checked on an old VM running Win8 with the same SDK and runtime
>> and it doesn't have the problem. Is there something different about Win10
>> or the latest IE11 that I'm not aware of?!
>>
>>
>>
>> *Greg K*
>>
>
>


Re: [OT] ACS - relevant?

2016-03-01 Thread Preet Sangha
I think this might be of use to some people

[image: Inline images 1]


regards,
Preet, in Auckland NZ


On 2 March 2016 at 10:41, David Apelt  wrote:

> I have enjoyed the conversation so far. ozDotNet is such a great forum. I
> would like to bring the conversation back on topic. I am not trying to be
> controversial here, I just want to know if my experiences mirror that of
> others.
>
>
>
> I have never seen the ACS speak in the media when there is an IT issue;
> like a security beach
>
>
>
> I have never seen the ACS speak publically about IT infrastructure; like
> the NBN
>
>
>
> DDLS, New Horizons, etc are great at advertising and promoting their
> courses. ACS never appear on my radar.
>
>
>
> I have never seen the ACS sponsor CeBit, TechEd, any local user groups,
> etc   (Maybe they did... if they did,  it was not very memorable)  (this
> adds weight to my argument
> https://www.acs.org.au/networking-and-events/events/endorsed-events)
>
>
>
> I have never seen the ACS quoted, reposted, liked, etc on facebook,
> twitter, etc
>
>
>
> Is this the experience of others?
>
>
>
> Regards
>
> Dave
>
>
>
> *From:* ozdotnet-boun...@ozdotnet.com [mailto:
> ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Greg Low (??)
> *Sent:* Tuesday, 1 March 2016 1:23 PM
>
> *To:* ozDotNet 
> *Subject:* RE: [OT] ACS - relevant?
>
>
>
> But that’s my point. Agreed, it’s not necessarily anything to do with
> whether the project fails. We know that.
>
>
>
> It’s the backside protection that is improved by the external
> certification, not necessarily the project outcome.
>
>
>
> That said, I do see a large number of projects that have in fact failed
> (or are perilously close to failing) through basic incompetence.
>
>
>
> It is a problem in our industry whether we want to face it or not. It’s
> quite tiring to endlessly try to rectify the same sorts of basic problems.
>
>
>
> I really love work where it’s “how should we tackle this development?”
> rather than “OMG, we’re in such a mess. What do we do next?”, when the
> panic sets in. The more this happens, the more likely that some form of
> regulation might occur, at least for sections of the industry.
>
>
>
> 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 *Ken Schaefer
> *Sent:* Tuesday, 1 March 2016 12:52 PM
> *To:* ozDotNet 
> *Subject:* RE: [OT] ACS - relevant?
>
>
>
> Do many IT projects fail because of the lack of externally certified
> competency? I’m not sure they do.
>
>
>
> I’ve seen projects fail because requirements were uncertain (or changed),
> or scope changed, or complexity was underestimated, or best effort
> “guesses” based on incomplete information at the time ended up being the
> wrong punt.
>
>
>
> Very few of these are “IT” problems – they are problems that come from the
> business, or in governance, and some are just plain bad luck.
>
>
>
> *From:* ozdotnet-boun...@ozdotnet.com [
> mailto:ozdotnet-boun...@ozdotnet.com ] *On
> Behalf Of *Greg Low (??)
> *Sent:* Tuesday, 1 March 2016 11:02 AM
> *To:* ozDotNet 
> *Subject:* RE: [OT] ACS - relevant?
>
>
>
> Almost agree Ken. I don’t see having “professional” attributes as being
> related to whether or not IT projects fail. What I do see is a difference
> in the finger pointing when they fail.
>
>
>
> If I was the CEO responsible when an issue occurred, I’d feel more
> comfortable having used staff that an external body says are professional,
> rather than ones I assessed myself to be great at what they do. It avoids
> me being stuck with having to try to argue basic competence.
>
>
>
> And yes, point taken about common parlance. I have a friend who is a
> wheelbarrow mechanic and many who are sales engineers.
>
>
>
> 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 *Ken Schaefer
> *Sent:* Tuesday, 1 March 2016 10:46 AM
> *To:* ozDotNet 
> *Subject:* RE: [OT] ACS - relevant?
>
>
>
> Whilst you are right that Tony is conflating professionalism with
> desirable employee attributes, I think you’re also conflating
> professionalism with “avoidance of high failure rates in IT projects” –
> there are many “professional” endeavours that have failures (whether it be
> accounting issues through to scientific experiments) which having a
> profession wouldn’t suddenly mitigate: a lot of IT works a commercial
> sphere where “good enough” is the 

Re: static interop dll loading issue

2016-02-24 Thread Preet Sangha
Thanks Davy.

.net 4 works fine on XP 32 for out other stuff it's just this item is
different in terms of load time dependency.


regards,
Preet, in Auckland NZ


On 24 February 2016 at 19:04, Davy Jones <djones...@gmail.com> wrote:

> I'm surprised that .4 is available on XP.
>
> Can you recompile for 3.5 instead?
>
> Davy
>
> Sent from my iPhone
>
> > On 24 Feb 2016, at 02:56, Preet Sangha <preetsan...@gmail.com> wrote:
> >
> > Hey guys,
> >
> > I was wondering if there are any experts on here that may have come
> across an issue that I've been working on all day.
> >
> > I have 32bit legacy program C++ (VS2010)  that makes a call to the .net
> (4.0) c# assembly via a static method on a class in the assembly. The call
> then loads a windows form class and proceeds to provide some functionality.
> The call is via a #using "... my assembly path.dll" in c++ file that is
> marked as /clr. The whole calling dll/exe can't be marked as /clr due to
> it's legacy.
> >
> > This works on all tested architectures (w7+ 32/64/Server 2k8+/XP 64 bit)
> except Windows XP 32 bit. On the XP 32 bit platform we think the CLR is not
> loading before the static loader is loading my assembly dll and causing the
> load to terminate.
> >
> > I'm not getting any system generated crashes or dumps and the event
> viewer is conspicuous by it's silence. Any way I got to this stage by
> rebuilding everything on the suspect machine and using VS 2010 and pressing
> PF5 and I can see the crash in the load cycle.
> >
> > So what I'm asking for is clues as to how to go about further debugging
> or an perhaps hints as further resources I can consume further my knowledge
> of the loading process on this architecture.
> >
> >
> > (yes I know XP is out of support, unfortunately I'm unable to be likely
> drop support in this release due to the client being a govt organisation).
> >
> >
> >
> > Preet, in Auckland NZ
> >
>


static interop dll loading issue

2016-02-23 Thread Preet Sangha
Hey guys,

I was wondering if there are any experts on here that may have come across
an issue that I've been working on all day.

I have 32bit legacy program C++ (VS2010)  that makes a call to the .net
(4.0) c# assembly via a static method on a class in the assembly. The call
then loads a windows form class and proceeds to provide some functionality.
The call is via a #using "... my assembly path.dll" in c++ file that is
marked as /clr. The whole calling dll/exe can't be marked as /clr due to
it's legacy.

This works on all tested architectures (w7+ 32/64/Server 2k8+/XP 64 bit)
except Windows XP 32 bit. On the XP 32 bit platform we think the CLR is not
loading before the static loader is loading my assembly dll and causing the
load to terminate.

I'm not getting any system generated crashes or dumps and the event viewer
is conspicuous by it's silence. Any way I got to this stage by rebuilding
everything on the suspect machine and using VS 2010 and pressing PF5 and I
can see the crash in the load cycle.

So what I'm asking for is clues as to how to go about further debugging or
an perhaps hints as further resources I can consume further my knowledge of
the loading process on this architecture.


(yes I know XP is out of support, unfortunately I'm unable to be likely
drop support in this release due to the client being a govt organisation).



Preet, in Auckland NZ


Slightly off topic : Time recording in TFS 2015

2015-12-14 Thread Preet Sangha
I'm looking to implement this locally and was wondering if anyone is using
any professional products  to help record time against Work Items in TFS
2015. My company prefers to buy a solution than to support an in house
development.

I'm just started googling for products and thought I'd ask you guys if
anyone has any recommendations

Our requirements are quite simple:

 -  Create a Work Item

2.-  At some point attach a (business created) code to it

3.-  At other times many people can record time against the work
item

4.-  At some point we want to report

a.   Code | WorkItem | Who | Period | Sum (Time)


Before anyone comments on the merits of Time Tracking in dev it's not for
development schedules, it's for accounting/billing data to a parent company.


regards,
Preet, in Auckland NZ


Re: Mobile passwords

2015-11-11 Thread Preet Sangha
I don't know if this relevant but I tend to use last pass and it let's me
paste passwords into apps. But maybe this is only relevant for android.
Anyway I'd make sure any app I write will not stop users using a tool like
that too.
On 11 Nov 2015 19:44, "Joseph Cooney"  wrote:

> If
> On 11 Nov 2015 3:59 PM, "Mark Hurd"  wrote:
>
>>
>> On 11 November 2015 at 16:05, mike smith  wrote:
>>
>>> Device entry of passwords is a nightmare.  If you multi-hit the virtual
>>> keyboard even slightly you get accented characters which of course do not
>>> work.  This is one time the ***  to represent a password field is
>>> infuriating.  Yes, I know its wrong, now show it to me so I can see where
>>> it is wrong!  Some apps have a check box to display the password or not.
>>>  ++1 for these!
>>>
>>
>> The only mobile device I've used (that was smart enough to browse
>> anywhere that I cared how passwords are entered) is my Windows Phone, and
>> the default password UI there seems to show the last typed key just long
>> enough to note if it's wrong, due to fat or slow fingers.
>>
>> I assumed that would be the "obvious" compromise for the ** UI.
>>
>> ​> snip
>>
>>>
>>>
>>> --
>>> 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
>>>
>>
>> --
>> Regards,
>> Mark Hurd, B.Sc.(Ma.)(Hons.)
>>
>


Escrow : anyone been involved in the process?

2015-11-05 Thread Preet Sangha
One of our customers (UK govt org) has requested that the software we
provide is held in escrow.

This will be our first product that is going to be escrowed and I've never
been involved in the process and was wondering if it's a relatively
straightforward process or something we'll need to carefully plan for.

Also if there are any gotchas you found that would be great to hear about
in advance. Thank you


regards,
Preet, in Auckland NZ


Re: Escrow : anyone been involved in the process?

2015-11-05 Thread Preet Sangha
Thanks everyone. Just as an FYI I'm no longer a freelancer and am now
working for a company. It's just the administrative side of things that
have fallen into my lap, and not the legal side (atm)!

Luckily we're moving to a new TFS based system so most of the admin side of
the code preparation is fresh in my mind but I appcreciate that we'll need
to be thorough  (lot of dotting i's and crossing t's).

>From a general perspective - the escrow company has been doing it for 30
years and I'll be chatting to them next week and wanted to get an idea of
things I need to think about before talking to them. And all your comments
have helped raise some talking points that should make it easier for me.

Thank you.




regards,
Preet, in Auckland NZ


On 6 November 2015 at 13:25, David Richards <ausdot...@davidsuniverse.com>
wrote:

> I haven't had to deal with the administrative side but I have had to
> prepare the source code for such things.  The biggest hassle is packaging
> it in a format that is useful.  You can't just give them you VS solution or
> eclipse project.  You need to include everything else necessary to
> successfully compile the code.  This includes third party libraries, DB
> scripts, documentation, etc.  You tend to forget everything you did to set
> up your dev environment or build server so this can take some effort.  It
> also means maintaining this escrow package somewhere because you will
> typically have to update it as you update your product.
>
>
> David
>
> "If we can hit that bullseye, the rest of the dominoes
>  will fall like a house of cards... checkmate!"
>  -Zapp Brannigan, Futurama
>
> On 6 November 2015 at 11:02, Greg Low (罗格雷格博士) <g...@greglow.com> wrote:
>
>> Mostly it’ll be because they have some concern about your company’s long
>> term viability. It probably isn’t that they don’t want to pay for it. They
>> just don’t want to have a situation where you disappear and they have no
>> way to continue to work on it.
>>
>>
>>
>> I’ve seen that in a number of contracts.
>>
>>
>>
>> There’s a product that we shipped years ago in binary-only form. Someone
>> asked about a source license and so we made one available for 25 times the
>> binary price, thinking no-one would ever buy it. The source licenses ended
>> up providing the highest income from the product. Many large companies
>> purchased the source license, not because they wanted to work on the
>> source, but just because they never wanted to be stuck if we weren’t around
>> anymore.
>>
>>
>>
>> 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 *Tony Wright
>> *Sent:* Friday, 6 November 2015 10:08 AM
>> *To:* ozDotNet <ozdotnet@ozdotnet.com>
>> *Subject:* Re: Escrow : anyone been involved in the process?
>>
>>
>>
>> Hi Preet,
>>
>> I would be very wary of entering into that process unless title was kept
>> by you until they paid in full. They mustn't be allowed to use the software
>> in production like environments until they've paid for everything. Escrow
>> sounds to me like they will hold back payment until the software is big
>> free, and as we all know that never happens.
>>
>> Kind regards, Tony
>>
>> On 6 Nov 2015 9:30 am, "Preet Sangha" <preetsan...@gmail.com> wrote:
>>
>> One of our customers (UK govt org) has requested that the software we
>> provide is held in escrow.
>>
>>
>>
>> This will be our first product that is going to be escrowed and I've
>> never been involved in the process and was wondering if it's a relatively
>> straightforward process or something we'll need to carefully plan for.
>>
>>
>>
>> Also if there are any gotchas you found that would be great to hear about
>> in advance. Thank you
>>
>>
>>
>>
>> regards,
>> Preet, in Auckland NZ
>>
>>
>>
>>
>


Re: [OT] Clients

2015-10-22 Thread Preet Sangha
I've not done freelance for a long time, but have been doing consultancy.
In my experience unless you have a stakeholder prepared to chase the
parties on their side this is an all too common occurrence. I now try and
schedule meetings with fewer people for less time, but perhaps more often
or regularly (if that's needed if the client is difficult to schedule).

Even if 2 out of the meeting of 4 pulls out, I'd try to continue with the
meeting and tell them that it would be good to catch up with what we can,
and schedule the another smaller meeting with the other individual(s).

Often as a freelancer having meeting was more about reassuring them that
their concerns were being met.

But as people say your contract and your situation is always unique.


regards,
Preet, in Auckland NZ


On 22 October 2015 at 23:16, DotNet Dude  wrote:

> I've been dicked around plenty and it still happens, over and over.
> Depends on your contract as others have said but also on how many times
> they've screwed you around. One cancelled meeting which is what I gather
> from your email isn't the end of the world. Sh!t happens.
>
>
> On Thursday, 22 October 2015, Grant Molloy  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?
>>
>


Re: loading styles in WebBrowser

2015-10-19 Thread Preet Sangha
Does http://stackoverflow.com/a/10282202 help? I'm doing this on the phone
so apologies if I've posted the wrong link. It was taking about using a reg
key setting.

On Tue, 20 Oct 2015, 07:44 Dr Tom Gao  wrote:

> Hi Guys,
>
>
>
> I’ve got a simple winform application that has an embedded WebBrowser
> control that loads a url. However styles are not loading does anyone know
> how I can get it to behave like a full browser?
>
>
>
> webBrowser.Navigate("http://www.smh.com.au;);
>
>
>
> Thanks,
>
> Tom
>


Re: Re-request - Office chair again

2015-10-16 Thread Preet Sangha
I've been standing for about 10 weeks now and it was quite hard in the
first couple of weeks. I the other day a colleague mentioned that I was
practically standing all day without taking good short sit down breaks. To
tell you the truth it feels normal. Just like sitting and working did. I'm
quite overweight but I have not the slightest in back pain. Absolutely
none. I did get an anti fatigue mat on the recommendation of another
contributer here and it made a world of difference.

My standing desk is just a couple of extended monitor raising stands
currently,  but the company has already suggested getting me a proper
standing desk. I haven't agreed to it yet as I wanted to prove to myself
that I could do it and that it would be just if not more productive to
stand.

All in all I thoroughly recommend it to everyone.
On 16 Oct 2015 22:18, "Peter Gfader"  wrote:

> http://eu.varidesk.com/
>
> Nice. Price and functionality seems to be great.
> Havent seen those.
> Thanks
>
>.peter.gfader. (current mood = happy because of doing less and that
> with laser sharp focus)
>http://gfader.tumblr.com/tagged/agile
>
>
> On Fri, Oct 16, 2015 at 11:16 AM, DotNet Dude 
> wrote:
>
>> I actually switched to a veridesk and it's good
>>
>>
>> On Friday, 16 October 2015, Peter Gfader  wrote:
>>
>>> Did you guys consider a standing desk?
>>>
>>> I stand all the time since > 1 year (home office on Fridays, and at
>>> work) and it feels great.
>>> In client offices I usually have to sit :-(
>>>
>>>
>>> Positive:
>>> * I feel more tired in the evening --> Better for me to shut down from
>>> work
>>> * Standing is dancing... is fun
>>> * No back problem ever
>>> * Pairing works great (no fiddling with chairs)
>>>
>>> Neg:
>>> * My setup is very basic. Coffee table on top of normal table and a
>>> wooden box for my laptop.
>>> I don't post a foto here since its such a duct-tape-approach...
>>>
>>>.peter.gfader. (Silo Thinking Breaker)
>>>http://blog.gfader.com
>>>
>>>
>>>
>>>
>>> On Tue, Oct 6, 2015 at 4:25 PM, Piers Williams >> > wrote:
>>>
 Some high end office fitouts use the Mirra, not the Aeron (which comes
 in three different sizes and needs setup, whereas pretty much all you need
 to do is sit in a Mirra and it's right). Caveat: I'm not lucky enough to
 have used either outside of the showroom.


 http://www.hermanmiller.com/products/seating/performance-work-chairs/mirra-2-chairs.html
 On 16 Sep 2015 6:22 am, "Dave Walker"  wrote:

> Hi, sure.
>
> I started that convo and ended up going with an Aeron
> http://www.hermanmiller.com/products/seating/performance-work-chairs/aeron-chairs.html
> - so far it's amazing. Never even notice it's there vs my chair at work
> which causes me regular lower back pain.
>
> Other options included the Steelcase Leap
> http://www.steelcase.com/products/office-chairs/leap/
>
> I can't remember any others these were two top two for me.
>
>
> On 16 September 2015 at 10:18, Paul Glavich <
> subscripti...@theglavs.com> wrote:
>
>> Hi all,
>>
>>
>>
>> I know there was a thread on office chairs here not so long ago and I
>> remember Greg Low and a few others recommend a particular brand which I 
>> had
>> intended to look into. Recent spinal issues have caused me to revisit 
>> this
>> sooner rather than later but I have since lost the email and was 
>> wondering
>> if someone could just send (off or on list) that chair recommendation 
>> again
>> please?
>>
>>
>>
>> -  Glav
>>
>>
>>
>
>
>>>
>


Re: Re-request - Office chair again

2015-10-16 Thread Preet Sangha
You know that was what I found initially. I can now get into a zone
standing up. I did realise that I like to pace when thinking and standing
assists that. I also find that standing at whiteboard when thinking makes
up for the sitting with a pad and pen for doing design. However I'm the
kind of person who draws pictures in his head to help the thinking process
so standing, pacing and moving my arms about (bit like 90s sci Fi) works
for me.

On Sat, 17 Oct 2015, 10:27 DotNet Dude <adotnetd...@gmail.com> wrote:

> Those mats are good. Without them a few people I know were getting knee
> and hip pain.
>
> I find it harder to think standing though. Not sure if there is a
> scientific explanation for this or I just need more time standing for my
> brain to switch over.
>
>
> On Friday, 16 October 2015, Preet Sangha <preetsan...@gmail.com> wrote:
>
>> I've been standing for about 10 weeks now and it was quite hard in the
>> first couple of weeks. I the other day a colleague mentioned that I was
>> practically standing all day without taking good short sit down breaks. To
>> tell you the truth it feels normal. Just like sitting and working did. I'm
>> quite overweight but I have not the slightest in back pain. Absolutely
>> none. I did get an anti fatigue mat on the recommendation of another
>> contributer here and it made a world of difference.
>>
>> My standing desk is just a couple of extended monitor raising stands
>> currently,  but the company has already suggested getting me a proper
>> standing desk. I haven't agreed to it yet as I wanted to prove to myself
>> that I could do it and that it would be just if not more productive to
>> stand.
>>
>> All in all I thoroughly recommend it to everyone.
>> On 16 Oct 2015 22:18, "Peter Gfader" <pe...@gfader.com> wrote:
>>
>>> http://eu.varidesk.com/
>>>
>>> Nice. Price and functionality seems to be great.
>>> Havent seen those.
>>> Thanks
>>>
>>>.peter.gfader. (current mood = happy because of doing less and that
>>> with laser sharp focus)
>>>http://gfader.tumblr.com/tagged/agile
>>>
>>>
>>> On Fri, Oct 16, 2015 at 11:16 AM, DotNet Dude <adotnetd...@gmail.com>
>>> wrote:
>>>
>>>> I actually switched to a veridesk and it's good
>>>>
>>>>
>>>> On Friday, 16 October 2015, Peter Gfader <pe...@gfader.com> wrote:
>>>>
>>>>> Did you guys consider a standing desk?
>>>>>
>>>>> I stand all the time since > 1 year (home office on Fridays, and at
>>>>> work) and it feels great.
>>>>> In client offices I usually have to sit :-(
>>>>>
>>>>>
>>>>> Positive:
>>>>> * I feel more tired in the evening --> Better for me to shut down from
>>>>> work
>>>>> * Standing is dancing... is fun
>>>>> * No back problem ever
>>>>> * Pairing works great (no fiddling with chairs)
>>>>>
>>>>> Neg:
>>>>> * My setup is very basic. Coffee table on top of normal table and a
>>>>> wooden box for my laptop.
>>>>> I don't post a foto here since its such a duct-tape-approach...
>>>>>
>>>>>.peter.gfader. (Silo Thinking Breaker)
>>>>>http://blog.gfader.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Oct 6, 2015 at 4:25 PM, Piers Williams <
>>>>> piers.willi...@gmail.com> wrote:
>>>>>
>>>>>> Some high end office fitouts use the Mirra, not the Aeron (which
>>>>>> comes in three different sizes and needs setup, whereas pretty much all 
>>>>>> you
>>>>>> need to do is sit in a Mirra and it's right). Caveat: I'm not lucky 
>>>>>> enough
>>>>>> to have used either outside of the showroom.
>>>>>>
>>>>>>
>>>>>> http://www.hermanmiller.com/products/seating/performance-work-chairs/mirra-2-chairs.html
>>>>>> On 16 Sep 2015 6:22 am, "Dave Walker" <rangitat...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi, sure.
>>>>>>>
>>>>>>> I started that convo and ended up going with an Aeron
>>>>>>> http://www.hermanmiller.com/products/seating/performance-work-chairs/aeron-chairs.html
>>>>>>> - so far it's amazing. Never even notice it's there vs my chair at work
>>>>>>> which causes me regular lower back pain.
>>>>>>>
>>>>>>> Other options included the Steelcase Leap
>>>>>>> http://www.steelcase.com/products/office-chairs/leap/
>>>>>>>
>>>>>>> I can't remember any others these were two top two for me.
>>>>>>>
>>>>>>>
>>>>>>> On 16 September 2015 at 10:18, Paul Glavich <
>>>>>>> subscripti...@theglavs.com> wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> I know there was a thread on office chairs here not so long ago and
>>>>>>>> I remember Greg Low and a few others recommend a particular brand 
>>>>>>>> which I
>>>>>>>> had intended to look into. Recent spinal issues have caused me to 
>>>>>>>> revisit
>>>>>>>> this sooner rather than later but I have since lost the email and was
>>>>>>>> wondering if someone could just send (off or on list) that chair
>>>>>>>> recommendation again please?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -  Glav
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>


Re: [OT] Chairs for home office

2015-08-19 Thread Preet Sangha
Tony,

I got one last night and have been using it all day. It's fantastic. Thanks
heaps for suggesting it.


regards,
Preet, in Auckland NZ


On 19 August 2015 at 12:01, Preet Sangha preetsan...@gmail.com wrote:

 Damn good idea. I forgot all about those. Bunnings here (Auckland) seem to
 charge about $50 for them. But it will likely be worth it.


 regards,
 Preet, in Auckland NZ


 On 19 August 2015 at 11:12, Tony Wright tonyw...@gmail.com wrote:

 A good anti-fatigue mat helps too. I went and bought a pack of gym mats
 (those jigsaw ones) from Bunnings for around $18. There are 4 in a pack and
 these ones have carpet on top. I use all four and get a decent amount of
 cushioning. Without them, I get a sore back after a while, and the
 traditional anti-fatigue mats aren't padded enough for me.

 On Wed, Aug 19, 2015 at 8:45 AM, DotNet Dude adotnetd...@gmail.com
 wrote:

 Tried the Varidesk for the last few months and it aint bad


 On Wednesday, 19 August 2015, Preet Sangha preetsan...@gmail.com
 wrote:

 Thank you, I am. I have plenty of meetings too where I have to sit too.

 I started by doing a couple of hours a day with long sit down sessions
 at the start and have built that up.




 regards,
 Preet, in Auckland NZ


 On 19 August 2015 at 09:56, Bec C bec.usern...@gmail.com wrote:

 You gotta alternate Preet, stand and sit. Standing all day is really
 hard


 On Tue, Aug 18, 2015 at 2:22 PM, Preet Sangha preetsan...@gmail.com
 wrote:

 I've just started a new job, and am trying to do the standing up desk
 thing. It's quite hard work (esp since I'm walking a few K in each
 direction from home too). At this moment any chair is a good one ;-)


 regards,
 Preet, in Auckland NZ


 On 18 August 2015 at 15:40, Andrew Coates (DX AUSTRALIA) 
 andrew.coa...@microsoft.com wrote:

 Love my Aeron – it’s the only chair I can sit in comfortably for
 multiple hours. I got mine (and one for my wife) on eBay for about the
 price of the Leap. Mine’s a C with adjustable lumbar support and arms.
 Sam’s is a B with adjustable lumbar but fixed arms.



 I had to wait a bit for them to come up, but it only took a week or
 so.



 Andrew Coates, ME, MCPD, MCSD MCTS, Developer Evangelist, Microsoft,
 1 Epping Road, NORTH RYDE NSW 2113
 Ph: +61 (2) 9870 2719 • Mob +61 (416) 134 993 • Fax: +61 (2) 9870
 2400 • http://blogs.msdn.com/acoat



 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Anthony Borton
 *Sent:* Tuesday, 18 August 2015 8:07 AM
 *To:* ozDotNet ozdotnet@ozdotnet.com
 *Subject:* RE: [OT] Chairs for home office



 It terms of all the swanky extras for the Aeron, the one thing I
 wish I had added was the adjustable lumber support. I’ve been super 
 happy
 with everything else about the chair just wish I had included this one
 thing.



 Cheers



 Anthony Borton

 Senior ALM Trainer/Consultant

 Visual Studio ALM MVP

 Enhance ALM Pty Ltd





 *From:* ozdotnet-boun...@ozdotnet.com [
 mailto:ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Dave Walker
 *Sent:* Tuesday, 18 August 2015 6:31 AM
 *To:* ozDotNet ozdotnet@ozdotnet.com
 *Subject:* Re: [OT] Chairs for home office



 Update on this if anyone cares. I went and tried out a Steelcase
 Leap yesterday (showroom in Auckland is only open M-F). Felt plasticy 
 to me
 and cheap and even though it does have a lot of good options. If I do 
 pull
 the trigger it's going to be for the Aeron. I have a feeling it's also
 because I'm on the larger side and so will prob go with the 'C' option 
 as
 well.



 Price wise was $745 for the Leap and $1500+ for the Aeron. Looking
 at the options it can get up to $3000 for the Aeron if you bling it out
 with all the swanky extras.







 On 31 July 2015 at 20:31, Grant Maw grant@gmail.com wrote:

 I use an Aeron char. No complaints, can sit in it all day. I'm a tad
 on the larger side so I bought a size C. For most I'd recommend a size 
 B.
 They're great though, good investment.



 On 30 July 2015 at 12:53, Stephen Price step...@perthprojects.com
 wrote:

 My favourite is laying down. Asleep is when I'm at my most creative,
 but my coding style slips a bit when I'm asleep so it's a trade off.



 On Wed, 29 Jul 2015 at 18:26 Bec C bec.usern...@gmail.com wrote:

 Feelings aside I highly recommend both sitting and standing
 (alternate). It really helped me. Add in a few basic stretches every 
 hour
 and it will help you down the road





 On Wed, Jul 29, 2015 at 8:16 PM, Dave Walker rangitat...@gmail.com
 wrote:

 Jorke feels very strongly about this.



 On 29 July 2015 at 22:15, Bec C bec.usern...@gmail.com wrote:

 On Wed, Jul 29, 2015 at 5:07 PM, Jorke Odolphi jo...@jorke.net
 wrote:

 I’ve been using a herman miller setu at home for the past month –
 cannot recommend it enough. No arm rests, set height and slides (on a
 wooden floor) - amazing chair – I’ve done a couple of 16 hour days, I 
 would
 usually be physically tired and sore etc – totally gone.



 don’t listen

Re: [OT] Chairs for home office

2015-08-18 Thread Preet Sangha
Oh that's quite interesting. They look quite useful and it means it can be
moved from around easily.


regards,
Preet, in Auckland NZ


On 19 August 2015 at 10:45, DotNet Dude adotnetd...@gmail.com wrote:

 Tried the Varidesk for the last few months and it aint bad


 On Wednesday, 19 August 2015, Preet Sangha preetsan...@gmail.com wrote:

 Thank you, I am. I have plenty of meetings too where I have to sit too.

 I started by doing a couple of hours a day with long sit down sessions at
 the start and have built that up.




 regards,
 Preet, in Auckland NZ


 On 19 August 2015 at 09:56, Bec C bec.usern...@gmail.com wrote:

 You gotta alternate Preet, stand and sit. Standing all day is really hard


 On Tue, Aug 18, 2015 at 2:22 PM, Preet Sangha preetsan...@gmail.com
 wrote:

 I've just started a new job, and am trying to do the standing up desk
 thing. It's quite hard work (esp since I'm walking a few K in each
 direction from home too). At this moment any chair is a good one ;-)


 regards,
 Preet, in Auckland NZ


 On 18 August 2015 at 15:40, Andrew Coates (DX AUSTRALIA) 
 andrew.coa...@microsoft.com wrote:

 Love my Aeron – it’s the only chair I can sit in comfortably for
 multiple hours. I got mine (and one for my wife) on eBay for about the
 price of the Leap. Mine’s a C with adjustable lumbar support and arms.
 Sam’s is a B with adjustable lumbar but fixed arms.



 I had to wait a bit for them to come up, but it only took a week or so.



 Andrew Coates, ME, MCPD, MCSD MCTS, Developer Evangelist, Microsoft, 1
 Epping Road, NORTH RYDE NSW 2113
 Ph: +61 (2) 9870 2719 • Mob +61 (416) 134 993 • Fax: +61 (2) 9870 2400
 • http://blogs.msdn.com/acoat



 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Anthony Borton
 *Sent:* Tuesday, 18 August 2015 8:07 AM
 *To:* ozDotNet ozdotnet@ozdotnet.com
 *Subject:* RE: [OT] Chairs for home office



 It terms of all the swanky extras for the Aeron, the one thing I wish
 I had added was the adjustable lumber support. I’ve been super happy with
 everything else about the chair just wish I had included this one thing.



 Cheers



 Anthony Borton

 Senior ALM Trainer/Consultant

 Visual Studio ALM MVP

 Enhance ALM Pty Ltd





 *From:* ozdotnet-boun...@ozdotnet.com [
 mailto:ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Dave Walker
 *Sent:* Tuesday, 18 August 2015 6:31 AM
 *To:* ozDotNet ozdotnet@ozdotnet.com
 *Subject:* Re: [OT] Chairs for home office



 Update on this if anyone cares. I went and tried out a Steelcase Leap
 yesterday (showroom in Auckland is only open M-F). Felt plasticy to me and
 cheap and even though it does have a lot of good options. If I do pull the
 trigger it's going to be for the Aeron. I have a feeling it's also because
 I'm on the larger side and so will prob go with the 'C' option as well.



 Price wise was $745 for the Leap and $1500+ for the Aeron. Looking at
 the options it can get up to $3000 for the Aeron if you bling it out with
 all the swanky extras.







 On 31 July 2015 at 20:31, Grant Maw grant@gmail.com wrote:

 I use an Aeron char. No complaints, can sit in it all day. I'm a tad
 on the larger side so I bought a size C. For most I'd recommend a size B.
 They're great though, good investment.



 On 30 July 2015 at 12:53, Stephen Price step...@perthprojects.com
 wrote:

 My favourite is laying down. Asleep is when I'm at my most creative,
 but my coding style slips a bit when I'm asleep so it's a trade off.



 On Wed, 29 Jul 2015 at 18:26 Bec C bec.usern...@gmail.com wrote:

 Feelings aside I highly recommend both sitting and standing
 (alternate). It really helped me. Add in a few basic stretches every hour
 and it will help you down the road





 On Wed, Jul 29, 2015 at 8:16 PM, Dave Walker rangitat...@gmail.com
 wrote:

 Jorke feels very strongly about this.



 On 29 July 2015 at 22:15, Bec C bec.usern...@gmail.com wrote:

 On Wed, Jul 29, 2015 at 5:07 PM, Jorke Odolphi jo...@jorke.net
 wrote:

 I’ve been using a herman miller setu at home for the past month –
 cannot recommend it enough. No arm rests, set height and slides (on a
 wooden floor) - amazing chair – I’ve done a couple of 16 hour days, I 
 would
 usually be physically tired and sore etc – totally gone.



 don’t listen to idiots that may tell you to use a stand up desk, when
 you have to do real work invest in a really good chair for your health – 
 it
 has a 12 year warranty.



 Idiots? That's harsh



 http://livingedge.com.au/shop/226-setu-chair.html







 *From: *ozdotnet-boun...@ozdotnet.com on behalf of Dave Walker
 *Reply-To: *ozDotNet
 *Date: *Wednesday, 29 July 2015 4:41 pm
 *To: *ozDotNet
 *Subject: *[OT] Chairs for home office



 Hi all,



 back working in a home office and my chair is giving me conniptions.
 I've been looking into investing into one that's going to last me a long
 time.



 In previous companies I've used Aerons and they are awesome though
 really expensive. I've heard

Re: [OT] Chairs for home office

2015-08-18 Thread Preet Sangha
Damn good idea. I forgot all about those. Bunnings here (Auckland) seem to
charge about $50 for them. But it will likely be worth it.


regards,
Preet, in Auckland NZ


On 19 August 2015 at 11:12, Tony Wright tonyw...@gmail.com wrote:

 A good anti-fatigue mat helps too. I went and bought a pack of gym mats
 (those jigsaw ones) from Bunnings for around $18. There are 4 in a pack and
 these ones have carpet on top. I use all four and get a decent amount of
 cushioning. Without them, I get a sore back after a while, and the
 traditional anti-fatigue mats aren't padded enough for me.

 On Wed, Aug 19, 2015 at 8:45 AM, DotNet Dude adotnetd...@gmail.com
 wrote:

 Tried the Varidesk for the last few months and it aint bad


 On Wednesday, 19 August 2015, Preet Sangha preetsan...@gmail.com wrote:

 Thank you, I am. I have plenty of meetings too where I have to sit too.

 I started by doing a couple of hours a day with long sit down sessions
 at the start and have built that up.




 regards,
 Preet, in Auckland NZ


 On 19 August 2015 at 09:56, Bec C bec.usern...@gmail.com wrote:

 You gotta alternate Preet, stand and sit. Standing all day is really
 hard


 On Tue, Aug 18, 2015 at 2:22 PM, Preet Sangha preetsan...@gmail.com
 wrote:

 I've just started a new job, and am trying to do the standing up desk
 thing. It's quite hard work (esp since I'm walking a few K in each
 direction from home too). At this moment any chair is a good one ;-)


 regards,
 Preet, in Auckland NZ


 On 18 August 2015 at 15:40, Andrew Coates (DX AUSTRALIA) 
 andrew.coa...@microsoft.com wrote:

 Love my Aeron – it’s the only chair I can sit in comfortably for
 multiple hours. I got mine (and one for my wife) on eBay for about the
 price of the Leap. Mine’s a C with adjustable lumbar support and arms.
 Sam’s is a B with adjustable lumbar but fixed arms.



 I had to wait a bit for them to come up, but it only took a week or
 so.



 Andrew Coates, ME, MCPD, MCSD MCTS, Developer Evangelist, Microsoft,
 1 Epping Road, NORTH RYDE NSW 2113
 Ph: +61 (2) 9870 2719 • Mob +61 (416) 134 993 • Fax: +61 (2) 9870
 2400 • http://blogs.msdn.com/acoat



 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Anthony Borton
 *Sent:* Tuesday, 18 August 2015 8:07 AM
 *To:* ozDotNet ozdotnet@ozdotnet.com
 *Subject:* RE: [OT] Chairs for home office



 It terms of all the swanky extras for the Aeron, the one thing I wish
 I had added was the adjustable lumber support. I’ve been super happy with
 everything else about the chair just wish I had included this one thing.



 Cheers



 Anthony Borton

 Senior ALM Trainer/Consultant

 Visual Studio ALM MVP

 Enhance ALM Pty Ltd





 *From:* ozdotnet-boun...@ozdotnet.com [
 mailto:ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Dave Walker
 *Sent:* Tuesday, 18 August 2015 6:31 AM
 *To:* ozDotNet ozdotnet@ozdotnet.com
 *Subject:* Re: [OT] Chairs for home office



 Update on this if anyone cares. I went and tried out a Steelcase Leap
 yesterday (showroom in Auckland is only open M-F). Felt plasticy to me 
 and
 cheap and even though it does have a lot of good options. If I do pull 
 the
 trigger it's going to be for the Aeron. I have a feeling it's also 
 because
 I'm on the larger side and so will prob go with the 'C' option as well.



 Price wise was $745 for the Leap and $1500+ for the Aeron. Looking at
 the options it can get up to $3000 for the Aeron if you bling it out with
 all the swanky extras.







 On 31 July 2015 at 20:31, Grant Maw grant@gmail.com wrote:

 I use an Aeron char. No complaints, can sit in it all day. I'm a tad
 on the larger side so I bought a size C. For most I'd recommend a size B.
 They're great though, good investment.



 On 30 July 2015 at 12:53, Stephen Price step...@perthprojects.com
 wrote:

 My favourite is laying down. Asleep is when I'm at my most creative,
 but my coding style slips a bit when I'm asleep so it's a trade off.



 On Wed, 29 Jul 2015 at 18:26 Bec C bec.usern...@gmail.com wrote:

 Feelings aside I highly recommend both sitting and standing
 (alternate). It really helped me. Add in a few basic stretches every hour
 and it will help you down the road





 On Wed, Jul 29, 2015 at 8:16 PM, Dave Walker rangitat...@gmail.com
 wrote:

 Jorke feels very strongly about this.



 On 29 July 2015 at 22:15, Bec C bec.usern...@gmail.com wrote:

 On Wed, Jul 29, 2015 at 5:07 PM, Jorke Odolphi jo...@jorke.net
 wrote:

 I’ve been using a herman miller setu at home for the past month –
 cannot recommend it enough. No arm rests, set height and slides (on a
 wooden floor) - amazing chair – I’ve done a couple of 16 hour days, I 
 would
 usually be physically tired and sore etc – totally gone.



 don’t listen to idiots that may tell you to use a stand up desk, when
 you have to do real work invest in a really good chair for your health – 
 it
 has a 12 year warranty.



 Idiots? That's harsh



 http://livingedge.com.au/shop/226-setu

Alternative Web Service Proxy/Client class generators for .net recommendations?

2015-08-17 Thread Preet Sangha
I've been in the BI space for the past few years and so have sort of missed
out on all web service goodness since .net 4 came out.

I'm now back in the c# programming space and have need to consume a third
party web service (written in PHP) and thus create client side proxy for
it. Currently the Service Proxy generator in Visual studio is not able to
handle the WSDL that comes out of the service and basically gives up trying.

I know we can access the service in SOAPUI so the service is working, but
before we investigate any hand crafting I was wondering if anyone here is
using a third party service client tool or even if one exists.


regards,
Preet, in Auckland NZ


Re: More on 'CloudStream'

2015-06-17 Thread Preet Sangha
Ooh that takes me back to my IFS days


regards,
Preet, in Auckland NZ


On 17 June 2015 at 12:26, Thomas Koster tkos...@gmail.com wrote:

 Greg,

 On 15 June 2015 at 12:08, Greg Keogh gfke...@gmail.com wrote:
  I discovered by accident this morning that someone has already considered
  the issue of a file system in the cloud and made this announcement a
 year
  ago:
 
 
 http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx

 On 15 June 2015 at 18:39, Greg Low (罗格雷格博士) g...@greglow.com wrote:
  Also for DB backups, there’s an Azure backup tool for SQL Server. It
  installs a file system driver and redirects filesystem writes (ie:
 writing a
  file like a backup) to a storage account and just leaves a stub in place.
  When you read from the stub, it redirects the data from the storage
 account
  to you.

 A file system driver sounds like the way to go.

 I stumbled upon a Linux userspace file system called cloudyfs[1] and I
 thought of this thread. Then I saw that the author was making a joke -
 cloudyfs gives weather reports in your filesystem instead.

 [1] https://github.com/bhickey/cloudyfs

 --
 Thomas Koster



Re: .NET/CLR on FreeBSD status update.

2015-04-27 Thread Preet Sangha
Thank you. This looks interesting.


regards,
Preet, in Auckland NZ


On 28 April 2015 at 09:10, Geoffrey Huntley ghunt...@ghuntley.com wrote:

 By now you have probably saw the news that the CLR is building
 successfully on FreeBSD.
 Well last night the port team progressed another milestone namely - IL
 code ran successfully
 in the CLR on FreeBSD.

 $ ./corerun HelloWorld.exe
 04/27/2015 17:50:28

 $ ./corerun HelloWorld.exe
 04/27/2015 17:51:43

 https://github.com/dotnet/coreclr/issues/801#issuecomment-96431805

 If the CLR at this level is of interest to you, please come and join us
 over at https://gitter.im/dotnet/coreclr

 Regards,
 Geoff



Re: [OT] Data Retention Bill

2015-03-26 Thread Preet Sangha
Yeah just replace Poland with liberty.
On 27 Mar 2015 15:37, Tom Rutter therut...@gmail.com wrote:

 I don't know about at least it was nice to see Libs and Labs finally
 cooperate on something, anything. That's like Hitler and Stalin agreeing
 on something.

 On Fri, Mar 27, 2015 at 12:44 PM, Greg Keogh g...@mira.net wrote:

 So the bill has passed, opposed by everyone but the two major parties. Oh
 well, it's not all bad, as at least it was nice to see Libs and Labs
 finally cooperate on something, anything, and I'm sure they know what's
 best for us! Now, I don't want my metadata, or anything tracked by the
 government, and perhaps there are others in here who feel the same way.
 Senator Ian McDonald said that if you have nothing to hide then you having
 nothing to worry about, but I would urge him to go to Brandis' bookshelves
 and look for a book on the 20th history of Europe to see if that changes
 his mind.

 There are many overlapping questions here ... Exactly what is being
 stored? Who stores the metadata where? How is the data protected? Who can
 access it? How much will it cost the end users?

 I learned in a radio interview this week that metadata for offshore
 webmail accounts like Gmail and Hotmail cannot be retained by Australian
 ISPs (I hope this is true). I presume that Australian officials will have
 to jump through unchanged hoops to request information about such accounts
 and activity, and I hope these hoops are reasonably narrow.

 I'm not sure if they're planning to retain web browsing data, does anyone
 know? If so, rumours have it that using a foreign VPN is the easiest way
 around this. If so again, is it not too much of a burden to setup and run?

 I reckon it would be cheaper if the Australian government just paid for a
 live data fed from Facebook and Google, as they already know more about us
 than the NSA.

 TGIF, Greg





Re: [OT] Reading list

2014-12-03 Thread Preet Sangha
I personally think aside from all the great books listed. Every programmer
should read Code - by Petzold. At some point software has to magically jump
into hardware and every programmer should have at least the modicum of
understanding at this level.

On 4 December 2014 at 11:02, Tom P tompbi...@gmail.com wrote:

 Thanks Greg, have been meaning to get the CLR via C# book everybody talks
 about

 Thanks
 Tom

 On 3 December 2014 at 22:31, Greg Keogh g...@mira.net wrote:

 What are some must read books for a newbie .NET developer? There are so
 many so I thought I'd ask the experienced folk here.


 I've raved about these book in previous years. You can't consider
 yourself a serious .NET developer if you don't have one of these books
 within reach at all times:

 *C# 5.0 in a Nutshell* (Joseph Albahari, author of LINQPad)
 *CLR via C#* (Jeffrey Richter)

 Once you've memorised those two and feel more confident, rewire your
 brain to look at problems and solve them in a different way:

 *Expert F#* (Don Syme et al)

 Cheers,
 Greg K






-- 
regards,
Preet, Overlooking the Ocean, Auckland


Re: [OT] Ultrabook for noob

2014-11-26 Thread Preet Sangha
When I was self employed back I got the best laptop I could afford and
carry. I spent 3k NZD on a sandybridge i7 + 16Gb + 2 x 128 Gb Kingston
Hyper X SSDs (as the mobo supported Raid 0) back in Oct 2011. The disks
them selves for 20% of the price.

Frankly it's still a beast (though I recently upgraded the disks). I do
sense that I'm accustomed to the fast load and compile times and I couldn't
go back to HDD. VS 2012/2013 load times are annoyingly about 5-10 secs and
I am finding that a bit slow now (yes I know it's a first world problem).

My advice is to seriously get the best tools you can afford as this is your
living and your sanity.

On 27 November 2014 at 16:59, Tom P tompbi...@gmail.com wrote:

 My thoughts exactly! :) I was thinking more about how long it normally
 lasts before i7 and 16Gb RAM become too little

 Thanks
 Tom


 On 27 November 2014 at 14:56, Stephen Price step...@perthprojects.com
 wrote:

 I only appreciate mine for six months. After that I want a new one. ;)

 On Thu, Nov 27, 2014 at 11:45 AM, mike smith meski...@gmail.com wrote:

 ATO allows laptops to depreciate over 3 years, desktops 4


 https://www.ato.gov.au/Individuals/Income-and-deductions/In-detail/Deductions-for-specific-industries-and-occupations/IT-professionals---claiming-work-related-expenses/?page=21

 On Wed, Nov 26, 2014 at 5:50 PM, Tom P tompbi...@gmail.com wrote:

 Hi Stephen

 Thanks for the quick response. Actually a coworker suggested this list
 a while ago but I forgot all about it.

 Surface Pro 3 did have me interested at first but it is too small in my
 opinion and I prefer to just use the laptop and not have to hook up to an
 external monitor and keyboard and so on. Even a 13 has me concerned. I may
 go with 15.

 I've heard great things about the Macbook but the keyboard didn't feel
 right to me for Windows.

 I'll check out the XPS 15.

 Wow, 16Gb RAM? I didn't realise that was such an issue. 8Gb would be
 plenty for me I think but I guess going forward that will matter. How often
 do people change laptops? Is 3-4 years a stretch?

 Thanks
 Tom


 On 26 November 2014 at 17:02, Stephen Price step...@perthprojects.com
 wrote:

 Welcome Tom!
 (OMG where did we get a new poster from?)

 Having more than a few laptops (both past and present) I feel slightly
 qualified to reply. I've found Dell pretty good, but always get the 
 longest
 warranty you can get your hands on. It's happened a couple of times where 
 a
 laptop has needed parts/repairs and its been out of warranty. When that
 happens its usually better to upgrade than spend money on it.

 I'm currently running a Mac book Pro 13 (for iOS dev cross platform
 stuff with Xamarin), a Surface Pro 3 (for most dev) and an Asus gaming
 laptop (amazing machine but a bit too heavy to lug about. Awesome for
 gaming at a mates place, or when others bring their laptops and you want 
 to
 be sociable in the same room).
 The only thing that stops me from saying get a surface pro 3, is the
 RAM limit of 8Gb. If it could have 16Gb it would be the way to go, hands
 down. The other two laptops both have 16Gb and its really the only thing
 that lets the Surface Pro 3 down (spec wise). That said its the most
 portable, and most adaptable (laptop or tablet mode) and even wins on
 battery life by a huge margin.

 That said, the real answer is it depends. You need to look at what
 you want it for and makes sure whatever you get fits that first. Oh, I had
 a Samsung Ultrabook (the QuadHD touch screen one) and was disappointed 
 with
 the high DPI experience of Windows 8. Passed it to my daughter for Uni
 laptop and she loves it.
 I almost got the Dell XPS 15 (with the QuadHD touchscreen) but got the
 surface pro 3 instead. So far not regretted that decision but I daresay 
 the
 Dell would have also been a good buy (without the tablet form tho)

 HTH

 On Wed, Nov 26, 2014 at 12:55 PM, Tom P tompbi...@gmail.com wrote:

 Hi

 First time poster here so please take it easy on me.

 I've only ever had a desktop but looking to purchase my first laptop,
 ultrabook preferred. I've been looking at the Dells for warranty and
 support feedback I've received, XPS 13 sounds mainly. I wish to use it 
 for
 development mainly with some minor travel. Can some of the wiser more
 experienced developers here share their thoughts and recommendations?

 Thanks
 Tom






 --
 Meski

  http://courteous.ly/aAOZcv
 http://t.signaledue.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg2z8MG4N4WJpKqQK4kWF2mHLdh7Wljf19pFfl03?t=http%3A%2F%2Fcourteous.ly%2FaAOZcvsi=6200614728499200pi=19c727c0-0318-4e16-d9c8-6b4293530175

 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






-- 
regards,
Preet, Overlooking the Ocean, Auckland


Re: 3d Trilateration

2014-10-08 Thread Preet Sangha
have you hunted around gis.stackexchange.com

http://gis.stackexchange.com/questions/66/trilateration-using-3-latitude-and-longitude-points-and-3-distances

On 8 October 2014 04:54, David Rhys Jones djones...@gmail.com wrote:

 Hi all,

 Does anyone have code / link to a library that can do 3d Trilateration?

 *I've been looking for the last hour, lots of theory and references to
 matlab but nothing that looks like what I need.*

 *Thanks*
 *Davy.*

 *Si hoc legere scis nimium eruditionis habes*.




-- 
regards,
Preet, Overlooking the Ocean, Auckland


Re: Bare bones web app

2014-09-29 Thread Preet Sangha
My friend Mike wrote this one his blog a few years ago:

http://mikehadlow.blogspot.co.nz/2006/07/playing-with-httpsys.html


On 29 September 2014 19:49, Greg Keogh g...@mira.net wrote:

 You consider using asp.net to be bypassing all frameworks completely??


 Well no, even using a single handler for the whole app still reveals a lot
 of cogs spinning in the pipeline, a lot more than I expected. But I have
 general news on this anyway.

 If you want to create an app which just does request-response with a
 simple contract, then I reckon it's easier to code it yourself in the ashx
 file without any need for the clutter and complexity of WebForms or MVC. I
 was writing a REST service in the last week using MVC Web Api, and after my
 experiment I just purged most of the code and did it all myself in the ashx
 code. I didn't need multiple formatters, routers, controllers, filters,
 integrated security, caching, etc, so all that stuff is gone and my project
 is smaller and neater. I just parse the URL and query parameters and return
 XML. I think it's a suitable technique for simple applications, especially
 REST services.

 *Greg K*




-- 
regards,
Preet, Overlooking the Ocean, Auckland


Re: About SQL

2014-08-05 Thread Preet Sangha
You will likely find this useful:
http://www.amazon.com/Joe-Celkos-Thinking-Sets-Management/dp/0123741378


On 5 August 2014 18:56, Niaz Rana forni...@gmail.com wrote:

 Hi All,
 I am Application developer of MS .NET track i am good in it.:)
 But now i have to sharp my expertise in Db side, as Developer (specially
 in Projection/Selection/joins blah blah of data initially), waiting for
 your guideline/suggestions.

 And Preferred Db platform is MS SQL Server.
 Thanks in advance for your kind support and suggestions.

 --
 Regards,
 Muhammad Niaz
 +966 596 792864




-- 
regards,
Preet, Overlooking the Ocean, Auckland


Re: Any one here using the Visual Studio Online (TFS in the cloud)?

2014-08-03 Thread Preet Sangha
Thanks Paul.

David put me in touch with Grant at Microsoft who was able to determine
that it had been removed and he put up a notice (
http://blogs.msdn.com/b/vsoservice/archive/2014/07/08/issues-with-visual-studio-online-stack-rank-field-on-task-work-items-7-8-investigating.aspx)
to that effect.


There is an Excel based work around, listed there too.

However looking this morning I noticed that stack rank is back.






On 4 August 2014 10:15, Paul Glavich subscripti...@theglavs.com wrote:

 We use TFS online all the time. We had noticed that StackRank column is
 also missing from some of the forms. While you can include it to see what
 the values are, you will find these values change as TFS online uses that
 field now for internal ordering of backlog items.



 Quite painful for us since we use a customised version of scrum where we
 actively attributed values to stack rank to assist in prioritisation of a
 huge backlog at various phases. One might argue we should not have a huge
 backlog but in our instance, this is not practical at all as stack rank was
 one of the few common fields with bugs and stories. At any rate, we have
 had to accommodate it by using the backlog ordering feature and a separate
 area for defects/bugs. The removal of stackrank has forced us to cleanup
 our backlog which is a good thing but we still need to retain a fair bit so
 it has caused us more administrivia pain. I often find that scrum/agile
 practices tend to work best in greenfields projects and the strictness that
 is advocated causes more friction for no gain in much longer running
 projects (Note: I am a scrum/agile advocate but I tend to customise each to
 suite the environment/team/needs).



 I believe you can still access it if you use something like Excel to do
 your work item management but you are fighting the system and I would guess
 there may be times when that value gets overwritten internally by TFS
 online so it is a risky proposition.



 -  Glav



 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Preet Sangha
 *Sent:* Tuesday, 8 July 2014 3:45 PM
 *To:* ozDotNet
 *Subject:* Re: Any one here using the Visual Studio Online (TFS in the
 cloud)?



 Thanks David. Will contact Grant directly.



 On 8 July 2014 17:09, David Kean david.k...@microsoft.com wrote:

 Grant says:



 Can you have them contact me directly with their
 accountname.visualstudio.com?



 There was an issue on Friday regarding backlog columns, we may have
 regressed something in some cases.


 http://blogs.msdn.com/b/vsoservice/archive/2014/07/03/issues-with-visual-studio-online-work-item-backlog-management-2-7-investigating.aspx





 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *David Kean
 *Sent:* Monday, July 7, 2014 9:43 PM
 *To:* ozDotNet; Grant Holliday
 *Subject:* RE: Any one here using the Visual Studio Online (TFS in the
 cloud)?



 Grant?



 *From:* ozdotnet-boun...@ozdotnet.com [
 mailto:ozdotnet-boun...@ozdotnet.com ozdotnet-boun...@ozdotnet.com] *On
 Behalf Of *Preet Sangha
 *Sent:* Monday, July 7, 2014 6:18 PM
 *To:* ozDotNet
 *Subject:* Any one here using the Visual Studio Online (TFS in the cloud)?



 This morning all of us who logged into TFS (as opposed to were already
 logged in on sleeping machines) have had Stack Rank removed from the Task
 Work Item template.



 Cloud TFS doesn't allow changes to the WIT as you can with an in house TFS
 server so I was wondering if any of the MS people here know if there was a
 change to TFS that could have made this happen for us, or is there
 something we need to specially to fix this?



 It's not critical at the moment but I'm sure if is affects us it will
 affect a bazillion other people.





 Thanks.

 --
 regards,
 Preet, Overlooking the Ocean, Auckland





 --
 regards,
 Preet, Overlooking the Ocean, Auckland




-- 
regards,
Preet, Overlooking the Ocean, Auckland


Re: [ot] intranet

2014-07-28 Thread Preet Sangha
One note.  All the richness of office with all the elegance of a wiki.
On Jul 28, 2014 5:22 PM, anthonyatsmall...@mail.com wrote:

 Anyone have or use an internet system to record their procedures, manuals
 etc.   I have all sorts of docs for installing dotnet,  cerating a orchard
 cms site etc but need a central location to records these…maybe something
 like a wiki or intranet system?



 Any suggestion would be appreciated?



 Anthony Salerno | Founder | SmallBiz Australia
 Innovation | Web | Software | M2M | Developers | Support
 +613 8400 4191 | 2Anthony (at) smallbiz.com.au  | Po Box 135, Lower
 Plenty 3093 ABN : 16 079 706 737

 www.smallbiz.com.au | www.linkedin.com/in/innovativetechnology









Re: [ot] intranet

2014-07-28 Thread Preet Sangha
The best thing in my opinion is that everyone has a local copy they just
edit and it auto syncs when connected to the Internet. See here for how to
to do the read only thing :
http://community.office365.com/en-us/f/154/t/224258.aspx


On 28 July 2014 20:42, Preet Sangha preetsan...@gmail.com wrote:

 We use Office 365 and it's on the web as an editable notebook that we can
 access for any place via a nice rich browser experience. Usual security
 rules apply. I suppose it might have a read mode only mode too but I've not
 investigated it.


 On 28 July 2014 20:04, anthonyatsmall...@mail.com wrote:

 Interesting…can  one note be published to the internet?



 *From:* ozdotnet-boun...@ozdotnet.com [mailto:
 ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Preet Sangha
 *Sent:* Monday, 28 July 2014 5:50 PM
 *To:* ozDotNet
 *Subject:* Re: [ot] intranet



 One note.  All the richness of office with all the elegance of a wiki.

 On Jul 28, 2014 5:22 PM, anthonyatsmall...@mail.com wrote:

 Anyone have or use an internet system to record their procedures, manuals
 etc.   I have all sorts of docs for installing dotnet,  cerating a orchard
 cms site etc but need a central location to records these…maybe something
 like a wiki or intranet system?



 Any suggestion would be appreciated?



 Anthony Salerno | Founder | SmallBiz Australia
 Innovation | Web | Software | M2M | Developers | Support
 +613 8400 4191 | 2Anthony (at) smallbiz.com.au  | Po Box 135, Lower
 Plenty 3093 ABN : 16 079 706 737

 www.smallbiz.com.au | www.linkedin.com/in/innovativetechnology










 --
 regards,
 Preet, Overlooking the Ocean, Auckland




-- 
regards,
Preet, Overlooking the Ocean, Auckland


  1   2   3   >