How can I get video and audio streams from web cameras with Java (in a cross-platform way)?
For example, we have a computer with 3-4 USB web cameras; we want to get their streams and make them visible in the user interface. How can we perform such a thing?
So there's this new cool thing, these NoSQL-databases. And so there's my data: Rows of rows of rows of meteorological data: Values, representing certain measurements at a certain station (Identified by a WMO number, not coordinates), at a certain time.
Not every station measures every parameter, not every parameter is measured all the time.
I store this data (30 years worth of hourly values, resulting in ~1 billion values) currently in MySQL. The continous growth and the forseeable addition of even more data give me a little headache.
Reading about the document based NoSQL systems which seem to scale rather easily, I was wondering if NoSQL is a viable data storage concept for meteorological data too. Do you have any experience with this?
How to play mp3's from socket connections in Flash AS3?
I have some simple programm which is listening to some port (TCP).
I connect to it using as3 sockets and it starts sending me mp3 data
How to play that data?
Is there any Algorithm for converting 2d video into 3d video? (for viewing using glasses)
(a-la turning Avatar into Avatar for An IMAX 3D Experience )
or at least turn it into video prepared for feeling some 3d viewing using
a-la
or
I know my question is asked(expressed) not in the best way so feel free to edit.
What NEW features has WCF in .NET Framework 4 vs .NET Framework 3.5? What Is new, what was fixed (in general - I do not want to get into bug fixed numbers=)?
Imagine I have a rectangle say 400px x 300px. Then let’s say I want to load an image in that. All of this is very easy using Sytem.Drawing.DrawImage.
But then I want to leave the left hand side as 300px but change the right hand side to 250 px. I can draw the box using 4 DrawLines but I don’t know how to squash the image into the new shape. I want the right hand side of the shape to be 250, the left size 300 and the top and bottom 400px.
I can’t use DrawImage as it expects the left and right sizes to be the same. Is there a way to manipulate the image into the new shape?
I've looked at other questions, but they only apply where the left and right hand side is equal.
Any thoughts on how to squash an image into a shape which did not have parallel sides?
(If it helps, I'm happy to sacrifice image quality to fit the right shape.)
How to create a .BAT file to download file or folder from FTP server? (and replace with it existing file) (we have links like ftp://me:[email protected]/file.file and absolute file link like C:\Users\UserName\Some mixed ??????? English Adress\file.file) (using only native windows (xp vista win7 etc) BAT functions and files)
Search for good JAVA lib for playing with POST-GET requests - Is there any such lib or how to play with POST - GETS from pure JAVA? How to create costume headers and so on.
How to make from your Custom HTTP Module a stand aloun TCP\HTTP server capable of for example runing near to any other HTTP server (on same port, just taking some URL namespace like www.example.com/myModule/blabla?id=anyID, and not beeng rood to my other servers like apache HTTP server with PHP (so I can steel call it www.example.com/myApach/blabla?id=anyID) and with my other C\C++ based servers.)?
I need CODE examples...)
I've got the following string:
response: id="1" message="whatever" attribute="none" world="hello"
The order of the attributes is random. There might be any number of other attributes.
Is there a way to get the id, message and world attribute in one regular expression instead of applying the following three one after another?
/ message="(.*?)"/
/ world="(.*?)"/
/ id="(.*?)"/
I have A form like this:
<form>
<fieldset class="ui-widget-content ui-corner-all">
<select id="Streams" class="multiselect ui-widget-content ui-corner-all" multiple="multiple" name="Streams[]">
<br />
<option value="35"> Example Name (35)</option>
<option value="44"> Example Name (44)</option>
<option value="5698"> Example Name (5698)</option>
<option value="777"> Example Name (777)</option>
<option value="12"> Example Name (12)</option>
</select>
<br/>
<input type="submit" class="ui-state-default ui-corner-all" name="submitForm" id="submitForm" value="Play Stream from selected URL's!"/>
</fieldset>
</form>
in my JS + HTML page I use JQuery.
As you can see I allow user to select multiple Items.
I want to open on Submit button click as many popup windows as many Items he selected in a list. Each popUp window should open some url like www.example.com/test.php?id=OPTION_SELECTED .
So for each of the selected options I ll get a pop up window whith different url.
Please Help.
Is there any free Python to C translator? for example capable to translate such lib as lib for Fast content-aware image resizing (which already depends on some C libs) to C classes and files?
I need an open source project with an API
capable of reading a live video stream (stream codec can be any API can read - I can provide with practically any live streamable one)
giving me last image data for some processing (like brightness\contrast or more exotic filtering)
being able to receive data I've changed and starting to stream that data on to some http://localhost:port/ in some format
I need it to be easily accessible from C# (even better, written in C#).
I need to let users select an item from a dropdown list, but also allow them to instead enter any text, even if it doesn't match an item in the list. How can I achieve this on a web page with HTML and Javascript?
The select field doesn't let users enter text, and the input text field doesn't show the preferred alternatives.
All items must show if the user opens the dropdown, so it can't be a simple auto-complete that only shows matching items.
I have A HTML form like this:
<form>
<fieldset class="ui-widget-content ui-corner-all">
<select id="Streams" class="multiselect ui-widget-content ui-corner-all" multiple="multiple" name="Streams[]">
<option value="35"> Example Name (35)</option>
<option value="44"> Example Name (44)</option>
<option value="5698"> Example Name (5698)</option>
<option value="777"> Example Name (777)</option>
<option value="12"> Example Name (12)</option>
</select>
<input type="submit" class="ui-state-default ui-corner-all" name="submitForm" id="submitForm" value="Play Stream from selected URL's!"/>
</fieldset>
</form>
in my JS + HTML page I use JQuery.
As you can see I allow user to select multiple Items.
I want to open on Submit button click as many popup windows as many Items he selected in a list. Each popUp window should open some url like www.example.com/test.php?id=OPTION_SELECTED .
And here I mean by PopUp Window a real browser window.
So for each of the selected options I ll get a pop up window whith diferent url.
Please Help.
how to download folder from some ftp server into your server home directory and give to that directory rights? (like all files in this directoy have all or non rights...) not using special libs if it is possible...
how to do such thing?
So I have an upload script, and I want to check the file type that is being uploaded. I only want pdf, doc, docx and text files
So I have:
$goodExtensions = array('.doc','.docx','.txt','.pdf', '.PDF');
$name = $_FILES['uploadFile']['name'];
$extension = substr($name, strpos($name,'.'), strlen($name)-1);
if(!in_array($extension,$goodExtensions) || (($_FILES['uploadFile']['type'] != "applicatioin/msword") || ($_FILES['uploadFile']['type'] != "application/pdf"))){
$error['uploadFile'] = "File not allowed. Only .doc, .docx, .txt and pdf";
}
Why I'm getting the error when testing and including correct documents?
Hi,
many questions are close, but none answers my problem...
How do I use reflection in C# 3.5 to get all classes which are static from an assembly. I already get all Types defined, but there is no IsStatic property. Counting 0 constructors is really slow and did not work either.
Any tips or a line of code? :-)
Chris