macos – py2app can not be installed after the framework has been installed along with the Python version

All of a sudden after installing a framework with a Python version with

PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.7.4

(I had this version without the framework installed and then reinstalled with the framework) I can not seem to install py2app:

$ pip uninstall py2app
Uninstalling py2app-0.19:
  Would remove:
    /Users/craign/.pyenv/versions/3.7.4/Python.framework/Versions/3.7/bin/py2applet
    /Users/craign/.pyenv/versions/3.7.4/Python.framework/Versions/3.7/lib/python3.7/site-packages/py2app-0.19.dist-info/*
    /Users/craign/.pyenv/versions/3.7.4/Python.framework/Versions/3.7/lib/python3.7/site-packages/py2app/*
Proceed (y/n)? y
  Successfully uninstalled py2app-0.19

$ pip install py2app
Collecting py2app
  Using cached https://files.pythonhosted.org/packages/ca/b9/e2694542fad0b53ebcd2a183bac8535454b469fef4e4397a0296af90fcac/py2app-0.19-py2.py3-none-any.whl
Requirement already satisfied: macholib>=1.11 in /Users/craign/.pyenv/versions/3.7.4/lib/python3.7/site-packages (from py2app) (1.11)
Requirement already satisfied: altgraph>=0.16 in /Users/craign/.pyenv/versions/3.7.4/lib/python3.7/site-packages (from py2app) (0.16.1)
Requirement already satisfied: modulegraph>=0.17 in /Users/craign/.pyenv/versions/3.7.4/lib/python3.7/site-packages (from py2app) (0.17)
Requirement already satisfied: setuptools in /Users/craign/.pyenv/versions/3.7.4/Python.framework/Versions/3.7/lib/python3.7/site-packages (from modulegraph>=0.17->py2app) (40.8.0)
Installing collected packages: py2app
Successfully installed py2app-0.19

$ which py2app
py2app not found

Can anyone find out what the problem is?

Thank you in advance!

Web Development – Language / Framework Recommendation

I do not know if this is the right place for this question, but …

I need to develop a simple (really simple) project that is based primarily on the user interface and the interaction, but it must work properly. My question is which language / framework do you recommend to create software (it can be mobile or just a site) that can register users who have a profile with some information and a page where users are Display 1 Type User Type 2.

I need a simple framework / language / API, I thought about using Javascript, responding or using Ruby on Rails. Do you have a better suggestion? Remember it
I will not do anything very complex.

codenameone – Dynamic iOS library .framework in the native surface of codename One

I need to use a dynamic iOS .framework library codenamed One, but I have not found any instructions.

The developer's guide (section: https://www.codenameone.com/manual/advanced-topics.html#_bundling_native_ios_sdk) has the following tips, but they do not seem to work:

Locate the "Binary" file inside the framework and copy it to the native / ios directory. Rename it to libXXX.a (where XXX is the name of the binary file).

Copy all .h files from the framework to your native / ios directory.

Update all #import statements in the #import format headers to simply import "FileName.h".

This does not work if the *.framework Contains no static library, but a dynamic (as suggested in the answers to creating a static library from an existing framework in iOS).

Before iOS 8 all .framework Files contained only static libraries, but as of iOS 8 developers can create dynamic frameworks (see https://stackoverflow.com/a/15331319/1277576).

.net – Is it advisable to locally debug a solution with a version of the framework different from the production version?

A small, neglected project was recently reported by users with time-out errors and some object reference exceptions. Since I recently replaced a developer responsible for this project, the solution was not installed on my computer.

While attempting to get a local build up and running, I find that multiple referenced nuget packages are outdated, so the solution can not be created. At the start of this morning I mentioned to the team that I am looking for outdated packages so that I can debug locally or at least attach a debugger to QA / Prod and then investigate the issues further. An employee who "hands over" the project, as it were, created it locally by updating the local solution from .NET 3.5 to .NET 4.5 and updating it to new Nuget packages.

I thank you for your comment and replied that I am trying to fix some immediate manufacturing issues so that I would like to replicate the QA and production environments as closely as possible. Her answer was confusion and protest. I explained that there are many user-reported errors in production, including those logged by the server's reporting mechanisms, and that I did not want to fuel up by upgrading the solution framework. The colleague answered They do not suggest that I update the production, just the local build and debug that way.

This contradicts everything my mentors and senior engineers have taught me to have close-to-production local builds, and that has always been a reasonable piece of advice to me. Am I too persistent here? If you think the code fix does not depend on the framework, should you just do everything to get a build up to debug quickly?

Councils for the migration / execution of .NET framework software under Linux

I'm working on a project that was created in the .NET Framework. It is a program that, among other things, receives, processes and transmits data from a serial port. I am using a windows form for user interactions.

Now the client wants the software to work on Linux. I tested a lot of things like migrating to .net core and noticed in the middle of the process that Linux does not run a windows .net core form. I also tried to compile with Mono on other unsuccessful approaches.

I was able to use the version of Ubuntu 16.04 via Wine and Wine-Mono.

Then I tried to repeat and document the installation step by step. I did it, but not to my satisfaction. This time I have the latest LTS version of Ubuntu installed. The software has grounded text boxes and some functions do not work.

I come to you to help you choose the solution. I can continue to investigate and invest time to run software properly through wine, or try a different approach, such as: For example, migration of all software to multi-platform technology (eg, Java).

Although we know that the second idea is likely to solve the problem, it may be the most laborious and challenging. Apart from having some experience in Java, my boss has never worked with the language, which also causes some fears in the language. Although the software is not very large, I think the job would be done in a month or two.

What do you recommend?

Software Process Activities vs. Framework Activities

Hey guys, I'm confused with software process activities (specification, development, validation, and evolution) and framework activities (communication, planning, modeling, construction, and deployment). So what is the difference or relationship between them? By the way, it is not a homework assignment. I try to understand these concepts so as not to do homework. thanks

Java – JSF test framework

I am developing a user interface with JSF and the associated parts with REST interfaces. I have the following two questions about the design.

  • Which test framework can be used for this project?
  • I've created the REST interfaces as a separate WAR file and I'm developing the UI now. IF I create a separate UI-WAR file, how do I connect both WAR files? I researched and found Maven Fat Overlay Schema as well as RMI (Remote Method Invocation). But I would like to know how experts deal with this situation. Everything in the same WAR file?

Please tell me your opinion, thank you. 🙂

Web Applications – What's the Lightest Web Framework for Deploying a Single Page App on Raspberry Pi?

I plan to install BalenaOS and run a small one-page web app from a Docker container. It only needs to provide static content because there is an API somewhere else. According to Balena documents, they provide images with Node.js, Python, Go, Java and Dotnet.

Which platform offers the lightest web frame fork?