Slashdot is powered by your submissions, so send in your scoop


Forgot your password?

Comment: Re:Eclipse (Score 2) 432

by Miamicanes (#49733243) Attached to: Choosing the Right IDE

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) 432

by Miamicanes (#49733193) Attached to: Choosing the Right IDE

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) 159

by Miamicanes (#49684575) Attached to: Amtrak Train Derails In Philadelphia

> 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.

Comment: Re:Not sure inter-city mass-transit works in the U (Score 3, Informative) 515

American rail is made more expensive by urban sprawl, but not quite in the way most people think. If you compare somewhere like South Florida to Germany or Italy and look at how many people are likely to be within 5 miles of a given station, we really DON'T look all that different. Well, except Miami has a lot more skyscrapers sprawled across the entire metro area (even Broward has gotten into the act... witness "Tao" -- two 30-story towers built next to Sawgrass Mills mall whose balconies literally overlook the Everglades).

Anyway, the BIG difference between Florida or California and Europe is that in Europe, once you get out of the city... it tends to become rural & stay that way for a while. In contrast, if you were to build brand new tracks from Miami to West Palm Beach within 5 miles of I-95, you'd LITERALLY be plowing through a hundred miles of solid low & medium-density suburbia almost every inch of the way. In contrast, a comparable route in Europe would pass through at most a half-dozen cities, and run mostly through areas that were farmland or forest.

Comment: Re:nonsense (Score 2) 532

by Miamicanes (#49629825) Attached to: The Medical Bill Mystery

This used to *really* piss me off when I had a pre-Obamacare individual policy (because I was a contractor) that excluded coverage for anything that I'd ever received treatment for in the past. Specifically, the fact that if they DID exclude something from coverage, they didn't even have the decency to at least soften the blow by letting you pay the steeply-discounted rate THEY would have paid the doctor if it were a covered procedure. It felt like getting doubly-screwed... not only did they refuse to pay, but the amount I had to pay was several times the amount they would have paid. It just seemed like the ultimate "fuck you" gesture from them.

Comment: Re:Good (Score 3, Interesting) 302

Actually, a restored copy (or even a digitized copy) would be a derived work. Derived works can be copyrighted independently of the foundation work, as long as some degree of artistic creativity was involved. If I digitally-restored an old film that was in the public domain, digitally-watermarked it, and you distributed unauthorized copies of it, I could most certainly sue you for infringement. I couldn't stop you from independently obtaining a copy of the original work and doing YOUR OWN restoration on it (and getting your own copyright), but I CAN stop you from using MY restored copy as your source.

Here are some other examples:

The original German text of Grimm's fairy tales: public domain

A translation of them (with a few artistic liberties) published long ago: public domain.

A new translation of them: the lines you changed are a derivative work & copyrighted. The lines that were unchanged from the original translation are public domain. The limits of how far someone could go republishing your translation with your own changes slightly paraphrased: anyone's guess, but likely to be messy.

You print an anthology of public domain works. I OCR them, and typeset & sell my own anthology. You MIGHT have a valid (if weak) copyright claim if my book had a 1:1 correspondence with yours (every story in one was in the other, in the same order, but without any interpretations/footnotes/etc added by you), but the more my book diverges from yours in form and content, the weaker your claim would be.

You print an anthology of public domain works. I scan each page, and use the images to publish my own anthology. You can absolutely sue me, because I violated the copyright on your "performance" of the original public-domain works.

I record myself playing a Beethoven fugue. You copy and sell verbatim copies: I can sue. The content itself is public domain, but my specific recorded performance of it is not. The process of recording, mixing, and editing added copyrightable value. On the other hand, if I performed it in a public place & you made YOUR OWN recording, I'd probably have no valid claim against you. And I absolutely couldn't stop you from performing the public-domain work YOURSELF, recording it, and releasing it on your own.

Comment: How to install it? (Score 2) 88

by Miamicanes (#49521013) Attached to: AMD Publishes New 'AMDGPU' Linux Graphics Driver

Serious question... I have a desktop w/HD5450 and three monitors on a desktop PC running RHEL 6.5. How do you build & install this driver without completely breaking RHEL's package management for everything else in the process, breaking the kernel configuration, or anything else that might render the computer nonworking?

I *tried* installing ATI's binary Catalyst driver a few months ago. Unfortunately, I think it made some naive assumptions about the underlying filesystem that aren't quite right when you have a spinning HD and a SSD, and both use LUKS for whole-drive encryption. I desperately want to upgrade the video driver, because the performance totally sucks (even for things like dragging a browser window to another monitor), but I don't want to end up burning another day undoing a failed upgrade adventure.

TL/DR: Want to build & install ATI's new driver. Running Red Hat Enterprise Linux 6.5. Not allowed to upgrade to 7, and a prior attempt to directly install ATI's Catalyst binary driver rendered the system unbootable [most likely, because of issues with LUKS whole-disc partition encryption]. Yes, I'm root.

Comment: iBot? (Score 1) 134

by Miamicanes (#49481479) Attached to: Chinese Ninebot Buys US Rival Segway

Hopefully, they'll be manufacturing iBots, too.

For those who don't know, the technology behind Segway was originally developed for use by the ultimate robotic wheelchair. The last iteration before manufacturing was shut down (iBot 4000) could climb stairs, effortlessly navigate curbs, raise the user to eye-level by going up on 2 wheels a-la-Segway, drop down to 4 wheels for extra stability/traction (like at the beach, in grass, etc). I believe it even had a feature that allowed it to automatically climb onto its rack on the back of the user's car after he moved himself into the front seat & return to the car door after parking at the destination.

Comment: Re:Can it cure trichromacy? (Score 1) 137

by Miamicanes (#49467303) Attached to: UW Scientists, Biotech Firm May Have Cure For Colorblindness

I'm at a visual disadvantage to your average, everyday person with normal tetrachromatic vision

Actually, if you were a tetrachromatic woman, you'd have likely grown up thinking YOU had a weird color vision defect of some kind that caused you to "confuse" hues of orange with yellow and red. In reality, there would be a whole bunch of distinct hues that everyone else insisted were "orange", "yellow", or even red or green, but to you would be like trying to approximate green by mixing cyan & pink-orange light.

Let that sink in for a moment. In a world where literally everything -- including non-incandescent light bulbs -- assumes that red, green, and blue are holy, sacred, and the only hues that ultimately matter, a woman for whom yellow-orange is a pure primary color is going to be in a world of hurt where just about everything looks like muddy brown under artificial lighting or video/print.

Could gene therapy extend red a bit? Probably. But like a tetrachromatic woman, unless industry started making cameras & video displays that reproduced that "near-infrared" hue as a primary color, you'd be permanently destroying any sense of color aesthetics you've ever had and guaranteeing that nearly everything would look worse under most real-world non-daylight lighting conditions.

UV? Not happening without artificial corneas. Normal human corneas yellow with age & filter out UV light.

Comment: Re:Why stop there? (Score 1) 137

by Miamicanes (#49463861) Attached to: UW Scientists, Biotech Firm May Have Cure For Colorblindness

Not quite. It's not that one of them is "switched off", it's more like the distribution of the two variants isn't necessarily gaussian... she could have large clumps predominantly of one or the other. Likewise, the two most common pairs of red & green peaks are within 2nm of each other, so even well-distributed combinations of both would be unlikely to make much of a difference.

The one specific combo that seems to be discernible is a woman with two red variants... one that would cause her to be deuteranomalous if she were male & had only one (or if she lost the dice roll and ended up with two copies of it), but acts kind of like a hypothetical "orange" cone when she has a second red variant at the lower end.

From what I've read, even in THOSE women, it's less a matter of "seeing colors others can't see" than "color reproduced in print, photos, and on video displays never *quite* looks "right", and no adjustment can fix it". In fact, most women who have been identified as tetrachromats actually grew up believing they had mild color-blindness (because they'd get into arguments with people about whether something was red or orange & disagree, ultimately concluding that THEIR color vision was the deficient one)..

Comment: Re:Why stop there? (Score 1) 137

by Miamicanes (#49463775) Attached to: UW Scientists, Biotech Firm May Have Cure For Colorblindness

In theory, and under very specific conditions... yes. Under VERY dim light, rods can act kind of like hypothetical "blue-green" cones. If you found the right pigments (no combination of common "process-color" red/cyan/magenta/black pigments will work for this), you could theoretically mix two paint shades that looked absolutely identical to most people in bright light, but were distinctly different when viewed in dim light using only peripheral vision.

There are some men (I don't think women have ever been identified) who appear to be "protanomalous, without red dimming". It turns out, they're REALLY deuteranopes with only blue & red cones, but for some reason ALSO have rod cells that don't shut down in brighter light & act kind of like slightly-odd green cones.

This is also why some argue that medical marijuana can treat color blindness. Some cannabinoids are believed to induce a state of higher tolerance for brighter light in rods... effectively inducing a state similar to the deuteranopes-who-appear-protanomalous.

Comment: Re: Easy grammar (Score 3, Insightful) 626

Irregular verbs exist for a reason... they're the verbs that get used the most, and the irregularities are how people either eliminate redundancy or add additional shades of meaning that most normal verbs can live without.

Ditto, for "silent letters" in English. They're how we disambiguate homonyms (ex: to/too/two).

If English had official "tones" like Mandarin, we could distinguish between meanings of "fuck" used as a verb in writing, to visually indicate things like sarcasm. Actually, in a way, English *does* have an informal "system" of indicating the equivalent of _tones_ -- quotation marks, underlines, italics, boldface, and wikitext markup.

Any conlang that *really* gets used by **real** people as their "real" language will quickly mutate and become as irregular as English or Spanish.

Comment: Re: Invisible hand (Score 5, Insightful) 536

Actually, poor people can be extremely *profitable* customers, precisely because they have so few options available, they're often forced to obtain goods/services at *profoundly* higher total costs. Being poor is expensive. Someone with a SUV who makes $100k/year can buy Charmin Ultra by the pallet at Sam's Club for a fraction of what someone who lives in a poor neighborhood, doesn't own a car, and has to buy toilet paper by the single roll from 7-11 (because the nearest real grocery store is more than a mile away, and getting there by bus would probably take an hour each way when you factor in waiting times and infrequent service) ends up paying.

Ditto, for things like appliances. You & I can buy appliances somewhere like Costco & haul them home with help from a friend or two in somebody's pickup truck... and probably pay just a few hundred dollars for them. Someone living paycheck to paycheck, by contrast, might end up paying $2,400 for a $500 refrigerator because he can't afford $500 up front, but can (hopefully) scrape $25/week for 8 years (with substantial penalties & additional fees piled on top if his income falters at any point during those 8 years).

Even when you factor bad debt that never officially gets paid in full, the poor are staggeringly profitable because the seller has usually broken even on his hard wholesale costs by the third or fourth month, and everything past that point is pure gravy.

There's a whole WORLD in a mud puddle! -- Doug Clifford