I have a date picker library written for MooTools that I want to port to Prototype. It's looking to be a long arduous task and I'm wondering if anyone has seen or written guides on the differences between the two. A translation dictionary of sorts, where I can look up a Moo function and see the prototype equivalent, or vise-versa.
The...
I miss this place.
Here are snippits i wrote in C#. I would like to know if i can copy/pasting this to a asp.net app and what i may need to change. I am mostly worried that the syntax will be invalid because a compatible library doesn't exist.
struct MediaIdUserIdPair //is there a standard pair i can use?
{
public long mediaId, use...
Hi,
I am trying to write a Python function which returns the same moon phase value as in the game NetHack. This is found in hacklib.c.
I have tried to simply copy the corresponding function from the NetHack code but I don't believe I am getting the correct results.
The function which I have written is phase_of_the_moon().
The functio...
I have several C free software/open source libraries that I develop on Linux and OSX with the GNU toolchain (automake, conf, flex, bison, gcc, ...) but I occasionally get requests to provide Windows DLLs. I'd like to be able to provide those without having to spend a lot of time and money with Windows Visual Studio development. I do ha...
I'm working on building the Boost platform for a currently unsupported toolchain. Obviously we'd like to verify that the compiler is building everything OK, so we've some measure of how successful the porting is going. However it's not immediately clear whether or not Boost has such a test suite, good ol' Google fails me (or I fail at Go...
I have been asked what it would cost to port a .NET application to Mac.
I don't have enough knowledge to even give a rough estimate. I have not done anything on a Macintosh above surfing the web, and that was 10 years ago. My guess is that we probably have to write it from scratch in java or objective-c.
We are a Windows/Linux shop, a...
I'm looking to port a small Java security library to PHP. The Java implementation makes use of a keystore for signing some stuff and I'm wondering how to go about recreating this functionality in PHP. Of course the original Java implementation must still work with the same key pair/keystore.
I have very little experience with PHP and ...
Can anyone help convert this this actionscript to Objective-c?
if(mcMain.y >= stage.stageHeight - mcMain.height)
{
mainJumping = false;
mcMain.y = stage.stageHeight - mcMain.height;
}
Specifically the stage.stageHeight and mcMain.height?
...
I am working on porting a Java codebase to Cocoa/Objective-C for use on desktop Mac OS X. The Java code has lots and lots of methods with checked exceptions like:
double asNumber() throws FooException {
...
}
What's the best way to represent these in Objective-C? Exceptions or error out-parameters?
- (CGFloat)asNumber {
... ...
I have one question about Javascript frameworks. I'm using ExtJs on my application, but there are many problems with licensing and such things, so i wonder about this thing.
Is there a way to follow some strategies in developing Javascript so that i could easily switch from one Javascript framework to some other framework?
...
Ok, I have this prototype that was written by someone else in C# and I'm trying to put it into Objective-C. Now, I haven't had any formal experience with C# yet, so I don't know everything about it yet. I understand what the first three variables are, but I'm running into problems with what the fourth and fifth lines (c_data) are doing. ...
So, I'll be soon working on porting two APIs (C++ and C++/CLI) to use the VS2010 compiler. I think it'd be a good idea to have a head start on this. Any tips?
...
Currently I'm building my Java Web Application on Google AppEngine (GAE), but due to a lot of limitations they have I'm afraid that I'm going to have to switch from GAE to my own server which is running Glassfish (or I can setup any other server if needed). Also I'm planning to run Oracle or MySql databases. What do I need to do in order...
Hello, I'm trying/thinking of making CppCMS - C++ Web Framework project little bit more cross platform.
Today I can easily support Linux, OpenSolaris, FreeBSD and even Cygwin. But when it comes to Native Windows it becomes really painful:
The overview of the situation:
I'm POSIX/Linux developer and I'm barely familiar with Native Win...
Someone wrote the following php4 code which I now am trying to port to php5:
the class is Foo (name changed to protect the guilty).
In one of the methods, we'll call it save() the class apparently is reset like this:
$this = new Foo($this->Foo_Id);
That results in the following error:
( ! ) Fatal error: Cannot re-assign $this in ......
Hi, I've made a basic interpreter before in C with a preprocessor that took a lot of load off of parsing and such. I would like to port this preprocessor for use in C# now and I'm having trouble, as I am still quite new to C#.
My old preprocessor made it so things like
var $mine= this;
//weird intendtation
var $some...
While converting a Java application to C# I came through a strange and very annoying piece of code, which is crucial and works in the original version.
byte[] buf = new byte[length];
byte[] buf2 = bout.toByteArray();
System.arraycopy(buf2, 0, buf, 0, buf2.length);;
for (int i = (int) offset; i < (int) length; ++i) {
buf[i] = (byte) 25...
Hello,
I have a python app running fine on Windows, Linux and Mac which I would like to port to multiple mobile platforms such as Blackberry, Windows Mobile, Palm, Android and iPhone.
I have couple of ideas:
- port app to platform supporting some kind of Python like Andoid and Windows Mobile
- port app to Java to target most platforms ...
I'm trying to port some code to silverlight.
Is there an equilavent of System.Windows.Vector for silverlight?
...
as c++ developer and java developer i always was fascinating from the solutions that java
have to offer to any problem as framework that you just drop to your class path and
walla.. you can work with it .
what are the frameworks do you wish was ported from java to c++ ?
...