Hi,
Meaning the C10K problem, what is the best way to do asynch I/O on Mac OS X (assume to use on Mac and iPhone/iPad)?
On Linux our choice is epoll, on Windows is I/O Completion Ports.
Top priority is performance and scalability (thousands of connections).
Thanks
Hi folks!
In my iPhone app there is a scrollview (pagingEnabled=NO) which can contain up to 200 subviews (150 x 150) and the challenge is to do lazy loading and simulate endless scrolling (without bouncing) in horizontal directions.
Is there a solution or an alternative for this request?
Thanks a lot,
Daniel
With the environment variable %allusersprofile% I can get the directory where common settings are stored. But most programs store their settings in the sub-folder "anwendungsdaten" (German, application data). Is there a way to get the direct path to this folder? The problem is that its name is language dependent.
Thanks.
Hi,
I'm trying to load the DOM of web pages in my application (running under Google App Engine), using HtmlUnit, HttpUnit or any similar library.
Did anyone manage to do something similar?
Thanks
Gilad
I'm using the Open XML SDK to work with Word 2007 templates, and the project continues to progress nicely. Now I would like to add consistent headers and footers to every document, very similar to an ASP.NET MasterPage. In particular, I'd like to compose a template document with a content document, then fill the content using the approach described here. I can't find anything on this topic.
Thanks for your help!
Hi folks,
I know this is a mater of taste, but actually I cannot accept the Objective-c syntax.
Any advices so that I can go ahead and learn this language with this freak syntax?
Thanks.
Hello,
I have 2 geometries A and B which I'd like to combine like shown at the end of the following drawing:
http://www.imagebanana.com/view/9vm6zoy/geocombine.png
How could one do this? Is there something like a "virtual canvas for geometries" where I can place A and B, move B accordingly and then get a geometrie from this? Thanks for any hint!
Ruby on Rails - UltraSphinx
Hi guys, I'm using Ultrasphinx for the search thing.
My question is : I have the "rake ultrasphinx:daemon:start" running in the background. Now, should I have a cron job that does "rake ultrasphinx:index" regularly or will the daemon take care of indexing whenever a new object is created.
Please, let me know. Its kind of emergency.
Thanks
Hi,
Does anyone know a work around to make animated GIF's continue to be animated after you click a link or submit a form on the page your on in IE? This works fine in other browsers.
Thanks.
Hi,
I have a WCF service and without changing any code on the client side, is there a way that I can know the detail information of the caller, such as the MachineName, and ApplicationName?
Basically, I cannot change the client code to pass those pieces of information over.
I tried to use System.Web.HttpContext on the server side to track this information, but HttpContext.Current is NULL. I guess that is not the proper usage of it.
Any suggestion?
Thanks
Sarah
I'm building a Windows Service app that has configuration data stored in App.Config. However, I noticed that when I build my application a AppName.Exe.Config is generated.
Can someone tell me the relationship between these two files? Is the AppName.Exe.Config file what I install with my Windows Service app, instead of the app.config?
Thanks - Randy
My application compiled in .NET 4 seems to be performing really slow compared to .NET 3.5. When I did the performance analysis, I found out that the System.Math libraries in VS2010/.NET 4 have slowed down considerably.
Any explanation to this? Has anyone else come across this or am I the only one seeing this?
Thanks,
Niranjan
a schema change was made on a production server that generates feeds to our parters, removing two bytes from a field, which clobbered our partner's jobs.
my boss wants a notification mechanism to propagate schema changes to everyone, but instead of writing something, id like to get the schema change history report exposed on sharepoint somehow.
is that possible?
thanks very much for your help
drew
Hi,
I'm writing some integrations tests in JUnit. What happens here is that when i run all the tests together in a row (and not separately), the data persisted in the database always changes and the tests find unexpected data (inserted by the previous test) during their execution.
I was thinking to use DbUnit, but i wonder if it resets the auto-increment index between each execution or not (because the tests also check the IDs of the persisted entities).
Thanks
M.
First question is, given a url to an mp4 video, how can I save that file to disk? The followup to that is while its saving, can I begin playback after its buffered some of the video to disk or do I have to wait for the entire file to be written and then:
MPMoviePlayerController* theMovie=[[MPMoviePlayerController alloc] initWithContentURL:theURL];
using the path to the local file.
Thanks,
Sam
First question is, given a url to an mp4 video, how can I save that file to disk? The followup to that is while its saving, can I begin playback after its buffered some of the video to disk or do I have to wait for the entire file to be written and then:
MPMoviePlayerController* theMovie=[[MPMoviePlayerController alloc] initWithContentURL:theURL];
using the path to the local file.
Thanks,
Sam
Hi all,
How can I test if a mouse is within a given div? I know how to use events to do something when it occurs but is it possible to check it on pageload only?
What I want to do is smething like:
if(mouse is in specified div) {
check = true;
} else {
check = false;
}
Thanks,
Denis
Hi,
How thread-safe is enum in java?
I am implementing a Singleton using enum (as per Bloch's Effective Java),
should I worry at all about thread safety for my singleton enum?
Is there a way to prove or disprove that it is thread safe?
// Enum singleton - the preferred approach
public enum Elvis {
INSTANCE;
public void leaveTheBuilding() { ... }
}
Thanks
How can i format quantity value in crystal report like if the value is 5, then just show as 5. If the value is 5.25, then show as 5.25. So which format should i use for that?
Thanks.
Every time that I make a change to the contract of my WCF service, I need to have Visual Studio update the service references in all of my client projects.
This process regenerates my client's app.config file and, since I have hand-tuned the "bindings" section of the file, I need to back-up my file and then restore it each time I have VS do the update.
Is there a way to avoid this necessity (eg: have VS update the service reference without rewriting anything in app.config)?
Thanks
My web service needs to do generate some line charts which will then be added to a PDF report that is streamed to the client.
How do I generate the line chart in the web service?
Thanks!
I am having trouble getting my left and right repeaters to fill the available space left on wide screens for a website I am working on. The left and right repeaters are background images (approxamately 350px wide) that I would like to show part of, or even repeat if the screen (visible area of screen shown in red) becomes wide enough.
Any help or suggestions would be greatly appreciated!
Thanks,
John
Hi
I am looking for a command that will draw a circle on an existing image.
im=Image.open(path)
looking for a function that will draw a coloured circle with radious r and center(x,y)
thanks for any help provided
Ariel