News for hackers. Stuff that matters.
Re:Hacker's Guide to Setting Up Your Mac by drzaiusapelord on Thursday October 02, 2014 @04:53PM (#8403037)
Just like PC's, Macs have entered the world of, what I call, "car guys." Car guys are always fiddling with things for a tiny performance or perceived security boosts without really thinking things through. In the Windows world you'll hear them tell you how you must disable the UAC, must install registry 'cleaners', must use $av_vendor_x because $av_vendor_y sucks, fiddle with some obscure registry change, use drivers or utilities from sites laden with malware, etc, etc. As a sysadmin, these guys drive me crazy. Often, they're the dominant voice in PC or gaming forums and their advice is not only terrible, but actually makes things worse for the end user looking to solve an issue.

At least in the Windows world we have ugly GUIs and other roadblocks to making these changes easy. With OSX's scripting, you could have one single script make all these changes. Its interesting to think how terrible some random person's advice on the internet can be to your machine if you decide to type in what they say. Worse, I'm seeing a lot of FOSS/Linux stuff that more or less asks you to wget a random file on a random server into your shell and run it as root. Umm, no thanks.

The above wouldn't be so bad if they all came with well written undo scripts, but I think the "car guys" aren't even considering scenarios where their half-cooked advice would be wrong. If they did, they probably wouldn't be putting this stuff out there like this.

Re:Hacker's Guide to Setting Up Your Mac by sanderjd on Thursday October 02, 2014 @07:03PM (#8403588)
This is a great analogy. In high school and college, I believe I was a Windows and then Linux "car guy". One of the things I liked when I (mostly) switched to OSX from Linux was that I no longer had to spend any time fiddling with stuff. I used to find it fun, now it just feels like there's way too many interesting things to be learning about and doing to spend any time tweaking crap on my computer!
Re:Hacker's Guide to Setting Up Your Mac by lelandbatey on Thursday October 02, 2014 @07:50PM (#8403752)
I feel there's two levels of the constant fiddler, one where their fiddling is fruitful, one where the fiddling is not. The difference, I feel, basically comes down to how much you document, test, and automate what you do.

If treated like science instead of voodoo, messing with your computer becomes one of those "interesting things to be learning."

Re:Hacker's Guide to Setting Up Your Mac by sanderjd on Thursday October 02, 2014 @08:29PM (#8403886)
That's how I used to feel, and then (documentation and automation or not) it totally lost its interest for me! Creating software is just so much more interesting than configuring somebody else's. YMMV.
Re:Hacker's Guide to Setting Up Your Mac by wz1000 on Friday October 03, 2014 @02:31AM (#8404530)
Would writing your xmonad.hs count as configuring someone elses software, or creating your own?
Re:Hacker's Guide to Setting Up Your Mac by klibertp on Friday October 03, 2014 @03:43PM (#8407269)
Programming is very interesting and enjoyable, but it's also quite hard. The road from idea to implementation is often long and filled with obstacles. It's well worth it to spend some time "fiddling" to remove some of them. In truth, I personally am not very interested in tinkering with config files - it's boring and frustrating at times - but I still do it. I feel it's my duty as a professional as well as a pride as a craftsman to keep my tools sharp.

People who refuse to do this scare me a little. They got something somebody else told them works and they learned to live with it even if it has flaws. Now I have to wonder: how many refactors weren't done, how much technical debt piled up just because they did the same when writing code?

Re:Hacker's Guide to Setting Up Your Mac by sanderjd on Friday October 03, 2014 @05:40PM (#8407787)
Interesting perspective! I think the analogy to refactoring is also apt. Keeping tools sharp is good, but (quickly, in my opinion) hits a point of diminishing returns. Refactoring is even better but also eventually hits that point (much less quickly).
Re:Hacker's Guide to Setting Up Your Mac by klibertp on Saturday October 04, 2014 @08:17AM (#8409332)
> but (quickly, in my opinion) hits a point of diminishing returns.

That's certainly true - it depends on the tools you use and problems you use them to solve, but sooner or later you'll see your "sharpening" stop giving you any advantage. That's the moment you should just stop :) And maybe try other tools: but that's always a non-trivial time investment and should be done only after making sure there actually is something to be gained from the switch.

This is true in most other areas as well. For example, I'm collecting knives as a hobby. I had to learn how to care for them and sharpen them. It's incredible how sharp you can make a knife given proper tools - whetstones ans stropping - you can get an edge which is sharper than any scalpel or razor. It's also a complete waste of time to do so: it takes hours to make a knife that sharp and it takes one or two cuts to dull it. Granted, my "dulled" edge is probably still sharper than anything you ever saw ;) but in the end I get the same edge I'd get without those extra hours spent on polishing it. It then stays that way for quite a long time. It took me years to learn how much sharpening is "good enough". Now, for my primary pocket folding knife, I spend 15-30 minutes sharpening it per week and get an edge I can trust.

It's the same in programming. Both sharpening knives and tinkering with programming tools can be pleasant by itself. It takes practice to recognize that "good enough" is actually really ok and that anything more than that is a waste of time. Still, I can't imagine not sharpening my knives at all. Or giving them to someone else for sharpening. The very idea seems crazy to me.

Re:Hacker's Guide to Setting Up Your Mac by sanderjd on Sunday October 05, 2014 @01:06PM (#8412746)
Your story about the knives is interesting, because it sounds like all you really need is one (or maybe even zero - I'm not sure what you're doing with them) "good enough" knife, but you enjoy having a bunch and tinkering with them. That's great, and sounds pretty fun. My point in this thread has just been that at some point I realized all I really need is a simple development setup, and that I don't particularly enjoy tinkering with it.
Re:Hacker's Guide to Setting Up Your Mac by tkubacki on Thursday October 02, 2014 @07:36PM (#8403698)
That's why I use Ubuntu's default Unity on desktop and OSX Macbook these days. For me it just works.

Ubuntu has even more powerful window managing key bindings by default (on OSX I need Spectacle).

For all other things I just don't care.

Re:Hacker's Guide to Setting Up Your Mac by tuananh on Friday October 03, 2014 @09:17AM (#8405367)
try Amethyst on OS X : )
Re:Hacker's Guide to Setting Up Your Mac by snotrockets on Friday October 03, 2014 @02:26PM (#8406848)
Still not a real window manager :(
Re:Hacker's Guide to Setting Up Your Mac by afarrell on Saturday October 04, 2014 @11:51AM (#8409744)
How so? Lack of focus-follows-mouse?
Re:Hacker's Guide to Setting Up Your Mac by peakdarkpattern on Friday October 03, 2014 @04:51AM (#8404759)
Anyone who was ever 1k short of EMS to get TIE Fighter booting became a 'car guy' :)
Re:Hacker's Guide to Setting Up Your Mac by driverdan on Friday October 03, 2014 @10:42AM (#8405719)
Took me a moment to realize what you were talking about then visions of my game boot disks came flooding back. They're probably still in my parents' computer desk.
Re:Hacker's Guide to Setting Up Your Mac by ChrisClark on Thursday October 02, 2014 @06:09PM (#8403370)
Yeah, people still recommend automatic task killers for Android and it has never been useful, just harmful on speed and battery life.
Re:Hacker's Guide to Setting Up Your Mac by MichaelGG on Thursday October 02, 2014 @06:16PM (#8403402)
Huawei even builds this nonsense into the OS! The Mate 2 (which is neat because I get 30+hours battery) has this stupid easy-to-hit button on the app switch page that terminates everything. Despite my usage never going below a GB free, it gleefully proclaims "XXX MB freed!" Well shit, I can go buy a 1GB SODIMM and leave it on my desk and always have 1GB free.
Re:Hacker's Guide to Setting Up Your Mac by kristopolous on Friday October 03, 2014 @03:17AM (#8404594)
"Automatic"? Or do you mean an application that makes killing tasks fewer taps?

Because the latter isn't that bad ... I have apps misbehave about twice a week; chrome, skype, yelp, google voice - they all need an occasional fresh start - a convenient way to do that I don't understand the objections against.

Re:Hacker's Guide to Setting Up Your Mac by cbsmith on Friday October 03, 2014 @01:25AM (#8404413)
Re:Hacker's Guide to Setting Up Your Mac by stefantalpalaru on Friday October 03, 2014 @02:58PM (#8407026)
Gentoo is for people who want their bash fixes in minutes/hours not weeks.
Re:Hacker's Guide to Setting Up Your Mac by cbsmith on Friday October 03, 2014 @05:19PM (#8407698)
Agreed. I make fun of Gentoo because I use it (well, more like Funtoo).
Re:Hacker's Guide to Setting Up Your Mac by DrJokepu on Thursday October 02, 2014 @06:15PM (#8403401)
I recall that this sort of stuff was very prevalent on the Mac before OS X.
Re:Hacker's Guide to Setting Up Your Mac by ZeroGravitas on Friday October 03, 2014 @04:34AM (#8404726)
It's always been prevelant everywhere.

The biggest one in Mac OS X history I remember is haxies:

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

"Haxies are a source of controversy among Macintosh software developers. Because haxies make changes to Mac OS X that Apple did not intend, they complicate the operating environment for other developers' applications, and are frequently the cause of system instability and unexpected crashes.[1] Applications by Bare Bones software display a dialog after crashing (or are force quit by the user) if haxies are detected on the system. The Omni Group routinely asks users to remove Application Enhancer modules before contacting customer support for help with their applications.

According to a post by an Apple employee on an Apple mailing list, Apple ignores all crash reports submitted by users if they show that APE is installed."

http://daringfireball.net/2007/10/blue_in_the_face

"Reports abound regarding users suffering from a “blue screen” after upgrading to Leopard: they upgrade, reboot, and get stuck at a blank blue screen.

But, as far as I can tell, there is no mystery involved. There is one and only one known cause for this problem: old versions of Unsanity’s Application Enhancer, a.k.a. APE. Versions 2.0.2 and 2.0.3 of APE are apparently inert but harmless on Leopard. But at least some, if not all, versions of APE preceding version 2.0.2 are incompatible, and will render the system unbootable if left in place during an upgrade."

Re:Hacker's Guide to Setting Up Your Mac by pongstr on Friday October 03, 2014 @10:39AM (#8405707)
I think one of the things that the author forgot to mention is that you don't have to install these as `sudo` basically, homebrew does that already but with other things there no really need for it. As of the FOSS/Linux stuff you are seeing, these aren't random files, these are mac apps see: https://github.com/caskroom/homebrew-cask