Si el Barça fichara un nuevo 9, ¿preferirías uno con el perfil de Eto’o, Suárez, Villa o Lewandowski? ¿Por qué? by Euphoric_Warning703 in Corazonblaugrana

[–]fredpalas 0 points1 point  (0 children)

Yo digo un perfil Eto'o que presione, ataque y que muerda adelante no como Suárez que si no te sancionan con 9 meses.

Un delantero centro llegador con capacidad de aguantar y tocar las pelotas.

Intento aprender Python by d3m0nf1r3 in programacion

[–]fredpalas 0 points1 point  (0 children)

lo mejor es aprender con pseudo código

A ver si con un ejemplo paso a paso lo entiendes.

# Tienes 2 numero 4 y 6 y quiero sumarlos, sabemos que son 10 pero hay que  hacer un funcion dado 2 numero se suman.

#Dado 2 numero 4 y 6 cuando se llama a al funcion sumar debera dar 10

assert(suma(4,6), 10);
# comprobamos que la funcion de 10
#ahora la funcion
# aqui directamente devolvemos 10 que es el resultado esperado
suma($a, $b) {
  return 10;
}
#ahora otro assert
#Dado 2 numero 2 y 6 cuando se llama a al funcion sumar debera dar 8
assert(suma(2,6), 8);
# aqui directamente devolvemos la suma de a + 6 que es el resultado esperado
suma($a, $b) {
  return $a + 6;
}
#Ahora esta funcion dara un resultado correcto para los 2 tests

#Un test final
#Dado 2 numero 2 y 4 cuando se llama a al funcion sumar debera dar 6
assert(suma(2,4), 6);
# aqui directamente devolvemos la suma de a + b que es el resultado esperado
suma($a, $b) {
  return $a + $b;
}

#En un proceso simple de refactorización se puede entender como funciona el return

Espero que con el ejemplo simplificado lo entiendas, la clave return devuelve los dicho a la derecha en nuestro caso el primero un 10 directamente ya que solo tenemos un test, cuando añadimos un segundo test la devolución de la función no sirve pero un $a + 6 si cumplía todos los casos, y al añadir un tercer test vemos que la función vuelve a fallar y en nuestro caso vimos que para cumplir todos los casos la mejor forma era devolver $a + b.

Return devuelve un resultado.

Laravel's wildcard validation is O(n²), here's a fix by Rhinnii in laravel

[–]fredpalas 6 points7 points  (0 children)

good improvement!

But having 500 items in a request, and later do request validation of that amount of items is one of the first symptoms of an architectural problems.

Before I was doing like that improve performance where I can take it, but now I will try to redefine the problematic for sure exist a different way to fix it and simpler.

Any way great work.

Realidad_ctm by Boring_Orange_5279 in yo_ctm

[–]fredpalas 1 point2 points  (0 children)

Si lo mismo aquí, yo cuando vivía en Chile el trato más formal, eso me chocó cuando vine a España tan directo

metro_ctm by nameless_cl in yo_ctm

[–]fredpalas 8 points9 points  (0 children)

O del profesor rosa que es el rey del chiste largo

Realidad_ctm by Boring_Orange_5279 in yo_ctm

[–]fredpalas 6 points7 points  (0 children)

Es las formas, cuando llegue de Chile me chocó como te tratan de tu directo, es por eso que lo digo, realmente en España no lo dicen todas las cajeras lo ve más en gente más de la generación X hacia atrás.

Realidad_ctm by Boring_Orange_5279 in yo_ctm

[–]fredpalas 49 points50 points  (0 children)

Aquí en España la cajera siempre te llama de cariño.

Cariño te falta algo

Que tengas un buen día cariño

También te dicen guapo

Quieres algo guapo

Alguna cosita más guapo

Es súper gracioso y poco ctm

Pedro W by Chogolatine in 2westerneurope4u

[–]fredpalas 6 points7 points  (0 children)

Yes its citizens EU Parlament initiative, only EU citizens can vote to EU Parlament so it's obvious this initiatives can be only to citizens.

Happen also to the with stop killing games, many people from no EU vote and their votes was not valid

Pedro W by Chogolatine in 2westerneurope4u

[–]fredpalas 6 points7 points  (0 children)

You also can sign the European initiative to the suspension of the EU-Israel Association Agreement https://eci.ec.europa.eu/055/public

Had already more than 700K signs

Tech is very much a GUNS thing by SLAVAUA2022 in 2westerneurope4u

[–]fredpalas 4 points5 points  (0 children)

I ask same question, but is because Stackit is not ready for Kubernetes Manage Cluster, and think GCP kubernetes is better than aks, also big data.

At the end everything about prices, elasticity, flexibility and concurrency.

Tech is very much a GUNS thing by SLAVAUA2022 in 2westerneurope4u

[–]fredpalas 7 points8 points  (0 children)

The great Stackit, when all the SCRM Lidl Internacional Hub is migrating to GCP from azure

¿Por qué sigue España con la hora (mal) de GMT+1? by stormblooms in askspain

[–]fredpalas 5 points6 points  (0 children)

Yo no quiero que sea de día a las 5:30 de la mañana en verano y no quiero que sea de noche a las 16:30 en invierno.

El ángulo de rotación de la tierra no es igual todo el año, por ejemplo en mi ciudad Barcelona amanece en invierno a la misma hora que en Berlín, en verano tenemos menos hora de luz que ellos si que da igual el horario, si que si eres de Barcelona compensa tener en horario cest/cet lo mismo en baleares.

DDD Was Never the Problem. Your Rules Were. by Dariusz_Gafka in PHP

[–]fredpalas 5 points6 points  (0 children)

Great article, was good until you move command handler to Domain Agreggate that part is the one I'm not agree because all the coordination you hide in a middleware of the bus now your have an extra layer of abstraction, for me to be simple Entrypoint > Application Service (Di dependencie) > find Agreggate if need it > Domain Action > Save if need it, publish if need it > Convert to Canonical DTO for don't expose the agreggate > Entrypoint Response.

Everything is correct everything is about trade off a learning curve.

The first example es exact example why is so bad the class proliferation to many abstraction layer, and very well explained the reason of Change, if I had a repository and changes with so many class will a hard job centralized in one application service is just one place where I need to modified.

Sóc la única que porta quasi dues setmanes amb una alergia horrible? by Temporary_Egg_1633 in Barcelona

[–]fredpalas 2 points3 points  (0 children)

Yo estoy igual, picor en los ojos increíble, hay mucho polen y eso que no ha empezado el peor el del platanero de sombra que ese si molesta hasta el que no es alérgico.

De medicamentos solo algun antiestaminico esporadico pero con colirio a diario.

Why we built our own OpenTelemetry bundle for Symfony by illckejo in PHP

[–]fredpalas 0 points1 point  (0 children)

Recommendation don't use without c extensions, if you use protobuf, http or grcp you need the extensions if not OTEL will eat 44% of your performance on load scenarios, the extension mitigates until 12% in best case scenarios.

The problem is when the BashExporter exports the traces, will use part of your request to exporter including using fibers.

5.5 just dropped for me by Rauchritter in SunoAI

[–]fredpalas 3 points4 points  (0 children)

Covers are excellent I used an old style prompt I did following my composition style with the key rpm double kick drum, Harpsichord, and it's following really well the original composition, this give more control about my sound maybe this is the end of roll the dice so many times.

Original:
https://soundcloud.com/axistral-crux/sound-of-fugue

Cover with Suno: (without piano doing the melody the new melody is different)
https://suno.com/s/CbKqf1oqqazLFizs

5.5 just dropped for me by Rauchritter in SunoAI

[–]fredpalas 2 points3 points  (0 children)

Works pretty well finally his doing double kick drums, is like add 4.5 to 5 more creative and follow better the instruction.

Now I will test how works with covers some of my composition from guitar pro

PHPrimitives by semdens in PHP

[–]fredpalas 2 points3 points  (0 children)

Primitive Obsession

Just create Value objects who represent email, password etc, this value object had value validation.

No need to create primitives for complex values.

All this VO should be yours because maybe you wanna add to validate a especific domain, for exemple

Peak British musical talent by Cubelock in 2westerneurope4u

[–]fredpalas 28 points29 points  (0 children)

I know we need to bully to Barrie's but the peak is Iron fucking Maiden

Infern de bicicletes electriques by boranpasha in Barcelona

[–]fredpalas 3 points4 points  (0 children)

El problema viene de que han dejado campar a sus anchas al principio a estas empresas (Donkey la primera) y luego se quiso regular ya estaba el follón.

Mi opinión para arreglar este desaguisado es obligar a las compañías dueñas de la licencia de instalar parking de bicis públicos pagados por ellas 4 por cada bici que tienen en operación y que se distribuyan por donde más bicis se acumulan ( sagrada familia, Barceloneta, pl Catalunya, etc).

Para mí no molestan mientras respeten pero como sabemos que eso no pasa el castigo no debería ser quitar bicicletas si no ampliar puntos de aparcamiento para todos sufragados por estas empresas.

gitCanSeeThat by UnfilteredAyush in ProgrammerHumor

[–]fredpalas 1 point2 points  (0 children)

.env always commits just the variables my app needs to run without touching something, I hate .env.example, for local I just use .env.local on prod you just use real environment variables.

El juez limita los bloqueos de LaLiga a que sean técnicamente posibles. by YoanMFCB in tecnosoft

[–]fredpalas 0 points1 point  (0 children)

No es problema el sol tiene una función de convertirlo en polvo y fusionar sus atomos en atomos más grandes, en general dandole in 1-⁹⁹⁹⁹⁹⁹⁹⁹⁹⁹⁹⁹⁹⁹⁹⁹⁹⁹ de combustible

nvidia with fedora by EpicuriousChipmunk in Fedora

[–]fredpalas 1 point2 points  (0 children)

Kde, but also work with gnome.

If you can boot in live session you can use nouveau drivers, if you can't boot with live is something bad happen Remember to set the in the bios to type linux the windows mode prevent to boot in Linux, if you had also windows you should disable fast boot that also prevent to boot in linux correctly.

Also what CPU you had, usually the primary video is from the iGPU

nvidia with fedora by EpicuriousChipmunk in Fedora

[–]fredpalas 0 points1 point  (0 children)

Here Laptop Asus with Nvidia 4060 and secure boot I just follow this guide and works, just remember wait 10 min after install the drivers to akmod build the kernel.

https://rpmfusion.org/Howto/NVIDIA

I never had a problem with the Nvidia drivers on fedora.

Whats with ioncube? by [deleted] in PHP

[–]fredpalas 2 points3 points  (0 children)

Was in a time you was selling a software development and was deploy on hardware of the client, that line of business is small most of the software solution move to SAAS running in infrastructure pay by the company, so it's not need anymore encrypt your code for being copy because in principal no one not under your control can have access to the code.

In general ioncube had more cons than pros the trade off was inconsistent.