I have my small program.jar that uses a small part of huge library.jar.
Is there a tool to repackage several jars into one so it can be run stand-alone and is as small as possible?
I'm interested in the way Sonic Living detects your iTunes library XML file. It prompts the user to approve its actions, then automatically uploads the XML file based on the client OS (and assuming the default installation path of iTunes).
How the heck does it do that? None of the upload libraries I've looked at have this feature. They all assume that a user will click "Select file..." then browse around for the right thing to upload.
I essentially want to reconstruct the getTickCount() windows function so I can use it in basic C++ without any non standard libraries or even the STL. (So it complies with the libraries supplied with the Android NDK)
I have looked at
clock()
localtime
time
But I'm still unsure whether it is possible to replicate the getTickCount windows function with the time library.
Can anyone point me in the right direction as to how to do this or even if its possible?
I am trying to setup allegro to work with visual stupid express 2008 but I can't find a set of instructions for the life of me. I just want to to recognize the allegro library. Is there anyone who is familuar with allegro who could possibly help me out cause all the tutorials do not cover installation process and their documentation is not very clear.
I know that if your DLL static links against a different version of the runtime then it creates its own heap. It will also if it is instructed to make a heap. Under these circumstances, it is unsafe for the DLL to delete what the exe allocated. In what cases does this NOT apply (as in, it is safe for the DLL to delete what the exe allocated)? Is it safe if both the exe and the DLL static link against the same runtime library?
Thanks
I need to transform one document formated in xml into JSON and vice versa.
I belive this is a common requirement and perhaps there's still one library that does that work.
Know any?
In Xamarin I've got a .jar I've imported using a Java Binding Library. One of the callbacks has a Java.Lang.Object parameter which gives me Java.Util.HashMap and Java.Util.ArrayList at runtime. I'm abstracting this SDK behind a cross-platform interface, so I need to convert this to a .NET type. It there anything like the ArrayAdapter except in reverse that can convert the Java types to their .NET equivalents?
I have a solution file that requires a third party library (open source). The containing solution uses the typical configuration names of "Debug" and "release".
The 3rd party one has debug and release configs for both DLL and static libs - their names are not "Debug" and "Release".
How do I tell the solution to build the dependency first and how do I correlate which config to the dependant config?
i.e.
MyProject:Debug should build either 3rdParty:debug_shared or 3rdParty:debug_static
Hi All,
How can we set permissions for users to only allow them to download SSIS packages from the production server and but deny them permissions to run any package in the Server.
http://msdn.microsoft.com/en-us/library/ms141053(SQL.90).aspx
If i assign users to any of the DB roles db_dtsadmin, db_dtsltduser, and db_dtsoperator they will automatically have permission to run the package.
Appreciate your inputs.
Thanks!
a<- data.frame(sex=c(1,1,2,2,1,1),bq=factor(c(1,2,1,2,2,2)))
library(Hmisc)
label(a$sex)<-"gender"
label(a$bq)<-"xxx"
str(a)
b<-data.frame(lapply(a, as.character), stringsAsFactors=FALSE)
str(b)
When I covert dataframe a columns to character,the columns labels disappeared.My dataframe have many columns.Here as an example only two columns. How to keep columns labels when numeric convert to character? Thank you!
so, let's say i have the long/lat or address of many buildings
can get satellite images, "street view", and perhaps 3d/perspective views of buildings.
want to find:
height,
number of floors,
floor area (max building footprint)
of the building. about 200k buildings.
Is there a library for recognizing buildings from satellite shots or pictures? Kind of like face detection I suppose.
Any other suggestions?
Thanks!
I come from a Java background and have been using C# for the last year - So far the API docs I use are at MSDN (http://msdn.microsoft.com/en-us/library/ms132397.aspx). I tend to use the lightweight C# docs.
What annoys me about that is that I don't see one page with details of the class, a list of members, a list of methods and properties like I would with a Java API definition.
Is this possible?
When stopped at a breakpoint on main(), i can manually add name of a global variables to watch windows, but what i want is how to show a list of all global variables, because i'm using an external library, which contains many static things.
Is it possible?
Thanks in advance!
I'm able to get two videos to play sequentially, (and without pause!) with this code from Apple, (see section 2-4)...
http://developer.apple.com/safari/library/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/ControllingMediaWithJavaScript/ControllingMediaWithJavaScript.html
...Yet completely lost as to how to play a 3rd or 5th video. Trouble is I'm a Javascript noob :-(, so if you figure this out please share as much of your code as possible.
Thanks much!
I create empty project. Add some dll and lib. Then I include header file from one library and the program begin ignore main function, when i execute it.
No errors during building was.
Such behavior shoke me. It seems program use DllMain or so on.
Any suggestion?
Thanks.
Can anyone recommend a language, library, framework or book which focuses on GUI programming from the perspective of a web developer?
I have experience in web development, for example HTML/AJAX/PHP/MySQL among similar technologies. However, I have never programmed my own back-end, or any kind of standalone program. Does anyone have experience making this transition, and what would I best study to help make the leap from the browser to creating programs with GUIs (primarily for Windows)?
Hi
Using Actionscript and or in the Flash IDE you can either instantiate bitmaps from the library, or simply import bitmaps into the timeline of a MovieClip to create an image sequence.
How would you do the same thing in InterfaceBuilder and-or using ObjectiveC? Do I need to create a new view for each and every image?
Hi, all.
In most web projects, we do both client-side and server-side form validation.
A major part of form validation is error prompt,
the client-side and server-side form validation library probably have implemented this for us,
but the error prompt looks different.
How can I design a consistent error prompt for such a system?
Thanks in advance.
I have a database of nouns (ex "house", "exclamation point", "apple") that I need to output and describe in my application. It's hard to put together a natural-sounding sentence to describe an item without using "a" or "an" - "a house is BIG", "an exclamation point is SMALL", etc.
Is there any function, library, or hack i can use in PHP to determine whether it is more appropriate to describe any given noun with A or AN?
I would like to use the playback button in iPod coverflow view.
Are all the system provided icons on this page? http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/MobileHIG/SystemProvided/SystemProvided.html
or is there a more detailed list?
I have a sgen step in my .NET 3.5 library, producing a correct XYZ.XmlSerializers.dll in the output directory.
Still having poor serialization performance, I discovered that .NET was still invoking a csc at runtime. Using process monitor, I saw that .NET was searching for a dll named "XYZ.XmlSerializers.-1378521009.dll".
Why is there a '-1378521009' in the filename ? How to tell .NET to use the 'normal' DLL produced by sgen ?
The main user-case is:
Create the 2D floor plan
See the 3D view of the room in colors and in dynamic lighting (switching on and off the lamps)
Select the furniture from the large library of predefined samples.
Change the color and texture of the furniture samples.
Create the photos of the 3D room view from different points.
Also user can move and turn the camera in the room and discover the view.
Hi, I am trying to set a cookie and also check if it is there, does anybody have any sample code for this? All I found was this, but it would be helpful if I could see an implementation example. http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSHTTPCookieStorage_Class/Reference/Reference.html