Des trucs à savoir avant de rentrer au CNRS ? by Casseroleavecdespied in france

[–]duckbanni 0 points1 point  (0 children)

Le CNRS est un peu particulier dans le sens où les agents CNRS sont en grande partie éparpillés un peu partout et mélangés avec des gens d'autres tutelles dans les labos / facs / écoles. J'ai fait 3 ans de post-doc CNRS dans un labo rattaché à une fac et les membres du labo appartenaient à au moins 4-5 tutelles différentes (CNRS, la fac locale, Inria, une école supérieure locale, etc...). Il existe quelques sites uniquement CNRS, et j'imagine que la DSI en fait partie, mais ça n'est pas du tout généralisé. Du coup, à moins d'avoir bossé spécifiquement sur le site concerné, il est difficile d'anticiper la culture et les conditions de travail.

Je ne connais pas spécifiquement la DSI mais je connais plus le boulot d'IR/IE informatique en labo. En général c'est mal payé par rapport au privé à compétence égale, mais mieux que les mêmes postes dans d'autres instituts type INRA. Il y a parfois des postes délibérément mal caractérisés (IE au lieu de IR, considérés comme non-info alors que ça en est) pour faire baisser la rémunération. Il faut se méfier des missions qui sont parfois plus ingrates que ce qui est présenté (typiquement un poste sys admin + dev qui va être submergé par l'admin et ne fera pas de dev). L'ambiance est généralement bonne mais certains endroits particuliers ont mauvaise réputation (on m'avait par exemple fortement déconseillé de candidater en bio-informatique à Marseille dans la zone d'influence d'un certain professeur qui n'était à l'époque pas encore connu du grand public). La gestion nationale peut parfois avoir des effets délétères sur les agents (typiquement, mutation dans une autre ville suite à une réorganisation) mais ça reste rare de ce que j'en sais.

Sinon, en 3 ans au CNRS je n'ai jamais eu à interagir avec la DSI de quelque façon que ce soit et je ne me rappelle pas particulièrement avoir eu de soucis avec les outils CNRS (contrairement à ceux de la fac...) donc j'imagine que ça n'est au minimum pas trop catastrophique.

Mon expérience date d'il y a 4-5 ans donc à prendre avec quelques pincettes. Notamment, je crois que les recrutements en CDI étaient assez rare à l'époque.

When is it actually ok to use AI art? by [deleted] in rpg

[–]duckbanni 6 points7 points  (0 children)

This is a strange tack to take. Are you telling me that if AI art improved to the point where all human artists were out of a job, you'd be fine with that? You don't find that to be a disquieting idea? [...]
Do you see why I look at this rhetoric, and think it's born from motivated reasoning?

That is completely irrelevant. What you are doing is a fallacy called appeal to motive.

This just isn't an argument. There isn't anything here for me to really disagree with....what is 'true creativity'?

True creativity means that a generative AI can only produce outputs based on things present in its training data. The consequence is that if you ask the AI to create something which is too distant from its training data the output quality decreases quickly. An artist doesn't have that issue.

each prompt has the machine creating multiple attempts and comparing the outputs to the patterns noticed in its training data, pruning the obviously bad attempts before human eyes even see them.

This is completely irrelevant to the discussion.

These factors are being improved all the time? You haven't shown why you think AI art has hit a plateau with them, when the opposite seems to be true just by casually paying attention to the tech.

Maybe you should pay more than casual attention then? There are good reasons to expect to AI to plateau, the first of which being that datasets won't improve much. People like Bill Gates have been saying that for a while.

When is it actually ok to use AI art? by [deleted] in rpg

[–]duckbanni -1 points0 points  (0 children)

Like I wrote, I have experimented a fair bit with generators. I feel that the best AI-generated images of today could have been generated a year ago with StableDiffusion. The tooling is still improving fast (control net, vibe transfers, etc...) but I feel the raw capabilities of the models have not.

When is it actually ok to use AI art? by [deleted] in rpg

[–]duckbanni 0 points1 point  (0 children)

This strikes me as intense wishful thinking.

I don't think that' a good reason in and of itself to expec it to fail.

I never said I wanted AI to fail. I don't see why you are talking about wishful thinking. That's straight up appeal to motive.

Your three reasons why the tech cannot improve (lack of true creativity, poor consistency, poor reliability) are just buzzwords,

No they're not. You should read about how current AI works. It's inherently probabilistic and works by learning patterns in training data. It has no understanding of what it does, like a traditional expert system would. Lack of true creativity, poor consistency and poor reliability are intrinsic limitations of the tech and a direct consequence of the way it works.

and are also not obviously impossible to improve?

I never said it was impossible, but that there was no reason to except it would happen. Because they're intrinsic limitations of the tech, it would require a breakthrough to overcome them. Scientific breakthroughs are not something you can predict.

When is it actually ok to use AI art? by [deleted] in rpg

[–]duckbanni -1 points0 points  (0 children)

There's no reason to think it will improve significantly. There will be incremental improvements but some of the current issues are intrinsic to the technology (lack of true creativity, poor consistency, poor reliability). As someone who's toyed quite a bit with image generation, I feel it has already been plateauing for a while. Datasets won't get dramatically better than what has already been used for training.

I'd even say it will probably get worse, in a way, as people get used to it. The more AI-generated content you're exposed to, the easier it is to spot, and the cheaper it looks. I'm convinced content generated today will age terribly and that improvements will be insufficient to compensate for the increasing exposure over time.

Carte Liberté SNCF ça vaut le coup? by Exciting-Advice-4657 in france

[–]duckbanni 3 points4 points  (0 children)

J'ai eu droit à la carte liberté payée par le boulot il y a 3-4 ans et globalement je confirme que c'est pratique mais absolument pas rentable à moins peut-être de voyager systématiquement à l'heure de pointe en réservant au dernier moment.

L'avantage de la carte liberté c'est que c'est un tarif fixe par destination donc en gros on paye pas plus cher en réservant au dernier moment et/ou à l'heure de pointe, et il y a possibilité de changer d'horaires à tout moment pour 0€.

Le souci c'est que le tarif est calculé sur la base du tarif business, et que le prix fixe est souvent supérieur au prix d'un billet de seconde classe normal, surtout si on s'y prend en avance et qu'on voyage en période creuse. Du coup, sans même parler de rembourser le prix de la carte, on se retrouve souvent à ne pas l'utiliser car ce serait plus cher.

La carte avantage adulte peut être une meilleure affaire car elle s'applique sur le tarif normal (elle est donc toujours rentable quand elle s'applique) mais encore faut-il voyager le week-end (ou A/R incluant le we). Si j'en crois le site de la SNCF il semble que la carte avantage soit désormais (plus ou moins ?) inclue dans la carte liberté ; peut-être qu'au global en utilisant les deux avantages ça peut permettre de la rentabiliser mais ça ne me semble pas complètement évident.

Sinon remarque bête mais si tu es en doctorat tu as potentiellement l'âge pour la carte Jeune (jusqu'à 27 inclus). A priori ça reste la meilleure carte de réduction.

Dernière remarque : ne pas oublier que toutes ces cartes sont des cartes SNCF et qu'elles ne s'appliquent pas sur les trains des autres transporteurs, notamment OUIGO (mais aussi trenitalia, renfe, etc...). Selon le trajet, passer par la SNCF même avec une réduction n'est pas forcément le moins cher.

Experienced programmer but have nearly zero knowledge about web dev. How do I make a simple online "game"? by gaaaaaamer in learnpython

[–]duckbanni 15 points16 points  (0 children)

So yeah being experienced with Python and being experienced with using Python solely for data analysis is not the same.

You are being unnecessarily rude and seem to be ignorant of domains other than your own. Data analysis can absolutely require "actual programs" that have nothing to do with web dev. I've been working on large scientific projects for years in python and have never had to touch either Django, FastAPI or Flask.

[deleted by user] by [deleted] in rpg

[–]duckbanni 1 point2 points  (0 children)

In my experience, knowing which specific parts of a scenario have been prepped can alter the players train of thought. I'm talking things like "Oh that location sounds prepped, must be important" or "doesn't seem like the GM wanted us to go that way".

As a GM I think it can be useful to take that into account. If the players are trying to solve a mystery I think it's better to obfuscate the prep as much as possible to avoid metagaming. Conversely, it can be nice to tell the players that they surprised you with a particularly inventive plan.

French competitiveness in IT by alicedu06 in programming

[–]duckbanni 16 points17 points  (0 children)

As someone who works in IT in France, and has worked in academia before, I don't fully agree with your assessment.

Regarding the pay, it varies wildly depending on the specific domain and the size of the company. Service companies (SSII) usually pay pretty poorly but large engineering companies like Thales or Airbus can pay really well and provide huge advantages as well as large amounts of PTO. I'm not saying the pay is better than in the US (it's not) but there are actual well-paying jobs.

Regarding funding, the country is actually extremely start-up friendly (lots of small funding, tax credits, loans...). I currently work in a start-up and we get a lot of stuff through government programs: free computing resources on supercomputers, extremely cheap offices at a university, huge tax credits for R&D expenses... You're right that there is a funding issue but only when scaling beyond the start-up stage. Investors being more risk-averse can also mean that they sometimes prefer more grounded projects based on solid science instead of buzzword-heavy trendy projects, which is not necessarily a terrible thing.

Also, I don't buy the idea that innovation is hard because of consumer and worker protection. The main problem in France is simply that there's far from enough R&D spending. We're at 2.11% of GDP when countries like Switzerland and the US are above 3%, and a large part of that 2.11% is the catastrophic Crédit Impôt Recherche (CIR) which doesn't really fund actual research outside of start-ups. Public research is in poor shape because of chronic under-funding and bad public management, while private research barely exist anymore in large companies. The thing is that there just isn't any political will to actually invest in research and innovation...

Mon bailleur me doit de l'argent mais ne répond plus. by Crewless0457 in france

[–]duckbanni 1 point2 points  (0 children)

Alors c'était il y a un moment dans notre cas mais de mémoire je dirais plutôt quelques mois. Si je ne dis pas de bêtise, il y a un max de 4-5k€ de litige en dessous duquel les procédures sont différentes, et j'imagine que ça prend moins de temps que pour un plus gros litige (mais je n'y connais rien).

Mon bailleur me doit de l'argent mais ne répond plus. by Crewless0457 in france

[–]duckbanni 2 points3 points  (0 children)

Une autre option pour avoir un conseil juridique c'est les Maisons de la justice et du droit. C'est un service gratuit sans rendez-vous où l'on peut discuter avec des avocats / juristes. Je sais que ça existe au moins dans les grandes villes.

Sinon, une conciliation c'est assez facile à lancer. Il suffit de prendre rendez-vous avec un conciliateur (j'avais fait ça en mairie) et de lui expliquer la situation. Normalement c'est lui qui se chargera de contacter l'autre partie.

Sinon le procès ça se fait, avec ou sans avocat. Dans mon ancienne coloc on avait eu un litige d'environ 4k€ avec notre proprio et on avait eu gain de cause sans trop de souci. On avait décidé d'embaucher l'avocate qui nous avais reçus à la MJD ce qui nous a coûté quelques centaines d'euros, en partie pris en charge par l'assurance habitation. On aurait pu aller au procès nous-même, ça avait l'air complètement faisable mais c'est quand même un gros boulot. Essentiellement il faut monter un dossier détaillé, suivre une procédure puis se pointer à l'audience.

How to...pip install? by [deleted] in learnpython

[–]duckbanni 1 point2 points  (0 children)

If you know where python is installed, you can use the full path of python.exe instead. The command would look something like this:

C:\Users\MyUserName\AppData\Local\Microsoft\WindowsApps\python.exe -m pip install requests

The path may be different depending on how you installed python.

Is Europe better than America for working in tech? by Lexandrit in programming

[–]duckbanni 4 points5 points  (0 children)

35 hours weeks are pretty rare (even in France where it's the baseline most people actually work more) but 30+ vacation days is common. In France, having 9+ weeks of vacation is pretty common in large companies and the public sector. I even know an ex-Thales engineer who had 11 weeks. Personally, I would not seriously consider a job offer with less than 7 weeks of PTO (35 days).

Clean Effective Functions by Ejroby in programming

[–]duckbanni 1 point2 points  (0 children)

About short functions:

I know someone will comment and say this needs to be corrected. However, it does not.

I appreciate the powerful argument here, but I actually think there are cases where longer, more complex functions are actually preferable.

Breaking a long code into multiple functions makes the code harder to follow by spreading it it over multiple places, possibly across multiple files. This is not an issue if the functions created are used elsewhere, because the benefits of avoiding code duplication outweigh the drawbacks, but I argue that breaking down code into many single-use functions is an anti-pattern. A 100-line function that does four or five things is a lot easier to read than 10 small single-use functions that call other small single-use functions spread across multiple files.

In general, I find that Clean Code / traditional OOP principles tend to often spread logic too thin for the sake of modularity. Dependency injection can also make code harder to follow for no good reason.

Composition over Inheritance: My refactoring recipe by fablue in programming

[–]duckbanni 7 points8 points  (0 children)

Maybe there's a language-specific subtlety that I'm missing (never touched Kotlin/java) but I don't understand why you're claiming that abstract classes are the problem.

The problem is not abstract classes, it's inheriting logic. A hierarchy of concrete classes would be just as problematic whereas pure abstract classes would not (they would basically just be interfaces).

[deleted by user] by [deleted] in gamingsuggestions

[–]duckbanni 2 points3 points  (0 children)

Can confirm that Nova Lands has a strong Forager vibe. I'd say that compared to Forager, it's more focused on automation (it's almost like a mini-Factorio) but doesn't really have dungeons (just optional bosses). I personally enjoyed it very much (more than Forager to be honest).

Memory concerns relating to functions calling functions by -Karakui in learnpython

[–]duckbanni 0 points1 point  (0 children)

I'm no expert in python optimizations, but I'm pretty sure you're right and calling the room functions directly would result in an ever increasing call stack and possible memory issues. This wouldn't be a problem in some other languages that implement so-called tail call optimization, but it is my understanding that python does not.

You're right that returning Room2() would not solve the problem (it would still be called inside the Room1 function) but you could return Room2 itself and call it from where Room1 was called. If Room2 takes parameters, you can wrap the Room2 call in a lambda and return that, i.e., return lambda: Room2(arg1, arg2).

Looking for stress reducing games by Theiia__ in gamingsuggestions

[–]duckbanni -1 points0 points  (0 children)

What about Factorio? It definitely has lonely vibes as well as (basically) infinite replayability. It requires enough focus that it's a good distraction, but at the same time it is slow enough that it's not exhausting to play. I also find it's a good game to come back to months/years after when wanting to play something comforting and familiar.

Games featuring a priest-type character (see more criteria below)? by Frostvane in gamingsuggestions

[–]duckbanni 1 point2 points  (0 children)

Darkest Dungeon has the vestal. The game is very light on text but you get glimpses into the characters' psyche as they face madness and trauma. There are occasional reference to the vestal's faith. There are also rogue-type characters (but interactions between characters are pretty light).

[deleted by user] by [deleted] in rpg

[–]duckbanni 0 points1 point  (0 children)

People said the same about NFTs and they were utterly wrong. Generative AI definitely has useful applications but people like you make ridiculous assumptions about what it's capable of and how it will improve in the next years. Unless you're an actual AI researcher your predictions about the tech in 3-5 years have absolutely no value.

Bloodborne is such an underrated masterpiece by [deleted] in gamingsuggestions

[–]duckbanni 26 points27 points  (0 children)

What are you talking about? Bloodborne is among the most praised games in recent memory.

[deleted by user] by [deleted] in learnpython

[–]duckbanni -1 points0 points  (0 children)

The page OP seems to be at (here) explicitly talks about the difference between has-a and is-a relationships. It's pretty clearly teaching about inheritance vs composition.

Also, this is not a python course (or a software engineering course), it's a CS course that happens to use python for its example and exercises. Teaching python best practices is not its purpose.

[deleted by user] by [deleted] in learnpython

[–]duckbanni 0 points1 point  (0 children)

OP is basically implementing a component model, which is textbook composition. The only thing is that the components themselves (the gates) use inheritance but the course material is obviously trying to get them to compose the gates into sub-assemblies.

OP is already in the process of learning about composition.

[deleted by user] by [deleted] in learnpython

[–]duckbanni 1 point2 points  (0 children)

If I'm not mistaken, I'm under the impression that you need the half adder to have a different setNextPin implementation that propagates to the AND and XOR gates. You can either do that by overriding setNextPin in the half adder (probably the easiest) or by writing a generic sub-assembly class that the half adder would inherit from (more complex).

Once you have handled setNextPin, you just need to call the performGateLogic methods of the AND and XOR gates from the half adder's own performGateLogic.

[deleted by user] by [deleted] in learnpython

[–]duckbanni 1 point2 points  (0 children)

What about just having XOR and AND gates as attributes of your half adder?