This is Jeff Atwood's TypePad Profile.
Join TypePad and start following Jeff Atwood's activity
Jeff Atwood
Recent Activity
> What does it mean for search engines that the client is entirely JavaScript
See for yourself; search for http://meta.discourse.org content
> What effect do you think the relative scarcity of affordable Ruby/Postgres hosting will do to the adoption rate of Discourse?
Vice-versa, we want the killer app to drive better adoption of Ruby hosting.
> What it actually means is that you are keeping an exit door if you ever want to close the source again in the future: contributors agree to license you their copyright for whatever future happens.
The CLA is there because we reserve the right to re-license the Discourse code when selling it to enterprises.
> I hope, there'll be an easy way to migrate data from old forum software to be used with this new engine.
Realistically we don't expect many migrations of large communities, because the social and technical friction is too high, see http://www.discourse.org/faq/#switch But that said, we do have a solid export and import format, so anyone can write a converter to Discourse import format.
> Reddit does a great job at promoting discussion with their design.
I disagree, I think Reddit is great for link and meme fun, but terrible for actual discussion.
> To me, that means you need a nested / threaded system
See http://www.codinghorror.com/blog/2012/12/web-discussions-flat-by-design.html
> I'm curious to know why you decided to use Ruby on Rails for Discourse.
Open source projects have to use languages and toolchains that are free to everyone, to reduce any friction in participation. It was either Ruby or Python, and Robin knew Ruby, so... http://blog.discourse.org/2013/02/the-discourse-team/
> No OpenID login option
It's just hard unless the OpenID provider validates the email. Email = identity. People conveniently forget that Stack Overflow, unlike virtually every other website on the internet, did not want your email at all, and would not use it even if it had it.
> When will codinghorror comments be powered by Discourse?
It's on the roadmap! Probably 12 months out though.
> with SO, you deconstructed the online forum/BBS, and now you are setting out to reconstruct them
Not at all -- Q&A is a small subset of what communities do. Not all communities can work in a fact and science based Q&A format, but that's what the SE engine is by *far* best at.
Civilized Discourse Construction Kit
Occasionally, startups will ask me for advice. That's a shame, because I am a terrible person to ask for advice. The conversation usually goes something like this: We'd love to get your expert advice on our thing. I probably don't use your thing. Even if I tried your thing out and I gave you ...
> To use your site as an example my reply is 20 or so posts below what your post I'm trying to reply to right now. I suppose I could read all 20 of them to see if someone has already said what I'm about to post, but it's easier/quicker for me to type it. If it it had been threaded in some fashion I'm guessing I would've seen a similar post.
Yeah, but you blockquoted the relevant bits, so you brought the necessary context with you, didn't you?
Web Discussions: Flat by Design
It's been six years since I wrote Discussions: Flat or Threaded? and, despite a bunch of evolution on the web since then, my opinion on this has not fundamentally changed. If anything, my opinion has strengthened based on the observed data: precious few threaded discussion models survive on t...
> Combined with the ability for useful threads to bubble up to the top via voting, I think threading is an absolute necessity on a site like reddit.
That's an odd sentiment since those two parts are at odds with each other. Having a flat structure (with optional context ala Twitter) allows each post to be voted on, and sorted in the list, independently. If you are a slave to the parent-child reply hierarchy, you could have the most brilliant upvoted post in the world, trapped way down deep in branch 5 of the tree where nobody can see it.
Web Discussions: Flat by Design
It's been six years since I wrote Discussions: Flat or Threaded? and, despite a bunch of evolution on the web since then, my opinion on this has not fundamentally changed. If anything, my opinion has strengthened based on the observed data: precious few threaded discussion models survive on t...
> For example this comment [on a meta] makes no sense unless you mentally build up the thread
You understand why meta sites tend to have more discussion than Stack Exchange sites proper, yes? This is a link to a meta post.
Stack Exchange sites only support the minimum amount of discussion necessary to get good questions and great answers.
The rules are different for meta sites, which are about governance and therefore by definition have a lot more pure discussion. Our engine isn't great at it, but the benefits of keeping it all in (nearly) the same place and eating our own dogfood is far greater than outsourcing something so critical to a different, more discussion-friendly engine.
see:
http://www.codinghorror.com/blog/2009/07/meta-is-murder.html
http://www.codinghorror.com/blog/2012/02/listen-to-your-community-but-dont-let-them-tell-you-what-to-do.html
Web Discussions: Flat by Design
It's been six years since I wrote Discussions: Flat or Threaded? and, despite a bunch of evolution on the web since then, my opinion on this has not fundamentally changed. If anything, my opinion has strengthened based on the observed data: precious few threaded discussion models survive on t...
> How many computers and routers do you have on at home?
Just the one computer on all the time, 17 watts. And the router is 10 watts. Measured with the kill-a-watt. You can read about them here:
http://www.codinghorror.com/blog/2011/03/revisiting-the-home-theater-pc.html
http://www.codinghorror.com/blog/2012/06/because-everyone-still-needs-a-router.html
> Actually, do you work at home? Does your wife work at home? If so, some of your neighbours are cheating by using the heat and light of their employers for significant portions of the day.
Good point, I do work from home, so my power usage during the day is going to be inevitably higher.
> CANDELABRA! WHERE? PLEASE!
I found the best options on eBay. Nothing was perfect, but I found a 3 watt for $4.40 that has acceptable looks and size. This moves it from from 20 watt X 18 = 360 watts to 3 watt X 18 = 54 watts. And it's on several hours a day, like clockwork..
> we just unplug the power strip that activates the Xbox, DVR, TV, etc unless we are actively using it
This is also a good and more automatic option; a power strip that turns off other sockets when the primary (e.g. TV) socket is off:
http://www.amazon.com/Belkin-Conserve-Socket-Energy-Saving/dp/B003P2UMQ2
> LED bulbs are *not* actually any more energy efficient than compact fluorescent bulbs
completely and ridiculously untrue. 60 watt "equivalent" in an LED is 9 watts. That's pretty darn bright; I have 6 watt LEDs that call themselves 60 watt "equivalent" that are not quite, so let's go with the less optimistic 9 watt number. Now compare what a CFL bulb takes to get 60w equivalent -- 13 watts. So the LED uses 30% less energy to generate the same amount of light.
For a Bit of Colored Ribbon
For the last year or so, I've been getting these two page energy assessment reports in the mail from Pacific Gas & Electric, our California utility company, comparing our household's energy use to those of the houses around us. Here's the relevant excerpts from the latest report; click throug...
> Any thoughts Jeff, on the ease of moving words, sentences and paragraphs around?
iOS does this best, but it's still fiddly as hell to select text with a big giant finger. Android, although quite decent in 4.0 and beyond, is still terrible at text selection. Surface (and Windows 8) is in the middle there.
Even with the best touch text selection in the world, it wouldn't be great, because fingers are just too big for it.
> Is Surface's appeal really that it makes the accessory part of the deal?
There's a difference between a third party bluetooth iPad keyboard accessory with no real connection to the product, and a first party item that was designed in from the very beginning.
You can be damn sure Apple will never, ever, ever, ever, EVER release an official keyboard accessory for the iPad. It's the same unnecessary extremism we've seen from Apple before: the one button mouse, the Mac that shipped without cursor keys to force you to use the mouse to navigate, the single ridiculously overloaded home button on the iOS devices, etc.
http://www.codinghorror.com/blog/2012/02/the-one-button-mystique.html
> I kept doing typewriting speed tests to see how fast I could get with the touch cover and I could never get past 55% of my speed with a regular keyboard.
I agree in spirit:
http://www.codinghorror.com/blog/2010/10/the-keyboard-cult.html
However....
Even 55% of full keyboard speed is several orders of magnitude ahead of where you'd be using a full size tablet touchscreen keyboard. For context try repeating those tests with the on-screen touch keyboard. :)
Do You Wanna Touch
Traditional laptops may have reached an evolutionary dead-end (or, more charitably, a plateau), but it is an amazing time for things that … aren't quite traditional laptops. The Nexus 7 is excellent, the Nexus 10 looks fantastic, I can't wait to get my hands on the twice-as-fast iPad 4, the n...
Also for the record our colocation costs, including bandwidth and power are more like $125 per server per month, nowhere remotely near $500 per server! Even that is a little bit expensive, I could probably have done better if I shopped around a bit. Actually now that I'm comparing notes here:
http://blog.pinboard.in/2012/06/going_colo/
"They offered me 8U at 2 amps for $200/month with a 100 Mbps unmetered data plan"
"For $206, I got 10U, 4 amps, and 100 Mbps connectivity in a San Jose data center about 14 miles from Fremont"
I need to re-negotiate that deal! Our servers are all 1U so we only need 5U, and perhaps 4 amps.
Building Servers for Fun and Prof... OK, Maybe Just for Fun
In 1998 I briefly worked for FiringSquad, a gaming website founded by Doom and Quake champion Thresh aka Dennis Fong and his brother Kyle. I can trace my long-standing interest in chairs and keyboards to some of the early, groundbreaking articles they wrote. Dennis and Kyle were great guys to w...
Good point about reserved instances. If I change the (Amazon provided!) default Web Application settings from on-demand to three year reservations, I get 825.17 per month with a 3,600 up front payment:
http://www.codinghorror.com/.a/6a0120a85dcdae970b017c3299638d970b-pi
That breaks down to $925.17 per month. So instead of buying one faster than almost anything you can even buy for any price at EC2 server every two months, you can "only" buy one every three months.
Also note that we're paying a little bit exorbitantly for the 512 GB SSDs and the top-of-the-line Xeon quad-core CPUs. If I bump that down a bit, I could easily build these servers for around $2k each with almost no meaningful loss in overall performance. (but some loss in storage capacity, yes.)
If I do that, then we're back to buying one faster than almost anything you can even buy for any price at EC2 every two months again. :)
Building Servers for Fun and Prof... OK, Maybe Just for Fun
In 1998 I briefly worked for FiringSquad, a gaming website founded by Doom and Quake champion Thresh aka Dennis Fong and his brother Kyle. I can trace my long-standing interest in chairs and keyboards to some of the early, groundbreaking articles they wrote. Dennis and Kyle were great guys to w...
There is currently an issue with comments where *only* TypePad logins are working (no Twitter, Google, OpenID, etc). I let TypePad know about it and they are working on it.
Edit: now fixed, but it was busted for most of the time this post was at the top of the blog, thus the lack of timely comments. My apologies.
Judging Websites
I was invited to judge the Rails Rumble last year, but was too busy to participate. When they extended the offer again this year, I happily accepted. The Rails Rumble is a distributed programming competition where teams of one to four people, from all over the world, have 48 hours to build a...
OK Sam Thomas, but only if you factor in the collective learning value of this article to the world, in hours, by each person's hourly rate. :)
Building Servers for Fun and Prof... OK, Maybe Just for Fun
In 1998 I briefly worked for FiringSquad, a gaming website founded by Doom and Quake champion Thresh aka Dennis Fong and his brother Kyle. I can trace my long-standing interest in chairs and keyboards to some of the early, groundbreaking articles they wrote. Dennis and Kyle were great guys to w...
Well, the calculator shows $1,413.70 / month for me when I select the "Web Application" common customer sample on the right hand side. Screenshots:
http://www.codinghorror.com/.a/6a0120a85dcdae970b017ee42fc132970d-pi
http://www.codinghorror.com/.a/6a0120a85dcdae970b017c328bdd91970b-pi
Oh, I see -- you mean each server has two instances. So it's not 3 EC2 servers, it is 3 x 2 = 6 EC2 servers. Fair enough, but the financial math would work even for six of them, although it'd go from just "massive overkill" to "gratuitous massive overkill with extreme prejudice" from a performance perspective.
Building Servers for Fun and Prof... OK, Maybe Just for Fun
In 1998 I briefly worked for FiringSquad, a gaming website founded by Doom and Quake champion Thresh aka Dennis Fong and his brother Kyle. I can trace my long-standing interest in chairs and keyboards to some of the early, groundbreaking articles they wrote. Dennis and Kyle were great guys to w...
Bruce, despite your insouciance, your kiss is still on my list.
Barely.
Todon't
What do you need to do today? Other than read this blog entry, I mean. Have you ever noticed that a huge percentage of Lifehacker-like productivity porn site content is a breathless description of the details of Yet Another To-Do Application? There are dozens upon dozens of the things to choo...
> I'm sorry you've felt such pain, but really, what you felt cannot be remotely likened to losing a child.
Isn't that the point? Everyone was somebody's child. Just the reflected piece of someone else's grief is so deep that it is very hard to bear.
Parents who lose children are never the same afterwards. You can see why parents who lose children through tragedy often become relentless, obsessed activists: they have nothing else left.
Somebody is to Blame for This
This is not a post about programming, or being a geek. In all likelihood, this is not a post you will enjoy reading. Consider yourselves warned. I don't remember how I found this Moth video of comedian Anthony Griffith. It is not a fun thing to watch, especially as a parent. Even though I ...
Thanks Tom -- great coda by Anthony Griffith, the comedian in the first video:
http://www.youtube.com/watch?v=rDn_iV4gM2w
"I look at life as if it's a great novel that you're reading. And it's so great that it's a page turner. And the star of that book is you. And you turn the next page and the main character loses his daughter. But it's so compelling, you keep going."
"Do you ever just want to close the book for a while?"
"No. Because it's so thrilling. Because this book is making you cry, laugh, get mad, get angry, that you keep going, you keep going, because I want to see what's the end."
It's just a ride.
Somebody is to Blame for This
This is not a post about programming, or being a geek. In all likelihood, this is not a post you will enjoy reading. Consider yourselves warned. I don't remember how I found this Moth video of comedian Anthony Griffith. It is not a fun thing to watch, especially as a parent. Even though I ...
> Again very nice laptop. I am just hoping for an updated version with a retina-like screen.
The 1920x1080 13" screen is 166 PPI. That's not quite 200 PPI but it is definitely in the ballpark.
> Any particular reason(s) why you choose the UX31A over the UX32VD
If you read the entire article you would know that I chose both.
> Asus UX31E owner since April 2012. While it is a thin, sleek, well built laptop I don't get along with the keyboard,
> his is a significant issue with the Asus Zenbook series, you can google up plenty of articles and discussion threads that note it
The UX31A has a significantly improved keyboard and trackpad over the older models. I don't recommend the older UX31E models at all.
> Why not just get the MacBook Air and run it as a Windows machine?
It's more expensive, I don't need OS X, the screen is lower resolution and inferior TN, and the keyboard is incompatible with standard PC layouts. YMMV.
> I bought an Asus UL30Vt about two years ago. It claims 12 hours of battery life. I replaced hard drive with an SSD and, working with wifi on, I still get about 11 actual real hours of work with it.
I also owned that one and gave it to my Dad. Great machine, but it is a bit on the heavy side, mostly because it has an absolutely *enormous* battery. Check the capacity on it and you will be shocked -- that's why it gets 10+ hours in real world use.
The Last PC Laptop
I've been chasing the perfect PC laptop for over a decade now. Though I've tolerated lugging around five to seven pound machines because I had to, laptops were always about portability first and most of all to me. I quickly gravitated to so-called ultraportable laptops as soon as they became ...
> If these weren't el cheapo monitors from Korea they'd probably have rotation built into the stands
That's why you use the LCD monitor arms!
http://www.codinghorror.com/blog/2007/09/lcd-monitor-arms.html
> The monitors are nice but the Jerker desk is majestic!
Indeed it is. Indeed it is.
http://www.codinghorror.com/blog/2006/03/the-ideal-computer-desk.html
> HOLY HELLS WHAT KIND OF GUITAR IS THAT?
http://www.fakeplasticrock.com/2011/04/rock-band-pro-mustang-review/
> What is the video card you are using to drive the 3 monitors?
Radeon 7970. But modern Nvidia cards support 3 displays as well. You may need *active* mini-displayport to DVI converters though, which are around $80-$90.
http://www.codinghorror.com/blog/2010/04/three-monitors-for-every-user.html
> One thing i noticed is you're using a Razer keyboard. Do you use it only for gaming or for regular typing/programming too?
It's a cherry brown keyboard, because it is the Razer Stealth model. Also, it is matte unlike the regular shiny. Who makes keyboards SHINY, for the love of FSM?
http://store.razerzone.com/store/razerusa/en_US/pd/productID.235197900/categoryId.35156900
The IPS LCD Revolution
When I wrote about TN LCD panels 5 years ago, I considered them acceptable, despite their overall mediocrity, mostly due to the massive price difference. Unfortunately, the vast majority of LCDs on the market now are TN. You can opt to pay a little bit more for one of the few models with *VA ...
> I do think there's some value there, although I do agree that blogs are way more useful for communicating medium-sized ideas quickly and usefully
I'd argue you can weave medium-sized ideas together pretty easily, though. Particularly if they've been vetted and shaped by community feedback.
> This is mostly due to the deep discounts that stores (physical and virtual) force on the publisher
Then we need new stores, or sell directly to me.
> So, my hope is that in the "back-end" the effort [of writing a book] will pay off by getting more consulting opportunities, more chances to do trainings or maybe a lead for a great partner ship.
I still maintain that same effort, if channeled into a series of blog entries, will produce better and longer-lasting results. And you can always package that into a book later, if you must.
> John sold 166 ebooks based on the invoice.
>
> it's worth noting that John's JavaScript book royalty statement in this post is more than 5 years old
Yes, John's results are from 2007, so we'd get a very different result if he tried today. But you'll notice Mr. Resig has created zero technical books since the 2nd unfinished one in 2008. I'm pretty sure that's intentional.
Coding Horror: The Book
If I had to make a list of the top 10 things I've done in my life that I regret, "writing a book" would definitely be on it. I took on the book project mostly because it was an opportunity to work with a few friends whose company I enjoy. I had no illusions going in about the rapidly diminishin...
Power usage! On my kill-a-watt, the ASUS RT-N66U takes 5w at boot, ramps up to 7w, then stabilizes at 9w/10w while running.
That is the latest and greatest state of the art though so I expect older routers or lower end routers would pull less.
update: I also took out the old routers (yes, I still have them...) and tested them as well to full boot, but nothing connected:
ASUS RT-N16 -- 5w
Buffalo WZR-HP-G300NH -- 3w
They weren't actually doing anything, so I'd add 1 or 2 watts to account for actual load in use.
So yes, there are some surprisingly big power consumption jumps as we move into more capable (better CPU, more memory, more wireless bands) routers!
Because Everyone (Still) Needs a Router
About a year and a half ago, I researched the state of routers: about as unsexy as it gets but essential to the stability, reliability, and security of your Internet connection. My conclusion? This is boring old plain vanilla commodity router hardware, but when combined with an open source fi...
> Furthermore, to add to the complaints, the sample has also ripping errors. At the beginning of every version, in the pauses, you can clearly hear scratching introduced by missed sectors while grabbing. That is imho the worst offense of a lot of DL music.
Hmm, I don't think so -- I used the most severe (accurate) mode of Exact Audio Copy when ripping the track from CD, and it reported a perfect copy.
The Great MP3 Bitrate Experiment
Lately I've been trying to rid my life of as many physical artifacts as possible. I'm with Merlin Mann on CDs: Although I'd extend that line of thinking to DVDs as well. The death of physical media has some definite downsides, but after owning certain movies once on VHS, then on DVD, and ...
Barry -- did you read beyond the first paragraph? Look for the paragraphs beginning with "On the earliest.." and a bit beyond.
So You Want to be a Programmer
I didn't intend for Please Don't Learn to Code to be so controversial, but it seemed to strike a nerve. Apparently a significant percentage of readers stopped reading at the title. So I will open with my own story. I think you'll find it instructive. My mom once told me that the only reaso...
> Unless you're encrypting the contents or it's going over https all the time, emailing passwords is a really bad idea.
GMail is https always by default and has been since Jan 2010.
http://gmailblog.blogspot.com/2010/01/default-https-access-for-gmail.html
Make Your Email Hacker Proof
It's only a matter of time until your email gets hacked. Don't believe me? Just read this harrowing cautionary tale. When [my wife] came back to her desk, half an hour later, she couldn’t log into Gmail at all. By that time, I was up and looking at e‑mail, and we both quickly saw what the re...
> There is real time involved in making the “footnotes, layout and typography completely intact” in an ebook (just like there would be doing it for the generic Internet).
Would you even try to read a book with a necessarily complex layout on a small display device like a phone, though?
That said, this is an argument in favor of doing layout for the Internet first. There are lots of complex web page layouts that scale down fine to phone size these days. I see nothing on, for example, the page 3 screenshot that couldn't be done in reasonably modern HTML that would scale down fine to a modern smartphone. The footnotes would have to be hyperlinks, perhaps.
I'd also assume that PDFs can enter some kind of column based reading mode, even on a phone. Though I agree that full-bore PDF can be heavy for phone.
Books: Bits vs. Atoms
I adore words, but let's face it: books suck. More specifically, so many beautiful ideas have been helplessly trapped in physical made-of-atoms books for the last few centuries. How do books suck? Let me count the ways: They are heavy. They take up too much space. They have to be printed. ...
"Institutions will try to preserve the problem to which they are the solution"
http://en.wikipedia.org/wiki/Clay_Shirky
Books: Bits vs. Atoms
I adore words, but let's face it: books suck. More specifically, so many beautiful ideas have been helplessly trapped in physical made-of-atoms books for the last few centuries. How do books suck? Let me count the ways: They are heavy. They take up too much space. They have to be printed. ...
Also, I meant to link to this great blog post which is yet another example of this realization:
http://remarkablepixels.com/blog/2011/1/5/the-best-question-is-the-one-never-asked.html
Rubber Duck Problem Solving
At Stack Exchange, we insist that people who ask questions put some effort into their question, and we're kind of jerks about it. That is, when you set out to ask a question, you should … Describe what's happening in sufficient detail that we can follow along. Provide the necessary backgroun...
@chip that is a totally different issue. All these attacks assume the database has been compromised and released into the wild. This happens all the time, it's quite common.
http://www.codinghorror.com/blog/2010/12/the-dirty-truth-about-web-passwords.html
(or an internal employee decides to hack the CEO's password..)
As for attacking websites, even with rate limited logins (of course a must) a basic dictionary approach will work wonders, see:
I don't want to draw any conclusions from such a small sample size, but at a minimum we can see that it would have been possible to crack more than a third of the user accounts in both leaks using five easy-to-get dictionaries.
Dictionary Attacks 101 describes a real life Twitter attack that worked this way.
Speed Hashing
Hashes are a bit like fingerprints for data. A given hash uniquely represents a file, or any arbitrary collection of data. At least in theory. This is a 128-bit MD5 hash you're looking at above, so it can represent at most 2128 unique items, or 340 trillion trillion trillion. In reality the...
More...
Subscribe to Jeff Atwood’s Recent Activity

