Category Archives: Uncategorized

IMSS, UN DERECHO QUE PUEDES PERDER.


En mi caso, y supongo en el caso de unos cuantos más de mis amigos paisanos, mi conocimiento de el sistema público de salud en México es escaso, y, hasta cierto punto, pensé que el IMSS, (Instituto Mexicano del Seguro Social), era un derecho al que cualquier Mexicano podia acceder.

En parte esta idea viene de la educación impartida en la escuela primaria cuando hablan del artículo 4 de la constitución mexicana. ( Art 4: Toda persona tiene derecho a la protección de la salud) (link constitución)

La realidad es que esto es una verdad a medias y en este artículo discutiré lo que he aprendido en los últimos días y mi consejo para otros compatriotas que quieran mantener su estado de derechohabiente.

Para muchos mexicanos, es bien conocido que el IMSS, junto con el ISSSTE, son los servicios de saludo de el estado para atender a la población, y estos a su vez es bien sabido que tienen problemas de solvencia que solo han crecido en los últimos años, impactando la calidad del servicio, deficiencias que se han visto aún más por la actual pandemia del COVID 19. No es raro escuchar bromas del tipo (Inútil Solicitar Servicio, Solo Tramitamos Entierros, ISSSTE).

Pequeño reality check

Algo que seguramente muchos mexicanos descubren muy tarde, es que, a diferencia de lo que el artículo 4 dice, no todos tienen derecho a usar los servicios del sistema de salud (IMSS). En este sentido el IMSS funciona más como una aseguradora que como un servicio de salud universal.

Para poder tener derecho a servicios de salud, uno tiene que estar dado de alta y con una póliza vigente. (La Constancia de Vigencia de Derechos). Puedes validar en cualquier momento el estado de tu póliza aquí. (tramites imss).

Éste es un ejemplo de mi póliza hace unos días, ahi se puede ver que no tenía derecho a servicis de salud.

Condiciones Preexistentes pueden prevenir tu incorporación voluntaria al IMSS.

Éste punto es muy importante y es algo que yo no sabía, si quieres voluntariamente inscribirte al IMSS, tienes que cumplir ciertos requerimientos, incluyendo no tener enfermedades preexistentes, como Tumores (cancer), Insuficiencia Renal, VIH entre otros. Puedes corroborar esto en este link del IMSS. (enfermedades preexistentes IMSS)

Esto al parecer se hace así, para prevenir que uno como mexicano, se inscriba solo cuando esta enfermo, ya que como cualquier seguro de salud, para funcionar correctamente, tiene que tener una cartera de clientes saludables que pague por los servicios de los clientes enfermos. Por desgracia, esta información es omitida de la educación y muchos mexicanos la desconocen.

Hoy en día muchas personas mayores que trabajaron en la informalidad, y que nunca fueron inscritas no pueden gozar de los servicios de salud, y solo se fueron enterando de esto cuando ya estaban enfermos. Más acerca de este problema en este link (Seguro voluntario del IMSS inaccesible para adultos mayores.)

En qué modos puedes inscribirte al IMSS

Por lo que entiendo hasta hoy, hay 4 maneras en las que puedes volverte derecho habiente del IMSS.

1-Alta Patronal: Esta me parece ha de ser la más común en México ya que no depende del individuo, sino de la institución para la que trabajas. Este es el modelo en el que tu empleador paga por tu prestación del IMSS. Este es el modo en el que yo obtuve la mía, en 2014, cuando trabajaba en Oracle. Para este modo no importan las condiciones preexistentes que tengas.

2-Incorporación al seguro de salud familiar: En este casi cualquier mexicano se puede inscribir, sin embargo, si tienes enfermedades preexistentes no lo puedes adquirir.

Ademas, este, a diferencia de el número 1 (Alta Patronal), no cuenta para tus semanas de cotización en IMSS (no cuenta para pensiones ni crédito de vivienda, solo servicios de salud). Más información en esta página del IMSS (Seguro de salud familiar).

3- Incorporación Voluntaria al Régimen Obligatorio: Este es equivalente al Alta patronal, si nunca has cotizado en el IMSS puedes aplicar para esta incorporación, esta, a diferencia del (Seguro de salud familiar) además te permite acumular semanas para pensión y crédito familiar. Dos grandes diferencias que tiene con la (Alta patronal) son.

a)Tu tienes que pagar mes con mes la quota, por que no tienes empleador que lo pague por tí.

b)No lo puedes obtener con enfermedades preexistentes.

De lo demás, funciona igual. Puedes leer las reglas originales en esta página del IMSS. (Incorporación voluntaria al Régimen Obligatorio)

4- Inscripción a la continuación voluntaria al régimen obligatorio: Este es equivalente al punto 3, con dos grandes diferencias.

a) Solo puedes aplicar para este si ya habías cotizado anteriormente en el modo (Alta patronal) y no han pasado mas de 5 años desde que te diste de baja (renunciaste o fuiste despedido) y cotizaste al menos 52 semanas en los 5 años anteriores a que fueras dado de baja por tu último empleador. (artículo de cotizar en IMSS si perdiste tu empleo)

b)Si cumples el puto a), puedes obtenerlo aun con enfermedades preexistentes, a diferencia del modo 3.

Esta 4ta modalidad es interesante por que parece ser la única opción para obtener IMSS si quieres trabajar independiente y tienes enfermedades preexistentes. Más información de esta modalidad del IMSS aquí. (Inscripción a la continuación voluntaria al régimen obligatorio)

Me puedo inscribir en linea o tengo que ir al IMSS?

Parece ser que para los modos 2,3 y 4, puedes hacerlo en linea a traves de este portal. (tramites imss).

Como hago los pagos

Una vez que estés inscrito te va a llegar una ficha de pago como esta. Esta se puede pagar en ventanilla de cualquier banco en México, o por medio de banca en linea de algunos bancos, por el momento se que la banca en linea de Banamex no permite pagarlos, pero la banca en linea de Bancomer sí. El problema es el tipo de ficha, SIPARE. Aquí info de SIPARE bancomer(SIPARE bancomer).

Si tengo Enfermedades preexistentes ya no puedo tener IMSS?

Esto depende de algunos factores como he explicado en los puntos anteriores. Pero se resume así.

1- Si estas inscrito y activo en el IMSS no lo perderás mientras sigas trabajando con un empleador formal o mientras lo sigas pagando.

2- Si tienes enfermedades preexistentes pero cumples el punto a) del modo 4 (Inscripción a la continuación voluntaria al régimen obligatorio). puedes recuperar tu afiliación al IMSS de manera voluntaria.

3- Si consigues un trabajo formal, que te de prestación de IMSS seras automáticamente afiliado por las cuotas de tu patrón.

Por desgracia, si tienes enfermedades preexistentes y no caes en alguno de los tres casos anteriores, probablemente no podrás alistarte.

Más vale prevenIMSS

La moraleja de la historia es la misma que con cualquier seguro, vuélvete derecho habiente antes de que envejezcas y te enfermes. Incluso sin trabajo formal, te puedes inscribir si estas sano y pagar tus cuotas voluntariamente.

El CACAS aka (AMLO) dijo que con el INSABI todo va a ser gratis.

El INSABI y Seguro popular son instituciones separadas del IMSS pero las mencionaré brevemente.

Como habrás escuchado en las noticias, AMLO creo el INSABI (Instituto de Salud para el Bienestar).

El INSABI sustituye al Seguro popular, y algunas de las diferencias con el seguro popular son estas.

1- El seguro popular tenía cuotas anuales, basadas en tu estrato socioeconómico. el INSABI, no, es completamente gratuito.

2- El Seguro popular cubría los niveles 1 y 2 de salud, y algunas enfermedades de nivel 3 (especialidades). el INSABI no cubre nada de nivel 3. Esto significa el INSABI no cubrirá, por ejemplo, enfermedades (prenatales, neonatos, varios tipos de cancer, varias enfermedades respiratorias y de sangre entre otras), que sí cubría el Seguro Popular. Más información acerca de los( tres niveles de salud en México). Más información acerca de las (diferencias de cobertura de INSABI y Seguro popular.)

Página oficial INSABI

El INSABI es un instituto nuevo, no se mucho de como se vaya a comportar en el futuro, pero por ahora, a mí parecer, tiene un futuro incierto.

Vivo en otro país, que debo hacer con el IMSS?

Si planeas nunca jamás volver, puede que no te tengas que preocupar por lo que pase con tu IMSS, pues puede que nunca lo utilices. Pero si un día planeas regresar, entonces yo recomendaría que vieras si puedes habilitar tu estado de manera voluntaria y que pagaras las cuotas correspondientes. Los trámites de inscripción voluntaria son abiertos para cualquier Mexicano sin importar en qué parte del mundo estés.

Vale la pena el IMSS? todos dicen que es muy malo.

El IMSS, como toda institución en México, no es perfecta, y ha pasado por varias reformas para mejorar su servicio y estado financiero. A pesar de sus problemas, sigue siendo el único medio de saludo para muchos mexicanos (el IMSS atiende a 6 de cada 10 mexicanos), ya que sigue siendo más barato y más permisivo que las opciones privadas. Inscribirse al IMSS de manera voluntaria no solo te permitirá a ti gozar de sus servicios en un futuro, sino que también ayudará a que se pueda prestar mejor servicio a la gente que actualmente depende de él.

LINKS

http://www.diputados.gob.mx/servicios/datorele/cmprtvs/iniciativas/Inic/136/2.htm#:~:text=Toda%20persona%20tiene%20derecho%20a%20la%20protecci%C3%B3n%20de%20la%20salud.

https://serviciosdigitales.imss.gob.mx/portal-ciudadano-web-externo/home/validar

https://www.animalpolitico.com/2017/11/imss-seguro-voluntario-adultos/

http://www.imss.gob.mx/derechoH/enfermedad-seguros-familia

http://www.imss.gob.mx/tramites/imss02030c

http://www.imss.gob.mx/tramites/imss02007

https://www.bbva.mx/personas/servicios-digitales/pago-de-impuestos/sipare.html

https://www.paho.org/mex/index.php?option=com_content&view=article&id=218:respuesta-sector-salud&Itemid=387

https://www.lja.mx/2020/01/66-enfermedades-dejaran-de-ser-gratuitas-en-el-insabi

https://www.gob.mx/insabi

http://www.imss.gob.mx/prensa/archivo/201807/191#:~:text=El%20Director%20General%20del%20Instituto,aumento%20de%20estudiantes%20y%20familias

https://businessinsider.mx/cotizacion-imss-como-seguir-cotizando-imss-perdi-trabajo/



thanks and Rest in peace FLASh

In every story, there is a point in time that sets a path in your life. In mine was in my puberty, set by a middle school teacher and was very brief.

Since elementary school we would always have some computer class around, in my case they would teach us to use word and those things. and then we would play random games. So was in my first year in middle school, nothing too exiting. By my second year in middle school they changed the computing class teacher, I vaguely remember due to some scandal. The new teacher was probably around 28 or 30, and he did tried to show us more than just word. so we started second year with HTML. again nothing more exiting than <marquee> lololol </marquee> .

However by 3th semester he taught us to use macromedia flash MX. Simple things, make animations and setup buttons. I remember the intro class was he showing us the capabilities of flash, he showed us a 3D video of a singing monster that was in no way made in flash but that is what he said and I believe him. Other whole class was learning the 4 stages of buttons, (Up, Over, Down, Hit), that was a hard one . Good times.

The final project of the year was to make an animation and, I don’t remember exactly how, he mentioned we would get a copy of the software by the end of the year, that was, if we made a good work. So then I used to go to the computer lab at lunch time to work on my animation. which was just a pool table with marbles rolling. I know, very lame haha. Is not that I started with that. I wanted to do a story of something but turns out drawing was not my strong point.

So let be it. I finished my pool table animation, and I got a copy of the software. Don’t ask me about the legitimacy of it. I hope is enough to say that later when I had money I did got a legit one.

Back at home, I started playing with the software on my own, making more animations. I used to find the form transformation interpolation fascinating, and I realized you could put music into it so I tried to make music videos. Kind of karaoke ones that have the letters dancing and morphing and moving. they were very cool. However my computer was rather slow, so they would go out of sync very quickly. Oh well.

Then I entered High School, there there was also a computing class, and again first semester was office and boring stuff. However at that point I realized that many of the games that I played in middle school in the computer class were actually flash games. so I got fixated on trying to figure out how to make them. So I started learning AS2. I know so old. but hey, it was easy.

I would make small animations and have small pieces of code here and there to manage events. At the time you could put random code almost anywhere. It sounds horrifying to today’s me, but back then it was cool.

There I did learn to program, with bad coding practices. learned the basic elements, (if, else, for) and the main loop function. I made a pacman game with AI (rudimentary) ghost and everything with only those, no functions. It was a lot of duplicated code. but it worked….. and consumed the whole processing time of the core so you better have a dual core.

Then by the end of programing pacman I learned about functions and refactored some parts. performance didn’t improve but there was a slightly smaller piece of crappy code.

Then I entered colleague and of course decided to pursue a BS in computer science. We started learning java, and the first classes were kind of easy since they would teach us again, (if else for) and functions, all of whom I was already able to craft into poorly written blobs of code, so, no big deal there.

Also by that time I got my hands into Flash 8, which came with AS3. coming from AS2 it was whole different thing. No more duck typing… Or at least less duck typing.

In colleague I did improve my flash programming skills. and my programming in general. And I would use flash in a lot of projects for school. In Flash it was relatively easy to handle graphics and would always have this wow effect compared to projects running on console. I also made several games there. mostly ripofs of something else, made a galaxian, mine sweeper, pong, and attempted to do racing and RPG games. At that time I remember there were some very impressive 3D racing games in flash and some very beautiful art projects on the internet.

Also by the middle of my undergraduate studies I got a small job making flash games, It was awesome, I would make like 400 USD a moth but for me that was cool, didn’t last long tho. The owner of the company disappeared after two months.

By that time, Steve Jobs declare war against flash, saying HTML was the future. At the time I find it hard to believe since everything ran on flash.

After that I interviewed for an internship at MSFT, didn’t made it but a friend of mine did, so I felt a bit sad and started to look for a part time job for the summer. Interestingly I found it in the news paper( I know, old school ), there were looking for flash developer as freelancer.

With that company I made 3 flash projects. they where Interactive disks for kids that where shipped with books, like math and grammar kind of things. I really enjoyed making those things. They would pay me like 1600USD to 2200 USD per project and it would take me like 4 months to make each. For me that was very good money, at the time my father would give me a monthly allowance of 120 USD so you make the math. It was at that point when I finally was able to afford my license. so I got Flash CS5 for 700 USD and I was happy. After all those years I finally had a legit version of this thing and I was really grateful at that time.

By the end of colleague I did got an internship at MSFT which was ok, I got to know Redmond and Seattle which was very cool, however I did not get the FT offer. I guess that is why was it just ok and not great, anyway. Back in Mexico I finally graduated and started to interview for full time jobs. Also, this was 2012, and the war against flash was heating up. I think was in that year that the fate of flash was finally wrote down. even tho it would take several years for it to go away.

In the meantime I started making the FABLE tool. Which was a box2d level editor, this time it was made in Adobe air and flex. Which really means, more flash and AS3. I spent 1 year solely making that tool and then I got hired at Oracle in Mexico. While at oracle I kept working on this tool and even got to used to make some OS books for kids.

That FABLE tool was probably my biggest project in flash and the last one, containing 60k lines of AS3. Then in 2016 I got a hired as FTE at MSFT in Redmond and stop development of the tool. I always intended to take it back and improve and implement a lot of cool features I had in mind but time passed and came January first 2020. Flash is dead, and adobe air and flex on life support. my project is pretty much obsolete, and yet , is hard to say good bye.

For me was probably a 17 years ride, along flash, learning, dreaming, and enjoying programing. I will miss their out of the box approach, that had everything working from start and the fact that you could mix and match animation, code and images in such a seamless way. Its reduced set of graphic capabilities with its reduced set of coding capabilities made it a nice playground for teenage me, and its evolution thru AS3, OOP, Air and FLEX made it a great tutor as I grew up. I have the feeling of flash being and old friend that grew with me and now has to say good bye. And is a bit sad to see him leave.

for loop basics

A for loop allows to execute a piece of code several times.

Example 1.0

for(var i =0; i<10; i++)
{
    console.log("I am printing this message 10 times");
}

If the previous code where to run in chrome we could see the following output in the console.

Basic structure of for loop

for(    INITIALIZATION     ;     CONDITION     ;    INCREMENT    )
{
           CODE
}

We have 4 main parts that build the for

  • INITIALIZATION: Executed only one time at all.
  • CONDITION: Executed before the code is executed. (executed several times)
  • CODE: Executed only if CONDITION is meet (executed several times)
  • INCREMENT: Executed after the code is executed. (executed several times)

The following diagram shows how the flow of a for is performed.

so in our original example 1.0 we could spread the parts of the for as follows.

for(var i =0; i<10; i++)
{
    console.log("I am printing this message 10 times");
}

NOTE THAT

  • INITIALIZATION executes only once.
  • the CONDITION will be executed as long as it is meet.
  • Every time the CONDITION is meet, the CODE and the INCREMENT will execute once.

Pastel de tres leches, 3 Milk cake

For English version, just scroll down.

Hoy traigo la receta para hacer pastel de tres leches 🙂

La lista de ingredientes es la siguiente

2 tazas de harina

1 barra de mantequilla

1/2 tazas de azucar

7 huevos

1/2 taza de leche

1/4 taza de agua

4 cucharadas de royal

2 latas de leche evaporada

3 latas de leche condensada lechera

500 g de crema

Media taza de brandy

Instrucciones para preparación

Romper los huevos y poner la clara (cosa transparente del huevo) en un contenedor aparte.

Capear la clara, (batirla con la batidora hasta que se haga espuma).

Mezclar en un tazon grande, la yema (cosa amarilla del huevo), harina, azúcar. Royal, mantequilla (yo la derrito en el horno de microondas pero no es necesario), leche, agua.

Mezclar todo y agregar la clara batida.

Seguir mezclando.

Calentar el horno a 176 grados centigrados. Hornear el pastel por 35 minutos.

En la licuadora mezclar la Leche clavel (leche evaporada) , lechera (leche condensada endulzada), la crema y el brandy.

Sacar el pastel del horno después de 35 minutos, dejar enfriar ponerle la mezcla de leches, y decorar al gusto 🙂

English version

Ingredients

2 cups of flour

1 bar of butter (1/2) cup

1/2 cups of sugar

7 eggs

1/2 cups whole milk (or whatever milk you like, I guess anything will do)

1/4 cups of water

4 tb spoon of baking powder

500 grams of sour cream

2 cans of condensed milk

2 cans of evaporated sweetened milk

1/2 cups of brandy

Preparation

Separate the eggs white and yolk, and foam the egg white with the mixer.

The mix in a container the flour, butter, sugar, egg yolk and white, milk, water and baking power.

Bake at 350 F for 35 mins

then in the blender and in a separate container mix the condensed milk, evaporated milk, sour cream and brandy.

When the cake finish baking take it out of the oven, let it cool down and then proceed to pour the milk, cream and brandy mix into it, wait a couple of hours for the bread of the cake to suck the milk/brandy mix and presto.

Finally eat the whole cake in one weekend and regret it on Monday.

One plus 5 dual lte Sim dual ATT

So if you found yourself locked out due to att disabling 2g in their network (in the US) and now you find that your dual Sim phone can only have one Sim working at a time, you may be looking for a solution, or a phone that can enable both Sims simultaneously again. 
So you probably have found the one plus one and wonder if this will serve for the purpose of having dual lte Sim enabled at the same time. 

The short answer is yes :), one plus 5 works with dual att Sims,  go for it. 

The long answer may start with, why is my current phone not able to work with dual lte Sims, what is the point of dual Sims then, or why did the manufacturer of the phone, in my case one plus, build it without the capability of dual lte. The answer is actually, is not a mistake from  the phone manufacturer, but rather from the soc manufacturer, (normally qualcomm). 
So the piece of hardware that can not handle dual lte is the soc (system on chip) which in mobile phones is the mind and heart of the phone, commonly containing graphic card, processor, storage controller and wireless connectivity (Bluetooth, lte, wifi). 

With that in mind, one plus two have a snapdragon 810, this model of chipset does not support dual lte Sim, On the other side, one plus 5 have a snapdragon 835, which does support dual lte Sim. 

Why is so hard to found if will it work? In part because there is a lot of confusion, from phone manufacturers and even within chipset manufacturers. Qualcomm documentation shows that both snapdragon 810 and 835 are lte dual active chipsets, but that is not true. 

I can not stand for any other phone other than one plus 5 because that is the only one I have tried, but I presume that any dual Sim phone that have a snapdragon 835 inside should work with dual lte Sims (dual att Sims in the US for example). 

Building a page in FABLE

Here is a fast video of a page of my tale being created in FABLE, The video is speed up 64x. Also I show to you the texture result that comes from the publish of this exercise as well as a video containing the end result. Next post I will talk about how to make it work on ios.

Fast creation.

Textures generated

second images

Result

 

Download the latest version from the official site

http://www.estebon.mx/fable

http://www.freefable.com

Fire Ant Box2d Level Editor feature texture optimizations

As many of us know, when the time comes to reduce the size of our applications the first thing that comes to our minds is textures, textures usually takes the biggest part in games or rich interactive applications.

Taking this into account, FABLE have a series of heuristics aimed to reduce the size of the textures, by resizing them, rotating them and so.

For example, lets take a look at the next group of elements for a page of my book. This elements are with the size that the artist sent to m. As you may guess, In the final version the flowers should be smaller than the cat and the window should fit the window in the background. But this is what I got, very big and highly detailed images for my page, which is cool. This image is scaled, the original size is 7023 x 8122.

 

Untitled-1

 

The next image is a screenshot of the page finished in the program, at the end, this page should look like this.

 

Untitled

Now comes some of the nice feature of the program, as you  may remember from the last post, Automatic splitting tool, the program takes care of importing and splitting the images so that is painless for the user, so you got this result very fast. Then you are ready to test it in you ipad project so you would be likely to click on publish. this action generates the following couple of files.

Untitled3

There is the classes for ipad and the textures, as you may see, the texture atlas looks way different from the original thing. next we can see it more neat.

NonRetina_pagina2_0

We can see that the flowers have a size that makes sense and everything seems to keep an aspect ratio. This texture was generated by the program automatically. Also we can see more optimizations. for example the program can rotate the images to a position where they reduce the amount of white space. Let’s take the example of the window, in the original image, the window was rotated in a diagonal way that makes it waste a  lot of space, in this version the program gets aware of that and rotate it to stay vertical so that it saves more space. This rotating technique can save between 10 an 15% of space.  BTW the size of the texture for retina display is 1024×1024. It is 57 times smaller than the first image I showed to you.

Here is a video of the page in the program

 

And here an example of the page running on ios simulator.

 

Thanks.

 

Download the latest version from the official site

http://www.estebon.mx/fable

http://www.freefable.com

Fire Ant Box2d Level Editor Introduction

 

Hi there, here is a very beloved piece of software in which I have been working lately. So, what exactly is Fire Ant Box2d Level Editor, FABLE for short.

Well as the name says, FABLE is a Box2D Level Editor, It gives you a GUI in which to develop Box2D environments, It is useful for building small Sketch’s as is useful for building full levels. Some of the features on the box are, the capability not only to build the physics environment, but also the ability to map the textures to each body. the tool is also capable of generating optimized texture atlas.

The develop environment currently supports a lot of user experience features as is as the Copy Paste capability, the undo redo stack, load and save files and the capability of exporting a XML file with the definition of the world and also objective C code for use in IOS projects.

As for the development tools it contains specific tools to create joints, bodies and fixtures, it contains a tool to create irregular polygons for both bodies and fixtures, it can handle all of the features of Box2D like collision levels and masks, densities, frictions, damping frequencies (for some joints like distance joints), motors, torque, angles, limits, and so on and so for.

It also contains playback controls for test the current environment and also for change the original environment state.

Another great feature is that for textures it can handle Layers, so you can distribute objects among layers, this is specially useful for levels that have more than one interaction layer or simply to handle in a better way the elements on the screen.

Here is a small screenshot of the GUI with some explanations.

image

Yes I know, the buttons are horrible, I drew them by myself Smile with tongue out.

Here you can see a bit of the functionality in this video, narrated with my melodious voice Open-mouthed smile.

FABLE Demo One

 

Well, that is everything for now, I’ll be publishing new entries with more small tutorials and also more new features to the program cheers and here is the link to the program.

Box2dLevelEditor Download

Also visit the new official site

http://www.estebon.mx/fable

http://www.freefable.com

And here are the FABLE file and the images just in case you want to try it by yourself.’’

http://estebon.mx/fireant/FableDemoOneData.zip

 

http://estebon.mx/fireant/FableDemoOneFile.ble

Let me know if it was useful to you