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?
Hi
I have been trying to localize my iPhone app in two languages - english and german
I have created two folders en.lproj and de.lproj each containing Localizable.strings file for respective language. I have included these files in my resources folder, changed the encoding of these files to UTF-16.
I have tried cleaning the project and building it again, deleting folder at path: Library/Application Support/iPhone Simulator/User
But the problem is still there. Anybody having an idea please help.
Hi,
This is about folder level permissions. We have a document library with break inheritance. While adding folders, sub folders through code, again we coded for break inheritance.
Now the requirement is, when a user/group is added to subfolder permission list, we need to track this event. Which sharepoint event do we use and on what level. Please help.
I'm calling the twitter4j library using Clojure like so:
(def twitter (. (TwitterFactory.) getInstance))
This works fine when I call it as a script. But when I use gen-class, I get:
java.lang.IllegalArgumentException: Can't call public method of non-public class: public java.lang.Object twitter4j.TwitterFactoryBase.getInstance()
Is there a workaround for this?
Hi,
I'd like to use HTML5 Canvas, but I'd like to use it in terms of shapes, texts and curves, able to attach traditional DOM events like onClick or drag-and-drop functions. Is there any Javascript library that is able to do that for me? I've seen that gwt-canvas is close to this approach, but haven't looked it in details.
Thanks,
Istvan
I am working on a software project in my sparse time. I plan to make it a free software. I also plan to share the source code. But not open source, i.e., derived works based on my code are not allowed.
Can I still use a LGPL library?
Is there a standard way to override settings from web.xml in a packaged war? I want to change filter settings for an existing library (eclipse birt) without repackaging the war.
What if there was an error in registration or login and the user wanted to try it again. I wouldn't be able to get the information needed for registration. Do all providers behave like this, or is it the PHP OpenID library(http://openidenabled.com) I am using?
What do you think is the advantages/disadvantages between this two libraries? Which of these two are best suited for production environment? By the way I will be using JSON instead of XML.
I also would like to know what library is most supported by the community e.g. tutorials, documentation.
We have a GWT application that needs to display various holidays. Is there a library available to do these calendrical calculations? If not, we'll have to do our own that we can ingest a set of rules to.
Cheers
Any tips How to figure out where is memory leak in my Facebook app, its ASPX using Facebook toolkit DLL and I am afraid the bug may be in that CS library.
The problem is that after one week uptime, server is running out of memory and needs to be rebooted, there are quite many users and I cannot run debugger on this "production server", so I would need to simulate somehow use on my local PC.
I'm looking to choose a namespace for a library I'm writing and I'd like to avoid conflicts with other namespaces.
Does anyone know of a website that lists all of the class prefixes in use?
Is there a library or tool that can take an html page and some css, and then render an image?
I would like to define some templates server side using html code snippets, and some CSS to define the layout. Then using the template and CSS, I would like to essentially render an image of how this would display in a browser, and pass the image back to the client.
Thanks.
Ok, I know this question seems to have been asked many times on stackoverflow.
but please read
Well the answer for any address is "No you can't" but the question here is to know if a pointer points to a piece of memory allocated with malloc/new.
Actually I think it could be easily implemented overriding malloc/free and keeping track of allocated memory ranges.
Do you know a memory management library providing this specific tool ?
I am working on a research project that deals with social networks. I have done most of the backbone of the program in C++ and am now wanting to implement a way to create the graph of nodes and the connections as well as a way to visualize the connections between people. I have looked a little into Lemon and the Boost graph library, but was wondering which one would be easier to learn and implement or if I should just code my own.
If a std::set or std::list contains a sequence of natural numbers (1, 2, 3..). would there be a function in standard library to find the missing number?
Is there any fast method to make a transposition of a rectangular 2D matrix in Python (non-involving any library import).? Say, if I have an array X=[[1,2,3], [4,5,6]] I need an array Y which should be a transposed version of X, so Y=[[1,4],[2,5],[3,6]].
I have simple code from Ping.fm Ruby Client/Library
require 'pingfm'
pingfm = Pingfm::Client.new('api_key', 'user_app_key')
but it gives me uninitialized constant Pingfm (NameError)
pingfm gem is installed, just there was this error message Could not find main page README during installation.
Any idea how I can get it work?
I am using:
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
pingfm (1.0.2)
I am trying to parse a string which in JSON format only that keys are not enclosed in quotes. I can very well parse this string in Javascript, but can not find a Java API which will help me parse this. All the APIs I tried assumes strict JSON format.
Can anyone suggest a library which has an option to parse this, or a whole new approach to the problem (say like use regex instead) ?
Right now, if I want to run mysql, I have to do /Applications/MAMP/Library/bin/mysql -u user -ppass... I'd be a happy camper if I could just do mysql -u user -ppass.... Been googling around, but haven't been able to find anything... Have a feeling I'm using dumb search terms, so if anyone here knows how to do this, that'd be awesome...
I have a page that comes back as an UnexpectedPage in HtmlUnit, the response is JSON. Can I use HTMLUnit to parse this or will I need an additional library?
I just created a project so my Solution Explorer looks like this:
But I want to add another project which is related to this project but it's going to be a class library and it's going to output a DLL that I could use in any other project.
So how can I create a "solution" with multiple projects?