Caleb Cushing's blog

Premature optimization is not evil

Or rather people should stop saying this because most of the people that say it don’t actually seem to actually know what is meant by “Premature Optimization” or how to determine when it is evil. I’ve heard people say premature optimization is evil to asking. “Is there a 3rd party library that does this more efficiently?” (knowing if there are better options is premature optimization?), “Thinking about architecting your app for horizontal scalability is premature optimization” (it is if the design is significantly more complex, but if it’s just between using REST and ensuring stateless (which is about the same complexity up front, but it’d be harder to convert later)), “wanting to do Dependency Injection is. Read more →

please don’t use Dist::Zilla::PluginBundle::USERNAME

or create them. Here’s the problem…. (short version is Don’t put PodSpellingTests in them) normally you’d have [pluginA] [pluginB] [pluginC] [pluginXTests] [pluginYTests] [pluginZTests] and one of them doesn’t work on your system (for whatever reason), well you can just do this. [pluginA] [pluginB] [pluginC] ;[pluginXTests] [pluginYTests] [pluginZTests] the ; is a comment in ini, now dzil won’t use that plugin. But people will say well you don’t want to do that of course I want that plugin enabled. Read more →

Documentation! it should be TDDD

UPDATE: I shouldn’t have said what I said about RJBS and have apologized publicly Test Driven Development should be Test and Documentation Driven Development. I don’t want to read your code to figure out how to use it. I don’t really care if you write the Test, documentation, or the feature first. But you should do all three before moving on to the next one. I’m gonna pick on Dist::Zilla this seems like a very good tool. Read more →

Don’t Say “Patches Welcome”

Don’t say “patches welcome” it does more harm to your community than good. Why? It’s a polite way of saying “I don’t care. Fuck you. Fix it yourself. End of discussion”. 1.) Not a DeveloperThe person you are saying this to is not developer. They don’t know how to do it. PERIOD. At this point you are refusing to help them. This person may now have the opinion that your community isn’t helpful. Read more →

Unpaid volunteer work is a job

So the common misconception in the open source community is, “I don’t get paid, I don’t have to do it”. Actually, it’s not a misconception, you’re absolutely right, you don’t have to, you can stop, leave, go away. It’s also well know that FOSS software is without warranty or guaranteed support. But by the vary nature of being a volunteer you are offering to do a job for free. No? have you tried working for a volunteer organization and telling your boss there “I don’t have to do it because I’m not paid”. Read more →

Perl Blogger annoyances

So I love Iron Man and people who blog perl. But I’ve got some complaints. 1.) No Language Specific Feeds. I’m not discriminating against people of foreign languages I want a Russian only feed as much as an English only. I just can’t read it, and I’d rather not have it in my feed. So I’m using Dagolden’s English only Feed. This feed doesn’t work 100% right however, see next Read more →

Bad Customer Service from T-Mobile

So about 2 months ago I got fed up with Sprint (they suck for different reasons) and I already knew that they had better service coverage than Verizon in my area. My friend suggested T-Mobile, so I went and got setup with them for a 14 day trial period. I took the phone made some calls tried the web browser, I didn’t like the blackberry itself, but that’s besides the point. Read more →

You should have hired me! ( just a vent )

So this is about the 10th time my friend has asked me for help on a SQL (w/ SQL Server) problem. I Actually interviewed with his company at one point and they elected not to hire me. Why? because I have never found windows errors useful, have therefore never used its logging facility, and was unable to answer questions about it. I’m was UNIX guy then and am now. But I’m still better at figuring out problems on software I’ve never even used, with only about 1/10th of the information that I need. Read more →

Download Book, The Ruining of a Good Feature

1-3 Months ago Safari Books finally started allowing you to download full books in pdf. It used to be that you had to download chapters of books in pdf. This was annoying even if you had tokens to do it. Tokens are Safari Books way of making sure we aren’t pirating en masse, you get 5 tokens a month and can only keep 3 months worth. So now we can download full books how nice? Read more →

Perl by Example not on O’Reilly’s Safari

I like Safari. It’s a great product that I pay ~$500 a year for. I just started a Perl class and the book is Perl by Example. Guess what it isn’t on safari or at least searching for the exact title doesn’t find it. I’ve queried the O’reilly and Prentice Hall people. I pay $500 a year, all the rest of the ‘By Example’ Books are there, I want my book. Read more →