Huddled Masses
You can do more than breathe for free...
Browse: Home / Bugs

Bugs

Rage Against the Design

By Joel 'Jaykul' Bennett on 02-Feb-2009

So we found a problem recently with a certain scripting language’s argument parsing: function Test-Argument($a) {    $a.GetType().FullName } [Test 1]: Test-Argument 4 System.Int32 [Test 2]: Test-Argument .5 System.Double [Test 3]: Test-Argument "hello" System.String [Test 4]: Test-Argument Goodbye System.String [Test 5]: Test-Argument -42 System.String [Test 6]: Test-Argument (-42) System.Int32   Why can’t it properly parse [...]

Posted in Huddled | Tagged Architecture, Bugs, Design, PowerShell, Rants, Software Engineering | 4 Responses

PowerShell 2 CTP3 – First Impressions

By Joel 'Jaykul' Bennett on 24-Dec-2008

Changes of particular interest Get-Command returns functions By default Get-Command used to return only apps, scripts in your path, and cmdlets… The new CTP3 default invocation includes functions. This is mostly a recognition of the increased power of functions with the arrival of that advanced function features (formerly known as script cmdlets). Advanced Functions Advanced [...]

Posted in Huddled | Tagged Bugs, CTP3, PowerShell, Releases, Review | 4 Responses

PowerShell and Hashtable oddities

By Joel 'Jaykul' Bennett on 19-Nov-2008

Hashtables are IEnumerable, but they don’t behave that way in PowerShell … this seems to cause all sorts of odd behavior …

Posted in Huddled | Tagged Arrays, Bugs, Development, Hashtable, PowerShell, Scripting, Splatting | 1 Response

A Better Get-Credential in one line of code

By Joel 'Jaykul' Bennett on 17-Nov-2008

For too long I have ignored the deficiencies in Get-Credential, so now I am going to fix them. Ready? function Get-Credential($caption,$msg,$domain,$name){$Host.UI.PromptForCredential($caption,$msg,$name,$domain)} Ok, that’s better than the default, whew! At least you can specify the prompt text and the domain and default user name … but there are so many other options that are missing from [...]

Posted in Huddled | Tagged Bugs, Console, Credentials, PowerShell, Scripting, Security

Inline WPF output for PoshConsole

Is PowerShell $ShellId too big a burden?

By Joel 'Jaykul' Bennett on 14-Sep-2008

As you may know, I was one of the first developers who jumped on board and started working on an alternative PowerShell host (actually, I’m also the first to create a WPF-based host, and the first to create one that was open source … but enough about me). Recently I’ve picked back up on that [...]

Posted in Huddled | Tagged Bugs, Development, PoshConsole, PowerShell, RunspaceConfiguration, ShellId | 6 Responses

What’s the desired behavior of inputObject?

By Joel 'Jaykul' Bennett on 22-Dec-2007

In response to Kirk Munro’s comment on my Writing Cmdlets for the PowerShell Pipeline post: You know, I’ve looked at your articles about cmdlets/functions in the pipeline and I feel you’re missing something. The purpose of the InputObject parameter is to pass in a collection as a single object. This is as opposed to using [...]

Posted in Huddled | Tagged Behavior, Bugs, Cmdlet, Development, Documentation, Expectations, Pipeline, PowerShell, Users | 1 Response

Lijit Search

Tags

.Net .Net 2008 Scripting Games Automation Bugs Design Development Funny Gadgets GeoShell GUI Huddled Masses Internet licensing Microsoft Modules My Software News Personal PInvoke Pipeline Politics PoshCode PoshConsole PowerBoots PowerShell PowerShell Functions PowerTips Rants Recommender Repository Scripting ShowUI Software Solutions Textile Tips User Group UserInterface WalkThrough WebHosting Windows 7 WordPress WPF Xml

About Huddled Masses

This is web site is dedicated to the musings of Joel Bennett (aka Jaykul) about technology, software, software development, the web, and the world.

Any resemblance of the views expressed and the views of my employer, my terminal, or the view out my window are purely coincidental. The resemblance between them and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader.

P.S.: I occasionally link to things I think are great. When I do, I occasionally find a "referral code" so I can make a little cash. I promise that I don't link to anything just because of that cash (I wouldn't cross the street for the amount of cash those links bring in, never mind write a whole blog post) ... but I do not promise that things I link to will stay great as time passes, nor that you will agree with me about their greatness!

Archives

  • January 2012
  • October 2011
  • August 2011
  • July 2011
  • June 2011
  • March 2011
  • February 2011
  • January 2011
  • November 2010
  • August 2010

Copyright © 2012 Joel Bennett.

Powered by WordPress and Hybrid.