Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re:Huh? This is stupid. (Score 1) 169

I still have a Samsung S3 but for some reason I could never get LineageOS/Cyanogenmod working properly on it, so it'll be retired soon.

But for anyone in their mid 30s or older, it's damn frustrating to see that the $600 smart phone from 2012 or 2013 that has a current street value of $10 even if it works well would have qualified as a damn supercomputer in 1997. So yes, I do want to find another use for it because it seems criminal to dismantle and recycle something that still has an impressive amount of computing power for any time in my life except the past 12 years.

Comment Re:Rule #1 (Score 1) 239

It's workable and high performance. But there are hundreds of posts showing how Scala, Kotlin, or Ceylon let you do everything that Java can do with 50%, 75%, sometimes 90% fewer lines of code without sacrificing readability. Even with lambdas in Java 8 and collection helpers in Java 9 (or 8? I can't remember), it lags the others in a huge way.

Java has the most ceremony syntax of any popular language since COBOL.

And yes before anyone says it, your IDE can fold code and auto-generate setters and getters and delegating constructors and so forth. But instead of putting class Person with its five fields and three constructors and five getter/setter pairs in its own file, you can have something like "case class Person(val name: String, val dob: Date, .....)" in one line and get all the rest for free inside another file and get right down to using Person objects.

Comment Re:Rule #1 (Score 1) 239

Most companies start with a 'toy database' for their 'toy application' and then have the application and the database expand in volume and features used as the business grows. And for an awful lot of companies, the growth never passes the size in which Oracle or something like it becomes necessary.

Oracle didn't want to kill MySQL. They wanted to make it easier to sell potential customers on the transition.

If your goal is to make money, it is an obvious path to take.

Comment Re:Rule #1 (Score 1) 239

Actually, the Graal project that Oracle is funding for Java is pretty cool. And the only thing bad about handing JavaEE to the Apache Software Foundation was that Oracle should have done it sooner.

Java is painful to use, but it's around for the long haul - especially since Oracle couldn't remove OpenJDK even if they wanted to. The JVM, though, is a really useful platform, and Oracle has not yet managed to screw that up.

Comment Re:Ruby (Score 1) 349

Right. I did say that other languages have offered the feature. I just think that many of the people wildly enthusiastic about Node.js probably come from Java, C#, and C++ shops where the edit-compile-run-test cycle was measured in minutes. So even though this is not a new thing, it was new to these developers.

Comment Re:2017 (Score 1) 314

I always thought of Spongebob as teaching by counterexample. "This is the greedy jerk." "This is the narcissistic artist type." "This is the whiny teenager." "This is the procrastinating teenager." So maybe someday a kid says, "I sound like Patrick Star. Maybe I'm doing something wrong with my life."

But mostly, many - though not all - episodes are surprisingly funny. When my kids started watching I resigned myself to cartoon equivalents of Barney the Purple Parent Torturer, but I found myself laughing a lot.

Comment Re:2017 (Score 1) 314

I can get news and political commentary off websites. And I take a tiny fraction of the money I used to spend on paid television and buy the kids entire seasons of Looney Tunes / Spongebob / The Wizards of Waverly Place / Scooby Doo.

And most of my friends and family aren't in the tech industry, and we still switched to discussing shows to buy or rent instead of catching them live.

For live sports, I can catch the local stuff OTA with an HD antenna. I'm not paying for ESPN or similar.

Comment Re:Internet service bundled too (Score 1) 314

I read that argument on Slashdot all of the time. But at least for me, it's not true.

I have Comcast. My internet service is $75 per month for 25/5. There would be an additional $7 cable modem monthly rental cost if I used their device, but I bought my own.

If I got a bundle with television, it would be $60 per month. Better, right? Except there's also a $5 per month Comcast (not government) regional sports fee, a $7 per month Comcast (not government) regional channel fee, and maybe $4 in state and federal taxes. Now I'm at $76 per month. If I want DVR service, it's an additional $10-$15 per month.

Now you can argue that the added cost of cable is so low that it's a worthwhile purchase. But it is an added cost - who has television without DVR service these days?

Plus, there's one added advantage of staying internet-only with Comcast: they have fewer opportunities to make errors on your billing. Every year or so I have to call Comcast and provide proof that I own my own cable modem to get them to stop adding cable modem rental fees to my bill. But when I had television service? Forget it. My channel package got more expensive every few months, and I constantly had to call to negotiate it back down. And on several occasions they started charging me for premium channel packages I never agreed to get.

Comment Re:2017 (Score 1) 314

I don't know about you, but I can't watch Game of Thrones and Ray Donovan at the exact same time. So you don't need to subscribe to three or four streaming services at the same time. Use HBO Go for a few months and binge on the shows there. Then cancel, and get CBS All Access or Hulu Plus for a few months. Then cancel, and get Starz. etc... etc...

If you insist on getting all first run episodes on release, then it won't work. But that's your problem, not theirs.

Comment Re:Ruby (Score 1) 349

I have a cushy position, which is why I haven't jumped ship despite intense frustration over the slow build environment. What you're suggesting makes sense, but it's a huge amount of work. I've suggested it before and couldn't get any traction. But a friend just earned a promotion to developer lead and this is something he's always wanted to fix too, so I'll bring it up again to him.

What kind of hot reload do you use? Just in your IDE? JRebel? JHipster? DCEVM? SpringLoaded?

Comment Re:Ruby (Score 1) 349

I specifically said at the end of my post that other languages offered this before Javascript and Node.js. I just said that for a lot of server side developers, Node.js was their first exposure to the concept.

And yes, debugging is much harder and the bizarre type system causes all kinds of headaches. I'm not saying Node.js is flat out better than Java (or C#, or C++, or Haskell, or Scala). I'm just saying that instant feedback on changes can be a wonderful break from "make change, grow beard, test change" iterative cycles.

Comment Re:Ruby (Score 1) 349

And repeat 589 more times... in three hours and have something with an amazing set of working features considering all of the work involved.

At my job now, I work on Java code. "mvn install ; cp_to_tomcat.sh ; start_tomcat.sh ; loop_until_login.sh ; espeak 'build ready for manual check' " takes nine minutes on a core i7, even if I changed only one line of one Java file since the last build. If I do "mvn install -DskipTests" it takes five minutes.

So even though the Node.js/Python/Ruby/PHP/Perl developer loses all of the power of static types, he or she can iterate fifty times faster than I can. Once your application is complicated enough, you can make a very strong argument that even fifty times faster iteration doesn't offset the value of a good static type system. But there is definitely trade offs.

Slashdot Top Deals

There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence. -- Jeremy S. Anderson

Working...