Message from @Deleted User

Discord ID: 429457133160103937


2018-03-29 17:02:19 UTC  

push()

2018-03-29 17:04:44 UTC  

It was almost as if every name of class and method was created to mislead anyone else working with the code.

2018-03-29 17:05:24 UTC  

So yeah, don't be "that guy" that doesn't know the name of things that everyone else knows.

2018-03-29 17:06:29 UTC  

You should be curious to do things on your own without needing somebody to hold your hand, but also you should constantly check what other people created, to make sure you're not doing things completely wrong.

2018-03-29 17:48:47 UTC  

How did you mark up the text?

2018-03-29 17:56:45 UTC  

Google "Discord markdown".

2018-03-30 19:47:11 UTC  

That took all too long

https://cdn.discordapp.com/attachments/423219052849397773/429366000173973525/Capture_2018-03-30-15-46-38.png

2018-03-30 19:50:07 UTC  

Covered out the `http://localhost`?

2018-03-30 19:50:24 UTC  

Its my public ip

2018-03-30 20:41:33 UTC  

Share it

2018-03-30 20:42:03 UTC  

Also, chrome? Really?
Might as well just use JS

2018-03-30 21:48:16 UTC  

What do you use? Safari?

2018-03-31 00:06:41 UTC  

One has to wonder, how much energy we're wasting worldwide because so many websites now offset computation and rendering to the client side.

2018-03-31 00:12:54 UTC  

@Durtle02 Use firefox

2018-03-31 01:43:59 UTC  

@Deleted User This is my life tonight.
```
.data

print: .asciz "%d\n\000"
scan: .asciz "%d\000"

.comm A, 32, 32
.comm B, 32, 32

.text
addr_A: .word A
addr_B: .word B
addr_scan: .word scan
addr_print: .word print

.global main

main:

stmfd sp!, {r0-r1, lr}

ldr r0, addr_scan /* r0 <- &addr_scan */
ldr r1, addr_A /* r1 <- addr_A */
bl scanf /* calls scanf */

ldr r0, addr_scan /* r0 <- &addr_scan */
ldr r1, addr_B /* r1 <- addr_B */
bl scanf /* calls scanf */

ldr r0, addr_A /* r0 <- addr_A */
ldr r0, [r0] /* r0 <- *r0 */

ldr r1, addr_B /* r1 <- addr_B */
ldr r1, [r1] /* r1 <- *r1 */

cmp r0, r1 /* compare r0 and r1 */
movgt r1, r0 /* move greater to r1 */
ldr r0, addr_print /* */
bl printf /* calls printf */

ldmfd sp!, {r0-r1, pc}

```

2018-03-31 01:45:29 UTC  

@meratrix nigger is that assembly code

2018-03-31 01:45:37 UTC  

arm assembly my dude

2018-03-31 01:45:41 UTC  

why the fuck are you showing me that cancer

2018-03-31 01:45:48 UTC  

cause it's my cancer

2018-03-31 01:46:39 UTC  

two can play it that way nigger

2018-03-31 01:49:19 UTC  
2018-03-31 02:25:47 UTC  

``bl printf /* calls printf */`` comments could use more redundancy

2018-03-31 02:27:54 UTC  

I guess it's useful for people not familiar with the mnemonics.

2018-03-31 02:28:13 UTC  

But then, `cmp r0, r1 /* compare r0 and r1 */` ? That's just retarded.

2018-03-31 02:28:23 UTC  

Gotta comment every line otherwise TA's give me shit

2018-03-31 02:29:33 UTC  

they should be more worried the students know what their code means

2018-03-31 02:30:01 UTC  

Back when I did assembly homework, I had to normalize a single-precision floating point number on a toy computer, that had only 256 bytes of RAM. And we had to write our own assembler.

2018-03-31 02:30:19 UTC  

i'm learning 68k but im gonna learn ARM after that

2018-03-31 02:30:26 UTC  

And whoever used the least instructions got bragging rights.

2018-03-31 02:30:37 UTC  

which computer

2018-03-31 02:31:32 UTC  

Oh, one that my professors used, I think it was created by a student a few years prior. Don't even remember the name.

2018-03-31 02:32:01 UTC  

It was your typical two operand instructions, 4-bit instructions.

2018-03-31 02:32:03 UTC  

interesting strategy. too obscure to cheat?

2018-03-31 02:32:34 UTC  

I guess so.

2018-03-31 02:32:48 UTC  

can i do your same assignment on 68k?

2018-03-31 02:33:17 UTC  

I don't see why not.

2018-03-31 02:33:29 UTC  

will it be easier then?

2018-03-31 02:33:41 UTC  

Probably.

2018-03-31 02:34:02 UTC  

I got bragging rights, by the way. Got my program to be even shorter than the professor's and the TAs' programs.

2018-03-31 02:34:19 UTC  

By using the instructions themselves as constants.

2018-03-31 02:34:48 UTC  

About 20% of the class couldn't make it fit in the 256 bytes.