local

Launch local application with Silverlight

Hi everyone, I would like to know if there is any way to launch a local application with silverlight. I'm having some security problems doing this with a user control embedded in IE 8, so I would like to convert this into silverlight app. This little issue is stopping me to go forward with silverlight, so if any suggestion, I would appr...

Write local file with jQuery or Javascript

I am creating a prototype that will be run in a web browser. I would like to store (and retrieve) various info submitted by a user during the use of the prototype. I know I can retrieve a variety of file formats such as xml, json... and I know I can do local storage using the plugin jstore. So I suppose I can do a convoluted solution whe...

ActionScript - Save webcam video to local disk without using AIR or FMS

Hello, I would like to save a webcam captured video to the local disk using AS. The application is running in a standalone Flashplayer 10. I can save pictures from ByteArrays using file.save, but I can't find a way for doing this with video. There is a nice implementation for that using AS and AIR at http://www.joristimmerman.be/wordpr...

Amazon SimpleDB for development environment / local installation.

Hello. Is there a way / tool to simulate Amazon's SimpleDB for the purpose of development? In my quest for above, I found this tool but this is for the Mac OS. Anything that can be installed on Win XP? Needless to say, all SimpleDB APIs need to be supported. Just in case it matters, mine is a .Net based web application. ...

Local database cache template in VS 2008

Hi, I'm trying to insert a local database cache template to a Visual Studio web application, but the template is not available. If i create a Winodws forms application, the template is available. How can i add this to the web application? I need to create an sdf of my database. thanks ...

Who can explain this technique issue happened on Linux

I wrote a program which need to parse a batch of files. But I found that the parsing speed for local files is lower than the one for remote mounted files. Why? All the files are HTMLs, I do some parsing work on them. Average size is less than 1M. ...

Local function variables initialization takes processing time?

Local function variables initialization takes processing time? e.g.: void foo ( void ) { char *str = "hello"; int num = 3; } Or, like global variables, their value is assigned already in the read-only section of the binary? In other words: Would it be time-consuming to invoke a function that has many local variables, comparing...

C++: Why does VS2005 interpret direct-initialization of local instance as a function, when the class constructor has a polymorphic parameter?

Hi there, I have the following C++ code in Visual Studio 2005... class Base {}; class Derived : public Base {}; class Other { public: Other(const Base& obj) {} void test() {} }; int _tmain(int argc, _TCHAR* argv[]) { Other other(Derived()); other.test(); return 0; } ... Compilation fails and gives: test.cpp(19) : error C2228:...

ClassCastException when call local ejb3 from different classloader on Websphere 7

Hello, I have two ears, ear1 contains an ejb project and client, containing the interfaces (local). Ear2 contains a war that needs to call the ejb3 service. When I call the ejb service I am getting a classcastexception, I think because there are two classloaders involved here. Is there a clean way to achieve this? I'm working in RAD75 ...

Difference between creating a local variable and assigning to ivar and directly assigning to ivar?

Hello, I have always wondered why all apple code samples use code like this: UINavigationController *aNavigationController = [[UINavigationController alloc] initWithRootViewController:rootViewController]; self.navigationController = aNavigationController; [self.view addSubview:[navigationController view]]; [aNavigationCont...

Error capistrano deploying from a local folder

I have a local repository for my app (created using TortoiseSVN) at c:\lap-svn\gws My deploy.rb has: set :user, '<removed>' set :application, "gws" set :repository, "file:///c:/lap-svn/gws" set :server, 'plantality.com' set :applicationdir, 'gws' set :use_sudo, false set :keep_releases, 5 set :deploy_via, :copy set :scm, :none When...

loading a html file locally on the browser of a HTC HERO

How do you load a local html file into the browser on the HTC Hero mobile phone? ...

is local static variable provided by embedded compilers?

im working on a c lib which would be nice to also work on embedded systems but im not very deep into embedded development so my question are most embedded compilers able to cope with local static variables - which i would then just assume in further development OR is there a #define which i can use for a #ifdef to create a global variab...

Negative Positioning with JQuery scrollTo / localScroll

I'm working on a project and using Ariel Flesler's jquery.scrollTo.js & jquery.localScroll.js ... I have local links that scroll to various divs on the page. The trouble I have is that I have a fixed position navbar at the top of the page and ScrollTo is calculating the window position (correctly) without factoring that in. Below is t...

How to use an iPhone webView with an external HTML that references local images?

Hi i have an external html on my webserver, that is requested by my iphone app through a webview... in order to make the page load faster, i want to change my html to request static files like css's and images from the local resource folder of my app.... can i do this? my html is something like this: <html> <body> <img src="file://Re...

Testing Google Maps API locally

I am trying to test Google Maps in development sites under IIS. My local testing URL is http://sitename/. As there is no “.com” in the name, I cannot obtain an API key. I can obtain a key for http://localhost/, but I am wondering if there is a way to use the testing URL http://sitename/. ...

Making a local connection between a mysql database and php

I already have the mysql database made, I just need to connect php to mysql locally but I don't know the php commands for that. cheers ...

Javascript: Get access to local variable or variable in closure by its name

Hi all. We all know that you can access a property of a javascript object by it's name using the [] syntax.. e.g. ob['nameOfProperty']. Can you do the same for a local variable? Another answer here suggested the answer is to use window['nameOfVar']. However, this only worked for the poster as he was defining variables at window-level ...

How to save a resource from an executable jar file to local drive ?

I wonder if there is a way to extract a resource file packaged in an executable jar file and save it to a local drive, so when a user downloads my jar file and double clicks on it, it will first save one file from the resource to his C: drive, then run my program. ...

Git: create copy of (historic) remote read-only tag

Here's the deal: A Github repo features a historical import from CVS, divided in tags of previous releases. I would like to locally build the various releases to document the UI changes (need screenshots for a writeup). So there is absolutely no need for tracking / further development on the tagged release. I just want the specific f...