Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment Tidal (Score 1) 32

There is a competing service called Tidal (formerly called Wimp). I switched a few years ago from Tidal to Spotify because Spotify was a bit cheaper.

This news made me recheck the subscription costs beteeen the two seevices and if Spotify raises their price, I will switch. Even if they don't, I may switch anyway - Tidal looked like it has a 'masters' /hi-fi subscription to get master quality lossless audio - looks sweet. Time to start a trial and see...

Comment Re:False assumption (Score 4, Funny) 814

Just set your slashdot comment setting to code.  Then you can get two spaces with all their glory.

And you'll get monospaced characters also.  Speaking of which, comments in code are monospaced.  Are two spaces after a sentence more correct there?  Personally, I think it looks too expanded.

Comment Large font (Score 1) 2044

I had no idea the font size in a bill was so large. It really makes it seem as though the media networks exaggerate the size of the document. I wonder how large it would be if given in a standard font size.
Government

Obama Edicts Boost FOIA and .gov Websites 400

Ian Lamont writes "The Electronic Frontier Foundation and the National Security Archive are praising President Obama's executive orders to make the federal government more open. Yesterday, Obama issued two memos and one executive order instructing government agencies to err on the side of making information public and not to look for reasons to legally withhold it. The moves are expected to make it easier for people to file Freedom of Information Act requests, and should also boost the amount of information that agencies place on their websites. The general counsel for the National Security Archive (an NGO that publishes declassified documents obtained through the Freedom of Information Act) even predicts that agencies will use blogs to share information. Obama's directives reverse a 2001 memo from former US Attorney General John Ashcroft instructing federal agencies to generally withhold information from citizens filing FOIA requests."
Privacy

"Reality Mining" Resets the Privacy Debate 209

An anonymous reader sends us to the NYTimes for a sobering look at the frontiers of "collective intelligence," also called in the article "reality mining." These techniques go several steps beyond the pedestrian version of "data mining" with which the Pentagon and/or DHS have been flirting. The article profiles projects at MIT, UCLA, Google, and elsewhere in networked sensor research and other forms of collective intelligence. "About 100 students at MIT agreed to completely give away their privacy to get a free smartphone. 'Now, when he dials another student, researchers know. When he sends an e-mail or text message, they also know. When he listens to music, they know the song. Every moment he has his Windows Mobile smartphone with him, they know where he is, and who's nearby.' ... Indeed, some collective-intelligence researchers argue that strong concerns about privacy rights are a relatively recent phenomenon in human history. ... 'For most of human history, people have lived in small tribes where everything they did was known by everyone they knew,' Dr. Malone said. 'In some sense we're becoming a global village. Privacy may turn out to have become an anomaly.'"
PHP

PHP Gets Namespace Separators, With a Twist 523

jeevesbond writes "PHP is finally getting support for namespaces. However, after a couple hours of conversation, the developers picked '\' as the separator, instead of the more popular '::'. Fredrik Holmström points out some problems with this approach. The criteria for selection were ease of typing and parsing, how hard it was to make a typo, IDE compatibility, and the number of characters."

Comment Java road map (Score 1) 558

Here are the steps I recommend:

Setup
  1. Install Java JDK 1.6
  2. Install Eclipse and hook it up the the JDK (not JSE) - All java documentation (JavaDoc) and library source code will be visible to Eclipse. This speeds up learning Java incredibly, as you can also see how a lot of Java's base is written.

Java basics

  1. Stick to primatives and static methods and learn some basic syntax.
  2. Learn the basic Objects (String, Integer, etc.) and arrays.
  3. Learn what the following descriptors mean: public, private, protected, final, static (hold off on 'transient' until later)
  4. Learn object inheritance
  5. Understand interfaces
  6. Learn 'abstract' descriptor
  7. Learn about enums
  8. Learn about the difference between String and StringBuffer (immutable vs. mutable)
  9. Learn about packages and begin using them right away
  10. Learn Exception/Throwable class. Learn 'try', 'catch', 'finally', and 'throws'. Learn the difference between checked exceptions (exceptions that extend Exception) and unchecked exception (exceptions that extend RuntimeException).
  11. Learn the basic organization of a class according to some java coding standard (I like inner classes first, then static fields, static methods, then instance fields, instance methods. Order fields and methods by public, protected, default, private.) Additionally, learn how to write JavaDoc comments right away.

At this point, most of the foundation in Java's structure should be clear. Now to pick up some of the fundamental classes available:

  1. I feel the most important library (besides the basic objects mentioned above) is the Collections (java.util.Collection and subinterfaces and implementing classes), especially List<E>/ArrayList and Map<K,V>/HashMap. Become very familiar with these. The collections will help you learn to program to an interface instead of an implementation and learn how generics work. Observe the source code to some of these classes to learn how to program generics.
  2. Learn how Iterators work, varargs, and the foreach loop
  3. Learn Comparable/Comparator, Calendar/Date, Formatter

Then depending on your needs, start looking into the following stuff:

  • File, InputStream/OutputStream and super classes
  • BigDecimal (high precision math)
  • Thread, Runnable, the descriptor 'synchronized' together with Object.notify() and Object.wait()
  • java.sql.* basics: Connection, Statement/PreparedStatement, ResultSet
  • Pattern and Matcher if you like regular expressions

Now that you have most of the Java core under your belt, you can proceed to other frameworks. Each framework will probably take considerable time to learn. For example:

  • Creating jars: I would recommend 'Apache Ant' if you are used to 'make' for other languages. The other popular packager is called Maven.
  • Logging: log4j is a nice library
  • Apache commons libraries have a lot to offer
  • Database persistence: Learn JPA annotations, don't think 'Hibernate' or 'Toplink' or whatever. If you stick to the JPA standard as much as possible, it's really simple to change back and forth between implementations. Toplink has far fewer dependencies and is therefore easier to get running.
  • Webpages: look at JSP and Java Faces
  • Webservices: Axis/Axis2 is rather popular
  • XML parsing: Jaxb, XPath

Advanced java core stuff (not really necessary until you need it):

  • Seriablizable (here is the transient descriptor) and RMI (remote method innvocation)
  • The Reflection API - for accessing methods and fields dynamically
  • Swing: A model/view/controller pattern for standalone applications

Yeah. I would say that is a fair road map.

Slashdot Top Deals

FORTUNE'S FUN FACTS TO KNOW AND TELL: A guinea pig is not from Guinea but a rodent from South America.

Working...