oflatt

oflatt

Games, music, random sketches, oh my
Check out my twitch at twitch.tv/oflatt
Join the discord at discord.gg/qGRyQAkHbb

I have 196 hands

I have 196 hands

Пікірлер

  • @briansanchez5449
    @briansanchez544921 сағат бұрын

    do you know if gamekid or playgb play roms with sound on the playdate? I've seen posts where it plays but there's no sound.

  • @TheOneAndOnlySatan
    @TheOneAndOnlySatan16 күн бұрын

    import numpy as np class MissileGuidanceSystem: def __init__(self, initial_position, target_position): self.position = np.array(initial_position, dtype=float) self.target_position = np.array(target_position, dtype=float) self.previous_position = np.copy(self.position) self.velocity = np.zeros_like(self.position) self.kp = 0.1 # Proportional gain self.ki = 0.01 # Integral gain self.kd = 0.05 # Derivative gain self.integral = np.zeros_like(self.position) self.previous_error = np.zeros_like(self.position) def update_position(self, delta_time): # Calculate where it isn't not_position = self.target_position # Calculate the error (deviation) error = not_position - self.position # Integral of the error self.integral += error * delta_time # Derivative of the error derivative = (error - self.previous_error) / delta_time # PID control corrective_command = (self.kp * error + self.ki * self.integral + self.kd * derivative) # Update velocity and position self.velocity += corrective_command * delta_time self.previous_position = np.copy(self.position) self.position += self.velocity * delta_time # Update previous error self.previous_error = np.copy(error) # Calculate the new deviation new_error = not_position - self.position # Calculate the variation variation = new_error - error return self.position, error, variation def run_simulation(self, duration, delta_time): time_steps = int(duration / delta_time) trajectory = [] for _ in range(time_steps): pos, dev, var = self.update_position(delta_time) trajectory.append((pos.copy(), dev.copy(), var.copy())) print(f"Position: {pos}, Deviation: {dev}, Variation: {var}") return trajectory # Example usage initial_position = [0.0, 0.0, 0.0] target_position = [100.0, 100.0, 100.0] duration = 10.0 # Simulation duration in seconds delta_time = 0.1 # Time step in seconds missile = MissileGuidanceSystem(initial_position, target_position) trajectory = missile.run_simulation(duration, delta_time)

  • @nictibbetts
    @nictibbetts23 күн бұрын

    #include <iostream> #include <cmath> class Missile { private: double currentPosition; double targetPosition; double previousPosition; public: Missile(double startPos, double targetPos) : currentPosition(startPos), targetPosition(targetPos), previousPosition(startPos) {} void updatePosition() { double whereItIsnt = targetPosition; double deviation = std::abs(currentPosition - whereItIsnt); std::cout << "Deviation: " << deviation << std::endl; currentPosition += deviation * 0.1; previousPosition = currentPosition; currentPosition = targetPosition; double variation = std::abs(currentPosition - previousPosition); std::cout << "Variation: " << variation << std::endl; } void runGuidanceSystem() { if (currentPosition != targetPosition) { std::cout << "Missile is not at the target. Updating position... "; updatePosition(); } else { std::cout << "Missile is at the target position. "; } double error = std::abs(targetPosition - previousPosition) - std::abs(currentPosition - targetPosition); std::cout << "Error: " << error << std::endl; } }; int main() { double startPos = 0.0; double targetPos = 100.0; Missile missile(startPos, targetPos); missile.runGuidanceSystem(); return 0; }

  • @1thecoffee
    @1thecoffee28 күн бұрын

    The missile knows where it is at all times. It knows this because it knows where it isn't. By subtracting where it is from where it isn't, or where it isn't from where it is (whichever is greater), it obtains a difference, or deviation. The guidance subsystem uses deviations to generate corrective commands to drive the missile from a position where it is to a position where it isn't, and arriving at a position where it wasn't, it now is. Consequently, the position where it is, is now the position that it wasn't, and it follows that the position that it was, is now the position that it isn't. In the event that the position that it is in is not the position that it wasn't, the system has acquired a variation, the variation being the difference between where the missile is, and where it wasn't. If variation is considered to be a significant factor, it too may be corrected by the GEA. However, the missile must also know where it was. The missile guidance computer scenario works as follows. Because a variation has modified some of the information the missile has obtained, it is not sure just where it is. However, it is sure where it isn't, within reason, and it knows where it was. It now subtracts where it should be from where it wasn't, or vice-versa, and by differentiating this from the algebraic sum of where it shouldn't be, and where it was, it is able to obtain the deviation and its variation, which is called error.

  • @doom498
    @doom49829 күн бұрын

    Y'all think he is just waffling but what he says is actually makes sense lol. cOnTrOL ThEOry biach!

  • @angry4rtichoke646
    @angry4rtichoke646Ай бұрын

    Eminem's been real quiet since I first got sent this video just now

  • @MysteriumFX
    @MysteriumFXАй бұрын

    i got lost in the first sentence when "where it is" was used as an operand in the equation to find out where it is

  • @tigrillol5924
    @tigrillol5924Ай бұрын

    Ah yes

  • @davidf2p445
    @davidf2p445Ай бұрын

    Tabs pls ?

  • @Azsx282
    @Azsx2822 ай бұрын

    class MissileGuidanceSystem: def __init__(self): # Initialize the missile guidance system with no known positions self.current_position = None self.previous_position = None def update_position(self, new_position): # Update the current and previous positions of the missile self.previous_position = self.current_position self.current_position = new_position def calculate_deviation(self): # Calculate the deviation between the current and previous positions if self.current_position is None or self.previous_position is None: return "Error: Unable to calculate deviation without previous positions." deviation = abs(self.current_position - self.previous_position) return deviation def correct_position(self, target_position): # Calculate the correction command to move the missile towards the target position if self.current_position is None: return "Error: Unable to correct position without current position." correction = target_position - self.current_position return f"Correction command: Move {correction} units towards the target position." # Example usage: missile_system = MissileGuidanceSystem() # Update the missile's position missile_system.update_position(100) missile_system.update_position(110) # Calculate the deviation between the current and previous positions deviation = missile_system.calculate_deviation() # Provide a correction command to move the missile towards a target position correction_command = missile_system.correct_position(120) # Display the results print("Deviation:", deviation) print(correction_command)

  • @evlli2342
    @evlli23422 ай бұрын

    dude just implemented the copypasta guidance algorithm, love it

  • @Azsx282
    @Azsx2822 ай бұрын

    @@evlli2342 I love it too

  • @jond8014
    @jond8014Ай бұрын

    Appreciate this a lot, thanks.

  • @Brooke-ze3pt
    @Brooke-ze3pt2 ай бұрын

    this is quite lovely, your linguistic skills are superb. the rats would be proud. #packfacts

  • @morpheus_circuit
    @morpheus_circuit2 ай бұрын

    It’s not rocket science my dude

  • @somnollent
    @somnollent2 ай бұрын

    sick

  • @DarkestNova556
    @DarkestNova5562 ай бұрын

    Sigma walking into a room and seeing this 👁️👁️

  • @kln.b5631
    @kln.b56313 ай бұрын

    Bro gave up halfway in. 😂

  • @Finley-iy5xf
    @Finley-iy5xf3 ай бұрын

    I have more questions than before

  • @JohnDoe-kf3rd
    @JohnDoe-kf3rd3 ай бұрын

    I'm sorry can you repeat that

  • @Bean_guy2
    @Bean_guy23 ай бұрын

    Telling my kids this was Oppenheimer

  • @antikoerper256
    @antikoerper2564 ай бұрын

    I lost it at how you stopped drawing for a while after 0:58

  • @aydencarter4799
    @aydencarter47994 ай бұрын

    The most understandable thing:

  • @GlobalWarmingSkeptic
    @GlobalWarmingSkeptic4 ай бұрын

    We always get caught up in where the missile is, but we never bothered to ask how the missile is.

  • @IvanSteinkovich
    @IvanSteinkovich4 ай бұрын

    GEA is Guidance Equalizing Apparatus

  • @Steak25gaming
    @Steak25gaming4 ай бұрын

    Math be like

  • @choonuyehara5709
    @choonuyehara57094 ай бұрын

    It’s basically saying (after replaying and pausing the video to many times) (Position.a-Missile is where it is now. AKA current position. Remember that) that it knows where it is (I), because it knows “where it isn’t” (S).Then it subtracts the s-I, or I-s to get (d) ( “where it isn’t” is everywhere except for its CURRENT position) The missile knows where to go by use it (d) to make commands (Position .b is where it is CURRENTLY)Then after it moves let say 2 inches, it’s no longer at pos.a And remember how I said “where it isn’t is everywhere except for its CURRENT position” well the missile is now in the place we USED to call “where the missile isn’t”. Another way to think of it is. Image a perfectly round kittie pool. Inside is a rubber duck. The water around rubber duck is where it isn’t (a) The duck is where it is (d) The duck moved an inch. The duck in now in a (a)=where it is’t

  • @llllllll4206
    @llllllll4206Ай бұрын

    This whole video is a nonsense meme made to confuse people to show how you can overcomplicate an explenation. Nobody knows this for some reason and thinks it is a real explenation.

  • @yuhhbaby3179
    @yuhhbaby31795 ай бұрын

    lol nice one dude

  • @dertyp6767
    @dertyp67675 ай бұрын

    Thanks thats a great tutorial. Good sound, straight the point. Appreciate!

  • @Sturmmoser
    @Sturmmoser5 ай бұрын

    😧

  • @TormentDaProtogen
    @TormentDaProtogen5 ай бұрын

    1:36 that series of repeated "error" messages at the end, as if it broke something somewhere in your software you can feel the rising, confusion-induced (and confusion-inducing) panic rising as the meme goes on

  • @ThatoneRussian153
    @ThatoneRussian1535 ай бұрын

    Nice background, dude.

  • @talhashah9594
    @talhashah95946 ай бұрын

    Now this makes a bit more sense

  • @MariaLuisa-qm2kn
    @MariaLuisa-qm2kn7 ай бұрын

    love this!!

  • @arelikorik5785
    @arelikorik57858 ай бұрын

    Пасиб! - Thank you! We has very simple joke in Russia. Three brothers caught a golden fish (magic creature from tales that can make wishes). It pleaded: - Release me, kind lads, and I will grant each of you three wishes. The brothers consulted and decided to let the fish go. The eldest brother spoke: - I want a sack of gold. The middle brother said: - I also want a sack of gold. But the youngest brother said: - And I want my hand to shake! They all looked at him, as if he were a fool, but said nothing. They continued making their wishes. The eldest and middle brothers wished for elaborately carved carriages, gilded from roof to wheels, the likes of which couldn't be found anywhere else in the kingdom. The youngest brother, however, continued with his odd requests: - I want my leg to shake! The brothers exchanged glances, thinking, "Well, he must have gone crazy." They made their final wishes. The eldest brother desired to become as strong as a lion, and the middle brother asked for two more sacks of gold, being greedy for money. As for the youngest, he simply said: - I want my head to shake! The fish granted their wishes. The lads returned home. The eldest and middle brothers rejoiced, anticipating a life of luxury and a lack of troubles. Meanwhile, the youngest brother walked, shaking, and thought to himself: - Damn, what a stupid wish I made.

  • @Irnbruist
    @Irnbruist8 ай бұрын

    I made it about half and thought I‘m really far already, crazy how much further I have to go. Really wanna finish it myself - thanks for sharing!!

  • @Melody_Raventress
    @Melody_Raventress8 ай бұрын

    💕 Love this, just love the... acceleration.

  • @moxnwxlf3063
    @moxnwxlf30639 ай бұрын

    I swear it’s always either symmetry or mercy’s on this piano

  • @pixelmace1423
    @pixelmace142310 ай бұрын

    Dumbed down/explanation version as translated by yours truly: The missile simulates where it is and how to reach the target with its guidance system. If it senses that its simulated position is different from its current position, it adjusts the simulation to make it more accurate. Example: The simulation says “oh move this fin clockwise to go left” The missile follows the simulations command but uh oh! It went RIGHT! “DAMN IT I WAS WRONG” says the system, so it fixes itself to not FUCK UP next time.

  • @wahtx7717
    @wahtx77174 ай бұрын

    Thank you

  • @user-mg9uf9rc5o
    @user-mg9uf9rc5oАй бұрын

    🤓

  • @gatorslife22
    @gatorslife22 Жыл бұрын

    The ironic part is that what he is saying is actually codeable

  • @konstantink.2127
    @konstantink.21272 ай бұрын

    I feel like because he says it in a way that's pretty much codeable right away, it is close to incomprehensible for most people lol.

  • @mr.ballstone1914
    @mr.ballstone19142 ай бұрын

    Well yeah because he’s just describing the code of the missile

  • @karoshn
    @karoshnАй бұрын

    kzread.info/dash/bejne/lW1oxKOFccqrfrA.htmlsi=4rTPpPK2hfw_sXdK this dude coded it in JS

  • @tjdragon7993
    @tjdragon7993Ай бұрын

    The only problem with his explanation is that he's using variable names that are incredibly confusing and unhelpful. This demonstrates the value of picking sensible, easy to understand variable names in your code.

  • @Pancakewagon26
    @Pancakewagon26Ай бұрын

    Probably because someone coded the computer systems in the missile.

  • @tellyshonestreviews1293
    @tellyshonestreviews1293 Жыл бұрын

    atleast you have them walking with the harness now. my cat which has the same harness would just lie down and do nothing. 😆

  • @ink2467
    @ink2467 Жыл бұрын

    i am the missile

  • @rent0
    @rent0 Жыл бұрын

    KZread algorithm might’ve just hit this one. V cute

  • @arlenewinfred3038
    @arlenewinfred3038 Жыл бұрын

    *Promo sm* 🎉

  • @mccoy2053
    @mccoy2053 Жыл бұрын

    I’m new here who is the voice in the background

  • @oflatt
    @oflatt Жыл бұрын

    That's my sister Sophie (:

  • @benhudson3604
    @benhudson3604 Жыл бұрын

    hopefully you can get just 18 deaths next time

  • @potatoking101
    @potatoking101 Жыл бұрын

    The packrat hard at work

  • @ztatlock
    @ztatlock Жыл бұрын

    Riveting battle!

  • @lenoxkomono2417
    @lenoxkomono2417 Жыл бұрын

    Got my Syms from paris, and they going gorrillas, huh?

  • @TSLMachine
    @TSLMachine Жыл бұрын

    Missed opportunity to throw the pulse bomb at an E key

  • @JoeOvercoat
    @JoeOvercoat Жыл бұрын

    1:23 That should not a include a question mark, much less two. Punctuation has a structure for a reason, and all of you need to stop using question marks simply because you lack any self-confidence such that you don’t know how to post a declarative statement that you’re unsure of. Jesus!

  • @oflatt
    @oflatt Жыл бұрын

    ???

  • @JoeOvercoat
    @JoeOvercoat Жыл бұрын

    @@oflatt Now that's an appropriate use of a question mark, in series even. We are making progress. Baby steps!

  • @user-tj1vg4zn5p
    @user-tj1vg4zn5p4 ай бұрын

    ¿

  • @maxime5257
    @maxime5257 Жыл бұрын

    abs(where it isn't - where it is) = abs(n't) = absent. QUICK MATH

  • @Megalomaniakaal
    @Megalomaniakaal Жыл бұрын

    Absinthe tend to do that to ya.

  • @deezniel2024
    @deezniel202410 ай бұрын

    That is true only if (where it is=n't/(n't-1))

  • @diamondthree
    @diamondthree7 ай бұрын

    quick maffs

  • @theta3404
    @theta34043 ай бұрын

    Wait but wouldn't |n't| be yes? Like a positive version of n't.

  • @alejrandom6592
    @alejrandom65922 ай бұрын

    Wait

  • @Iketa780
    @Iketa780 Жыл бұрын

    Ohh papi ❤❤