Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:Ah PETA... (Score 1) 191

Quoting the daily mail should get you modded down, not up.

The daily mail has a long record for making up statistics and deliberately misunderstanding facts, so as to push an an agenda which includes anti-animal-welfare.

Also, you seem to have upped the statistics from 84% in one shelter (according to the mail) to 90% for all animals (according to you). Silly you.

Submission + - Engineers Invent Acoustic Equivalent of One-Way Glass

Hugh Pickens DOT Com writes: Up until now, acoustic waves traveling between two points in space always exhibited a basic symmetry summed up with the phrase, “if you can hear, you can also be heard.” Not anymore as Tia Ghose reports at Live Science that a team at UT Austin has created a “nonreciprocal acoustic circulator," the first step that could lead to the sound equivalent of a one-way mirror.” All waves — whether visible light, sound, radio or otherwise — have a physical property known as time reversal symmetry so a wave sent one way can always be sent back. For radio waves, researchers figured out how to break this rule using magnetic materials that set electrons spinning in one direction. The resulting radio waves detect the difference in the material in one direction versus the other, preventing reverse transmission. To accomplish the feat with sound waves, the team created a cavity loaded with tiny CPU fans that spin the air with a specific velocity. The air is spinning in one direction, so the flow of air "feels" different to the wave in one direction versus the other, preventing backward transmission. As a result, sound waves can go in, but they can't go the other way. The result is one-directional sound. With such a device, people can hear someone talking, but they themselves cannot be heard.The findings will likely lead to many useful applications, says Sebastien Guenneau "I would be surprised if sound industries do not pick up this idea. This could have great applications in sound insulation of motorways, music studios, submarines and airplanes."

Comment Re:Because it's fucking awesome, that's why. (Score 2) 162

Firstly: your random address doesn't exist. 521 1st st, New York, NY does, however and OSM finds it straight away, even showing house numbers on the buildings!

521 N (as copy-pasted from your post into the search bar) returns two alternatives - in Nassau and in Cattaraugus, where there are North and South 1st streets.

Other counterexamples:

All the starbucks in my town are listed in OSM.

Looking for bus routes in Kent, England
Google Maps: Search, get the occasionall bus depot. Public transport layer, get not a thing.
OpenStreetMap: Search, get nothing. Transport layer: get detailed visualisation of bus route and train routes.

OSM also has an excellent layer for cycle routes. Google thinks it has one, but it's woefully incomplete and inaccurate.

Basically, I find OSMs local info to be more complete, but google has a better search parser and, of course, street view.
They are both utterly useable.

Comment Re:I thought that we were supposed to be pro-activ (Score 1) 186

Ok, so the assign statements are more like buffers, or D-latches with permanent enables (and yes, they are asynchronous. the always statement is clocked, though). To make it non-reactive, you would need to multiplex, or place it in a conditional block.
I guess hardware is always reactive, you just get to decide what it is reacting to and any one point. Reminds me of a micro architecture lecture where someone asked what happens if you don't put a value on the opcode port...

From the article, I think the idea is to enable hardware-like features to programmers.
It's not clear (and other posts are clearly as confused about this) whether reactive programming is meant to be a language-level paradigm (which IMHO would be interesting and useful) or some kind of 'philosophy' like agile.

If the latter, then I guess it would be about creating frameworks, which would get seriously messy, or some kind of meta-programming.

For C++, I think Qt-style signals and slots is the best you're likely to get, since you don't need to care how the event loop and triggers work, you just 'emit' in the right places and 'connect' up whatever object you'd like to change accordingly.

Comment Re:Marketing 101 (Score 1) 186

Using someone else's framework, I have to fix my bugs, and someone else's bugs too.

The motto of NIH!

Yes, you get buggy frameworks which are to be avoided. There are also many quality frameworks and toolkits available.
If it is commecially supported, then it is someone else's task to fix any bugs you point out.
If you built the thing from the ground up, then it's all on you (and you probably took years just getting there.)
If it is open source, then realise that you are benefitting from everyone else's contributions and thus stop whining and go ahead and fix someone else's bug.

Rome was not built by one man. :)

Comment Re:I thought that we were supposed to be pro-activ (Score 5, Informative) 186

The point of new paradigms in programming languages is to make the complexity of the expression match the complexity of the idea being expressed, not the complexity of the (platform specific) implementation.

Crappy illustration:

C++ - Event-trigger
vector triggers;

void add_trigger(Trigger * t);

void reactive_variable::modify_value(int new_value)
{
// event
this.value = new_value;
// trigger
for (i = triggers.begin(); i != triggers.end(); i++){
i.react(new_value);
}
}

// actual code you want to get around to actually writing
int main()
{
reactive_variable a;
Trigger *b = new Trigger(COPY_VAR);
a.add_trigger(b);
Trigger *c = new Trigger(ADD_VAR, 1);
a.add_trigger(c);

a.modify_value(2);

enter_event_loop(); // some routine that modifies a continuously

return 0;
}

Incomplete, inelegant and probably buggy, but you get the picture.

Verilog - Reactive
assign b = a;
assign c = a+1;

inital a = 2;

always @(posedge clk)
a = count(input);

Easy to understand whats going on and spot errors. 'b' will always equal 'a' and 'c' will always be one more.

Submission + - BlackBerry sues Ryan Seacrest's Typo over 'iconic' keyboard design (networkworld.com)

alphadogg writes: BlackBerry, in an effort to protect one of its key designs, has filed a copyright infringement suit against a company co-founded by Ryan Seacrest that makes a keyboard case for the iPhone.
On Friday the struggling smartphone maker filed a lawsuit against Typo Products LLC, a company that makes a slip-on keyboard designed to fit the iPhone 5 and 5S. The company, which is based in Los Angeles, was founded by entrepreneur Laurence Hallier and television personality Ryan Seacrest. The company's flagship product, the "Typo Keyboard," was conceived to make typing on the iPhone quicker and less prone to typos.

Slashdot Top Deals

It is easier to write an incorrect program than understand a correct one.

Working...