News for hackers. Stuff that matters.
Re:Forget flat design. Design in a 1995 style for full impact by dualogy on Tuesday June 11, 2013 @07:26AM (#5860981)
Aaaand it's down. lingscars.com will never understood why a scary DDoS from a "Hacker site" hit them..
Re:Forget flat design. Design in a 1995 style for full impact by laumars on Tuesday June 11, 2013 @08:31AM (#5861246)
Sadly Lin is now blaming Hacker News for hacking her site with the intention of taking it offline - which is just retarded as:

a) we're legitimate curious visitors (albeit not maybe not customers - but who's to say that some of us wouldn't be converted from window shoppers to buyers - that's kind of the point of websites after all) and

b) her webserver set up to only allow for 500 concurrent connections. Which is just pathetic - particularly given the amount of crap she serves (and thus the countless number of additional server connections each visitor makes to download said content).

I used to think that her site was a mark of a genius; where she deliberately made her site to look amateurish to push the site viral and thus give her huge exposure that most other rentals could only dream of. But then I read her rage tweets[1] and realised that she's just another idiot with an internet connection. Needless to say I'm very disappointed - I liked Lin and her site better when I thought it was designed ironically.

[1] https://twitter.com/LINGsCARS

Re:Forget flat design. Design in a 1995 style for full impact by mattmanser on Tuesday June 11, 2013 @09:00AM (#5861401)
To be fair, the trouble with a name like Hacker News is that the uninitiated don't know it's for programmers and entrepreneurs.

And I never get people having a go about stuff like concurrent connections at amateurs, that's completely our fault.

Why can't web servers stop acting like babies that need constant attention with some sort of mystical knowledge to stop them falling over when something new happens? Why is our software so brittle?

Re:Forget flat design. Design in a 1995 style for full impact by laumars on Tuesday June 11, 2013 @09:15AM (#5861481)
Because hardware varies significantly. What's optimal on some systems is sub-par on others. Thus it takes a sysadmin to set up the server optimally.

Also, most web farms these days are built with multiple nodes that serve ~500 concurrent requests (even multiple VMs performs better than one instance of Linux on the same hardware running bare metal) and load distributed across each node. So a 500 concurrent default is entirely reasonable.

However all of the above is moot because she's running Apache on Debian - which does not default to 500 concurrent connections. That is a setting she's applied herself (or paid someone to set up).

And for the record, I'm all for amateurs rolling their own web servers - I'm certainly not elitist in that regard. But the fact remains that some of this stuff is rather technical, so complaining that it isn't easy is like saying cars should be self-servicing and that we shouldn't need garages and engineers.

Re:Forget flat design. Design in a 1995 style for full impact by vidarh on Tuesday June 11, 2013 @09:27AM (#5861571)
But a lot of these limits could default to automatically adjust. Serving much more than 500 concurrent requests for static content is rather trivial on most remotely modern hardware if the software is designed for it.

And reasonable queuing behaviour for sites have been possible for well over a decade. E.g. Eddie is 14 years old (http://eddie.sourceforge.net/txt/WP_1.0.html - see the "Quality of Service" section in particular - while Eddie is intended for clustered setups, there are many situations where this approach is amenable even to single server setups) and provides a solution (amongst others) where if the system can't handle the incoming traffic, rather than serving up the main page and choking on assets and failing miserably in serving up anything to anyone, you can serve up a small light "queue" page and grant access to the full site as and when capacity allows.

There are certainly plenty of things that truly does require a lot of technical skill to sort out, but a lot of software have poor defaults and lacks relatively straightforward features that would make the out of the box experience tremendously much better for less technical users.

Re:Forget flat design. Design in a 1995 style for full impact by laumars on Tuesday June 11, 2013 @09:36AM (#5861632)
> But a lot of these limits could default to automatically adjust.

No. I do not want my server hardware attempting to guess optimal performance. I'd rather do that myself and know that it's set up correctly.

You wouldn't buy a sports car then moan that it's a manual gear box and lacks cruise control. Just as you wouldn't run an automated tool to master a studio recording before sending the master off for CD pressing. If people want guesswork then don't install professional tools (sane defaults are another issue though - I just object to pro-tools applying guesswork).

> And reasonable queuing behaviour for sites have been possible for well over a decade.

Apache does queue TCP/IP connection requests. "Sorry pages" should be configured on the load balancer rather than HTTP daemon as the whole point of them is to offload the work from the saturated nodes.

> There are certainly plenty of things that truly does require a lot of technical skill to sort out, but a lot of software have poor defaults and lacks relatively straightforward features that would make the out of the box experience tremendously much better for less technical users.

A lot of software does have crap defaults, like how Apache publishes it's version number and the underlying OS by default (the ServerTokens directive). However the examples given (concurrent connections and sorry pages) are not wrong (her concurrent connections is set to a non-default value and sorry pages don't belong on the HTTP daemon because they're supposed to bypass the load)

Re:Forget flat design. Design in a 1995 style for full impact by dllthomas on Tuesday June 11, 2013 @09:43AM (#5861677)
"No. I do not want my server hardware attempting to guess optimal performance. I'd rather do that myself and know that it's set up correctly."

Parent said "default to automatically adjust" - and I see no reason it shouldn't. You could still manually tweak all you want.

Re:Forget flat design. Design in a 1995 style for full impact by laumars on Tuesday June 11, 2013 @09:54AM (#5861725)
The automatic adjust option would be a crap default though. Just the process of Apache checking whether a page is static or dynamic means accepting the connection to begin with - by which point it would be too late to forward the connection to a sorry page if content is dynamic. It would also mean that connections end up stacking at a far greater rate as Apache is required to open each and every request just to identify teh requested file. The whole process would just break servers that are already under heavy load and serves no purpose what-so-ever on servers that aren't stressed. And since this whole argument is about how software should ship sane defaults, Apache is definitely doing the right thing by not including such nonsense by default.

Believe me when I say that I'd welcome such a routine if it was practical as it would save me weeks of my life from load testing and fine tuning. But it just wouldn't work in practice.

Re:Forget flat design. Design in a 1995 style for full impact by dllthomas on Tuesday June 11, 2013 @10:06AM (#5861803)
Automatic dynamic tuning isn't an obvious choice[1], and isn't what I was suggesting, and I doubt it was what the parent great-grandparent was suggesting. I simply meant scaling parameters based on the hardware available and whatever else can be determined easily at configuration time.

[1] Not going to come out and say it couldn't work, but I am skeptical for a good many reasons, some of which you've touched on.

Re:Forget flat design. Design in a 1995 style for full impact by laumars on Tuesday June 11, 2013 @10:24AM (#5861902)
Ahh yes. That could work. In fact I've often wondered why Apache didn't attempt a little of that (even just on the most rudimentary level; setting the concurrency of processes based on the number of CPU cores reported. But it wouldn't be hard to add a little more intelligence)

If that was what the parent comments referred to though, then it's still a moot point as Lin was isn't running the default tunings (if her 500 concurrent figure is to be believed), so the issue still falls back on her rather than Apache defaults (which is what this argument started over). Though I guess you could also argue that if Apache did some level of auto-tuning then Lin may not have felt obliged to tamper with the defaults.

Re:Forget flat design. Design in a 1995 style for full impact by vacri on Tuesday June 11, 2013 @08:56AM (#5861376)
Her site is fun. I remember a while ago, you could go to the site map and it'd been laid out like a concentration camp. The visitors at various pages/camp locations would be little humanoids with the relevant browser logo for the head.

She sells cars for a living; she's not an elite hacker, just a curious one.

Also, being a speaker of British English, she would never design her site 'ironically', because irony in British English precludes intention.

Re:Forget flat design. Design in a 1995 style for full impact by laumars on Tuesday June 11, 2013 @09:09AM (#5861452)
> Her site is fun. I remember a while ago, you could go to the site map and it'd been laid out like a concentration camp. The visitors at various pages/camp locations would be little humanoids with the relevant browser logo for the head.

"Fun" and "concentration camp" are two words that should never be used in the same context.

> She sells cars for a living; she's not an elite hacker, just a curious one.

Well obviously. I wasn't complaining about her abilities as a hacker though. I was commenting about how I preferred her site when I thought it was a deliberate ploy to go viral.

> Also, being a speaker of British English, she would never design her site 'ironically', because irony in British English precludes intention.

I'm British English too - and few people here know the correct term for "ironic" let alone use it accurately. We've truly adopted Americanised term there. However if you follow "The King's English", then the term simply refers to stating the contrary to what is meant. Since I was referring to her site looking like it was meant to be amaturish but in fact being deliberate, that could be argued as being "ironic". But regardless of it's usage, you're just arguing semantics and thus missing my point entirely.

Re:Forget flat design. Design in a 1995 style for full impact by vacri on Tuesday June 11, 2013 @10:30PM (#5866135)
"Fun" and "concentration camp" are two words that should never be used in the same context.

Not everyone is deathly afraid of dark humour. Stand-up comedy in particular is full of it, yet people still seem to think of it as 'fun'.

The arguing semantics thing was just that, which is why it was marked as an addendum with the 'also'.

Re:Forget flat design. Design in a 1995 style for full impact by laumars on Wednesday June 12, 2013 @07:03AM (#5867465)
> Not everyone is deathly afraid of dark humour. Stand-up comedy in particular is full of it, yet people still seem to think of it as 'fun'.

Oh I love dark humour, but there are some things we shouldn't trivialise and concentration camps are one of those things (if you had to sit through the same stories I had about your grandparents time in such camps, then I'm sure you'd agree).

Re:Forget flat design. Design in a 1995 style for full impact by nahreally on Tuesday June 11, 2013 @10:57AM (#5862114)
What makes you think the site is "serious" now? She just doesn't know what Hacker News is, and can't be blamed for that. She just knows that some self-proclaimed "hackers" brought her site down with lots of traffic.

The ASCII art in the source code is awesome, BTW.

Re:Forget flat design. Design in a 1995 style for full impact by laumars on Tuesday June 11, 2013 @11:45AM (#5862467)
Oh I'm sure it's not meant to be taken completely serious. But the question is whether it was designed to be so bad that it goes viral. ie is it accidentally badly designed but meant to be lighthearted, or badly designed with the intention of becoming it's own publicity stunt?

The ASCII art is actually pretty impressive - which now has me wondering if I was wrong to dismiss her.

I guess this site is proof that there's often a fine line between genius and insanity.

edit: though there's always the 3rd option; she could just be a successful troll.

Re:Forget flat design. Design in a 1995 style for full impact by pdeuchler on Tuesday June 11, 2013 @08:07AM (#5861145)
Re:Forget flat design. Design in a 1995 style for full impact by menubar on Tuesday June 11, 2013 @10:28AM (#5861937)
For some reason I just got a nostalgic warm-fuzzy over this. Not only the site's 1990s look, but that this kind of "misunderstanding" still happens.
Re:Forget flat design. Design in a 1995 style for full impact by harel on Tuesday June 11, 2013 @07:55AM (#5861090)
This made me laugh out loud for real. Like in 1995.
Re:Forget flat design. Design in a 1995 style for full impact by annnnd on Tuesday June 11, 2013 @08:42AM (#5861292)
I'm not down!!!

Oh, wait, I misread. :)

Re:Forget flat design. Design in a 1995 style for full impact by dolphenstein on Tuesday June 11, 2013 @10:01AM (#5861770)
Re:Forget flat design. Design in a 1995 style for full impact by rajahafify on Tuesday June 11, 2013 @11:04AM (#5862149)
The earlier version looks more modern
Re:Forget flat design. Design in a 1995 style for full impact by pja on Tuesday June 11, 2013 @10:33AM (#5861973)
Ow, my eyes!
Re:Forget flat design. Design in a 1995 style for full impact by marquis on Tuesday June 11, 2013 @12:43PM (#5862966)
Don't assume that: "tried to cache the website? >> I've been chasing it around all day, can't cache it. Too fast for me." (her twitter today).
Re:Forget flat design. Design in a 1995 style for full impact by kephra on Tuesday June 11, 2013 @09:56AM (#5861736)
"WAH! My site is under heavy load! I am working very hard to bring it back soon!"

thats a progress to the prior cookie and redirect hell.

Re:Forget flat design. Design in a 1995 style for full impact by babby on Tuesday June 11, 2013 @08:22AM (#5861218)
Part of me thought this was a practical joke. So many sites back in the day just wouldn't load...