Ir al contenido principal

A true solution for hispanic immigration into the USA?

I recently found this book http://www.amazon.com/Immigration-Solution-Better-Plan-Todays/dp/1566637600 whitch is very well written btw.

There is only 1 problem with the proposal to welcome skilled immigration instead of the poor uneducated people who tend to flock from Mexico and other countries. Latinamerican people with higher education ofter rather stay in their home countries as Latin countries have very classist societies where the few educated live with incredible preferences over the most prone to emmigrate mayorities due to corurpted governments and corporations.

The sad part is the the USA government has for decades encouraged the status quo of these countries for political conveniency, sometimes even interveening militarily into those such as Chile, Argentina, Panamá where thousands have died, been torture or disapeared.

A more comprehensive aproach to the problem of immigration is needed to encompass a true possible solution but I believe such aproach is again invonvenient, not for the people of the USA but for its government, so It will be avoided officially.

For instance in Mexico, USA government has allways supported the corrupted leaders who renew their power every 6 years with fraudulent elections. It's the big corporations in the USA who find very attractive the corruption of the mexican govenrment so that they can take hold of this country's national assets, such as Oil, Railways and Telecom (to name only a few of the ones already privatized over these corporative interests and unsobereign influences,) for economic convenience.

Will the larger USA public truly want to see the whole of this problem? Will they find easy to hear that the USA govenrnment has actively helped to mantn poor and uneducated Latinamerican majorities? I doubt it. And I believe it is very dangerouse to use the old racist and hate argument against "hispanic" when most people in the USA don't even know what that world realy means for the history of the country (Spanish settlers were the first european to inhabit the country). Ignorance, irrational hate and racism are a perfect recepy for disaster, war, and genocide.

Comentarios

Entradas populares de este blog

sqlalchemy ProgrammingError can't adapt type numpy.float64 - Python troubleshooting

Are you getting a

sqlalchemy.exc.ProgrammingError: (ProgrammingError) can't adapt type 'numpy.float64'
???

It's because psycopg (psycopg2) - which is used inherently by SQL Alchemy but if you're just dealing directly with alchemy you might not know this - has no idea how to make the numpy.core.numerictypes.float64 (complete type path: another thing they don't tell you) a string for SQL querying.

Simple solution, add:

# solution by Jorge Orpinel found at rehalcon.blogspotcom
import numpy
from psycopg2.extensions import register_adapter, AsIs
def addapt_numpy_float64(numpy_float64):
return AsIs(numpy_float64)
register_adapter(numpy.float64, addapt_numpy_float64)
somewhere in the program.

For a more complete reference of the problem see http://initd.org/psycopg/docs/advanced.html#adapting-new-python-types-to-sql-syntax

I don't git it.

A lot of people praise git. I liked it at first, now I don't geet it.

Some weird stuff I've found in git, in no particular order:

You can pretend to be anyone. Just change your [user] name and email in .git/config and commit away. As long as when you push you use valid credentials, the commits will be recorded as from someone else. (At least this is possible on GitHub, I know git doesn't implement any specific user access control.)
* I guess you could try to enforce signing commits but as anything besides the basics, that gets pretty complicated on git.Steep learning curve that keeps getting steeper. Ok: git init, git add, git rm -r, git commit -am, git remote add, git fetch, git merge -ff, git push and pull -u of course, git checkout -b, git reset --mixed, git revert HEAD ... Those are just some of the basics... Ever tried to incorporate git subtree pull -P prefix --squash > into your workflow? I have, it's not fun (keep reading).Its super complicated to collaborate…

Dockerize your Django App (for local development on macOS)

I'm writing this guide on how to containerize an existing (simple) Python Django App into Docker for local development since this is how I learned to to develop with Docker, seeing that the existing django images and guides seem to focus on new projects.

For more complete (production-level) stack guides you can refer to Real Python's Django Development with Docker Compose and Machine or transposedmessenger's Deploying Cookiecutter-Django with Docker-Compose.

Pre-requisitesAn existing Django app which you can run locally (directly or in Virtualenv). We will run the local dev server with manage.py runserver.A requirements.txt file with the app dependencies, as is standard for Python projects; including MySQL-python.Working local MySQL server and existing database. (This guide could easily be adapted for other SQL engines such as Postgres.)Install Docker. You can see Docker as a virtual machine running Linux on top of your OS ("the host"), which in turn can run con…