Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rcoder
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
481.
▲
by
rcoder
18y ago
The problem is that, in the real world, monolithic polling network servers have to manage all the transaction-specific context for your application in a single binary. I'm not challenging the fact that the C10K architecture wins if we're ta
482.
▲
by
rcoder
18y ago
This is only true if you think your application can do a better job of scheduling than the underlying OS kernel. In many (if not most) cases, this is false. For HTTP servers hosting static content, you may be able to out-perform the OS thre
483.
▲
by
rcoder
18y ago
Apache buys you two things: rock-solid, time-tested stability, and millions of words of writing both online and in print about administration and tuning. Lighty and Nginx are both (like thttpd) leaner, potentially faster, and "sexier." Neit
484.
▲
by
rcoder
18y ago
I deployed a low-volume production service on webpy a couple of years ago, and haven't had to pay more than cursory attention to logs and patches since then. That's fine with me, especially compared to, I dunno, Rails or PHP, where you pret
485.
▲
by
rcoder
18y ago
"Strongly-encrypted channel" basically means VPN in my book. If the phpMyAdmin server isn't on a publicly-routable IP, and you don't have the VPN tunnel open when you aren't using the secure host, then it will in fact defeat CSRF.
486.
▲
by
rcoder
18y ago
Nope. Another miss. Good cooks can imagine flavors and guess at timing and ingredients for food they've never tasted (much less prepared) just as good painters can visualize a work in their head before ever putting brush to paper. Programme
487.
▲
by
rcoder
18y ago
> Of course they are doing this to "protect the user", and their "network", which is total b.s. I'm no more a fan of the vetting process that mobile apps have to go through than anyone else, but this particular piece of FUD actually bot
488.
▲
by
rcoder
18y ago
Both my current handset (BlackBerry Curve on T-Mobile) and my previous one (Sanyo MM-7500 on Sprint) supported "over the air" installation of 3rd-party J2ME apps. Many of the applications the poster described as not working (Google Maps, Op
489.
▲
by
rcoder
18y ago
Actually, the solution is not to ever use phpMyAdmin on a public web server. Just like Webmin, and every other tool that has god-like power over critical system resources, it should be on a private IP, accessible only from trusted systems
490.
▲
by
rcoder
18y ago
If you're using HTTP Basic auth, your browser will happily cache the credentials and re-submit them every time when asked for the same server/realm combination. You'll need to restart your browser to clear the cached auth data.
491.
▲
by
rcoder
18y ago
All three work if your goal is simply to avoid forking a new Python interpreter for each incoming request, ala CGI. The difference is in where they hook into the request-handling workflow within Apache. Both FastCGI and WSGI apps only recei
492.
▲
by
rcoder
18y ago
I think there are two potential skills being evaluated here. The first is whether someone can think about and write code without being in front of a computer. The second (and more valuable, IMHO) test is whether they can code without resort
493.
▲
by
rcoder
18y ago
While it may be possible to get the same level of control over the request lifecycle using mod_rewrite and simple dynamic content generation, it can often be awkward and slow compared to doing the same thing via a full-blown Apache script
494.
▲
by
rcoder
18y ago
Ruby, as a language, is reasonably compact, and certainly not a big jump for someone with any amount of Perl and OO experience. Rails, on the other hand, is a big framework. You can learn the basics in a few days, but much like PHP, you rea
495.
▲
by
rcoder
18y ago
That attitude would guarantees that you'll never pick up new skills, or stretch yourself enough to discover what you're really capable of. Learning new programming languages and frameworks is incredibly important, if your goal is actually t
496.
▲
by
rcoder
18y ago
This of course disregards the #1 reason to use mod_python (or mod_perl, mod_ruby, or any other fully-integrated scripting language Apache module): namely, because you're not just limited to generating dynamic content. The Apache request-han
497.
▲
by
rcoder
18y ago
I'm going to buck the general trend here, and recommend that your next language not be Perl, Python, or Ruby. If you really want to become a well-balanced programmer, you should either learn a lower-level, compiled language like C or Java
498.
▲
by
rcoder
18y ago
There's really no substitute for setting up a system that you can break without negative consequences. Also, putting a public server for which you have root access out on the Internet entails a degree of public responsibility: if your box g
499.
▲
by
rcoder
18y ago
"...a point release...[that] doesn't seem to change the overall API too drastically" 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
500.
▲
by
rcoder
18y ago
Of course, that's only true if you're using a totally flat heap. I don't see any reason why you couldn't be a little more clever about using a hybrid GC approach (generational + thread-local allocation pools, for example) to minimize the si
501.
▲
by
rcoder
18y ago
RAM just hasn't gotten cheaper at the same rate as clock cycles. Offering lots of memory for very little additional money couldn't possibly be cost-effective, unless Amazon is also memory-constrained for most of their applications. Regard
502.
▲
EC2 now offering "High-CPU" VM (2-8 core) instances
(aws.typepad.com)
29 points
by
rcoder
18y ago
|
10 comments
503.
▲
by
rcoder
18y ago
Honestly, I'd recommend looking for a used Thinkpad -- something from the T41/X41 era will be cheap (<$500), well-built, and extremely well-supported under just about any recent Linux distro. I used an X41 as a mobile development box fo
504.
▲
by
rcoder
18y ago
I've been using Apache 2.2 with mod_proxy_balancer to do load balancing for PHP and Rails apps for over a year now, and had pretty good experiences with it. Since I support a lot of existing Apache servers, the configuration is easy for me
505.
▲
by
rcoder
18y ago
I agree with this in theory, but there's one big advantage to running the same distro on both workstation and server: versioning and compatibility issues at deployment time more or less disappear. I run Ubuntu on my development workstation,
506.
▲
by
rcoder
18y ago
Inserting a big chunk of C++ into my Apache listeners doesn't give me warm fuzzy feelings. Neither does the fact that mod_rails just flat-out doesn't work on OS X, which is where a large number of Rails developers do most of their actual, y
507.
▲
by
rcoder
18y ago
..and for those interested in the Wiki itself, allow me to save you the few seconds required to find the footer link: http://github.com/meekish/collective Looking through the source, I notice they used Defensio as a spam filtering solutio
508.
▲
by
rcoder
19y ago
Quote from the original article: "[...]And the license is a generous gift from the photographer to you." 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-c
509.
▲
by
rcoder
19y ago
Flickr does have fine-grained license options on the advanced search page, and also has an "add to favorites" button. It's just above every image. You do have to register and log in to store favorites, though.
510.
▲
by
rcoder
19y ago
If you're hoping to get into web development, then you'll need to learn quite a lot of pieces of technology. For a professional, the minimum knowledge base is TCP/IP networking, HTTP, HTML, Javascript, the DOM, SQL, a bit of UNIX shell, and
More ›