Better HN
topnewbestaskshowjobs
Log inSign up

avdi

156 karma · joined Feb 25, 2008 (18y ago) · 34 submissions

Submissions

comment 14y ago · link · parent

I dunno reg, it struck me as ordinary journalistic due diligence. Showing up at his doorstep might have been a bit much (although we praise reporters for doing that in cases with just slightly more scandal than this one). But she didn't do that.

Overall, I thought it was one of the best-written pieces of of mass-market journalism about our community that I've read in... well, years actually. Stuff like this should be encouraged.

comment 14y ago · link · parent

...I also used that as an example below the main example :-) And I have come to the same conclusion as you re: Backbone.

comment 14y ago · link · parent

There is definitely such a thing as a book that was released too early.

comment 14y ago · link · parent

I deliberately used a dated example because I figure it would probably ring a bell with a lot of people. Realistically this is a choice a lot of people were probably making around 5 years ago, and the answer at the time would almost undoubtedly have been PHP. Or Java/JSP. From what I've seen I think PHP is a pretty horrid language, and we all know how boring Java is. But the point is five years ago they were both well documented and it was easy to find answers if you got stuck, which wasn't as true of the others, especially for web programming purposes. Once you learned PHP it would have been pretty easy to understand where Rails or Django was coming from as they became popular, and "get" how they differed from PHP and why it mattered.

comment 15y ago · link · parent

I almost invariably isolate any API calls behind some kind of wrapper facade. In fact, a lot of the presentation is about exactly that: adapting Ruby's IO primitives--which can raise various exceptions, and may return a process exit status in the form of a global variable--in code that isolates their idiosyncrasies.

comment 15y ago · link · parent

I'm using Org-S5 (https://github.com/sigma/org-s5) with some rather kludgey HTML and a heavily hacked-up stylesheet.

comment 15y ago · link · parent

Footnote to (a): except for the slides which are intended to be unreadable because they are about the shape of the code rather than the content. An effect that works very well across a room but which is rather lost when viewing the slides on the web and without narration.

comment 15y ago · link · parent

I'm not sure what you're getting at here, other than that trying to treat an array of arrays as an array of Hashes is a bad idea.

comment 15y ago · link · parent

Hi HN. If you get some value out of these slides, great! But please, do me a favor: don't try too hard to construct a narrative from a stack of slides which:

a) represent about 15% of the actual semantic content of the presentation; and

b) are shaped by the consideration that there's a limit to how much code you can put on a slide and have it still be readable.

A lot of this material has been covered in more detail on my blog (http://avdi.org/devblog) For instance, I wrote a whole article about Maybe, NullObject, and the limits of the ability to make objects falsy here: http://avdi.org/devblog/2011/05/30/null-objects-and-falsines...

comment 15y ago · link · parent

Thanks! I've queued this for a closer look.

comment 15y ago · link · parent

I had someone else report an IE7 crash recently. I wish I could narrow down WHICH JS is the problem. It's just stock WordPress+various widgets.

comment 15y ago · link · parent

Ruby has a public/private divide which can easily be circumvented. But the circumvention is a bit ugly, which is a good thing - it makes the circumvention obvious in the code.

Personally, I think Ruby hits a sweet spot here: the privacy curtain is strong enough that Ruby WILL let you know when you've stepped off the path of using methods which are part of the stable API. But you can then tell Ruby "yes, I understand, and I know what I'm doing".

comment 15y ago · link · parent

The striving is the key. Keep it up!

comment 15y ago · link · parent

As I'm usingn DPD for this book, I'm happy to hear that!

P.S. Would you mind getting in touch with me? I have a script to share with you guys.

comment 15y ago · link · parent

That's all you'll find in my book, I just made the font really big and quintuple-spaced it.

;-)

comment 15y ago · link · parent

Yes, please.

comment 15y ago · link · parent

That sounds super cool. I'm gonna check it out.

comment 15y ago · link · parent

There's a video on the site of the conference talk that spawned the book, if that helps.

comment 15y ago · link · parent

As I replied above, I'll probably work on Epub first because that's the format I got the most requests for when I did a survey. But after that I'd be happy to get some Mobi pointers. Email me!

comment 15y ago · link · parent

I'm gathering feedback on which format to work on next. So far the most-requested has been .epub.

comment 15y ago · link · parent

Nope! It's strictly a style issue. As I explain in the video (or the book if you buy it), as a result of a conversation with Jim Weirich I'm starting to use "fail" once again.

22.

I just released an eBook about exceptions and failure handling in Ruby(exceptionalruby.com ↗)

71 points · by avdi · 15y ago · 38 comments

23.

What's the best way to read mailing lists in 2011?(superuser.com ↗)

1 points · by avdi · 15y ago · discuss

comment 15y ago · link · parent

Oh, Perl. Sometimes I honestly do miss you.

comment 16y ago · link · parent

Writing it in two lines would defeat the purpose of demonstrating the difference between && and 'and'.

26.

Distributed Teams are Stagnant Teams(wideteams.com ↗)

3 points · by avdi · 16y ago · discuss

27.

I've started a community site and podcast for distributed teams(wideteams.com ↗)

1 points · by avdi · 16y ago · 1 comment

comment 17y ago · link · parent

I'm using Ubuntu and my fonts look nothing like that. And no, I don't use the Microsoft fonts. Something's messed up on that machine.
12