They've gone full mask-off: 𝐝𝐨 𝐧𝐨𝐭 𝐞𝐯𝐞𝐫 trust @OpenAI or its products (ChatGPT etc). There is only one reason for appointing an @NSAGov Director to your board. This is a willful, calculated betrayal of the rights of every person on Earth. You have been warned.
What. The. Actual. Fuck.
Are you actually sitting there telling me that, in 2024, a significant open source project is using fucking Autotools instead of something like Cmake?
See, this is why I retired early from software engineering.
Because for every new job I took, the same conversation would occur in slow motion over the course of a year or three.
Foobar, Inc: Welcome aboard, Devon. We were really impressed by all the awesome super-smart stuff on your resume!
Devon: Thanks, let's have a look at this codebase.
{Sound of Devon throwing up a little in his mouth.}
Devon: Pieces of this code appear to have been thrown together by howler monkeys over the course of a seven-day cocaine binge.
Foobar, Inc: Oh, that would be Fred. Yeah, he's self-taught, and his code's a little unorthodox, but —
Devon: He has clearly never taken a single computer science class in his life, and his code is a crime against god, art, and nature.
Foobar, Inc: But he's just so fast. He got our whole version 1.0 written over just seven days!
Devon: I totally believe that, and it's the reason why we need to —
Foobar, Inc: Yeah, we wish more programmers were fast like him. Nowdays, everyone seems to take forever to do anything. Including Fred, for some reason. Weird.
Devon: Have you ever heard of something called "technical debt"?
When you write hasty code, you introduce bugs and accidental complexity. It's like borrowing time from future you. You have to pay it back, with interest.
Foobar, Inc: What an interesting concept. You are clearly very smart.
But we don't have time for you to be an abstract philosopher king, pontificating about theoretical concepts which obviously have no bearing on the real world.
We have new features to write. That seems to happen so slowly nowdays for some unknown reason.
Devon: It's because you are drowning in technical debt.
Foobar, Inc: What an interesting abstract philosophical concept that has no bearing on our reality. You are clearly a really smart guy.
But we can't test your theory, because the CEO expects 5,763 new features in next month's release, to fulfill promises he made to Important Partner Business, without consulting us at all.
Devon: This tech debt needs to be paid down sometime. You can't just put it off. If you do, the interest will inflict itself on the timetable for every new feature you write.
Has someone tried explaining the concept of tech debt to the CEO?
Foobar, Inc: We can't do that. He's a boomer. Also, he has the power of a god, and the emotional stability of a single mother with a crack habit and an Onlyfans account.
We find it easier to smile and present him with rosy scenarios, and then lay off a few scapegoats when we don't meet goals.
If only we could understand why everything takes so long these days. Software engineers must be lazy. Not like Fred. Let's put Fred in charge of the whole department. Maybe he can shake things up.
Devon: Hey, I spent a week re-architecting the BazTranslator component. It runs sixty-three times faster, and you can include new conversions by inheriting from this base class and overriding just these two virtual functions.
Foobar, Inc: How DARE you, sir? You were supposed to be writing new features! This is why progress is so slow. You spent a whole week without adding any new functionality! Don't you understand we are in crisis, here?
Devon: You are always in crisis. Have you tried reading this book of essays by Fredrick Brooks?
Foobar, Inc: Get that thing out of my face.
Why are you being so difficult? You should watch out. You're acquiring a reputation for being difficult to manage. You should tremble in fear now.
Devon: I could have a new job with one phone call. I am trying to help you, you silly people.
Foobar, Inc: Then stop being an abstract philosopher king and write features as fast as you can! Like Fred! Why can't you be more like Fred?
Devon: Fred made a whole set of structs containing raw untyped pointers so he could reinvent polymorphism in C, because he "doesn't like C++".
Foobar, Inc: Yes, isn't he clever? We love Fred!
Devon: And segfaults, apparently.
{Sound of major project hitting an iceberg, burning down, falling over, and then sinking into the swamp.}
Foobar, Inc: Another project failed. Clearly, it's your fault, wasting time with all your weird philosophy and refactoring code. We're going to lay you off.
Devon: I am actually relieved.
Appros of nothing, does your family carry a lot of credit card debit?
Foobar, Inc middle manager: Of course not! That stuff will kill you!
Why do you ask?
Devon: No reason.
{Sound of Devon retiring from a high-paying engineering career and writing a science fiction novel in his bedroom for nine months.}
Mañana Martes 16 abrimos directo a las 22:00 (hora española) para hablar de coding style con PHP-CS-FIXER, análisis estático con @phpstan y control de la estructura de nuestra arquitectura con #phpat! Nos vemos en #YouTube
https://t.co/QzMhNwERar
The "Ship of Theseus" article has been edited 1792 times since it was created in July of 2003. At present, 0% of the phrases in the original article (seen below) remain.
¡Sorteamos un MacBook Pro M1 y una suscripción de un año a Codely Pro por Black Friday!
Puedes participar y es totalmente GRATIS. Envío internacional incluido.
Tienes distintas opciones para participar en el sorteo.
Con cada una de ellas ganas puntos que aumentan las probabilidades de que te toque 😊
Apúntate en 👉 https://t.co/Zb4b9meVxK
Somos honestos: El tema de sortear es por dar a conocer la oferta de BlackFriday. Para gastarnos el dinero en anuncios de Twitter, preferimos que se lo lleve alguien.
Si crees que te pueden interesar cursos de buenas prácticas de programación, OFERTACA de 100€ de ahorro por Black Friday:
https://t.co/aGLLG6Xf25
Hilariously, Apple tried to claim with a straight face to the EU, that it offers not one, but three distinct web browsers all coincidentally named Safari.
Los ejemplos de código que se ven son utilizando la libraría de testing de arquitectura phpat de @carlosas_dev que es TOP.
En el curso de Análisis de código estático en PHP es una de las herramientas que utilizamos para asegurar la calidad de nuestro código.
→ https://t.co/xTTj3Vv0d3
Hay un tipo de testing del que siempre nos solemos olvidar pese a ser muy importante:
El Testing de Arquitectura
Es un tipo de test que nos ayuda a verificar nuestros requisitos de arquitectura.
¿Utilizas Arquitectura Hexagonal?
Podemos añadir unas reglas para verificar que se aplica correctamente:
¿Hemos decidido que nuestros casos de uso sólo van a tener un método público?
Podemos añadir un test para verificar que se cumpla:
Y así con cualquier requisito de arquitectura que hayamos definido. De esta forma nos aseguramos que siempre se cumplen estas restricciones.
Otras reglas útiles pueden ser:
→ El controller sólo tiene un punto de entrada.
→ Los objetos DTO sólo contienen valores escalares.
→ Un test sólo testea un caso de uso.
Añadiendo esta capa de testing y asegurándonos en nuestro sistema de integración continua que se ejecutan, vamos a lograr una calidad de código de 10.
a big deal: @elonmusk, Y. Bengio, S. Russell, @tegmark, V. Kraknova, P. Maes, @Grady_Booch, @AndrewYang, @tristanharris & over 1,000 others, including me, have called for a temporary pause on training systems exceeding GPT-4 https://t.co/PJ5YFu0xm9
WHAT A YEAR for tech.
Everything feels like one step from burning to the ground, but I'm more excited about the future than ever before.
The 10 most important tech events and breakthroughs of 2022:
People are hilarious.
The gang who told you Twitter is a private company that can ban whoever it wants are now raging about Twitter banning people they like.
AND
The gang who demanded free speech for everyone are now celebrating Twitter banning people they don't like.
🤣
apropos of nothing, if you want to post a link that twitter is censoring, you can use a zero-width space: ()
https://mastodon.social
https://ddosecrets.com
Yesterday, a frontend engineer told me that they think that modern frontend engineering is more complex than backend engineering these days.
I asked this person if they've done backend engineering recently. They have not: they just had ideas on what it was like, back in the day.
Google Maps changed its URL from "https://maps [dot] google [dot] com" to "https://google [dot] com/maps".
Looks like it's not a big deal, but when you grant the location permission in your browser you now grant it to the whole #google [dot] com domain. 🤨
#privacy#googlemaps
I recently came across data on who we spend our time with over the course of our lives.
The insights are simultaneously inspiring and depressing.
Here are 6 graphs everyone needs to see: