macasomedina.bsky.social
@macasomedina.bsky.social
Vainas de programación.
Auto-properties in C# are nice!

// Auto
public int Age { get; set; }

// OR

// Manual
private int age;
public int Age
{
get { return age; }
set { age = value; }
}

// Usage
var obj = new MyClass();
obj.Age = 50;
Console.WriteLine(obj.Age); // 50

#csharp #dotnet
November 22, 2025 at 4:40 PM
Sometimes you just need a quick little #Python app to get the job done.
November 13, 2025 at 2:40 AM
If an AI system is used to lay you off, and the same system is used by other companies, could you effectively be blacklisted? Asking for a friend... #AI
May 14, 2025 at 7:15 PM
Do not try to master coding, master leveraging AI to bring ideas to reality. AI is the ultimate level of abstraction. Try to understand everything avoiding unnecessary depth; systems thinking with AI. #AI
April 18, 2025 at 7:20 AM
#SQL transaction took a couple of hours to complete for a #PHP project, but it works. Atomicity. If it fails altogether, ROLLBACK.
March 15, 2025 at 1:34 PM
Until I learn how to incorporate automated tests to debug, this will have to do. Odd, but I find it kind of cool. 🙂

echo "";

echo "";

#PHP
March 1, 2025 at 1:03 PM
Would you allow an #AI agent access to your computer remotely to troubleshoot issues?

I you don't answer yes, you might have an issue with the way government is going to integrate AI into all departments in the next couple of years.

Not to mention the loss of thousands of technical support jobs.
February 16, 2025 at 5:59 PM
Interesante... La insignia de "Verified Hot Audience popcornmeter" vs "Certified Fresh Tomatometer". Inclusion democratica?
February 8, 2025 at 3:20 PM
Cómo explicar la palabra "vaina" en términos de programación? Con el keyword "var" de #Java.

var variableName; // type inference

==

vaina referenceToAnything;
February 1, 2025 at 1:57 PM
Con el tema de la Inteligencia Artificial desplazando trabajos? Cual seria el plan B "realista" de los desarrolladores de software? Creo que ser electricista sería una buena opción.
January 28, 2025 at 7:58 PM
Interesting. The Wayback Machine uses Ruffle to keep SWFs alive:

web.archive.org/web/20021127...
January 24, 2025 at 12:17 AM
Blast from the 00's past. K10K.
January 17, 2025 at 2:21 AM
Conversation points with ChatGPT:

1. How to create Spring Boot autowiring through a constructor injection manually in Java?

2. What about creating the same constructor injection functionality in Java without using Spring Boot? Is this a Java feature?

AI is the most polite pair programming buddy.
January 16, 2025 at 2:37 PM
Basic knowledge, but I always find interesting that value returned by Math.random() in #Java
and similar function on other languages is a double value between 0.0 and 1.0.

double randN = Math.random();
// randN = 0.5478295242823532

int number = (int)((randN * 10) + 1); // 6
// * 10 + 1 = [1 - 10]
January 15, 2025 at 2:51 AM
#Java String Pool is a collection of unique strings shared to optimize memory.

var a = "Hello";
var b = "Hello";
System.out.println(a == b); // true
System.out.println(a.equals(b); // true

a == b is true because both have the same reference in the pool. equals() only cares about the values.
January 10, 2025 at 1:07 PM
Sin ofender, pero desde que empeze a usar ChatGPT regularmente, no extraño para nada la actitud condescendiente, demasiado compleja o desdeñosa de algunos desarrolladores de Software cuando les haces una pregunta en una pagina como Stack Overflow. O de ver el "extra contenido" en videos de YouTube.
January 4, 2025 at 2:15 PM
Hello World Spring Boot. A tratar de nuevo. 🤞

$ mvn spring-boot:run
December 30, 2024 at 4:36 AM
Dos preguntas para hacerle a ChatGPT hoy:

1.- What skills do I need to be part of a DevOps culture?

2.- What would be a good roadmap to learn everything you listed above?
December 28, 2024 at 2:00 PM
Retro stuff.
December 28, 2024 at 5:39 AM
Se veía más fino en la foto... 900 paginas; 6 - 7 meses? Aunque se supone ya tome una gran porción del libro en clases.
December 17, 2024 at 2:45 AM
Even click on if you're human Captchas? Does not seem as a great idea, but we're getting to those crazy AI times.

techcrunch.com/2024/12/11/g...
Google unveils Project Mariner: AI agents to use the web for you | TechCrunch
Google unveiled its first-ever AI agent that can take actions on the web on Wednesday, a research prototype from the company's DeepMind division called
techcrunch.com
December 11, 2024 at 4:52 PM
Creo, en mi opinión, la noción de tocar lenguajes de programación nivel medio como C y C++ ayuda mucho al tratar de asimilar otros lenguajes de programación. No hay que tomar tantas notas y los libros de aprender en 24 horas son una opción más realista.
December 8, 2024 at 11:30 PM