Tech Ma
Tech Ma
  • 5
  • 22 627
VirusGame reimplemented in Rust [Part 1]
The last few weeks on my spare time I've been working on reimplementing carykh Virus simulator in Rust.
So far it's just a very barebones implementation, missing lot's of functionality and with a few differences.
Main differences:
- Instead of codons being in pairs, here they are read sequentially to allow for more freedom.
Missing functionality:
- UGOs
- Proper food system (for now cells get energy the moment food touches theim)
If you want to follow this project, feel free to visit: github.com/ashirviskas/VirusGameRust
Contributions are welcome!
มุมมอง: 12

วีดีโอ

Veloren - Sceptre Cave Battle
มุมมอง 3892 ปีที่แล้ว
Veloren is totally free game, you can get it here: veloren.net/ It's fun luring them into a single place and then having a nice battle. Though it's even more fun with higher FPS when it's not recording :')
Tutorial: How to count pixel percentage of a certain shade in an image [GIMP]
มุมมอง 1.3K3 ปีที่แล้ว
A quick demo/tutorial of how to count pixels of certain shade in an image using GIMP Skip to 2:41 for result There are a lot more effective ways of doing this, but this is the first I found that worked for me.
The Mental Game of Python - Raymond Hettinger [synced version]
มุมมอง 21K4 ปีที่แล้ว
All credit goes to SF Python: th-cam.com/channels/51aOZF5nnderbuar5D5ifw.html Timestamps (credit: Станислав Купряхин): 00:00 Intro 02:47 Overview of strategies 05:41 Strategy: Chunking and Aliasing 09:36 Example: Random module 22:05 Strategy: Solve a related but simpler problem 23:09 "The Feynman Algorithm" 35:58 Strategy: Build classes independently and let inheritance discover itself 47:32 St...

ความคิดเห็น

  • @futurepython6774
    @futurepython6774 2 ปีที่แล้ว

    python/django/mysql新教程: python基础:th-cam.com/video/g6RnSRDjd5M/w-d-xo.html

  • @andreienache6290
    @andreienache6290 2 ปีที่แล้ว

    Anyone could place a big comment on the last part, object oriented as graph traversal ? I understood it well but I’d love to hear someone else consideration. Thanks 🙏🏻

  • @andreienache6290
    @andreienache6290 2 ปีที่แล้ว

    👏🏻👏🏻👏🏻👏🏻👏🏻 how helpful this man is ..

  • @joseville
    @joseville 2 ปีที่แล้ว

    Just making a note here: 0:00 -- Overview - Ten Strategies that Work! 5:40 -- Strategy 1: Chunking and Aliasing (manage cognitive load and reduce complexity) 22:08 -- Solve a related but simpler problem / Incremental Development -- Apply Feynman problem solving method: 1. Write down a clear problem spec. 2. Think very hard. 3. Write down the solution. "The computer gives us words that does things. SWEs make new words that make computers easier to use" lol

  • @joseville
    @joseville 2 ปีที่แล้ว

    Nice! Not only did you sync! But you also added timecodes. Thanks so much!

  • @apdy27
    @apdy27 2 ปีที่แล้ว

    thank you so much! you are a hero!

  • @stkupr
    @stkupr 3 ปีที่แล้ว

    Timestamps: 00:18 Intro 02:47 Overview of strategies 05:41 Strategy: Chunking and Aliasing 09:36 Example: Random module 22:05 Strategy: Solve a related but simpler problem Strategy: Incremental development Example: Tree Walker 23:09 "The Feynman Algorithm" 35:58 Strategy: Build classes independently and let inheritance discover itself Example: validators 47:32 Strategy: Repeat tasks manually until patterns emerge, then move to a function. Continue to generalize as needed. Example: Convert CSV to XML 1:04:15 Strategy: Consider object oriented programming as a graph traversal problem Example: Kaprekar Function

  • @Asdayasman
    @Asdayasman 3 ปีที่แล้ว

    People like you are absolute kings. AV desync is so annoying and SO prevalent.

  • @Savukala
    @Savukala 3 ปีที่แล้ว

    Thank you my kind sir!

  • @michalwasaznik143
    @michalwasaznik143 3 ปีที่แล้ว

    I'm so glad I clicked on this.

  • @wlgrd7052
    @wlgrd7052 3 ปีที่แล้ว

    Thank you

  • @brucebenik2
    @brucebenik2 3 ปีที่แล้ว

    20:51 what is the k=10. I can't reproduce his results for this instance.

    • @geurgeury
      @geurgeury 3 ปีที่แล้ว

      k=10 is the number of choices you want the "choices" function is only available in python 3, sound like you might be using python 2

  • @akbarghurbal
    @akbarghurbal 3 ปีที่แล้ว

    Please TH-cam Algorithm, recommends more videos like this one.

    • @techma82
      @techma82 3 ปีที่แล้ว

      Thank you for your kind words! Though all credit goes to the original creators, I just synced it.

  • @juanignaciosanchez2202
    @juanignaciosanchez2202 3 ปีที่แล้ว

    Thanks!!!!! really appreciate the sync work!

  • @vwwvwwwvwwwvwwvvwwvw
    @vwwvwwwvwwwvwwvvwwvw 3 ปีที่แล้ว

    Around 1:03:50, I think the speaker could have redefined the root element using the refactored code like this: root = add_element(None, 'contact_list', status=..., company=...) Otherwise, the line "if parent is not None" is unnecessary.

    • @robertkelleher1850
      @robertkelleher1850 2 ปีที่แล้ว

      You are correct. He said it, he just didn't do it. He said "It generalizes to this one" and pointed to the root. He just didn't finish rewriting the code there. I think he noticed he was running out of time.

  • @vwwvwwwvwwwvwwvvwwvw
    @vwwvwwwvwwwvwwvvwwvw 3 ปีที่แล้ว

    The proposed solution in the Tree Walker example (around 23:00) is the function path_to(target, node) but path_to does not fully address the problem specification! The problem states: "Given a target find the path to it, starting with any node in a tree." The function path_to will only solve those problems when a target exists further down the tree than the given node; otherwise, path_to will not find the target! I propose changing the problem specification to "Given a target and a json document given as a Python object, find the path to it."

  • @fanu4059
    @fanu4059 3 ปีที่แล้ว

    Thank You Tech Ma

  • @techma82
    @techma82 3 ปีที่แล้ว

    0:55 it has to be all RED, 255 RED in colour picker and 0 for Green and Blue

  • @techma82
    @techma82 3 ปีที่แล้ว

    0:25 I click "delete"

  • @sasucarefree4694
    @sasucarefree4694 4 ปีที่แล้ว

    Luke Skywalker can code???😵😀

  • @JimmCracker
    @JimmCracker 4 ปีที่แล้ว

    When he talked about being able to do post mortems on code, fix it, and have code continue where it left off, he basically described the condition system in Common Lisp

  • @TheDekeyras
    @TheDekeyras 4 ปีที่แล้ว

    I almost gave up on the original video but decided to scroll to the comments to see if it was just me... lo and behold your video was linked. Thanks for the effort

    • @techma82
      @techma82 4 ปีที่แล้ว

      I'm glad you found it useful!

    • @godfather7339
      @godfather7339 3 ปีที่แล้ว

      @@techma82 massive respect.

    • @godfather7339
      @godfather7339 3 ปีที่แล้ว

      btw, you could have used something to download the video, and then used a player like vlc to shift the audio.

  • @Diachron
    @Diachron 4 ปีที่แล้ว

    Thank you for taking the time to fix this. Well worth the effort to salvage a great talk.

  • @tommckeesick781
    @tommckeesick781 4 ปีที่แล้ว

    Massive legend! I was going to do this myself it was driving me crazy, thanks for putting in the effort! Fixes an awesome talk

  • @jocketf3083
    @jocketf3083 4 ปีที่แล้ว

    Awesome work! Thank You!!

  • @keshavnemeli
    @keshavnemeli 4 ปีที่แล้ว

    Thank God I found this after I watched only 15 min of the original.

  • @locanix
    @locanix 4 ปีที่แล้ว

    Thanks a lot bro!

  • @csmole1231
    @csmole1231 4 ปีที่แล้ว

    didn't expect 5 sec of sync would be this helpful! thx a lot! my tiny brain now work just fine!

  • @bekabest
    @bekabest 4 ปีที่แล้ว

    Thanks!

  • @josh8778leong
    @josh8778leong 4 ปีที่แล้ว

    Thanks for the work of syncing