SIGN UP FOR THE RECESS WAITLIST HERE!!! recess.gg/mattbatwings And join the Redstone at Recess discord!! discord.gg/X9CXVAqZAG Questions? Ask in reply to this message, or ask in the discord!
@kaiperdaens76702 күн бұрын
Could you maybe make a video that shows you building something, but the whole process and not necessarily with commentary.
@Gaming.documentaries2 күн бұрын
Maybe you could make a second channel with the entire building process
@kaiperdaens76702 күн бұрын
How does postfix know if 123+ means 12 + 3 or 1 + 23?
@ProfessorRex8242 күн бұрын
What happens in cases of singularities?
@pythonpal-z3g2 күн бұрын
the thing is, people all dont have access to money, is it free?
@Ierzi2 күн бұрын
GUYS THE VIDEO ISNT SPONSORED BY BRILLIANT
@kaliss61102 күн бұрын
we fr got a mattbatwings video not sponsored by brilliant before gta 6
@mikaelfoster97262 күн бұрын
Extra likes for the man he loves us
@ELITE-CHIEF-DRILL-MAN-ko3yp2 күн бұрын
HOW
@VirnS_U2 күн бұрын
Oh my gosh! 🤯
@NK-612 күн бұрын
🤯
@darske12 күн бұрын
I'm a mechatronics engineer and a senior software developer. I have to say that I'm amazed with all your dedication and creativity, mixing all the things I love in your videos. Keep it up man!
@pilothariboКүн бұрын
Blue comment on youtube?
@icewizard76192 күн бұрын
Now for the Ultimate Challenge: Add Sqrt, Exponents Add Functions like sin, cos and tan Add Imaginary Numbers (-> Square Root of negative Numbers puts imaginary number) Add a nice Display to show Exponents, like graphically how you would write it, with the exponent on top of the Number. Good Luck! :) (Your work is absolutely amazing and I really appreciate it! I know some of these Ideas are very hard to impossible to build. Hopefully you always stay such a great KZbinr and Redstoner! :D)
@elen1ap2 күн бұрын
I guess that what you described is Turing Complete. We just have to wait for the end of let's build a Redstone computer.(Oh my god 36 minutes ago)
@srengp38052 күн бұрын
It should also include constants like pi and e
@icewizard76192 күн бұрын
@@srengp3805 Yes, in addition that would be cool too
@icewizard76192 күн бұрын
@@elen1ap Turing complete requires way less than that, theoretically a ALU and Registers already is Turing Complete
@BrankoVT2 күн бұрын
I don't know if this already has it, but protection against invalid equations would be cool, as well as a backspace button.
@everythingisscience6582 күн бұрын
I feel like I just got clickbaited. There was a freaking exponential in the thumbnail. Not only that it was represented as a superscript rather than just ^. Imagine how cool that would be in redstone
@Pabs12342 күн бұрын
its just trig, the exponent is i
@aa-rv5wz2 күн бұрын
yeah this is genuinely lame, postfix notation is first year uni stuff, shit thumbnail
@PFnoveКүн бұрын
You can write a program yourself that handles user input and rendering and all the calculations and run it on any redstone computer
@ethanchristensen7388Күн бұрын
I was pretty disappointed with this, too. The end result was still impressive, but I feel lied to.
@Guy_Thats_A_GuyКүн бұрын
Yeah you may be right, but when was the last time you made something on the skill of what Matt makes? If it’s fairly recent, then why not just make it yourself instead of complaining about a KZbin video showcasing something cool?
@GameJam2302 күн бұрын
What you could also do if you wanted to have a history of old inputs is have the display be multi-rowed, but only the bottom row gets input to by the controls. Then, whenever you hit enter, it just passes the line to the row above it with some sort of 2D shift register, one for shifting the characters to the left, another for shifting everything up, making it look like a real multi-line calculator
@skmgeek2 күн бұрын
this would be really cool!
@pixelgoose982 күн бұрын
part 2 idea!: ADD SIN, COS, TAN, ^ , and if possible, variables and also add pi and e etc
@0kr4m2 күн бұрын
nooo not sin cos tan 😢
@LevelUpGA2 күн бұрын
@@0kr4m more like df(x)/dx 😁
@lilcocoabean252 күн бұрын
sin cos and tan would be WAY too hard ngl, vars should be easy tho
@Dummy423292 күн бұрын
even better, he should add the constants e, i and pi with exponentiation so that the thumbnail isn't clickbait
@Kilming2 күн бұрын
@@Activation123I mean, it shouldn't be hard, it is just division
@speedycube642 күн бұрын
Man, I got excited for complex exponentials, but still, amazing build. I once had a programming assignment to convert expressions to postfix notation, and now I finally know why that's useful, so that's cool.
@VoopVomm2 күн бұрын
You’ve inspired me to learn so much more about computing and helped motivate me to major in computer engineering & programming!! You’re great keep up the amazing work!!
@unflexian2 күн бұрын
❤️
@FlightlessAviator7 сағат бұрын
Just want to point out, at 8:20, There are a bajillion different versions of what you call PEMDAS. Here are some I've heard: - P arentheses - E xponents - M ultiplication & D ivision - A ddition & S ubtraction (This is the one I learnt) - B rackets - E xponents - D ivision & M ultiplication - A ddition & S ubtraction - B rackets - O rders - D ivision & M ultiplication - A ddition & S ubtraction (just found this one while looking up what the O is in BODMAS) - B rackets - I ndices - D ivision & M ultiplication - A ddition & S ubtraction
@WildScaryFox2 күн бұрын
The output cleaning part sounds a lot like significant figures
@UODZU-P2 күн бұрын
you would be correct
@wueffiYT2 күн бұрын
Hi foxy
@artefox02 күн бұрын
@@wueffiYT hi waflle
@WildScaryFox3 сағат бұрын
@@wueffiYT hi waffle
@rodrigoqteixeira2 күн бұрын
0:45 decimal point? I feel like fixed point arithmetic is coming. Edit: 3:12 YEAAAAAAA I GUESSED IT!!!!
@Purple8352 күн бұрын
nice one
@mrBrod._.2 күн бұрын
😂
@chairmanmeow911012 сағат бұрын
This is, literally, the first time I've ever heard of writing math in postfix notation. That whole part of the video blew my mind...
@sethklaassen25322 күн бұрын
How does this calculator handle dividing by zero?
@LevelUpGA2 күн бұрын
@@sethklaassen2532 definitely with TNTs 🤣💥
@Brunon-bj1hx2 күн бұрын
2:0=... We found a problem with your computer, Shutting down
@TheFakeXdfishy2 күн бұрын
It implodes
@lucajfelici2 күн бұрын
Inf
@SimplexonYt2 күн бұрын
it probably just outputs all ones
@REAL_TEst2 күн бұрын
Part 2: Scientific calculator in Minecraft
@eneaganh63192 күн бұрын
He already did a graphic one
@hyper_lynx2 күн бұрын
It's amazing that this calculator is more competent than many old plastic desk calculators were. Having the full expression on screen at once is cool. Even old HP calculators just expect the user to learn postfix notation (though they make up for that by having a ton of functionality)
@SF124-gy7hk2 күн бұрын
9:05 okay, can we just talk about how the first thing in his search suggestions is "how to vote"?
@fantastic-b2mКүн бұрын
i’m currently studying algorithms using c++, and you just taught me two algorithms in a video, about the postfix thing, thank you and i think coding in redstone has probably the same difficulty as assembly, it’s a fantastic work and i appreciate it!
@kngod53372 күн бұрын
On the minus sign topic. You say you use a binary minus and an unary minus but from my knowledge it should be possible to only use the unary to negate the next token and then add the previous instead of differentiating between the operations. In the end substraction is only adition by a negative number
@mattbatwings2 күн бұрын
Ah true, didn't think of that! Hardware wise I think it would end up being about the same - essentially the negator would be moved from evaluation to tokenization
@AlphaFX-kv4ud2 күн бұрын
@@mattbatwings I'm glad you at least didn't do what my real graphing calculator does and make the user type in a different button for unary and binary subtraction
@CheeseFilms2 күн бұрын
@@mattbatwingsHey, I want to clarify, in the video you said, if minus stands after digit, it's binary, if after parenthesis, it's unary. But, what if we type a negative number first, something like -4+7?
@danyboumoujahed5004Сағат бұрын
@@CheeseFilms that's still unary, an easy way to think of it is while binary "-" indicates that you are subtracting two numbers, unary just indicates that we are taking the negative of a number, which is what the - in "-4" is doing its saying that the number "4" is negative, same thing when the minus comes after a parenthesis
@CheeseFilms43 минут бұрын
@@danyboumoujahed5004 yeah, thanks, but does he implemented it? In the video he tested just these 2, and I want to know if it is working
@Goldev2 күн бұрын
Matt : "and i think the calculator is finished!" Me : What's 9+10? the calculator : 21
@shinboonsangnoom81912 күн бұрын
Yeah it answers in base 10.
@bobbydhopp652 күн бұрын
computation: base 12, answer: base 10
@DivorcedGooseRat11 сағат бұрын
i long for the day where someone makes a redstone computer powerful enough to run a real world operating system
@redtaileddolphin18752 күн бұрын
lol fuck I missed the thumbnail mistake now it’s already fixed It said e*i^pi + 1 = 0 What’s correct and now there is e^i*pi + 1 = 0. The i was the same size as the e, when it should instead be same size as the pi
@teggolT2 күн бұрын
**technically**, it's e^(i*π) 🤓
@unflexian2 күн бұрын
hmm yes i love e^(iπ²/2+1)+1
@kaloncpu572 күн бұрын
Insanely cool step up for redstone calculators, and a redstone school is such a great idea. Banger video
@YoshisaurUnderscore8 сағат бұрын
Woah, this is wild!! I'm actually so impressed. I'm wrapping up my undergrad electrical engineering degree this year, and it's so cool to see all this stuff I've learned in my classes used in a project like this. The fact that I mostly understood it really gives me confidence. Thanks for putting so much effort into these videos!
@PortRhouse2 күн бұрын
This is damn cool. I've seen some other really incredible redstone calculator showcases (namely your very own incredible graphing calculator), but I like how this one distills the complex problem of evaluating an expression into it's fundamental steps, then concisely explains how to solve each of those steps from a redstone/ CS perspective and brings it all together in a complete package. I really feel like I understand what I am looking at with this build and it doesn't just seem like an impressive mess of wires.
@eagle323492 күн бұрын
You know, it would've been easier just to make number after a minus straight up negative (two's complement if you will) then just using regular addition. I also really liked the base 2 multiplication trick of just separating a multiplication into powers of two, then bit shifting, and finally adding back together, would've been cool to see a two way system for both multiplication and division, since all that's necessary for the entire calculator be this + two adders.
@angeldude1012 күн бұрын
This trick predates binary computers and even binary positional notation itself by _thousands of years,_ actually being considered easier than multiplying decimal numbers even for humans. It's often call "Russian Peasant Multiplication", though it seems to have existed even in ancient Egypt. Yes; people were doing binary long multiplication before they were doing _binary._
@BlockExplorationVideos2 күн бұрын
You have blown me away once again with your amazing Redstone skills! I'm only able to explain what these individual blocks do, but people like you take the blocks and make them more than the sum of their parts. My hat goes off to you, sir.
@Dfnkeyyy2 күн бұрын
0:0 appearently to the calculator: 32767.999 thats the real output lol
@thevalarauka101Күн бұрын
I suppose the calculator should have had something to prevent zero division
@85dot62 күн бұрын
very nice explanation on tokenization/ lexing
@trwn87Күн бұрын
There is actually a different way to represent decimals: Internal fractions, which can optimise division and multiplication as well.
@masonbarber8712 күн бұрын
I think a history display of recent equations and results would be cool and relatively easy. The most important thing for doing more advanced math would be variables and an "answer" button like a TI84. The answer token lets you use the result of the last equation in the middle of a new one, allowing for stuff like "1/Ans".
@44Hd22Күн бұрын
16:59 I thought you were gonna rap to explain the calculator.
@emerald556712 сағат бұрын
I understand people need bread, but like 40 bucks for a beginners course sounds a bit expensive ngl. most people probably couldn't fork out that much money per week honestly
@emerald556712 сағат бұрын
also you'd need to consider that the demographic of the course would most likely be teenagers to young adults which means they'd probably have little to no money to go to this
@jajceslav56652 күн бұрын
You make it look easy, parsing expressions can be very tricky even when just coding, great job!
@Niiki-2 күн бұрын
wth is even that, i mean like, just how
@atom1kcreeper6052 күн бұрын
And, or, xor , not
@Flunium2 күн бұрын
it’s Minecraft
@atom1kcreeper6052 күн бұрын
@@Fluniumthat to
@Flunium2 күн бұрын
@@atom1kcreeper605 too*
@shreyjain3197Күн бұрын
i learnt infix, prefix and postfix expressions in my CS class in 12th grade really interesting to see a practical application of it
@Deficard2 күн бұрын
that's some great progress! it feels better than any other redstone calculator ever. your breakthrough, i can sense that others might build complex calculator with just redstone too. there's just 1 unrelated problem i see: point digits precision. currently, this can display up to 3 digits of fraction, then it's gone. like "0.142". it's not a problem if you didn't want more precision and didn't want to see what the next digit of places is. here's the example where it outputs the same value. 1/999=" 0.001", 1/1000="0.001". and then after 1000 it either just goes to 0. but for how much it took, i can't complain too much...
@Mateo-zi8ub2 күн бұрын
6:30 that is really, really useful.
@shennyboi110Күн бұрын
Insane project, beautifully explained in a way I could follow along every step!
@drevoksiКүн бұрын
This was an amazing watch! Great job, I love how it all came together :D
@patrlim2 күн бұрын
honestly, i dont care about the showcase, I come for the problem solving and engineering. great work as always.
@bigjax73712 күн бұрын
What level of education in computational science/engineering and programming did you receive?
@matiasgarciacasas558Күн бұрын
He has a CS degree
@J3ff_K1ng2 күн бұрын
I really really did not expect this video to get that interesting
@malmiteriaКүн бұрын
next step: variables, and extending the calculator so it can use those and not only numbers then: functions, strings, and other types like boolean, none, and then lists. variable scope can become non trivial if you allow nested function or closures (function that are returned by another and still need to acces their parent function scope) the call stack can be a pain with closures. if you're adding classes, or modules or namespaces, the dot operator becomes necessary too. I'm working on a language of my own, that's pretty cool to see you make one in minecraft You might wanna share your language in the ProgrammingLanguages subreddit, i'm sure they'd be thrilled to learn about it
@Ngiyaaaw2 күн бұрын
The way the number moves from right to left at 17:19 is so satisfying.
@oglothenerdКүн бұрын
You had to implement a parser in redstone. I salute you!
@mikymuky11712 күн бұрын
I've been making calculators and other architectural stuff in redstone for years. yet, this is hands down the most invested I have been watching a technical redstone video yet xD
@eikebehrmann34932 күн бұрын
Fun fact: Postfix is also called Reverse Polish Notation, and was used in older calculators. To save processing power, you had to write in RPN
@PaulFisher5 сағат бұрын
HP calculators and their descendants famously still allow the use of RPN. It doesn’t just save processing power; it can also be way faster and less error-prone to use, since you never have to type parens and the intermediate steps you’re doing are right there on the stack.
@Vasilikiii42 күн бұрын
Bro I cant do these calculations and you did them in a blocky game with redstone faster than I am able to do a 3-digit subtraction??
@Garfield_Minecraft2 күн бұрын
bro finally built the FPU
@William-nw4skКүн бұрын
I love redstone, but more importantly, I love the computers and the workings behind them. You've earned a subscriber!
@lorenzomarconetto2 күн бұрын
Bro you are CRAZY you are the best
@Brunon-bj1hx2 күн бұрын
I understand that a lot of effot anstuff goes to these recess but 20$/week is a lot, that's like 100zł, there is no way i coud ever possibly afford that
@michieleding1242Күн бұрын
Who let him cook...😞 im. This. This is INSANE
@y3372 күн бұрын
Is this what this new slang term “calc” is short for?
@vibaj162 күн бұрын
never heard of that
@y3372 күн бұрын
@@vibaj16 FOR THOSE OF YOU WHO JUST JOINED STREAM, calc is short for calculator. I’m just using slang, guys ☝️😔
@IceMetalPunk2 күн бұрын
I consider Shunting Yard one of the most important and useful algorithms in computer science, and I love how elegant it is. I've implemented it in software several times, typically when I'm creating custom programming languages for fun, but I don't think I've ever considered building redstone hardware to do it 😂 Well done! And now that you're an expert at building tokenizers... your next step is to build a full compiler for a redstone-based programming language 😁
@goitwe85642 күн бұрын
dude, you managed to describe postfix vs infix in like 30 seconds with more clarity than my 25 minute class did. MASSIVE props!
@thoracis12 сағат бұрын
I love seeing new vids of yours. I am not that great at math, I can barely make anything with redstone, but I do love Minecraft and learning. Wholesome, informative, and entertaining content as always ❤
@eeReal_Diamond2 күн бұрын
The redstone builds become so hard, that there is an actual class about redstone 💀
@SuperTux20Күн бұрын
PEMDAS: Please Excuse My Dope-Ass Swag
@bengoodwin21412 күн бұрын
This is pretty great! I hope you, or someone, makes one with variables. Something like a simplified version of a Ti-84, maybe. Also, if you want mathematical accuracy, it might be good to keep track of ratios of whole numbers instead of using fixed or floating point, and... There's likely a way to handle irrational numbers as accurately as necessary for any given level of precision you design for as well, but I don't know how.
@mitchib14402 күн бұрын
08:26 this confused me for a bit lol In England we're taught BODMAS. Brackets, Orders, Division, Multiplication, Addition, Subtraction. Not heard of PEMDAS before but good to know. I wonder why the difference.
@kylebowles98202 күн бұрын
Mathematically no difference, just some potentially regional and even generational mnemonic device to help remember the order
@X.K-tuber2 күн бұрын
13:50 fun fact you only need one subtractor because -u# = 0-b# where # is the input
@iaminfinityiq71822 күн бұрын
This is exactly what I need! I've been struggling to make an evaluator that uses PEMDAS!
@mainakkamakar5992 күн бұрын
"That looks easy"
@mastfamastfa1256Күн бұрын
Congratulations bro This is amazing
@TheRealH2OBlue2 күн бұрын
Ok now this is just REALLY impressive. You are so insanely good at computer redstone than what I originally thought of you.
@ssbmfan42 күн бұрын
You can also incorporate juxtaposition to multiply if a number precedes an open parentheses. Most modern calculators actually use PEJMDAS instead of PEMDAS. I don't think it should be too hard to incorporate given what you already have, except that you already finished the rest of the build and it probably would have been easier earlier in the project. Unless of course you considered it and chose not to incorporate it, then disregard this comment lol
@iO-Sci2 сағат бұрын
This is a fancy, sci-fi and serene Minecraft type calculator 공상 과학적이고 조용한 마인크래프트 유형의 계산기입니다.
@Maxjoker982 күн бұрын
Very cool video as always! "postfix" notation is also sometimes called "reverse polish notation"(and some scientific calculators use it or can use it directly). All these parsers in Minecraft redstone projects lately got me thinking... How long until the first Minecraft CPU has it's own redstone-based assembler/compiler?
@samuelhulme83472 күн бұрын
I think someone has nearly done this a long time ago but I don’t remember who. (Except the assembler weren’t in game, it was an external program which created a schematic for the ROM that gets pasted in to the world)
@Maxjoker982 күн бұрын
@@samuelhulme8347 Yes, people have built Minecraft CPUs with external assemblers/compilers - I'm actually nearly complete on mine. But I really want to see an *in-game* assembler/compiler, with no external tools needed! I wouldn't even mind if it uses command blocks, and more complicated parsers have been built in Minecraft before(e.g. SethBlings BASIC interpreter including lexer/parser/interpreter), although a "survival-friendly" version definitely could be build and would be cool!
@MaZe741Күн бұрын
10x = 8x + 2x is actually really smart, I didnt see that you could only use shifts for that
@nanonaranca2 күн бұрын
Sounds like music to my ears I literally just got home from a long day of band comp
@willnoyes70192 күн бұрын
This looks amazing super well-made
@3odie12122 күн бұрын
You know the pemdas you talk about well in school now a days your taught bidmas/bodmas B - brackets O/I - over the top/indecies D - divide M - multiply A - addition S - subtract Overall, great vid tho
@yodaas7902Күн бұрын
Its the same thing
@thatukrdude2 күн бұрын
Ideas to add: function (f), √, π, %
@shauas42242 күн бұрын
You are doing so much for the redstone community its insane
@Technowizard8117 минут бұрын
I go to college for electrical and computer engineering. This and the programable computer video taught me more in an hour or so than two professors could in an entire year. what the shit.
@BetaTester7042 күн бұрын
Might be revolutionary for redstone computers going forward
@unflexian2 күн бұрын
10:40 there are tons of esoteric programming languages where arithmetic works like this, the general term is stack based but my favorite is brainflak
@MadocComadrin2 күн бұрын
Stack-based languages often use pre/postfix for arithmetic, but you can have pre/postfix arithmetic outside of stack-based langauages, e.g. the Lisp family. There's also non-esoteric stack-based languages such as Forth.
@realmazurex2 күн бұрын
for the binary and unary issue, couldn't you just convert all subtractions to unary by placing a positive symbol beforehand and wrapping the number in parenthesis, it would probably save some space, not sure about complexity, but if I were to assume, it would also make it simpler, as you're only adding a symbol to the operation, rather than making a whole new separate token
@darianfrank44432 күн бұрын
Really good work. Love yozr Videos. Keep it up
@Will_-it3mh2 күн бұрын
man i struggled to do a "windows styled" calculator in a windows form enviroment in coding class. Very cool
@RobRed10112 күн бұрын
It Would Be Cool If you Made A Physics Screen Where you draw something and depending on how they look Specific physics will happen
@teainnit2720 сағат бұрын
Nice, very impressive, now make it turing complete
@TheAppleFreak2 күн бұрын
I'm definitely going to need to take a look at the display you made! One of the projects I've done historically on the server I play on is a 24 char typewriter using 3x5 characters, and while I think the individual display modules are about ideal, I'm really curious if you've done something to improve on my own take on the design. Seems there's some convergent ideas judging by what I've seen in the video thus far.
@Forza_Horizon_5_cars2 күн бұрын
nice, today i made a ROM system that has circles stored in it, took inspiration from your MS paint vid mattbatwings
@yarikzhiga2 күн бұрын
We really got Redstone school before gta 6 💀
@undefined-none2 күн бұрын
What?! You have make a math expr interpreter in Minecraft, when I was still struggle to figure out how to build one in C, but this video help me a lot!
@rodrigoqteixeira2 күн бұрын
6:10 Why? You can you binary with fixed point on base 10. Like what you did on the old calculator. It just works (with tweeks to division)
@DoxxTheMathGeek2 күн бұрын
Aw sadly no complex numbers. qwq Still, this thing is AMAZING!!! I love it, you did amazing! :3
@ZERR0R2 күн бұрын
Why did you break subtraction into two different operation (binary and unary)? Wouldn't it be easier to work with just one? I would select unary, in this case, replace all "-" with "+ u-". 2-1=2+(-1). Or you could do it with binary, if you want to. Replace all the "-" with "+ 0 b-". -6+4=+0-6+4. This way, you don't have to differentiate between two subtractions.
@ianyourgod2 күн бұрын
this is an interesting way of doing this. most approaches i know use recursion, but that’s not easily possible in redstone.
@ayfesabelarusКүн бұрын
New challenge. Make a 1080p screen with redstone
@Old_SDC2 күн бұрын
This video is perfectly timed thank you!! I’m writing a calculator as a project in college and Shunting Yard was exactly what I needed 🫶
@johnroylapida14432 күн бұрын
The negative sign and subtraction sign was a pain in the ass when I first learned and tried to code infix to postfix notation
@vibaj162 күн бұрын
same
@archied73702 күн бұрын
You’re actually insane
@MC-Riptide2 күн бұрын
me before the video: "redstone calculators are so complicated" *realization after the video*: "Redstone calculators are so similar to python"
@literallydoing4425Күн бұрын
I was thinking you actually had irational numbers as a part of this calculator
@SuperbMuffin2 күн бұрын
holy, good job i LOVE your channel
@That_One_Duck_Channel20 сағат бұрын
Bro just casually built a calculator using a game about cubes.