Forgot your password?
typodupeerror

Comment: Re:To Paraphrase (Score 1) 57

by metamarmoset (#47500439) Attached to: Biofeedback Games and The Placebo Effect
A quick Google scholar search for biofeedback returns "about 139 000 results", for just papers; patents and citations unchecked.

I recommend reading anything by John V. Basmajian. He wrote a good criticism of what he saw as common fallacies in EMG research in a chapter of "Mind/body integration : essential readings in biofeedback" (itself a mixed bag of good and poor articles.)

Some links to articles of interest: Moser et. al. 1997, Rodriguez and Rosa 2012, Andrasik 2010

Happy reading!

Comment: To Paraphrase (Score 1) 57

by metamarmoset (#47473665) Attached to: Biofeedback Games and The Placebo Effect
Study finds: "Subject trying to learn how to relax, manages to relax, despite the relaxation aid being BS or even counterproductive."
Conclusion: "Recommend that autonomy of subject is taken into account in future studies, where success during trial is in subject's interest."

In good biofeedback studies, the subject should not be aware of the parameter they are attempting to control (e.g. I read a study in which the subject learned to raise and lower their body temperature at will, where as far as they were concerned, they were just trying to move a ball across a screen with their mind.)
Biofeedback is an interesting field with a lot of good scientific support, but suffers from a bad reputation due to prevalence of pseudoscience.

Disclaimer: I have worked on biofeedback research projects in the past.

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

by metamarmoset (#46395107) Attached to: PETA Abandons $1 Million Prize For Artificial Chicken
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.

+ - Engineers Invent Acoustic Equivalent of One-Way Glass

Submitted by Hugh Pickens DOT Com
Hugh Pickens DOT Com (2995471) 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

by metamarmoset (#45963199) Attached to: Why the World Needs OpenStreetMap
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

by metamarmoset (#45950911) Attached to: How Reactive Programming Differs From Procedural Programming
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

by metamarmoset (#45949817) Attached to: How Reactive Programming Differs From Procedural Programming

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

by metamarmoset (#45949649) Attached to: How Reactive Programming Differs From Procedural Programming

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.

Make headway at work. Continue to let things deteriorate at home.

Working...