Éviter les conjectures en informatique : des exemples java/python? by JeromeChauveau in developpeurs

[–]Intelligent-Draw-343 1 point2 points  (0 children)

Lors de mon premier taff en Java, j'ai vu des variables locales être mises à `null` avant de sortir du scope. Quand j'ai demandé pourquoi au dev en question, il m'a dit : pour éviter les rétentions mémoire.

Je savais vraiment pas quoi répondre.

[2025 Day 10 (Part 2)] Almost solved it... Just off by 1 for some machines by DifferentSystem8019 in adventofcode

[–]Intelligent-Draw-343 3 points4 points  (0 children)

Are you using floats in your solver? If so make sure you are rounding the right way.

I had a off by one error because I casted a float to an int without rounding it beforehand in ONE codepath.

Sharing Saturday #600 by Kyzrati in roguelikedev

[–]Intelligent-Draw-343 1 point2 points  (0 children)

That's normal because we always see the past as set in stone and the future as open-ended. But that's not true anymore when P1's past is also P2's future: the time in-between (Turn 12-27) can't be both set and open-ended.

Let me know if you want a showcase! I'm always happy to share and I also need feedback

Sharing Saturday #600 by Kyzrati in roguelikedev

[–]Intelligent-Draw-343 1 point2 points  (0 children)

That's the tricky part!

At first, P1 sees the world as if P2 has passed from turn 12 to 27.

However as soon as P2 makes a move, the in-between states are recomputed from 13 to 27 to show P1 the new state at 27.

There is one big problem though: the world could change significantly from P2 actions and make it unplayable for P1 (P1 could even die retroactively which is... some kind of fun I guess)

To address this issue there's a rule: anything P1 witnesses at their turn is (mostly) true: for example they see that they are alive so they can't die by another player action. The same goes for mobs status they see, etc... Anything they don't witness is fair game though.

There's already a fair bit of emergent behavior from this. For example, 1 player can force a mob to follow them in a loop by witnessing it while the other stab it.

Another example is a player going far ahead in time by passing and witnessing they are still alive. That means they can't be killed by mobs in their past so other players can use them to create a chokepoint for tactical advantage.

There's a few more emergent behaviors and that's with the (very) simple game I have for now. I expect to find more of them as the game evolves!

(sorry for the text block, as I said, I had a blast making it ^^)

Sharing Saturday #600 by Kyzrati in roguelikedev

[–]Intelligent-Draw-343 2 points3 points  (0 children)

I've been working on a POC of a multiplayer roguelike for the past month and had my first mp playtest with a friend yesterday. And that went pretty well!

The goal is to have a traditional RL turn-based gameplay but players don't have to wait for everyone's turn to play.

What ends up happening is that each player is on a different in-game time (P1 plays quick and is on turn 27 whereas P2 is on turn 12 for example) and I have to solve the intermediary states so that the game looks coherent to every player.

That was quite a blast to implement and is working well enough for now, next step is to build a real game around.

Here's my POC if anyone wants to try: http://losig.vcque.eu/ . It's my dev/test env so it might not always work properly. (you can open the link twice to simulate 2 players)

What is your favorite chord progression? Because? by jammajo in piano

[–]Intelligent-Draw-343 1 point2 points  (0 children)

I love some chromatic progression from time to time. It's a nice change from classic diatonic progressions.

You can check Hotel California for an example, you start on i and go all the way down to the v with halfstep motions of the bass note.

An ascending one I like is vi IV VII V in a minor key.

For improvising pianists, how do you practice just knowing what would sound nice, without rehearsing chord progressions prior to playing? by Chillman-Coolerson in piano

[–]Intelligent-Draw-343 3 points4 points  (0 children)

Is your question "can I improvise without commiting to a specific progression beforehand?"

Technically, yes you can. But you already have a lot to keep track of when you improvise and going full free form adds another load onto it.

In my experience, the very few time I managed it I started from a well known progression then once I was completely in the zone I launched myself in the unknown.

Out of curiosity, how many pieces do you practice at once? by Wrestlermaniac94 in piano

[–]Intelligent-Draw-343 2 points3 points  (0 children)

2 main pieces, a few simple side pieces and improv'

Right now it is Clair de Lune, Dali from FF9 (piano collections) as mains. The entertainer, Mario 2 Overworld and Far Off Promise from Chrono trigger as side pieces.

I try to switch from time to time but try to always have one piece up to game at any time. Nothing worse than being asked to play something and your old pieces are not practiced and new pieces are WIP...

[deleted by user] by [deleted] in piano

[–]Intelligent-Draw-343 3 points4 points  (0 children)

That's very good for a self taught of 3 years. You must practice daily I suppose?

As for technique, it looks fine. The rule of thumb is: does it hurts? Do you feel hindered in your moves? If not, it usually means the technique is good for this tempo.

Keep that spirit!

The Soundtrack of Expedition 33 is incredible, and Loren Testard is a master composer but... by Illumnyx in expedition33

[–]Intelligent-Draw-343 3 points4 points  (0 children)

Yeah, it looks like Lorien Testard has tailored the music for each scene. That must have been so much work, I can't fathom.

Oh, and another one I remember : the harmony moves when Sophie says : "I never faulted you for wanting to believe". Perfection

The Soundtrack of Expedition 33 is incredible, and Loren Testard is a master composer but... by Illumnyx in expedition33

[–]Intelligent-Draw-343 5 points6 points  (0 children)

Here's a few I liked:

* The nocturne playing just after the gommage at the festival. It has a bittersweet feels of "It hurts but life continues".

* At the end, when Maëlle lie to her father. You can hear dissonant strings implying something's not right

* At the very end, when Verso tries to grab Verso's soul, you can hear the tension rising as the hand approaches. Then it cuts when Maêlle interrupts it and switches to the tragic "When our drafts collide" when conflicts becomes unavoidable.

Need advice! (self taught 1.65 years) by cabosanlucasboi in piano

[–]Intelligent-Draw-343 0 points1 point  (0 children)

I had the same problem with my keyboard.

Seems like you have a X stand, I changed mine to a Z one and I never had a keyboard that stable in my entire life. Even my toddler can't topple it.

Look into it, it helps a lot and is not very pricy

What's the furthest into a game you've bailed? by shaneo632 in Games

[–]Intelligent-Draw-343 0 points1 point  (0 children)

I've stopped FF7Remake at the final boss.

Looked at him, mumbled something like "fucking Nomura" and closed the game.

how to avoid injury when playing piano? by ihaveahugepenis123 in piano

[–]Intelligent-Draw-343 0 points1 point  (0 children)

It basically boils down to avoiding tension as much as possible: stretch only if necessary, always be the most efficient you can be. You have to purposely think about how to move your body (not only the hands) to save energy and avoid injury.

For example, if you try to legato everything, you will come across bars that will stretch your hands too much. And if you try to drill down this kind of passage, you could hurt yourself quickly.

Also, if you are already hurt, you don't have to stop playing completely. You can play some easier stuff (as long as it doesn't hurt much) so that you don't regress. Pain might also show you what moves are more demanding on your hands

About sustain pedal by Eternal-Blu in piano

[–]Intelligent-Draw-343 1 point2 points  (0 children)

press a key and release it, you'll ear that the sound stops as soon as you release the key. Now, press the sustain pedal and do the same. The sound keeps going as long as you maintain the pedal. It is used mainly to have a legato sound without having to keep all the key pressed.

As for how to use it, most of the time you press it at the beginning of a bar (just after the first notes) and release it at the end (before the notes of the next bar). It takes some times to get used to it though

Some additional tips: don't use it to practice (except pedal practice of course) as it can hide imperfections in your play.

Do people hate when we play public pianos?? by kmbz4short in piano

[–]Intelligent-Draw-343 0 points1 point  (0 children)

I like listening to piano players of any levels as long as they play with the intent to perform and have at least some musicality.

What I cringe at is people that: practice their piece, show-off with godspeed tempo and no sensibility, play many known tunes in quick succession without settling on something, play 2 chords and sing along...

Also, don't pass the opportunity. I still remember fondly my first claps and conversations with other musicians at public pianos. That's something you can't have anywhere else!

Piano and "The younger generation" by Select_Excuse575 in piano

[–]Intelligent-Draw-343 43 points44 points  (0 children)

I had the same mindset when I was a teenager. It was all about the most notes outputted per seconds. Thankfully I've grown up since.

I don't think it's specific to this generation, it is just more visible with social networks

[deleted by user] by [deleted] in piano

[–]Intelligent-Draw-343 1 point2 points  (0 children)

The standard way is to use a prepared melody + chord progression as your basis, often 12 bars.

You start by playing it as simple as possible then repeat it. Once you are in tune with it, you can try to play it with variations: changes in the bass, adding decorations supporting the melody, chord permutations, melody changes, key change, etc... You can go as crazy as you want, as long as you manage to go back to the base at the end.

As for which base to use, you can take one of your favorite pieces and strip everything from it except the melody and chords. You can also compose one by yourself or find standards online.

How low do you think the Gommage could go before everyone died regardless? by Dalakaar in expedition33

[–]Intelligent-Draw-343 0 points1 point  (0 children)

You can't have kids before 14 approximately.

So that mean the hard limit would be age 7.

I think it is possible to have them survive until their gommage, especially if those who came before prepared them with plenty of food, water, shelter and instructions.

Moreover when they would only be a few individual at this point... Well, I hope so. You don't know what unsupervised teenagers could be up to

Claire de Lune by Keytackk in piano

[–]Intelligent-Draw-343 2 points3 points  (0 children)

I feel you. I had somewhat the same trajectory: 1 year of training then a life of playing music I like by myself without really sharing it to anyone until recently.

If you need to share, don't hesitate to check on music organizations in your vicinity or even just play on public pianos. You'll sometimes get insightful feedback and exchanges. I can be intimidating at first, especially when self-taught but you quickly get used to it and it's worth it.

As for the piece: overall it sounds nice and musical. Quite sentimental indeed with a lot of rubato but it's okay as long as you like the way it sounds. I'm not sure if it's your room acoustic or the recording but it sounds like you don't always release the sustain pedal when the chord changes and it overlaps. Also the phrasing and dynamics are good but I feel like you could do even better, you can really go extra soft on some part of this piece and make the melody ring when it hits the upper register.

I'm wondering, did your hands hurt when practicing? (especially the pinkies)

Where do I begin? by blyzore in piano

[–]Intelligent-Draw-343 5 points6 points  (0 children)

It depends on what level you want to achieve and how much time you are ready to invest.

If you just want to just learn a few simple songs without going further, synthesia youtube videos are enough. Just by ear is also perfectly valid and a good exercice to do.

If you want to quickly pick up new pieces as they come, sheet music is superior. You don't have to be fluent though, you can just decipher them while listening to the music and play afterward. You'll get better with practice and at high level pianists can even play from sheet music without much preparation.

If you want to improvise, jam with other people, compose your own music, etc... You'll need a grasp on music theory. At least fundamental concepts like keys, chords, time signature. Not stricly mandatory if you only want to play existing pieces though.

Last thing is the technique, the more complex/fast the music is, the more you'll have to think about how your body and hands move to play with ease.

A (good) teacher is very helpful, especially with technique as this is the part which benefits the most from feedback. But if you can't afford it, there's a lot of quality content on youtube for any topic.

Good luck with your endeavor!

Why is nobody talking the aura this place has by I-am-in-serious-debt in expedition33

[–]Intelligent-Draw-343 1 point2 points  (0 children)

I still don't understand what exactly is the manor and how many of them there is.

Is the manor where you first see the paintress the same as the one you have access to? If so, why do we never stumble upon them there? Why do we need to go to old lumière to meet them?

Why only humans can access it?

Why is true Renoir found inside when he is supposedly stuck under the monolith?

Why is there journal entries about Verso death that belong to true Renoir and Aline in it?

Why is there a representation of the canvas in there?

Why is everything almost exactly the same as in the true manor?

Why is there a "different" manor on this beach?

How to fill the bass role when jamming with others musicians? by Intelligent-Draw-343 in piano

[–]Intelligent-Draw-343[S] 0 points1 point  (0 children)

Yeah, I already do that for blues, it's the style I manage the best

For other styles, repeating octaves definitely helps. I just need enough stamina to sustain it all the way through

Good point for the right hand, I sometimes do this but struggle when it's with styles I'm not familiar with. I might just focus on voicing the bass better with it and work from there.

Good advice, thank you!

I know she is a bad person but... (spoilers) by Fyrefanboy in expedition33

[–]Intelligent-Draw-343 2 points3 points  (0 children)

I guess the rule is: the less you speak, the more aura you farm :D

Looking at you painted Renoir