Please create an account to participate in the Slashdot moderation system


Forgot your password?
Slashdot Deals: Deal of the Day - Pay What You Want for the Learn to Code Bundle, includes AngularJS, Python, HTML5, Ruby, and more. ×

Comment Re:Thanks. (Score 3, Interesting) 129

(Note: I'm the person who posted the first response too, but I wasn't logged in then so it came out as from anonymount).

If you want to do some custom drawing, then sure, you can start with a View and extend it to make your own Widget.

You can draw without a View, but only on bitmaps. Canvases from the screen come from Views. If you have a Drawable and you want it to appear on the screen, then the easiest way is to create any view you want and just make the background be that Drawable. This can all be done in XML in your layout resource file and it doesn't take a single line of Java code. It's very easy once you're used to it.

When I started out my biggest confusion was Activities, Apps, and Tasks. Those really mixed me up. But once I got used to them I found them very nice, it makes it easy to build modular apps that work together smoothly.

Comment Rocketboost from Best Buy (Score 3, Interesting) 438

The Rocketboost system at best buy is a wireless solution that will work for you: gives a good summary of how it works.

You can add speakers and audio sources around your house, and the speakers have a "next source" button that lets you flip between your audio sources. It is modular, where you can buy as many units as you need and they all join together into one big network in your house. It isn't super-cheap, but it is cheaper than other products that are equally as flexible in how you set them up.

Disclaimer: I worked on this product (wrote the protocol stack for moving the audio data over the air), so you may want to take my recommendation with a grain of salt, but I am happy with how well the product turned out and I think it's pretty neat.

Comment Re:That's a broken way to think of it (Score 5, Informative) 961


I think the parent was implying that C often directly maps into assembly language, and he's right. As an embedded programmer, one of the benefits of C is that, other than register selection, I can often tell you exactly what assembly statements will be emitted by a chunk of C code. Often I do use C as a shorthand for assembly.

Nobody who knows the term "assembly language" will think that C is one. But it's a lot closer than you might think.

Meteorite Causes Illness in Peru 357

eldavojohn writes "A meteorite struck in Peru on Saturday leaving cinders, rock & water boiling out of the ground. Villagers nearby reported headaches & vomiting and attributed it to the event. From the article, 'Seven policemen who went to check on the reports also became ill and had to be given oxygen before being hospitalized, Lopez said. Rescue teams and experts were dispatched to the scene, where the meteorite left a 100-foot-wide (30-meter-wide) and 20-foot-deep (six-meter-deep) crater, said local official Marco Limache.' It's not yet clear whether this is from the meteorite, gas trapped underground that was released or a chemical reaction between the two."
The Internet

Submission + - Council of the EU says: We cannot support Linux

stefon writes: "The Council of the EU has a streaming service to watch the meetings. But the streaming service can be only be used by Mac or MS Windows user. This is because they use wmv for the videos. An online petition has been set created to create pressure to convince the EU council to change its serve in a way that its platform independent. More infos about "

Submission + - Wild bird blinding Laser beacon announced

snot.dotted writes: "Southampton, UK. City council announced the construction of a Laser Beacon that will cost £249,000 or $487,590. To be constructed with four high powered lasers (5 watts, class 4) that will be visible for 20 miles and the lasers will be constantly running from dusk until midnight. Local astronomers pissed at the light pollution link to local news paper article, City council leaders unaware of diffraction and beam divergence! You can read their proposal here as a pdf Pidgeons and other wild birds likely to be blinded. Apparently a world first. Next, council to attach frickin' lasers to sharks. Dr Evil running for re-election again! more Beacon of the South Stories"

Submission + - GNU Classpath responds to Sun OpenJDK

Mark Wielaard writes: "Ever since Sun announced they would release all of their Java ME, SE and EE implementations under the GPL people wondered what the reaction of the existing libre java community would be. The FSF was very positive about the move in their press release. Now the GNU Classpath developers have responded. The GNU Classpath 0.93 "Dreamland" release notes show their reaction is to produce lots of new code (nio for Darwin/BSD, Swing HTML support, Corba, Graphics2D through Cairo, plus screenshots) and has a lot of postive reactions from their developers (plus some from gcj, kaffe, ikvm, etc.) on the OpenJDK announcement. Seems this might turn out to be a very positive and constructive cooperation. Maybe this will make Java a first class programming language for GNU/Linux next year?"

We're here to give you a computer, not a religion. - attributed to Bob Pariseau, at the introduction of the Amiga