Live data from Hacker News

Ask HN: is Mac or Linux the choice for a modern web hacker?

news.ycombinator.com

1–10 of 20 posts

Ask HN: is Mac or Linux the choice for a modern web hacker?

#1
Let's say you're a lean mean startup web app writer heavily relying on the latest OSS techologies and frameworks to get your job done. You don't care so much for the MS .NET-based stack, you like your various rails, djangos, scalas and nodes and need to get stuff done fast and efficiently.

What would you choose? What are some good arguments in favor of using OSX (I generalized it to "Mac" in the title) over Linux and vice-versa?

Thank you!

Re: Ask HN: is Mac or Linux the choice for a modern web hacker?

#2
Develop on the same platform that you deploy on - which will probably be some flavor of Linux...

That being said, I usually develop in a Ubuntu VM running on OSX -- so you get the best of both worlds, a system that just works, and a development environment that's the same as what you'll end up deploying on.

Re: Ask HN: is Mac or Linux the choice for a modern web hacker?

#3
While there are tools, usually the same tools, for both OS's... I personally have found that anyone who is serious about hacking should have a working knowledge of both OS's. Usually when I do any serious hacking, I use BackTrack. This is a Linux OS that has all the tools and tutorials that I need to crack a system. The problem I find with Mac OS X... The hacking tools are readily available on the internet if you know what you are looking for, and where to find them. So to put it simply, it takes more time to research how to hack if you are using a Mac. I just want people to know, I love my Mac. I upgraded to Lion the day it came out. I love my Ipod touch 4G, and my Ipad. However I also love my Linux desktop. I can hack just about anything with it.

Re: Ask HN: is Mac or Linux the choice for a modern web hacker?

#4

Develop on the same platform that you deploy on - which will probably be some flavor of Linux... That being said, I usually develop in a Ubuntu VM running on OSX -- so you get the best of both worlds, a system that just works, and a development environment that's the same as what you'll end up deploying on.

Do you ever feel that the Ubuntu VM isn't fast enough and you wish you had a real installation of the OS to work with, is the VM more than enough?

Also, what software do you use to manage that VM?

Re: Ask HN: is Mac or Linux the choice for a modern web hacker?

#6
If you look purely at what is needed to build a web app - the programming language you'll use, an editor and a web browser - and you're a lone developer (not working with a team with existing tools that you too will need), it's hard for me to come up with a solid argument for buying a Mac purely for that (though I'm a huge Apple fan). You can also use apps like Gimp on Linux to create graphics.

Just about all business-ey apps you might need can be gotten for free from Google Apps if you aren't worried about the big G having all your information.

If you already have a Mac though...

I also agree with the points of other commenters here. If you're working on the same OS you're deploying to and have the exact same software installed changes of FUBAR'ing the server by accident are reduced.

Re: Ask HN: is Mac or Linux the choice for a modern web hacker?

#7

Develop on the same platform that you deploy on - which will probably be some flavor of Linux... That being said, I usually develop in a Ubuntu VM running on OSX -- so you get the best of both worlds, a system that just works, and a development environment that's the same as what you'll end up deploying on.

Do you ever feel that the Ubuntu VM isn't fast enough and you wish you had a real installation of the OS to work with, is the VM more than enough? Also, what software do you use to manage that VM?

I use linux for development, but i still keep my dev environment separate via http://vagrantup.com/ .

I've found it fast enough except when using the shared folder support. My laptop could use a faster disk though. So .. YMMV.

Re: Ask HN: is Mac or Linux the choice for a modern web hacker?

#8

Develop on the same platform that you deploy on - which will probably be some flavor of Linux... That being said, I usually develop in a Ubuntu VM running on OSX -- so you get the best of both worlds, a system that just works, and a development environment that's the same as what you'll end up deploying on.

Do you ever feel that the Ubuntu VM isn't fast enough and you wish you had a real installation of the OS to work with, is the VM more than enough? Also, what software do you use to manage that VM?

You could always boot into the full OS but I've never had any issues with it being too slow or not fast enough when running VM. But then again, it all depends on your machine.

That said (since I'm already responding to this, I'll answer the original question here too), the best answer is usually whatever you're most comfortable working with. However, the exception here for me is that I would personally prefer a Mac simply because I could install Linux and that a Mac is required for iDev.

Re: Ask HN: is Mac or Linux the choice for a modern web hacker?

#9

Develop on the same platform that you deploy on - which will probably be some flavor of Linux... That being said, I usually develop in a Ubuntu VM running on OSX -- so you get the best of both worlds, a system that just works, and a development environment that's the same as what you'll end up deploying on.

Do you ever feel that the Ubuntu VM isn't fast enough and you wish you had a real installation of the OS to work with, is the VM more than enough? Also, what software do you use to manage that VM?

> Also, what software do you use to manage that VM? could you please clarify what you mean by managing a vm ? are you looking at running 100's or even 1000's of vm ? are you running your vm on dedicated h/w (most likely not !) which would most likely involve migrating running vm's across server blades etc. etc. for development needs, a handful of vm's can be very easily 'managed' by your virtualization solution...

Re: Ask HN: is Mac or Linux the choice for a modern web hacker?

#10

Develop on the same platform that you deploy on - which will probably be some flavor of Linux... That being said, I usually develop in a Ubuntu VM running on OSX -- so you get the best of both worlds, a system that just works, and a development environment that's the same as what you'll end up deploying on.

Do you ever feel that the Ubuntu VM isn't fast enough and you wish you had a real installation of the OS to work with, is the VM more than enough? Also, what software do you use to manage that VM?

> Also, what software do you use to manage that VM? could you please clarify what you mean by managing a vm ? are you looking at running 100's or even 1000's of vm ? are you running your vm on dedicated h/w (most likely not !) which would most likely involve migrating running vm's across server blades etc. etc. for development needs, a handful of vm's can be very easily 'managed' by your virtualization solution...
Post reply on HN