Live data from Hacker News

Learn just enough Linux to get things done

alexpetralia.com

71–80 of 138 posts

Re: Learn just enough Linux to get things done

#71
post #2

In place of the "tabview" command (which is a non-standard, pip-installed program) a simple "column -t" would be less trouble for most users.

Thanks. I was looking for tabview but it wasn't easy to find, and in python (not that it's bad, but it wasn't a native tool). Rather, column -t is definitely a better choice, since it is a native posix tool.

Re: Learn just enough Linux to get things done

#72

Learn Just Enough Linux To Make QA, Ops, Security Hate You. Learning to do a thing and learning to do a thing well enough to create a production quality result that isn't a liability to the company are very different. That said, improving Linux knowledge among those who had little/none before is a net win in the long term IMO.

>Learn Just Enough Linux To Make QA, Ops, Security Hate You.

Hey, that's me!

Re: Learn just enough Linux to get things done

#74

Earlier quoted context omitted.

And git does work on Windows. There's even a windows logo on the official download page. https://www.git-scm.com/downloads

Git for Windows relies pretty heavily on MinGW, though. And it's best used from the included bash shell.

I do want to point out that Git being built with MinGW doesn't do anything to affect its compatibility. MinGW is basically just the GCC compiler suite ported Windows. It doesn't do anything about making C code written for Linux compatible with Windows.

Now typically, when you install MinGW it also installs some tools that let you operate within Windows a little bit more like you're working under Linux, such as by installing a more sane terminal emulator and Windows-compatible ports of some popular programs e.g. grep. But all those tools and such are ports of Linux programs running on Windows, not standard Linux programs running atop a compatibility layer to allow them to work on Windows.

I mention the above because this was an unclear distinction to me originally. Additionally, this was based on my experience with MinGW some five years ago, and I don't know if everything I've described is still true. Hopefully this slight aside clarifies things for someone.

Re: Learn just enough Linux to get things done

#75
post #43

Earlier quoted context omitted.

> Was Linux designed for software development? Linux was designed to emulate Unix and run the pre-existing Unix-like userspace from GNU. And absolutely yes , Unix was "designed" for software development. That's exactly what it was in its early days: a hacker playground for the geeks at Bell Labs to try new ways of doing things. And windows wasn't. Early windows development (for years after it became popular) was done…

> Early windows development (for years after it became popular) was done at a DOS command line ... I could just as easily flip this and claim that Linux development is all backwards because it's still done on the command line. Given Microsoft's commitment to tooling, backwards compatibility and extensive documentation I think it's pretty lame to try and paint windows as not targeted towards developers. The difference…

Effective early Windows development required a surprisingly thorough knowledge of DOS and x86 memory management/pointers that one had to get through books (unless one was poring through Intel chip specs). Even though Petzold's books were/are sold through Microsoft in my opinion is it's a stretch to call it documentation. For a long time, the best debugger was a third party tool - Soft-Ice. Their documentation/tools for XBox was pretty great, though, they had to do well there being new kid on the block. Microsoft had the benefit of 90% of PC market share at that time so we all had to learn it if we wanted a piece of that pie.

Re: Learn just enough Linux to get things done

#76
post #43
post #37

This is not a surprise - the Windows ecosystem simply wasn't designed with software development in mind. Aha? What is C# and Visual Studio? Or .NET? Was Linux designed for software development? This article is so bad, I'm really getting mad over here. Stop publishing such crap, you feed a lot of people's resentment against all those hipster developers who don't want to learn by RTFM, but want to have handled everythi…

> Was Linux designed for software development? Linux was designed to emulate Unix and run the pre-existing Unix-like userspace from GNU. And absolutely yes , Unix was "designed" for software development. That's exactly what it was in its early days: a hacker playground for the geeks at Bell Labs to try new ways of doing things. And windows wasn't. Early windows development (for years after it became popular) was done…

> Early windows development (for years after it became popular) was done at a DOS command line.

2 decades and a completely different kernel ago, sure.

Re: Learn just enough Linux to get things done

#77
post #55
post #43

Earlier quoted context omitted.

> Was Linux designed for software development? Linux was designed to emulate Unix and run the pre-existing Unix-like userspace from GNU. And absolutely yes , Unix was "designed" for software development. That's exactly what it was in its early days: a hacker playground for the geeks at Bell Labs to try new ways of doing things. And windows wasn't. Early windows development (for years after it became popular) was done…

What?!? Are we talking about Windows 1.0 and 2.0 here? I was using Turbo Pascal and Turbo C++ quite nice IDEs on Windows 3.x. Windows has always been a popular development environment for the demoscene, and games developers. The only alternatives being Mac and Amiga, none of them UNIX friendly.

Neither DOS nor Windows had any compiler included. DOS did have a BASIC interpreter, later they did away even with that (with Windows 2000 I think). In Linux you had a rich range of compilers, interpreters and other development tools, right in your distro. I'm talking about late nineties here. The two were absolutely incomparable in this aspect. Although, I have to admit, I preferred Borland's documentation to Linux man pages.

Re: Learn just enough Linux to get things done

#80
post #30
post #24

One example of this is the popular version control system (VCS) called git. Developers could have written this software to work on Windows, but they didn't. They wrote it to work on the command line for Linux because it was the ecosystem which already had all the tools they needed. I think the real (and even stronger) reason is that Linus Torvalds specifically built Git to serve as the VCS for the Linux codebase.

>I think the real (and even stronger) reason is that Linus Torvalds specifically built Git to serve as the VCS for the Linux codebase. Mercurial was built for exactly the same reason (VCS for Linux), at the same time. Yet it has always been cross-platform. Linus wrote it for Linux because he didn't care about whether it would work in Windows. No other reason.

And who could fault him for that. After all, why would he care or even want to invest time to make it run on Windows? It’s GPL, anyone can port it if they want to.

Git for Windows and Cygwin Git have some issues (I use them daily at work), but many of these can be entirely attributed to the limitations of Windows: CRLF, case-insensitivity in filesystems, problems with long pathnames, slow process forking, etc.

Post reply on HN