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

 



Forgot your password?
typodupeerror

Comment Re:Does it matter? (Score 1) 100

You will have to tell me how:

^10000.grep( *.is-prime).say; # Retrieve prime numbers from 0-10,000

Is incomprehsible bullshit and:

given $value {
    when Str { ... Do string handling ... }
    when Int { ... Do integer handling ... }
    when Bool { ...Do boolean handing ... }
    default { ... Fallback handling... }
}

Is mind wanking....

If you've really tried the language, why not give it a comprehensive review?

Submission + - Linux Controlling a Gasoline Engine with Machine Learning

An anonymous reader writes: Here's a short (2 min) video of PREEMPT_RT Linux controlling a gasoline engine from one burn to the next using a Raspberry Pi: https://www.youtube.com/watch?... It's using an adaptive machine learning algorithm that can predict near chaotic combustion in real-time. A paper about the algorithm is available at: http://arxiv.org/abs/1310.3567

Submission + - Comparing Cloud-Based Image Services for Developers (slashdot.org)

Nerval's Lobster writes: As Web applications grow in number and capability, storing large amounts of images can quickly become a problem. If you’re a Web developer and need to store your client images, do you just keep them on the same server hosting your Website? What if you have several gigabytes worth of images that need to be processed in some way? Today, many developers are looking for an easy but cost-effective solution whereby images can be stored in the cloud and even processed automatically, thus taking a huge load off one’s own servers, freeing up resources to focus on building applications. With that in mind, developer and editor Jeff Cogswell looks at a couple different cloud-based services for image storage and processing. At first glance, these services seem similar—but they’re actually very different. He examines Cloudinary and Blitline, and encourages developers to take a look at ImageResizer, an open-source package that does a lot of what proprietary services do (you just need to install the software on your own servers). "If you’re not a programmer but a web designer or blogger, Blitline won’t be of much use for you,"he writes. "If you are a developer, both Cloudinary and Blitline work well." What do you think?

Submission + - Is Earth Weighed Down by Dark Matter? (slashdot.org) 1

Nerval's Lobster writes: There may be a giant ring of dark matter invisibly encircling the Earth, increasing its mass and pulling much harder on orbiting satellites than anything invisible should pull, according to preliminary research from a scientist specializing the physics of GPS signaling and satellite engineering. The dark-matter belt around the Earth could represent the beginning of a radically new understanding of how dark matter works and how it affects the human universe, or it could be something perfectly valid but less exciting despite having been written up by New Scientist and spreading to the rest of the geek universe on the basis of a single oral presentation of preliminary research at a meeting of the American Geophysical Union in December. The presentation came from telecom- and GPS satellite expert Ben Harris, an assistant professor of mechanical and aerospace engineering at the University of Texas- Arlington, who based his conclusion on nine months’ worth of data that could indicate Earth’s gravity was pulling harder on its ring of geostationary GPS satellites than the accepted mass of the Earth would normally allow. Since planets can’t gain weight over the holidays like the rest of us, Harris’ conclusion was that something else was adding to the mass and gravitational power of Earth – something that would have to be pretty massive but almost completely undetectable, which would sound crazy if predominant theories about the composition of the universe didn’t assume 80 percent of it was made up of invisible dark matter. Harris calculated that the increase in gravity could have come from dark matter, but would have had to be an unexpectedly thick collection of it – one ringing the earth in a band 120 miles thick and 45,000 miles wide. Making elaborate claims in oral presentations, without nailing down all the variables that could keep a set of results from being twisted into something more interesting than the truth is a red flag for any scientific presentation, let alone one making audacious claims about the way dark matter behaves or weight of the Earth, according to an exasperated counterargument from Matthew R. Francis, who earned a Ph.D. in physics and astronomy from Rutgers in 2005, held visiting and assistant professorships at several Northeastern universities and whose science writing has appeared in Ars Technica, The New Yorker, Nautilus, BBC Future and others including his own science blog at Galileo’s Pendulum.

Comment Worse error messages (Score 5, Interesting) 205

When writing error messages, don't have it spit out something sensible. Have it spit out something completely crazy but memorable, which you can then grep the code for. Something along the lines of "The Cake has hit the Fan" or "The Chickens are eating Pie". This improves the odds the user will remember it and report it correctly, giving you some hope of finding where the bug is in the code.

Comment Re:There is going to be a day when... (Score 1) 354

Damn right. The TSA was very successful at what it was supposed to be. The TSA was a test, and we failed. Those in the business of spending our tax dollars against us wanted to gauge how far they could go in escalating the attack without response. They got past stealing; they got past harassing nursing mothers; they got past irradiating nude photography, and they got past molestation. They did not see an air travel boycott; they instead saw a favorable (skillfully worded) gallup poll. I'll just yawn and say the people get the government they deserve. I paid attention in school when learning how our major idealogical enemies over the years ran their countries: "papers please" for internal travel, etc... Dropping any sense of patriotism is the only way to not be furious.

Comment Re:DSLR (Score 1) 179

The earlier smartphones, like Nokia's N95, N85, etc... running Symbian S60 had the same advantage of generous physical controls. I replaced my car PCs with such phones, because they allowed as safe, if not safer operation due to excellent eyes-free interfaces (sometimes had to write my own, but the option existed!). Now with the touch-screen brick model, no smartphone really suffices as a car media player, etc... because operating it requires looking at it.

I'm hoping one or more of these manufacturers realize soon that buttons (and knobs and wheels, etc...) were features and come out with something better.

Comment I got rid of my clock radio (Score 1) 301

I went from using a crappy CD player clock radio to using an old rooted Android phone. It's overkill, but benefits include picking whatever MP3 I want whenever I want... including pulling it over the network with ES File Manager, over wifi, from bed... checking weather, ebay, woot, random browsing, etc... The alarm settings, being software-based, are much more flexible and intelligent than most hardware clock radios... I get Monday-Friday how I want, weekends how I want, and one-off alarm changes are no problem. I can change the brightness and color of the time display that shows in screen-saver mode. It's a huge improvement over every hardware bedside clock I'd ever seen. And unlike using my production phone, I can leave this where it sits and keep my production phone in a convenient place for charging and grabbing as I leave home.

With a little effort, you can probably chain apps to do even better... make alarms trigger a Text-to-Speech app that does some RSS headline reading, email subject reading, announcing of the weather, etc...

Comment Research with Data! (Score 1) 999

My consort and I went through the "where do we ultimately want to live" question a couple years ago, mostly focused on the US (being from the US meant no paperwork problems). We found a few websites to be awesomely useful:

  • City Data does a lot of statistics on the demographics of major US metro regions. Income, religious mix, crime, education, cost of living, etc... Unfortunately, I think it just covers US and Canada.
  • Google Trends helps you see which cities have people interested in the same topics as you. The best way I found to use this was to search on technical or scene terms from various interests to see which cities show up as top 10 contenders.
  • Most weather sites will show you annual averages on sunshine, rainfall, snow, humidity, hours of light, and temperatures... Also note that some metro regions have emerging structures/behaviors to deal with weather... Some Canadian cities have huge indoor networks and good public transit to help offset snow issues. Pacific Northwest cities are espresso nirvana as a way to cope with dark, cloudy days 3/4 of the year.

Searching this way will probably yield a few candidates who have the mix of demographics you care about, zeitgeist hits, weather you're happy with, etc... Subscribe to RSS feeds of their newspapers, local music scene forums, etc... to get a better feel for each, and ultimately, visit your top candidate(s) for a vacation. We visited our top candidate after all of the above, and we were astounded that it felt perfect on top of being a specification match.

Comment Re:Did they have a file on James Holmes? (Score 1) 214

TIN FOIL MODE ACTIVATE!

Who benefits from the James Holmes massacre? What agenda gets pushed as a result of that act? How about "more spying on citizens is A-Okay, because it'll help prevent that stuff!" And/or Holmes wasn't going after the elite class, so they passed.

Damn... that didn't even take a lot of tin foil to come up with and half-way consider.

Slashdot Top Deals

Money is better than poverty, if only for financial reasons.

Working...