Mimi - Ch. 134 - Computer Science.

Fed-Kun's army
Joined
Sep 26, 2025
Messages
8
I've never played Minecraft : can someone explain ?

Logic gates are effectively the building blocks of a computer. Most transistors in a computer chip are logic gates, although other transistors serve other functions like voltage management or memory. We have billions of transistors in computer chips now. Imagine the insane amount of logic gates in them.

Using logic gates (Shown in the below), you can create an adder. It adds binary numbers. Any input of binary combinations creates an output.

Binary numbers work like this: the rightmost digit is 1, the one to the left is two, and so forth.

10 (in base 10) = 1010 (In binary)(8 + 2 in base 10)

The one below is a 3-bit adder. Max number is 3. You combine them to handle bigger numbers.

iu


There's switches that you can use to create AND, OR, and NOT logic gates in Minecraft. So you can effectively build a computer within a computer game.

iu
 
Dex-chan lover
Joined
Apr 8, 2018
Messages
835
Heck, I've messed with it myself in the game way back when they first introduced it. Started playing with my niece and nephews and stopped years ago when they outgrew it. Managed to make my first logic cluster (not quite a chip) by laying it out on flat ground and then condensing it in three dimensions to slot it into a stealth build. The trick was getting it so that no matter the placement order, the secret hatch would open only when all redstone torches were placed down in their slots. My brain was fried after even that simple task, however, so I went back to living in a dirt hole surrounded by TNT. Good times...
 
Dex-chan lover
Joined
Jan 7, 2020
Messages
867
First of all, AI (as in LLMs) is NOT the future, that shit is being held in place by prayers, hundreds of billions in debt guarantees and literally all the venture capital in the world. Second, redstone wasn't a thing when I was a kid.
 
Contributor
Joined
Feb 2, 2018
Messages
363
First of all, AI (as in LLMs) is NOT the future, that shit is being held in place by prayers, hundreds of billions in debt guarantees and literally all the venture capital in the world. Second, redstone wasn't a thing when I was a kid.
LLM's do come in useful in eliminating or simplifying simpler tasks. AI was responsible for 55,000 job cuts in the United States alone, so you can't outright say it's NOT the future. It is part of a very dystopian future, one that will drive up price increases and create a lot of havoc for society and increase the gap between the rich and poor.

It still sucks for vibe coding and I wouldn't trust it to write a proper website or ecommerce platform but for a lot of simple things it's entirely changed the game in some industries. Ai pornography for example is something that is slowly growing in popularity and some even pay for it.
 
Dex-chan lover
Joined
Apr 1, 2019
Messages
833
“Good job prospects…”

Hol’up there buddy.
I mean, ai specifically has a lot of options. dunnonif it's sustainable, but it's a job market that's there. anything else tho... (as someone who recently got laid off)
 
Group Leader
Joined
Aug 15, 2018
Messages
1,076
I mean, ai specifically has a lot of options. dunnonif it's sustainable, but it's a job market that's there. anything else tho... (as someone who recently got laid off)
Yea. It’s mostly machine learning engineer, dev ops, data engineer for those who prefer to stay in engineering jobs but being a data scientist isn’t bad as well—just need a proper foundation of statistics, machine learning and python/R.
 
Dex-chan lover
Joined
Apr 13, 2025
Messages
2,106
Logic gates are effectively the building blocks of a computer. Most transistors in a computer chip are logic gates, although other transistors serve other functions like voltage management or memory. We have billions of transistors in computer chips now. Imagine the insane amount of logic gates in them.

Using logic gates (Shown in the below), you can create an adder. It adds binary numbers. Any input of binary combinations creates an output.

Binary numbers work like this: the rightmost digit is 1, the one to the left is two, and so forth.

10 (in base 10) = 1010 (In binary)(8 + 2 in base 10)

The one below is a 3-bit adder. Max number is 3. You combine them to handle bigger numbers.

iu


There's switches that you can use to create AND, OR, and NOT logic gates in Minecraft. So you can effectively build a computer within a computer game.

iu

Gawddayum, son... well, thanks for the explanation !!
 
Dex-chan lover
Joined
Nov 21, 2018
Messages
349
Gawddayum, son... well, thanks for the explanation !!
Wow, that is a fulsome explanation.

BUT WAIT! THERE'S MORE!
.
See, computers had for a very long time been obsessed with miniaturization, smaller phones, smaller towers, and so on (until we learned we could play games and watch p0rn on our smartphones, then phones started growing again)

There is now a space in the Minecraft Redstoner (one who mostly plays around with redstone) community that has been obsessed with miniaturization.
It has gotten to the point where they've integrated an actual technique I learned in COLLEGE into high-level Redstone circuitry: Karnaugh Mapping.

It is a tool we use in circuit design to determine the absolute minimum number of logic gates needed to produce a given output.
It begins with a Boolean Expression, which is converted into a truth table, which is converted into a Karnaugh map via Gray Code (aka reflected binary, a version of binary code where each step up in value requires the modification of a single character, only. This is useful for in one instance, error detection/prevention)

The Karnaugh map is structured a little bit like a crossword puzzle. You write 1's and 0's (and sometimes an "it doesn't matter" character) in the cells of a Karnaugh map, with ascending gray code written in the column and row headings.

You write a "1" wherever multiple parts of the truth table overlap. If A and B are both one in part of the truth table, a 1 goes in that cell on the karnaugh map (there's complexity I'm not going into here, read it on wikipedia or take Intro to Digital Electronics at the College of Lake County)

The final step is to group the 1s in as few groups as possible, then these groupings inform what logic gates are actually necessary for the desired function, and which are not.

I don't know if Comp Sci students learn karnaugh mapping, as it's several levels of abstraction deeper than the coding most of us associate with computer science degrees. Closer to the machine code which is almost incomprehensible to a human, than something like a programming language, which are porpoise built to take care of some of those levels of abstraction. Wanna know something """FUN"""? learn Assembly Language (like, one or maybe two layers removed from raw, unfiltered, nigh incomprehensible machine code) which I learned in my microprocessors class.

Edit: I forgot to mention why Redstoners are using Karnaugh mapping.
Turns out, they've figured out how to use Karnaugh mapping to find the smallest possible size of a redstone circuit as well.
Edit2: I actually am not sure if "closer to the machine code" is the right term for what Boolean function minimization via Karnaugh mapping is... It doesn't really have anything to do with coding, maybe you could use it to minimize the number of boolean instructions for a PLC logic ladder, or for relay ladder logic (if anybody still does that rather than using a PLC) but I've only ever used Karnaugh mapping to miniaturize a logic circuit on the breadboard.

The assignment was to make a circuit that would display a sequence of different numbers on an LED seven-segment display, and each student got a different code, that way we would actually have to use Karnaugh mapping to figure out how many and where to connect the logic gates.
I remember I had trouble because some of the displays were common ground, and others were common Vcc, and the individual segment pins would be either sinking or sourcing depending on which of the two flavors you grabbed, and they were all mixed together, which was frustrating. If memory serves, I didn't have much trouble with the Karnaugh technique, just the components... That was a couple semesters ago though...
 
Last edited:
Dex-chan lover
Joined
Apr 13, 2025
Messages
2,106
Wow, that is a fulsome explanation.

BUT WAIT! THERE'S MORE!
.
See, computers had for a very long time been obsessed with miniaturization, smaller phones, smaller towers, and so on (until we learned we could play games and watch p0rn on our smartphones, then phones started growing again)

There is now a space in the Minecraft Redstoner (one who mostly plays around with redstone) community that has been obsessed with miniaturization.
It has gotten to the point where they've integrated an actual technique I learned in COLLEGE into high-level Redstone circuitry: Karnaugh Mapping.

It is a tool we use in circuit design to determine the absolute minimum number of logic gates needed to produce a given output.
It begins with a Boolean Expression, which is converted into a truth table, which is converted into a Karnaugh map via Gray Code (aka reflected binary, a version of binary code where each step up in value requires the modification of a single character, only. This is useful for in one instance, error detection/prevention)

The Karnaugh map is structured a little bit like a crossword puzzle. You write 1's and 0's (and sometimes an "it doesn't matter" character) in the cells of a Karnaugh map, with ascending gray code written in the column and row headings.

You write a "1" wherever multiple parts of the truth table overlap. If A and B are both one in part of the truth table, a 1 goes in that cell on the karnaugh map (there's complexity I'm not going into here, read it on wikipedia or take Intro to Digital Electronics at the College of Lake County)

The final step is to group the 1s in as few groups as possible, then these groupings inform what logic gates are actually necessary for the desired function, and which are not.

I don't know if Comp Sci students learn karnaugh mapping, as it's several levels of abstraction deeper than the coding most of us associate with computer science degrees. Closer to the machine code which is almost incomprehensible to a human, than something like a programming language, which are porpoise built to take care of some of those levels of abstraction. Wanna know something """FUN"""? learn Assembly Language (like, one or maybe two layers removed from raw, unfiltered, nigh incomprehensible machine code) which I learned in my microprocessors class.

Well, I don't really comprehend everything but I can feel the passion and that's something I always respect !
 
Group Leader
Joined
Aug 15, 2018
Messages
1,076
Yeah, that field is super saturated nowadays...
Glad I didn't pick it.
Yea. It’s vastly different than it was a decade ago where you can get hired even without a portfolio and in 2-3 interviews (HR and technical interviews). Nowadays, you need to have a good portfolio even as a new graduate and undergo at least 4 interviews to get an offer.
 
Dex-chan lover
Joined
Nov 21, 2018
Messages
349
Yea. It’s vastly different than it was a decade ago where you can get hired even without a portfolio and in 2-3 interviews (HR and technical interviews). Nowadays, you need to have a good portfolio even as a new graduate and undergo at least 4 interviews to get an offer.
whoof yikes.
Sounds rough.
 
Dex-chan lover
Joined
Nov 21, 2018
Messages
349
here's an example of a 4 bit gray-code table, with their Hexadecimal equivalents
(LSB on the right because that's how my brain works right now, apparently, and I made this by hand)
0:0000
1:0001
2:0011
3:0010
4:0110
5:0111
6:0101
7:0100
8:1100
9:1101
A:1111
B:1110
C:1010
D:1011
E:1001
F:1000
 

Users who are viewing this thread

Top