News for hackers. Stuff that matters.
Re:Windows 8 Plans Leaked: Numerous Details Revealed by grandalf on Tuesday June 29, 2010 @01:37AM (#1470520)
The one feature that would make me consider using windows again is if it supported bash as a first class shell option and had a built in x server.
Re:Windows 8 Plans Leaked: Numerous Details Revealed by mey on Tuesday June 29, 2010 @01:56AM (#1470549)
take a look at powershell, seriously, when i move to a linux desktop in the near future at work, my default shell will most likely be http://pash.sourceforge.net/
Re:Windows 8 Plans Leaked: Numerous Details Revealed by iamelgringo on Tuesday June 29, 2010 @02:08AM (#1470572)
Powershell, isn't bash, but it's pretty kick ass.

Instead of piping text from one command to the other, you pipe entire objects back and forth. A lot of bash commands are aliased to Powershell commandlets out of the box. And, as of Powershell 2.0, you have remote scripting similar to SSH.

I choose to do Python Web development on Windows, and I spend my whole day on the PS command line, and I'm really pleased.

http://en.wikipedia.org/wiki/Windows_PowerShell

Re:Windows 8 Plans Leaked: Numerous Details Revealed by mhw on Tuesday June 29, 2010 @02:23AM (#1470601)
> And, as of Powershell 2.0, you have remote scripting similar to SSH.

What, instead of actually using the ubiquitous, widely installed SSH? Some things don't seem to change.

Re:Windows 8 Plans Leaked: Numerous Details Revealed by code_duck on Tuesday June 29, 2010 @02:34AM (#1470627)
That's my problem with PowerShell. No matter how good it may be, I don't really feel like relearning everything just to accomplish the same things, only on Windows instead.
Re:Windows 8 Plans Leaked: Numerous Details Revealed by euroclydon on Tuesday June 29, 2010 @06:57AM (#1471005)
I'm right there with you not wanting to learn a new shell, however PS is written against the .NET Windows API. The new stuff you'd have to learn would be Windows specific, sort of like learning AppleScript. Also, PS has traditional unix shell commands built in now, like grep and ls.
Re:Windows 8 Plans Leaked: Numerous Details Revealed by yread on Tuesday June 29, 2010 @03:24AM (#1470717)
Are you sure you are in the right business if you don't like relearning?
Re:Windows 8 Plans Leaked: Numerous Details Revealed by vetinari on Tuesday June 29, 2010 @03:42AM (#1470738)
Yes, throw away everything you know every now and then, instead of building knowledge on top of knowledge.

That will get you far, right?

Re:Windows 8 Plans Leaked: Numerous Details Revealed by mey on Tuesday June 29, 2010 @10:03PM (#1473608)
Who says you have to throw away everything you know? I don't magically stop knowing C++ when running around in Ruby or SQL.
Re:Windows 8 Plans Leaked: Numerous Details Revealed by code_duck on Tuesday June 29, 2010 @12:05PM (#1471823)
I like relearning. I don't have much use for re-learning... I'd rather learn to do something new. The "to accomplish the same things, only on Windows instead" is the crucial qualifier. I'd rather spend my time, I don't know - learning to configure nginx or doing Haskell tutorials than learn someone's proprietary shell, given that shells aren't particularly exciting and I already know enough about the shells that every other platform offers to be satisifed.
Re:Windows 8 Plans Leaked: Numerous Details Revealed by jpr on Tuesday June 29, 2010 @04:51AM (#1470858)
Learning new stuff is cool. Relearning same old stuff in different clothing because someone decided to do something differently is not cool.
Re:Windows 8 Plans Leaked: Numerous Details Revealed by contextfree on Tuesday June 29, 2010 @11:20AM (#1471667)
PS is substantially different enough that I don't mind, though.
Re:Windows 8 Plans Leaked: Numerous Details Revealed by contextfree on Tuesday June 29, 2010 @11:12AM (#1471636)
I like PS, but my main issue with it is that it's really slow.
Re:Windows 8 Plans Leaked: Numerous Details Revealed by jpr on Tuesday June 29, 2010 @04:49AM (#1470852)
How does that whole "pipe entire objects back and forth" thing work? I mean it seems that there must be some huge machinery to facilitate that kind of thing. For example, if I pipe object from my program to another, how does the other program know what to expect? It must have some sort of type information available, which imposes some pre-planning.

Also, when I pipe an object to another program, can the receiver call methods on it and are the changes visible to the sender?

Re:Windows 8 Plans Leaked: Numerous Details Revealed by jules on Tuesday June 29, 2010 @08:16AM (#1471122)
I'm not sure how they do it and I've only used the basic features of powershell. That said, commands in powershell are .NET classes that define a method ProcessRecord. Inside this they can call WriteObject to write an object to the output stream. So it seems that they can just implement this without any parsing by passing objects around in the .NET runtime.
Re:Windows 8 Plans Leaked: Numerous Details Revealed by rroy1590 on Tuesday June 29, 2010 @01:57AM (#1470555)
so.. you want a unix operating system?
Re:Windows 8 Plans Leaked: Numerous Details Revealed by loewenskind on Tuesday June 29, 2010 @04:05AM (#1470779)
Bash sure, but why would Microsoft build an X server? They already have remote desktop technology that works fine. The only thing one would possibly need an X server for is to display unix applications on the windows machine. Why would they spend extra effort for something like that?
Re:Windows 8 Plans Leaked: Numerous Details Revealed by grandalf on Tuesday June 29, 2010 @02:09PM (#1472225)
it would be very easy to add a simple x server. If windows had a solid gcc, bash, and x server (and case sensitive file system) there would be none of the typical frustration I get when using it to do anything serious.
Re:Windows 8 Plans Leaked: Numerous Details Revealed by loewenskind on Thursday July 01, 2010 @03:24AM (#1477374)
Ugh. Visual Studio is a superior development environment to anything you can get on Unix (with the only exception being Smalltalk environments and Slime to an extent), and case sensitive file systems are a mistake that came about from laziness. A file system should be case preserving but case insensitive. Full Stop. Do you know how much money has been lost in the business world because some idiot on a unix box thought differentiating different files with case alone was really cool?