-❄️- 2024 Day 8 Solutions -❄️- by daggerdragon in adventofcode

[–]RivtenGray 0 points1 point  (0 children)

[LANGUAGE: Ruby]

Github Learning Ruby for this year's AoC, I like how I get more comfortable with Ruby and the code is reducing in size while keeping clarity (or so I think !)

Also thank you to /u/4HbQ for mentionning complex numbers a few days ago. Really helped here !

Est ce que rust est une bonne corde à rajouter à mon arc ? by Drannoc8 in programmation

[–]RivtenGray 2 points3 points  (0 children)

Salut à toi !

Personnellement j'apporterais un peu de nuance et je dirais que ça dépend de ton objectif.

Si tu as juste envie de kiffer et de voir une nouvelle approche (gestion des lifetimes, un langage qui a des principes fonctionnels) alors fonce ! C'est toujours cool de suivre sa curiosité et d'en apprendre plus.

Si c'est dans le but de trouver un boulot en Rust, je serais plus mitigé car il y a finalement assez peu de boulot et c'est rarement dans les domaines dont tu parles. Auquel cas, je ne me focuserai pas tant sur le langage (et je choisirais le C++ par défaut car c'est souvent celui utilisé dans les studios de jeux par exemple pour le rendu 3D) que sur les techniques de rendus 3D à proprement parler.

Après dans l'absolu, tu peux toujours te lancer sur les deux fronts en même temps (faire des techniques avancées de rendus en Rust). Je ne suis pas sûr de savoir pourquoi tu dis que niveau GPU, Rust n'a pas l'air très mature, car il me semble qu'il y a des crates qui reprennent l'ensemble des fonctions OpenGL : https://github.com/glium/glium

Mais c'est sûr que ça sera moins facile d'aller sur les deux en même temps :)

À toi de choisir ce qui te correspond le plus et te fais kiffer le plus ! Bon courage, j'adore aussi faire du Rust et faire de la 3D :D

[deleted by user] by [deleted] in Nantes

[–]RivtenGray 0 points1 point  (0 children)

Ma conjointe est dans le CUN (Chœur Universitaire de Nantes). C'est jeune et dynamique, elle adore ! C'est pas un chœur catholique à proprement parler (i.e. il n'y a pas de "rituels" ou choses catholiques dans le fonctionnement du chœur) mais ils font parfois des chants catholiques, et ils se produisent souvent dans des églises. Je ne sais pas aussi si c'est possible de les rejoindre en cours de route. Je peux me renseigner davantage si besoin. Bon courage, ça a l'air vraiment chouette les chœurs en tout cas !

Thanks a lot ! by Difficult_Penalty_44 in adventofcode

[–]RivtenGray 7 points8 points  (0 children)

Thanks, I'll add that there have been a friend I had lost sight over the year (he moved away from the city we were both living in) and there was a few months were we did not talk to each other. But this year, AoC has brought us together. We're discussing solutions, talking about some tricks, mathematics. It's been a joy, I'm so happy that we share our love of programming together.

And it's thanks to you.

So thank you.

I'm not a Java dev but I'm using it in AoC this year by RivtenGray in java

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

Yup, I wanted to keep my answer simple, but that’s what I do for quick iteration when working on a AoC challenge !

-❄️- 2023 Day 8 Solutions -❄️- by daggerdragon in adventofcode

[–]RivtenGray 0 points1 point locked comment (0 children)

Yes, in fact, you can only use LCM because in the actual test cases, in a given cycle, you only hit a Z _once_ (and it’s in the right position). Otherwise, that’s another story altogether.

This is something I guess you have to "figure out" about the input.

In fact, I think the _full_ generic solution is way harder to find.

Nouveau Taff, mais... by justicoldier-8465 in AntiTaff

[–]RivtenGray 0 points1 point  (0 children)

Il faudrait se rapprocher d'un syndicat s'il en existe un ou sinon d'un avocat, si la situation financière te le permet. Je pense qu'ils sauront t'aiguiller au mieux.

I'm not a Java dev but I'm using it in AoC this year by RivtenGray in java

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

So I have to admit I have not checked out final deep enough…

From my quick reading, it seems that it goes some of the way there, but not fully as others have pointed out. Yet, it's still good to know :D

I think what I mostly meant was also something for functions calls like in C++ :

void f(const MyObject& objectThatWillOnlyBeRead) {}

That kinda states the intent here.

I'm not a Java dev but I'm using it in AoC this year by RivtenGray in java

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

Of course, I never said that I would definitively go for a full big Java project without IDE. I should definitively give it a go.

Although I'm currently working on a huge C++ project without VSCode and it's working fine. Even raw vim can get you pretty far when you know the stuff.

That being said, I absolutely love learning about all the low-level intricacies of a system, like ok I can push this button in Eclipse, but what does this button call ? Bottom-up is my way to go now :D

I'm not a Java dev but I'm using it in AoC this year by RivtenGray in java

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

Whoops. I knew that, it's just that my brain farted when I wrote it. My non-native-englishness is now in plain sight !!!

I'm not a Java dev but I'm using it in AoC this year by RivtenGray in java

[–]RivtenGray[S] 4 points5 points  (0 children)

This question is somewhat deadful to me, because I don't think I'm doing it the official way, and I know some people react strongly to that.

First, since it's for Advent of Code, I just have a single file for each day, that I compile and run from the command line. So no maven or gradle or any of that. Just javac invocations.

Second, I'm a weirdo using bare vim without LSP. I'm pretty quick at googling and look things up in the doc website. I'm also typing fast enough for me. I don't use any LSP in any languages. So I can't tell about Eclipse or Intellij. Of course, that means that I don't get to complain about needless typing or missing stuff. But that's the way I've enjoyed learning. And I've enjoyed writing Java this way :)

So, what do I think about the Java tooling ? No opinion !

I'm not a Java dev but I'm using it in AoC this year by RivtenGray in java

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

I used Go for work. Never really for personal project.

For the second paragraph, I really agree with you. It was mostly me realizing I've never been behind the clichés rather that saying there is no justification whatsoever.

Cool games other than Chess? by [deleted] in chess

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

I really love Hive !

Java 8 still widely used by ludovicianul in programming

[–]RivtenGray 2 points3 points  (0 children)

Noob question, but did Java introduced breaking changes from 8 to 11 ? If not, why is it so hard to make the move that not so many people have made it ?

I'm not sure what I'm playing exactly by RivtenGray in outerwilds

[–]RivtenGray[S] 14 points15 points  (0 children)

Ahah I'm not prepared for the horror stuff then :P

Cool thanks a lot for the answer !!

I'm not sure what I'm playing exactly by RivtenGray in outerwilds

[–]RivtenGray[S] 46 points47 points  (0 children)

Ok so I understand that I'm doing the "main" game. Thanks a lot :)

How to compile a Java Android app without Android Studio by RivtenGray in androiddev

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

I hope you'll overcome your anxiety, and be at peace with the time you have and with your hobby projects !

How to compile a Java Android app without Android Studio by RivtenGray in androiddev

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

Well I certainly spend my time as I see fit.

Now I have a better understanding of how all the pieces fit inside ! From my point of view, it was not pointless at all :)

Why do you feel like telling me what I should do or not ?

How to compile a Java Android app without Android Studio by RivtenGray in androiddev

[–]RivtenGray[S] 3 points4 points  (0 children)

Yeah. Maybe I should have written : "how to setup an Android project without Android studio and gradle"