I really need to emulate the behavior of NSImage's drawInRect:fromRect:operation:fraction using UIImage and I'm wondering what's the best approach or (better), if somebody already did this and willing to share the code.
I tried doing this using CGImageCreateWithImageInRect (see code at the end) but I'm not getting the expected results. ...
I have a Android project for SDK1.5 and now I want to convert it for SDK2.1 with some constant changes for the UI. Should I create a complete new Project or the existing project can be manipulated for including the lastest changes. I'm using Eclipse for Development.
...
I have been working on porting some Oracle DB code to Postgres, and I am noticing some nomenclature differences (Schemas vs Databases) etc. What are some good resources for dealing with these gotchas? Any tips? What needs to be kept in mind?
...
I'm stuck on python2.4, so I can't use a finally clause with generators or yield. Is there any way to work around this?
I can't find any mentions of how to work around this limitation in python 2.4, and I'm not a big fan of the workarounds I've thought of (mainly involving __del__ and trying to make sure it runs within a reasonable tim...
I want to know if we can create builds using ant's build.xml and when i'm trying to do this an error is displayed SDK location not mentioned and besides that I'm unable to find local.properties file to mention the SDK Location
My aim is that I want to use my exiting code and make a build for new Android SDK's with changes in the resourc...
Hello, I've recently been trying to port a C++ application. I believe I have all of it's dependencies and such and it all compiles. But then, when it goes to link it I get a lot of weird undefined reference errors.
/usr/local/lib/libglibmm-2.4.so.7.0: undefined reference to `std::basic_istream<char, std::char_traits<char> >::seekg(long...
The Psyco docs say:
Just for reference, Psyco does not
work on any 64-bit systems at all.
This fact is worth being noted again,
now that the latest Mac OS/X 10.6
"Snow Leopart" comes with a default
Python that is 64-bit on 64-bit
machines. The only way to use Psyco on
OS/X 10.6 is by recompiling a custom
Python in 32-...
Is there an efficient tool to convert the .Net C# webservice to java webservice. Is there any open source tool that can help?
...
I would like to port a few applications that I use on Linux to Windows. In particular I have been working on wdiff. A program that compares the differences word by word of two files.
Currently I have been able to successfully compile the program on windows through Cygwin. However, I would like to run the program natively on Windows simi...
Lets say I have an Android app that uses Google Maps and GPS.Uses custom views and timers.
How much time will it require to develop it for Blackberry?
What changes will be required? Can the UI be reused?
I am totally new to Blackberry, though I know Java.
Please help me estimate the time.
...
Hi,
I have a open-book test this week and I've been notified that the test will be an exercise whereby a chunk of legacy code is provided and a requirement to 'port' the code.
I understand what a open-book test is and the requirement of it (to test your thought process etc) but (it's a long shot) what could 'porting' involve? I have a ...
I'm receiving a SIGILL after running the following code. I can't really figure what's wrong with it.
The target platform is ARM, and I'm trying to port a known library (in which this code is contained)
void convertFloatToFixed(float nX, float nY, unsigned int &nFixed) {
short sx = (short) (nX * 32);
short sy = (short) (nY * 32...
If you port code over from one language to another, how can this be detected?
Say you were porting code from c++ to Java, how could you tell?
What would be the difference between a program designed and implemented in Java, and a near identical program ported over to Java?
...
Hey, I'm really struggling with this one. I'am trying to port a small piece of someone else's code to Python and this is what I have:
typedef struct
{
uint8_t Y[LUMA_HEIGHT][LUMA_WIDTH];
uint8_t Cb[CHROMA_HEIGHT][CHROMA_WIDTH];
uint8_t Cr[CHROMA_HEIGHT][CHROMA_WIDTH];
} __attribute__((__packed__)) frame_t;
frame_t frame;
while ...
Hi all.
I've to port to Qt/Linux a Win32 code that relies on GetCharacterPlacement() call for properly handle Arabic ligatures in strings.
While I've no problem at displaying these strings via QTextEdit or QLineEdit (Qt widgets correctly show ligatures), I can't "identify" and manage these ligatures.
In other words, if I type 3 Arabic...
Hi,
I would like to implement the Vimeo website scroll/easing effect (look for the sun and clouds) in my website. Vimeo uses Mootools to do that, I want to use jQuery. How do I do this?
Below is the easing part that needs to be ported to jQuery (don't know this is allowed to post so delete this if it isn't):
var scroller;
window.addE...
We have an application we are developing for a very long time written using Windows Forms
which consists of many panels as user controls. Is there a way to offer controls using a web browser with a minimal effort?
...
If a particular piece of software is made to be run on one platform and the programmer/company/whatever wants to port it to the other, what exactly is done? I mean, do they just rewrite linux or windows-specific references to the equivalent in the other? Or is an entire rewrite necessary?
Just trying to understand what makes it so cost-...
i have iphone project based on tabbar template . want to convert it to ipad,
final output i want is to move tabbar inside a splitviewcontroller .
How to go about?
...
I am porting an application which runs as a background service in windows at startup, we are porting the application to linux(SUSE Enterprise server), I'am completely new to linux. Can somebody help me on how to proceed with this. Like
Should I build the linux executable
After builiding the binary, what changes should I make to linux s...