Fun Stuff > CLIKC
Sour Apples: The Mac Problem Thread
Scytale:
Macs make Windows PC's crappy in comparrison...
Though that could be changing.
I got an email from a friend at work going on and on about some new "power" shell (MSH) that Microsoft had written for Windows. So I was a bit intrigued read the docs on MSDN.
The new scripting language looks an awful lot like bash/ksh scripts, even uses the "$" sign for variable names, looks to be alot easier then VBS.
The shell now supports 'proper' tab auto completion.
You can use something called "powerdrives" to access everything as part of the filesystem, including registry keys (installationscripts should be easy now)
The microsoft doc reccomend using pipes to filter returning data (sound familiar)
Process spawing (through the Invoke-Item command) now works very similar to fork exec.
Process\job management through the shell isn't stuffed anymore (theres now a "ps", "kill" "sleep" etc command that seems to work properly)
You now use the "-" sign to append arguments onto shell commands (eg copy *.* -recursive)
Oh and "ls" is now an alias for "dir", "cp" is an alias of "copy" there is now support for "cat" etc etc...
Looks like MS are finally learning from Unix...
I have to admit theres a few pretty nice features in the new shell, returning objects rather then text streams is a pretty cool feature, as is having acccess to all the .NET libraries from the shell, I expect theres going to be some pretty seriously cool admin scripts written now.
My big thing is there needs to be an easy way to switch users and run things will elevated permissions in scripts something analogus to "su" I'm not sure how the permissions model works in Vista but it would be a very nice method of convincing people not to run as admin anymore.
Also there is still no Reg Exp support, at least I couldn't see any looks to still be only the two ms "wildcards" ("*" and "?"). I suppose you could access some of the .net reg exp libraries still seems a bit chunky though, would be nice if there was some text processing build into the shell like sed or awk.
Other then that it looks pretty good, not enough to convince me to go back to windows, but noce all the same. I wonder why they didn't have it built into vista, they must be kicking themselves...
nihilist:
See, now you're talking about OSs, not a "Mac" vs. a "PC". Hell, I had OS X on my PC for a while, except that I realized that I really don't care for it as an OS.
Come talk to me when your Mac comes with a nice SLI setup, comes in a tiny form factor, is dead silent, etc, etc. Till then... Pfft.
Valrus:
--- Quote from: Catfish_Man on 30 Jan 2007, 23:27 ---I suggest going outside for a bit. The graphics are amazing, and a good stiff breeze brings a wonderful sense of perspective.
--- End quote ---
And in Minnesota, where I am and where the high temperatures are hovering just around zero Fahrenheit, frostbite, hypothermia, and possibly death. Or is that what you meant by "a wonderful sense of perspective?" ;)
No seriously, I do go outside, even in weather like this. I was exaggerating, obviously, in my previous comment.
nihilist:
Goddamn Fahrenheit... That scale is beyond useless to me. Celsius: the only way to go, where 0 means that water freezes, and 100 means that water boils. Good times, good times.
Lines:
yes, but that would make sense and since when has anything in America ever made sense? before the british colonized here?
i think my favorite things about macs, and i say this to everyone, are 1. i can actually find files if i accidentally don't save them in the right place. on PC's, i can't find a damn thing. 2. when you delete something on a mac, it's actually deleted, and not just burried somewhere on your hard drive taking up space. 3. i can actually eject my memory stick. on PC's that just never seems to work. it always says it's busy even 5 seconds after i plug it in and haven't opened anything from it yet. 4. macs are, well, prettier. the icons are prettier, the graphics are prettier, the physical computer is prettier. 5. macs don't have a blue screen of death. they have a rainbow spin-y thing of doom. which is much less ugly and it still gets the point across.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version