My Recent Development Stack: OS X Tools
renownedmedia.com
renownedmedia.com
On most pages you can even just open the inspector (cmd alt i) and do $.get() to inspect json from random places
curl 'http://api.twitter.com/1/statuses/user_timeline.json?screen_name=twitter&include_rts=1 | prettify_json.rb| lesscurl "http://api.twitter.com/1/statuses/user_timeline.json?screen_... | python -m json.tool | pbcopy
If you are developing Mac and iOS applications it is especially useful as it gives .a and .dylib files custom icons indicating their architecture.
A few days ago a co-worker turned me on to SourceTree (http://www.sourcetreeapp.com/), which is also free and developed by Atlassian. I've got to say it's a bit more polished and so far it looks like it might be replacing GitX for me.
Also, it's great that Source Tree supports multiple projects. I tried Tower a while ago and it only allowed you to have one project open at a time. Maybe that's changed now, but it's also not free.
I bought SourceTree for $60 and was completely satisfied, but since then Atlassian bought it and made it free. I would say SourceTree is the best Git client for Mac (or any platform).
It includes 3 forks of GitX, Tower, SourceTree, and Gitbox.
Hopefully people find it of use.
Does anyone know if you can open multiple docs in macVIM, in the same window and switch back and forth between?
if has("gui_macvim") "Use Experimental Renderer option must be enabled for transparencY
set transparency=15
set guifont=Monaco:h10
set noantialias " I like my Monaco this way ;D
" Swipe to move between bufers :D
map <SwipeLeft> :bprev<CR>
map <SwipeRight> :bnext<CR>
endifIt suffers a lot from the has-to-work-on-all-platforms UI design issues though (even though it uses wxWidgets).
Personally, I hardly ever use the GUI tool (the exception is explaining really big query plans) because the command line psql client is really, really good. It has an awesome line editor and so many convenience features like always shelling out into $PAGER for big result sets, or the very handy \x mode.
And it offers tab-completion not just for internal commands, but even for the SQL queries you are typing.
When I need to pick apart a query plan, I paste it into http://explain.depesz.com.
http://www.navicat.com/en/products/navicat_pgsql/pgsql_overv...
The Mac gives you a really great portion of 2 worlds - the ability to operate from the terminal much like Linux but with amazing support for anything requiring you to either use or create GUI apps. The only problem is that once you venture off too far in one direction or the other you're either wishing you were on your Mac or you Linux machine. I don't subscribe to the belief that on OS is superior to another. Mac and Linux each have their very special uses. Instead I subscribe to the belief that 2 OSes are better than the third (unless you're coding for Windows exclusively in which case I wouldn't want to be you).
That's not to say I don't miss things from Linux (/proc, XMonad to name two), just nothing all that much.
edit: also macports seems fragile too.
And of course, working in a VM with it is always an option (and I have a VM setup with it for when I want to drop back into linux).
And I really, really miss being able to get *-dev packages.
First off, Lion has replaced GCC with LLVM which for the most part is fine but I was doing some work with Ruby that I started on my Linux machine then when I cloned it on my Mac (which is where I do the majority of my work) I had problems with Rubygems and RVM. This was due to me having the latest Xcode 4.2. I was getting a weird Posix error because some gems needed to be compiled with GCC. So then I had to remove Xcode, get GCC as a standalone install and I'm still stuck with errors. Most things work but the other day I just wanted to deploy a new Octopress blog and rake generate throws a long list of errors at me. So that was the first time I was truly upset with Mac.
Then the other little things are:
- inability to save or rename files without a name (as in .htaccess). I always have to open my main text editor for that as you can't rename files that way nor does TextEdit allow that
- no more "Save as"
Showing hidden files got a little harder too and then there were some general quirks that made it seem like the OS was babysitting me and not letting me just do what I knew I wanted to do. For the most part I'm over those and I love my Mac to death but I'm still pissd about how much of a chore it is to get RVM and Runygems working in Lion.
I believe rake should allow you to specify a C compiler on the command line. Even if it doesn't, you can temporarily change your CC environment variable to point to the gcc binary instead of llvm-gcc and things will probably work. Probably.
More information is in the Homebrew issue:
At 2AM I finally was able to do my sudo make install and everything was right with the world again. :)
You can run Lion virtualized under OS X, if you are so inclined, but I don't see any advantage to doing so.
I like the isolation of environments so much that even if I were to switch to Linux as my day to day OS, I would still develop every project in a VM.
So to add a bundled library to the mac's PHP, you download the PHP sources (most of the time, not even the version has to match) and you extract them.
Then you cd into ext/<name of extension> and type phpize, followed by configure and make install.
Now you can enable the freshly built and correctly installed extension in your php.ini.
No need to replace the system PHP with something home-grown.
Try getting a basic AMP stack running on Windows. It's a pain and full of non standard practices. Even if you've found it easy to do, you probably have to deploy to a Linux environment for production anyway. Being sure everything works when moving from WAMP to LAMP environments can be risky.
But, of course, that all depends on the complexity and specifics of what you're doing. Everyone's mileage varies. It's been my experience that Windows is great.. if you're both developing,mtesting and deploying to production using Windows all the way through. Otherwise it's Mac/Linux all the way for me. But again, you can say the same of Mac/Linux. But why would you develop on Mac/Linux only to deploy to Windows anyway?
As for Visual Studio, I have Win7 and VS2010 on a machine I use every 6 months or so and I feel like I'm being smothered. VisualStudio wants me to write code in a way that locks me in to the Windows environment and that just not where I belong. I feel like the other platforms' IDEs just get out of your way and let you write code.
You may run into some issues when you switch to Mac but luckily there are far more resources out there to help you out that work on both Mac and Linux than there are for Windows. Windows isn't bad, it's just different and that different-ness can be a pain for the average developer.
I only wish I could find a good Mac client for Postgres. pgAdmin III is awful.
I haven't, but they have a full suite of tools.