ASCII Art, Curses, and my New 25K Play Button

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 มิ.ย. 2024
  • Patreon ➤ / jacobsorber
    Courses ➤ jacobsorber.thinkific.com
    Website ➤ www.jacobsorber.com
    ---
    ASCII Art, Curses, and my New 25K Play Button // My channel just turned 25,000, and I thought I would celebrate by teaching you a little about the ncurses library, and use that library to create my own ASCII Art 25K play button. Thank you all for your support.
    ***
    Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.
    About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.
    More about me and what I do:
    www.jacobsorber.com
    people.cs.clemson.edu/~jsorber/
    persist.cs.clemson.edu/
    To Support the Channel:
    + like, subscribe, spread the word
    + contribute via Patreon --- [ / jacobsorber ]
    + rep the channel with nerdy merch --- [teespring.com/stores/jacob-so...]
    Source code is also available to Patreon supporters. --- [jsorber-youtube-source.heroku...]

ความคิดเห็น • 68

  • @demoosaad8579
    @demoosaad8579 3 ปีที่แล้ว +18

    I wish I had this man as my CS prof, literally he is the best.

  • @KashfiFahim
    @KashfiFahim 3 ปีที่แล้ว +17

    Congrats! May the Algorithm lead you to greater growth and success

  • @laukik17
    @laukik17 3 ปีที่แล้ว +1

    Your channel helped me a lot during my interview prep to help secure me an Embedded Systems job! Thanks a lot Dr. Sorber and looking forward to more and more videos!

    • @JacobSorber
      @JacobSorber  3 ปีที่แล้ว +2

      Wow. Congrats! I'm glad I was able to help.

  • @owenphillips8758
    @owenphillips8758 3 ปีที่แล้ว +5

    You’re already at 26.5k subscribers! This is amazing Dr. Sorber!

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

      I know. Things are moving. Hope you're doing well.

  • @sami-qv4st
    @sami-qv4st 3 ปีที่แล้ว +1

    I have been watching your videos for a while, but never got to say how amazing the resources you provide are.
    Congratulations for your subscribers, and thank you for your work!

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

    Hearty congratulations sir... for 25K...... StaySafe StayBlessed

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

      Thanks, Kasim!

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

      @@JacobSorber sir I have figured out core aspects of Microsoft C/C++. Since 2015 they have brought standard C++(Currently they have C++17) as language projection for library called c++/WinRT. You can check on their official website too. Standard C++ implementation is major requirement for Javascript bridge and achieve PWAs.

  • @MeeroSom
    @MeeroSom 3 ปีที่แล้ว +1

    wow, yes :D the green matrix running characters would be not uninteresting. Dr Sorber, please keep doing this and have the same fun as we do.

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

    I may repeat myself but i already see u with 200k subs ^^

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

    Some time ago, but CONGRATS from me as well! One of the best C ressources here around. Always a pleasure to see you in action. Much to learn in nice little chunks. Great format, especially that you are time laps coding while speaking. Hope to see much more on this channel ❤️ ...and maybe another C programming course? Best wishes!

    • @JacobSorber
      @JacobSorber  3 ปีที่แล้ว +1

      Thanks, Thomas. Great to hear from you. I hope life's treating you well. I've definitely got more videos coming. And, while it's been a wild year, I do plan to be doing some more course-related stuff in the coming months.

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

      @@JacobSorber 👋 Thank you, I am fine. Absolutely, crazy times. But good times to improve my C programming skills. Great news, would love to take part in another course! Hopefully see you and other participants in the screen. So long all the best for you and your family. ☀️

  • @zheil9152
    @zheil9152 3 ปีที่แล้ว +4

    Congrats! I would love to see some more embedded videos like utilizing an RTOS on the AVR or MSP. Also, how do you compile/load to your MSP these days? I tried downloading the tools from your in-depth blink video (I hate CCS with a passion and love your VSCode workspace), but the compiler toolkit you listed no longer works on MacOS due to it being 32bit and TI deprecating the compiler

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

    Congrats on 27k Dr. Sorber.
    Btw theres a missing video in youtube, Im looking for one explaining differences between GCC, MinGW, CygWin, Clang, etc. Its confusing to newbies like me on what to use in windows or linux. At some point we want to understand what are the compiler capabilities like how to unlock c11 c17 features and compare em with our embedded C compiler to take the most out of it.
    Ive realize that learning C in PC and then move to embedded is easier than the opposite.
    You are my and probably our last hope. I dont know more trusted C experts in youtube.
    (Pardon me if I dont use proper english and technical jargon, foreign newbie here)

  • @marusdod3685
    @marusdod3685 3 ปีที่แล้ว +9

    opengl: *exists*
    ncurses: im gonna destroy this whole man's career

    • @stephen9849
      @stephen9849 3 ปีที่แล้ว +2

      Vulkan: I exist btw

    • @LANstorm.
      @LANstorm. 3 ปีที่แล้ว

      @@stephen9849 DirectX: hold my beer

  • @artemiocabrillosjr.244
    @artemiocabrillosjr.244 3 ปีที่แล้ว

    Congratulations on reaching 25K subs Jacob. For me, this channel has helped many aspiring programmers. My students also appreciate the topics that you introduce in this channel. Keep up the good work in educating young programmers across the globe.
    Maraming Salamat (means "Thank you" here in the Philippines!) :D

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

    Hey, thank you so much for all your videos. they're so good, plus they help a lot. keep up the great content :D

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

    Congrats, keep up the great work :)

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

    Congrats 🎉! Love your videos!

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

    First video this morning . Hmm , a way to start the day. Appreciate your lessons and may this channel prosper even more!

  • @J_Tanzanite
    @J_Tanzanite 3 ปีที่แล้ว +6

    Congrats on 25k!
    Anyway, recently, I got fed up with my text editors, and I decided that I would make my own.
    Just because it would be a great learning experience, so far, things are going great.
    Naturally, I am using ncurses, however ncurses has one major issue which is a tad annoying.
    Ncurses will allocate memory and not free it all, meaning that checking for memory leaks with valgrind is... Shall we say... Not fun?
    I checked online for a solution to this, but couldn't find one other than "recompile ncurses yourself"... Oof... ;~;

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

      Cool project. How much memory is it holding on to?

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

      @@JacobSorber Guessing you're asking how much ncurses is holding on to. It varies, but around 40KB to 60KB (That's how much memory it doesn't free, basically. I've read online this is done for performance reasons).

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

      @@J_Tanzanite If that piece of memory has a pointer attached, then you can copy the pointer and free it yourself anytime you want. Or should be.
      I wonder why ncurse would keep a memory, though. Isn't it just VT100 escape codes with different terminal settings (raw/cooked, echo/no echo)?

    • @J_Tanzanite
      @J_Tanzanite 3 ปีที่แล้ว +1

      ​@@simpletongeek Sadly the leak is entirely within ncurses, and not exposed to you unless you change the sourcecode of ncurses...
      As for why it does this: invisible-island . net/ ncurses/ncurses.faq.html#config_leaks (remove spaces, because google is mean and hates links ): )
      So either I have to update ncurses myself to remove this annoyance... Or just get used to it.
      There are some good news tho, valgrind reports this leak as "still reachable" and not "definitely lost", so the pointers within ncurses still point to the memory allocated when the program quits. And as long as "definitely lost" is 0, then I should be good to go...
      ...
      I think...
      ... Still prefer if it would just free the memory so I could get the reassuring message: "All heap blocks were freed -- no leaks are possible"

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

    I would love to see a video about the matrix thing. Keep up the good work and go tigers!

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

    Congratulations on 25,000! Your C programming videos have been really helpful; I would recommend doing some videos on Graphics Libraries. Maybe if it is possible to do something on OpenGL in Visual Studio Code? Regardless, Good Stuff!

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

    Grats on reaching 25k subs !

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

    Hey jacob, i'm learning C NCurses right now, and i'm really struggling with multi threading timing and non blocking I/O in my program.
    For example: I'm creating PacMan with NCurses and i don't know how to change the ghosts velocity without changing the pacman velocity too.
    Also would love if you talk more about that matrix thing, i'm looking forward to try create one in my next personal project :D

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

    We've hit 30k. Is it something-fancier time?

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

    nice

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

    Video will have to be soon updated. I hope that by the end of this year the channel reach 100k great subscribers and SW enthusiast. The larger "dream team" is, more possibilities will occur. Have a nice day

  • @Vulto166
    @Vulto166 ปีที่แล้ว +1

    25k subs pfff we are 95 now and soon we'll be 100k.
    xD

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

    Can u make a video about how to understand flow of any source code repository?

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

    Man, I love the C language, but the only issue I have with it after coming from C++ is how messy it can be.
    If you don't use your brain or have little experience ( god help beginners ), your code can come out looking like a ball of garbage.
    Something I'm just stuck to for organization recently has just been to copy the Windows enterprise style-- It's objectively bad-- however, it's better than just slamming a million independent structs in your main functions and praying that they wont look all stuffed.
    Either way, happy 25,000 subs!

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

    how to determine the that , wheather your system is 1s complement or 2's complement
    why negative numbers are stored as 2s complement .... reason ?

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

    Welcome to the "Introduction of Computer Graphics"

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

    Is this what is used for the menuconfig used to configure the linux kernel?

    • @JacobSorber
      @JacobSorber  3 ปีที่แล้ว +1

      Not 100% sure, but programs like that are often using some flavor of curses.

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

    Does anyone know which editor he is using?it looks like vscodium bu I'm not sure

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

    Sir Jacob , İ watched your process video . But my compiler does not support fork() function . İt support pthread.h but not fork pls tell me A compiler what support fork function

  • @ivanzvonimirhorvat9744
    @ivanzvonimirhorvat9744 3 ปีที่แล้ว +1

    Can you make it responsive

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

    Hey jacob why don’t you talk about linux kernel from a practical perspective I mean compiling and loading to vm for embedded

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

      Just to clarify. Are you wanting to see how to compile the linux kernel and load it onto and embedded device? Or just load a custom kernel onto a VM?

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

    Do something with dearImgui

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

      I haven't played with that one. I'll check it out.

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

    How do you only have 25k?

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

    i am really intrested in matrix art . i am trying to figure out about a month now. thank you for this curses tutorial . i thought it was. supported only in linux. i was wrong.
    tutorial reuest
    can you please make a tutorial on getting console buffer and doing ascii animations in c . maybe unicode as well with colored characters . that would be great

  • @jordanemmett23
    @jordanemmett23 3 ปีที่แล้ว +1

    first

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

    Recommend some channel for linux , embedded Linux just like yours .... perfect, short ,up to point, simple content