Java

A Dice Talent Community

Java Dice Talent Community

A community for Java developers and fans of the now ubiquitous mobile platform. We’ll explore available development tools, best practices, as well as mobile and enterprise deployment.

Click here for information about Java fundamentals.

Following this community adds its articles to My Tech Feed.

Please note: This community is no longer being updated. Please check the Programming Talent Community.

Latest News From Dice

Coding Challenge Wrap-Up: Who Won the Map

Roman Trade Network
Compared to our previous coding challenges, May’s was a modest affair, with just three entries coming in from Rick Matter, Jon Pattinson and Jay Nagel. And, despite opening the entries to include Delphi, Go and Python as well as C/C++, Java and C#, all three were written in Java! (You can find all the competition files here.) In this challenge, you were given a 20×20 map that contained 20 trading islands, each occupying a square. Each island was a trading… continue…

How to Write a Game Runner Program

Cards
I wrote the runsevens game runner program to automate the running of the Tournament of Sevens programming challenge, and it was an interesting little project. It’s designed to do the following: Maintain a ladder of players. Run games of Sevens for a number of players by executing standalone exes. Update the ladder with games’ results. That’s a fairly high-level view. Running each game of Sevens also requires shuffling a deck of cards, dealing them to the players and tracking card… continue…

Is Apache Spark the Next Big Thing in Big Data?

Data Transfer
In any article or blog post, any mention of Big Data usually includes something about Hadoop. When it comes to Big Data, Apache Hadoop has been the big elephant in the room, and the release of Hadoop 2.0 in 2013 made the environment easier and more stable. But even with the inclusion of Impala for querying stored information real-time, Hadoop is still a batch-based system that processes data in, well, batch mode. Big Data processing is said to have three… continue…

Tournament of Sevens: Week 1 Results

Marathon
Though the Tournament of Sevens coding challenge took much longer to get off the ground than expected, I’ve taken steps to sort out the bot bugginess and the contest is now roaring ahead. The first week included 16 viable competitors, out of 19 entries. One obstacle in getting this going was from Eclipse projects. The problem with them is that their source files end up in different places and the IDE is a bit fiddly building and deploying the class… continue…

Interview Questions for Java Developers

Posted In Java, Looking in Tech
Dice Interview Qs Icon
With an estimated 9 million developers using it, Java is one of the most popular programming languages around. In fact, some estimate that Java powers more than 3 billion devices. With so many people claiming expertise, IT managers often ask tricky technical questions to separate the novices from senior developers, says David Bolton, guide of the Dice Java Talent Community. Here are some questions you can expect to hear. What is Type Erasure? What Most People Say: “Umm, I’m not… continue…

Slashdot: News for Nerds

Attack of the One-Letter Programming Languages

posted 18 hours | from snydeq

developers 118

snydeq writes: The programming world is fast proliferating with one-letter programming languages, many of which tackle specific problems in ways worthy of a cult following, writes InfoWorld's Peter Wayner in this somewhat tongue-in-cheek roundup of the more interesting entrants among this trend. "They're all a bit out there, with the possible exception of C. ... Each offers compelling ideas that could do the trick in solving a particular problem you need fixed.'"

2014 Hour of Code: Do Ends Justify Disney Product Placement Means?

posted 2 days | from theodp

education 125

theodp writes "The purpose of product placement/product integration/branded entertainment," explains Disney in a job posting, "is to give a brand exposure outside of their traditional media buy." So, one imagines the folks in Disney Marketing must be thrilled that Disney Frozen princesses Anna and Elsa will be featured in the 'signature tutorial' for CSEdWeek's 2014 Hour of Code, which aims to introduce CS to 100 million schoolkids — including a sizable captive audience — in the weeks before Christmas. "Thanks to Disney Interactive," announced Code.org CEO Hadi Partovi, "Code.org's signature tutorial for the 2014 Hour of Code features Disney Infinity versions of Disney's 'Frozen' heroines Anna and Elsa!." Partovi adds, "The girl-power theme of the tutorial is a continuation of our efforts to expand diversity in computer science and broaden female participation in the field, starting with younger students." In the tutorial, reports the LA Times, "students will learn to write code to help Anna and Elsa draw snowflakes and snowmen, and perform magical 'ice craft.' Disney is also donating $100,000 to support Code.org's efforts to bring computer science education to after-school programs nationwide."

Upgrading the Turing Test: Lovelace 2.0

posted 3 days | from mrspoonsi

technology 68

mrspoonsi tips news of further research into updating the Turing test. As computer scientists have expanded their knowledge about the true domain of artificial intelligence, it has become clear that the Turing test is somewhat lacking. A replacement, the Lovelace test, was proposed in 2001 to strike a clearer line between true AI and an abundance of if-statements. Now, professor Mark Reidl of Georgia Tech has updated the test further (PDF). He said, "For the test, the artificial agent passes if it develops a creative artifact from a subset of artistic genres deemed to require human-level intelligence and the artifact meets certain creative constraints given by a human evaluator. Creativity is not unique to human intelligence, but it is one of the hallmarks of human intelligence."

Startup Assembly Banks On Paid, Open-Source Style Development

posted 4 days | from enbody

business 33

enbody writes A year-old startup, Assembly, is built on the premise of creating products using open-source style development, but structured in a way that you get paid for your contributions. Open-source development is well-known in the Slashdot community, as are a variety of ways to earn a living around open-source, such as support. What is new here is being paid as part of the development, and not just for coding — your contribution might be as project manager or sales. A nice description with video showed up today on the Verge. Of course, the devil is in the details, but they have products so someone in Slashdot land may be interested. (Bias warning: I know one of these guys.)

It's Not Developers Slowing Things Down, It's the Process

posted 4 days | from anonymous coward

developers 185

An anonymous reader writes: Software engineers understand the pace of writing code, but frequently managers don't. One line of code might take 1 minute, and another line of code might take 1 day. But generally, everything averages out, and hitting your goals is more a function of properly setting your goals than of coding quickly or slowly. Sprint.ly, a company than analyzes productivity, has published some data to back this up. The amount of time actually developing a feature was a small and relatively consistent portion of its lifetime as a work ticket. The massively variable part of the process is when "stakeholders are figuring out specs and prioritizing work." The top disrupting influences (as experienced devs will recognize) are unclear and changing requirements. Another big cause of slowdowns is interrupting development work on one task to work on a second one. The article encourages managers to let devs contribute to the process and say "No" if the specs are too vague. Is there anything you'd add to this list?

As Amazon Grows In Seattle, Pay Equity For Women Declines

posted 5 days | from reifman

amazon 495

reifman writes Amazon's hiring so quickly in Seattle that it's on pace to employ 45,000 people or seven percent of the city. But, 75% of these hires are male. While Seattle women earned 86 cents per dollar earned by men in 2012, today, they make only 78 cents per dollar. In "Amageddon: Seattle's Increasingly Obvious Future", I review these and other surprising facts about Amazon's growing impact on the city: we're the fastest growing — now larger than Boston, we have the fastest rising rents, the fourth worst traffic, we're only twelfth in public transit, we're the fifth whitest and getting whiter, we're experiencing record levels of property crime and the amount of office space under construction has nearly doubled to 3.2 million square feet in the past year.

"Barbie: I Can Be a Computer Engineer" Pulled From Amazon

posted 5 days | from clcto

books 554

New submitter clcto writes Back in 2010, Computer Engineer Barbie was released. Now, with the attention brought to the Frozen themed programming game from Disney and Code.org, unwanted attention has been given to the surprisingly real book "Barbie: I Can Be a Computer Engineer". So much so, that Mattel has pulled the book from Amazon. The book shows Barbie attempting to write a computer game. However, instead of writing the code, she enlists two boys to write the code as she just does the design. She then proceeds to infect her computer and her sister's computer with a virus and must enlist the boys to fix that for her as well. In the end she takes all the credit, and proclaims "I guess I can be a computer engineer!" A blog post commenting on the book (as well as giving pictures of the book and its text) has been moved to Gizmodo due to high demand.

Ask Slashdot: Professionally Packaged Tools For Teaching Kids To Program?

posted 1 week | from binestar

developers 107

Binestar writes: I've been doing IT consulting for years, but I'm not a programmer beyond bash scripting, perl scripts to make administration easier, and batch files to make Windows easier. I recently found an online course for modding Minecraft that my 9-year-old daughter is really enjoying (she built a custom sword that shoots lightning). Does anyone have any recommendations on online courses that would be age appropriate and worth the investment? It's been easy to get her interested in the Minecraft modding course because, as any parent with young children knows, Minecraft is kinda popular...

The course she's taking now is teaching her Eclipse and Gimp, and I'm sure there are other tools installed that they haven't had her open yet. What other vendors have stuff worth introducing her to? I've also started looking at things like the Kano and Learn to Mod, but as a non-programmer, I'm not really sure which are most useful for introduction and which are accomplishing what they claim vs. being a waste of money/time.

Anyone have experience or suggestions to help sort this out?

HTML5: It's Already Everywhere, Even In Mobile

posted 1 week | from electronic convict

html5 133

electronic convict writes: Tom Dale has never been shy, and in a Q&A with Matt Asay on ReadWrite, the EmberJS co-founder and JavaScript evangelist makes the outspoken claim that open Web technologies are already everywhere, even in native mobile apps, and that it's only a matter of time before they catch up to "all the capabilities of a native, proprietary platform." Take that, Web-is-dead doomsayers.

Dale has plenty more to say, calling Google an "adolescent behemoth" that's belatedly embracing open-Web technologies in mobile, lauding Apple's Nitro JS engine and belittling the idea that Web apps have to look and feel the same as native apps for the open Web to triumph. His bottom line: "[I]t's not hard to see that the future of the Web on mobile is a happy one."