I am trying to use python's multiprocessing library to hopefully gain some performance. Specifically I am using its map function. Now, for some reason when I swap it out with its single threaded counterpart I don't get any memory leaks over time. But using the multiprocessing version of map causes my memory to go through the roof. For the record I am doing something which can easily hog up loads of memory, but what would the difference be between the two to cause such a stark difference?
hi-
i'm following the instructions on how to build a custom search provider for windows federated search:
http://msdn.microsoft.com/en-us/library/dd742956(v=VS.85)
i'm returning local results of the form:
File://C:\Users\user\file.txt
however, when i perform a search, i get results that say:
"This item was blocked because of your Internet security settings".
how can i change my security settings so that federated search will allow my customer search provider to return local filesystem results?
thanks.
Anyone know of a good library to invoke powershell scripts from within Java? I'm currently spawning a seperate process (powershell.exe) and then parse the output, but it would really be nice if I can leverage Powershell's 'power' by getting objects back from a powershell call.
Edit:
Otherwise, anyone else doing such interop? What method do you use?
The latest Resharper (v5) version is based on native NUnit code and allows NUnit addins.
I have a NUnit addin that works fine in NUnit GUI but I can not make it work with Resharper. Based on R# indication I have put my addins library in %ResharperPath%\Bin\addins but I doesn't work, my tests are marked as Ignored.
Question: How to run the NUnit addins with ReSharper?
is there an inbuilt method of tracking if a bundle has already been loaded? I have several edit views which forexample require jquery and jquery.Validate etc libraries. Which i don't need to reference on the main layout page.
Since a page could consist of several different conditional libraries ... ideally i would like @scripts.Render to know if i have already referenced a library and prevent its reloading.
Cheers
Tim
I have a project that runs on both .NET and .NET CF. But it uses a 3rd party library
that will not run on both. So I end up changing the reference every time the project gets built.
Project A - References the 3rd party dll.
Project B - References A and runs .NET CF
Project C - References A and runs .NET
Is there a way to automate it?
Have any of you seen like a javascript library that allows fluid div scrolling. I kind of want to do something like the scroll bars in google wave...but maybe less annoying. I happen to love them but it doesn't seem like they're getting that good of a review.
I have a jar library that i created.
It can be integrated in any android app and it works like this:
String token="<SOME_TOKEN>";
DeviceIdentifier edDevice = new DeviceIdentifier(
this.getApplicationContext(),token);
edDevice.update();
DeviceIdentifier class os a class in the jar.
now i want to make that jar work with Unity3d,
i searched the web and couldn't find anything
what is the correct way to integrate it?
program is compiling properly, but it is not running. it gives error classnotfoundexception ..i have already included the library path to the classpath ..
I would like to generate a PDF or RTF document using iTextSharp library that can be copied to the clipboard, using the same code I use to generate the document on a file (FileStream).
This way my application would give the user two options: generate to a file or to the clipboard.
I am in the process of setting up a CUDA workstation.
Platform specs:
Intel Core 2 Duo
Nvidia GTX 280
Fedora 10
GCC version 4.3.2
I have installed the developer driver, toolkit, and the SDK. When I try to compile the SDK example code I get the following errors:
make[1]: * [obj/i386/release/cutil.cpp.o] Error 1
make: * [lib/libcutil.so] Error 2
I think this means that I am missing a library file but I'm not sure.
I am just wondering is there a way to convert nib/xib file to ojbective C code? I just want to find the equivalent code to the nib/xib file (I've tried nib2objc, seems the result is not what I am after).
Actually I want to compile this example
http://developer.apple.com/iphone/library/samplecode/TableSearch/index.html
without nib/xib file (I want it exactly the same with original), any idea about doing this?
Is there any algorithm in c# to singularize - pluralize a word (in english) or does exist a .net library to do this (may be also in different languages)?
In InterfaceBuilder, I'm creating the simplest possible UIButton, by simply dragging from the Library panel into my view. After doing that, I get a nice UIButton that looks like this:
When I preview in the simulator, or view on my iPad device, my UIButton has a line underneath it, like this:
Anyone else have this problem? Anyone have a fix?
I am working with the finacial tooldbox that has a type called FINTS, If I copy some code out of its toolbox directory to customize it, when I try do do something like fts.data, I get The specified field, 'data', does not exist in the object. But the same thing works fine in the matlab library directory. They are both in my path, so what else do I need to change?
Thanks.
Hi
I am wondering if anyone has any good tutorials(or maybe even a library that is already made and well documented) on making a generic repository.
I am using currently linq to sql but it might change so I don't know if you can make a generic repository that would take little to no changes if I would say switch to entity framework.
Thanks
Any one know of a tutorial or library or something that i could use to help me accomplish rendering a X-Y GRAPH for performance data or just data in general.
My goal is to have a final result looking something similar to
This Chart rendered by RRD.
My computer crashed recently. We have a Delphi app that takes a lot of work to get running.
One of my co-workers has it all installed still. Is there a way to copy the stuff stored in the palette? And the library paths?
I am using Delphi 5 (I know it is very very very old)
Is there any python library that can keep a client-side SQLite database in sync with a server-side PostgreSQL database?
There are solutions for Java, such as Daffodil or SymmetricDS. Is there something similar for python?
Hi,
I'm porting Quake3 on linux using quake3 open source.
I used ioquake3, but It uses SDL library. Do you know how to compile the quake3 without SDL and OpenAL with ioquake3? Or anyone have the quake source which is not included the linbrary?
And I don't want to compile using perl scrip, neither.
I want to compile with only makefile.
Thank you!
I am looking for a open source library in Java for HTML Microsoft Word conversion. I have found many tools for Word to HTML conversion but not too many for converse.
I am trying to compile a library originally written for Cocoa. Things are good until it looks for the function marg_setValue(). It says it can't find it.
I have googled and found it is defined in How can I use this file in cocoa-touch? Or does cocoa-touch not support runtime.
Hey guys,
So, I followed Apple's instructions to capture video session using AVCaptureSession: http://developer.apple.com/iphone/library/qa/qa2010/qa1702.html. One problem I'm facing is that even though the orientation of the camera / iphone device is vertical (and the AVCaptureVideoPreviewLayer shows a vertical camera stream), the output image seems to be in the landscape mode. I checked the width and height of imageBuffer inside imageFromSampleBuffer: of the sample code, and I got 640px and 480px respectively. Does anyone know why this's the case?
Thanks!