Become a fan of Slashdot on Facebook


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Re:Come on - a 4.5 is nothing (Score 3, Informative) 65

Let's do some back-of-the-envelope calculations. Based on (linked from TFA), I count five quakes in the last 3 years that are moderately close. (I'm counting the red, blue, and pink markers to the left, and orange and brown a little to the east; the latter are a bit questionable.) All of them are in the 4s in magnitude.

As a rough estimation (admittedly one that will probably diverge exponentially in any error), if you increase the magnitude 1 level, you decrease the frequency by a factor of ten. So five 4s in 3 years means you'd expect one in the 5s every 6 years or so, and in the 6s every 60.

Now, a moderate 6 quake is at the point where you have to explicitly build to resist earthquakes. So from this (very, on a number of axes) rough guess, it seems like they definitely need to consider the possibility... but it's also not something that is likely to present a huge challenge or anything.

Comment Re:For us dummies.... (Score 1) 382

Size and layout-wise they are closer to resembling the cellphone store in the mall below my office than a car dealership.

Out of curiosity, do they at least have a car or two you can test drive? Since there are only a couple models it wouldn't exactly take up much space, but I also can't imagine buying a car (especially an almost-six-figure car) without trying it out.

Comment Re:The main problem with all elec (Score 1) 247

I don't know anyone with a personal garage who doesn't park their car in it - and apart from apartment style condo owners, if you own a dwelling, you have a garage.

I've seen it a lot. One of the houses I spent several years in as a kid had a 1-car garage that I'm pretty sure was basically never parked in -- it was used as a workshop and such.

And there are also areas around at least here and probably plenty of other places in the country where, if you look at MLS sale listings, garages are less common than no garage. There was even a million-dollar lakefront listing with no garage!

Comment Re:What about range on this smaller car? (Score 1) 247

Most people don't have a car that can move furniture or large appliances. They just pay to rent a vehicle for those occasions. I find it odd that they don't apply the same logic to EVs.

To play devil's advocate, and I only know my own experiences, but I suspect that people go on longer roadtrips far more than they need to move furniture or large appliances. Especially if you count at the point of renting instead of just "hey, call Joe to see if he will help us move this couch; he's got a pickup."

Comment Stupidest headline ever (Score 1) 128

Over a four month period observed by DePaul University's Chaddick Institute for Metropolitan Development this year, 35.9% of passengers used mobile devices at any point during the flight. In last year's study, while flight attendants still patrolled the aisles for devices that hadn't been shut off, 35.3% of passengers used devices during flight.

This is vaguely interesting, but doesn't match the headline.

Another way to read those numbers is "most people (say they) followed the no-electronics rule." The rule change was "now you can use electronics all the time." That would affect the number of people who used electronics during takeoff/landing, and you wouldn't expect much effect on the number who used it 'at any point during the flight.'

Comment Re:Good luck automating a dual boot (Score 1) 279

Also, with regard to "Of course it's different for an open-source organization or a library vendor that needs to support multiple build/run environments"... it's not an edge case to support multiple platforms. There are lots of closed-source programs that run on multiple platforms you know; possibly more than single-platform ones. (At least if you look at software you can actually buy, as opposed to stuff developed for in-house use only.)

Comment Re:Here's a concept to prevent this crap - UNIT TE (Score 1) 279

That pretty much reflects our situation, except that "one to two hours" can easily be higher even if all your platforms are going at once, depending on how much hardware you want to throw at it. Getting everything set up so that everyone can easily build on all platforms before submitting would provide relatively little benefit (especially when you consider that running the full test suite on all of those platforms pre-commit is basically completely unfeasible) and cost a tremendous amount of money in hardware. Meanwhile, like Darinbob's setup, if you check in something that borks the build, you get an email a couple hours later (ok, sometimes several hours later) telling you to fix it.

Comment Re:Good luck automating a dual boot (Score 1) 279

In addition to the other response, I have a couple others.

First, having a code base that will compile under two disparate compilers (e.g. GCC + MSVC) will help you have cleaner code. Each compiler will find things (whether they be real problems, latent problems, or completely spurious non-problems) that the other won't, and your code will be better for having done it.

And sometimes those differences matter; e.g. MSVC is (slowly) moving toward better standard compliance with C++. I'm not sure what the deal is with flags when it comes to whether you need to explicitly request the conforming behavior or what, but those changes could, in edge cases, silently change the behavior of your code. Building with GCC as well as you go would reduce the probability of that, as well as mean that you make required changes to get it to compile under a conforming compiler gradually instead of all at once when you decide to upgrade to the new version.

Now, worth it if you're as sure as you can practically be that you're sticking on one platform? Up to you to decide. But there's a pretty big benefit.

Comment Re:Dependencies? (Score 1) 279

You also can't forward declare objects you are making a typedef to for now but think you may replace with a full-blown class or whatever at a future point. (Or if you do, not via making a "blah_fwd.hpp" file, then sucks to be whoever is doing maintenance when they go and make that switch.)

Slashdot Top Deals

No amount of careful planning will ever replace dumb luck.