Principal Engineer at @weareMagmaLabs, father, husband, Malinois trainer apprentice, and of course Rubyist! Need help with your Ruby Project? Contact me

Colima, Col. Mexico
Joined May 2008
I recommend everyone upgrade Ruby immediately. This is a DoS and RCE vector if you accept user input into Regexp.new() ruby-lang.org/en/news/2026/1…
19
117
39
508
129,465
Edwin Cruz retweeted
En vías de democratizar la información , acabo de hacer público con varios medios nacionales mi última denuncia del desfalco de Pemex para que todos los mexicanos puedan ver cómo Andrés Manuel se robó 12 mil millones de dólares en deuda oculta en una empresa de Luxemburgo. Esto además de internet, será impreso en todas estas localidades de México y compartido a millones de mexicanos de forma impresa. Agradezco a Grupo Sol Editorial su valentía, fuerza y coraje por democratizar y verificar lo que todo mexicano tiene derecho a saber: la verdad. *Sol Aguascalientes:* aguascalientes.solperiodicos… *Sol Baja California:* bajacalifornia.solperiodicos… *Sol Baja California Sur:* bajacaliforniasur.solperiodi… *Sol Belize:* belize.solperiodicos.com.mx/… *Sol Chihuahua:* chihuahua.solperiodicos.com.… *La Opinión de Chiapas:* chiapas.solperiodicos.com.mx… *La Opinión de Coahuila:* coahuila.solperiodicos.com.m… *Sol Ciudad de México:* cdmx.solperiodicos.com.mx/el… *Sol Colima:* colima.solperiodicos.com.mx/… *La Opinión de Durango:* durango.solperiodicos.com.mx… *Sol EDOMEX:* edomex.solperiodicos.com.mx/… *Sol Guanajuato:* guanajuato.solperiodicos.com… *Informador Guerrero:* guerrero.solperiodicos.com.m… *Informador Hidalgo:* hidalgo.solperiodicos.com.mx… *La Opinión de Jalisco* jalisco.solperiodicos.com.mx… *La Opinión de Monterrey* monterrey.solperiodicos.com.… *Sol Michoacán* michoacan.solperiodicos.com.… *Sol Morelos* morelos.solperiodicos.com.mx… *Sol Nayarit* nayarit.solperiodicos.com.mx… *Sol Nuevo León* nuevoleon.solperiodicos.com.… *Sol Oaxaca* oaxaca.solperiodicos.com.mx/… *Sol Puebla* puebla.solperiodicos.com.mx/… *Sol Querétaro* queretaro.solperiodicos.com.… *Sol Quintana Roo* solquintanaroo.mx/el-gran-de… *Sol San Luis Potosí* sanluispotosi.solperiodicos.… *Sol Sinaloa* sinaloa.solperiodicos.com.mx… *Sol Sonora* sonora.solperiodicos.com.mx/… *Sol Tamaulipas* tamaulipas.solperiodicos.com… *Sol Tabasco* tabasco.solperiodicos.com.mx… *Informador Tlaxcala* tlaxcala.solperiodicos.com.m… *Sol Veracruz* veracruz.solperiodicos.com.m… *La Opinión de Zacatecas* zacatecas.solperiodicos.com.… *Sol Yucatán* solyucatan.mx/el-rescate-de-… *Sol Campeche* campeche.solperiodicos.com.m… *La Opinión de México* laopiniondemexico.mx/el-gran…
161
3,060
26
6,557
79,032
𝘞𝘩𝘢𝘵 𝘪𝘴 𝘪𝘵 𝘢𝘣𝘰𝘶𝘵 𝘵𝘩𝘪𝘴 𝘮𝘢𝘯 𝘵𝘩𝘢𝘵 𝘱𝘦𝘰𝘱𝘭𝘦 𝘭𝘰𝘷𝘦 Jeremy Clarkson has never pretended to be anything other than exactly what he is Brutally honest. No oil painting. A pot belly, a lifelong smoker, a drinker. Not exactly the modern alpha male or is he? And somehow that is the whole point I have watched him for most of my life First as a motoring journalist who could make you want a car you would never own and never need Then as something bigger The loudest, funniest, most unfiltered mouthpiece the ordinary person ever had A man who said the thing everyone was thinking while the rest of television tiptoed around it From Top Gear he built something that should not have worked Three middle aged men, The Stig, a track and a chemistry you cannot manufacture James May the patient one Richard Hammond the brave one And Clarkson the force of nature dragging both of them into chaos and somehow back out again When it all fell apart at the BBC he could have disappeared The fracas was not his finest hour and he never pretended it was He owned it, apologized and carried on No reinvention, no groveling tour, no carefully managed comeback He just kept being himself and let the work speak The move to Amazon and The Grand Tour proved something I think a lot of people missed The format was never the magic The men were You can take three friends out of a studio and drop them anywhere on earth and the loyalty between them travels with them But it is Clarkson's Farm where the whole picture finally comes into focus Here is a man with nothing left to prove walking into a field he barely understands and refusing to fake competence he does not have He has run that farm at break even and then at an outright loss in full public view No editing it into a success story No pretending the numbers work when they do not His farm manager hands him one brutal truth after another and he sits there and takes it A whole season swallowed by drought even after he leaned into robotics and the most advanced farming money could buy Technology was supposed to be the answer and the weather did not care He showed that too Most people would have cut it And through all of it he has done something quietly remarkable He has dragged the plight of the British farmer into the light The paperwork, the council, the margins that vanish, the weather that ruins a year of work in a week People who had never thought about where their food comes from suddenly cared because he made them care And then there is the part nobody warned me about Men who raise animals for meat and still love them Who name them, worry about them, sit with them Who treat them with respect and dignity right up to the moment they cannot keep them And feel the full weight of sending them off He does not hide that He lets the camera sit in the discomfort of it The grief of a man who knows the deal he made and still finds it hard That is not weakness That is honesty most people are far too afraid to show We live in an age that rewards the polished, the curated, the carefully built personal brand And here is a scruffy, swearing, chain smoking farmer who has done the opposite of all of it and won He stayed exactly who he was while the world begged him to become a product That is the whole secret There is no act There never was And that is exactly why we keep watching Praying for a full recovery mate, looking forward to another season of Clarkson's Farms!
1,140
4,243
336
27,647
1,310,577
PARA REFLEXIONAR. ¿Sabías que durante el sexenio de Peña Nieto fueron encarcelados ocho exgobernadores? La mayoría de ellos del PRI: 1. Roberto Borge (PRI) - Quintana Roo. 2. Javier Duarte (PRI) - Veracruz. 3. Tomás Yarrington (PRI) - Tamaulipas. 4. Guillermo Padrés (PAN) - Sonora. 5. Luis Armando Reynoso Femat (PAN) - Aguascalientes. 6. Jesús Reyna García (PRI) - Michoacán. 7. Andrés Granier Melo (PRI) - Tabasco. 8. Flavino Ríos (PRI) - Veracruz. En ese sexenio también se detuvo al "Chapo" Guzmán, a los Beltrán Leyva ("Los Mochomos"), a Dámaso López "El Licenciado", a Vicente Carrillo "El Viceroy", a Nazario Moreno "El Chayo" y a "La Tuta"; además, casi se desarticuló a Los Zetas y a Los Caballeros Templarios. De los 122 objetivos prioritarios establecidos al inicio de su mandato, se logró aprehender a 110, según su último informe. Es decir, un presidente de la República que supuestamente ha sido uno de los más corruptos, encarceló a seis gobernadores de su propio partido, destituyó a un titular de CONAGUA por utilizar un helicóptero como taxi personal y a un titular de PROFECO luego de que su hija amenazara con clausurar un restaurante. ¿Lo recuerdas? ¿Cómo le explicamos a la gente que los últimos presidentes, que presumen ser honestos y tener autoridad moral, en lugar de encarcelar se han aliado con el narcotráfico, crearon "la barredora", dejaron en libertad al hijo del "Chapo" y a la hija del "Mayo", protegen el huachicol fiscal, defienden a narcogobernadores y utilizan las embajadas y el Palacio Nacional como casa de huéspedes para sus familiares? ¿Qué les decimos cuando después de tantos escándalos en lugar de cesarlos o encarcelarlos los protegen y los defienden? Los que decían "no ser iguales" mantienen en libertad y en altos puestos a personajes como Adán Augusto López, Andy López Beltrán, Rutilio Escandón y Rubén Rocha Moya, entre otros. Al parecer, se les cayó la narrativa. Por ahora, los hechos contradicen el discurso de que México estaba peor con los "prianistas". ¿O dígame pues cómo le hacemos para justificar lo que estamos viendo y viviendo en la actualidad? *#NiUnVotoAMORENA*
442
2,481
161
6,599
187,474
Seré breve: Necesitamos un presidente que defienda a TUS hijos, no a los hijos de AMLO. Fin.
783
11,949
228
33,009
408,075
"Ya cuando se descarrile será otro pedo” Y se descarriló… Así decía Pedro Salazar Beltran (primo de Andy, José Ramón y Gonzalo, hijos de AMLO) a Amilcar Olan sobre la venta de balastro de mala calidad Hoy 13 personas murieron por descarrilamiento del Tren Interoceánico
503
8,604
211
22,715
864,573
High school student uses AI to discover 1M+ objects humans missed in astronomical data. Head of NASA openly recruiting him through Twitter with a fighter jet ride included. All my worlds colliding. I love everything about this.
Replying to @MAstronomers
Matteo please apply to work at NASA and I will personally throw in a fighter jet ride as a signing bonus
69
954
36
13,832
1,085,069
🇸🇻 OPINION: EL SALVADOR GAVE EVERY STUDENT A TEACHER THAT NEVER SLEEPS Last week in a coastal classroom, a student reportedly asked how Bitcoin actually works. Grok didn’t just explain it. it guided the student through a simulated transaction, step by step, before the bell rang. In the mountains, another kid wanted to design earthquake proof homes. Grok pulled fifty years of seismic data, showed how buildings sway under stress, and helped build a 3D model that could survive the quakes that once flattened their town. In a crowded city school with one textbook for forty students, a teacher asked Grok to rewrite a history lesson for different reading levels. Forty-five seconds later, seven custom versions arrived, each with questions that adapt to how fast each student learns. Since Grok rolled out nationwide, the results are already stunning. Grade 5 math scores have jumped 21% in just eight weeks. Reading proficiency has climbed from 34% to 59%. Nearly half of students now stay after school voluntarily, just to keep learning with their pocket tutor. Every child in El Salvador now has a personal, tireless, infinitely patient teacher, free, 24/7, and in their native language thanks to @nayibbukele. While the rest of the world still debates “AI in education” in endless policy meetings, El Salvador quietly turned its schools into the smartest classrooms on Earth. No limits, just learning that never sleeps. Sources: Forbes, Coindesk, BBC @XFreeze
Grok will be used nationwide by El Salvador for personalized education!
311
2,065
191
11,074
485,466
¿Por qué toda la fuerza del estado contra los estudiantes y no contra los narcos? son narco-estado @diazpol @jenarovillamil
2,040
7,179
3,329
15,403
🚀 Keep your Rails app dependencies up-to-date with a simple command: 💎 bundle outdated ✔️ Lists outdated gems without making changes ✔️ Lets you focus on safe, selective updates ✔️ Reduces risk of breaking changes Stay ahead of tech debt! #RubyOnRails #RailsTips
1
6
46
1,894
Como episodio #036, te dejo con Edwin Cruz, uno de los developers más Ingeniero de la zona hidrocálida. Que disfrutes su genuina historia 🎙️ @softr8 youtube.com/watch?v=NgmgYNet…
1
1
6
1,050
Edwin Cruz retweeted
Announcing The Rails 8 Way available today along with the latest version of Ruby on Rails just announced by @dhh at #railsworld2024 leanpub.com/therails8way #nopaas #nobuild #rubyonrails #railsworld
10
35
3
228
10,786
Edwin Cruz retweeted
I ended my time at @Meta as a director. But I started as an engineer on FB Chat. Everything about it was broken — we had to rewrite it. And while the effort to fix it is one the projects that led to @reactjs, the most important fix was far simpler... Here’s the full story: — I worked on Facebook Chat for several years, both on the front end and the infrastructure. Before the major effort to redo the UI, FB Chat was super broken and we had no idea why. We got tons of bug reports about Chat being broken every day, but we noticed an odd pattern in the data: the volume of reports didn’t match the volume of usage. It was time-shifted from the peaks we’d see in the US. We didn’t know what was wrong, but we knew the code was a mess. We set about rewriting both the front-end and the back-end in an effort to fix it. The front-end rewrite pulled in a whole team of amazing engineers and became one of the big threads that led to @reactjs In the public eye, we portrayed this project as the one that ultimately fixed Chat. And the way I’ve usually told it, fixing Facebook Chat and the birth of React are the same story. But no framework was going to fix the worst problem with Chat. — During the time we were working on the Chat rewrite, we were also replacing the original Erlang backend with one written in C++. This was probably a good move, but the problem wasn’t with Erlang either. Our initial spec for the new backend didn’t say much about observability, but it was an important feature, and the rewrite forced us to rebuild it. Little did we know this would lead us to the root cause of our problems… When we finally gained insight into our deliverability data, we were able to cut it by region. We noticed Chat was really popular in India. This was before WhatsApp, at a time when SMS wasn’t reliable. Eventually we pinpointed a region in India where one specific DNS provider was giving out the wrong IP addresses for our Chat servers. So when people went to use Chat, they would sometimes get a notification that they had a message, and then it would disappear. Or they’d send a message and it would get lost. All because they were connecting to the wrong IP address. That was it! None of the sexy new tech we were working on was going to solve that problem. Ever. — Instead, the solution was to build observability that allowed us to track end-to-end message delivery. In the end, we could start with a broad cut of our data by country or web browser, and then zoom all the way in to look at what happened to a specific message for a specific user. Once we pinpointed that the problem was with a DNS server, the matter was resolved with a quick phone call. I don’t know what they did, but I imagine it was something like turning it off and turning it on again. We sometimes talk about observability as if it’s enough to buy a product like Datadog and just look at the pretty graphs. Sure, that’s a start. But true observability is a feature that needs to be built— painstakingly, iteratively, by-definition starting with a shot in the dark. — These days, it has become fashionable to poo-poo the idea of being data-driven. People point out that measurement can distort the phenomenon that is being observed. They want to make processes “data-informed.” But this seems like silly backlash against the only rigorous standard in all of software engineering: That we hold ourselves to an objective standard. We measure how long things take, how many errors we encounter, how often a process successfully runs to completion. So here’s what this experience taught me about observability: When an issue happens in production, time-box the investigation. Sure, take a few hours to try and figure it out by looking in the logs and inspecting the code. But if you’re coming to the end of the day and you still don’t have a fix, then push a PR that adds logging. The first one may be just a guess, but it will begin a process that leads to the truth. And that is what we should all ultimately be striving for. — For more engineering tips and stories, follow me @dmwlff
87
576
173
4,046
613,876
Edwin Cruz retweeted
I’m gonna give 10 random people that repost this and follow me $25,000 for fun (the $250,000 my X video made) I’ll pick the winners in 72 hours
368,935
2,485,773
220,010
1,832,929
286,744,425
#Ruby is not dead ❤️ and it powered the ticketing and seat management system for Golden Globes this year 🚀 I had a pleasure to architect and deliver the code at @iRonin_IT
4
37
5
263
20,820
Gastos hormiga: no son importantes. No construyes riqueza enfocándote en cuidar esto. Lo siento, alguien te lo tiene que decir. Me explico: el ancho de banda mental que tú y yo tenemos para poner atención a los asuntos del mundo es bastante limitado. Usar parte de esto cuidando los gastos hormigas simplemente nos hace sentir que estamos haciendo bien las cosas, que estamos siendo buenos con nuestras finanzas y demás, nos da un cierto grado de tranquilidad emocional porque estamos controlando algo que luce como importante. Mira, hacer cálculos sencillos de la gran cantidad de dinero que ahorras al año si dejas de pagar Netflix, Spotify y demás es el enfoque incorrecto. Te voy a decir cuál es mi pleito contra los gastos hormiga: lo que generan en ti es una mentalidad hormiga. No creas riqueza preocupado por cuestiones pequeñas, te lo juro que no, aunque los expertos financieros de bolsillo te quieren vender esto como la gran solución. Tu mente no puede dominar ser genial en cositas pequeñas y en asuntos de alto impacto al mismo tiempo, tienes que elegir ser experto en una de estas opciones. De nuevo, aunque cuidar los gastos hormiga suena bien, lo que más generan en ti es una mentalidad hormiga donde desarrollas el hábito de estar alerta a las cosas pequeñas en lugar de ser capaz de detectar grandes oportunidades y meterte a ellas con TADI. Va con amor, para iniciar una semana donde empujes las cosas que sí importan.
4
11
3
90
7,092
Here is how you can use good_job and skip adding Redis as a dependency: blog.corsego.com/background-… #RailsWorld
7
16
3
172
9,024