What's the best way to setup simple and tiny Web server (on port) which will reply to any request with static file; Target OS -- Mac OS X; Needs to be very light and (would be nice), if it would be configurable, so I can configure which requests which static files to serve.
Thank you.
hi ,
i intent to replace wcf service with some java service . how should i design my wcf service such that it's gets replaced or can be replaced with the java service later such that i dont have to do any work or very little work on the client i.e on my silver light application .
any idea's / suggestions?
P.S that is the reason i am not using RIA services.
Playing mp3s with the MediaPlayer object, I occasionally get the error "Command PLAYER_INIT completed with an error or info PVMFFailure." Curiously the MediaPlayer documentation doesn't reference this error at all.
Anyone familiar with this error and could shed some light on its cause?
Hi, I want to find a way to efficiently keep track of a lot of objects at once. One practical example I can think of would be a particle system. How are hundreds of particles kept track of? I think I'm on the right track, I found the term 'instancing' and I also learned about flyweights. Hopefully somebody can shed some light on this and share some techniques with me.
Thanks.
Hi,
I am sending files from a windows system to a Unix SFTP server using JSCAPE ftp client.
However, I am experiencing the following issue:
When uploading a text file from windows to UNiX, each line of text files transferred contains Control-M characters. I did some search and found out that If I use the "ASCII" transfer mode it should solve the issue. But the Ctrl-M is still appearing on the files.
Can anyone throw some light in this issue?
thanks in advance
In my past applications I have been #importing into my *.h files where needed. I have not really thought much about this before as I have not had any problems, but today I spotted something that got me to thinking that maybe I should be #import-ing into my .m files and using @class where needed in the headers (.h) Can anyone shine any light on the way its supposed to be done or best practice?
gary
I would like to know how I can use SOM for disease detection. Given a lung cancer dataset, how can SOM be applied for detection, there are certain terminologies like, sensitivity, specificity and accuracy percentages....are there ways to calculate all these with the SOM algorithm? I would appreciate answers from anyone who can shed more light on this
Ignoring all the characteristics of each languages and focusing SOLELY on speed, which language is better performance-wise?
You'd think this would be a rather simple question to answer, but I haven't found a decent one.
I'm aware that some types of operations may be faster with python, and vice-versa, but I cannot find any detailed information on this. Can anyone shed some light on the performance differences?
Hi,
Has anyone been able to implement Facebooks Graph API in a native iPhone Application?
The documentation is pretty sparse when it comes to iPhone integration, but the calls to get users information looks a lot more light weight than the previous method of using FBConnect. So i would like to use it.
I have seen a few posts about but none explain you you would implement the login button as we did previously with FBConnect?
If any one has achieved this or can offer me any pointers that would be brilliant
Thanks
Tom
hi,
I'm using qTip jquery-plugin for my tooltips.
I cannot change the font-size of the tooltips. This is the code.. any number 2..4..8 produces the same results.
$('.option img[title]').qtip({
style: { name: 'light', border: {width: 0}, title: { 'font-size': 2 } },
position: {
corner: {
target: 'topMiddle',
tooltip: 'bottomMiddle'
}
}
});
thanks
Hi,
I'm looking to do the 2 following tasks automatically via the twitter API?
Allow a user to provide their credentials and have their twitter account to subscribe to my website feed directly from a form on the site.
Allow a user to integrate tweets from my websites twitter feed into their outgoing tweets.
I'm finding it hard to find any informationon how to achieve these, can anyone shed any light?
Thanks in advance.
I have a table fill with cell items.
If I click on a cell item, that cell item is 'linked' or related to other cell items, which need to be highlighted.
If another cell item is clicked, that cell's related cells need to light up.
Is there a jQuery plugin to accomplish something like this? Or would I have to look into writing one myself?
Can somebody point me at a good tutorial for py2exe? I've read over the official tutorial but it is rather light on details, compared to all the options one can use when building an executable out of a python script. For the record, my python script uses Python 2.5.2, wxPython/wxWidgets 2.8 and MySQLdb 1.2.2; so if you have specific tips for py2exe with those packages that would be much appreciated (and yes, I've seen the Py2EXE and wxPython page).
Is there a differnet between ^[a-zA-Z] or [^a-zA-Z]?
When I check in C#,
Regex.IsMatch("t", "^[a-zA-Z]") // Return true (I think it's correct)
Regex.IsMatch("t", "[^a-zA-Z]") // Return false
There are alot of web site using [^a-zA-Z] for alphabet. I'm not really sure which one is correct answer.
Could someone please shed the light?
Hi everyone,
I have to access a service which is developed using different framework. The client program is using CXF. I dont have access to the provider environment so I cannot use any config files (Cxf.xml, cxfservlet.xml etc..). I need to access the webservice with implicit security header (UsernameTokenType, oasis-200401-wss-wssecurity-secext-1.0.xsd) . Can anyone throw some light on this?..
Hi everyone,
I have changed the Configure::write('Security.salt', '############'); value in the file
config/core.php
file to a '256-bit hex key'. Is it safe or a good practice to change these lines for every different installation of cakephp application or shall I revert back to the original ?
I also changed the Configure::write('Security.cipherSeed','7927237598237592759727'); to a different one of more length.
Please throw some light on this.
Thanks
I realise this is a bit flippant but it may highlight some 'interesting' features of t-sql.
Or just provide some light distraction on a Friday morning...
I'm currently torn between
t-sql allows three part naming when dropping tables but not when dropping procudures
and
When using Coalesce to produce a delimited string the presence of a leading delimiter is
dependant on whether the delimited string was initialised prior to calling Coalesce
I'd be interested to hear yours......
I have a scanned image of a book page and i need to crop this scan for leaving only page area. I tried to use AForge to detect page borders, but it doesn't work because the space which i need to crop may consist of little "light" areas (due to scanner quality) and edge detector detects borders there. That's why this is bad idea as for me.
Could you recommend something?
P.S. Please don't tell me to use non-free libraries.
IMAPI2 interface IFileSystem uses COM IStream interfaces to represent file data. There is AddTree method that adds specified directory contents to IFileSystem. So AddTree must create IStream's in the process. I wonder what implementation of IStream it uses? If it uses the standard OLE implementation than we have a nasty problem because OLE streams doesn't support files bigger than 4Gb.
Can anyone shed some light on this issue?
What is the technical difference between a process and a thread? I get the feeling a word like 'process' is over used and there is also hardware and software threads. How about light-weight processes in languages like Erlang? Is there a definitive reason to use one term over the other?
With the arrival of JEE and EJB 3,
have any of these Core J2EE Patterns become obsolete, or stand deprecated in light of (better) alternatives?
Are there any new patterns that one could use?
Thanks...
I search for way to synch my local code with server on debain linux. For example i modify some files, then i can run synch command, and only changed files send to server (using ssh for ex). Can you help me with good light solution for this?
We'll leave "worst job ever" for another day if it wasn't already done... but after some recent discussions on good environments, what is the worst you've had?
I've always been quite lucky - seats that go up and down, some kind of natural light, etc. But I think I dodged a bullet... what horror stories can you share?
Can anyone recommend a light Java IDE that doesn't require you to make new projects each time you want to compile and run a program? I just want to be able to open java files and compile and run them. I have already tried Eclipse and NetBeans but both require you to make a new project each time you want to compile and run a program. Making a new project is fine for large scale projects but for small school assignments this just makes the process more tedious.
Thanks