News for hackers. Stuff that matters.

jamesgolick

Re:Memory Allocators 101 on Thursday May 16, 2013 @05:09PM (#5721158)
More like Memory Allocators 405 haha
Re:How to Lose 100 Pounds on Monday July 09, 2012 @06:08PM (#4220826)
Actually, the reason is that aspartame has a high glycemic index, so your body reacts to it roughly the same way it reacts to sugar.

http://www.glycemicindex.com/

Re:How to Lose 100 Pounds on Monday July 09, 2012 @06:05PM (#4220810)
Re:Objectify: A Better Way to Build Rails Applications on Wednesday May 23, 2012 @03:24PM (#4014837)
> You have to think a bit more about what OO really is about.

If you want to have a respectful debate, I'm completely game. If you'd prefer to continue with your incredibly condescending tone, then I'll bow out here.

Re:Objectify: A Better Way to Build Rails Applications on Wednesday May 23, 2012 @02:30PM (#4014545)
> Regardless of any minor difference of opinions, I think what you're trying to bring to the rails community is to be commended.

Thanks a lot, man.

Re:Objectify: A Better Way to Build Rails Applications on Wednesday May 23, 2012 @02:27PM (#4014528)
The point I was making was that you can use the library in a different way successfully.
Re:Objectify: A Better Way to Build Rails Applications on Wednesday May 23, 2012 @02:17PM (#4014471)
I've read at least a dozen papers on the history of OO, not to mention books and papers on current practices. This is what I came up with. I made what I think is a pretty coherent argument for why in the article. I'd love to hear your refutation of the points I made in there.
Re:Objectify: A Better Way to Build Rails Applications on Wednesday May 23, 2012 @01:56PM (#4014335)
You can move over slowly by building new components using objectify, and leaving the rest of your legacy app the way it is, if you like. It's designed specifically to be able to coexist with what you've got.
Re:Objectify: A Better Way to Build Rails Applications on Wednesday May 23, 2012 @01:45PM (#4014270)
> It's hard to strike a balance between a strong design which takes a lot of time to work within, and one that just allows you to get things done, but once your project begins to grow in size and complexity, and testing becomes even more important, these things really do start to matter.

The whole point of objectify is that it actually makes it pretty reasonable to work this way right off the jump. I would have a hard time believing that it's really any more work to build an objectify app than it is to build a vanilla rails app - at least once you become accustomed to the paradigm.

> That said, if you have a large amount of single method classes, you might need to take a look at why you need them and find a better approach (which will vary from project to project).

I don't buy that. My project has hundreds of single method classes and it's by far the best factored non-trivial application I've ever seen (anecdotal, obviously, but so it goes).

Re:Objectify: A Better Way to Build Rails Applications on Wednesday May 23, 2012 @01:31PM (#4014171)
I gave an answer better than that. Did you read the post?
Re:Objectify: A Better Way to Build Rails Applications on Wednesday May 23, 2012 @01:04PM (#4013999)
Because of SRP.
Re:Objectify: A Better Way to Build Rails Applications on Wednesday May 23, 2012 @01:01PM (#4013981)
Mixins/modules and open classes do not separate your class in to multiple components - merely multiple files. As I explain in the article, for separate components to be useful, they have to be "protected" from each other - encapsulation, in other words.
Re:The Broken Promises of MRI/REE/YARV on Tuesday July 05, 2011 @08:34PM (#2732127)
This would be funny if it made any sense and if it wasn't a ripoff of an old Merlin Mann tweet about DHH.
Re:Why RubyGems Needs Loren Segal on Friday June 03, 2011 @05:50PM (#2618124)
> ...a very complex system

Auto-pilot on a 747 is a very complex system. RubyGems is not.

Re:Why RubyGems Needs Loren Segal on Friday June 03, 2011 @04:44PM (#2617907)
> hostile fork

What's hostile about proving points with code?

> ...the division that would be caused by a fork...

You still haven't explained what the problem with this "division" is. Why will this be different than the rails/merb fork? Honest question: are you afraid of division or of your friends losing control of the project?

> There is no denying that Eric+Ryan have had personal conflicts with Loren...

As well as just about anybody else who has tried to work with them.

> However, Evan Phoenix...

Evan is a great and brilliant guy, but let's be honest here. He's another personal friend of the current maintainers and (former?) Seattle.rb member. We need fresh blood.

Re:We're moving. Goodbye Rackspace. on Tuesday November 09, 2010 @02:43AM (#1885745)
If you weren't paying such an enormous premium for your hardware, you'd have a lot more cash. On a per-dollar basis, you're paying anywhere from 2-10x the price for computing power on the cloud, depending on which resource you look at (CPU, Memory, Disk IOPS, etc).

Seriously. Do the benchmarks.

Re:We're moving. Goodbye Rackspace. on Monday November 08, 2010 @10:37PM (#1885196)
If they weren't paying 2-10x for their power (the cloud tax), it wouldn't be so bad.
Re:We're moving. Goodbye Rackspace. on Monday November 08, 2010 @09:57PM (#1885096)
The fundamentals of capacity planning do not change based on the magnitude of your data growth. Why would they?

We're mostly talking about looking at your data growth curve and extrapolating points in the future. Why would that become impossible just because the curve is steep?

Re:We're moving. Goodbye Rackspace. on Monday November 08, 2010 @09:04PM (#1884980)
First of all, there are managed hardware providers who can get you hardware online in less than 4 hours. Second of all, capacity planning can save you from "needing elasticity". Third of all, if you were on machines that gave you reasonable performance (i.e. not shared hosting), you probably wouldn't "need" nearly as much elasticity.
Re:Introducing the BankSimple Engineering Team on Friday August 20, 2010 @02:37PM (#1621176)
> You have a "Creative Director"

> it's all about technology and not about people or emotions.

Yes, hiring a designer definitely shows a complete disregard for the people using the product.

Older »