Live data from Hacker News

Babun – A new Windows shell

babun.github.io

101–110 of 112 posts

Re: Babun – A new Windows shell

#101
post #79

Earlier quoted context omitted.

You should take a serious look at using powershell, they've aliased a lot of commands to what you expect on linux so you're not completely foreign and it's got a similar workflow mentality you're used to i.e pipe commands. And you can work with .NET natively. That said it is NOT to imitate linux, it's conceptually not the same which is good because Windows isn't either. Here's a 101; commands are `verb-noun -paramete…

Another word of advice: Try to use the pipeline as much as possible. Passing objects through the pipeline is a core concept of PowerShell for a reason. Don't try writing C# with PowerShell syntax (as I see so many people do on Stack Overflow). Some answers I have written on SO that exemplify that: • http://stackoverflow.com/a/7394766/73070 • http://stackoverflow.com/a/1046291/73070 • http://stackoverflow.com/a/144814…

I just glanced at the top post you have linked here (I'll definitely take a look at the others later). At first glance it reminds me of unix pipes, clojure's thrush operator, and F#'s pipe forward operator. (they're all different from one another, of course, but the general idea of threading data through pipes/filter/transformations to get what you want)

If I'm not totally missing the mark there, and that's the idiomatic way to do things, I'm glad. I really prefer dealing with scripting/command line stuff that way.

Really appreciate the information!

Re: Babun – A new Windows shell

#102
post #96
post #80

Earlier quoted context omitted.

It's trickier to get OS X working on a laptop, but building a Hackintosh desktop is quite easy. A lot of motherboards are entirely compatible, while everything else (CPU, RAM, storage) works anyways.

Aside from the fact this is not strictly legal, my experience has been that this is more effort than it's worth. And if you have any hardware that's a bit non-standard, you can forget about it.

Like I said, building a Hackintosh desktop is as easy as building a Windows one. If you want to install OS X on a random PC that's laying around the house, the outcome will of course be different.

Re: Babun – A new Windows shell

#104
This looks great, but still has one no-go bug: Spaces in directory names don't work.

https://github.com/babun/babun/issues/74

and it looks like they don't really want to fix it: >We need an install.bat fix to stop the installation in such cases.

The problem is, especially on older Windows machines there are always spaces in directories - XP and 2000 have 'Documents and Settings' in their %USERPROFILE%, so installation will always fail on these (?!?), others will have problems with having a space in their user-name.

This seems to stem from Cygwin.

Re: Babun – A new Windows shell

#105
post #64

Earlier quoted context omitted.

Why wouldn't you want to be bound to Apple hardware? I've yet to come across a laptop form-factor that even approaches the Macbook Air. The hardware is a strong selling point for Apple devices. Sure, you might be able to put together a more powerful machine for a lower price, if your time isn't worth much to you or you enjoy building computers, but have fun machining an aluminum casing for it and getting it under 3 l…

The Macbook Air has had a pretty embarrassing screen resolution for some time now. There's also a dearth of peripheral connectivity for more advanced setups. That's even assuming I want an ultrabook and not something else entirely. It seems a little arrogant to assume your specific hardware requirements are everyone's hardware requirements.

You're right, in retrospect that comment was incredibly shortsighted.

Re: Babun – A new Windows shell

#106
post #41

Earlier quoted context omitted.

I almost got a 0 on a programming project for an intro to CS class because it compiled and ran perfectly fine on Windows, but segfaulted on Linux.

Which is much less a Cygwin problem than a poor understanding of the tools problem.

How is it not a cygwin (well, technically gcc for cygwin) problem? The port of gcc was bad, that's all there is to it. When I found a bug where a certain version of clang on ARM wouldn't compile a program everything else was compiling, was it a problem with my understanding or was it a bug with clang?

cygwin's ports aren't going to be 100% perfect, not sure why you would claim that if there's a problem with it, it's MY misunderstanding that's the problem.

Re: Babun – A new Windows shell

#107

Earlier quoted context omitted.

Powershell is a great language. I would love to see unix shells inspired by it. The associated toolset, on the other hand, is clearly not there yet. As soon as you start doing real things with PowerShell, you will hit all sorts of bugs and limitations. Your mileage may vary, of course.

Remoting and signing has been a nightmare to set up on my domain but otherwise so far I'm still having a pleasant experience. Obviously the console itself is the same as cmd's which is terrible. I just work a lot with the ISE open but still looking for a slicker terminal. I've been able to just deploy PS v4.0 across all of my computers I think a lot of the headache comes from trying to use new stuff and seeing window…

Well, what you said, crappy console, no ssh (the powershell equivalent is just not very good), but also, no grep (findstr is not a good substitute), no rsync, etc.

Whatever I've attempted I've always hit unexpected walls due to the unavailability of tools we take for granted with linux.

Re: Babun – A new Windows shell

#108
post #30

Earlier quoted context omitted.

Everyone who would be satisfied by Cygwin is already using cygwin. so this will not help them. and people using CMD must use CMD for some reason, and even though that crowd would be please by just being able to maximize their windows, this does not offer any improvement for those people. sadly, i'm in the second group.

Have you looked at Console2?

thanks!

Re: Babun – A new Windows shell

#109

Earlier quoted context omitted.

Remoting and signing has been a nightmare to set up on my domain but otherwise so far I'm still having a pleasant experience. Obviously the console itself is the same as cmd's which is terrible. I just work a lot with the ISE open but still looking for a slicker terminal. I've been able to just deploy PS v4.0 across all of my computers I think a lot of the headache comes from trying to use new stuff and seeing window…

Well, what you said, crappy console, no ssh (the powershell equivalent is just not very good), but also, no grep (findstr is not a good substitute), no rsync, etc. Whatever I've attempted I've always hit unexpected walls due to the unavailability of tools we take for granted with linux.

I'll parrot one of the PS developers;

"grep, sed and awk etc are really great on nix because they're great with text, they're text based operating systems and you can do anything with them. Windows is an API based system so just moving text around doesn't get you very far."

There's a mountain of filters available in the cmdlets parameters but specifically since you mentioned grep. findstr is not powershell it's in the old cmd family of programs still in your PATH. You want to look at select-string http://technet.microsoft.com/en-us/library/hh849903.aspx

I wish MS would include SSH but the party line is they've no idea who really wrote the code and they won't include it in windows in case they get sued over it.

Re: Babun – A new Windows shell

#110
post #33

While part of me still wants to tell would-be hackers to just switch to OS X or Linux, I've realized recently that a lot of hackers are bound to Windows because they use various software that only works on Windows, like games, or because of social limitations. I have no clue how good Babun is, but I have no clue how I ever got anything done on Windows without a Unix shell. Cygwin is not out-of-the-box enough, and the…

I haven't been gaming lately nearly as much as I've used to, but it's still a big part of my computing needs and I just can't get good enough performance in Linux even though PlayOnLinux really has made installing games easier.

I'd love nothing more than run Linux as my main OS, but I hate having to reboot whenever I feel like playing a game.

Post reply on HN