This is Better than C for Binary Files

  Рет қаралды 37,258

Tsoding Daily

Tsoding Daily

Күн бұрын

Пікірлер: 80
@michaelflynn6952
@michaelflynn6952 Жыл бұрын
"forgive my track suit... I'm just Russian" starting off strong
@chudchadanstud
@chudchadanstud Жыл бұрын
"it's -28°C, it's getting warmer"
@sortof3337
@sortof3337 Жыл бұрын
Never thought I'd see it, thank the coding gods for this. Very enjoyable stream. :D Erlang is how I make bread as a telecom engineer. Also, I am finally doing more c because of you. Hoping to see more of erlang stuff on stream because its an awesome language. :D
@sortof3337
@sortof3337 Жыл бұрын
Btw, you can write stuff for beam in c. we do it in cursed cpp at work. but you can do it in c as well. that would be very interesting to c.
@MyShakeweight
@MyShakeweight Жыл бұрын
That sounds cool! is there a lot of work in telecom?
@L0wPressure
@L0wPressure Жыл бұрын
I thought you guys should have switched to elixir by now, but i guess it's a pretty conservative industtry. Similar to banks some of which still use older versions of Java even though Kotlin exists.
@efkastner
@efkastner Жыл бұрын
This was awesome! I didn’t want it to end and can’t wait for the follow up. I need to play with Erlang/Elixir!
@CuriousCyclist
@CuriousCyclist Жыл бұрын
-40 degrees C. That's crazy. 😅 No wonder that region produces great programmers. Nothing to do outside in the winter. 😂
@sfulibarri
@sfulibarri Жыл бұрын
omg super excited to watch this one. I did my capstone project at uni in erlang even though the program was generally built around java/c#/js so it was a bit of an adventure to learn but I had so much fun. The pattern matching is so powerful and feels so good to work with, I've yet to find another language that compares. I'm always excited to see matching get implemented in other languages but it never quite as good as erlang.
@MrPetzold123
@MrPetzold123 Жыл бұрын
Wow, Erlang is super capable for pattern matching binary formats ! Very interesting video 🤟
@jasonrothfuss1631
@jasonrothfuss1631 Жыл бұрын
I've been wanting to do something like this since I bought Joe Armstrong's Programming Erlang book 15 years ago. Thank you for this video!!!
@matthias916
@matthias916 Жыл бұрын
just wanted to say, i really appreciate the dark mode. i tend to watch your videos at night and constantly getting flashed isnt particularly pleasant
@matthias916
@matthias916 Жыл бұрын
ok nvm :p
@ziggy6698
@ziggy6698 Жыл бұрын
I'm a web dev, what React plugin is this?
@UnrealCatDev
@UnrealCatDev Жыл бұрын
It is python obviously
@ziggy6698
@ziggy6698 Жыл бұрын
@@UnrealCatDev sounds fancy but can it make modals?
@UnrealCatDev
@UnrealCatDev Жыл бұрын
@@ziggy6698 of course, but you have to download additional 10 libraries that don't do anything usefull
@cheema8649
@cheema8649 Жыл бұрын
Is the framework of the framework used to make the phoenix framework
@LaboratorioDoPardall
@LaboratorioDoPardall Жыл бұрын
And you only touched the surface of the language itself! You should really try the built-in OTP framework (i.e. Erlang Actor Model with processes, supervisors and the like), the possibilities are endless (it's also built-in with Elixir with even more capabilities). So cool to see you doing Erlang! (Erlang and Elixir are my bread winner since 2015, in agrotech).
@sugrado
@sugrado Жыл бұрын
I'm actually amazed at what Erlang can do
@LuisCarlosBolanhosVillalobos
@LuisCarlosBolanhosVillalobos 11 ай бұрын
Great content, you deserve billions of followers, likes and support. Awesome video and work.
@Tabongadoo
@Tabongadoo Жыл бұрын
Oh my goodness I've been waiting for this day for ages. Such a good base platform, can't wait to watch.
@norskeld
@norskeld Жыл бұрын
That's some pretty kinky stuff @ 39:25. As always, great content.
@9nr
@9nr Жыл бұрын
For Russian living in Novosibirsk, your English is incredible, @tsoding. I'm a Russian who lived for few years in Novosibirsk, and moved to US 25 years ago - my English is way worse than yours!
@ecosta
@ecosta Жыл бұрын
Surprisingly, this works in that niche gaming operating system called Windows. Easier language to install by far. EDIT: also, big thanks for showing a Prolog-like language. Amazing stream!
@wernersmidt3298
@wernersmidt3298 Жыл бұрын
The tracksuit bit 😂😂 46:30
@FunkschyIsWatchingYou
@FunkschyIsWatchingYou Жыл бұрын
I can't resist this
@cobbcoding
@cobbcoding Жыл бұрын
8:43 the prologue iterator looks quite interesting :-
@Catterjeeo
@Catterjeeo Жыл бұрын
Pingu
@ИванАбрамович-й2э
@ИванАбрамович-й2э Жыл бұрын
I'm from Novosibirsk too) Love your videos by the way)
@safertao
@safertao Жыл бұрын
zozin, how about to write your own dark reader browser extension?? i think this will be pretty damn interesting)
@NoOne-ev3jn
@NoOne-ev3jn Жыл бұрын
If only all the programming languages documentations were written this way
@UnrealCatDev
@UnrealCatDev Жыл бұрын
Was waitin for it
@anon_y_mousse
@anon_y_mousse Жыл бұрын
I've had Erlang on my TODO list for a long time and still haven't done anything with it. You've at least gotten me to download and install it, as well as to write a "hello world". I like the ease with which it can read from a binary file and I think I may add some of this into my own language. Though, I'll have to use a different syntax, because this is weird to my eyes.
@LSHV
@LSHV Жыл бұрын
nice, finally an erlang vid
@jasonrothfuss1631
@jasonrothfuss1631 Жыл бұрын
Btw, would love to see you do a Prolog video 😁
@berndeckenfels
@berndeckenfels 10 ай бұрын
Unit 8 means 8bit aka byte 33:20
@GegoXaren
@GegoXaren Жыл бұрын
Erling, the Swedish programming language. 🇸🇪
@GegoXaren
@GegoXaren Жыл бұрын
@@remondrk That is what you mother said... Now you are here, and we all suffer for it.
@GegoXaren
@GegoXaren Жыл бұрын
@@remondrk Not even a retort? Your ancestors most be ashamed of you. Forshame, forshame.
@L0wPressure
@L0wPressure Жыл бұрын
Patttern matching - i do understand it's a functional languages concept, but now i see where rust took it from.
@bebre_2288
@bebre_2288 Жыл бұрын
I was on the stream, but that title made me wath it again, great clickbait as always Mr. Streamer
@nevokrien95
@nevokrien95 Жыл бұрын
I LOVE elixir. My job is python, I would learn c for cuda. But elixir is ❤❤❤. Love building websites with it. Love learning about it.
@replikvltyoutube3727
@replikvltyoutube3727 Жыл бұрын
Make porth (or any language starting with 'p') compiler to BEAM and call it perlang
@StaRiToRe
@StaRiToRe Жыл бұрын
erlang bin matching is really elegant!
@abanoubha
@abanoubha Жыл бұрын
how Tsoding magnify the screen like that ?
@drJnmrH
@drJnmrH Жыл бұрын
How about organize offline meeting with fellow recreational programmers in one of the bars in Nsk? I will come for sure.
@RandomGeometryDashStuff
@RandomGeometryDashStuff Жыл бұрын
01:08:38 notice how when you divide by result of division you get same rectangle of As but rotated
@raykirushiroyshi2752
@raykirushiroyshi2752 4 ай бұрын
Yep,that because division is just the way to solve an multiplication equation(multiplication but backwards) So since a * b = c | solving for "a" you get c/b = a b * a = c | solving for "b" you get c/a = b Reminder is just another number that's added after the multiplication So: a*b + rem = c | b*a + rem = c
@yiannig7347
@yiannig7347 Жыл бұрын
Sick! Good exploration session!!
@noctavel
@noctavel Жыл бұрын
Why are you trying to understand BEAM? 🤬🤬
@noctavel
@noctavel Жыл бұрын
WTF???? are you trying to understand division now ?? 🤬🤬
@phase_commander
@phase_commander Жыл бұрын
I should really get back to Erlang, this language is bonkers in a good way.
@semninrussia
@semninrussia Жыл бұрын
What about Elixir?
@Nate77HK
@Nate77HK Жыл бұрын
"ur mom is a valid erlang expression" I'll never recover from this
@SlinkyD
@SlinkyD Жыл бұрын
EFEM - engineer friendly error messages
@NoOne-ev3jn
@NoOne-ev3jn Жыл бұрын
Never forget to bind urmom 😂😂
@ratherbyexploring4898
@ratherbyexploring4898 Жыл бұрын
Bro nobody is going to be binding my mom to any variable
@berndeckenfels
@berndeckenfels 10 ай бұрын
660 seems not small if the source is smaller ..
@claudiusraphael9423
@claudiusraphael9423 Жыл бұрын
38:49 Tsoding 3000 - Episode 69: Urmom is unbound!
@A1KANO
@A1KANO Жыл бұрын
You're effective.
@marc-dantas
@marc-dantas Жыл бұрын
BEFORE I CLICK ON THIS VIDEO I BET YOU WOULD SAY/DO SOMETHING RELATED TO PORTH LMAOOO 4:13 "PORTH-LIKE THINGY" LMAO
@dieSpinnt
@dieSpinnt Жыл бұрын
While your explanation and educational approach to division is great ( 1:09:16 ), your worldview about the (not a specific one, but "many" ... hmm" education systems is itself a little childish and unfairly simplistic. Like (beware of stereotypes, incoming! Hehehe) what you expect from a programmer/computers people?:P Some of your fellow humans (and not a few!) are demonstrably not "good" at math. BESIDES the education system (that manages at least to teach basic and needed knowledge about day to day math), some people simply don't have the interest, understanding, desire or talent[1] to deal with mathematics intuitively. And there is nothing wrong with that. They may have other skills that you can only dream of or are absolute geniuses in a field that you will never perfect to mastery. No matter how hard you try! I find it absolutely unfair and short-sighted to make one's own characteristic or ability the basic standard expectation for ALL PEOPLE. This is not only cheeky, but also short-sighted and above all: stupid! And that is NOT how the world works or what we achieve. After all and in general: The specialization of professions and skills, the pursuit of modern science has brought our cultures to where we are today. This happened PRIMARY through collaboration (otherwise specialization would be unthinkable) and not through exclusion or coercion to learn, practice or do something that is not your thing! You may not have intended it, but at the core of it, your view and behavior towards others is just arrogance and hubris (on this one point). Of course, you never spoke of coercion, but the whole topic came across with a sadness that you somehow felt sorry for people who don't have certain skills. No blame on you, but if you don't think about freedom when talking about learning and education, then there is something lacking with YOUR (pun intended:P) education, and you just have to learn about ethics in education! Thanks for the wonderful video, which was highly of educational value, sharing your thoughts with us and taking your time to explain basic and advanced stuff to others, free of charge. You are a great guy!:) [1] Every single point is a valid one. It doesn't matter if people like to do other things, or just do not like maths, can't wrap their head around or feel uncomfortable. THEY DON'T HAVE TO EXPLAIN THEMSELVES in front of you!!! People are diverse, without that very important characteristic to us humans ... we wouldn't even be here and alive on this planet ... PERIOD!
@reyuki-i
@reyuki-i Жыл бұрын
13:51 TIL !w 😂
@nyyakko
@nyyakko Жыл бұрын
pog
@MilanVVVVV
@MilanVVVVV 11 ай бұрын
Naming a builtin fn "f" is fucking crazy 😆
@callyral
@callyral Жыл бұрын
erlang is older than C89
@MrKoroff
@MrKoroff Жыл бұрын
ahaha ...nice joke at 0:21 about some problems with Windows)))
@alpaslaneldemir6904
@alpaslaneldemir6904 Жыл бұрын
This looks like Rust nom parser.
@fullstack_journey
@fullstack_journey Жыл бұрын
crazy russian hacker
@СергейДехтярёв-ъ4н
@СергейДехтярёв-ъ4н Жыл бұрын
Beamoogle
@anon-fz2bo
@anon-fz2bo Жыл бұрын
i dislike expression based langs coz im !a mathematician 😂
@raykirushiroyshi2752
@raykirushiroyshi2752 4 ай бұрын
1:10:14 if anything, I would be ashamed of the education system. This is exactly how I learned division in elementary school, and just like riding a bike,it's not something you can forget over time
@WiseWeeabo
@WiseWeeabo Жыл бұрын
just pick golang
I made a New Programming Language
3:12:50
Tsoding Daily
Рет қаралды 59 М.
Making Memory Safer in my C
50:44
Tsoding Daily
Рет қаралды 15 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Binary data exercise: how to tell if a file is a jpeg?
17:48
Jacob Sorber
Рет қаралды 14 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 256 М.
Session 16: More implicit casts
45:50
Marcel codes
Рет қаралды 23
Hacking C compiler
2:00:24
Tsoding Daily
Рет қаралды 39 М.
03 Intro 2 Python Tuples Sets
55:40
ProfAdiZ
Рет қаралды 25
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 917 М.
Advanced C: The UB and optimizations that trick good programmers.
1:12:34
Eskil Steenberg
Рет қаралды 188 М.
Lambda in a Loop is a Code Smell
8:20
mCoding
Рет қаралды 62 М.
The Genius Way Computers Multiply Big Numbers
22:04
PurpleMind
Рет қаралды 323 М.