2,116 karma · joined Aug 14, 2007 (19y ago) · 566 submissions
comment 18y ago · link · parent
Working only within the "scripting language" space of the typical LAMP stack will limit your thinking in ways that could hurt you later on.
comment 18y ago · link · parent
If you haven't already done so, download an install ISO for Debian/Ubuntu or CentOs/Fedora, and install it on a spare machine, or even in a VMWare image on your regular workstation. Work through some of the examples on HowtoForge, and learn to install and configure Apache, MySQL and/or PostgreSQL, PHP/Ruby/Python, and Postfix or Exim w/basic spam filters.
Running a virtual private server (VPS) is a bit easier, in the sense that you don't have to manage the actual hardware, but the fundamentals are the same, and you'll be glad you have physical access to the system when you screw up the configuration or forget the root password. Get comfortable maintaining a machine locally, then go out and inflict your administration skills on the 'net at large.
comment 18y ago · link · parent
In other words, you mean "a point release," right? I know that many open source projects (I'm looking at you, Drupal!) may not care about this, but when I see a minor revision number change, I expect my applications and plugins to keep working without a major overhaul.
comment 18y ago · link · parent
RScheme and other persistent language implementations have certainly been able to use the underlying OS paging mechanism pretty efficiently, and the performance numbers Varnish HTTP cache seems to suggest that it can work well for some kinds of web application workloads, too.
comment 18y ago · link · parent
Regardless, you can almost always trade CPU time and/or IO for memory in webapps. Limit your RAM caching, and move less-frequently-used data to temporary files on disk. Be more judicious in your SQL, so that you don't return large result sets to your application servers which then get filtered further in your business logic. Hell, run one or two fewer app server processes to begin with, and just bring up another EC2 image to handle load if you need it.
516.
EC2 now offering "High-CPU" VM (2-8 core) instances (aws.typepad.com ↗)
29 points · by rcoder · 18y ago · 10 comments
comment 18y ago · link · parent
I used an X41 as a mobile development box for quite a while, and only upgraded to a MacBook Pro when I started shooting a lot of RAW photos with my DSLR and wanted to run Lightroom.
comment 18y ago · link · parent
It's probably not as fast as Nginx, but I haven't found our load balancers to be a bottleneck. In fact, we've been doing load balancing on a pair of really, really wimpy servers (Celeron CPU and 512MB of RAM) running Apache on OpenBSD for about a half-dozen different apps for the last year, and never seen the average load climb up over about 0.5, even while handling upwards of 300 requests per second.
comment 18y ago · link · parent
I run Ubuntu on my development workstation, and deploy to Debian servers. While the environments are almost identical, I've wasted far too many hours tracking down stupid bugs in shared libraries that only occur one one distro or the other.
comment 18y ago · link · parent
Personally, I don't think you can really call this a 1.0 release. Pre-beta preview, maybe; stable, point-oh release, definitely not.
comment 18y ago · link · parent
http://github.com/meekish/collective
Looking through the source, I notice they used Defensio as a spam filtering solution. Anyone else have experience with Defensio, and want to recommend or rant on the subject?
comment 18y ago · link · parent
As an amateur photographer with almost 4000 CC-licensed images on Flickr, this pisses me off to no end. My images are under the non-commercial attribution-required variant of the Creative Commons license, which means that simply downloading a copy of one of them to include in your business presentation or website is a flagrant violation of the license terms.
My "gift-giving" is directed towards the general betterment of society, not lazy web designers or bloggers who don't think other people's work is worth anything.
comment 18y ago · link · parent
As a hobbyist, you can start smaller than that, of course. Learning HTML and a bit of Javascript is a great start -- if you can build simple client-side dynamic apps, moving into server-side scripting is a lot easier. Configuring a basic Linux server to host web applications (even if it's just a virtual machine, or a spare PC under your desk) is a big step forward, too.
As an economist who may want to do some web development, though, you might gain as much from learning a general-purpose language like Python as you will from web development. Being able to toss out a quick script to do your simulations or mine an existing data set may prove substantially more valuable to you than an in-depth understanding of PHP and Apache configuration.
comment 18y ago · link · parent
#1: Keep your system up-to-date. Your most likely entry vector is a perfectly legitimate service like Apache or OpenSSH (or even worse, some PHP application) being cracked 'cause you never installed a critical security patch.
#2: Run different services as different users. There's no reason for your Mongrel listeners, cron jobs, reverse proxy, and god knows what else to run as the same user. Basic uid/gid partitioning is at the core of good POSIX security.
#3: Never, ever trust a public web application or server with total access to your data. Use your database server's access controls to limit admin-level access, and consider running your load balancer, public applications, and admin tools on separate hosts.
#4: Find ways to prevent password storage, entry, and checking on your application servers. Read up on and understand Kerberos, even if you aren't going to use it: it's the industry standard for an authentication system that doesn't require clients to expose their password to servers.
comment 18y ago · link · parent
comment 18y ago · link · parent
I worked at startups for several years in the late-90's and early-00's, and then set off to run my own company, and discovered one unfortunate and unavoidable side-effect of self-employment that pretty much killed the idea for me: I hate dealing with all of the business BS that comes with working for yourself.
Incorporation, accounting, taxes, contract negotiations, etc., etc., all distract from the interesting work of building things, which as the original essay so rightly suggested is the #1 priority of most good hackers.
I think that there's a smaller intersection of folks who enjoy both the engineering and business sides of building software. Not everyone who like to hack on code likes the idea of picking out their own corporate structure and office carpets, just as not everyone who eats a healthier, more "primitive" diet enjoys gardening and hunting for their own wild game.
comment 18y ago · link · parent
There's interesting work going on in the problem space, (CiviCRM being the 500lb. gorilla) but no free turnkey solutions I know of. Some organizations literally have to beg to scrape up the money for a basic web hosting account, so monetization of the platform would be tough.
comment 18y ago · link · parent
Just don't over-state what you did, and try to stay in touch with any collaborators or clients who could serve as references, and I see no reason why a startup can't be a great piece of experience to put on your resume.
comment 18y ago · link · parent
It cost about five times as much as I'd ever paid for a laptop, but I haven't regretted the decision for moment, even though functionally, I don't use it for much more than I did my old Linux systems. (The only exception for me is Adobe Lightroom, which by itself had previously been reason enough for me to keep one Windows desktop machine sitting around.)
Why, after gaining all my hard-earned knowledge and credibility shoving Linux and BSD onto poorly-supported machines, would I shell out the extra money for a "trendy" machine? Simple: I got sick and tired of wasting my time trying to make my f'ing machines work.
Instead of fiddling with xorg.conf lines, or downloading proprietary wireless card firmware, or manually twiddling the list of modules to be loaded and unloaded on suspend, I have spent the time in which I've owned the MBP actually doing work. That alone is more than worth the difference in price, especially since that difference actually wasn't very substantial.
comment 18y ago · link · parent
If I were an independent developer on the Mac platform, I would personally see this as a slap in the face. Indies spent years keeping the Mac alive as a viable platform while the big vendors ignored it. Now, Apple has chosen to give preferential treatment to the same enterprise and entertainment concerns that once shunned them.
The losers will be the indies, hobbyists, open source developers, and everyone else whose labor kept the platform alive through the dark years.
I've been buying Macs for almost 15 years, but my current system will sadly be my last, unless Apple stops showing such contempt for the intelligence of their own long-time supporters.
comment 18y ago · link · parent
It'll give you exposure to a new code base, earn you some community good-will, and be a genuine differentiator when you do go looking for that new startup/consulting/whatever gig.
comment 18y ago · link · parent
Anyone writing an article promoting the use of threaded concurrency and using PHP as an example of threading done right obviously doesn't know what they're talking about. PHP has basically zero support for threads, and historically has basically barred you from using the threading MPMs in your Apache setup, too, since so few extension modules were thread safe.
Even worse, he obviously has some trouble understanding the relationship between threads and processes in any modern multi-tasking OS, which leads him to say silly FUD-esque things about processes being unable to effectively utilize multi-core systems.
Threads are just processes that share some state. They offer no inherent performance advantages over plain processes in a "shared-nothing" architecture, unless your bottleneck is copying of data between processes on a single machine.
A fully-threaded Rails stack would kick ass for one reason: RAM. Instead of having 6, 8, or more 100+ MB Mongrel listeners, you could have a single 150-200 MB process with only one copy of its shared state, loaded libraries, etc.
comment 18y ago · link · parent
When I'm at work writing code, it's 98% Linux, with occasional compatibility testing on a Mac or Windows system. Apache, Vim, Ruby, and PostgreSQL all run just as well on Debian as they do on a Mac, and a lot of other packages work much, much better -- plus, they're just an 'apt-get' away.
comment 18y ago · link · parent
It's worth remembering that someone has to pick your resume from the pile before you ever get in the door to have your intelligence tested. For a recruiter or HR person without a strong technical background, the name of an institution where an applicant earned their degree jumps out a lot more immediately than tidbits like "taught myself Ruby and wrote a point-of-sale system" or "built RPC bridge between Java and Common Lisp for desktop GUI apps."
Now, if the folks screening resumes are themselves hackers, your screening process will make selections based on much more useful criteria.
comment 18y ago · link · parent
If fewer and fewer CS grads are entering the market, it may force interviewers and companies to (gasp!) evaluate candidates on the basis of traits other than the name of the university they attended. We might even see crazy suggestions like hiring based on intelligence and experience gain some traction in the IT management field.
Personally, I consider this good news for me, as a non-degree-holding IT professional. Fewer graduates in the hiring pool means more call-backs for interviews and fewer glass ceilings.
comment 18y ago · link · parent
The trick would be to run PHP as a command-line scripting language, just like the others.
comment 18y ago · link · parent
No way. Absolutely, no f-ing way would I ever let my address get in there, and I would strongly advise against any of the users I support ever volunteering such information either.
If you're truly seeking interested parties to email about a topic, a few minutes spent on Google should let you find folks who blog, post to public mailing lists, or otherwise mark themselves online as interetsed in that area.
The only value to a fully machine-readable database of the sort you describe would be for lazy cold-calling salespeople and spammers/phishers...though the separation is really only one of degrees.
comment 18y ago · link · parent
My brother is currently working an awful, low-paying job with a startup because he has visions of a big stock payout dancing in his head. They continue to nurture and encourage those visions, despite having no prospects for an IPO, and only marginally more for a buyout.