HNHacker News
TopNewBestAskShowJobs

anti-pattern

229 karma · joined November 14, 2012

submissionscomments
anti-pattern··on Why did United neglect to tell parents of a minor she was rerouted?
One more reason I avoid flying them whenever possible.
anti-pattern··on Use Bundler.setup Instead of Bundler.require
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.
anti-pattern··on Use Bundler.setup Instead of Bundler.require
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.
anti-pattern··on Use Bundler.setup Instead of Bundler.require
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.
anti-pattern··on Use Bundler.setup Instead of Bundler.require
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.
anti-pattern··on Use Bundler.setup Instead of Bundler.require
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.
anti-pattern··on Use Bundler.setup Instead of Bundler.require
The best code is no code.
anti-pattern··on Ship Now, Not Later, the story of shipping Arrival
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.
anti-pattern··on Expected arrival times for Apple products
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.
anti-pattern··on Expected arrival times for Apple products
Indeed. Maybe I'll post the data on GitHub or something.
anti-pattern··on Expected arrival times for Apple products
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.

anti-pattern··on Expected arrival times for Apple products
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.
anti-pattern··on Expected arrival times for Apple products
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.
anti-pattern··on Expected arrival times for Apple products
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?
anti-pattern··on Expected arrival times for Apple products
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.
anti-pattern··on Expected arrival times for Apple products
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.
anti-pattern··on Expected arrival times for Apple products
Whoops, it looks like Firefox doesn't like SVG gradients. I'll look into that. Thanks!
anti-pattern··on Expected arrival times for Apple products
Oh I remember seeing that when it came out. Did you take it down?
anti-pattern··on Expected arrival times for Apple products
I want all of those things.
anti-pattern··on Expected arrival times for Apple products
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.
anti-pattern··on Expected arrival times for Apple products
You're very welcome :)
anti-pattern··on Expected arrival times for Apple products
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.
anti-pattern··on Expected arrival times for Apple products
Right now I'm just doing a simple average, but I'll definitely starting adding weighting and other ways of influencing the estimate.
anti-pattern··on Expected arrival times for Apple products
Hmm, what OS, browser, and version are you on?
anti-pattern··on Expected arrival times for Apple products
Yeah that's something I'll probably do in the next few days. I just wanted to get something out there. Ship ship ship :)
anti-pattern··on Expected arrival times for Apple products
You might be right, let me look into that. There's a bit of gray area as to what technically constitutes a "release".
anti-pattern··on Expected arrival times for Apple products
Yep, I've used that for a little while, but I wasn't a fan of the design, and I didn't think they visualized the information as well as they could have, so I made a new one :)
anti-pattern··on Expected arrival times for Apple products
It's all online, but there's an awesome app called Mactracker (http://www.mactracker.ca) that I got a lot of information from. MacRumors also has a buyers guide (http://buyersguide.macrumors.com), but I think mine is better :)
anti-pattern··on Instagram's New Arbitration Clause and How to Opt Out
Nice! Thanks so much for doing this.