anti-pattern
The Culture That Creates the Problem Is Never the Culture That Fixes the Problem
Strip Leading Whitespace from Heredocs in Ruby
Testing the Protocol, Subdomain, and Host of a Rack App with Rack::Test
Re:Why did United neglect to tell parents of a minor she was rerouted?
on Thursday March 14, 2013 @08:00PM (#5378400)
One more reason I avoid flying them whenever possible.
Re:Use Bundler.setup Instead of Bundler.require
on Wednesday March 13, 2013 @04:08PM (#5370813)
Ah, that isn't something I considered. I don't write my apps multi-threaded, so it shouldn't be an issue, but definitely good to be aware of.
Re:Use Bundler.setup Instead of Bundler.require
on Wednesday March 13, 2013 @03:57PM (#5370753)
Ah, well, nothing is foolproof. Yes, if you don't update your dependency list when dependencies are removed, they might get stale. But I keep up on that stuff and haven't ran into that problem yet. Even if I did, I'd rather have that problem than an app where all the dependencies are global.
Re:Use Bundler.setup Instead of Bundler.require
on Wednesday March 13, 2013 @03:43PM (#5370660)
Yes, but, if you test your classes in isolation, then you'll be forced to manually require each dependency at the top of the file.
Re:Use Bundler.setup Instead of Bundler.require
on Wednesday March 13, 2013 @03:42PM (#5370643)
Interesting. Why would the requires go stale? And how would you use a dependency you don't require? It wouldn't be possible to use it unless you required it. This of course assumes you're testing your classes in isolation.
Re:Use Bundler.setup Instead of Bundler.require
on Wednesday March 13, 2013 @02:52PM (#5370331)
I think a lot of this unfortunately comes from Rails. Rails hides a lot of complexity which creates "magic". And since most Rubyists come to Ruby from Rails, a lot of Rubyists have the bad habit of hiding complexity wherever possible. I was guilty of that myself. But I've noticed it slowly starting to change.
Re:Use Bundler.setup Instead of Bundler.require
on Wednesday March 13, 2013 @02:40PM (#5370241)
The best code is no code.
Use Bundler.setup Instead of Bundler.require
Re:Ship Now, Not Later, the story of shipping Arrival
on Monday March 04, 2013 @05:42PM (#5321535)
Thanks! Probably not, there aren't really any other products I get that excited about, and I like the idea of keeping it very niche.
Ship Now, Not Later, the story of shipping Arrival
Re:Expected arrival times for Apple products
on Saturday March 02, 2013 @12:45PM (#5310271)
Oh, interesting. Did they give a reason? Was it legal? MacRumors has been doing this for some time, I can't imagine that there's anything illegal about it.
Re:Expected arrival times for Apple products
on Saturday March 02, 2013 @12:41PM (#5310251)
Indeed. Maybe I'll post the data on GitHub or something.
Re:Expected arrival times for Apple products
on Saturday March 02, 2013 @12:40PM (#5310248)
Actually, the entire reason I made this site was because I thought the way MacRumors visualized the data wasn't very good. If they had done a better job, I wouldn't have needed to make this.
As for credit... what should I be crediting them for? I'm just collecting a list of dates and then visualizing the data.
Re:Expected arrival times for Apple products
on Friday March 01, 2013 @07:58PM (#5307933)
I guess it depends on how you quantify usefulness. There's less info, but I think I visualized the information that I do show much better than MacRumors.
Re:Expected arrival times for Apple products
on Friday March 01, 2013 @07:28PM (#5307839)
They probably meant whether or not I "took" the information from somewhere else. But yeah, actually scraping the information would have been ridiculous. It's all just in a static YAML file.
Re:Expected arrival times for Apple products
on Friday March 01, 2013 @06:57PM (#5307732)
Ah, that makes sense. Thanks for explaining it! This was my first time using SVG. So, what is the best solution? Defining SVG styles in a style tag?
Re:Expected arrival times for Apple products
on Friday March 01, 2013 @06:48PM (#5307700)
Yeah, for some reason Firefox won't show the gradient. Not sure why. In the meantime I made it so it would fallback to a solid color.
Re:Expected arrival times for Apple products
on Friday March 01, 2013 @06:30PM (#5307638)
I built my own because their design, and I mean literally the way they visualize the data, isn't very good. Or rather, it's not as good as it could be. They even updated the design a year or two ago and all they did was give it a coat of paint, rather than rethinking how to best visualize the data.
Re:Expected arrival times for Apple products
on Friday March 01, 2013 @06:19PM (#5307600)
Whoops, it looks like Firefox doesn't like SVG gradients. I'll look into that. Thanks!
Re:Expected arrival times for Apple products
on Friday March 01, 2013 @06:03PM (#5307536)
Oh I remember seeing that when it came out. Did you take it down?
Re:Expected arrival times for Apple products
on Friday March 01, 2013 @06:01PM (#5307528)
I want all of those things.
Re:Expected arrival times for Apple products
on Friday March 01, 2013 @05:40PM (#5307432)
I've looked at their data, but I believe I've dropped some things that they consider releases. The whole thing is kind of subjective as to what constitutes a release or not. But no, I didn't just scrape their site. I compiled my own data from a variety of different freely available sources.
Re:Expected arrival times for Apple products
on Friday March 01, 2013 @05:25PM (#5307347)
You're very welcome :)
Re:Expected arrival times for Apple products
on Friday March 01, 2013 @05:25PM (#5307345)
Yeah I was trying to decide whether it needed one or not. So far people seem to be getting it, but I might still add one.
Re:Expected arrival times for Apple products
on Friday March 01, 2013 @05:23PM (#5307335)
Right now I'm just doing a simple average, but I'll definitely starting adding weighting and other ways of influencing the estimate.
Re:Expected arrival times for Apple products
on Friday March 01, 2013 @05:22PM (#5307330)
Hmm, what OS, browser, and version are you on?