cx_freeze on MAC 10.9 Python 2.7.6 (32/64 bit) - eclipse

I have developed an app on a Window PC using Python and wxPython. For the several weeks I have been trying to migrate it to a MAC mini running 10.9, Python 2.7.6 (32/64 bit) using the Eclipse IDE with PyDev. I was NOT a MAC user prior to about three weeks ago when I purchased a used Mac mini and started working on it. Due to the fact that wxPython is a 32-bit library only I am running Python in 32-bit mode out of Eclipse - this has worked well until now I am ready to attempt and produce a stand alone app via cx_freeze and I am hitting a problem that cx_freeze is building the bundle using the 64-bit Python and it will not work with my 32-bit wx_Python library.
My question is what can I do at this point in time? Obviously, if I had been smart I would have installed the 32-bit ONLY version of Python 2.7.6 (hind sight you know), but I did not. I have gone through all the write to /Library/Preferences/com.apple.python.preference file and setting environment variables only to learn that that does not apply except to Apple installs. One solution would be to install the 32-bit ONLY Python - scared I will mess my current development environment up so that is why I am asking here for help. Also, there may be a setting in cx_freeze to accomplish this too. Any help to a "green horn" MAC person would be greatly appreciated.

Related

32-bit version of VS Code for Windows 7

I am trying to get a version of VS Code that will run on 32-bit Windows 7.
This page points to the release notes for 1.70 which has a 64-bit download.
This page provides a link to download the Insiders version, for use with 32-bit. But that version doesn't support Windows 7.
Where can I find such a version of VS Code?
The vscodium project still releases builds for many officially unsupported platforms formerly or never supported by vscode.
You can grab a release from here:
https://github.com/VSCodium/vscodium/releases
Here:
https://update.code.visualstudio.com/1.70.2/win32/stable (System installer)
https://update.code.visualstudio.com/1.70.2/win32-user/stable (User installer)
Taken from https://code.visualstudio.com/updates/v1_70 and https://code.visualstudio.com/docs/supporting/faq#_previous-release-versions.
Though for some reason these don't work on my computer (Code.exe starts by dies after a bit). Who knows why...
Then there's a video downloading 1.50 and comments saying thank you, so I guess it worked (I didn't try because...) - very old version though. Not sure why 1.70 doesn't work on me, but anyway, according to Microsoft, it's the last one working on Windows 7, and here are the 2 links for its 32-bit Windows version. Hopefully it works for you and anyone else. This is a 2006 Pentium M DDR RAM PC anyway.
Also, there is a ZIP somewhere for 1.70.3, but I only found the 64-bit version.

How to build native app bundles for Windows, Linux & Mac in a single build?

I am running my build on Windows 8 O.S. , 64 bit machine. I have JavaFx2.0 and Java 1.7.0_09 installed on my system. I am able to build a 64 bit window executable that launches my JavaFx application as a self-contained Javafx application.
Now I want to deliver native app bundles on Windows, Linux and Mac without build my project on all three platforms i.e I would like to achieve these set of bundles in a single build that I suppose to run on by Windows 8 O.S. 64 bit machine.
I am also okay if I can do it by distributing a single Application JAR file as .zip for MAC and Linux. But what I want is that JAR should work on there respective platform.
When I used to run a single application Jar on MAC using command
java -jar application.jar
It always shows a dialog "The application require a newer version of Java Run-time" with download link. Even I have downloaded and successfully installed it on my MAC machine but it still shows me the same window.
I don't want the users to experience such difficulties while running my JavaFX application on MAC and Linux.
What I need to ship more with the Application JAR so the users can run my JavaFx application on MAC and Linux without any hassle?
I guess you are making the JavaFX Solution in a 64bit machine and on the other hand you must be having all the SDK and runtime for 64bit version. The problem is that the application made using 64bit version of SKD would required 64 bit OS to render itself. So the bottom line is, is yout mac and linux PC have 64bit version of OS and JavaFX Runtime as well as Java7.X all 64 bit? If not then you must update your runtime to 64bit version or make your application in a 32bit version of SDK. One quick suggestion. If your mac or linux is 64bit(I dont have much idea about mac) then just install a browser i.e. 64bit version and runtimes and try out. I was having the same problem and that got fixed. Let me know if my answer caused any confusion.

eclipse for chrome?

I use eclipse IDE for developing my GWT and android apps. I would like to transition to a chromebook for my main development computer, but I can't figure out how I would get eclipse "installed". There is no chrome app version of eclipse, at least not that I can find. I do see that there are other IDEs in the chrome store, but I don't think they would have all the nifty helper plugins that eclipse has for google developers. Anybody know if a chrome version of eclipse is coming? Do others share my desire to develop on a chrome book?
Eclipse is not coming for Chrome OS. You need a JVM to run it and one of the compatible desktops for the UI widgets. So you would have to escape from Chrome OS desktop into base Linux and somehow launch a regular Linux desktop (like GTK) to have any hope of running Eclipse. Also, a typical chromebook is far too underpowered to run a full IDE.
Here are some options to consider:
Project Orion - A web based IDE from many of the same people who develop Eclipse. One of the goals is to enable Eclipse-like capabilities for platforms like iOS, Android, Chrome OS, etc. It has quite a few base IDE capabilities already, but not a lot of plugins just yet. Probably not going to see something as sophisticated as ADT for a while if ever. Google would have to implement Android emulators in JavaScript. Not an easy task.
Run Eclipse on another machine and use a remote desktop from your chromebook.
Run Eclipse Che on another machine or cloud server and use Chrome
The most straightforward and transparent way I was able to do so was to do a combination of things (some of which was mentioned in previous answers):
install crouton (alongside an ubuntu chroot) - this is not dual booting but running Ubuntu side by side with Chrome OS just alternating between both windowing systems.
install crouton chrome extension & xiwi - this enables running the X11 windows in the ubuntu chroot as native Chrome OS windows that can be easily alternated into.
install a JDK inside the ubuntu chroot.
download, mount and execute eclipse-installer.
once the eclipse distribution of choice is installed, for ease I symlinked the main eclipse executable to /usr/local/bin/eclipse and am able to run it from Chrome OS via crouton/xiwi: sudo startxiwi eclipse
Here's a screenshot of what it looks like when done:
Eclipse requires a JVM (maybe even a full-blown JDK), so there's no way to make it into a Chrome app. You could enable developer mode and try to install a Linux JDK since Chrome seems to be running Linux under the hood.
Do others share my desire to develop on a chrome book?
The solution is to load a normal linux distribution and run IDE from there. I'm using a netbook with intel n260, 1G ram, 1.6G Hz. NetBeans runs quite well. A chromebook runs more than twice faster, I'm sure it will be good enough.
As to how to load a linux, there is the Ubuntu on Cr-48 page that explains how to do it in depth. And also this very user friendly blog on arstechnica, or this blog on liliputting. They both point you eventually to the ChrUbuntu, that is a hand-re-packaged ubuntu with some scripts to ease your work.
You can install ubuntu via crouton (for more info: https://www.youtube.com/watch?v=d_MuVwJq_XQ&list=FLFel7rdB1nWQSjsJCaepEOg&index=1) and then you can install eclipse I'm not sure if you can install the ADT from the android sdk website but you can install the plugins from the eclipse website, third party developers, or if you really want to download it from the android sdk website you can probably get it to work with a little efort.
:) Enjoy
Yes! I share your desire to program on a Chromebook! While I am still a high-schooler, I am an amateur Java and Python programmer. My school provides with a class set of about 30 Chromebooks per classroom, and I didn't know how to run my code on them. I had Eclipse on my Windows desktop at home.
When I looked around online, I found something called codenvy.io. It is basically an Eclipse Che IDE that runs online. It uses Docker images to start up a workspace, runs all in the cloud, and a free account has 3 GB of RAM.
It suited my needs, and I loved it! You should check it out.

Mindstorms: Installation of NXT2.0f3 patch for Mac OS X Lion 10.7.3

Looking for installation help with NXT2.0f3 patch for mindstorms NXT 2.0 software on iMac w/ Lion 10.7.3. Base software installation from CD works fine (with some minor glitches once the NXT software is running that I can live with for now); however, applying the NXT2.0f3 patch (so-called Mac software fix downloaded from Lego) prevents NXT application startup. On application startup, I get an alert box with
"Error Code: 1003" stating that a required file is broken. The program then quits. No useful information (like a filename) there.
Mindstorms phone support wasn't helpful. Did reinstalls five times with different combinations of 32-bit and 64-bit mode OSX. Also tried installing driver package from CD to repair installation (after patch was applied), but no luck.
Has anyone got this working, or run into the same problem and have a solution?

How to run legacy Mac code on a faster, remote machine?

We've inherited some legacy software that we need to run quite urgently. It was written in Lisp and we don't have the source code (developer is dead), only runs on Mac OS 9 (some bug seems to prevent it running on anything newer) and requires a license dongle to run.
We have an old machine that will run the software, but it is a dinosaur. Ideally, the solution would also provide for remote access as well.
My first thought was to use some kind of emulator on a newer machine, or even a VPS. But I have concerns about how these will work with the USB dongle. Can anyone suggest a solution better than accepting that working with old code sucks and getting on with it?
The most recent hardware I can think is a PowerPC Macintosh, with Mac OS X 10.4 (Tiger). It is the last version of Mac OS X to have the Classic Environment, that will let you run this legacy software.
Alternatively, if you don't have a PowerPC Mac in house, you can look into SheepShaver, a PowerPC emulator, however you'll need a Mac OS install CD.