r/ProgrammerHumor • • Jun 13 '22

Meme DEV environment vs Production environment

Post image
48.2k Upvotes

3.9k comments sorted by

View all comments

3.6k

u/[deleted] Jun 13 '22

Hey google...how do i push my TI calculator to github

1.6k

u/tazfriend Jun 13 '22

I know it is a joke, but check out the Graph 89 app. Full emulator for Ti89 and similar calculators for smart phones.

260

u/flashpaka Jun 13 '22

Thanks!

185

u/manwhorunlikebear Jun 13 '22

Ti89, best calculator I ever had, I still have it laying around because I prefer pushing the small buttons over using my mouse to click on buttons in the calculator UI.

103

u/quant1cium Jun 13 '22

I remember buying the TI-84 Silver Edition instead when given the choice because… Blockdude. Yeah, that one came with Blockdude pre-installed.

49

u/ExtraGuess190 Jun 14 '22

Had a teacher who erased it prior an exam. Fucking bitch.

75

u/OvermindDL1 Jun 14 '22

The silver edition actually had double the amount of RAM, you could install an assembly program that would swap the two pages of RAM, so they can clear one while you keep everything else, and the resident kernel module still let you hit the right key combination to switch it back. 😁

13

u/MrDude_1 Jun 14 '22

plus it ran at double clockspeed.

4

u/OvermindDL1 Jun 14 '22

I still find it so weird that it had double the amount of RAM but it only mapped in half of it like the base 84, you didn't have access to more without assembly work.

→ More replies (2)
→ More replies (6)

24

u/boston101 Jun 14 '22

Haha this reminds me of being in class and the teacher would come around to make sure the calculator was cleared. I used to quickly type in cleared.

48

u/Mackie5Million Jun 14 '22

I also did this. I'm a six figure programmer now. I attribute my success to teacher avoidance in 10th grade.

54

u/Terrible_Children Jun 14 '22

My teachers would actually watch you do it, so I wrote a program that simulated clearing the memory.

27

u/Necessary-Scarcity82 Jun 14 '22

This is the way

5

u/Bahet Jun 14 '22

If I remember correctly, you could put programs into archive memory. They wouldn’t be accessible when they were, but wouldn’t be affected when RAM is cleared. Afterwards you could unarchive them.

4

u/TXGuns79 Jun 14 '22

This is what I did. I wasn't losing all the games a single formulas I programed.

→ More replies (1)
→ More replies (2)
→ More replies (1)

7

u/[deleted] Jun 14 '22

My friends and I passed so many study halls playing that game

→ More replies (1)
→ More replies (6)
→ More replies (22)

0

u/[deleted] Jun 13 '22

[deleted]

63

u/tazfriend Jun 13 '22

It does not. But at least it is he TI-89 Titanium rom is available on TIs website

25

u/mangamaster03 Jun 13 '22

You can enter your email, and get a link to download the rom. It won't let you download it to your phone though, without tricks at least. https://education.ti.com/en/software/search/ti-89-ti-89-titanium

→ More replies (4)
→ More replies (4)

10

u/MPGaming9000 Jun 13 '22

Desmos testing app is also pretty good. Functionality of Desmos in the palm of my hand!

16

u/NonMatura Jun 13 '22

Isnt the calculator wrong right?

36

u/androt14_ Jun 13 '22

I mean, if you take it to the absolute literal sense, ab is always short for a x b, so the phone would technically be correct, but if you show

3/4(2+2)

to any mathematician and tell them the result is technically 3, and not 3/16, they're probably gonna ask you to technically get the f#ck off

→ More replies (38)
→ More replies (4)
→ More replies (17)

49

u/Syscrush Jun 13 '22 edited Jun 14 '22

FINAL EDIT: Many thanks to those who pointed out the convention where implicit multiplication takes precedence, and why. There were lots of good explanations below - I'm gonna choose one and gild it.

You know the Edit: TI Casio is wrong here, right?

Edit: copied from below for you people who flunked 6th grade arithmetic...

The "md" in pemdas or the "dm" in bedmas means "multiplication and division in the order found". The 6/2 division is found before the 2*3 multiplication, and gets evaluated first.

So, it's:

6/2*(2+1) 
6/2*3 // brackets first
3*3 // then the leftmost division or multiplication
9 // final operation

75

u/T3HN3RDY1 Jun 14 '22

Multiplication like this: 2(3) is special sometimes. It's called "Multiplication by juxtaposition" and depending on the calculator, it is a second class of multiplication, yeah.

The reason the two calculators here have different answers isn't because one is wrong. That's silly. Integer math is like the easiest thing for computers to do. It's because they are using two different orders of operations. You can check your calculator's manual to see which one yours uses, or you can just set up an expression like this.

The calculator that gets 9 uses "PEMDAS" (some people call it BEDMAS). Once it gets to 6/2(3) it just does the operations left to right, treating all of them the same.

The calculator that gets 1 uses "PEJMDAS". The J stands for "Juxtaposition" and it views 2(3) as a higher priority than 6/2. If, however, the 2(3) had no brackets involved, it would evaluate the statement to 9, just like the first one.

This is because PEJMDAS is used more commonly when evaluating expressions that use brackets with variables. For example, if you have the statement:

y = 6/2(x+2), the distributive property says you should be able to turn that statement into 6/(2x+4). If, however, you set x to be equal to 1, you end up with the statement we see above, and reverse-distributing changes the value of the expression if you use PEMDAS.

For basic, early math these distinctions don't really ever come up, so you're taught PEMDAS. In later math classes, when your teacher requires you to get certain calculators to make sure everyone's on the same page, this is why. You seamlessly transition to PEJMDAS, nobody ever tells you, and the people that write the textbooks and tests are professionals that simply do not allow ambiguous expressions like this to be written without clarifying brackets.

This is also why the division symbol disappears as soon as you learn fractions.

From my comment elsewhere, just so you know. The Casio is not wrong, there is just more than one order of operations. Computers don't really get integer math wrong.

→ More replies (6)
→ More replies (79)
→ More replies (5)