News for hackers. Stuff that matters.
Re:Perl Regex Removed From Grep in Mountain Lion by mynegation on Friday September 28, 2012 @10:00PM (#4588607)
I may be a Linux fan, but there you go: Mac OS X as Unix is inferior to Linux. Package management in Ubuntu is second to none, I have newer version of everything, sane terminal colors and fonts out of the box, I don't have to download monstrosity that is Xcode just to get a damn compiler, compiling some non-mainstream sources may not work out of the box.
Re:Perl Regex Removed From Grep in Mountain Lion by glassx on Friday September 28, 2012 @10:40PM (#4588674)
> I don't have to download monstrosity that is Xcode just to get a damn compiler.

They fixed that. On newer OS X versions you can download the Command Line Tools (just 110mb) from Apple's website. You just need a free account: https://developer.apple.com/downloads

Re:Perl Regex Removed From Grep in Mountain Lion by inthe90s on Friday September 28, 2012 @11:18PM (#4588747)
Why do I need a free account? What is the purpose of that?

I get a compiler from BSD, which is the source of Apple's code, without needing any account. Apple didn't need an account to get that code from BSD. Apple seems to do a disservice to the notion of the BSD license, which is not to impose restrictions on people (e.g. making them get a developer "account").

Re:Perl Regex Removed From Grep in Mountain Lion by wtallis on Friday September 28, 2012 @11:47PM (#4588777)
It sounds like you need a reminder that OS X is not based on BSD, it's a different operating system that had a lot of BSD stuff grafted on to the side of it - like Windows, but moreso. Also, BSD doesn't provide a compiler - they use GNU's compiler, and are switching to Apple's compiler.
Re:Perl Regex Removed From Grep in Mountain Lion by inthe90s on Saturday September 29, 2012 @12:11AM (#4588805)
Yes, I did need that reminder. Memory is failing today. But... does it change my question? GNU gives me a compiler without making me sign up for an "account".

OSX is not BSD, but there's no way it could even think about calling itself "UNIX" and getting certified as such without all the BSD code they took.

What else is OS X? It's a kernel from CMU. And whiz bang graphics. And lots of annoyances.

Re:Perl Regex Removed From Grep in Mountain Lion by pooriaazimi on Saturday September 29, 2012 @02:33AM (#4588982)
> GNU gives me a compiler without making me sign up for an "account".

What an outrageous thing... They force you to create a free account that wastes quite literally 6 minutes of your time... It's unacceptable, how dare they??!!1 (<-- sarcasm)

Re:Perl Regex Removed From Grep in Mountain Lion by microtherion on Friday September 28, 2012 @11:36PM (#4588765)
Apple's current C compiler, clang, did not originate in the BSD project, but is primarily developed by Apple itself.
Re:Perl Regex Removed From Grep in Mountain Lion by inthe90s on Saturday September 29, 2012 @12:06AM (#4588798)
This is a good point. Although that word "primarily" is interesting.

Is Clang BSD-licensed?

Re:Perl Regex Removed From Grep in Mountain Lion by microtherion on Saturday September 29, 2012 @08:35AM (#4589373)
"primarily", because the LLVM / clang project had its origins in academia (before the project and its team got acqui-hired by Apple), and because the project is open source, and thus still gets some amount of community contributions (probably not a huge proportion of the overall effort, though).
Re:Perl Regex Removed From Grep in Mountain Lion by daniel02216 on Saturday September 29, 2012 @02:06AM (#4588948)
It's UIUC's license, which looks similar to BSD to me. They also have some MIT licensed code. http://llvm.org/docs/DeveloperPolicy.html#license
Re:Perl Regex Removed From Grep in Mountain Lion by r00fus on Saturday September 29, 2012 @02:08AM (#4588951)
Essentially, yes. It's NCSA-OSL which is based on MIT, which is based on BSD: http://en.wikipedia.org/wiki/Clang

Many projects use Clang/LLVM for their OpenCL implementations.

Re:Perl Regex Removed From Grep in Mountain Lion by droithomme on Friday September 28, 2012 @11:36PM (#4588763)
Haven't you heard? If you have nothing to hide, you have nothing to fear from a surveillance state in which even your use of a compiler is closely monitored and tagged.
Re:Perl Regex Removed From Grep in Mountain Lion by axitanull on Saturday September 29, 2012 @02:20AM (#4588967)
And if I may add, I hate the fact that I have to put credit card information on this free account.
Re:Perl Regex Removed From Grep in Mountain Lion by dfc on Friday September 28, 2012 @10:33PM (#4588664)
Package management in Ubuntu is not second to none, it is second to Debian. Dont get me wrong Ubuntu has done a lot of wonderful things, but lets give credit where credit is due...
Re:Perl Regex Removed From Grep in Mountain Lion by mcpherrinm on Friday September 28, 2012 @11:19PM (#4588748)
I'd actually disagree on this point.

Ubuntu has introduced a number of refinements to the dpkg world that have been pretty good.

Most useful, in my mind, is their set of tools for working with PPAs. They're much simpler to run than setting up an entire new repository of packages.

Re:Perl Regex Removed From Grep in Mountain Lion by dfc on Friday September 28, 2012 @11:36PM (#4588764)
Seriously? You think that PPAs and your other unnamed improvements tower over the apt package management system? Without PPAs apt-get would be yet another kludgy package management system? Sure apt-add-repository is a nice time saver but how hard is:

  echo deb http://repo.net/ unstable main >> /etc/apt/sources.list
I think we might be miscommunicating because I can't imagine anyone making this argument. I'm not sure how old you are but I can remember what package management was like on slackware and redhat a decade ago when I switched. Moving to debian was like a scene in a movie when it goes from black and white to full color.
Re:Perl Regex Removed From Grep in Mountain Lion by mcpherrinm on Saturday September 29, 2012 @12:14AM (#4588810)
With respect to PPAs, I'm not speaking from a user perspective, but from that of a sysadmin having to maintain mirrors. PPAs are just easier than setting up all the key signing and mirror infrastructure.

Yeah, apt and dpkg are great compared to what else was available a decade ago. But that doesn't mean that Ubuntu's additions, however incremental, are worthless or somehow inferior to Debian. Incremental gains are still gains.

Re:Perl Regex Removed From Grep in Mountain Lion by dfc on Saturday September 29, 2012 @07:17AM (#4589266)
I'm confused about PPAs and setting up a mirror infrastructure. What mirror infrastructure? What key signing is involved in a mirror that is not involved in signing packages for a PPA?

Ubuntu's additions are nice. But they are minor improvements to apt/dpkg. Without them apt and dpkg would still be phenomenal.

Re:Perl Regex Removed From Grep in Mountain Lion by mcpherrinm on Sunday September 30, 2012 @04:27AM (#4592388)
I administer a small number of systems and deploy custom packages to all of those.

Running a custom mirror, signing packages, managing keyrings on the mirror, and getting them on all systems is nontrivially harder than using a PPA and associated scripts.

Now, I run a mix of Ubuntu and Debian systems. I don't use PPAs that much, but when I do they're just plain easier.

Yes, it's an incremental gain, but that's a gain. It makes them better. They weren't first, but they're innovating. Sometimes, the "innovations" aren't fantastic especially some of the more harebrained stuff on desktop (PulseAudio, avahi). But no longer is Ubuntu just a Debian rip-off: They're producing new and useful additions.

The relative merits are debatable, and so I'm not going to continue that thread. In the end, it boils down to X + epsilon > X, for any epsilon > 0.

Re:Perl Regex Removed From Grep in Mountain Lion by philh on Saturday September 29, 2012 @12:07AM (#4588799)
Doesn't Ubuntu have apt as well though? Ubuntu's package management may have come from Debian, but that doesn't make it inferior.

It sounds to me like you're trying to make a different argument: that Debian's package management was a bigger deal, in some sense, than Ubuntu's incremental improvements on it.

Re:Perl Regex Removed From Grep in Mountain Lion by dfc on Saturday September 29, 2012 @07:20AM (#4589272)
Ubuntu's package management system is apt and dpkg. Apt and dpkg were Debian projects long before ubuntu was even a whisper. Ubuntu uses Debian's pakage management system, it does not have it's own system.
Re:Perl Regex Removed From Grep in Mountain Lion by philh on Saturday September 29, 2012 @09:39AM (#4589526)
Yes, that's what I thought. Ubuntu uses Debian's system with minor changes. If you want to say Ubuntu's package management is second (inferior) to Debian's, you need to show the changes are bad, not minor.
Re:Perl Regex Removed From Grep in Mountain Lion by dfc on Saturday September 29, 2012 @09:45AM (#4589540)
Ubuntu does not have a package manager of its own. It uses Debian's. Ubuntu was the second guest to arrive at the apt party.
Re:Perl Regex Removed From Grep in Mountain Lion by philh on Saturday September 29, 2012 @11:14AM (#4589796)
So what? Ubuntu has package management. It is a superior experience to the package management in Debian. (Or so I assume, since you have not disputed it.) Therefore it is not true that package management in Ubuntu is second to Debian.

I'm probably going to tap out here, because this doesn't seem like it's going to become productive.

Re:Perl Regex Removed From Grep in Mountain Lion by mynegation on Sunday September 30, 2012 @02:25AM (#4592178)
Well, second to none of the operating systems I am using (also includes Mac OS X and couple of Windows versions). The point being is that package management on OS X is not on the level of Ubuntu (or Debian for that matter).