5 ms·
Ask HN: best cheap easy setup for initial development
What is the best cheap setup for initial development? Low cost, easy to change to different languages (or web server) if first choice doesn't work, easy to move to a colocation site if that time ever comes and easy to administer. GUI isn't required.
My last webserver was circa 2000 with Apache and Redhat.
- deleted 18y ago[deleted]
- csomar 18y agoI didn't understand what are you looking for, but I think you want to start a project on a given platform. For that I recommand, Visual Studio. 1- It's 100% free of cost (express edition), you get the editor (Visual Studio Express) for free and .net frame work is free to install and compatible on Windows versions 2- It's very easy to use and Object Oriented. It also has a lot of power and by learning .net you can develop for windows, web or mobile interface. 3- You can code a program in different languages with Visual Studio Also lot of videos and tutorials can help you getting started with it
- pclark 18y agowhat benefit would that give over (for example) Eclipse? Ubuntu + Eclipse IDE = develop pretty much any language, for free.
- cjbos 18y agoA small warning here, the free express version is a little crippled. I went through the .net mvc Nerdinner tutorial last weekend (was bored), but the express version didn't support the unit test setup, nor does it support scm plugins (So the visualsvn plugin didn't work). Might not be a show stopper for some people but it's not ideal.
- pingswept 18y agoYou're right, of course, that the weakest edition of Visual Studio is free, but I think it's a mistake to choose that way. If you're serious about programming, you want the lowest lifetime cost per performance ratio, not the lowest entry cost. Call me cheap, but I think choosing Visual Studio is like training yourself to spend money. I'd stick with Eclipse or Notepad++ or Gedit plus Apache and Django or Rails, or something in that direction. Especially for web development, money doesn't buy you much beyond bandwidth.
- mannicken 18y agoEmacs. It can be configured to be much more powerful than Studio, it's completely free, open-source, incredibly programmable in the best language in the world (LISP), fast. I should shut up now though.
- sho 18y agoChoosing the Windows platform, regardless of any perceived benefits, locks you into Windows-everywhere for the life of your application. Even if it seems easier at first, it could turn out to be a very restrictive and expensive straitjacket in the future. I'd think long and hard about choosing to deploy on anything but linux (or FreeBSD).
- pj 18y agoWhat exactly is the difference between being locked into Microsoft or being locked into Mac or Linux or FreeBSD or Java or Python or AppEngine or EC2 or technology in general? If you start building your project on a particular stack and then need to move, there will always be a transition cost.
- sho 18y agoThe difference is, obviously, that open source software is completely free, and the others aren't. I'm not trying to start yet another OSS vs. MS war here, but all other things being equal, with one option you have to pay money for server/DB licenses (and then constantly worry about compliance), and with the other you don't. I understand why companies use Windows - they need common desktop apps, they need Office. But the question was about web development. There is little advantage to using MS tools, in fact most of my web dev associates would say they are worse. Worse, and expensive, especially the databases. Why sign up for that kind of trouble? Stick to OSS.
- pj 18y agoI'm talking about transition costs. Vendor lock-in is only an issue if you need to move. Microsoft has a BizSpark program that lets you have access to their entire suite of development and desktop applications for $100 at the end of 3 years. That's cheap! Almost free. But still, I'm talking about Vendor Lock-In and transition costs. For example, say it takes you 2 years to build your product, you start on Microsoft and then need to transition to Linux. How much would that cost? What if it turns out you just can't find enough developers on OSS to move your product forward or they cost too much and you want to move Microsoft, because all the metrics say the TCO on the microsoft side is actually lower. How much would it cost to escape the OSS lock-in? "Free" OSS is not actually free. The product is free, but services still cost money. The OSS community neglects the services cost from the TCO, but they are very real.
- pj 18y agoYou're new here, so a little advice: Don't ever mention anything outside the open source realm around here -- especially anything about Microsoft. HN'ers hate microsoft. pg writes articles about how Microsoft is dead. Hacker News is an environment that is not conducive to open discussion, only open source.
- sho 18y ago"HN'ers hate microsoft." I think you're onto something there, although we could expand it into an even more general rule: "Anyone who has ever done any standards-compliant web development at all, ever, hates Microsoft". Fair?
- pj 18y agoIf, by "fair," you mean, "Will I get a lot of up votes?" then Yes. If, by "fair," you mean, "Is what I just said true?" Then no.
- DanHulton 18y agoI'm having a hard time believing you've tried to do the aforementioned (standards-based web programming). Having to include Microsoft browsers in that is like pulling teeth. Your OWN teeth. With no painkillers.
- grinich 18y agoMicrosoft can't even build a standards-compliant web browser. How can you expect them to have a good web development suite? A nonprofit feeding off donations from Google has constantly outperformed one of the largest software corporations in the world here. (!!) Free software is chosen not because it's free, but because it's /good/ software. Hackers have helped develop their own tools and fixed bugs themselves, so most stuff is very stable. And when there's a need for a new feature, they make it, so it's very capable. It's like survival of the fittest for software. I think a lot of people (and companies) have the idea that you can't get anything good for free. In the software world, that just isn't true. Companies like Slicehost realize this, and give you full control over your slice. Before you deploy though, you could probably just do with a ubuntu box shoved under your bed.
- mechanical_fish 18y agoUbuntu Linux. You can use aptitude or apt-get to install pretty much whatever you want, it will run on whatever hardware you have at the moment, and it's free of charge. If you already have a Mac you could decide to stick with the Mac OS for development instead (I use it; it works fine), though you will almost certainly not be running Mac OS on your server. So you'll have to figure out Linux anyway sooner or later. The Slicehost tutorials make it much easier -- a lot of the grunt work has been figured out and documented.
- jlees 18y agoI develop on a Mac and deploy on Slicehost (Ubuntu), it's easy as pie and cheap as chips.
- berntb 18y agoHow does Ubuntu compared to Debian on the server side, these days? Will the new FreeBSD kernel support get moved to Ubuntu? The admins I know doing this for big installs swear by FreeBSD. (I've only managed my own desktop for quite a few years and have no clue. No O/S flamewar, plz! :-) ) Edit: I went Ubuntu-only on my desk a few years ago, previously Debian-only (well, one computer still have a Debian partition too and I also have a Mac). I'm asking about servers.
- mikeyur 18y agoUbuntu is just.. easier. That's what I get out of it. It's super simple to setup and keep up.
- jackowayed 18y agoOK, you're pretty ambiguous on what you want, but based on "easy to move to a collocation center" and "GUI isn't required" it sounds like you're mostly asking about servers. For initial development, you probably don't even need a server. There's pretty much always an easy way to have a local server run on your computer for development. When you are ready for a server (probably not until you're about ready to go live), I'd suggest Slicehost. They're well-documented and cheap ($20/mo. for their smallest server!), and you can scale the server all the way to 15.5GB of RAM in just a couple of minutes. You could look at Linode too though. It seems like you get a little more RAM for your buck, especially on the smaller end, but you can only go to ~2.8 GB of RAM on one server. As for your development computer, I love Ubuntu, but it really depends what you want. If you want to do everything through an IDE, it depends on your language, but the best IDE may be for Windows. If you want to do much of anything through the command line or think you might in the future, develop on either Mac or Linux. Their shells are just way better. There is always Cygwin, which sorta fixes the problem, but I think true Unix works better.
- radu_floricica 18y agoConfirm. Went through everything from old office computer used as web/subversion server while still on windows xp to slicehost. It all depends on the details... but if you're not sure what they are keep it simple. Depending on what you feel more confortable with you could either slap ubuntu on an old computer, or take a small slice at slicehost. The second has less bandwith (then a local computer) but overall it's much more flexible.
- patio11 18y agoWhen you are ready for a server (probably not until you're about ready to go live) I'd suggest getting it the day you start your project. First: twenty-five bucks a month, seriously, what are you even doing thinking about this ($5 extra for backups, which is another "why are you even thinking about this" item). Second: source control from the very first line of code. The production webstack, from the first line of code. The production deployment procedure, from the first line of code. etc, etc
- 18y ago
- jojoleflaire 18y agoOne thing that took us a while to figure out, but helped immeasurably once we did was getting good, at VM/image based development. So in our case we wrote the code on whatever laptop we liked best (I did most of the coding for first few versions our software on a 12" PowerBook, other folks used ThinkPads or Dells with Windows). But having a beefy server box with enough memory/disk to host a few different VM environments (various QA, staging, multiple different DBs etc.) and the ability to rapidly set up new ones was killer. It makes the laptop choice more a matter of personal preference, and keeps a consistent environment where it counts.
- c00p3r 18y agoStrategy: Linux under Xen. (just copy disk image or dump/restore FS) Amazon EC2 for production. Tactics: Fedora (It will become CentOS after polishing) everything already packaged - Django, Ruby, nginx, apache with tens of modules, etc. Hint: Forget Java.
- patrickg-zill 18y agoVirtualBox (free from virtualbox.org) running on top of whatever Windows, Mac-x86 or Linux system you have. Debian or Centos as the operating system that you run as a VM inside VirtualBox. You should be able to easily install Python, Ruby, TCL, Lisp, etc. on either platform for development language; Apache or NGINX or Lighttpd as the web server; Emacs or Eclipse or whatever as the editor.
- hedgehog 18y agoFor a project I'm on right now we're using VMs w/ Debian on developer workstations. Deploying the app is a tarball & a shell script on top of a base Debian install. Any time we need a new public server we spin up a new EC2 instance (Alestic Debian) & run the script. Ticket tracking is a Google Spreadsheet w/ some formulas to calculate ticket sort orders, estimated completion dates, etc. Works well for us on the budget we've got.