Amazon EBS Failure Brings Down Reddit, Imgur, Others
If you think the risks of running in the cloud are less than the risks of running in a traditional data center, you're very much mistaken.
If one AWS AZ goes down I can bring up servers in a second one. If one AWS region goes down I can bring up servers in a second one. In fact to hedge against these risks I *already have* servers in multiple zones and regions.
Sure you can do that with traditional data centers. Just host your stuff across more than one, right? Do you have any concept of what that COSTS? Especially if you, say, want to add servers in multiple data centers, or move servers from one to another. Plus now you have multiple vendors, contacts, SLAs, and so son, and so forth. And heaven help you if you ever want to *decrease* your capacity. Have fun selling those servers on ebay.
Reddit and friends are suffering downtime from a single AZ outage because their architectures have single points of failure. Don't build your systems that way! If you have single points of failure it doesn't matter whether you're hosted in the cloud, in a commercial data center, or in your own data center. Conversely if your architecture is good and doesn't have single points of failure, the hosting question comes down to this: what do you specialize in as a business? If that list doesn't include "running a data center", don't run your own data center. If it doesn't include "maintaining a shit load of hardware", then don't host in a commercial data center either, run in the cloud. I think you will find that this latter category includes 99.99% of businesses.
What's Keeping You On Windows?
I have no idea why Quest Software hasn't put out a version of TOAD for Oracle that runs on Linux, or a cross-platform Java version for that matter. But until they do, I will develop/administer on a Windows desktop.
Besides, Windows 7 is pretty nice in a lot of ways. Install cygwin and you've got 90% of the best of both worlds.
Is Perl Better Than a Randomly Generated Programming Language?
If those punctuation marks (or keywords) make the code more readable, then they're not gratuitous are they? I, for one, find brace-less languages fantastically hard to read, Python especially.
Type Safety Coming To DB Queries
You need a subquery that generates the iterative values for you. Oracle provides a concise way to do this right in your query:
, sum(p.bytes) as b
from (select -60+10*(level-1) as start_time
connect by level <= 6
, packets p
where p.time_stamp >= x.start_time
and p.time_stamp < x.start_time+(10/24/60/60)
group by x.start_time
If your RDBMS doesn't have an equivalent to CONNECT BY LEVEL, you will either need to put your values in a table (think a reusable "integers" or "dates" table), or do something like (select -60 as foo from dual UNION ALL select -50 from dual UNION ALL select -40...and so on).
Type Safety Coming To DB Queries
Parameterized queries require pre-registration with the database engine, and have a host of other gotchas. EG: No dynamically created SQL queries.
This is a feature, not a bug.
Build all your queries as parameterized queries (or better yet, stored procedures) and you will never have "type safety" problems. In fact the posting barely makes sense to me. How would you ever end up trying to date-range a string field? That query would never run! Oh right, there are still idiots out there that build queries at runtime. Well, don't fucking do that!
Besides, parameterized queries are 100% immune to SQL injection. You'd think people would care more about that these days.
Google/Facebook: Do-Not-Track Threatens CA Economy
I mean, seriously. There is no mechanism by which Do Not Track can actually be made to work as it is currently being proposed. This is more important than whether you think it's a good idea.
If you want to be able to opt out of being tracked, you need to built it in to browser behavior and/or web protocols themselves. You can't simply ASK sites not to track you and expect anything to happen, nor can you rely on a law to do this for you.
Tech Experts Look To Help Save the Postal Service
Why try to save it? If it's failing the market test, it should die. Rescind the Federal monopoly that the USPS enjoys, and let UPS, Fedex, etc. figure out a profitable way to deliver letters.
AMD Bulldozer Will Bring Socket Shift To PCs
"One of the most dreaded hurdles on the PC upgrade path is the CPU socket. If socket design changes then you'll almost certainly need a new motherboard when you do upgrade."
This is a complete red herring. I have been building my own PCs since 1997. I have not once, ever, been able to re-use a motherboard when upgrading. Yes, some of that is due to sockets changing, but not all of it. Sometimes you need a new board to support the newest memory technology, or to support the changed voltage requirements of the new chips. Bottom line is, unless you're an early-and-often adopter, buying new CPUs the day they're released (which historically has meant spending $900+), you just won't ever get two CPUs' worth of life out of one motherboard, regardless of whether the required socket has changed.
MySql.com Hacked With Sql Injection
Jesus fuck, people. It's not rocket surgery.
If you use bind variables, you CANNOT be SQL-injected.
If you don't, you can be.
It's that fucking simple. Do The Right Thing.
CMU Eliminates Object Oriented Programming For Freshman
OOP should absolutely not be taught at the freshman level, because it gets in the way of understanding more basic concepts like, oh I dunno, variables, branching, looping, subroutines, I/O, etc. Their claim that OOP is "anti-modular" is of course absurd. "Anti-parallel" is probably arguable, but how that's relevant at an undergraduate level of instruction is highly questionable.
At any rate the real problem is that colleges offer degrees in "computer science" but not "software engineering". How many of these students will finish their degrees without ever having committed to source control? Without coding to a 3rd-party API? Connecting to a database? Performing maintenance programming? Working in an honest-to-god team?
Pink Floyd Give In To Digital Downloads
I mean if you don't listen to Pink Floyd albums as ALBUMS, you're doing it wrong.
First Electric Cars Have Power Industry Worried
Do you actually know what "deregulation" means in this context? California did not "deregulate" its power industry, it "re-regulated" it into a non-functioning arrangement:
- wholesale power suppliers were free to adjust prices
- retail power providers were not (the aforementioned government price fixing)
- generation costs spiked due to exogenous factors
- You do the math.
It doesn't even take a first year Econ student to figure out that this was doomed from the start.
Has Any Creative Work Failed Because of Piracy?
I was going to post the same thing. A friend who had a DC had maybe 2 or 3 purchased games, and a whole spindle of CDRs with downloaded ones.
YouTube Explains Where HTML5 Video Fails
Just sign up for the HTML5 beta on YouTube and give it a try. It doesn't fucking work! Videos stutter, the audio gets replaced by static, some videos don't play at all. And this is in Chrome! I'm all for doing away with Flash but right now the video tag is just not a viable alternative.
Later School Start For Teenagers Brings Drop In Absenteeism
No, high school is a prison for teenagers. All that stuff with textbooks is window dressing.
The Problems With Video Game Voice Acting
Which of course is why basically linear games can have excellent voice acting. And by this of course I mean Blood Omen, Soul Reaver, and their sequels, which to this day have the best voice acting in any game ever made. I mean, just watch the intro to Soul Reaver, and play the first 10 minutes of the game, and compare that to more recent rot like Final Fantasy 10 and up, the Metal Gear Solid series, and even Modern Warfare 2 (which is good, but not the equal of, say, SR2).
Music While Programming?
...but that's just me. It's easier for me to tune out office background noise than music, since I like music.
The important point is that your boss is being an idiot and you need to walk in there and tell him he's being an idiot. And if you're afraid to do that it means you need a different job because you ABSOLUTELY NEED to be able to do that.
FTC Says Virtual Worlds Bad For Minors
I'll admit to having only skimmed the FTC posting, but I didn't see anything saying that could be construed as "virtual worlds are bad for minors." They said that minors have ACCESS to virtual worlds, but any conclusion of harm is based on prior assumptions, with which many of us would disagree.
Mozilla Thunderbird 3 Released
Either they did fix it or migrating settings skips over it. It was Smart Folders (which I swear I disabled on the setup tab) making it appear as if it had happened.
Mozilla Thunderbird 3 Released
...wherein when you set up a new IMAP account it purges all the messages you had marked-as-deleted without asking you. Or in this case does it when migrating settings from version 2, again without asking you.
I actually had a developer try to argue this wasn't a bug. Are you fucking serious, guys? Permanently deleting 10,000+ messages with no confirmation is a FEATURE?
I also like how it had to re-download all my folders for no good reason.
Pretty close to re-installing 2.x at this point.
MoNsTeR hasn't submitted any stories.
MoNsTeR has no journal entries.