News for hackers. Stuff that matters.

avdi

Re:Where’s _why? on Friday March 16, 2012 @02:40AM (#3712264)
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.

Re:Stop reading this blog and learn something on Friday December 30, 2011 @03:54PM (#3409064)
...I also used that as an example below the main example :-) And I have come to the same conclusion as you re: Backbone.
Re:Stop reading this blog and learn something on Friday December 30, 2011 @01:09PM (#3408444)
There is definitely such a thing as a book that was released too early.
Re:Stop reading this blog and learn something on Friday December 30, 2011 @01:02PM (#3408416)
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.
Re:Confident Code on Thursday November 10, 2011 @04:37PM (#3221995)
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.
Re:Confident Code on Thursday November 10, 2011 @04:27AM (#3219528)
I'm using Org-S5 (https://github.com/sigma/org-s5) with some rather kludgey HTML and a heavily hacked-up stylesheet.
Re:Confident Code on Thursday November 10, 2011 @04:25AM (#3219525)
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.
Re:Confident Code on Thursday November 10, 2011 @04:22AM (#3219517)
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.
Re:Confident Code on Thursday November 10, 2011 @04:04AM (#3219486)
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...

Re:Your Code is My Hell on Monday August 22, 2011 @03:07PM (#2913661)
Thanks! I've queued this for a closer look.
Re:Your Code is My Hell on Monday August 22, 2011 @01:10PM (#2913169)
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.
Re:Your Code is My Hell on Monday August 22, 2011 @01:08PM (#2913160)
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".

Re:Your Code is My Hell on Monday August 22, 2011 @12:39PM (#2913025)
The striving is the key. Keep it up!
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.

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

;-)

Yes, please.
That sounds super cool. I'm gonna check it out.
There's a video on the site of the conference talk that spawned the book, if that helps.
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!
I'm gathering feedback on which format to work on next. So far the most-requested has been .epub.
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.
Re:Overriding the Backtick in Ruby on Monday December 20, 2010 @04:37PM (#2025865)
Oh, Perl. Sometimes I honestly do miss you.
Re:Using “and” and “or” in Ruby on Monday August 02, 2010 @12:45PM (#1568123)
Writing it in two lines would defeat the purpose of demonstrating the difference between && and 'and'.

I've started a community site and podcast for distributed teams

http://wideteams.com

Hi HN! For the past few years I've been working in geographically dispersed software development teams. I noticed that there didn't seem to be a site specifically dedicated to discussing the challenges, benefits, and best practices unique to remote teamwork. So I decided to build it.In keeping with the community intentions of the site, there are going to be lots of guest posters sharing their...

( Read More... | 1 comment | on HN )
Re:Ubuntu 9.10 Karmic Koala released on Friday October 30, 2009 @06:41AM (#911821)
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.
Re:Simplicity is Complicated on Friday October 30, 2009 @05:56AM (#911787)
Heh. I love that you can publish dozens of technical language-tips articles in relative obscurity, then have one purely philosophical post shoot up reddit and HN - and all the language lawyers come out and quibble about the code samples!

Not that I'm complaining, mind you, I actually learned something from this comment. Thanks!

Re:You keep using that word “distributed”… on Thursday October 09, 2008 @09:06AM (#327760)
All of the alternative tools - bzr, hg, darcs - have highly optimized protocols as well. This may be a documentation issue - I've never seen documentation for using a dumb server with git. Also, can clients submit changesets back via simple FTP? Darcs can, IIRC.

Older »