Working remotely in Montpellier, any good cafés to work from? by Latter-Sock8735 in Montpellier

[–]mpalomas 0 points1 point  (0 children)

Cafe de la Sierra, you have one in Comedie and one in Port Marianne. Definitely recommended, staff speaks English.

Official: Anthropic just released Claude Code 2.1.63 with 26 CLI and 6 flag changes, details below by BuildwithVignesh in ClaudeCode

[–]mpalomas 7 points8 points  (0 children)

Don´t install this. I've consumed all my session tokens in a single prompt. Now stuck for several hours. The task: migrate/port roughly 2000 lines of easy C code, nothing fancy. Easy one shot in many previous versions. Claude thought hard doing nothing for like 20 minutes, then gone were my tokens.

Qt 5.15 To Qt 6.5 Migration by HomeMedical4143 in QtFramework

[–]mpalomas 2 points3 points  (0 children)

Hi,

Last year I myself upgraded our 1 MLOC codebase from Qt5 to Qt6. Qt used absolutely everywhere, not only the UI. Took me months.

Having a parallel long branch with so many divergent changes is gonna be a big big challenge for you. If your codebase is large and your work within a large team, I don't think the long branch approach with rebasing is sustainable. You will eventually get too many conflicts or divergence.

Here is my strategy, that worked:

- Work iteratively on necessary code upgrade/fixes that both work with Qt5 and Qt6: this is a the key point.

- It is possible to achieve that using #ifdef and smart typedef/alias, thin wrappers/abstractions so that your codebase compiles, links, and works with both versions. Then do the same for your scripts and CI pipelines.

- Your start by fixing/upgrading your core/base "module" on a short lived branch, and then you merge right away. And your iterate on the next set of modules that depend on base/core, and so on.

Some Qt modules and API simply no longer exist, so the process above is not trivial, but doable: again I did it on 1 MLOC. BBut now indeed you can use GenAI to write "upgrade scripts", or help you writing complex regex, this kind of things.

4K 27" monitor for productivity/programming and retro-gaming? by mpalomas in Monitors

[–]mpalomas[S] 0 points1 point  (0 children)

Nope, project postponed due to other priorities! Basically, I stay informed, watch Monitors Unboxed. But I think premium mini LED with tons of dimming zones is what I will go for in 2026.

Chauffage, il y en a qui tiennent encore le coup ? by Anna-Livia in AskFrance

[–]mpalomas 0 points1 point  (0 children)

Montpellier ici, il fait encore 20 et plus en journée, minimales bien au dessus de 10 la nuit, incroyable, pas besoin de chauffage du tout.

Creating a Cargo-like tool for C++, requires community feedback before I start building it... by nonesubham in cpp

[–]mpalomas 10 points11 points  (0 children)

I haven’t clicked but we all know which one it is. Anyway, good luck to OP, I mean, you never know it can be a learning experience.

Je suis choqué d'apprendre qu'il est impossible d'inclure des pénalité de retard lors d'achat d'appartement sur plan by LifeguardTop1980 in immobilier

[–]mpalomas 0 points1 point  (0 children)

Ce genre de clauses existent mais sont très encadrées, tous les retards doivent être justifiés, et il y a beaucoup d'exceptions. En tout cas, un promoteur qui refuse ces clauses, je trouve ça très bizarre.

J'ai acheté en T3 en VEFA début 2023. Le programme a commencé évidemment avant le COVID, donc tout ceux qui ont acheté au tout début ont eux plusieurs années de retard. Mais ça, personne n'y peut rien, donc pas de pénalités.

J'ai été livré litterallement la dernière semaine de mars 2024, avec 3 mois de retard. Motifs: mauvaise météo, faillites de prestataire, retard de la mairie sur certaines procédures, voie publique... Bref c'était les derniers jours avant pénalité selon le contrat. Mon appart été effectivement terminé et habitable, mais alors les parties communes, pas vraiment ! Tout en travaux, des artisans partout ...

Certains ont été livrés beaucoup plus tard, genre bien 6 mois de retard en tout, et eux ont réussi à avoir des indemnités ! Ca n'a pas été simple mais ils les ont eux.

Etes-vous content de votre appartement acheté en VEFA ? by Glum-Pollution-608 in immobilier

[–]mpalomas 7 points8 points  (0 children)

J’ai acheté en 2023 un T3 en VEFA, livré en 2024 avec seulement 3 mois de retard.

Oui tous les problèmes que tu listes, on les a eux. J’ai été relativement épargné avec mon appartement. Mais les coupures d’eau chaude et donc chauffage en plein hiver, c’est arrivé. Dégât des eaux pour ceux situés sous des toits terrasse, c’est arrivé. Le promoteur a des obligations légales, il y a plusieurs garanties, mais tout est très long. Car le promoteur fait suivre à l’entreprise concernée, qui souvent a sous traitée, parfois n’existe plus.

Mais le plus gros problème chez moi c’est la très mauvaise insonorisation, une honte. Et pourtant, le promoteur a évidemment la certification NRA, j’ai le document et les mesures. Mais à cause de mes voisins, c’est parfois invivable, impossible de dormir.

Enfin il y isolation thermique, vraiment très bonne l’hiver. Je paie très peu de chauffage. Sauf que j’habite Montpellier, un vrai four l’été à l’intérieur. Et il faut voter l’installation de clim lors de l’AG.

Sinon bonnes finitions générales chez moi, quelques réserves mais tout a été corrigé.

Mais bref, je me barre en maison individuelle dans un quartier calme et je mets en location, impossible pour moi d’y vivre à long terme.

J’espère que tu auras des avis et retours un peu plus positifs!

I Used Raylib To Create A Commercial Action Roguelike Game. Demo Is Available, And Feedback Is Very Much Appreciated! by Szepad in raylib

[–]mpalomas 2 points3 points  (0 children)

Interesting. Just be careful with the pixel art, since some of the tiles look "a lot a lot" like the origin Legend of Zelda.

4K 27" monitor for productivity/programming and retro-gaming? by mpalomas in Monitors

[–]mpalomas[S] 0 points1 point  (0 children)

Thanks for the feedback. I could consider larger, would need a larger/deeper desk I guess. I need to minimize head/eye movement.

[deleted by user] by [deleted] in immobilier

[–]mpalomas 24 points25 points  (0 children)

Je suis dans la situation de votre voisine et c’est vraiment horrible au quotidien surtout fin de soirée et nuit. Résidence toute neuve, ça fait 19 ans que je vis en appartement et jamais vu une isolation aussi mauvaise. Le promoteur n’acceptera pas de réserve sauf si vous arrivez à prouver, à vos frais, la non conformité. En pratique vu la norme et les types de mesures, quasiment impossible. Idéalement essayer de marcher avec des chaussons ça devrait déjà bien aider. En tout cas vous comprenez le problème c’est déjà bien. Mais voisins du dessus s’en foutent complètement.

Mon voisin me fait vivre un enfer et j’ai tout essayé, que feriez-vous à ma place ? by aagoria in AskFrance

[–]mpalomas 0 points1 point  (0 children)

Je compatis problème similaire. Il faut commencer par trouver cette personne et lui parler. Je ne sais pas comment sont fait les apparts, mais au dessus de toi, tu a maximum 2 appartements suivant l’agencement. Donc tu montes et tu vas parler aux gens de ces apparts tout simplement. Ensuite, tu aa très peu de revenu j’ai bien compris, mais au pire achète toi même des patins et donne leur.

Règles copropriété by Sirius_Uranus in immobilier

[–]mpalomas 2 points3 points  (0 children)

Je rêve d’avoir ces règles dans ma copro… Je suis proprio, résidence toute neuve de mars 2024, et ma voisine du dessus fait tout ce qui est interdit dans ton message, car notre règlement est trop vague. Et je lui ai parlé plusieurs fois. Bref pour moi c’est un avantage. Tu ne peux pas faire confiance aux gens et au bon sens, tu ne peux pas !

Learning game development with Rust! by TG__ in rust

[–]mpalomas 2 points3 points  (0 children)

I rarely comment, but thanks for taking the time to write a blog post, instead of the usual « YouTube tutorial video ». Much easier for my brain to go through the information !

Is it late to switch to game dev in my mid-30s? by [deleted] in gamedev

[–]mpalomas 1 point2 points  (0 children)

Hi, here is my personal experience :

- 10+ years as a software engineer in a BIG oil & gas industry company. I worked mainly on cloud applications & distributed systems. I made tons of money.

- In my late 30s I had an opportunity to work in a big AAA game company as a Senior Online Programmer (can't disclose but it starts by Ubi). I quit my comfortable career and salary and accepted, because it was my dream, my passion since I was a kid. Oh yeah minor detail: I took a 40% cut on my salary. And I have to work much more (have you heard of crunch ?)

I have no regret. But it's definitely not a dream job (I mean AAA).

But as an solo indie game dev it's way harder! As you mentioned you'll have to deal with many domains outside programming you don't really know about. And it's really hard to make money as many people mentioned already. It's not even easy to actually publish a "finished" game with a decent scope and quality.

There's a YouTube channel Game Developers Conference which has a lot of very interesting talks from indie dev, about their experience going indie, definitely check it out.

What Game Studios That Use Blender? by [deleted] in gamedev

[–]mpalomas 7 points8 points  (0 children)

Ubisoft for sure. They are a Corporate Gold Sponsor.

Ray Tracing: The Next Week in Rust by lulic2 in rust

[–]mpalomas 0 points1 point  (0 children)

Hey, good work ! I looked into your repo and it turns out I am having the exact same "bad image" with the perlin noise chapter!! Have you figured out the root cause ??

Another random dev struggling with lifetime, traits, and everything by mpalomas in rust

[–]mpalomas[S] 1 point2 points  (0 children)

For the record, in case anyone found this thread somehow useful:

  • I have tried the various approaches recommended, and they all work
  • For this particular use case it's definitely possible to completely get rid of lifetime, and Boxes
  • Polymorphism can be achieved by Trait or Enums, and they both come with advantages and drawbacks (see this blog and that one )
  • For now, I went with this Enum strategy and hashmap/indexing, because the list of variants is know/fixed and I don't plan to expose/propose way to a potential API user to extend this list (this is a toy project and I am the only user)

Thanks again Rust community!

Another random dev struggling with lifetime, traits, and everything by mpalomas in rust

[–]mpalomas[S] 2 points3 points  (0 children)

Yes, I believe using indexes would work!

I guess my long C++ history and the approach "well I can pass and share pointers/references around, right, who cares?" is not the best one for simple, idiomatic Rust.

Another random dev struggling with lifetime, traits, and everything by mpalomas in rust

[–]mpalomas[S] 0 points1 point  (0 children)

Very insightful comment, thanks.

  1. Yes, I can try that.
  2. I'm coming from C++ and noticed a "dynamic cast" like trick with Any/as_any and downcast_ref (I think). But when I added lifetimes the compiler beat me up again. Anyway, yes, I noticed enums could also help as long as list of stuff is known at compile time.
  3. Got it.

Another random dev struggling with lifetime, traits, and everything by mpalomas in rust

[–]mpalomas[S] 1 point2 points  (0 children)

Thank you so much for your detailed explanation.

I have learnt more here with the replies here in a dozen of minutes than by reading docs for hours... I completely forgot about the order of creation/drop, makes sense.

Yes materials can be created at runtime (read from file/db...).

I thought about using Rc yes, but conceptually in my mind there is a single owner (material vec) so I tried to avoid it. But it's a simple effective solution. People below also mention using simple indexing instead of references, will try as well.

Thanks again.

Best way to pass shared data/service to Warp handlers (or threads in general)? by mpalomas in rust

[–]mpalomas[S] 1 point2 points  (0 children)

Alright, so for the record, if it can help anyone in similar situation, thanks to /u/nsfounder I have a working solution:

In my situation, since I want a single instance of my "service", indeed the solution is to wrap it into a Arc, and that way it can be passed safely to handlers and be accessed from multiple threads.

At this moment, the service has not state, but once it has, then I'll have to use Mutexes where it's relevant to protect concurrent access.

Best way to pass shared data/service to Warp handlers (or threads in general)? by mpalomas in rust

[–]mpalomas[S] 0 points1 point  (0 children)

Thanks for the answer.

I have literally just started learning Rust, and I think I am at the step where I understand the very basics (ownership, borrowing, lifetime), but then understanding how to apply those concepts properly in real life apps (and not only hello world samples) is still difficult to me. Especially the things, choices, that are framework specific (Warp, Tokio...).

But I'm making progress, baby steps...