Тёмный

Hacking GNU utilities - m4 

Tsoding Daily
Подписаться 128 тыс.
Просмотров 27 тыс.
50% 1

Опубликовано:

 

7 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 109   
@ros1877
@ros1877 День назад
The windows background caught me off-guard
@cranil
@cranil День назад
He did the same in the previous video 😑
@Starlok007
@Starlok007 День назад
Windows jumpscare
@udayakumar-iv7ng
@udayakumar-iv7ng День назад
Same
@monad_tcp
@monad_tcp День назад
autom4te is what scares me
@TEHNOTRAHER
@TEHNOTRAHER День назад
the bg scared the shit out of me
@davydorynbaev
@davydorynbaev День назад
a'mister a'zozzing
@corvoworldbuilding
@corvoworldbuilding День назад
Runglish is very entertaining to hear.
@jiulh
@jiulh День назад
> a peaceful stream recording > subtittles on 4:35
@alishxn
@alishxn 2 часа назад
That's penger 😂
@oserodal2702
@oserodal2702 День назад
The functional like patterns of the language was creeping me out, and then as I watched through the video, I realized that M4 was, in fact, a stack based language.
@TsodingDaily
@TsodingDaily День назад
Ooooo! Now I get what obstack was!
@theevilcottonball
@theevilcottonball День назад
I am too young for this, but I always imagine that stack were the super hot new thing in the 70s.
@WHYUNODYLAN
@WHYUNODYLAN День назад
There was a guy at my work who was a big fan of m4. He wrote a script generator in it and it took 3 hours to run. Another coworker ported it to Python and it went down to 17 seconds.
@TsodingDaily
@TsodingDaily День назад
Who said Python is slow hah!
@thundertastic896
@thundertastic896 День назад
rewrite it in c just so it runs in 17 nano seconds
@rj7250a
@rj7250a 20 часов назад
At least is has "implict :: none" to fix it, C++ has bad defaults and there is no language features to change it, need a linter.
@wissotskeh
@wissotskeh День назад
Subtitles hijacked by penger ASCII art rendering in top of the video
@valley-artifact
@valley-artifact День назад
there's something so funny about using a macro language exclusively for side-effects and "troubleshooting" when it actually generates anything, one of your most unique stream ideas
@samuelwaller4924
@samuelwaller4924 День назад
I love this channel so much. I've wanted this for a long time
@bbq1423
@bbq1423 День назад
Yes, the time has come to use programming languages as build systems and build systems as programming languages.
@multicoloredwiz
@multicoloredwiz 18 часов назад
That's what I love about mister zozen!
@maman14141414
@maman14141414 22 часа назад
Fun story the c preprocessor is actually a standalone executable that can be used by it self, and before the production js bundlers existed i used it us a js bundler
@Googlplex-o7l
@Googlplex-o7l День назад
I already miss the Penger folder.
@Mozartenhimer
@Mozartenhimer День назад
I love these backgrounds.
@azergante8268
@azergante8268 День назад
Coming soon "sand to Raylib in 2 hours" by Tsoding
@RukopisyNarnie
@RukopisyNarnie День назад
About shitty defaults, there is fortran with implicit types based on first character on variable name...
@replikvltyoutube3727
@replikvltyoutube3727 День назад
Optimal
@chri-k
@chri-k 17 часов назад
i mean, that had a purpose
@RukopisyNarnie
@RukopisyNarnie 14 часов назад
@@chri-k it has, but it still is shitty default
@chri-k
@chri-k 14 часов назад
@@RukopisyNarnie the whole point is that you can't afford the space to change defaults. Modern fortran no longer does that (by default anyway)
@RussTeeTrombone
@RussTeeTrombone День назад
Is another recreational programming session witha mista sausage 🎉
@mxlje
@mxlje День назад
So far I have watched 4mins of this video and feel the urge to comment "You’re crazy". Can’t wait to watch the rest. Also say what you want about the default blank lines and dnl (of course that’s dumb) but there is just something cool about using a piece of software that is 50 years old that was written by K&R themselves. Edit: 23:30 lol
@vxcute0
@vxcute0 День назад
next time, we will gonna make our toaster call raylib.
@thepaulcraft957
@thepaulcraft957 День назад
I shat myself because of your bloody wallpaper
@rnts08
@rnts08 День назад
Darkreader, my friend. It will automatically choose dark mode for you or use a custom style to remove flashbangs like you suffered around 11:00.
@bbq1423
@bbq1423 День назад
Waiting for the follow-up video with raylib from makefile
@kernelk1931
@kernelk1931 День назад
i just followed the hawktui organization to just laugh at the meme
@gilligan87
@gilligan87 21 час назад
He's still in Russia? Someone gets this man a fucking visa
@purpasmart_4831
@purpasmart_4831 День назад
Man I wish I knew someone like you in irl. I just want someone to talk about C and stuff.
@lightknight876
@lightknight876 День назад
Never ending awesomeness. Someone you can spontaneously build something with. Not about money, just passion. But ends up being a huge multi billion dollar company
@alexstone691
@alexstone691 День назад
fr
@iamzeus1250
@iamzeus1250 День назад
Russian? Let's talk!
@purpasmart_4831
@purpasmart_4831 2 часа назад
@@iamzeus1250 Nah, I'm from the Northwest of USA.
@random2huplayer274
@random2huplayer274 4 часа назад
About the build systems, I started hating them as soon as I tried to use CMake on windows. I was writing Qt project and it used QMake because it was easy and readable, but I thought that switching to something more popular and supported might be better. Spoiler: It wasn't. I began actually learning CMake, experimenting with project layouts, but I just couldn't learn it. It was not comprehensive to the point of disgust. Then I switched to linux and finally got CMake working. I was so excited that I finally 'learned' it, I started using CMake everywhere, even to write single-file school homeworks. But then I learned Make... And now i think that this is a perfect build system. No bullshit. Gets the work done. May get complicated, but doesn't have to. A great balance between simplicity and extensibility. Love it. Not saying that using cc is bad. But I just love make.
@ethanaa
@ethanaa День назад
WHO DESIGNED THIS LANGUAGE!??? ... Oh. 😆
@fu886
@fu886 День назад
1:15:34 autotools suite solve the issue to ensure you have sane and reproducible build environment across multiple unix implementations or arch which can be using different binary/library formats, nowadays we mostly just use linux and distro supported toolchain so most of the pain points are not as visible. most flat or complex build systems will end up recreating the same checks given enough times and marginalities appear in different setups if it was still a requirement . they also tend to hit the same issue that caused from general opensoruce packages
@AnastasisGrammenos
@AnastasisGrammenos День назад
For gnu stuff, you can use emacs's info-mode instead of the html manual
@replikvltyoutube3727
@replikvltyoutube3727 День назад
I guess that configure is checking environment and compiler more thoroughly. Single CC command could work but it wouldn't work on all the environments
@theevilcottonball
@theevilcottonball День назад
Here is another dumb idea for using raylib with M4. use the macros to generate a hexdump or assembly code as a text file then use a reverse hexdumper or assembler to generate a binary object file that can be linked with raylib.
@nanothrill7171
@nanothrill7171 17 часов назад
"I think I might die in the process" -- me every time i have to touch autoconf for any reason
@berndeckenfels
@berndeckenfels 20 часов назад
1:16:00 Btw that’s not “corporate shit” that’s “Free Software portability shit” :) no managers ever saw Gnu projects
@xazzzi
@xazzzi 8 часов назад
What if you need a string with unbalanced quotes? Still have to escape somehow.
@beyondcatastrophe_
@beyondcatastrophe_ День назад
1:50:00 You don't actually need to call it twice, according to the docs you can give a single trailing argument for the `else`, i.e. when it's not equal
@alessiodvt
@alessiodvt День назад
Why are you no longer using i3?
@dtomvan
@dtomvan 18 часов назад
Next stream: write m4 macro that directly contacts an LLM and shitout the result
@me_12-vw1vi
@me_12-vw1vi День назад
dark mode makes you increase the brightness of your screen to be able to see which then damages your eye sight light mode on the other hand forces you to decrease the brightness and you can read off your screen for hours without hurting your eyes because dark font on white background can be seen easily unlike white font on dark screen which can only be seen when the brightness is increased
@strawberry_blush81
@strawberry_blush81 День назад
My whole world changed when I learned, that the screen should be only as bright as ambient room light. I do have to adjust it depending on the lighting, but it's not that bad. With light mode the eye can properly contract to see sharper image as opposed to blurrier white-on-black image. Having said that it's still a personal preference of people whether to go light or go dark :D
@666222333111
@666222333111 12 часов назад
​@@strawberry_blush81use f.lux
@psycoder-x
@psycoder-x День назад
balsam onto my soul
@ruslansmirnov9006
@ruslansmirnov9006 День назад
m4 это то на чем вы последние 55 лет пишите свои bash-скрипты если что
@Odod4000
@Odod4000 День назад
Raylib is crazy cool!!!
@NemurakSteloj
@NemurakSteloj День назад
Man, that background screamer
@Mozartenhimer
@Mozartenhimer 22 часа назад
This is such a cursed mission.
@__gadonk__
@__gadonk__ 10 часов назад
since when is Zozi using Void
@monad_tcp
@monad_tcp День назад
I always ask why, why didn't they use Perl
@alexanderkovalev391
@alexanderkovalev391 День назад
warning! urmom's stack may be used
@alexanderkovalev391
@alexanderkovalev391 День назад
and then this nice lady shits out sister
@SterlingWatson-p4p
@SterlingWatson-p4p День назад
Terry Mountains
@monad_tcp
@monad_tcp День назад
oh no, he's going to have headaches. and I'm an expert CMake developer, not even I would touch that thing
@mcol3
@mcol3 23 часа назад
We need a stream about Tcl
@Mariuspersem
@Mariuspersem День назад
Hell yeah raylib speedrun
@valeriikuzivanov6832
@valeriikuzivanov6832 День назад
What about Koka Programming Language ?
@shrddr
@shrddr 11 часов назад
doesn't the need for a build system come from the need to target a dozen hardware architectures from routers to mainframes? of course you don't need it when targeting your own laptop
@hubstrangers3450
@hubstrangers3450 13 часов назад
Thank you.....
@vimzim
@vimzim День назад
Could as well read the gnu manual in emacs with C-h R m4
@heh2393
@heh2393 День назад
Hemlo Tszotszen
@fabianorezende7713
@fabianorezende7713 День назад
M4 seems to have had some influence from prolog. Is there any history about this?
@XboxTheBeatboxer
@XboxTheBeatboxer День назад
no
@patrykmyslewski
@patrykmyslewski День назад
@24:00 HAHAHA xD
@nel_tu_
@nel_tu_ День назад
brother laughed in every way he could
@demolazer
@demolazer День назад
Never seen someone learn a language by reading its source code
@capekraken2672
@capekraken2672 День назад
is there any reason you switched from i3 rexim?
@stavros222
@stavros222 17 часов назад
What is wrong with the subtitles
@leonidas6682
@leonidas6682 13 часов назад
somehow he has rigged his subtitles to show his live chat.
@Odod4000
@Odod4000 День назад
YAY STREAM! i love you videos! first btw
@xspager
@xspager День назад
00:00:40 Me already: Can your Python do this?
@notflawffles
@notflawffles День назад
why are the dislikes more than the likes damn??
@veevee23
@veevee23 День назад
WINDOW??????? ok its all good
@stephenkamau1101
@stephenkamau1101 19 часов назад
1:18:30 hot take
@alexsmart2612
@alexsmart2612 День назад
Imagine not reading info pages in Emacs but in the browser. Yuck 🤮
@samuelevilla03
@samuelevilla03 День назад
i want that bg
@TsodingDaily
@TsodingDaily День назад
penger.city/wallpapers/
@8followsonik
@8followsonik День назад
легенда! 😎
@sukaisnaini1843
@sukaisnaini1843 День назад
who create this error message? oOo this is great error message hehehe
@rogo7330
@rogo7330 День назад
Todo: unban youtube in rusia
@mewhenthemewhenstheme
@mewhenthemewhenstheme День назад
peng
@jiraibozo
@jiraibozo День назад
tsoding spend 5 minutes talking about how the different quotes should be in more languages just to instantly learn why they arent
@TsodingDaily
@TsodingDaily День назад
Learn want? That m4 error message are shit? Why should we not fix shitty error messages?
@asymptotic_sceptic
@asymptotic_sceptic День назад
Do austral
@RichardLofty
@RichardLofty День назад
Daily reminder that emacs is trash.
@ArtikLamartik
@ArtikLamartik День назад
the 3'rd comment
@rogo7330
@rogo7330 День назад
Nested quotes aren't great when you realize that you don't need to escape '«', but you'll need to escape '»'. When you just escape EVERYTHING with '\', you just treat every byte after '\' literally, including line feed, maybe adding support for special cases like ' \t\v\f ', '\0', '\xFF'.
@chevychavanne4433
@chevychavanne4433 День назад
You only need to escape the ending quotes if you have a bad parsing algorithm. Tracking quote depth is pretty easy, xml and html do that and I'm sure many others. Json is probably the same but idk json lol
@embodiment_of_autism
@embodiment_of_autism 18 часов назад
Yeah but who would use the end quote without the start quote? If you’ve already seen a start quote you can simply treat the end quote as a normal character, and not the end of the string.
@chri-k
@chri-k 15 часов назад
@@chevychavanne4433Consider this funny string: «»«» That's what he meant. You have to escape things anyway, but _only sometimes,_ which adds more complexity for no reason
Далее
Hacking Microsoft BASIC
18:03
Просмотров 77 тыс.
I regret doing this...
1:20:07
Просмотров 76 тыс.
How are holograms possible?
46:24
Просмотров 439 тыс.
No Lag, First Try, Over 100 Players in a Single Place
3:20:13
How do QR codes work? (I built one myself to find out)
35:13
Building the ULTIMATE retro gaming machine...
25:33
Просмотров 27 тыс.
The Rise of Unix. The Seeds of its Fall.
16:51
Просмотров 493 тыс.
Everyone Should Use WebAssembly
3:34:09
Просмотров 47 тыс.
Solving distributed systems challenges in Rust
3:15:52
Просмотров 247 тыс.
Linux from Scratch
2:35:42
Просмотров 187 тыс.