This Release is Insane!

Поділитися
Вставка
  • Опубліковано 18 чер 2024
  • Previous Episodes: • Music Visualizer
    References:
    - Tsoding - Musializer - github.com/tsoding/musializer
    - Raylib 5.0 - github.com/raysan5/raylib/rel...
    - nu11 - UA-cam - / @nu11_ft
    - nu11 - WIP Works 2016-2022 - / nu11-wip-works-2016-2022
    - Tsoding - Hacking C Compiler - • Hacking C compiler
    - lawrencehook.com/rys/
    Support:
    - BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9
    - Servers: zap-hosting.com/en/shop/donat...
    Chapters:
    - 0:00:00 - Announcement
    - 0:00:37 - Intro
    - 0:02:46 - ChangeLog: Platform Split
    - 0:03:18 - ChangeLog: SDL Platform
    - 0:04:17 - ChangeLog: Nintendo Switch Platform
    - 0:04:39 - ChangeLog: Splines
    - 0:04:57 - ChangeLog: RNGs
    - 0:06:17 - ChangeLog: Automated Events System API
    - 0:06:28 - ChangeLog: raygui
    - 0:07:22 - ChangeLog: Web Examples
    - 0:07:42 - ChangeLog: My Pull Request
    - 0:09:00 - We All Love React
    - 0:09:11 - Downloading Raylib 5.0
    - 0:11:35 - GitHub Being Silly
    - 0:13:26 - Unboxing Raylib 5.0
    - 0:14:48 - Compiling Raylib 5.0
    - 0:16:00 - Searching for the Legendary SDL Platform
    - 0:17:24 - Important Disclaimer
    - 0:17:45 - Trying to Build SDL Platform
    - 0:19:06 - Trying to Install SDL2
    - 0:21:00 - External SDL2
    - 0:25:08 - On Exploring Unknown Codebase
    - 0:27:40 - Building the SDL Platform
    - 0:28:33 - Trying out SDL Platform
    - 0:33:59 - nob
    - 0:37:28 - Configurable Raylib version
    - 0:38:01 - Musializer Build Parameters
    - 0:38:14 - Build Target
    - 0:38:34 - Why I don't use MacOS
    - 0:41:05 - Hotreload
    - 0:46:02 - Microphone
    - 0:47:36 - Raylib Version Parameters
    - 0:52:33 - It's fine to copy-paste code
    - 0:56:00 - Logging Build Config
    - 0:56:50 - Serializing the Config
    - 0:57:13 - Parsing the Config
    - 1:00:59 - Config Loading Bug
    - 1:02:38 - nob is experimental
    - 1:03:05 - Switching Raylib Version
    - 1:07:52 - C and Autodereferencing
    - 1:10:21 - Remove UA-cam Suggestions
    - 1:12:53 - Testing Musializer with Raylib 5.0
    - 1:15:21 - Donate to Raylib
    - 1:16:33 - Size of Musializer
    - 1:17:07 - Q: What do people use Raylib for?
    - 1:18:00 - Making up Excuses
    - 1:19:32 - MSAA x4 Bug
    - 1:25:32 - Outro
  • Наука та технологія

КОМЕНТАРІ • 93

  • @SR-ti6jj
    @SR-ti6jj 6 місяців тому +82

    This is my favorite react js channel

  • @user-ox6mt1lh7b
    @user-ox6mt1lh7b 6 місяців тому +241

    Idea for future video: basically fix some bugs on raylib or other open source programs, I think many people who are trying to contribute would find that very helpful plus you're supporting FOSS.

    • @shivashankar28
      @shivashankar28 5 місяців тому +1

      yes I would love that and he is very good at C programming. I would love to contribute to C based FOSS

  • @squ34ky
    @squ34ky 6 місяців тому +63

    11:50 the filename is usually specified in an HTTP header named 'Content-Disposition', like so:
    Content-Disposition: attachment; filename="filename.jpg"
    Likely, wget does not pay attention to that header.
    Edit: Apparently, wget has an experimental flag --content-disposition which if set to 'on' will try to sniff that out. I haven't tried it, though. (wow, look at that React experience came in handy)

    • @mbarrio
      @mbarrio 6 місяців тому

      github does this for multiple reasons, like package managers like "pacman"'s PKGBUILD.

    • @squ34ky
      @squ34ky 6 місяців тому +4

      @@mbarrio this is usually done when the download is not an actual file, but generated dynamically. I suspect Github is just gzipping the code referenced by the tag 5.0 and streaming it on-demand with the filename in the Content-Disposition header, so clients can set the filename themselves.

    • @dealloc
      @dealloc 6 місяців тому +3

      Haven't tried but I assume curl would look up this header by default, considering it's different from wget in that it's specifically tailored towards being a HTTP tool.
      Edit: Apparently not, you have to pass -J flag to use the filename from the content-disposition header.

    • @musdevfrog
      @musdevfrog 6 місяців тому +8

      tsoding get owned by a react dev.

    • @ecosta
      @ecosta 4 місяці тому

      Content-Disposition is an e-mail header which was shoehorned into HTTP. It is a HTTP hack to serve something called "5.0" and expect agents to translate it to something else.

  • @ade5324
    @ade5324 5 місяців тому +6

    1:10:21 i 100% agree with "youtube suggestions being bs" statement
    I used to use an extension to disable them, but now i found out that i can just disable youtube watch history, and it does the same thing, without an extention.

  • @exciting-burp6613
    @exciting-burp6613 6 місяців тому +24

    The RNG can be important because some games (e.g. old-school Age of Empires) run independent simulations on each machine in multiplayer, so random outcomes on each machine have to match perfectly. It's also useful for allowing users to enter a seed to share and generate the same map (e.g. Minecraft).

  • @filipbook5605
    @filipbook5605 5 місяців тому +6

    It is so refreshing to watch you speak about topics like "it's fine to copy-paste code" with balance, like a grey scale, not black or white.

    • @__Brandon__
      @__Brandon__ 4 місяці тому

      Not exactly sure copy-paste was the correct solution this time around though. While he is typically right about DRY, this entire video was fixing the problems caused by not having the version number be a variable. Magic numbers shouldn't be copy and pasted ever

  • @quintencabo
    @quintencabo 5 місяців тому +2

    I literally started using the same yt plugin last week. Cool to see. I also really like it. You can also actually hide the home page fully with a button on the extension.

  • @Highwind_
    @Highwind_ 6 місяців тому +14

    26:25 When I was at High School I did try to compile some C++ libraries with the wrong versions of compiler and dependencies, my assumption was "it's newer so it's better". Recalling that in a fun way I would say it's like having a time bomb in your ass that can blow up at anytime, making you butthurt of so many unfixable errors. I quit programming until I started college XD.

  • @PyguK
    @PyguK 6 місяців тому +10

    wouldn't find your channel without the yt suggetions...
    So, its not bad for dicovering new things

  • @TurtleKwitty
    @TurtleKwitty 6 місяців тому +4

    It's not impossible to static link SDL2, BUT it goes very much out of its way to use system linked if possible because that's how it has such a wide compatibility by relying on systems having a proper version for it's quirks

  • @ohmyginger-1623
    @ohmyginger-1623 5 місяців тому +5

    There's nothing more permanent than a temporary solution

  • @farghostable
    @farghostable 6 місяців тому +2

    Also, if you turn off youtube watch history recording, it will now disable suggestion feed as well.

  • @0xCAFEF00D
    @0xCAFEF00D 5 місяців тому +1

    About the 6:00 RNG
    I read the article he posted. It's not really that he made a well tailored. In fact the article expresses regret that he hasn't learned enough about RNG to address the problem directly. The original RNG he was using wasn't sufficiently random so he had to work around it with a table of high quality seed values. There's a lot of "mixing numbers in a bowl" as he put it, also.
    What I found cool about the system he describes is that he doesn't store the particles and simulate them forward like you normally do. Seems to me all he stores is the parameters of the system (emission rate for the entire system). He seeds each particle and simulates them forward from spawn time every frame. So there's no inconsistencies regardless of which frame you're coming from (with the braid time travel).

  • @glowiak3430
    @glowiak3430 6 місяців тому +17

    I made a raylib binding for COBOL. Is anyone interested in this archaic language?

    • @SadShiry
      @SadShiry 6 місяців тому

      Bro 💀 i work on RPGLE 😬
      Edit: not rpg free… I mean the fixed version 😀🔫

  • @samdavepollard
    @samdavepollard 2 місяці тому

    "the shit may break" - words to live by

  • @monad42
    @monad42 5 місяців тому

    SDL_INCLUDE_PATH is configured in the Makefile using ?=, which should mean that if you have that variable in the environment it would get inherited. Therefore, I think by "this MUST be configured by the user" the raylib authors actually meant that you should specify the include path and library path to your globally installed SDL, instead of cloning SDL into the external library directory.

  • @InuXela
    @InuXela 5 місяців тому

    I've tried a drinking game, taking a shot every time you say "so".
    Drank my month's supply of Baileys in 30 minutes🎅

  • @ntoslinux
    @ntoslinux 5 місяців тому

    thanks for RYS extension

  • @bibliusz777
    @bibliusz777 6 місяців тому

    With content-addressable storage like in Unison, I would imagine that copypasting actually is compressed

  • @divingeveryday
    @divingeveryday 6 місяців тому +8

    Should it even count as a major version change if nothing broke? (getting closer to seeing these live...)

    • @TsodingDaily
      @TsodingDaily  6 місяців тому +11

      I don't actually know if anything broke. Maybe I was just not using anything that broke. ¯\_(ツ)_/¯

    • @SENTRY456123
      @SENTRY456123 5 місяців тому

      You know modern softwares are too complicated when someone says nothing breaks with a major version change.

    • @Aoredon
      @Aoredon 4 місяці тому

      No, the whole point of a major version change is to indicate that there will be backwards incompatible changes made according to Semantic Versioning.@@SENTRY456123

  • @designerfuzzi
    @designerfuzzi 5 місяців тому

    Can Erlang parse MIDI buffers (in example Sysex) super efficient cause of its filter like features you showed us?

  • @Crux161
    @Crux161 6 місяців тому

    Ahh! I missed the stream 😞 I didn’t get the notification like last time

    • @cobbcoding
      @cobbcoding 6 місяців тому +2

      @@basicallyeveryone yeah november 23rd

  • @ProjectV95
    @ProjectV95 5 місяців тому +4

    45:28 That's my chat message being featured by the all-powerful zozin!
    Context: someone was confused as to Tsoding's usage of "DLL" to describe the hot reloading feature - I also didn't think it needed clarifying, but oh well

  • @ecosta
    @ecosta 4 місяці тому

    40:20 I have to use MacOS in my job and the issue I see is how locked it is. Hard to customise anything. But this can be a blessing, because you need to manually deactivate its security features if you want said customisation. Bad for tinkering, but good for an average user. And Tsoding is right: it feels like UNIXy to me. Specially because I go against all trends and I use terminal 90% of my time (like coding in VIM inside a terminal, automations via terminal, etc).

  • @Forbiiden
    @Forbiiden 5 місяців тому +1

    GYAT

  • @ZephyrCubic
    @ZephyrCubic 4 місяці тому

    in my non-expert opinion, from making anti-aliasing myself this past week, those dots of darkness could be clipping in the alpha channel, where it exceeds the maximum value during anti-aliasing, and rolls over to a near zero value when truncated

  • @dimabelya8338
    @dimabelya8338 5 місяців тому

    on mac, musislizer scroll bar is broken. it works as if it thinks theres onle a portion os the song, so after a while the bar disapears but the song continues playing.

    • @TsodingDaily
      @TsodingDaily  5 місяців тому

      I have no opportunity to check it, since I don't have mac. But I think I know what it is and I think I fixed it at commit 7ba2fc25cebb68fac9f3249d2c045430d91ccb23

  • @9ss633
    @9ss633 6 місяців тому

    Cool stuff

  • @ludwintor4986
    @ludwintor4986 6 місяців тому +3

    1:11:50 tbh, I have absolutely opposite situation. I have subs on channels that I really like but overtime, I just started to use suggestions and as for me, youtube really often shows me what I like to watch (especially it suggests me to always watch videos from channels where I watch all videos, like yours) so I completely forgot about "Subscriptions"
    привет

  • @walterfairfax6043
    @walterfairfax6043 5 місяців тому

    Is it intended behaviour when it plays the last song after a multiple file d&d?

  • @xravenx24fe
    @xravenx24fe 6 місяців тому +1

    Not sure if this is relevant as im only through part of the video, but Debian and its derivatives putting the SDL2 headers inside the subdir SDL2 in /usr/local/include and not the base directory was an annoying quirk. Gotta love it when the distro meddles with how libraries are installed, makes for a good time

    • @anon_y_mousse
      @anon_y_mousse 6 місяців тому +1

      Most systems do that. It's intentional for a reason, because you may not have permission to access /usr/include but will for /usr/local and it also aids in installing multiple versions. I've got SDL 1.2 and 2 installed both, so it avoids conflicts with those two versions.

    • @dutchdykefinger
      @dutchdykefinger 5 місяців тому

      i'm on windows
      wouldn't wish it on my worst enemy for programming c++ lol
      every library is a headache without exception
      even using msys2 and pacman isn't bulletproof, but hey it managed to structure something sensible.
      i'm sick and tired of all these goddamn package managers anyway...

  • @alh-xj6gt
    @alh-xj6gt 5 місяців тому

    nob the mvp again showing off. like pressing a knob and it just works.
    on youtube suggestion. I only use subs view and sometimes on the right side in context with the video there are good suggestions.

  • @hatkidchan
    @hatkidchan 5 місяців тому +1

    8:10 oh it does feel nice to have changes in public API accepted, {Attach,Detach}AudioMixedProcessor are the ones I added (also quite simple ones), and actually I was thinking you gonna use them for the musializer! They work exactly the same way as the ones you use, except they work on the mixed audio instead

  • @user-ys4tj3jj7y
    @user-ys4tj3jj7y 4 місяці тому

    how did you created your profile avatar?!

  • @VojtaJavora
    @VojtaJavora 6 місяців тому +2

    Wouldn't adding functions into API also count as breaking change and therefore warrant bumping the major version?

    • @TsodingDaily
      @TsodingDaily  6 місяців тому +8

      I dunno, I feel like adding new functions does not really break the old code that does not use them.

    • @VojtaJavora
      @VojtaJavora 6 місяців тому +1

      @@TsodingDaily true, but considering no namespacing, what if you have your own function which name collides with a new raylib function.

    • @TsodingDaily
      @TsodingDaily  6 місяців тому +3

      Renaming a function is a trivial change that could be implemented even automatically in the majority of the cases. For any Competent Developer it is never a show stopper. And bumping the major version for that is just counter-productive at best.

    • @VojtaJavora
      @VojtaJavora 6 місяців тому +1

      @@TsodingDaily doesn't matter. The only question is: does it compile?

    • @VojtaJavora
      @VojtaJavora 6 місяців тому +2

      Or maybe it's none of this. Maybe raysan doesn't use semver and just likes increasing numbers.

  • @ismailesadklc3874
    @ismailesadklc3874 5 місяців тому

    you have a voice like butter

  • @RandomGeometryDashStuff
    @RandomGeometryDashStuff 6 місяців тому

    01:15:01 browsers can (maybe too much)

  • @fragboy7621
    @fragboy7621 6 місяців тому +3

    No my web shit technology cant do that. It breaks even on minor versions :)

  • @9ss633
    @9ss633 6 місяців тому

    Could you do wayland

  • @xspager
    @xspager 6 місяців тому

    Even I am a contributor of Raylib lol

  • @nanothrill7171
    @nanothrill7171 4 місяці тому +1

    russian hacker reported for sudoing on own computer

  • @DMWatchesYoutube
    @DMWatchesYoutube 6 місяців тому +4

    I bet your browser is giving more info that they use to throttle you compared to wget

    • @dutchdykefinger
      @dutchdykefinger 5 місяців тому

      is the joke on them again when you make a slow loris attack script? :D

  • @NikPiermafrost
    @NikPiermafrost 5 місяців тому +1

    40:53 Well it's bsd based so yeah

  • @johan.mp4
    @johan.mp4 5 місяців тому

    You don't have to hide suggestions on UA-cam to just watch your subscriptions. Not sure how you came to that conclusion..?

  • @b0ryakha
    @b0ryakha 5 місяців тому

    очень нравятся твои стримы, а почему не снимаешь на русском? учишь так английский? я тоже с нск

    • @TsodingDaily
      @TsodingDaily  5 місяців тому +1

      Поначалу - учил. А сейчас уже сформировалась постоянная англоязычная аудитория, и если что-то на русском делать, то это надо уже отдельный канал создавать, все дела. Я подумаю что могу сделать. :)

    • @alh-xj6gt
      @alh-xj6gt 5 місяців тому

      In desperate need of star treks universal translator.

  • @tensorx4812
    @tensorx4812 6 місяців тому

    How do I join the discord server

    • @JasonShi-xc7nu
      @JasonShi-xc7nu 6 місяців тому +2

      there's a link on his twitch page

    • @tensorx4812
      @tensorx4812 6 місяців тому

      @@JasonShi-xc7nu thanks

  • @jayachandra677
    @jayachandra677 6 місяців тому

    Can you make a minecraft clone in Raylib? or you can't do that????

  • @ujjawalsinha8968
    @ujjawalsinha8968 6 місяців тому

    If it was only 3435

  • @GarrethandPipa
    @GarrethandPipa 4 місяці тому

    well just like trying to get out of the army by "shooting yourself in the FOOT" it is way more fun to use the wrong version then bitch about what a shit piece of software to not use some crazy build system.
    Which is why I stopped deving for open source 25 years ago because we are all a bunch of assholes who know half as much as we think we do.

  • @GRATHRRAM
    @GRATHRRAM 5 місяців тому

    btw SDL3 exitst

  • @boris---
    @boris--- 2 місяці тому

    - 0:17:24 - Important Disclaimer
    is my honest reaction on this unboxing video

  • @cofeek-codes7607
    @cofeek-codes7607 5 місяців тому +1

    p5_1.ogg from 1:14:08?

    • @TsodingDaily
      @TsodingDaily  5 місяців тому +1

      soundcloud.com/nu11_ft/nu11-wip-works-2016-2022 at 17:21

    • @cofeek-codes7607
      @cofeek-codes7607 5 місяців тому

      Huge thanks, Mr.Zozin@@TsodingDaily

  • @noctavel
    @noctavel 5 місяців тому

    1 thing I often see myself doing while watching your videos: scrolling down to like the video and finding out I have already liked it 🥲