Beta

Slashdot: News for Nerds

×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

MIT Researchers Bring JavaScript To Google Glass

samzenpus posted about 4 months ago | from the nice-glasses dept.

Google 70

colinneagle (2544914) writes "Earlier this week, Brandyn White, a PhD candidate at the University of Maryland, and Scott Greenberg, a PhD candidate at MIT, led a workshop at the MIT Media Lab to showcase an open source project called WearScript, a JavaScript environment that runs on Google Glass. White demonstrated how Glass's UI extends beyond its touchpad, winks, and head movements by adding a homemade eye tracker to Glass as an input device. The camera and controller were dissected from a $25 PC video camera and attached to the Glass frame with a 3D-printed mount. A few modifications were made, such as replacing the obtrusively bright LEDs with infrared LEDs, and a cable was added with a little soldering. The whole process takes about 15 minutes for someone with component soldering skills. With this eye tracker and a few lines of WearScript, the researchers demonstrated a new interface by playing Super Mario on Google Glass with just eye movements."

cancel ×

70 comments

Headache (5, Funny)

Dan East (318230) | about 4 months ago | (#46598679)

the researchers demonstrated a new interface by playing Super Mario on Google Glass with just eye movements

Followed by the researchers demonstrating how to try and relieve a headache by massaging their temples with their thumbs.

Re:Headache (-1)

Anonymous Coward | about 4 months ago | (#46599013)

the researchers demonstrated a new interface by playing Super Mario on Google Glass with just eye movements

Followed by the researchers demonstrating how to try and relieve a headache by massaging their temples with their thumbs.

I releived blue balls by massaging my penis and thinking of your mom. SPURT SPLAT SPURT.

I got a GREAT BIG COCK!

Re:Headache (2, Insightful)

Anonymous Coward | about 4 months ago | (#46599023)

I got a GREAT BIG COCK

Yeah and tell it to stop crowing at 6am or I'm gonna shoot it and deep fry it.

Re:Headache (0)

Anonymous Coward | about 4 months ago | (#46599185)

Yes, these guys = FAIL. Just adding anew item to the list of unwanted unneeded technology.
Hope they enjoy flicking through porn libraries and groaning in public when they add their p0rn hack.

Re:Headache (1)

TubeSteak (669689) | about 4 months ago | (#46599451)

Speaking of headaches, TFA didn't bother linking to the website of what we're all talking about
http://www.wearscript.com/en/latest/ [wearscript.com]

Re:Headache (1)

MrBigInThePants (624986) | about 4 months ago | (#46599503)

Sir, this is no time for quips and jests. This is a serious and devastating moment.

My heart goes out to all "Glassholes" (From my readings I believe that is what they prefer to be called) and the exquisitely priced fandanglery they prefer to wear on their futuristic heads.
The evil that JavaScript will unleash upon their world will be terrifying and its effects widespread - the limited power of their Glasshole devices will be naught a match for the mighty appetite of the beast that is known as JS.
Mark my words, in the not so distant future we will pine for the social lubricant that is the joyful, carefree bubbling of the typical Glasshole, with their shiny rimmed brand of invasive humour and the charmingly distracted way they drive about town.

It is truly, truly a sad day.

I think we should all have a moments silence out of respect for our beloved Glassholes.

Re:Headache (0)

Anonymous Coward | about 4 months ago | (#46599635)

I think we should all have a moments silence out of respect for our beloved Glassholes.

So this is another routinely scheduled Scroogling by Microsoft's pet sockpuppet colineagle?

Carry on, 'Softies. Enjoy your two minutes of hate.

Re:Headache (1)

MrBigInThePants (624986) | about 4 months ago | (#46599977)

I would respond to you post but it is rather incomprehensible.

I don't like MS at all. It is highly likely that I did not like MS before you did. (and that I initially liked it before you also when it was not what it is today)

And the only hate I see here is in your post...

Re:Headache (1)

Opportunist (166417) | about 4 months ago | (#46600173)

Well, in this day and age, you don't need to love MS to hate Google, ya know...

I'm strictly neutral on the issue. I think both have turned into something we'd be better off without.

Re:Headache (5, Funny)

Mashiki (184564) | about 4 months ago | (#46599577)

First two things showing up on Google glass after JS showing up:
Popup ads.
The second? UR PENIS TOO SMALL! VIAGRA CHEAP!!!!111!

Re:Headache (2)

e133tc1pher (752949) | about 4 months ago | (#46599717)

No joke, that was seriously tedious and took me hours to get right (https://www.youtube.com/watch?v=QSn6s3DPTSg). The real point of the video was to show that we made a cheap eye tracker ($25) add-on for Glass along with a better pupil detection algorithm than was previously available (https://github.com/wearscript/wearscript-eyetracking). We're working with accessibility labs to use it as an input device for users who can't use the touchpad on Glass. The goal is to make it widely available for people to hack on so that everyone benefits as opposed to $10k proprietary systems that have bad support for modern software/devices. Adding in Mario was just an easy point of reference, everyone knows the relative complexity of that as opposed to a synthetic test.

Re:Headache (1)

LifesABeach (234436) | about 4 months ago | (#46601401)

It's a little light on detail. It's a shame no one recorded your work, maybe using the Glass ware? You might want to talk to someone in the Signing community, your interface might "pick up" some "pointers" there.

Wow, that opens a up a whole world of dontgiveadam (3, Funny)

BrendaEM (871664) | about 4 months ago | (#46598749)

Flash will be next.

Re:Wow, that opens a up a whole world of dontgivea (1, Funny)

Hsien-Ko (1090623) | about 4 months ago | (#46598951)

I don't think anyone would want to flash a glasshole...

Re:Wow, that opens a up a whole world of dontgivea (0)

Anonymous Coward | about 4 months ago | (#46599127)

This is yet another colinneagle-submitted Scroogling.

Go back to Redmond and play with your Bings, luddites.

Re:Wow, that opens a up a whole world of dontgivea (0)

Anonymous Coward | about 4 months ago | (#46599903)

It's the glass wearers that will be flashing.

I'm betting on Python Eyes (1)

CrowdedBrainzzzsand9 (2000224) | about 4 months ago | (#46599651)

I'm betting on Python Eyes, O-O=====, object-oriented mayhem.

Re:Wow, that opens a up a whole world of dontgivea (0)

Anonymous Coward | about 4 months ago | (#46601523)

Flash will be next.

Ah, young webmaster,
Java leads to Javascript.
Javascript leads to Flash.
Flash leads to ... suffering.

Re:Wow, that opens a up a whole world of dontgivea (1)

ghmh (73679) | about 4 months ago | (#46603479)

Now you can use your eyeballs to try and get Mario to punch the monkey!

MIT researchers? (3, Informative)

oneiros27 (46144) | about 4 months ago | (#46598757)

... Brandyn White, a PhD candidate at the University of Maryland, and Scott Greenberg, a PhD candidate at MIT ...

At least this time we can blame Network World for the crappy headline, and not someone here at Slashdot. We can just blame them for not bothering to read the summary, much less the article.

Re:MIT researchers? (1)

godrik (1287354) | about 4 months ago | (#46599343)

Welcome to the world of PR and marketing. If there is any kind of involvement from a famous party, no matter how small the involvement, the famous party always gets the credit. MIT is more famous than University of Maryland so they get the credit.

Note that I have no clue how much each person contributed to this particular project. But if it is done by somebody famous (or at a famous entity), it becomes great, if you had done the same thing, nobody would talk about it.

Re:MIT researchers? (0)

Anonymous Coward | about 4 months ago | (#46599595)

It's fucking annoying how much press MIT gets, though. A professor at Maryland could cure AIDS, and some undergrads at MIT could inject the cure into a patient, and the headline would still be talking about how bright the MIT undergrads are.

Re:MIT researchers? (1)

MBC1977 (978793) | about 4 months ago | (#46599623)

Not saying your sentiment is wrong, but most people know about the tech wizards at MIT. Most people know Maryland for its college basketball team. Best way I could see to counter this effect is to not involve the people at MIT when a new discovery is made / published.

Re:MIT researchers? (1)

e133tc1pher (752949) | about 4 months ago | (#46599671)

Brandyn here, it can be annoying but in this instance MIT sponsored the event (it was at the Media Lab) so it's an easy mistake. No harm, anyone who looks into it knows that I'm at Maryland.

Re:MIT researchers? (1)

Missing.Matter (1845576) | about 4 months ago | (#46601263)

In academia, most of the actual research is done by PhD candidates. The PIs get the funding and then disappear from the project for three years until it's time to get more funding.

Somebody tell them (1)

rmdingler (1955220) | about 4 months ago | (#46598763)

Javascript should not be received Pig in the 'Poke style.

Glasshole (0)

Anonymous Coward | about 4 months ago | (#46598787)

Yeah, but ultimately you're still a Glasshole.

Re:Glasshole (0)

TomGreenhaw (929233) | about 4 months ago | (#46598963)

It's a shame that an experiment for wearable technology has been stigmatized by ignorant misconceptions about the technology and people experimenting with it.

Re:Glasshole (1, Interesting)

Anonymous Coward | about 4 months ago | (#46598999)

What misconcenptions or ignorance? Google Glass users are predominately self-obsessed assholes. Maybe you Google fangirls need to get your panties untwisted just because not all of us want to deepthroat Sergey Brin like you?

Re:Glasshole (0)

Anonymous Coward | about 4 months ago | (#46599091)

wearable technology has been stigmatized by ignorant misconceptions

That's not a real stigmata though, it's just the Microsofties doing their Scroogling. They need their two minutes of hate.

Re:Glasshole (0)

BitZtream (692029) | about 4 months ago | (#46599367)

Yes, its a shame that the predictable result of an over priced waste of materials is that only pretentious pricks are the only one who use it.

Its of course also entirely predictable.

I do know at least 2 people with Google Glass that don't fall into that category strictly ... but they pretty much thing Google Glass is retarded since they used it for a few days.

Re:Glasshole (0)

Anonymous Coward | about 4 months ago | (#46599585)

Looks like the Google Defense Force's fangirls are out in full force.

Re:Glasshole (1)

Opportunist (166417) | about 4 months ago | (#46600191)

Actually, I was looking forward to getting affordable HMDs. The idea that they will just very likely not be "mine" at all is kinda discouraging, though.

Re:Glasshole (1)

tapspace (2368622) | about 4 months ago | (#46600265)

The idea that they will just very likely not be "mine" at all is kinda discouraging, though.

That should be completely revolting to you.

Now it's doomed (2)

Kardos (1348077) | about 4 months ago | (#46598915)

So how long is it going to be before someone writes some sort of java script that blinds the user?

Re:Now it's doomed (5, Funny)

Anonymous Coward | about 4 months ago | (#46599067)

So how long is it going to be before someone writes some sort of java script that blinds the user?

There are other kinds?

Re:Now it's doomed (1)

Opportunist (166417) | about 4 months ago | (#46600193)

Begone and don't tempt me, Satan!

why all the javascript hate? (0)

Anonymous Coward | about 4 months ago | (#46599219)

It's honestly one of my favorite languages.

Re:why all the javascript hate? (3, Informative)

freeze128 (544774) | about 4 months ago | (#46599543)

Because it's responsible for all the things people hate about web pages. Pop-up ads, pop under ads, floating ads, flash ads, flash exploits, java exploits....

A better question would be: What has javascript done that's GOOD?

Re:why all the javascript hate? (1)

antifoidulus (807088) | about 4 months ago | (#46599609)

Because it's responsible for all the things people hate about web pages. Pop-up ads, pop under ads, floating ads, flash ads, flash exploits, java exploits....

Um...what? How is Javascript even remotely implicated in flash/java applet exploits?

Re:why all the javascript hate? (2)

raymorris (2726007) | about 4 months ago | (#46599851)

Often, the vulnerability will be in a Java or Flash applet and the exploit will be via JavaScript. A vulnerable applet just sits there being vulnerable until a bad guy takes control of it via script. That's why this setting exists:

1. Open Internet Explorer.

2. Click the Tools menu and then click Internet Options.

3. Click the Security tab, click the Internet icon and then click Custom Level.

4. Scroll down to the Scripting section. Under Active scripting, select the Enable option. Then, under Scripting of Java applets, select Enable. Click OK.

5. Surf for 20 twenty minutes.

6. Restore from backup because you've probably been pownd.

Re:why all the javascript hate? (0)

Anonymous Coward | about 4 months ago | (#46599823)

Fair enough. I like it because it allows for tons more flexibility in a webpage - but I agree I especially hate those "layered" ads. Thanks

Re:why all the javascript hate? (0)

Anonymous Coward | about 4 months ago | (#46604153)

And that's JavaScript's fault?

No matter the tools, they will be used in good and bad ways.

Re:why all the javascript hate? (0)

Anonymous Coward | about 4 months ago | (#46600697)

How is the Javascript *language* responsible for these? Shipping a vulnerable JS interpreter and/or developing annoying ads using that technology causes all those problems. The language itself is actually very good and quite clean.

Re:why all the javascript hate? (2)

cascadingstylesheet (140919) | about 4 months ago | (#46600807)

Because it's responsible for all the things people hate about web pages. Pop-up ads, pop under ads, floating ads, flash ads, flash exploits, java exploits.... A better question would be: What has javascript done that's GOOD?

Says the man who's never used jQuery ... you can't be serious.

Yes, with great power comes great responsibility. But don't throw the baby out with the bathwater. (And I have more cliches where those came from!)

Re:why all the javascript hate? (1)

Anonymous Coward | about 4 months ago | (#46604169)

Says someone who assumes that a supposed misuse of JavaScript equates to faulty language.

Re:why all the javascript hate? (0)

Anonymous Coward | about 4 months ago | (#46601545)

Because it's responsible for all the things people hate about web pages.

Yet for some bizarre reason, people continue to surf with it enabled.

Agreed 110% - it's shit... apk (0)

Anonymous Coward | about 4 months ago | (#46601909)

The "webboys" made the SAME MISTAKE as MS with macros allowing script into documents - you do THAT? The "trash comes blowing in the door from outside" (ala malicious script): We were FAR BETTER OFF doing CGIBins/WinCGI server-side, in a TRUE Client-Server fashion (just getting a resultset back from server side) for security if anything @ all.

APK

P.S.=> Any time you "take the easy way out" & "make it easier for the masses"? THIS is the result... apk

Re:Agreed 110% - it's shit... apk (0)

Anonymous Coward | about 4 months ago | (#46604203)

Go ahead and do your UI and various other event-specific functionality customizations on the server... Be. My. Guest. We'll see how far you get.

Less malicious script = farther (0)

Anonymous Coward | about 4 months ago | (#46604447)

Plus, as far as what you're saying? ASP.NET seems to do the job just fine on THAT account (& I've always thought of it as an IMPROVED version of ISAPI dlls running server side, albeit minus their tendency to leak ram that is, due to garbage cleanup).

* Bottom-line on "webboy" development (it's for chumps & weaklings anyhow) - too many "moving parts" b.s. is involved (sites accessing shit from WHO KNOWS how many 100's of other sites to top it all off).

APK

P.S.=> "Web Development" (doesn't even COUNT as far as I am concerned), is for noobz & squids, vs. actual applicaiton development (it's why the less skilled types go for it, it's all they can manage to do, lol, point-blank)... apk

Re:Agreed 110% - it's shit... apk (0)

Anonymous Coward | about 4 months ago | (#46604521)

Additionally: WHY THE HELL would I put business logic into a front end (in a clientserver applicaiton, a REAL one, not a webchump parody of one, lol...) for?

That is security violation #1 doing that! Front ends (be they REAL programs, not webcrap) or webcrap, should NEVER, EVER have business logic in them, OR their links they create... it opens doors for trouble (like SQLInjection etc.)

(Which is WHY you "webchumps"' shit is SO chock full of holes in security, & so much so, it's not even funny... fact, period!)

APK

P.S.=> Webchumps - making mistakes those of us from the clientserver world KNEW OF decades ago, & corrected for... lol! apk

Re:why all the javascript hate? (1)

Ryanrule (1657199) | about 4 months ago | (#46602017)

Notice how this whole pages doesnt need to reload every time you click something?

Re:why all the javascript hate? (0)

Anonymous Coward | about 4 months ago | (#46605479)

No, the BROWSER is what is responsible. Put any other language in it's place and you'd still have the same holes.

Re:why all the javascript hate? (1)

Opportunist (166417) | about 4 months ago | (#46600199)

Mine too!

But then again, I'm in IT-Security. I endearingly call it "part of the job security package".

Dork^2 (1)

PPH (736903) | about 4 months ago | (#46599241)

We attach something to the thing we attached to our glasses.

Ph.D.? (1)

poached (1123673) | about 4 months ago | (#46599463)

I didn't know soldering some electronics together and porting a language to a platform is Ph.D. level work.

Re:Ph.D.? (5, Interesting)

e133tc1pher (752949) | about 4 months ago | (#46599657)

I didn't know soldering some electronics together and porting a language to a platform is Ph.D. level work.

Agreed. This is my research http://scholar.google.com/cita... [google.com] . WearScript is a tool that helps us in our current research (which is an extension of this https://www.youtube.com/watch?... [youtube.com] ). When you do research you can either use tools that already exist or you can take a detour and invest in making better tools so you can do more effective research, that's what this is.

Re:Ph.D.? (1)

Opportunist (166417) | about 4 months ago | (#46600209)

Well, now maybe the PISA results start to make sense?

Give it another 20 years and you'll probably get your Ph.D. for being able to assemble a computer (and of course write a 100+ page essay about it).

PISA == Flawed test used only to bash US. (1)

sethstorm (512897) | about 4 months ago | (#46606991)

The only way that PISA results can ever make sense is if you understand their primary flaw: they do not control for admissions standards and thus penalize more open admission systems (like the US), versus more closed admissions systems (about everywhere else, namely Europe and Asia).

As for assembling a computer from the parts up, it would require a lot more than one might think.

Re:PISA == Flawed test used only to bash US. (1)

Opportunist (166417) | about 3 months ago | (#46614645)

Well, technically the admission standards in the US are not more permissive, just different. Brains don't matter, just money does.

Re:PISA == Flawed test used only to bash US. (1)

sethstorm (512897) | about 3 months ago | (#46617115)

Well, technically the admission standards in the US are not more permissive, just different. Brains don't matter, just money does.

Some of the features of the US system that make it more permissive:
  Highly permeable education tracks - moving between each is performance based(and sometimes not even that), not specifically test-based.
  Three named tracks exist(Honors/AP,Regular,Remedial), but all provide the same opportunity to access post-secondary education.
  Post-secondary options provide the same opportunity to all participants - a 4 year degree.

In short, one test score at one point in your life won't determine the rest of your life, unlike about every other nation in the world.

The lengths we go to (2)

djhaskin987 (2147470) | about 4 months ago | (#46599509)

just to play super mario.

"The Glass - it does nothing!" (1)

Applehu Akbar (2968043) | about 4 months ago | (#46599863)

With Javascript on Glass, can malware be far behind? Would affected users be stumbling around blinded? Would IT-conscious Glassholes get tired of having to say "OK, Glass: Yes to the umpteenth fucking Java update dialog today!"

Re:"The Glass - it does nothing!" (1)

Opportunist (166417) | about 4 months ago | (#46600213)

Well, considering we just had a story today how texting is one of the leading causes of accidents, I dare predict that Glass users won't really need JS to stumble around blindly...

Lawsuits acommin (0)

Anonymous Coward | about 4 months ago | (#46600389)

Like future Repetitive Stress Disorder for peoples fingers working their texting devices the Eye Strain that will result from these devices will be making a bunch of lawyers very rich.

Imagine having to move your eyes very precisiely for hours at a time for these things?

Fun Fun Fun...

Anthony David (0)

Anonymous Coward | about 4 months ago | (#46600525)

Google Glass is great for street photography and journalism as I can secretly take pictures of strangers without their permission in public places and publish or sell the photos for fine art and photojournalism, so for me Google Glass and its camera is great for my freedom of speech and it will help me educate and beautify the world with my photographs. After all, nobody should have privacy in public.

Sofia Berati (0)

Anonymous Coward | about 4 months ago | (#46600533)

Google Glass is great for street photography and journalism. It allows me to take photos of people without their permission.

Now we need to protect ourselves against (0)

Anonymous Coward | about 4 months ago | (#46600545)

cross-eyed scripting attacks?

Terrible idea. (0)

Anonymous Coward | about 4 months ago | (#46603047)

Terrible idea. What a waste of battery, due to Javascript's inefficiency. (The same applies to the Web -- the number of petawatt hours wasted per year executing Javascript is mind-boggling.)

Nice, but useless until available for all. (1)

sethstorm (512897) | about 4 months ago | (#46607013)

When Glass is available in a full and free form for the Rest of Us, then maybe some of this might be of good use. It seems like about every interesting use is being removed from it until it is turned into something that pales in comparison to the developer units.

Of course, some Glasshole (or a few of them) would take that as a personal offense instead of responding to the top shortcoming of Glass - lack of general availability.

Check for New Comments
Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Create a Slashdot Account

Loading...