5 ms·
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
by brandonhsiao 12y ago
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 package manager is buggy. If Babun really works, I think it will matter a lot.
- doorhammer 12y agoI'm a self-taught programmer. I've basically been using linux 99% of the time for the past five years, and just have a partition that runs windows if I need it. Funnily enough, the first real programming gig I landed is a full time job doing full stack .NET development, so now it's sort of flipped around. I do miss the command line. I'll have to check this out. I've been looking for a good windows shell replacement.
- hetman 12y agoThe other thing worth looking at is the MinGW project. It's pretty easy to get started with the mingw-get package manager (there's an installer you can find here: http://www.mingw.org/wiki/Getting_Started http://www.mingw.org/wiki/Getting_Started). Once you have mintty running as your terminal emulator, and a decent shell like bash, life gets a whole lot easier. The upside is that it's fully native without Cygwin's compatibility layer. The downside is that it won't have as many ported utilities (and probably not as easy to get started with as something like Babun).
- voltagex_ 12y agohttp://code.google.com/p/mintty/ http://code.google.com/p/mintty/ seems like it still uses cygwin1.dll (or whatever it's called these days). Am I missing something?
- jeremyjh 12y agoYes, you are missing the MSYS build listed on their download page. It does not use Cygwin. MSYS/Mingw are native ports of the GNU software tools and friends.
- Already__Taken 12y agoYou 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 -parameter value` these pipe | objects(!) not strings. The first thing you should do is win+R powershell type: get-alias and after that `get-help ls` just drop in powershell wherever you used to calling cmd and see how it goes.
- ygra 12y agoAnother 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/7394766/73070 • http://stackoverflow.com/a/1046291/73070 http://stackoverflow.com/a/1046291/73070 • http://stackoverflow.com/a/14481495/73070 http://stackoverflow.com/a/14481495/73070
- doorhammer 12y agoI 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!
- joelthelion 12y agoPowershell 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.
- greggman 12y agoI'm on Mac so don't bite my head off. That said, I was much more productive on Windows for many things. You mentioned games. Game development is much larger on Windows. More access to more engines, tech, examples, tools, etc. Visual Studio's debugger still blows away anything I've seen on Mac or Linux. PIX, Microsoft's GPU debugger is still the standard to be met. .NET, C# and Windows Forms were amazing ways to bang out tools for artists and designers that I've seen no match for on other platforms yet. I guess the short of that is, it really depends on what you're working on. But I'm still amazed that those things are missing on other platforms. It's not like Visual Studio is some new product. It's been arguably the best debugger for 15+ years? It's surprising that no one as duplicated it on other platforms. Same with Windows Forms. Sure there are UI libraries but none of them have that perfect storm of features that makes banging out certain kinds of apps so easy. I'm guessing the most used features are Windows Forms Property editor (point it at a class, get instant interface to edit all of the class's properties). Another is probably their data grid editor. So yea, I love me some unix shell but I'd prefer not to have to choose a good shell vs good other things.
- brandonhsiao 12y agoThat is a good point. Visual Studio is actually one of the things I have positive emotions about from my Windows days.
- paulrov 12y ago> like games Better off just dual booting if that's the reason
- hwh 12y agoWell, I'm on Windows because I don't bother. It's just my workplace machine, running browsers, terminals (so thanks Babun, will try it out now) and a bit of other stuff I don't need Linux for. Yes, my private notebook runs Linux. All my servers do. But our IT departement is Windows centric, and that's about that. While I'm free to configure my desktop machine just the way I want, I prefer to not spend time doing this. I just use the Windows system they gave me, and when it breaks, I call in and they will give me an off-the-shelf new one. Not in a mood to spend my time with fiddling with my desktop machine. The most complex piece of software it runs is the browser.
- Morphling 12y agoI 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.