Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?

Comment Re:Making money off real names (Score 1) 232

And what's more valuable to an intelligence agency... someone with a neurotically-groomed token profile based on their "real" name, or someone with an extensive profile under a technically-fake name (a name that's practically a de-facto GUID because they use it in other parts of their daily lives)?

Comment Re:Same issue with Hurricane Evacuations (Score 1) 172

The ultimate nightmare scenario for the National Weather Service: a confirmed rain-wrapped EF0 tornado that touches down in Miami or Fort Lauderdale at 4pm & is clearly heading towards I-95. If they say nothing, the tornado is unlikely to kill anyone, because everyone will be driving slowly due to the torrential rain anyway. On the other hand, if they send out a warning that a tornado is about to cross I-95, some idiot is almost **guaranteed** to abandon his car, attempt to cross 4-6 lanes of traffic, and get run over (because it's still bumper-to-bumper 30-40mph traffic, but near-zero visibility). And probably trigger a 7-car pile-up in the process.

Comment Re:Why is is always the "IT Computer Expert"... (Score 1) 297

And if it's "automatic", almost by definition it's always online & thus vulnerable to a potentially WORSE (insofar as data recovery is concerned) mode of failure... encryption by ransomware.

Seriously. Name one... ONE... NAS or online backup solution that allows continuous adhoc writing, but acts like a virtual WORM filesystem and merely marks obsolete files as 'deleted' without actually deleting them, so that any attempt by ransomware to encrypt the files on the backup drive would simply fill up the drive until the ransomware crashed (and quite possibly provide an early warning of what it was up to).

In some ways, it feels like we've gone backwards over the past 20 years. Capacities have increased exponentially, but new hard drives seem to drop like flies compared to drives from 10-20 years ago. And often, they fail in creative ways that RAID (1, 5, 10, or whatever) can't save you from (golden example: OCZ's second-generation SSDs with Sandforce controllers that simultaneously omitted the supercapacitor needed to make sure the drive never lost power during writes (to save about a dollar per drive) AND disabled the multi-step safety measures Sandforce built into the default firmware (because it made the drives slow).

Comment Re:First, define what you mean by "C++" (Score 1) 336

I personally threw in the towel on C++ for AVRs when I found out that the only way to create instances of an object was an abomination like:

DesiredObjectType* ptrObjectType = (DesiredObjectType*) malloc(sizeof(DesiredObjectType));

or something to that effect. I don't remember whether it was just a temporary work-around to a bug in the current version of GCC, or something more fundamental... but it totally turned me off. I went back to assembly. It was easier, and made more sense.

Comment Re:1.5V alkaline vs 1.2v NiMH (Score 2) 243

The catch is, not all devices (especially devices more than a few years old) ARE "sanely designed". I remember quite well that the original Palm III had fairly demanding battery requirements... it was good for about a month with Duracell or Energizer alkalines, but only lasted 2-3 weeks with store-brand alkaline cells, and only lasted a few DAYS with NiMH cells. Ditto for my piece-of-shit Minolta d'Image DSLR, which was good for about 10 photos on brand new alkaline batteries before shutdown.

That said, the marketers behind this aren't being entirely honest... they're presenting the best-possible and most extreme edge case as the universal norm. It will make a HUGE difference for some (badly-designed/cost-cut) devices, and make no positive difference for well-designed devices. Regardless, it'll be useful, because shit devices vastly outnumber well-designed ones.

Comment Re:Just GBE everywhere! (Score 1) 557

Fiber of any kind is a waste of money unless you already know what you're going to terminate it with at both ends. Fiber might be "future-proof" in the sense that someone, someday, will make converter boxes to let you use older fiber for new purposes... but I can guarantee that any such conversion box will end up costing WAY more than you'd have likely spent just buying a spool of new fiber and pulling it through a conduit. That's why conduit is so great. You don't HAVE to try and guess an unpredictable future, and spend eternity putting band-aids on your mistakes from 20 years ago. Put in conduit, and you can pull whatever you need, when you eventually need it.

Comment Conduit. (Score 1) 557

Conduit. The future might be wireless, but the wireless you'll have to use won't be able to penetrate a window, much less a wall. Conduit will allow you to pull cheap cat5e today, and replace it with fiber 10-20 years from now when you finally NEED it.

Run conduit to every room where you think you might someday want to have a network connection, or need to put a line-of-sight access point. Don't forget the bathrooms, garage, basement, and snack bar in the kitchen.

From at least one box in each room where you're terminating the low-voltage conduit, run another conduit up to somewhere on the ceiling about a foot or two from the wall. You can omit the boxes and just leave the conduit there (photographed and documented for future reference), but they'll make your life INFINITELY easier if you someday need to put an access point on the ceiling). Remember what I said earlier about wireless? When the day comes that you'll need it, you'll be glad you have a ready-to-use conduit that just needs you to cut a hole in the ceiling and grope around until you find the conduit. For line-of-sight wireless, you'll be glad you have the ceiling location.

If possible, run two conduits to non-adjacent walls in the bedrooms and living room. Don't forget the area under the wall cabinets in the kitchen and the snack bar.

Big tip: don't terminate the homerun from the wiring closet to the living room in a box behind your likely TV location. Put the box near a corner, in a spot likely to be easily accessible, then run another conduit from THERE to the box behind the TV. That way, if you someday have a 700 pound entertainment center blocking easy access to the box behind the TV and you bought some new toy that needs to have wiring pulled, you can temporarily pull it to the accessible box and play with it for a few days without having to deal with large-scale furniture movement.

Comment Re:First, define what you mean by "C++" (Score 1) 336

That's probably because you've never done anything that's unsupported and unblessed by the chipset vendor.

Use case: rooted American Android phone. Gimped Broadcom radio driver that has FM reception disabled at carrier request, even though the hardware capability is present. Alternate .ko ripped from the European or International model's ROM dump and hacked to support American frequencies. Copy the .ko file to the phone, remount system as read/write, insmod.

Use case #2: rooted Sony Android phone. Camera crippled because Sony put the drivers for the advanced low-light and image-enhancement features in ARM TrustZone & throws away the encryption key if you unlock the bootloader via the Sony-blessed method. Acquire leaked files documenting what the code that was hidden away does, and build your own kernel module for the camera that implements everything in normal kernelspace (instead of TrustZone). Post to XDA, then go to bed happy, knowing that you're doing your part to fight The Man and bring Power to the People. ;-)

Comment First, define what you mean by "C++" (Score 3, Interesting) 336

Define what you mean by "C++".

C++ firmware for an Atmel AVR microcontroller?

C++ native Android loadable kernel module?

C++ MFC Windows app?

C++ hardware driver for Windows?

C++ Linux app built for GTK+?

The borderline-useless artificial construct college textbooks pretend is C++ for the sake of having something consistent and coherent to teach students for a few years at a time?

My point is that knowing "C++" (as an abstract, academic construct) barely equips you to do anything commercially useful with it. Probably 60% of what you need to know to do anything useful in C++ is platform-dependent, and another 20-30% is IDE-dependent (at least, in the Windows & Android realms, where trying to do anything independently of Visual Studio or Android Studio is an exercise in masochistic frustration (because both platforms are so tightly-coupled to their respective IDEs).

Comment Re:Eclipse (Score 2) 443

Android Studio beats Eclipse for Android development like an unloved child in a trailer park.

Seriously. Night-and-day improvement. No more times when you have to cut something into the clipboard, save the empty file, and paste it back to make Eclipse realize that it's imagining all the errors it thinks were in it. No more "type a semicolon, then have the cursor inexplicably move back so that the carriage return a moment later pushes the semicolon to the next line and breaks the code." No more situations where the IDE forgets what is, where it came from, or how to regenerate it.

Just make sure you use the official Google version of Android Studio, and NOT IntelliJ. As I mentioned in an earlier post, IntelliJ 14 with the Jetbrains Android plugin is neither directly-equivalent nor a consequence-free superset of Android Studio.

Comment Re:Still use the most productive IDE (Score 1) 443

One warning -- Android Studio != IntelliJ Pro

Both are forks of a common ancestor, but the core IDE code bases diverge enough that Jetbrains basically has to backport Google's changes to IntelliJ every time there's a new release.

Maybe my opinion was skewed by horrible bugs in IntelliJ Pro 14.0.x that no longer exist in 14.1.x, but my advice is to just forget that IntelliJ Pro exists (even if you own a copy) and use Google's official Android Studio instead.

I never managed to successfully import an Eclipse Android project into IntelliJ. With Android Studio, it effortlessly worked on the first try.

Ditto, for creating a new app that used the Google Maps API. I fucked around with IntelliJ for WEEKS trying to get it to work, and had little besides inexplicable Gradle build errors to show for it. Android Studio automatically downloaded the SDK files it needed, and even made it blatantly obvious where I had to paste the API key.

For Android development, at least, Android Studio just feels a lot more refined, polished, and streamlined than IntelliJ.

Comment Re:Bummer (Score 1) 160

> Big oil and their lackeys the car manufacturers all would love
> to see rail transportation disappear completely.

Assuming "Big oil" or "the car manufacturers" even noticed the impact passenger rail has on their bottom lines (read: statistically, none at all), it's still a pretty big reach to argue that the amount is even big enough to justify paying the salary of a single lobbyist or two.

Remember, outside the northeast, American trains are almost universally DIESEL. And Bombardier's non-electric Acela-type trainset (designed for Florida's HSR about 10 years ago) burned JET FUEL & had per-mile fuel costs that would have made an airline blush (google: "JetTrain" -- it was basically a TGV/Acela power car carrying a jet turbine engine to generate its own power supply. At full speed, the economics weren't too awful... but by virtue of how turbine engines work, it burned almost as much fuel pulling the train at 70mph as it would have taken to pull the train at 180mph).

Cities didn't rip up their trolley tracks 50 years ago because evil industrialists were scheming to force everyone to buy a car... they did it because ripping up the trolley tracks was politically POPULAR with middle-class voters. They did it because it gave them room to widen roads to 6 lanes & build left turn lanes.

Comment Re:What is the cost of NOT doing it? (Score 1) 515

Don't forget, CAHSR will also INDUCE a lot of new travel that wouldn't have otherwise occurred, and will probably lead to a huge real estate boom in the central valley driven by exurbanites who work in Los Angeles and San Francisco & treat it like their version of the Long Island Railroad. Its value doesn't lie merely in the number of people it will take off the existing roads... its value ALSO includes travel that will exist mainly BECAUSE it exists.

Uncertain fortune is thoroughly mastered by the equity of the calculation. - Blaise Pascal