Allowing website to use webcam - webcam

I'm a web developer, and know my way around with php, jscript and little flash. However i was wondering how can i allow my user to use their webcam to capture pic for their profile?
Is it possible with HTML5 or i will have to use flash?

It have been long since i posted this question. May be its the wrong place to post. But meanwhile i have been researching and have found a very good way to do this!
Here is the link to the tutorial
And here is the working sample of the script.
All the used source is posted and well documented. A fla file, a php script and all action script code is included!

Related

Using scripting to test a program

I've been tasked with testing a Windows program that is essentially a collection of links to various exe files. My job is basically to click all the links to make sure they work (yay!). To makes things a bit easier on myself, I want to create a simple script that will do the clicking for me. I have a programming background (familiar with C/C++, Java), but have never scripted anything before.
Despite googling and searching around on stackoverflow, I wasn't able to find anything that explains what would be involved in creating something like this. I downloaded a program called AutoHotKey (http://www.autohotkey.com/) that seems promising, but before I dive into it I want to see what suggestions you all have.
Thanks!
Never tried autohotkey so I can't give you feedback. But I played around a bit with Sikuli which is agnostic of the UI technology used (working with image recognition). It works fine and you should be able to come up with a working prototype in a couple of hours.
HP Unified Functional Testing (http://www8.hp.com/us/en/software-solutions/unified-functional-testing-automated-testing/) provides similar functionality as Sikuli. As licensed software, it isn't free, but provides a lot more features and support than Sikuli (which is open source) does.

Capturing picture from webcam without flash?

I'm looking for a script to do this. I've found photobooth.js, but it seems to bug (when accepting the script to access to my webcam, all page is disapearing excepts the video...)
Do you know a script which do that job please?
I think, without flash it's problem, i'm using webcam plugin, here's a link: http://www.xarg.org/project/jquery-webcam-plugin/
It uses flash, but works fine for me.

How does Safari's reader feature work?

I want to add a similar feature to a tool I'm making. I'm interested in how it works code-wise. I want to be able get an html page and exclude all but the article.
The Readability project does something similar for chrome and iOS. I'm not sure how it detects the content automatically but I know that Readability has an API for people who want to integrate it's features. You might want to check that out.
http://www.readability.com/learn-more
If you're working with Ruby, you could use Pismo. It extracts an article from a given document.

Script or piece of code to get a quick list of links per page in a website

How can I quickly produce a report of a website in the format:
Page Name.
- Links within the page
Page Name.
- Links within the page
Any programming or scripting language will do.
Although I prefer a solution on Windows, we have all of: Windows, Mac and Linux platforms available in the office.
Just looking for a way to do it without much fanfare.
There might be tools able to do this for you, but it isn't all that hard to put together yourself. One possible solution would be to...
Use wget (can be found for Windows) to download all HTML files, and
use some xpath tool or grep with regexps to get the title and the links from the pages.
///Jens
There are loads of link analysers that will do exactly that. Here's the first I found in Google.
For something a little more interesting, Don Syme did a great F# demo in which he wrote a really simple asynch URL processing class. I can't find the exact link, but here's something similar from an F# MVP. You would need to adapt it to pull out links, and recursively follow them if you want nesting.

where is the source code for Oolong and Gnoloo?

I'm reading Programming for the Java Virtual Machine which discusses the Oolong assembler and Gnoloo disassembler. Judging by references online the source code was at one point available, but I can't find it now. Does anyone know where to get it?
UPDATE: thanks to belisarius I have the code, and have put it on GitHub with some build automation to make it a little easier to play with.
Found them here for download.
HTH!
Ps: there are several downloads in the page. The one you're looking for is this