mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

592
comptes actifs

#doctrine

0 message0 participant0 message aujourd’hui

A few days ago we have released #Doctrine ORM 3.4 - first version that works with native lazy objects on PHP 8.4

In this post on our blog I explain how I think this is going to be a game changer, doctrine-project.org/2025/06/2

How to migrate to version 3 - and what is still missing and you should wait for when on 2.x

And a peak at 4.0

Doctrine · ORM 3.4.0 released with Native Lazy Objects and Property hooks supportPar Benjamin Eberlei

“Tel Aviv miscalculates: Why Israel’s shock strategy failed against Iran”

By Ali Salehian in the Cradle on Telegram

@palestine
@israel

“Israel’s bid to export its #assassination #doctrine from #Lebanon to Iran has backfired. Tehran’s rapid retaliation and deep strategic reserves have exposed the limits of Israeli power – and may drag #Washington to the brink of a regional confrontation it can neither afford nor fully control”

t.me/thecradlemedia/37485

TelegramThe CradleTel Aviv miscalculates: Why Israel’s shock strategy failed against Iran Israel’s bid to export its assassination doctrine from Lebanon to Iran has backfired. Tehran’s rapid retaliation and deep strategic reserves have exposed the limits of Israeli power – and may drag Washington to the brink of a regional confrontation it can neither afford nor fully control. By Ali Salehian
#Press#Israel#Iran

How do you usually deal with memory leaks in PHP (Symfony)? I juggle in an isolated process with a massive number of data sets that I load in batches via Doctrine, process, and then detach via the entity manager using `clear`, including a call to `gc_collect_cycles`, after unsetting the result array. There aren't any variables that have a reference anymore. The units of work from the entity manager are also empty. But the memory usage keeps going up.

UPDATE: found the leak in a third party API client 😄

#php#Doctrine#symfony

L’œuvre d’Unamuno comprend des essais, des romans, des contes, des pièces de théâtre et de la poésie. Son ouvrage philosophique majeur est Le sentiment tragique de la vie, publié en 1912, dans lequel il expose sa conception de l'être humain, posant les fondations du futur existentialisme, ici d'inspiration chrétienne.

DVPI - Miguel de Unamuno (1864-1936)
sites.google.com/view/mardiphi
#Philosophie #Philosophes #Biographie #Doctrine #Unamuno

A friend points out that the success of the #Ukrainian #drone #attack on #Russian #airfields has to have the US and other large #defense #industries rather jittery. All those big high-tech megabucks systems ... something something ten-rupee jezail.

My suspicion is that the age of drone supremacy will be short-lived: as long as they rely on human #pilots on the ground, their #signals can be jammed, traced, or hacked. Best-case scenario, the drones become flying bricks. Middle-case, the ground control facilities become #artillery targets. Worst-case, the drones are turned against their erstwhile controllers.

Those systems already exist in embryonic form—note that #Ukraine had to rely on old-fashioned #infiltration to get close enough for the strikes to work. You can bet every major #military power on the planet is already putting a lot of money into R&D for much more sophisticated approaches. Of course the alternative is autonomous drones, taking off with a set of mission parameters and the same decision-making authority as pilots in crewed #aircraft. That, uh, presents its own set of problems.

With all this said, drones are going to be a big *part* of everyone's arsenal going forward, and yeah, it's going to disrupt current #doctrine considerably. Assuming Ukraine survives the war, which I'm increasingly confident it will, veterans will be in great demand as consultants—at least in smart countries. I wonder if the US will be one of those.

Symfony/Doctrine people: How do I tell doctrine to use different primary/foreign key name other than 'id'?

After doing symfony console make:entity I'm getting the following error when validating.

The referenced column name 'id' has to be a primary key column on the target entity class

Is there a way I can generate some #doctrine Entities from database or sql dump of the structure? The command `doctrine:mapping:import` was deprecated in #symfony 3. I am open for any script, package, phpstorm plugin or other tool. It does not need to be perfect and reliable. I will have to check anyway. But at least I could kickstart. #phpc #php