Re: [OT] External hard drives (Done)
Greg, On 4 March 2010 16:50, Greg Keogh g...@mira.net wrote: Thanks everyone for the advice. I believe Ken’s advice that if it’s just for backups and carrying files around then a USB connection is good enough. The guy in the shop pointed out that the 2.5 drives were the USB ones, and they came in 2 or 1 cable versions. So I picked the 500GB Seagate 1-cable for $120, which is now plugged into XP and seems to be found and working okay. I have a single cable that has two plugs at one end with one of the plugs being a pass-through plug. This allows me to use one plug, where the usb port has sufficient power to run the drive, and two plugs for extra grunt if necessary. I've not used the pass-through but it is intended to allow another device to use the port at the same time. I've been told that a single usb port may eventually not provide enough power where the mobile drive and/or the PC it is attached to starts to get old and tired. David’s comments about the power have me worried. I deliberately picked the 1-cable version because it would be less bother. I didn’t think about why anyone would create a 2-cable version (yoiiks! because I might run low on power!!!). I've seen two-headed cables at the computer fairs/markets for cheap. Tiang, if the ext HDD is dropped or stolen, then the backup is the desktop machine and vice versa. Sounds logical eh! Encryption not needed, but I’ll remind my wife of the security issues that come with portable data. She carries a laptop around every day, so I suppose everyone with portable data should be reminded to watch out for thieves or accidents. And we habitually carry our backup drive in the same laptop case as the PC that it's backing up. Someone steals the case and look no data at all :-( -- Regards, noonie The idea of cloud storage is an interesting one which I will file in the back of my mind for possible later consideration. Cheers, Greg**
Re: VS2010 is on MSDN
Just got through a support chat session trying to download VS2010 Ultimate. This SKU is in the top 20 list and will be served through Akamai Download Manager (rather than the usual Microsoft File Transfer Manager) so some of you may have problems due to corporate firewall and proxy settings. I'm gonna have to wait til I get home and use MY bandwidth to get this puppy. On a lighter note TFS 2010 will initiate Microsoft FTM so I'm getting that one O.K. -- noonie On 13 April 2010 09:04, Matt Siebert mlsieb...@gmail.com wrote: Hi all, I just checked MSDN and VS2010 is available for download. Looks like the RC was replaced about 20 mins ago. Cheers, Matt.
Re: VS2010 is on MSDN
Greetings, The error is in Akamai's download manager after it fetches the download URL. The utility starts fine (and also runs O.K. from the shortcut it puts on the desktop) so I doubt we're looking at a particularly IE issue. Tried Chrome as the browser and, oh joy, no Akamai and the download seems to be progressing fine. Thanks. -- Regards, noonie On 13 April 2010 10:20, DotNet Dude adotnetd...@gmail.com wrote: Isn't that an IE issue/requirement? Try a different browser On Tue, Apr 13, 2010 at 9:52 AM, noonie neale.n...@gmail.com wrote: Just got through a support chat session trying to download VS2010 Ultimate. This SKU is in the top 20 list and will be served through Akamai Download Manager (rather than the usual Microsoft File Transfer Manager) so some of you may have problems due to corporate firewall and proxy settings. I'm gonna have to wait til I get home and use MY bandwidth to get this puppy. On a lighter note TFS 2010 will initiate Microsoft FTM so I'm getting that one O.K. -- noonie On 13 April 2010 09:04, Matt Siebert mlsieb...@gmail.com wrote: Hi all, I just checked MSDN and VS2010 is available for download. Looks like the RC was replaced about 20 mins ago. Cheers, Matt.
Re: Probably stupid question
Well thar's yer problem ;-) On 13 May 2010 12:11, Geoff Appleby geoff.appl...@gmail.com wrote: C# On Thu, May 13, 2010 at 12:09 PM, noonie neale.n...@gmail.com wrote: VB or C# ? -- noonie On 13 May 2010 08:44, Geoff Appleby geoff.appl...@gmail.com wrote: Argh. This is annoying me so much. I rarely do ASP.net stuff, so I'm always rusty...but normally I can google help. This time I just can't see the problem... I've got a repeater control that lives inside a label control. The repeater's itemtemplate dumps out hyperlink controls. The label is set to visible=false by default, and i hook the ItemDataBound event - if that event fires with a non-null data item, then I make the label visible. All works fine. Viewstate is enabled everywhere, and i'm rebinding all repeaters in every page_load. Most of the links over this page are just links. But I've got two linkbutton's that (obviously) generate a postback. When the postback fires i _still_ rebind that repeater - and the itemdatabound event fires multiple times (as it should) and the hyperlink controls get recreated. i've got EnableViewState=true all through those controls i've just mentioned too, just in case. But after the page renders, the repeater control is simply not there. the rendered html is just a span/span (for the wrapping label control). I'm positive its not viewstate related (since i'm rebinding each time and the rebind is working - i've walked through the code and watched the itemdatabound event fire multiple times. but i'm totally lost. there's three other repeaters on the same page, and each of _those_ still render fine. any thoughts? -- Geoff Appleby Blog: http://blogs.crankygoblin.com/blogs/geoff.appleby/ -- Geoff Appleby Blog: http://blogs.crankygoblin.com/blogs/geoff.appleby/
Re: Source control of DB scripts
Greg, If you have a VS 2010 Licence (or at least VSTS 2008 with the Data Dude GDR2) then you can keep the database projects in source control and also get some pretty nifty error checking to cut down on those stupid errors by using database projects. Just remember that SQL Server's deferred name resolution means that some warnings like 04151 ...has an unresolved reference to object... equate to runtime errors in the real code world. (it is amazing how many concepts cross-over into the db world with the latest tools from Microsoft). If not then I would seriously recommend that you invest the time in developing an automated build deploy method so you can prove the database before rolling the scripts out. -- Regards, noonie On 31 May 2010 11:14, Greg Keogh g...@mira.net wrote: Folks, I’m sure we’ve all had problems where multiple developers change SQL Server scripts and they get out of whack and waste time with stupid errors. I’m starting a fresh app and I thought I’d experiment with keeping scripts in SVN. It just means that we have to remember to always save a script to the source controlled file whenever it’s changed. Because scripts aren’t compiled source code, there is still the risk of human error in not pushing any updated script files into the DB. I was thinking of concocting a utility which automatically pushed changed scripts into the DB, but before I start fiddling I thought I’d ask about this subject in general first. Are there others out there who source control their DB scripts and have techniques for reducing human error? Or perhaps there are better techniques that I’ve completely overlooked. Greg
Re: Creating a Data Service that can be consumed from Excel (using C#)
Greetings, I don't know what they do now as I haven't played with external data in Excel for a while but, in th OLD days, there was no problem pointing Excel at a web page that served up csv data (with appropriate MIME TYPE headers) as an external data source. This page http://office.microsoft.com/en-us/excel/ha010864661033.aspx mentions:- Microsoft SQL Server™ OLAPhttp://office.microsoft.com/en-us/excel/ha010864661033.aspx Services (OLAP provider http://office.microsoft.com/en-us/excel/ha010864661033.aspx ) Microsoft Office Access dBASE Microsoft FoxPro Microsoft Office Excel Oracle Paradox SQL Server Text file databases Third-party providersAs external data sources that the current version of Excel will consume and also links to how you can use other data source drivers. -- Regards, noonie On 3 June 2010 10:42, Arjang Assadi arjang.ass...@gmail.com wrote: services that can be consumed from Excel?
Re: How to validate directory path
Greetings, On 17 June 2010 14:12, Tom Rutter therut...@gmail.com wrote: Mainly because of design I guess. I have a function that uses the folder path way down the line someplace after a lot of other work has been done, so i dont want to do lots of stuff and then find out the folder path i was given cant be used now. How far down? 300 clock cycles 3,000? Does it really matter that much in real-time? Will you have a lot of cleaning up to do later on or will recovering from a permissions exception be too difficult? To avoid this overhead i would like to check it up front. If the real-time lag is just milliseconds then there's not much point but if it is a considerable time then, as has been said before in this thread, circumstances may have changed betwixt check and do. Sometimes it easy to look at all your lines of code and come to the belief that there's a lot of work going on in there when the reality is that it actually happens faster than an eye-blink. -- Regards, noonie On Thu, Jun 17, 2010 at 2:07 PM, Michael Minutillo michael.minuti...@gmail.com wrote: Hi Tom, Any extra context you can give us as to why you might want to do this? Is it something you could use http://transactionalfilemgr.codeplex.com/ for? Regards, Mike On Thu, Jun 17, 2010 at 11:59 AM, Tom Rutter therut...@gmail.com wrote: Hi Ann, yes but I don't want to actually create it. i just want to check if it *can* be created. On Thu, Jun 17, 2010 at 1:56 PM, Anne Busby anne.bu...@csg.com.auwrote: Directory.CreateDirectory Method (String) Any and all directories specified in path are created, unless they already exist or unless some part of path is invalid. The pathparameter specifies a directory path, not a file path. If the directory already exists, this method does nothing. *Anne Busby ** **|** **Senior Developer** * *3 Sarich Way, Technology Park, Bentley,* *WA** 6102 Phone +61 8 6250 7900** |** Fax +61 8 6250 7999* P Please consider the environment before you print this email -- *From:* ozdotnet-boun...@ozdotnet.com [ozdotnet-boun...@ozdotnet.com] On Behalf Of Tom Rutter [therut...@gmail.com] *Sent:* Thursday, 17 June 2010 11:51 AM *To:* ozDotNet *Subject:* How to validate directory path Gday .net gurus Can I please get some recommendations on how to check if a directory can be created given a path if it already doesnt exist? As an example something like this public static bool CanCreateDir(string path) { if (System.IO.Directory.Exists(path)) { return true; } //TODO - figure out if the directory can be created } Cheers, Tom -- Michael M. Minutillo Indiscriminate Information Sponge Blog: http://wolfbyte-net.blogspot.com
IIS Express
ScottGu has announced the impending release of a beta version of IIS Express:- http://weblogs.asp.net/scottgu/archive/2010/06/28/introducing-iis-express.aspx This might make development a bit easier. The comments provide interesting reading and indicate some more tools/utilities in the wind. -- Regards, noonie
Re: [OT] Friday - Conway (or.. Labor govt) once again delays Internet Filter
Greetings, I remember a recent election with 20+ candidates on the ballot paper. The way one is supposed to vote, as shown on the how-to-vote cards, is to select your most favoured candidate and place a 1 against his/her name, then a 2 on the next favoured and so on until you run out of numbers. I so detested the list of candidates that I voted in reverse order, counting down in order of least distaste. Says a lot for what was on offer. I don't think that, in 35 years of voting, I ever voted for a candidate who actually won. I consider myself disenfranchised and unrepresented. Sad... really. -- Regards, noonie On 9 July 2010 19:07, Les Hughes l...@datarev.com.au wrote: Greg Keogh wrote: I was disappointed several years ago to learn that it's illegal to tell people not to vote, and perhaps also to tell them to vote for the donkey or to write your opinion of politicians on the ballot paper instead of ticking the little boxes. I remember some TV host dipstick comedian girlie made comments in this area, and on the following weeks show they had to make an apology for what she said and explain the conundrum. Although I don't think it's illegal to actually vote for the donkey or write a poem on the ballot paper, because thanks to the anonymous system we have they can't track the offender. I also think it's not illegal to be not registered to vote. I still have this dream of watching election night and the big tally boards behind the presenters start racking up the numbers ... 0% 0% 0% 0% 0% 0.001% 0% 0.0023% 0% etc. I wonder if the Australian constitution could deal with such a situation where almost no one made a valid vote. Any legal experts in here? I know we have at least one who writes software as well. Greg I'm certainly not an expert (although, I am an avid watcher of Judge Judy), but a quick look at the constitution seems to show nothing particular about individual voters. Check http://www.comlaw.gov.au/comlaw/comlaw.nsf/440c19285821b109ca256f3a001d59b7/57dea3835d797364ca256f9d0078c087/$FILE/ConstitutionAct.pdf Taking a quick look around, it appears we are forced to vote via the Commonwealth Electoral Act (1918), and I believe there are also state acts for state elections (I could be wrong, but I received a fine from the VEC once, and I recall it been a state act). On Federal elections, some info from http://www.aec.gov.au/About_AEC/Publications/backgrounders/files/2010-eb-compulsory-voting.pdf In 1911, the former Act was amended to make enrolment compulsory. In 1924, to increase voter turnout and reduce party campaign expenditure, the Act was amended to make voting at federal elections compulsory. Somewhere on the site it says $20 for federal elections, and from memory, it is $50 for the Victorian state elections, or it might be 0.5 penalty units. I am not sure. I am pretty sure that it is illegal to donkey vote, but the nature of anonymous voting makes it unenforceable (until they bring in CSI: Ballot sheets to do DNA matching/etc or not) I agree with you that voting shouldn't be compulsory, but I think because it is, we should add a box that says They are all inferior choices. I am pretty sure that box would win. Anyway, that's enough from me, have a good weekend everyone :P -- Les Hughes l...@datarev.com.au
Re: [OT] Friday - Recruiters
Then maybe you should have asked him ... and how many years driving experience do you have? and then get him to do the math ;-) -- Neale NOON On 30 July 2010 10:04, Corneliu I. Tusnea corne...@acorns.com.au wrote: He was very serious about it and quite a bit upset as he considered I was lying in my application that I have the 5y experience. I also failed the job because of that :) (not 5y xp) Oh well, sh*** happens everyday Corneliu. On Fri, Jul 30, 2010 at 9:59 AM, Arjang Assadi arjang.ass...@gmail.comwrote: On 30 July 2010 09:30, Corneliu I. Tusnea corne...@acorns.com.au wrote: Years back when I came to Australia I applied to a job that required 5 years on VC++ Experience (which I had). During the interview the guy noticed I had in my CV the position of Technical Team Lead [for a 8 person team] Senior Dev that I had for 5 years doing VC++ and asked me: - How much of your time was dedicated to being the TTL of the team? - About 20-30% I said. 10 seconds later he said: - Well, you can't say you have 5 years of VC++ Experience then. You only have 4! As you spend the rest as TTL If there would ever be a book on Programmers Anecdotes that needs to be in it. Was he puling your leg with that comment? or trying to haggle you down for salary? PS: Thanks for sharing, reality can be stranger than fiction.
Re: [OT] Does anyone know a good Access list?
David, I feel your pain :-( On 17 August 2010 11:28, David Burstin david.burs...@gmail.com wrote: Thanks Arjang. I appreciate yours and everyone's continued efforts to help me solve this. Comments below. SNIP / Again, this would be useful for importing the raw data from Access. What the client needs is to be able to import the generated reports, including calculated fields, totals, formatting, etc. *exactly as they see it on the screen in the reports*. We ended up using COM and manipulating the workbook and worksheets directly. Tedious, time-consuming and fraught with danger! All because the customer wanted a spreadsheet that looks just like the report. Luckily we target Excel 2003, at the moment, because side-by-side MS Office installations can be problematic and we could not guarantee we could reliably produce .xlsx files. -- Regards, noonie
Re: Access Database Replication
On 7 September 2010 15:09, mike smith meski...@gmail.com wrote: On 7 September 2010 15:01, noonie neale.n...@gmail.com wrote: Greetings, On 7 September 2010 13:36, Les Hughes l...@datarev.com.au wrote: Ian Thomas wrote: What are the problems of putting the MDB back-end in the cloud (using the term loosely)? Surely both ends have a permanent always-on internet connection? I think there is some data they don't want shared between the offices? No idea really. This is one of those scenarios where I am asked questions on a 'need to know' basis, so instead of been given the bigger picture and a set of conditions in which to form a solution, all I get is a we can't do that Gr :/ +1 Which is why my usual response to partial questions is That depends. What problem are you really trying to solve?. My favourite Probably why some people have stopped asking me questions :-P And the downside is? That depends... -- noonie ;-) -- Meski Going to Starbucks for coffee is like going to prison for sex. Sure, you'll get it, but it's going to be rough - Adam Hills
[OT] Looking for direction with VS 2010 Add-in for Database Projects
Greetings (and I apologise for the long post), I'm trying to write an Add-in for VS 2010 to provide some automation in database projects. I've received some help from the MSDN forums but I'd like to get opinions from those of you who may have gone down this road before. We have some complex database projects with many dependencies. The projects are designed to be components for other database solutions and are themselves made up of components. We need to deploy to external networks and have elected to set the Deploy action to Create a deployment script (.sql). The solution consists of a number of separate projects that make up the components of the system. Some target deployment environments will receive some of these components whilst different deployment targets will receive a different mix of components. To support this we use the Deployment Project method. We have a database project that holds the pre post deployment scripts and only references to the component projects. When deploying a release project the DBA has to do the following:- Open the solution and select the particular deployment project. Check that the project .sqldeployment file has the correct settings and set the target connection string and target database for the deployment. Open each referenced project and ensure that the .sqldeployment and database connection settings are correct in each one. Point the release at a copy of the target production database version and deploy. The output window will show the deployment order for each of the referenced projects. The resultant .sql scripts are then executed in that order against the copy of production and verified as deployed correctly. These scripts are them shipped over to the production environment and executed against each of the production databases. The parts that I would like to automate are the tedious comparisons of the .sqldeployment settings and the target database connection settings. I can use the DTE object model to find the .sql deployment files in each of the referenced projects and do a simple comparison of the settings from the xml therein. I will be able to show a report on the differences so the DBA can take appropriate action. I did not seem to be able to find the TargetConnectionString and TargetDatabase properties, which are stored in the .dbproj file, using either the automation objects or the configuration manager objects. I was advised, on the MSDN forums, to use the MSBuild object model instead. This works fine and I will be able to include comparisons of these settings in my report page. The big problem is that there seems to be no way of editing the connection properties without the IDE detecting the change and prompting for a reload of the project(s). This can take many minutes, whilst the database models are rebuilt, and I'd like to avoid this. These properties can be edited in the IDE through the project properties pages without triggering a reload and I'd be very grateful if I could find a similar way using some sort of automation. -- Regards, noonie
Re: Excel in .NET (C# or VB)
Arjang, Excel is a wonderful data analysis tool but it is an EVIL data manipulation tool. It takes liberties with any values entered into cells and makes assumptions based on some fairly opaque rules. it's not only Excel itself but users too, who can come in, after the fact and change data types at a whim. If your data source is Excel then you have to be extra vigilant in your validation before putting it into your database. There's really no other way, sorry :-( -- Regards, Neale NOON On 22 February 2011 08:04, Arjang Assadi arjang.ass...@gmail.com wrote: On 21 February 2011 18:08, Andrew McGrath andrew.mcgr...@workslink.com.au wrote: Using xlsgen to manage situation very similar to yours. Has worked very well on a variety of projects. Website is at http://xlsgen.arstdesign.com/ Andrew Hi Andrew, How did you manage the data validation? There is pretty much no way of enforcing business rules on any data being entered into excel. Doing data validation and integrity checking after receiving it is a waking nighmare. Is/Are there recomended practices of having some control over the data in Excel? Regards Arjang
Re: Excel in .NET (C# or VB)
Nathan, The IMEX=1 setting won't get the driver to treat all fields as strings only mixed data in a column. If the scanned rows show no mixed data types the driver will still go ahead an guess a data type other than string. See: http://support.microsoft.com/kb/194124 -- Regards, noonie On 22 February 2011 12:39, Nathan Schultz milish...@gmail.com wrote: I've used OleDB several times in production systems, and so long as you know of a few quirks it's fine. It determines data-types from the first 8 rows by default (not 5) and I think there is a registry hack that can increase this. Personally I just add IMEX=1 to the connection string during read, and this tells OleDB to import all fields as strings. I can then use my application to cast the fields to their appropriate types. On Mon, Feb 21, 2011 at 3:49 PM, djones...@gmail.com wrote: Hi, Oledb will give you loads of problems, the data types in the spreadsheet are defined by the best match of the first 5 rows or so. Really not good. If you were just reading the file then nexcel is my preferred way and it works on asp.net with no hassle. But as you are updating there isn't a simple solution at all. Davy When all you have is a hammer, every problem looks like a nail. I feel much the same way about xml -Original Message- From: etmilis etmi...@iinet.net.au Sender: ozdotnet-boun...@ozdotnet.com Date: Mon, 21 Feb 2011 16:02:27 To: 'ozDotNet'ozdotnet@ozdotnet.com Reply-To: ozDotNet ozdotnet@ozdotnet.com Subject: RE: Excel in .NET (C# or VB) Thanks Craig and Arjang, Concern noted. We are asked to automate/integrate files (i.e. invoice, inventory, etc.) received from customer (in Excel via email) with internal system and need to update some databases/tables too. We will also need to send back the updated Excel file (original file + added/updated columns) to the customers. It looks like there are 2 ways to do it, using the Excel object model or the OLEDB, though I am leaning more to the object model. So, is it a good design if we create a service or a .net assembly with scheduled job to it? The frequency is pretty low, a few times in a day during business hours only. Cheers, Etmilis -Original Message- From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com ] On Behalf Of Arjang Assadi Sent: Monday, 21 February 2011 3:37 PM To: ozDotNet Subject: Re: Excel in .NET (C# or VB) Hi Etmilis, as Craig said ( also from personal experience ), do not try reading and writing excel files on the server, there is no end to problems that need to be solved. What is the original problem that you think it requires reading and writing to Excel Files? Regards Arjang On 21 February 2011 15:10, etmilis etmi...@iinet.net.au wrote: Hi Everyone, In the current DNA with .NET, is it much easier now to deal with EXCEL? Is COM still in the game? What I am after is reading from and writing to an EXCEL file(s). Also will it be possible to do it without installing EXCEL at all, for example just referencing some of the EXCEL assemblies??? Thanks and Regards, Etmilis
Re: Govt .net jobs?
It's almost Friday, Did you hear about the contractor who committed suicide? He climbed up on his wallet and threw himself to his death. -- (mobile) noonie
Re: [OT] Shopping for a shopping cart
Greetings, We used this one to solve a one-off need for a cart. http://www.aspdotnetstorefront.com Source code, no problem, just pay more ;-) -- noonie On 7 June 2011 09:38, Kirsten Greed kirst...@jobtalk.com.au wrote: Hi All Can anyone recommend a shopping cart solution with ASP.Net source code? Thanks Kirsten
Re: [OT] ozdotnet own posts
FYI, I'm using Gmail to subscribe and see my posts without any issues. -- noonie On 17 June 2011 09:08, David Connors da...@codify.com wrote: On Fri, Jun 17, 2011 at 7:08 AM, Greg Kennedy gkenne...@gmail.com wrote: I've always assumed that gmail was responsible for not showing your own emails. As far as I know that feature of mailman has never worked. You SHOULD get an acknowledgement of your post though - and the fact that feature works meant I never investigated why you don't get a copy of your own. I might see if there is a new version of mailman when I get a chance. -- David Connors | da...@codify.com | www.codify.com Software Engineer Codify Pty Ltd Phone: +61 (7) 3210 6268 | Facsimile: +61 (7) 3210 6269 | Mobile: +61 417 189 363 V-Card: https://www.codify.com/cards/davidconnors Address Info: https://www.codify.com/contact
Re: [OT] ozdotnet own posts
Cool... Works for me. Probably why I turned off post acknowledgments ;-) -- noonie On 17 June 2011 09:34, David Connors da...@codify.com wrote: On Fri, Jun 17, 2011 at 9:30 AM, noonie neale.n...@gmail.com wrote: FYI, I'm using Gmail to subscribe and see my posts without any issues. Yes, but you're seeing the threaded gmail view which is the copy of your posts in your sent items integrated into the thread - as opposed to getting a new copy sent back to you from the list server. -- David Connors | da...@codify.com | www.codify.com Software Engineer Codify Pty Ltd Phone: +61 (7) 3210 6268 | Facsimile: +61 (7) 3210 6269 | Mobile: +61 417 189 363 V-Card: https://www.codify.com/cards/davidconnors Address Info: https://www.codify.com/contact
Re: [OT] MS security essentials
Bec, It could be a timing issue. When you got the files, in the first place, the threat was not known to your AV but later updates added the signature to the scanner. If you haven't touched the files in the intervening period then your AV wouldn't necessarily be prompted to scan them again. From memory, Microsoft Security Essentials defaults to a Quick Scan, for your daily or weekly scan, and this type of scan ...scans the folders where malware is most commonly found. I suspect that the Desktop is one of those folders and moving the files prompted MSE to have another look at them. -- Regards, noonie On 12 July 2011 13:49, Bec Carter bec.usern...@gmail.com wrote: So I installed this a few months ago on Vista and everything looked fine. Then over the weekend I moved some folders from C:\Users\Bec\Folder1 and onto my desktop and suddenly ms security essentials found all these infected files. The files were things I didn't need anyway so I just had it kill them. Can anyone explain why this would happen? Why would security essentials not detect problem in the old location? Cheers Bec
Re: Launching email client
Cool... WOAH! CDL: Asychronous Pluggable Protocol Handler Even Google returns results for Asynchronous and that key is littered with the mis-spelt Asychronous... Now to find out what CDL and friends are... -- noonie On 21 September 2011 13:50, Greg Keogh g...@mira.net wrote: PROTOCOLS
Re: Launching email client
Thanks, There's a whole bunch of interesting protocols in there. And who uses gopher anymore anyway... -- Regards, noonie On 21 September 2011 15:01, Ian Thomas il.tho...@iinet.net.au wrote: CDL - http://en.wikipedia.org/wiki/Common_Data_Link (military protocol) ? established 1991 ** ** There is a W3C spec for WS-CDL so maybe that’s what the asy(n)chronous pluggable derives from. ** ** The MSDN docs surrounding this URLhttp://msdn.microsoft.com/en-us/library/aa767739(v=VS.85).aspxare interesting. -- **Ian Thomas** Victoria Park, Western Australia -- *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *noonie *Sent:* Wednesday, September 21, 2011 12:40 PM *To:* ozDotNet *Subject:* Re: Launching email client ** ** Cool... ** ** WOAH! ** ** CDL: Asychronous Pluggable Protocol Handler ** ** Even Google returns results for Asynchronous and that key is littered with the mis-spelt Asychronous... ** ** Now to find out what CDL and friends are... ** ** -- noonie ** ** On 21 September 2011 13:50, Greg Keogh g...@mira.net wrote: PROTOCOLS ** **
Re: Simple or hard solution
Greetings, Google seems to think not :-( There are suggested work-arounds depending on what 'x' actually is. Use COM to instantiate a script library or misuse a data table or even write your own. http://www.velocityreviews.com/forums/t94154-eval-function-in-vb-net.html http://bytes.com/topic/net/answers/459258-eval-function-vb-net -- Regards, noonie On 29 September 2011 15:42, Anthony Mayan ifum...@gmail.com wrote: I have a function sub SayHello(word as string) Dim x as string=word trace.write(word) ''works fine of course trace.write(eval(x)) 'is this possible?? or how can i make this possible end sub
Re: ASCII to int
Tom, I think you're about to paint yourself into a corner. What's the real problem you are trying to solve that seems to require converting string to int? -- noonie On 11 October 2011 07:35, Tom Gao t...@tomgao.com wrote: Very nice. Thank you ** ** Any suggestion on how I can convert it back to string? ** ** ** ** *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *David Rhys Jones *Sent:* Tuesday, 11 October 2011 1:05 AM *To:* ozDotNet *Subject:* Re: ASCII to int ** ** int total = 0; string str = abcdefghijklmnopqrstuvwxyz; foreach (char c in str.ToCharArray()) { total += (int)c; } Assert.AreEqual(42, total); Davy, Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding After a bit of digging, it was pretty clear that the 'issues' were in the data access class. It was named 'summoner.cs' DailyWTF On Mon, Oct 10, 2011 at 3:37 PM, Tom Gao t...@tomgao.com wrote: Hi All, Does anyone know how to convert a string of ASCII characters to int? Eg “abcd” to some form of int. I need to do a bunch of calculations on strings the only way is if they’re in int not sure if anyone know of a good way to do this. Thanks, Tom ** **
Re: ASCII to int
Tom, Using David's method will turn a string to an int. But there are two problems. 1. If the string is very long then it will overflow int. 2. You can't turn it back to the same string you started with. -- noonie On 11 October 2011 08:09, Tom Gao t...@tomgao.com wrote: sorry there’s no real world scenario for this. I’m trying to replicate some calculation purely for academic reasons. ** ** *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *David Kean *Sent:* Tuesday, 11 October 2011 7:42 AM *To:* ozDotNet *Subject:* RE: ASCII to int ** ** Can I ask what’s the scenario? ** ** *From:* ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Tom Gao *Sent:* Monday, October 10, 2011 1:36 PM *To:* 'ozDotNet' *Subject:* RE: ASCII to int ** ** Very nice. Thank you ** ** Any suggestion on how I can convert it back to string? ** ** ** ** *From:* ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] *On Behalf Of *David Rhys Jones *Sent:* Tuesday, 11 October 2011 1:05 AM *To:* ozDotNet *Subject:* Re: ASCII to int ** ** int total = 0; string str = abcdefghijklmnopqrstuvwxyz; foreach (char c in str.ToCharArray()) { total += (int)c; } Assert.AreEqual(42, total); Davy, Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding After a bit of digging, it was pretty clear that the 'issues' were in the data access class. It was named 'summoner.cs' DailyWTF ** ** On Mon, Oct 10, 2011 at 3:37 PM, Tom Gao t...@tomgao.com wrote: Hi All, Does anyone know how to convert a string of ASCII characters to int? Eg “abcd” to some form of int. I need to do a bunch of calculations on strings the only way is if they’re in int not sure if anyone know of a good way to do this. Thanks, Tom ** **
Re: XMLSerializer error
Greetings, I have a half-baked memory of this being caused by the serializer choking on some complex types. -- Regards, noonie On 12 October 2011 15:44, Mark Hurd markeh...@gmail.com wrote: IIRC these are because the XmlSerializer generates the C# code required for the serialisation and compiles it on the fly and the file not found errors are signals to it that this has not yet been done. There may be a fix whereby you ensure the serializer IS pre-compiled. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 12 October 2011 14:47, Ian Thomas il.tho...@iinet.net.au wrote: I have a class called root, which describes an XML data structure that I read from a disk file into a stream. All works OK, but this line Dim xSerializer As New XmlSerializer(GetType(root)) produces two consecutive System.IO.FileNotFoundException errors. This doesn’t cause any problems at all, but I’m interested in why this occurs and what the fix is. Ian Thomas Victoria Park, Western Australia
[OT] Building multi-role Windows 7 installation DVDs
Greetings, We've just received the first of our new developer PCs and I'm looking at options for building an image so that I can deploy Windows 7 for different developer roles. I can have found some information on building a single image from the Volume Licence SKU but what I'd like to do is to use the WIM format for creating the following:- Base OS image .Net developer tools on top of base image Database developer tools on top of base image .Net developer tools and Database developer tools on top of base image I understand that there are some Enterprise tools to achieve this but that's overkill for my small team of a dozen developers. I'd still like to be able to tick the components that I want for the install build and just produce the appropriate installer DVDs. Can anyone point me to any articles that I can read that might cover this scenario? -- Regards, noonie
Re: [OT] Building multi-role Windows 7 installation DVDs
Thanks Grant, I'll look at that for the setup creation. I'm more interested in what installer to create the reference image from. e.g. Can I create the reference image from non-VLK setup media and skip the product key part so that our developers can enter their valid MSDN key after installation? -- Regards, noonie On 16 November 2011 09:53, Grant Holliday grant.holli...@microsoft.comwrote: VHD2WIM
Re: [OT] Building multi-role Windows 7 installation DVDs
Mike, On 16 November 2011 11:21, mike smith meski...@gmail.com wrote: What spec machines did you get? They're described as High end machines but that would only be true if I were standing in a hole ;-) Core i5 2400 3.1GHz, 4GB RAM, 1 X 1TB HDD, Intel Q67 Express Mobo, Nvidia NVS300, DVD Drive and 2 X 22 Acer Monitors But these are three times the machine that my people are currently fighting with. I'll get extra after market RAM and an extra HDD added for flexibility. I'm old-school and believe that every developer should build their own machine but, as most of my people are contractors, my boss is not in favour of that. (Also, in this day-and-age some developers expect their tools to be provided fully configured and are not used to doing more than just cut code). -- Regards, noonie
Re: [OT] Building multi-role Windows 7 installation DVDs
Thanks Ken, Just looking at MDT now. I've go my Infrastructure manager trying to track down the corporate VL media and if that fails I'd use an MSDN retail version as long as I can either skip the product key entry until after deployment (or else have each developer change the product key after installation) so I'm reading-up to find if this is even possible. -- Regards, noonie On 16 November 2011 11:57, Ken Schaefer k...@adopenstatic.com wrote: You can’t use non-VLK (e.g. retail) media and VLK keys ** ** Another option would be to use MDT (Microsoft Deployment Toolkit). You can write some scripts to run the installers for the various things you want to install, and a little GUI that allows the person running the setup to choose which components they want to install. The source files could be stored on a network share rather than on the DVD itself. ** ** *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *noonie *Sent:* Wednesday, 16 November 2011 8:05 AM *To:* ozDotNet *Subject:* Re: [OT] Building multi-role Windows 7 installation DVDs ** ** Thanks Grant, ** ** I'll look at that for the setup creation. ** ** I'm more interested in what installer to create the reference image from. e.g. Can I create the reference image from non-VLK setup media and skip the product key part so that our developers can enter their valid MSDN key after installation? ** ** -- Regards, noonie ** ** On 16 November 2011 09:53, Grant Holliday grant.holli...@microsoft.com wrote: VHD2WIM ** **
Re: Making an application that uses identity keys occassionallyconnected
Kirsten, Our DBAs considered and rejected sequential GUIDs. My best advice is don't solve half the problem :-) If you are using the latest Visual Studio database tools then rewriting the solution may not be as onerous as you fear. Finding all references to the single key and replacing them with two key references would be well within the capabilities of the tooling. -- Regards, noonie On 4 February 2012 15:38, Kirsten Greed kirst...@jobtalk.com.au wrote: ** ** ** ** Noonie ** ** Were you using NEWSEQUENTIALID() in the app that had problems in production? David Amos also mentioned NEWSEQUENTIALID() to keep fragmentation down – but I missed it’s importance. ** ** Bill – thanks for the info and link. ** ** I am thinking that the problem with 2 part keys is that it’s a bigger re-write than changing primary keys. I am sure to forget to add the 2ndkey in places! ** ** Kirsten -- *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Bill Chesnut *Sent:* Saturday, 4 February 2012 3:20 PM *To:* **ozDotNet ** *Subject:* RE: Making an application that uses identity keys occassionallyconnected ** ** Kirsten, One issue with GUID keys is that they are not one-up so with clustered indexes base on a GUID, inserting new records into a table typically can cause a page split, which is expensive, there is a different algorithm to generate a GUID that is always increasing so it acts more like an integer key. In SQL 2005 and above it is NEWSEQUENTIALID() and there is code to generate it in .net I think. Good article that compares all of these key types: http://www.codeproject.com/Articles/32597/Performance-Comparison-Identity-x-NewId-x-NewSeque Bill Chesnut BizTalk Server MVP Melbourne**, **Australia -- * *
[ot] Port Forwarding LDAP
Greetings, We have created a web-based user management system that works with Active Directory however the development time has been greatly increased by not having a local environment to develop and test against. I have managed to get a copy of the remote domain brought into our network with he following config:- Windows XP workstation (on our domain) hosting Microsoft Virtual Server containing Windows Server™ 2003 Service Pack 2 as the guest O/S. The guest is configured as a domain controller and contains a close copy of the remote AD. The guest O/S is configured to use the host loop-back network adapter and is completely isolated from the host's domain. What I want to do is be able to configure the application under development to use LDAP connections and point them at the replica domain controller. The fact that this is hosted on XP is giving me a headache but this configuration is not open for negotiation. I assume that I need a port forwarding solution but XP doesn't appear to have one built in and Fpipe, which works fine for port 8080 -- 80 mapping appears to choke when I connect using an LDAP browser (ADAM ADSI Edit) mapping 1389 -- 389. I can connect and display the schema root but drilling into the directory returns errors at the client and logs errors in the Fpipe command window. I suspect that I've just chosen the wrong tool to do the forwarding. Has anyone had any success with this type of configuration and what recommendations do you guys have for port forwarding/mapping utilities that will work for me on XP? -- Regards, noonie
Re: [ot] Port Forwarding LDAP
David, Bridging is prohibited. If I could get the hardware I'd stick it behind a real router :-( -- noonie On Feb 6, 2012 4:59 PM, David Connors da...@codify.com wrote: Is there any reason why you can't just use a bridge adapter and give it an IP on the local subnet along with your development workstation? On Mon, Feb 6, 2012 at 3:57 PM, noonie neale.n...@gmail.com wrote: Greetings, We have created a web-based user management system that works with Active Directory however the development time has been greatly increased by not having a local environment to develop and test against. I have managed to get a copy of the remote domain brought into our network with he following config:- Windows XP workstation (on our domain) hosting Microsoft Virtual Server containing Windows Server™ 2003 Service Pack 2 as the guest O/S. The guest is configured as a domain controller and contains a close copy of the remote AD. The guest O/S is configured to use the host loop-back network adapter and is completely isolated from the host's domain. What I want to do is be able to configure the application under development to use LDAP connections and point them at the replica domain controller. The fact that this is hosted on XP is giving me a headache but this configuration is not open for negotiation. I assume that I need a port forwarding solution but XP doesn't appear to have one built in and Fpipe, which works fine for port 8080 -- 80 mapping appears to choke when I connect using an LDAP browser (ADAM ADSI Edit) mapping 1389 -- 389. I can connect and display the schema root but drilling into the directory returns errors at the client and logs errors in the Fpipe command window. I suspect that I've just chosen the wrong tool to do the forwarding. Has anyone had any success with this type of configuration and what recommendations do you guys have for port forwarding/mapping utilities that will work for me on XP? -- Regards, noonie -- *David Connors* | da...@codify.com | www.codify.com Codify Pty Ltd Phone: +61 (7) 3210 6268 | Facsimile: +61 (7) 3210 6269 | Mobile: +61 417 189 363 V-Card: https://www.codify.com/cards/davidconnors Address Info: https://www.codify.com/contact
Re: [ot] Port Forwarding LDAP
Meski, Similar, but not the same, so I can get away with it ;-) A few years ago we had a senior DBA who set up a two pc virtual network with domain controllers and sql server vms, to try out some new stuff in sql server. I warned him not to let the network escape and he agreed. About a week later our network security folks were asking pointed questions about why this unknown machine was handing out ip addresses in another state. He was using bridged virtual adapters... -- noonie On 6 February 2012 17:12, mike smith meski...@gmail.com wrote: On Mon, Feb 6, 2012 at 5:07 PM, noonie neale.n...@gmail.com wrote: David, Bridging is prohibited. If I could get the hardware I'd stick it behind a real router :-( Isn't port forwarding a similar thing? If you explained it to whoever's prohibiting bridging, they'd probably prohibit fwding too. -- 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] Port Forwarding LDAP
Thanks Nathan, I'll have a look. -- noonie On 6 February 2012 17:18, Keir Nathan keirnat...@johndeere.com wrote: TMnetSim is primarily for simulating poor networks, but it might be able to do the forward for you. Near the bottom of this page… http://www.tmurgent.com/tools.aspx ** ** *Regards,* *Nathan* ** ** *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *noonie *Sent:* Monday, 6 February 2012 3:57 PM *To:* ozDotNet *Subject:* [ot] Port Forwarding LDAP ** ** Greetings, ** ** We have created a web-based user management system that works with Active Directory however the development time has been greatly increased by not having a local environment to develop and test against. ** ** I have managed to get a copy of the remote domain brought into our network with he following config:- ** ** Windows XP workstation (on our domain) hosting Microsoft Virtual Server containing Windows Server™ 2003 Service Pack 2 as the guest O/S. ** ** The guest is configured as a domain controller and contains a close copy of the remote AD. ** ** The guest O/S is configured to use the host loop-back network adapter and is completely isolated from the host's domain. ** ** What I want to do is be able to configure the application under development to use LDAP connections and point them at the replica domain controller. The fact that this is hosted on XP is giving me a headache but this configuration is not open for negotiation. ** ** I assume that I need a port forwarding solution but XP doesn't appear to have one built in and Fpipe, which works fine for port 8080 -- 80 mapping appears to choke when I connect using an LDAP browser (ADAM ADSI Edit) mapping 1389 -- 389. I can connect and display the schema root but drilling into the directory returns errors at the client and logs errors in the Fpipe command window. I suspect that I've just chosen the wrong tool to do the forwarding. ** ** Has anyone had any success with this type of configuration and what recommendations do you guys have for port forwarding/mapping utilities that will work for me on XP? ** ** -- Regards, noonie
Re: [ot] Port Forwarding LDAP
On 6 February 2012 20:26, Ken Schaefer k...@adopenstatic.com wrote: Is there a second NIC in the server hosting the web application? If so, can you use a direct connection (aka cross-over cable – though most NICs support MDI-X now, so you can just use a regular cable)? Set up a HOSTS file entry on the web application server so that it knows how to get to the DC. No second NIC and more than one dev will need access at a time. If I can get it to work then I can replicate it for the testers too. ** ** Alternatively, get rid of the DC. Install ADAM/AD LDS (or some other LDAP server). Import a selection of your directory structure/objects into that. Then you won’t have issues with replication, or exposing your Production AD on a test network. ** I tried ADAM but it doesn't seem to understand security groups, which are needed, and also had a look at Microsoft's AD-like ADAM schema but it too has limitations. -- Thanks, noonie ** Cheers Ken ** ** *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *noonie *Sent:* Monday, 6 February 2012 5:11 PM *To:* ozDotNet *Subject:* Re: [ot] Port Forwarding LDAP ** ** Meski, ** ** Similar, but not the same, so I can get away with it ;-) ** ** A few years ago we had a senior DBA who set up a two pc virtual network with domain controllers and sql server vms, to try out some new stuff in sql server. I warned him not to let the network escape and he agreed. ** ** About a week later our network security folks were asking pointed questions about why this unknown machine was handing out ip addresses in another state. ** ** He was using bridged virtual adapters... ** ** -- noonie On 6 February 2012 17:12, mike smith meski...@gmail.com wrote: On Mon, Feb 6, 2012 at 5:07 PM, noonie neale.n...@gmail.com wrote: David, Bridging is prohibited. If I could get the hardware I'd stick it behind a real router :-( Isn't port forwarding a similar thing? If you explained it to whoever's prohibiting bridging, they'd probably prohibit fwding too. -- 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] Port Forwarding LDAP
Thanks Ken, It's not really a user issue, it's that more than one developer needs to access the LDAP store whilst debugging their code. I've been given the VM setup because it is a copy of the target production environment and anything else is just an approximation. I'll look again at customising the ADAM schema if I can't get port-forwarding to work in a reasonable amount of wasted time. I don't own the environment here. We don't have separate dev test domains and there's a limit to what I'm allowed to do. -- Regards, noonie On 6 February 2012 22:05, Ken Schaefer k...@adopenstatic.com wrote: ** ** *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *noonie *Sent:* Monday, 6 February 2012 6:01 PM *To:* ozDotNet *Subject:* Re: [ot] Port Forwarding LDAP ** ** On 6 February 2012 20:26, Ken Schaefer k...@adopenstatic.com wrote: ** ** Is there a second NIC in the server hosting the web application? If so, can you use a direct connection (aka cross-over cable – though most NICs support MDI-X now, so you can just use a regular cable)? Set up a HOSTS file entry on the web application server so that it knows how to get to the DC. ** ** No second NIC and more than one dev will need access at a time. If I can get it to work then I can replicate it for the testers too. ** ** The web application would be accessible via NIC1 – which all your users have access to. It just accesses the LDAP store via NIC2. Your users don’t need to direct access to the DC do they? Alternatively, get rid of the DC. Install ADAM/AD LDS (or some other LDAP server). Import a selection of your directory structure/objects into that. Then you won’t have issues with replication, or exposing your Production AD on a test network. I tried ADAM but it doesn't seem to understand security groups, which are needed, and also had a look at Microsoft's AD-like ADAM schema but it too has limitations. ** ** Aren’t you just doing LDAP lookups? ADAM supports groups. What are the schema limitations? You can extend the ADAM/AD LDS schema IIRC Lastly, you could just setup your own DC and import some data. ** ** Cheers Ken ** ** ** ** Cheers Ken *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *noonie *Sent:* Monday, 6 February 2012 5:11 PM *To:* ozDotNet *Subject:* Re: [ot] Port Forwarding LDAP Meski, Similar, but not the same, so I can get away with it ;-) A few years ago we had a senior DBA who set up a two pc virtual network with domain controllers and sql server vms, to try out some new stuff in sql server. I warned him not to let the network escape and he agreed. About a week later our network security folks were asking pointed questions about why this unknown machine was handing out ip addresses in another state. He was using bridged virtual adapters... -- noonie On 6 February 2012 17:12, mike smith meski...@gmail.com wrote: On Mon, Feb 6, 2012 at 5:07 PM, noonie neale.n...@gmail.com wrote: David, Bridging is prohibited. If I could get the hardware I'd stick it behind a real router :-( Isn't port forwarding a similar thing? If you explained it to whoever's prohibiting bridging, they'd probably prohibit fwding too. -- 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] Port Forwarding LDAP
Just in case anyone is interested in the resolution of this question... I found a small app, with source code, called portforward http://www.quantumg.net/portforward.phpand it seems to be working fine. -- noonie On 6 February 2012 16:57, noonie neale.n...@gmail.com wrote: Greetings, We have created a web-based user management system that works with Active Directory however the development time has been greatly increased by not having a local environment to develop and test against. I have managed to get a copy of the remote domain brought into our network with he following config:- Windows XP workstation (on our domain) hosting Microsoft Virtual Server containing Windows Server™ 2003 Service Pack 2 as the guest O/S. The guest is configured as a domain controller and contains a close copy of the remote AD. The guest O/S is configured to use the host loop-back network adapter and is completely isolated from the host's domain. What I want to do is be able to configure the application under development to use LDAP connections and point them at the replica domain controller. The fact that this is hosted on XP is giving me a headache but this configuration is not open for negotiation. I assume that I need a port forwarding solution but XP doesn't appear to have one built in and Fpipe, which works fine for port 8080 -- 80 mapping appears to choke when I connect using an LDAP browser (ADAM ADSI Edit) mapping 1389 -- 389. I can connect and display the schema root but drilling into the directory returns errors at the client and logs errors in the Fpipe command window. I suspect that I've just chosen the wrong tool to do the forwarding. Has anyone had any success with this type of configuration and what recommendations do you guys have for port forwarding/mapping utilities that will work for me on XP? -- Regards, noonie
Re: [OT] Sample projects for 'testing' Reaction Time
Greetings, These types of games are really testing more than reaction time (pattern recognition, spatial and trajectory analysis) and although we may assume that those cognitive abilities remain the same for an individual, in the short to medium term, you can get better at it with practice. If you're just testing reaction time then push the button when you see the light has it all over the others... But is nowhere near as much fun ;-( If you're testing motor skills then a test of precision may be better. How about a computer version of the old skill testers that involved a wiggly wire and a loop with a bell and, optionally, a mild electric shock ;-) -- Regards, noonie On 17 February 2012 11:05, Bec Carter bec.usern...@gmail.com wrote: On Fri, Feb 17, 2012 at 1:00 AM, Les Hughes l...@datarev.com.au wrote: Ian Thomas wrote: An OT “project” of mine. A friend has Parkinson’s disease, and is getting the jitters. He was a senior manager in a major IT corporation (he is not a programmer, did some FORTRAN for his MSc, years ago – but he’s smart enough). About a year ago wrote for himself a simple reaction time (mouse response to some cue appearing on screen) in MS Excel (VBA), but he would like to do some .NET programming, and also write something more appropriate for his condition. I have seen a few things on CodeProject that might be adaptable, but most are too elaborate (games, which assume super-quick reaction time but also are too involved in terms of story line, graphics, etc). Over time, I would be grateful if anyone on the list can just post a URL that I can have a look at. I’ve got him working with VS2008 Express, but might need to use a more capable / more recent IDE. (Those of you who are aware of tests for behavioural neuroscience may know that this is a reasonably involved area of research and testing, *but* is also a very fertile area for internet money-raking, by individuals whose ethical behaviour is similar to those advertising p3nis enlargement!) Thanks – it would be good to get a few tips. Ian Thomas Victoria Park, Western Australia Hi Ian, Just an idea which came to me, not sure if it is much use (at least in the short term), but it seems like a game similar to tetris (maybe even a simpler version with only 3 or 4 shapes) might be good for testing reaction times. You can graph the average response time from when a shape appears to where it is placed, and see how it goes as the game gets faster. Obviously this will not give good results after one game (because reaction times will also depend on what shapes you have at the bottom and ability to problem solve), but I think the data gained over the longer term can show trends and averages/etc. Also maybe a game that shows you three images, where two are the same and one is different, and using left, down, right on the arrowpad you need to select the one that doesn't match. You could once again keep the data and graph this over the long term. Even Pong could be used this way I guess Anyway, good luck, and I'd be interested to here any progress. -- Les Hughes l...@datarev.com.au
Re: [ot] Port Forwarding LDAP
Greetings, Although *portforward* worked it won't run as a service and won't automatically load its configuration. Although the source code was available I was not prepared to learn just enough C to customise it. I finally stumbled across some good advice that was be applicable to our environment. http://www.aftershell.com/2011/11/05/port-forwarding-as-a-windows-service/ The *netsh* commands can proxy ports using the *portproxy *interface and once configured the proxied ports persist between reboots. For our Windows XP host:- 1. Ensure that Microsoft's IPV6 Protocol is installed on the network adapter. http://support.microsoft.com/kb/555744 2. To forward connections from port 1389 on the host to the default AD LDAP Port on the guest run the following at the command prompt:- netsh interface portproxy add v4tov4 listenport=1389 connectaddress=10.0.0.10 connectport=389 3. Modify the XP Firewall settings to allow external connections to port 1389 4. Wonder why it was so hard in the firat place :-/ -- Regards, noonie On 8 February 2012 07:37, noonie neale.n...@gmail.com wrote: Just in case anyone is interested in the resolution of this question... I found a small app, with source code, called portforward http://www.quantumg.net/portforward.phpand it seems to be working fine. -- noonie On 6 February 2012 16:57, noonie neale.n...@gmail.com wrote: Greetings, We have created a web-based user management system that works with Active Directory however the development time has been greatly increased by not having a local environment to develop and test against. I have managed to get a copy of the remote domain brought into our network with he following config:- Windows XP workstation (on our domain) hosting Microsoft Virtual Server containing Windows Server™ 2003 Service Pack 2 as the guest O/S. The guest is configured as a domain controller and contains a close copy of the remote AD. The guest O/S is configured to use the host loop-back network adapter and is completely isolated from the host's domain. What I want to do is be able to configure the application under development to use LDAP connections and point them at the replica domain controller. The fact that this is hosted on XP is giving me a headache but this configuration is not open for negotiation. I assume that I need a port forwarding solution but XP doesn't appear to have one built in and Fpipe, which works fine for port 8080 -- 80 mapping appears to choke when I connect using an LDAP browser (ADAM ADSI Edit) mapping 1389 -- 389. I can connect and display the schema root but drilling into the directory returns errors at the client and logs errors in the Fpipe command window. I suspect that I've just chosen the wrong tool to do the forwarding. Has anyone had any success with this type of configuration and what recommendations do you guys have for port forwarding/mapping utilities that will work for me on XP? -- Regards, noonie
Re: Users who compulsively highlight or click text as they read it - are you out there?
Quick Google search only revealed this straw poll on whirlpool... http://forums.whirlpool.net.au/archive/803426 -- nonie (mobile) On Apr 16, 2012 6:13 PM, Joseph Clark jcl...@atlassian.com wrote: Hi list! This is a bit of an odd request, but I'm yet to find the right incantation of search phrases that will yield results from the Internet - hopefully you can help! There is a certain subset of computer users who, when reading text on the screen, compulsively click or highlight text that they are reading on the screen (I am one of them!). I didn't even know I was doing it until someone pointed it out to me whilst I was pairing with them a few years ago. One of our in-house products recently shipped a new milestone version internally with a new feature when viewing issues that allows you to instantly edit the content of the fields on the screen simply by simply clicking on them (turning the plain HTML into editable form controls on-the-fly). This is pretty neat, but as a serial text-clicker, this feature is downright infuriating. I was happy to put this down as either a little personality quirk of my own, or merely some indication that I may be insane, but a quick straw poll of those nearby finds at least 3 other people who have the same behaviour, or some variant (one guy says he clicks on browser windows a lot as a muscle-memory thing to ensure the right browser window has focus). I'm trying to describe to the other team why this new feature sucks for some people, but I have no idea if that some people is one in ten users, or one in one million. Have searched a bit online for information about this, but I don't really know what to search for. Does this user behaviour have a name? Are there other people like me out there (hello? hello?)? Any literature around on whether or not its a great idea to bind functionality to an innocuous user-action like text-selection or clicking in an apparently non-clickable area? Cheers! Joe.
Re: Windows 8 and the Start Button
Not yet... but getting closer. It is sad that it's taken too long :-( On Oct 4, 2012 4:50 PM, David Richards ausdot...@davidsuniverse.com wrote: On 4 October 2012 15:51, Stephen Price step...@perthprojects.com wrote: Eventually, they won't have a choice. :) Linux *awkward silence* David If we can hit that bullseye, the rest of the dominoes will fall like a house of cards... checkmate! -Zapp Brannigan, Futurama
[OT] Basic authentication fails when credentials are pasted with the mouse
Greetings, We've come across an annoying bug that appears to be in Internet Explorer 8 9 on Windows 7. If a user accesses a web site that uses basic auth and they copy their login and or password into the Windows Security dialog, then paste the value using their right mouse button, the authentication fails. Checking the headers reveals that, depending on what was pasted (either login or password), the basic auth header is either missing, incomplete or corrupted. Interestingly if Ctl-V is used for the paste then everything's fine. I can find very little information about this online. Although there is a discussion at http://social.technet.microsoft.com/Forums/en-US/w7itprosecurity/thread/80f59d82-84ca-4d87-93d4-dacc61f46a3f/ there's no indication that this has been acknowledged as a bug by Microsoft or that they're doing anything about it. Has anyone stumbled across this or knows more from a Microsoft perspective? I've also had a report from one user that this is also a problem when using Windows Explorer to access a protected share but I've yet to confirm this for myself. -- Regards, noonie P.S. As to why would a user would copy and past their password... probably because we force them to use complex un-rememberable passwords :-(
Re: [OT] Basic authentication fails when credentials are pasted with the mouse
Thanks Wallace, I don't think it's a feature as the user would be prevented from pasting in the first place. Here the user is only allowed to paste successfully when they make the correct magic incantation! -- Regards, noonie On 9 November 2012 10:19, Wallace Turner wallacetur...@gmail.com wrote: Without knowing anything about it, I suspect that is rated as a 'feature' and not a fault... similar thing occurs for remote desktop whereby you cant cut/paste the password in (this is bypassed by using mRemote) On 9/11/2012 5:29 AM, noonie wrote: Greetings, We've come across an annoying bug that appears to be in Internet Explorer 8 9 on Windows 7. If a user accesses a web site that uses basic auth and they copy their login and or password into the Windows Security dialog, then paste the value using their right mouse button, the authentication fails. Checking the headers reveals that, depending on what was pasted (either login or password), the basic auth header is either missing, incomplete or corrupted. Interestingly if Ctl-V is used for the paste then everything's fine. I can find very little information about this online. Although there is a discussion at http://social.technet.**microsoft.com/Forums/en-US/** w7itprosecurity/thread/**80f59d82-84ca-4d87-93d4-**dacc61f46a3f/http://social.technet.microsoft.com/Forums/en-US/w7itprosecurity/thread/80f59d82-84ca-4d87-93d4-dacc61f46a3f/there's no indication that this has been acknowledged as a bug by Microsoft or that they're doing anything about it. Has anyone stumbled across this or knows more from a Microsoft perspective? I've also had a report from one user that this is also a problem when using Windows Explorer to access a protected share but I've yet to confirm this for myself. -- Regards, noonie P.S. As to why would a user would copy and past their password... probably because we force them to use complex un-rememberable passwords :-(
Re: [OT] Conroy faces reality: Government gives up plan for Internet filter
Hmmm... That was also my memory of the timeline... Maybe my memory is faulty or history has been rewritten (or is being rewritten) by the politicians. -- Regards, noonie On 9 November 2012 14:28, Ian Thomas il.tho...@iinet.net.au wrote: http://www.arnnet.com.au/article/print/441505/government_gives_up_plan_internet_filter/ *The federal government will use its powers under the Telecommunications Act to block hundreds of child abuse websites already identified by Interpol, Fairfax reports.* *Communications Minister Stephen Conroy said blocking these websites met community expectations and fulfils the government's commitment to preventing Australian internet users from accessing child abuse material online.* *Given this successful outcome, the government has no need to proceed with mandatory filtering legislation, he said.* *Kevin Rudd promised to introduce an internet filter when Labor won office at the 2007 election, but it was always a controversial policy.* ** ** I had always assumed that implementing an internet filter was Conroy’s own idea. He wouldn’t listen to any technology arguments against it. -- **Ian Thomas** Victoria Park, Western Australia
Re: [OT] Basic authentication fails when credentials are pasted with the mouse
I haven't downloaded Windows 8 yet and can't check this on IE 10. If anyone has IE 10 and can check if it also has this problem I might be able to file a bug report on the IE 10 feedback site and include the information that it applies to IE 8 9 too. I suspect that this is actually a Windows 7 issue, underneath, and may not surface on Windows 8 at all. -- Regards, noonie On 9 November 2012 10:43, noonie neale.n...@gmail.com wrote: Thanks Wallace, I don't think it's a feature as the user would be prevented from pasting in the first place. Here the user is only allowed to paste successfully when they make the correct magic incantation! -- Regards, noonie On 9 November 2012 10:19, Wallace Turner wallacetur...@gmail.com wrote: Without knowing anything about it, I suspect that is rated as a 'feature' and not a fault... similar thing occurs for remote desktop whereby you cant cut/paste the password in (this is bypassed by using mRemote) On 9/11/2012 5:29 AM, noonie wrote: Greetings, We've come across an annoying bug that appears to be in Internet Explorer 8 9 on Windows 7. If a user accesses a web site that uses basic auth and they copy their login and or password into the Windows Security dialog, then paste the value using their right mouse button, the authentication fails. Checking the headers reveals that, depending on what was pasted (either login or password), the basic auth header is either missing, incomplete or corrupted. Interestingly if Ctl-V is used for the paste then everything's fine. I can find very little information about this online. Although there is a discussion at http://social.technet.**microsoft.com/Forums/en-US/** w7itprosecurity/thread/**80f59d82-84ca-4d87-93d4-**dacc61f46a3f/http://social.technet.microsoft.com/Forums/en-US/w7itprosecurity/thread/80f59d82-84ca-4d87-93d4-dacc61f46a3f/there's no indication that this has been acknowledged as a bug by Microsoft or that they're doing anything about it. Has anyone stumbled across this or knows more from a Microsoft perspective? I've also had a report from one user that this is also a problem when using Windows Explorer to access a protected share but I've yet to confirm this for myself. -- Regards, noonie P.S. As to why would a user would copy and past their password... probably because we force them to use complex un-rememberable passwords :-(
Re: [OT] Basic authentication fails when credentials are pasted with the mouse
Mike, Not being able to parse at all would be preferable :-P -- Regards, noonie On Nov 12, 2012 11:27 AM, mike smith meski...@gmail.com wrote: I'd suspect that their fix would be to prevent it working even with ctrl-v Having a password in the clipboard is not that secure. There are a few clipboard stack / savers that cache this to disk. On Fri, Nov 9, 2012 at 2:55 PM, noonie neale.n...@gmail.com wrote: I haven't downloaded Windows 8 yet and can't check this on IE 10. If anyone has IE 10 and can check if it also has this problem I might be able to file a bug report on the IE 10 feedback site and include the information that it applies to IE 8 9 too. I suspect that this is actually a Windows 7 issue, underneath, and may not surface on Windows 8 at all. -- Regards, noonie On 9 November 2012 10:43, noonie neale.n...@gmail.com wrote: Thanks Wallace, I don't think it's a feature as the user would be prevented from pasting in the first place. Here the user is only allowed to paste successfully when they make the correct magic incantation! -- Regards, noonie On 9 November 2012 10:19, Wallace Turner wallacetur...@gmail.comwrote: Without knowing anything about it, I suspect that is rated as a 'feature' and not a fault... similar thing occurs for remote desktop whereby you cant cut/paste the password in (this is bypassed by using mRemote) On 9/11/2012 5:29 AM, noonie wrote: Greetings, We've come across an annoying bug that appears to be in Internet Explorer 8 9 on Windows 7. If a user accesses a web site that uses basic auth and they copy their login and or password into the Windows Security dialog, then paste the value using their right mouse button, the authentication fails. Checking the headers reveals that, depending on what was pasted (either login or password), the basic auth header is either missing, incomplete or corrupted. Interestingly if Ctl-V is used for the paste then everything's fine. I can find very little information about this online. Although there is a discussion at http://social.technet.**microsoft.com/Forums/en-US/ **w7itprosecurity/thread/**80f59d82-84ca-4d87-93d4-**dacc61f46a3f/http://social.technet.microsoft.com/Forums/en-US/w7itprosecurity/thread/80f59d82-84ca-4d87-93d4-dacc61f46a3f/there's no indication that this has been acknowledged as a bug by Microsoft or that they're doing anything about it. Has anyone stumbled across this or knows more from a Microsoft perspective? I've also had a report from one user that this is also a problem when using Windows Explorer to access a protected share but I've yet to confirm this for myself. -- Regards, noonie P.S. As to why would a user would copy and past their password... probably because we force them to use complex un-rememberable passwords :-( -- 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] Basic authentication fails when credentials are pasted with the mouse
Parse = Paste On Nov 12, 2012 5:12 PM, noonie neale.n...@gmail.com wrote: Mike, Not being able to parse at all would be preferable :-P -- Regards, noonie On Nov 12, 2012 11:27 AM, mike smith meski...@gmail.com wrote: I'd suspect that their fix would be to prevent it working even with ctrl-v Having a password in the clipboard is not that secure. There are a few clipboard stack / savers that cache this to disk. On Fri, Nov 9, 2012 at 2:55 PM, noonie neale.n...@gmail.com wrote: I haven't downloaded Windows 8 yet and can't check this on IE 10. If anyone has IE 10 and can check if it also has this problem I might be able to file a bug report on the IE 10 feedback site and include the information that it applies to IE 8 9 too. I suspect that this is actually a Windows 7 issue, underneath, and may not surface on Windows 8 at all. -- Regards, noonie On 9 November 2012 10:43, noonie neale.n...@gmail.com wrote: Thanks Wallace, I don't think it's a feature as the user would be prevented from pasting in the first place. Here the user is only allowed to paste successfully when they make the correct magic incantation! -- Regards, noonie On 9 November 2012 10:19, Wallace Turner wallacetur...@gmail.comwrote: Without knowing anything about it, I suspect that is rated as a 'feature' and not a fault... similar thing occurs for remote desktop whereby you cant cut/paste the password in (this is bypassed by using mRemote) On 9/11/2012 5:29 AM, noonie wrote: Greetings, We've come across an annoying bug that appears to be in Internet Explorer 8 9 on Windows 7. If a user accesses a web site that uses basic auth and they copy their login and or password into the Windows Security dialog, then paste the value using their right mouse button, the authentication fails. Checking the headers reveals that, depending on what was pasted (either login or password), the basic auth header is either missing, incomplete or corrupted. Interestingly if Ctl-V is used for the paste then everything's fine. I can find very little information about this online. Although there is a discussion at http://social.technet.** microsoft.com/Forums/en-US/**w7itprosecurity/thread/** 80f59d82-84ca-4d87-93d4-**dacc61f46a3f/http://social.technet.microsoft.com/Forums/en-US/w7itprosecurity/thread/80f59d82-84ca-4d87-93d4-dacc61f46a3f/there's no indication that this has been acknowledged as a bug by Microsoft or that they're doing anything about it. Has anyone stumbled across this or knows more from a Microsoft perspective? I've also had a report from one user that this is also a problem when using Windows Explorer to access a protected share but I've yet to confirm this for myself. -- Regards, noonie P.S. As to why would a user would copy and past their password... probably because we force them to use complex un-rememberable passwords :-( -- 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: Managing databases
Greetings Stuart, We use Visual Studio database projects and generate change scripts from database compare. Please take the time to look at the SSDT package available for VS 2010 (Default for VS 2012). As for managing compatibility, with application versions, we've yet to find an ideal solution... but we're still looking :-) -- Regards, noonie On 18 December 2012 10:36, Stuart Kinnear stu...@skproactive.com wrote: I guess this is an age old problem, managing database changes such that they respect applications dependent on them. We are bolting more applications to a couple of sql databases so the management exercise is becoming more complex, risky and expensive to maintain. Currently we have a database version number, use schema naming for application specific views and procedures and have a folder of each change in sequential order that has to be applied to production. Over the holiday break I thought I might research how we can improve our approach. What systems have you or your organisations adopted to keep it all under control , and are they successful? -- - Stuart Kinnear Mobile: 040 704 5686. Office: 03 9589 6502 SK Pro-Active! Pty Ltd acn. 81 072 778 262 PO Box 6117 Cromer, Vic 3193. Australia Business software developers. SQL Server, Visual Basic, C# , Asp.Net, Microsoft Office. -
Move documentation from one TFS Project Portal to another
Greetings, I posted in OzTFS yesterday but it's awfully quiet in there... I have a request from the business to move* some version controlled documents (not source code) from one project to another. We are using Microsoft Visual Studio 2008 Team System and Web Access SP1 and I can't seem to find any references to doing this online. * Move means shift them from one project (portal) to another and KEEP the history! Is this possible? Where do I look? -- Regards, noonie
Recommendations for TFS 2012 Training in Canberra
Greetings, Can anyone recommend TFS 2012 training in Canberra? I'm particularly Interested in Upgrade/Migration from 2008 and setup administration. -- Regards, noonie
Microsoft Web farm Framework Training in Canberra
Greetings, I'm looking for a course, preferably at our site, for training in Microsoft's Web Farm Framework. Particularly set-up, administration and writing applications that play nicely in that environment. I estimate that there would be six participants with a mix of web admins and .net developers. Any recommendations? -- Regards, noonie
Re: Microsoft Web farm Framework Training in Canberra
Greetings, I have found this course:- http://pluralsight.com/training/Courses/Description/web-farms Anyone done this one? What's the general feeling on the Pluralsight training model in this community? -- Regards, noonie On 18 March 2014 09:15, noonie neale.n...@gmail.com wrote: Greetings, I'm looking for a course, preferably at our site, for training in Microsoft's Web Farm Framework. Particularly set-up, administration and writing applications that play nicely in that environment. I estimate that there would be six participants with a mix of web admins and .net developers. Any recommendations? -- Regards, noonie
Re: RDP issue
One possibility is your power profile. Laptops generally default to turning off peripherals to save power. Check the nic and see if it is set to Allow Windows to turn off this device. Just a thought. -- noonie On 19/04/2014 11:53 AM, Stephen Price step...@perthprojects.com wrote: Hey all, I'm using RDP to connect to my laptop (and use multiple monitors) and I have a strange issue where when I first try to connect it gives me a message showing the machine is not available. This happens if I am logged out. I've set services that seem appropriate to start automatically but no go. The weird part is if I use teamviewer to connect to the laptop, log in, then I can successfully RDP in. I thought I'd connect and check what services were running remotely using the services mmc and it wouldn't let me connect but then my RDP worked. Perhaps there's a service I missed but if anyone has come across this before, love to hear. cheers, Stephen
[OT] Copy Paste from protected Web page
Greetings, I'm trying to figure out an issue that a user has reported. When they copy text from a Web page into Microsoft Word they are prompted for credentials on one site but not on another, similarly configured, site. Both sites are basic auth over https and both are ASP.net apps with very minor differences. The major differences are in their proxy configurations. I can understand why credentials are required but not why they seem to be automatically offered in one case but not in the other. Where can I find some documentation about how Windows and Office conspire together to grab CSS files so Word can decide what text formatting to offer? -- Regards, noonie
Re: [OT] Copy Paste from protected Web page
Thanks David, I'll look into those areas to try to find where the two apps differ. -- noonie On 19 May 2014 18:27, David Rhys Jones djones...@gmail.com wrote: is caching enabled for the Css in the server. [OutputCaching] does the server have the permissions set to allow all in the machine / server config. Add a web config into your css directory as mentioned here: https://stackoverflow.com/questions/4375208/web-config-wildcards-in-location-and-authorization Davy Davy, So you want to keep data which is local, only ever going to be local, only needed locally, never accessed remotely, not WANTED to be made available outside our building, which can only WEAKEN our security by being off site, hosted offsite. BOFH: Simon Travaglia On Mon, May 19, 2014 at 10:19 AM, noonie neale.n...@gmail.com wrote: Greetings, I'm trying to figure out an issue that a user has reported. When they copy text from a Web page into Microsoft Word they are prompted for credentials on one site but not on another, similarly configured, site. Both sites are basic auth over https and both are ASP.net apps with very minor differences. The major differences are in their proxy configurations. I can understand why credentials are required but not why they seem to be automatically offered in one case but not in the other. Where can I find some documentation about how Windows and Office conspire together to grab CSS files so Word can decide what text formatting to offer? -- Regards, noonie
Re: [OT] Copy Paste from protected Web page
Probably not IE as the user agent string is slightly different ending in MSOffice 12 which indicates Outlook or Word. It identifies itself as an earlier version of IE tahn the version installed as the browser. -- noonie On 19 May 2014 19:22, anthonyatsmall...@mail.com wrote: I would assume word is using the IE to grad the urls, hence if you have logged into the website using IE, then word may be aware of this? Just my suggestion…not sure how true it is! *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *noonie *Sent:* Monday, 19 May 2014 6:20 PM *To:* ozDotNet *Subject:* [OT] Copy Paste from protected Web page Greetings, I'm trying to figure out an issue that a user has reported. When they copy text from a Web page into Microsoft Word they are prompted for credentials on one site but not on another, similarly configured, site. Both sites are basic auth over https and both are ASP.net apps with very minor differences. The major differences are in their proxy configurations. I can understand why credentials are required but not why they seem to be automatically offered in one case but not in the other. Where can I find some documentation about how Windows and Office conspire together to grab CSS files so Word can decide what text formatting to offer? -- Regards, noonie
Re: [OT] Copy Paste from protected Web page
Thanks Ken, IE and Chrome behave differently and, as the clipboard is involved here, things get even murkier. We're warming up WireShark as I write ;-) -- noonie On 20 May 2014 13:48, Ken Schaefer k...@adopenstatic.com wrote: I’d start by finding out whether the challenge is coming from the proxy server or not. Packet capture on the proxy server can probably help you here, as it should show what the proxy server is doing vs. what is coming directly from the web server. Cheers Ken *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *noonie *Sent:* Tuesday, 20 May 2014 8:22 AM *To:* ozDotNet *Subject:* Re: [OT] Copy Paste from protected Web page Probably not IE as the user agent string is slightly different ending in MSOffice 12 which indicates Outlook or Word. It identifies itself as an earlier version of IE tahn the version installed as the browser. -- noonie On 19 May 2014 19:22, anthonyatsmall...@mail.com wrote: I would assume word is using the IE to grad the urls, hence if you have logged into the website using IE, then word may be aware of this? Just my suggestion…not sure how true it is! *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *noonie *Sent:* Monday, 19 May 2014 6:20 PM *To:* ozDotNet *Subject:* [OT] Copy Paste from protected Web page Greetings, I'm trying to figure out an issue that a user has reported. When they copy text from a Web page into Microsoft Word they are prompted for credentials on one site but not on another, similarly configured, site. Both sites are basic auth over https and both are ASP.net apps with very minor differences. The major differences are in their proxy configurations. I can understand why credentials are required but not why they seem to be automatically offered in one case but not in the other. Where can I find some documentation about how Windows and Office conspire together to grab CSS files so Word can decide what text formatting to offer? -- Regards, noonie
RE: [OT] Copy Paste from protected Web page
Ken, Different browsers different behaviours and now I know why. Different sites may be different user behaviours and I suspect I know why. Now all I have to figure out is how to make it go away because, fundamentally, that's all that users want ;-) -- noonie On 21/05/2014 3:54 PM, Ken Schaefer k...@adopenstatic.com wrote: So you’re using different browsers to access the different sites? What if you swap the browsers around? Does the behaviour follow the browser? Or stay with the website? That will probably give you a clue as to whether it’s a browser, proxy or website issue. Cheers Ken *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *noonie *Sent:* Wednesday, 21 May 2014 3:29 PM *To:* ozDotNet *Subject:* Re: [OT] Copy Paste from protected Web page Thanks Ken, IE and Chrome behave differently and, as the clipboard is involved here, things get even murkier. We're warming up WireShark as I write ;-) -- noonie On 20 May 2014 13:48, Ken Schaefer k...@adopenstatic.com wrote: I’d start by finding out whether the challenge is coming from the proxy server or not. Packet capture on the proxy server can probably help you here, as it should show what the proxy server is doing vs. what is coming directly from the web server. Cheers Ken *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *noonie *Sent:* Tuesday, 20 May 2014 8:22 AM *To:* ozDotNet *Subject:* Re: [OT] Copy Paste from protected Web page Probably not IE as the user agent string is slightly different ending in MSOffice 12 which indicates Outlook or Word. It identifies itself as an earlier version of IE tahn the version installed as the browser. -- noonie On 19 May 2014 19:22, anthonyatsmall...@mail.com wrote: I would assume word is using the IE to grad the urls, hence if you have logged into the website using IE, then word may be aware of this? Just my suggestion…not sure how true it is! *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *noonie *Sent:* Monday, 19 May 2014 6:20 PM *To:* ozDotNet *Subject:* [OT] Copy Paste from protected Web page Greetings, I'm trying to figure out an issue that a user has reported. When they copy text from a Web page into Microsoft Word they are prompted for credentials on one site but not on another, similarly configured, site. Both sites are basic auth over https and both are ASP.net apps with very minor differences. The major differences are in their proxy configurations. I can understand why credentials are required but not why they seem to be automatically offered in one case but not in the other. Where can I find some documentation about how Windows and Office conspire together to grab CSS files so Word can decide what text formatting to offer? -- Regards, noonie
Controlling cache-control response headers for ASP.Net applications
Greetings, I find that I'm not happy with the default cache control headers provided by my web application and would like to explicitly declare the following rules:- Static content:- expire in three days ASPX pages:- expire some immediately and some in three days AXD responses:- expire in three days I'd like to control these declaratively in one place in my application and have followed up on lots of promising leads but all I get is more confused :-( Static content I can set in web.config and I'm happy that I can control that. ASPX reliably gets a Private cache location and no expiry so I can live with them all, effectively, expiring immediately (but I don't like it). I don't seem to be able to change the cache-control response headers for any of the AXD calls and I'm not happy with these expiring in a YEAR. Fiddling with the caching profiles (in web.config) sometimes adds duplicate, and/or conflicting, headers that only goes to show that I don't properly understand what's going on. Furthermore MSDN pages are very helpful with how to set various config values but they don't help at all for someone trying to understand the actual effects. Does anyone know a resource that I can read which actually explains what I need to do to take control of these headers? I'm seeking understanding rather than a recipe and If I have to use Fiddler and a process of trial and error I will, but I'd rather understand my options before I start that painful process. -- Regards, noonie
Enumerate user rights from Group Policy
Greetings, Before I give up on this I thought I'd ask the brains-trust :-) Problem: Two service accounts in different domains to support the same application require identical rights and privileges. After deployment one works and the other doesn't. It is suspected that one of the rights assigned through group Policy in each domain is different. Idea: Create an application that will take a user as an input and will go through the process of listing all the groups that the users is a member of and what rights and privileges the user gets from each group membership. Roadblock: Damned if I can find a dot Net library that will let me enumerate the rights and privileges for a domain entity. I'm looking for things like Log on Locally (SeInteractiveLogonRight) and his friends. My Google-fu has failed me :-( Although there is some suggestion that this is not possible and the poor server administrator will need to do it all through disparate GUI interfaces making manual notes as they go along. Anyone done this or knows what classes I need to look at? -- Regards, noonie P.S. the original problem was solved by the server admin going through the GUI interfaces and taking manual notes ;-)
Re: Enumerate user rights from Group Policy
Thanks Ken, I'll have a play with *accesschk :-)* On 31 July 2014 11:56, Ken Schaefer k...@adopenstatic.com wrote: http://technet.microsoft.com/en-us/sysinternals/bb664922 is a fancier tool that can do something similar. *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Ken Schaefer *Sent:* Thursday, 31 July 2014 11:53 AM *To:* ozDotNet *Subject:* RE: Enumerate user rights from Group Policy Whoami.exe /priv? Cheers Ken *From:* ozdotnet-boun...@ozdotnet.com [ mailto:ozdotnet-boun...@ozdotnet.com ozdotnet-boun...@ozdotnet.com] *On Behalf Of *noonie *Sent:* Thursday, 31 July 2014 11:17 AM *To:* ozDotNet *Subject:* Enumerate user rights from Group Policy Greetings, Before I give up on this I thought I'd ask the brains-trust :-) Problem: Two service accounts in different domains to support the same application require identical rights and privileges. After deployment one works and the other doesn't. It is suspected that one of the rights assigned through group Policy in each domain is different. Idea: Create an application that will take a user as an input and will go through the process of listing all the groups that the users is a member of and what rights and privileges the user gets from each group membership. Roadblock: Damned if I can find a dot Net library that will let me enumerate the rights and privileges for a domain entity. I'm looking for things like Log on Locally (SeInteractiveLogonRight) and his friends. My Google-fu has failed me :-( Although there is some suggestion that this is not possible and the poor server administrator will need to do it all through disparate GUI interfaces making manual notes as they go along. Anyone done this or knows what classes I need to look at? -- Regards, noonie P.S. the original problem was solved by the server admin going through the GUI interfaces and taking manual notes ;-)
[OT] Windows SCHANNEL Protocol registry keys
Greetings, The recent Poodle issues and Microsoft's broken patch (MS14-006) have now made it necessary for me to actually understand secure connections to our web applications because it appears that when the user can't connect to a web server it is my web application that is broken :-^ For the life of me I can't find a single definitive source as to what the registry keys actually mean. There's plenty of do it this way instructions but I don't believe in magic so I want to understand what the effects of changing the keys are likely to be. There are tantalising fragments, of the information I want, at various web sites but I haven't found a good description anywhere yet. Does anybody know of a resource I can access that explains why certain key would be needed and what the effects of the different settings are likely to be? The keys I'm interested in live at:- HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\ And I've read a number of articles from various sites:- https://www.nartac.com/blog/post/2013/04/19/IIS-Crypto-Explained.aspx http://support2.microsoft.com/kb/2588513 http://www.dotnetnoob.com/2013/10/hardening-windows-server-20082012-and.html http://serverfault.com/questions/637195/is-there-any-reason-why-tls-1-1-and-1-2-are-disabled-on-windows-server-2008-r2 http://books.google.com.au/books?id=fQOLBAAAQBAJpg=PA448lpg=PA448dq=schannel+registry+keys+explainedsource=blots=sFcqPREgO9sig=SUGeh2vCMkCdLOCqGlitcEt2wTwhl=ensa=Xei=IOJrVK2gPISxmwWkloHICQved=0CD0Q6AEwBTgU#v=onepageq=schannel%20registry%20keys%20explainedf=false http://www.adminhorror.com/2011/10/enable-tls-11-and-tls-12-on-windows_1853.html http://support2.microsoft.com/default.aspx?scid=kb;EN-US;245030 If there is no reasonable reference documentation could someone please answer the following questions:- What is the the real effect of DisabledByDefault on both Server and Client sub-keys? Are there any nonsense combinations of keys or key values for DisabledByDefault and Enabled? When would I need to set both Server and Client Keys? Is it good practice to explicitly set all these keys or is it OK to rely on system defaults for keys that are absent? (I know half the answer to this one because although Windows Server 2008R2 supports TLS 1.1 1.2 it will only use them if they are explicitly enabled in this registry hive!) -- Regards, noonie
Re: [OT] Ultrabook for noob
Perhaps? http://www.dell.com/au/business/p/latitude-e7440-ultrabook/pd On 27 November 2014 at 09:18, Tom P tompbi...@gmail.com wrote: Stephen and Greg I couldn't even locate the E7440 on the Australian Dell site, found it on the US one though. Am I missing something? Dell site is confusing. Thanks Tom On 26 November 2014 at 19:17, Stephen Price step...@perthprojects.com wrote: Spec'd up the Dell E7440 and it seems expensive for the specs. Only let you put 8Gb RAM in them too. Did I miss something? $3974 for i7 with 8Gb RAM and 256Gb SSD. (and 5yr warranty). That's almost half as much again as my Surface pro 3 with similar specs. Or do they just charge more for the business laptops vs the consumer targeted ones? (like XPS) On Wed, Nov 26, 2014 at 3:26 PM, Greg Low (低格雷格) g...@greglow.com wrote: We’ve had a really good run with Dell E7440’s. We get them with quad core i7’s. Buy them with small memory and drive, and fit Crucial 16GB memory and 1TB SSDs. Been an awesome set of machines. Didn’t think I’d get used to the 14” screen after having a 17” but I’m surprisingly ok with it. I did have to kill off screen scaling in Win 8.X though, as I couldn’t live with it. 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 *Tom P *Sent:* Wednesday, 26 November 2014 2:51 PM *To:* ozDotNet *Subject:* Re: [OT] Ultrabook for noob 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
Re: SSL for ASP.NET MVC
Tom, You can ignore all that stuff as it should have nothing to do with your web application. It's a server thing when running behind IIS etc. and all the magic happens lower down the stack. -- noonie On 27/11/2014 4:20 pm, Tom P tompbi...@gmail.com wrote: Noob question here. How would I go about adding SSL to a MVC site? Is it simply a matter of turning a switch on in the server somewhere and the admins can do it or do things need to be done in code? I am reading a whole variety of ways such as adding attributes, filters, configuration settings, cookie properties, certificates and so on. Seems complicated. I was under the impression I could do without it in development and have it simply turned on once it goes live. Is this not the case? Thanks Tom
Re: SSL for ASP.NET MVC
Tom, It is something you can turn on later but you have to develop with a mindset for your eventual usage scenario. Develop locally without cert Frequently deploy to dev server that has cert Test in dev to make sure you don't introduce mixed secure/insecure content If the content can't be served directly from your secure site then consider alternative content that can If you must ensure secure connection then look at the http context object , I believe you can check secure connection state there If you're backing onto sql data store be mindful of sql injection attacks Always understand that, ultimately, your app might be deployed into an environment where the secure connection is terminated at a border device and the environment owners are comfortable with a http connection inside. Sorry about the formatting, I'm sending this from my mobile. -- noonie On 28/11/2014 3:41 pm, Tom P tompbi...@gmail.com wrote: Hi Joseph Just the fact that I'm not really up to speed on how this SSL business all works yet and didn't want to hold up development. I was curious to see if it was something that could be simply turned on later but seems like that's not the case. Sounds like I will be playing with SSL from the get-go as you say. Thanks Tom On 28 November 2014 at 13:34, Joseph Cooney joseph.coo...@gmail.com wrote: Rather than defer the change from HTTP to HTTPS to post development, what would the downside be to generating a self-signed certificate in IIS and using SSL from the get-go? Joseph On Fri, Nov 28, 2014 at 12:10 PM, Tom P tompbi...@gmail.com wrote: Thank you Glav and Michael. Lots of info here. Will spend some time on this to figure out what's going on, it's all over my head at the moment Thanks Tom On 28 November 2014 at 10:13, Paul Glavich subscripti...@theglavs.com wrote: External content can be tricky since you do not control whether its available via https so check on that. Additionally, don’t do something like script src=” http://somewhere/jquery.js” As when you go to SSL it will complain about loading insure content and fail. For the most part, using MVC and relative Url’s you should not have to worry about it. If you need to embed some externals, you can optionally use the “//” syntax which adopts the browsers scheme when loading them so script src=”//somewhere/jquery.js” Will equate to http://somewhere/jquery.js or https://somewhere/jquery.js depending on whether your site is using SSL or not. Also, if using forms auth, you can enforce your login to be SSL via authentication mode=Forms forms loginUrl=~/login timeout=2880 *requireSSL**=**true* / /authentication You could leave this out in development config but include in release config. There is also the [RequireSSL] attribute as well. See http://weblog.west-wind.com/posts/2014/Jun/18/A-dynamic-RequireSsl-Attribute-for-ASPNET-MVC -Glav *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Michael Ridland *Sent:* Friday, 28 November 2014 8:49 AM *To:* ozDotNet *Subject:* Re: SSL for ASP.NET MVC Hi Tom It can be more complicated than that, take a look at this. http://nickcraver.com/blog/2013/04/23/stackoverflow-com-the-road-to-ssl/ On Fri, Nov 28, 2014 at 8:40 AM, Tom P tompbi...@gmail.com wrote: Hi Noonie That sounds good. So it can be turned on later on if necessary. Is it necessary for me to demand SSL for LogIn type methods as those should definitely be secure in a live environment? It doesn't concern me while developing but it scares me to think the administrators may simply forget to turn on SSL and then LogIn details will float around not encrypted and the blame will find me somehow. Thanks Tom On 27 November 2014 at 20:35, noonie neale.n...@gmail.com wrote: Tom, You can ignore all that stuff as it should have nothing to do with your web application. It's a server thing when running behind IIS etc. and all the magic happens lower down the stack. -- noonie On 27/11/2014 4:20 pm, Tom P tompbi...@gmail.com wrote: Noob question here. How would I go about adding SSL to a MVC site? Is it simply a matter of turning a switch on in the server somewhere and the admins can do it or do things need to be done in code? I am reading a whole variety of ways such as adding attributes, filters, configuration settings, cookie properties, certificates and so on. Seems complicated. I was under the impression I could do without it in development and have it simply turned on once it goes live. Is this not the case? Thanks Tom -- w: http://jcooney.net t: @josephcooney
Re: [OT] Turning off outgoing mail possible?
Bec, The mail client might let you drag an email into sent items. Email is not guaranteed to be delivered. That's not part of the spec (though you might be able to interpret it that way). So they could have sent it and you still might receive it next week, or never... Isn't that just peachy? -- Regards, noonie On 28/11/2014 5:17 pm, Bec Carter bec.usern...@gmail.com wrote: Sorry everyone but this one is way way off topic. Someone claims to have sent me an email. I never received it- yes I checked the Junk folder :-) They've shown me their mailbox and its sitting in the Sent folder. Can someone with control of their web domain send an email, have it pop into the Sent items folder but not actually send? Say by somehow turning off (or providing a faulty) outgoing mail server setting or similar? Cheers
[OT] Spam filtering mail forwarder recommendations
Greetings, I am doing some site management for a non-profit community organisation and have come up against a bit of a brick wall. Whilst community group organisers want to be able to be contacted by email they are reluctant to allow mailto: links with their email address on the community site for spam reasons. On the other side of this wall are legitimate people who would like to easily contact a group organiser and I am reluctant to make them jump through a whole bunch of hoops just to confirm a date or location for a group meeting. I consider CAPTCHA, web form emails, address obfuscation and munging to be annoying hoops. What I need is an email forwarding service, of some kind, that has a very good spam filter and comes at a reasonable price. It should be able to:- 1. Filter SPAM on receipt but BEFORE moving email to folders 2. Forward filtered email to another email address 3. Allow multiple aliases so that it can be managed centrally 4. Have a white-list feature to deal with spammy but legitimate messages/senders 5. Provide email summary digests to admins so that false positives can be investigated I've looked into Gmail and their aliases are a bit unwieldy but could be used. I've also looked at Outlook.com but their maximum numbers of alias' restrictions make it untenable. Any suggestions or recommendations? -- Regards, noonie
Re: WCF service and https 404
You don't have another web site that's bound to port 443 do you? -- noonie On 21/04/2015 2:42 PM, Greg Keogh g...@mira.net wrote: Can you put a static resource such as an image or text file in the folder to ensure you can access that static resource via https. Yes, I can see https://www.orthogonal.net.au/rubyservice/setup.bmp okay, the svc file (Aggregation.svc) in the same location gives the 404. I'm still researching, but I might wait until tomorrow morning and ask my cat -- *Greg K*
Re: WCF service and https 404
Sounds like the apps not properly set up. This smacks of a missing default document as your URL is to a virtual folder. Doesn't explain that it works over http though :-( -- noonie On 21/04/2015 2:42 PM, Greg Keogh g...@mira.net wrote: Can you put a static resource such as an image or text file in the folder to ensure you can access that static resource via https. Yes, I can see https://www.orthogonal.net.au/rubyservice/setup.bmp okay, the svc file (Aggregation.svc) in the same location gives the 404. I'm still researching, but I might wait until tomorrow morning and ask my cat -- *Greg K*
Re: Last words on AngularJS
Greg, You said; I still want to use TypeScript to run the show, mainly because of the familiar IDE and its benefits. I'm going to spend more time today trying to find guidance about how to structure a reasonably serious TS project, and how to use jQuery from within. I'm very interested in your experiences in this endeavour as I want to use TS in an upcoming project, because it just feels right, and it's the project dependency structures in TFS that I'm concerned about. Could you please share with this list anything that you find interesting, if you have the time? -- noonie On 25 August 2015 at 08:58, Greg Keogh gfke...@gmail.com wrote: I just wish there were some JS standards. Imagine flying on Air JavaScript: you get to one of the dozens of airports on roads that have peeled off old roads to other airports, then there are 16 wildly different types of plane all claiming to get you to your destination somehow, some planes can't fly without being towed by other planes, some planes are still being assembled on the runways, some passengers have even brought their favourite pieces of plane with them to help build a new plane once they convince other passengers to join them. I still want to use TypeScript to run the show, mainly because of the familiar IDE and its benefits. I'm going to spend more time today trying to find guidance about how to structure a reasonably serious TS project, and how to use jQuery from within. Web searches do produce a few possibly useful results on this subject, but they all get tangled in dependencies on other JS libraries and I my eyes glaze over at the hurdle. *Greg*
Re: [OT] An administrator is needed to delete my desktop icons
Thomas, Have an administrator deny read access on "C:\Users\Public\Desktop" for your account and you won't see any of them. Not sure if there are any unusual side-effects for this :-) -- noonie On 31 January 2016 at 14:10, Thomas Koster <tkos...@gmail.com> wrote: > On 29 January 2016 at 17:24, Thomas Koster <tkos...@gmail.com> wrote: > > One of the machines I deploy to is maintained by an IT contractor. > > There is a lot of garbage on this machine, and every time they install > > some new garbage I get new icons on my desktop. > > > > I'm tired of looking at it, but when I try to delete these icons from > > *my* desktop, Windows tells me I need to be an administrator. > > > > What gives? Do I have to resort to sticking Post-its over them? > > > > (Windows Server 2008 R2, Remote Desktop Services) > > On 29 January 2016 at 17:31, David Kean <david.k...@microsoft.com> wrote: > > There are really two desktop folders. An "All Users" folder, and a > > "Current User" folder, these are merged together to form the desktop > > as you see it. > > > > You typically need admin rights to install/remove shortcuts from the > > All Users folder, that's what you are likely running into. > > Thanks David. I should have been more clear. What I really want to know > is, what can I do about it? I don't want to delete shortcuts from the > "All Users" directory because the other users may love them. I want to > delete/hide them from my own desktop only. (I appear to be one of a > small minority of Windows users who prefer to keep their desktops > blank.) > > Thanks, > Thomas Koster >
TFS 2012 code review alerts
Greetings, I've upgraded our TFS to 2012 and have noticed that whenever I connect to a project with Visual Studio 2012 a new code review alert is automatically created against my name. As this only happens with Visual Studio and only the very first time I connect to a project I believe that it is either Visual Studio or TFS Power Tools thingy. Does anyone know how I turn this "feature" off? My Google-fu appears to have deserted me :-( -- noonie
Re: SQL Server 2014 Books Online - bits missing?
Yeah If your workplace lets yo go online from the boxes you need to read BOL from ;-) -- noonie On 4 March 2016 at 15:10, Greg Low (罗格雷格博士) <g...@greglow.com> wrote: > Yep, they had an issue. > > > > Worth noting though, that there’s a lot of discussion about the utility of > keeping to produce offline documentation. And the online versions are now > far superior. > > > > 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:* Friday, 4 March 2016 2:47 PM > *To:* ozDotNet <ozdotnet@ozdotnet.com> > *Subject:* RE: SQL Server 2014 Books Online - bits missing? > > > > I think I’ve got it fixed – the missing content is showing up after > installing SP1 + CU5, and re-downloading all the help files. > > > > *From:* ozdotnet-boun...@ozdotnet.com [ > mailto:ozdotnet-boun...@ozdotnet.com <ozdotnet-boun...@ozdotnet.com>] *On > Behalf Of *Ken Schaefer > *Sent:* Friday, 4 March 2016 12:40 PM > *To:* ozDotNet (ozdotnet@ozdotnet.com) <ozdotnet@ozdotnet.com> > *Subject:* SQL Server 2014 Books Online - bits missing? > > > > Hi, > > > > Anyone encountered this before? I’ve just tried to install SQL Server 2014 > books online locally. I selected the 4 available books in Help Viewer, and > it downloaded around 60MB of stuff. But there’s vast swathes of stuff > missing (e.g. isn’t there supposed to be a section on Data Manipulation > Language in the language reference? There’s nothing on SELECT, INSERT etc. > > > > If someone’s run into this before, how did you get the missing content > installed? Thanks in advance > > > >
Re: XML files served by Azure Websites
Greg, This discussion:- http://stackoverflow.com/questions/4832357/whats-the-difference-between-text-xml-vs-application-xml-for-webservice-respons Seems to indicate that it's more a client issue. Your server response header is setting the content type to text/xml but not the charset but and though that should be good enough for modern clients, that read the xml document encoding and honour it, some might still use the default us-ascii. It may be possible that the feed validator is is just being "picky". IIS should let you set the charset on that content type so the feed validates. https://forums.iis.net/t/1155439.aspx -- noonie On 1 March 2017 at 19:04, Greg Low (罗格雷格博士) <g...@greglow.com> wrote: > But that still leaves the question on how to change that. It's just > serving up a static xml file. How is the content type for that specified? > And more importantly, where? > > 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 <ozdotnet-boun...@ozdotnet.com> on > behalf of Bill McCarthy <bill.mccarthy.li...@live.com.au> > *Sent:* Wednesday, March 1, 2017 5:32:06 PM > > *To:* ozDotNet > *Subject:* RE: XML files served by Azure Websites > > > Just looked at feedvalidator.org . Look at the help link: > > http://www.feedvalidator.org/docs/warning/EncodingMismatch.html > > > > your site is serving up response content type: text/xml > > > > > > *From:* ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-bounces@ > ozdotnet.com] *On Behalf Of *Greg Low (??) > *Sent:* Wednesday, 1 March 2017 4:55 PM > *To:* ozDotNet <ozdotnet@ozdotnet.com> > *Subject:* Re: XML files served by Azure Websites > > > > Yes I did think BOM was on UTF-16. Either way, issue seems to be the > header from the site. No idea where to set it. I'm suspecting that the lack > of a value probably sends this as a default. Can't find ASCII mentioned > anywhere in project files. > > 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 <ozdotnet-boun...@ozdotnet.com> on > behalf of Bill McCarthy <bill.mccarthy.li...@live.com.au> > *Sent:* Wednesday, March 1, 2017 3:05:00 PM > *To:* ozDotNet > *Subject:* RE: XML files served by Azure Websites > > > > Thought it was the other way around and that BOM was unnecessary for > utf-8. > > To me Greg’s problem looks like the server is sending a response block > saying the content type is asci, then send an xml file which is utf-8. > Would have to do old school spit out bytes to test as I doubt any text > editor would permit the file to be saved as ascii as it would be invalid > ascii file > > > > *From:* ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-bounces@ > ozdotnet.com <ozdotnet-boun...@ozdotnet.com>] *On Behalf Of *David Connors > *Sent:* Wednesday, 1 March 2017 2:55 PM > *To:* ozDotNet <ozdotnet@ozdotnet.com> > *Subject:* Re: XML files served by Azure Websites > > > > On Wed, 1 Mar 2017 at 13:41 Bill McCarthy <bill.mccarthy.li...@live.com.au> > wrote: > > The file itself is utf-8, or unicode due to special characters in it, eg > Lòpez > > So problem is not with the file. > > > > No, a UTF-8 stream is defined as such by a byte order marker at the start > of the stream. You can have UTF-8 files composed entirely of ASCII > characters. > > > > -- > > David Connors > da...@connors.com | @davidconnors | LinkedIn | +61 417 189 363 > <+61%20417%20189%20363> > > -- > > David Connors > da...@connors.com | @davidconnors | LinkedIn | +61 417 189 363 >
Re: Entity Framework - the lay of the land
How to bridge the app/db gap, simple, learn about your enemy & make her your friend. Cooperate, Communicate, Collaborate Sometimes it works ;-) -- noonie On 18 September 2016 at 14:28, Greg Keogh <gfke...@gmail.com> wrote: > GL > > If your table design matches your object design, at least one of them is a >> poor design (again I'm talking about serious apps). >> > > Then there's no hope. Game over man! It was easier for Jeff Goldblum to > plug his laptop into an alien mothership that it is for coders and DBAs > to exchange data effectively. Perhaps the relational database is a niche > evolutionary branch that just gained too much popularity in the last 30 > years and is now overused or incorrectly used and we all take if for > granted. Robust RDBs come in all sizes and prices, many free, so they're > just everywhere and you use them without thinking. Codd might regret his > legacy! > > You must have experienced many situations where some business data doesn't > feel right in an RDB and you finish up with self-joins and tricks to mimic > hierarchies, inheritance or represent temporal data. If other people have > stumbled into this situation and have opted for an effective non-RDB > solution then I'm keen to hear what happened. > > In light of this whole discussion though, in future I'm going to be more > careful about bridging the code-to-DB gap. Rather than just lazily spiting > out wads of ORM generated code and throwing it at the DB, I'm going to > consider how to use views and procs more effectively to do what they do > best. > > *GK* >
Re: WebApi - PUT and DELETE
Tony, Using the correct verb can sometimes remove ambiguity and promote efficiency. You POST a 30 field form to add a record to your system and later only want to update one of those fields. If POST was your only verb you would have to retrieve and re-post all 30 fields so that you could update that one. Otherwise there would be ambiguity around nullable fields. If you were to implement PUT or PATCH then your transaction would be smaller on the wire and you could unambiguously NULL a field that previously contained a value. -- Regards, noonie On 26 March 2017 at 21:59, Tony Wright <tonyw...@gmail.com> wrote: > Thanks. I'm still reading up on it, but the penny hasn't dropped yet. I'm > not seeing any real benefit of moving away from just using get and post, as > to do so requires the team to be more disciplined, and for potentially > dubious reasons. That is, just because it's seen as being more "correct" is > not a good enough reason. There is an argument that says it leads to > "unrequired" overhead but I am yet to come to an understanding of what that > is supposed to mean. > > On 26 Mar 2017 9:52 PM, "Nick Randolph" <n...@builttoroam.com> wrote: > >> The other verb you might want to consider is PATCH….. for when you want >> to update part of an entity but don’t want to send the whole item to the >> service. Definitely has its uses but it’s really a architectural choice >> whether you use PUT, PATCH or both. >> >> >> >> *Nick Randolph* | *Built to Roam Pty Ltd* | Microsoft MVP – Windows >> Platform Development | +61 412 413 425 <+61%20412%20413%20425> | >> @thenickrandolph | skype:nick_randolph >> The information contained in this email is confidential. If you are not >> the intended recipient, you may not disclose or use the information in this >> email in any way. Built to Roam Pty Ltd does not guarantee the integrity of >> any emails or attached files. The views or opinions expressed are the >> author's own and may not reflect the views or opinions of Built to Roam Pty >> Ltd. >> >> >> >> *From:* ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-bounces@ozdot >> net.com] *On Behalf Of *Tom Rutter >> *Sent:* Sunday, 26 March 2017 9:38 PM >> *To:* ozDotNet <ozdotnet@ozdotnet.com> >> *Subject:* Re: WebApi - PUT and DELETE >> >> >> >> http://stackoverflow.com/questions/2493579/why-do-i-need- >> put-or-delete-http-verbs >> >> On Sunday, 26 March 2017, Tom Rutter <therut...@gmail.com> wrote: >> >> For "RESTfulness" perhaps >> >> On Sunday, 26 March 2017, Tony Wright <tonyw...@gmail.com> wrote: >> >> Hi all, >> >> >> >> I have written a few angular apps and our team has collectively got away >> with using HttpGet and HttpPost for just about every call to the WebApi >> services. We never seem to be having any issues. >> >> >> >> When running through the tutorials for Angular 4 (yes, its out), I have >> come across yet another learned guru who just uses all 4 of the main verbs >> when calling webapi - GET, POST, PUT and DELETE. GET for retrieval, POST >> for new items, PUT for updates and DELETE for, well, deletes. Yes I know >> what they are meant to be for, but why? >> >> >> >> I guess the real question is, what am I losing by not using PUT and >> DELETE? >> >> >> >> Kind regards, >> >> Tony >> >>
Re: Ozdotnet list
Happy to move and follow the crowd. I really do like the list format though. Gmail does a really good job with it and I'm afraid that I might just slide away if I had to visit yet another website :-p Lists are old fashioned but, like bow ties, they're still cool after all these years. -- noonie On 3 Apr. 2017 17:00, "Stephen Price" <step...@lythixdesigns.com> wrote: > It's been some years since the big move to Mr Connors gracious hosting of > the eList. Thanks for that by the way David! > > For whatever reason it lives on, despite the low traffic. Perhaps it's the > entertainment value of people who live/vent there. Hard to measure. I > expect David would have a way to tell how many people are still on the > list. > > I do think Aussie developers deserve/need our own identity, and our own > community. Well, it does exist but I do wonder if other forums might better > suit the needs (and yet still we are here with people subscribed...). > > As an Admin of the current group (workload of said role is rather low. ie > It's been almost ten years since I had to do anything Admin like. The Admin > list seems to be gone) > > I've noticed that Discourse.org now exists and is open source. And Free. > And has code highlighting built in. And also has elist delivery out of the > box. As well as a web interface if that floats your boat. Ticks all the > boxes from what we were looking for many years ago. > > Full feature list is here https://www.discourse.org/about/ > > I'd like to propose we move to it and actively promote it once it's all up > and running. Given the lists currently existing cover a few different > topics, not just AusDotNet, we should move them all over. Except > Silverlight. Don't even talk to me about that. Just don't. Ok? > > Seriously, stop looking at me. > > So how do we brand it? OzDev? Did we ever end up with a domain name? It > would be a good time to get one if not. > > The best part about this is David will have to do most of the work, but if > we still have any Admins left on this list (maybe it's just me and David?) > assistance would be good, just put your hand up. > > I have a fond memory of the AusDotNet list and have been on it for my > entire developer career. It's been invaluable. Time to bring it kicking and > screaming into the Internet of today, a limelight for fellow Aussie > developers both existing, and yet to be. We have a big community and I'd > like to be able to give back to it. > > Will do some work on a logo (or outsource it to my daughter who'd doing a > graphic design degree)... > > Discuss. > Stephen > >
Re: UpdClient question
There's always a better way and always a simpler way to do anything but not always both at the same time :-) -- noonie On 11 October 2017 at 15:49, Greg Keogh <gfke...@gmail.com> wrote: > What logging information are you sending? There is a shit ton of services >> in Azure for logging out of the box. >> > > It's blobs of XML from various programs. Good point about Azure logging, > which I haven't investigated. In my case the logging output doesn't need to > be persisted, clients can connect and listen when something interesting is > happening (something UDP is great for). > > If there's a better, simpler way of doing this then I'm keen for > suggestions. > > *GK* >
TFS Identities when "moving" domains
Greetings, I'm just about to do a TFS upgrade and environment migration to a new data centre and have a couple of questions about the "TFSConfig Identities" tool. - Whilst the domain name will remain the same it will be really a different domain (e.g. *myworkplace*.*foo.bar.net.au <http://foo.bar.net.au>* will become *myworkplace*.*bee.boo.com.au <http://bee.boo.com.au>*). Will the Identities tool accept the same value for the old domain as the new domain (The account names will all be new for the active users)? - I have a number of old Identities that will not be in the new domain and they have no active work items. Will there be a problem if I just leave them? I don't feel that it would be right to map them all to a default "Inactive User" account in the new domain. All the documentation I have found presumes a simple migration as does all the "sample code" I have been able to find to date. Any insights would be greatly appreciated... -- Regards, noonie