Add more error checking in auth
[blerg.git] / www / welcome.html
1 <!DOCTYPE html>
2
3 <h2>But what's wrong with Twitter?</h2>
4
5 <p>I'M GLAD YOU ASKED. There are two aspects of Twitter that just bug
6 me as an engineer:</p>
7
8 <ol>
9 <li><strong>Ruby on Rails</strong> - Using rails to prototype a system is
10 fine &mdash; scaling up to a million hits a day with it is just a bad
11 idea. As the service grew, I'm sure it cost them a lot more time than
12 it saved.</li>
13 <li><strong>140 characters is not enough</strong> - I routinely write
14 sentences longer than 140 characters, so I can't even begin to imagine
15 making a point in such a small space.  This textual confinement has
16 led to the rise of URL shorteners, which are <a
17 href="http://bytex64.net/blog/e2256">breaking the internet</a>.
18 </ol>
19
20 <p>Blërg solves these problems by applying absurd reactionary
21 engineering. Blërg's database backend is a custom C program that
22 handles requests over HTTP and stores data in a very small and
23 efficient indexed log-structured database. The frontend is done
24 entirely in client-side Javascript. A single post can be up to 65535
25 bytes in length.</p> 
26
27 <p>Which is not to say that I believe writing your service in C is the
28 solution to all your problems.  Clearly, this approach has just as
29 many hairy problems that will bite you in the ass sooner or later.
30 The best way, as with most things, lies somewhere in the middle of
31 high-level abstraction and ZOMGHARDCORE OPTIMIZATION.</p>
32
33 <h2>Is this a joke?</h2>
34
35 <p>Yes. No. Maybe.  Blërg is an exercise in constructive satire &mdash; a
36 fully functional service created in a fit of hubris to poke fun at Twitter's
37 engineering.  It's just for fun, but no one is going to keep you from using
38 it seriously. :]</p>
39
40 <h2>Tell me more about this database engine.</h2>
41
42 <p>Here, take a look at the <a href="/doc/#design">design docs</a>.</p>
43
44 <h2>I'm a social media whore and I want to share links!</h2>
45
46 <p>I've created a bookmarklet just for you: <a href="javascript:location.href='http://blerg.dominionofawesome.com/?post/'+encodeURIComponent(document.title)+'/'+encodeURIComponent(location.href)">Blërg it!</a></p>