268 karma · joined October 13, 2008
If only there were a way to search multiple content farm sites at once, and rank those results according to how useful they were...
Cars catch fire in accidents all the time, it's not that hart to imagine that the problem might get worse if we switched to an even more flammable fuel.
Kent Beck invented TDD, I think he's pretty qualified.
DHH is the one who started the recent discussion about the value of TDD; in his opinion, it doesn't have any. He's the reason that this conversation is even happening.
class ApplicationController < ActionController::Base
before_filter ->() {
prepend_view_path "app/views/YOU_CALCULATE_THIS_PART"
}
end
With that, Rails should look for e.g. "products/index.html.erb" first in "app/views/YOU_CALCULATE_THIS_PART/products/index.html.erb", and only if it doesn't find it there, it looks in "app/views/products/index.html.erb"It seems like you could do something like this:
class ApplicationController < ActionController::Base
before_filter ->() {
if cookies[:test_a]
prepend_view_path "app/views/test_a"
elsif cookies[:test_b]
prepend_view_path "app/views/test_b"
end
}
end
The neat thing about prepend_view_path is that if it doesn't find a matching file in the prepended path, it falls back to the default rails paths. This makes piecemeal upgrades or redesigns much easier.I'm not denying that the term "food desert" is suspect, I just can't tell what you're trying to prove.
You may not agree, but I think having more women and minorities in programming would be a good thing. Because I think that articles like this are a way to help get young women and minorities interested in programming, I like that this article exists, even though it wasn't written for me.
The Xeon E5 in the Pro is faster and costs at least $100 more. I'm not sure how these motherboards compare in quality. The ECC memory memory in the Pro is faster and more reliable. This also doesn't have Thunderbolt, onboard WiFi, or Bluetooth 4.
Last, this is big, loud, and hideous.
If the point was, "you can build an equivalent computer for $1000 less," it misses the point, widely.
So, when people refer to "Ruby," they are most commonly referring to two things: the language, and the default interpreter. The default interpreter is known as "MRI," which stands for "Matz's Ruby Interpreter."
Rubinius is an alternative Ruby interpreter. It's main claim over MRI is that Rubinius has (much) better support for multi-threaded applications. Additionally, where much of the core Ruby functionality (e.g., Array) is built using C in MRI, Rubinius builds most of it's core functionality using pure Ruby code, and relies on the interpreter to make it fast enough, similar to PyPy. The theory is that if you build a fast enough interpreter, it's easier to build your dynamic language functionality in the dynamic language, rather than in C.
"Your dad sent a text, want me to read it to you while you're washing dishes? I know your mom's in the hospital."
"Mind if I use your phone to call our friends and tell them we're running late? I left mine at home and you're driving."
"Is it OK if I use your phone to put on some music? It's already paired with the reciever."
And so on. Checking a partner's phone doesn't have to include spying. Sometimes it's just the most convenient thing to do.
Bacteria that aid in weight control don't just "eat your food," they actually help your body break down food correctly. That's why you take a pro-biotic after going through a round of anti-biotics - you need to re-grow your gut flora to aid in proper digestion.
This is talking about bacteria already in a healthy person's body.
You live in a city that enforces gun control, and you know that the nearest convenience store holds a lot of cash after 8pm. The nearest city that doesn't enforce gun control is over a 1hr drive away in traffic, and you don't own a car. Do you (a) commit a crime of desperation at a local, familiar place, or (b) find a way to travel 20+ miles to knock over a liquor store?
Chicago would be a good example of this. To get from downtown Chicago to a nearby city without gun control might take an hour in a car, which our supposed criminal might not have access to. It seems to me that "locality of victim" is just as strong a determinant as "safety from retribution."
They don't have the authority or budget to set up something permanent just to catch a couple dudes, and frankly they probably don't need something permanent. They just got it done quickly and with the tools on-hand.
Today's (US) Republican party is nothing like the Republicans from 100+ years ago. It's kind of sad.
As far as I know, nginx can do anything Apache can do. nginx is generally faster than Apache. Apache can include modules without a recompile, nginx often requires you recompile to add features. nginx can be used as a reverse-proxy, a load balancer, or a thin SSL / SPDY layer, and succeed; Apache isn't as well suited to non-traditional web serving.
Personally, I find nginx's configuration syntax nicer to read and write than Apache's.
LAMP is fine for small experimental websites. Do what you're comfortable with! The scale at which the differences between nginx and Apache actually matters is pretty large.
As far as I can tell, G-WAN does not support the features or languages that many people want. As a Ruby programmer, G-WAN is (probably) impossible for me to use, and if I could fiddle with it enough to get it working, it would not provide enough of a benefit to justify replacing a working nginx setup.
There's also the prevalence of tutorials, books, and StackOverflow answers related to nginx; G-WAN is pretty sparse in this regard.
Basically: the eternal balancing act of "features" vs "speed." nginx hits a sweet spot for features & speed for more people than G-WAN.
The "gamer demographic" was upset because they felt like something was being taken away (easy used game sales and purchases) without any clear benefit in return (same old prices). Making them out to be luddites who don't want to get with the disc-free times is unfair.
An example: A digital copy of Darksiders II is $59.99 on XBox Live (http://marketplace.xbox.com/en-US/Product/Darksiders-II/66ac...), and a physical copy is $16.99 on Amazon (http://www.amazon.com/Darksiders-II-Xbox-360/dp/B0056WJA30/r...). Darksiders II came out nearly a year ago, and MS still charges as if it were a brand-new game.
* method and name column swapped
* green/yellow status icons added (probably 200/304?)
* dark color scheme vs light color scheme
Is there something I'm missing? Because it sure doesn't seem like the MS Word super-toolbar you compared it to.Or is it the tab icons? Chrome recently disabled those by default, and I'd agree that they do seem like clutter.
Edit: Misread the comment you were replying to. I thought you were comparing the number of icons and tabs, but you're just talking about the size of the elements. Firefox is slightly larger, yeah.
It's a great starting place if you know exactly what you want to do with that VM and how to configure it; it's kind of a pain if you're using it as a general purpose server.
If you're studying computer science or a related field, your ROI is going to be just fine at a state university.