RE: Azure Active Directory

2017-06-21 Thread piers.williams
That seems like hard work compared to using the powershell cmdlets. If you had an ongoing integration that needed to do it, sure. Hit the REST api for a one-off? Hmm. (googles ‘bulk create users in azure active directory’)

RE: Sharing a database file

2015-11-11 Thread piers.williams
Noone’s mentioned exposing the database functionality as a WCF / REST endpoint, but hosted via IIS so no service lifetime management issues. I mention it for completeness, because there are some major advantages over self-hosting (spin-down on idle, existing framework to handle exceptions,

RE: .Net Micro Framework

2015-11-09 Thread piers.williams
Not in a form that's intelligible without the commentary really. I'll have to do some blog posts or something. However there are bucketloads of tutorials over adafruit.com which is where most of my kit came from From: Grant Molloy Sent: Monday, 9 November 2015 6:57 AM To:

RE: .Net Micro Framework

2015-11-07 Thread piers.williams
Coincidentally I just did a talk at Perth.Net about my RPi controlled Christmas lights, though mostly I’m driving 5V RGB addressable ones, not just slaving normal Bunnings lights. For these I’d definitely recommend just using a relay on the low voltage side, and leave the 240v bits well alone.

Re: [OT] perfmon reporting

2015-02-02 Thread piers.williams
Assuming this is related to your memory leak post from a few days ago, the first thing to look at is that if you have an ever-widening delta between ‘.net/bytes in all heaps’ and ‘process/private bytes’ then I think an unmanaged memory leak is pretty much confirmed. From: Greg Keogh Sent:

Re: Programmatically call forward

2014-12-16 Thread piers.williams
I don't know much about it, but when our office telecoms system was replaced a few years back, it then included this kind of functionality. I can (or could, when I was in the office) have an exchange toolbar that allows me to control my phone, including call forwarding behavior. I don’t think

Re: [OT] Reading list

2014-12-04 Thread piers.williams
+1 Code is a brilliant book for anyone interested in how the modern world actually works under the silicon. It's wonderfully written, accessible, and Petzold's clear love for the subject matter shines through in ever page. I gave one to my 70+ dad, and he loved it, and I probably blame it for

Re: Code Mechanical Keyboards

2014-11-13 Thread piers.williams
Hacksaw? (I too like to drag my MS natural keyboard anywhere I'll be doing any serious typing) From: Davy Jones Sent: ‎Friday‎, ‎October‎ ‎24‎, ‎2014 ‎2‎:‎54‎ ‎PM To: ozDotNet I carry a microsoft natural keyboard around with me, typing on a standard straight keyboard hurts my wrists

Re: Hacked together standing desk

2014-10-27 Thread piers.williams
I did a bit of research into standing desks, motivated by the health concerns that Jason mentions (which are pretty worrying actually). TL;DR - stability is everything. I ended up just getting a fixed height bar table for home (105cm height), which is fine given I only use it during the

Re: More on LINQ Providers

2014-10-27 Thread piers.williams
Also the linq-to-llblgen provider was - at least in it's first incarnation - not actually very good. You would constantly come up against unsupported operators, which again just goes to show what a significant effort writing a linq provider is. (As an aside, there is also the LinqToAzure

Re: GUIDs

2014-05-02 Thread piers.williams
Probably worth saying that using guids as a primary key is not for everyone. The key is bigger, so that has a size and performance impact on all your indexes and foreign keys, and as a clustering key it means new records are scattered throughout the file rather than being appended to the tail,

Re: [OT] Specflow

2014-04-29 Thread piers.williams
Used it a bit on a previous project some years ago. I thought it actually worked pretty well actually, with some important caveats about use: Because the implementation for each line in the spec binds to a static method, state management between the lines in the tests is an issue. Ideally

Re: Spreadsheets and data

2014-04-06 Thread piers.williams
Um. Probably the best way to think of Analysis Services is that it's the server-side equivalent of an Excel pivot table (that is, rather than the client - excel - having to do the pivoting itself from the raw data, the pivoting can be done on the server and the client only gets the results).

Re: Spreadsheets and data

2014-04-05 Thread piers.williams
Does the existing data provide a seed or default for a new row (which can be overwritten), or is it a true accumulation (which cant)? And if the latter, how much data are we talking about? You can use lead and lag in SQL (2012) to perform these kind of projections, but if generally suggest

Re: Spreadsheets and data

2014-04-05 Thread piers.williams
Um. Probably the best way to think of Analysis Services is that it's the server-side equivalent of an Excel pivot table (that is, rather than the client - excel - having to do the pivoting itself from the raw data, the pivoting can be done on the server and the client only gets the results).

Re: Buffer to XML problem

2014-02-05 Thread piers.williams
Once loaded into a .net string, it is Unicode. So then the encoding stated in the Xml preamble (UTF-8) is then wrong. By passing a stream to the XmlDocument (directly, or via XmlTextReader(stream)) then the Encoding associated with the stream (which is sniffed from the BOM) is passed as well.

Re: Inter-Process isolation

2014-01-17 Thread piers.williams
Oh, and also assuming you didn't use the new 32BITPREFERRED option in 4.5 http://msdn.microsoft.com/en-us/library/ms164699(v=vs.110).aspx … in which case … well it depends

Re: [OT] Surface 2 OR Surface Pro 2

2014-01-16 Thread piers.williams
Wife has a Surface RT, I have a Surface Pro 2. I got the RT for the wife because she needs email, web and Excel, and it's a better machine than the alternatives (ie low-end laptops) I got the Pro 2 because I needed to replace my existing laptop anyway, and I went for the 'one device is all

Re: Inter-Process isolation

2014-01-16 Thread piers.williams
Nitpicking, but bear in mind that there's no such thing as an Any CPU ‘process’ of course. I think you meant your parent was a 64 bit process (the result of running an EXE built with ‘Any CPU’ on x64 hardware). (self-nitpick: and assuming no fiddling with CORFLAGS.exe) From: Greg Keogh