Ir al contenido principal

Anxiety

Fear, terror, obsessive thoughts (I can’t stop thinking about something), fear of dying or other death-related thoughts. Nothing makes sense, nothing matters. Am I going crazy? No! You’re not nuts, you’re O.K.

The most important thing is for you to tranquilize: relax. But that’s not easy. For starters call somebody if you think you might need help even if you’re not sure, dial 911 or other emergency phone; just do it, it won’t hurt. You’ll feel better right away when you share the burden. Breathe in deep and let the air out slowly, that will pace your heart. Get out of the building; don’t deny what’s going on. I assure you that you can feel better, remember you have felt better! This is not the end.

Most probably you’re simply very anxious. This means you’re nervous system has become weak temporarily and the stress or repressed emotions have got to you all of a sudden so you don’t recognize what you’re feeling. It’s all O.K. really; it’s all in your head. YOU’RE NOT ALONE, this has happened to millions of us but it’s a taboo topic so lots of ignorance still prevail. In any case there are many persons who can help you.

This is what happened: during your anxiety attack adrenaline was liberated in your body making you extra aware of everything in and out of your body. You’re super tense in your muscles and might be trembling. Your heart might be beating rapidly, with taquicardia but it will resist so don’t worry (it can go on like that for weeks). Maybe you feel you can’t breathe normally but it’s not true and you might over ventilate trying to breathe, thus causing dizziness. Your stomach is probably altered and you’ll be nauseous and gassy. It’s all known. But it’s vital that you get help anyway or at least human support and company.

This short post was made with the intention to help people who are having anxiety attacks and looking online for answers in that moment. I hope it helped and look for specialized help, this is more common than you’d imagine J Don’t lose hope life is strong.

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

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…

Mapa del Metrobus de la Ciudad de México

Update: Por fin el Gobierno hizo su chamba luego de años de que mi mapa fuera el único en Google Maps. Hoy (05-11-2013) me percaté que en www.metrobus.df.gob.mx/mapa.html (solo con "www"...) se puede apreciar ya este mapa (zoom centrado en centro de la ciudad):

Ver Plano de Sistema de Corredores de Transporte Público de Pasajeros del D.F., Metrobús en un mapa ampliado


Para quien prefiera los iconos que yo utilicé, aquí dejo la última versión que actualicé (hasta línea 4 y proyecto de línea 5): En mi post "Mapa del Metrobus en Google Maps" publiqué el mapa del metrobus en Abril dl 2009. Ahora que hay más estaciones y más líneas, es necsaria esta actualización.
Incluye íneas 1 a 4 (actual a Junio 13 del 2012). La descripción de cada estación incluye correspondencias con otras líneas de MB y con el meto.
Además quiciera es incluir el ten ligero, las rutas/paradas del turibus, y algunas rutas de RTP - y tal vez el ten suburbano.
* En la vista satelital aun no aparecen m…