Mexico is one of those magical places where you can get 8 hamburgers for $16 USD…

Thanks to our shitty economy where society have to lower it’s prices in order to have a sell. I know it could be familiar to have a 2  or 3 dollar burger in 1st world countries, but honestly, I’ve got 4 tortas (like a hamburger), and 4 hotdogs for just $160 MXN (less than  8 USD), and all my family have a meal!.

Don’t get me wrong, they were perfect, they were delicious… and the price is what we are used to. I would likely pay more for them if (again) our shitty economy were a bit better.

But $16 for one fucking hamburger!???? FUCK!!! what a waste of money!

998 total views, no views today

Java vs. Python: Which One Is Best for You? | @DevOpsSummit #APM #Java #Python | news.sys-con.com

So, basically, both are fine but it depends on what you need (as with most tools).

In my opinion a less verbose language is better, also, python have tons of packages installable via pip, is C++ extensible (for those scenarios where speed matters) and is present in most platforms.

Also, although there is an Open Source Java implementation, not all the “core” libraries are, I mean, you can’t just replace Oracle’s Java with the Open Source and expect everything will run just fine, probably will, but slower.

 

Language affiliations are sometimes spread more loosely and broadly across different codebases, frameworks, and platforms

Source: Java vs. Python: Which One Is Best for You? | @DevOpsSummit #APM #Java #Python | news.sys-con.com

2,007 total views, 3 views today

Acabo de ver un video de un curso online donde hablan sobre GO y la concurrencia…

Uno de los argumentos de la expositora es que como GO hace automáticamente esto tu ya no te debes preocupar, que Go se encargará de aprovechar al maximo los núcleos en tu CPU y que asi evitas que (usando otra cosa aparte de Go), como programas en un lenguaje que no hace esto automático entonces gastarás mas y mas en hardware.

En primera, si es solo un desarrollador que la hace de arquitecto y programador, que toma las desiciones sobre el lenguaje de programación, base de datos y metodos de programación, que por sus tanates decidió no usar concurrencia y no te interesa, entonces bien merecido lo tienes, paga mas por no involucrarte en tu proyecto.

Si te involucras en tu proyecto te darás cuenta que usando concurrencia probablemente puedas mejorar el rendimiento de tu aplicación/servicio al utilizar mas núcleos y urgirás al desarrollador a que lo haga asi.

Si eres solo el coordinador/lider de proyecto entonces tienes deberías tener conocimientos suficientes para exigir a los desarrolladores que lo hagan de esa forma si lo amerita, recordemos que no por tener 20 nucleos debemos ocupar los 20 nucleos ni todas las tareas requieren de mas de 1 nucleo.

Ahora, si bien Go puede ayudar esto, no deberiamos ser tan egoistas y pensar que solo nuestro servicio va a estar ahi, no debemos depender en que el lenguaje de programación lo va a hacer todo.

Lanzar un proceso nuevo (multiproceso) es muy facil, sobre todo en Unix, algo que incluso en BASH script es facil de hacer, la comunicación entre procesos es algo mas complicado pero lanzar nuevos procesos es fácil. Puede ser “caro” si corre con todo el Stack de memoria por duplicado, ahi es donde se puede optimizar.

981 total views, no views today

So, bash in Windows 10

What can I say?, Microsoft finally accepted that they needed it to be “serious” about servers. I personally hope I won’t ever have to deal with using a server running Windows, not even if it runs bash, although if it is done fine the common “usage” for the user will be fine. I think the problems will come with the underlying platform, I mean Windows by itself, the kernel, the system calls, and the way it handle processes etc..

The surprise… Canonical, the fucking SOLD to Microsoft. My conspiranoic side already had these ideas that Ubuntu and its “convergence” stuff were nothing but the playground to what now is Microsoft Windows 10 Continuum, the scopes, and everything else might be that thing too.

Canonical working with Microsoft is nothing new, they have been working with Microsoft for years to make Ubuntu run as smooth as possible in the Azure framework. But I really think that Canonical is giving itself a shoot in the foot by making Bash to work nice in Windows.

I don’t expect it to run as good as it already does in Linux, bash is good but bash is a shell with a subset of commands (and other programs) but is not Linux.

1,074 total views, no views today

Unable to login to your wordpress site?

I had this issue today, I was unable to login to my wordpress site. I first thought that “in some way” the password was changed (like that time that I ask “lastpass” to generate new passwords) but still with the new password I was unable to log in.

I made the change in database directly, then used wp_set_password (‘password’, $ID) in wp-themes/theme/functions.php with no luck :-(.

The problem was pretty… baffling, there was a plugin conflict that prevent me to log in to the admin area. 

I think login to the admin area should be one of those things that you should be able to do no matter if there is a plugin error, and those errors which should not be able to ‘crash’ the site in any way.

So, if you have  similar issue, not being able to login to the wp-admin area even if the password is correct try this:

  • Login to the server in a way you can handle files (FTP, Webdisk, SSH)
  • Go to your wordpress installation, more precisely to the wp-content folder.
  • Move/rename the plugins folder, let’s say plugins.bkp
  • Login to your wordpress wp-admin area.
  • If you were able to login, then go to the plugins area, you’ll see a bunch of notifications about every plugin that was active now is deactivated because the lack of the files.
  • Now move/rename the plugins.bkp folder back to ‘plugins’.
  • Reload the plugins page
  • Iterate over every plugin, one by one, until you discover the one that is in conflict.
    1. You’ll know that something is wrong with the plugin activation, in my case there was an “Are you sure?” question page, and after hitting “YES” the plugin was not activated, I had to repeat the steps 3-7 and avoid that last plugin (one before the one that raised the “Are you sure?” question.
    2. read more

  • Site Footer

    Skip to toolbar