dank-memes

Discord ID: 372508286529961996


121,435 total messages. Viewing 100 per page.
Prev | Page 75/1215 | Next

2017-12-17 00:24:07 UTC

Was enums missing too?

2017-12-17 00:24:12 UTC

but at least visual basic isn't html

2017-12-17 00:24:23 UTC

no

2017-12-17 00:24:27 UTC

enums are in C#

2017-12-17 00:24:39 UTC

Like I said, if you don't throw *too* hard an anyeurism

2017-12-17 00:24:46 UTC

But it sounds good to the technologically illiterate

2017-12-17 00:25:13 UTC

it didn't have lambas, those are like the one thing in JavaScript I actually liked

2017-12-17 00:25:29 UTC

I T W O N T S T O P

https://cdn.discordapp.com/attachments/372508286529961996/391747696228040704/bready2die.png

2017-12-17 00:25:37 UTC

Programming in dank memes<:think_woke:378717098681171988>

2017-12-17 00:25:43 UTC

it is dank

2017-12-17 00:25:58 UTC

My college made me take VB and HTML before they let me into the class for magical Javascript and ASP.NET

2017-12-17 00:26:41 UTC
2017-12-17 00:27:39 UTC

wat is a classic

2017-12-17 00:28:29 UTC

Yeah

2017-12-17 00:28:34 UTC

>javascript

2017-12-17 00:28:36 UTC

kek

2017-12-17 00:30:33 UTC

Basically the class was for making basic websites from scratch in ASP.NET, so we spent 2/3rds of it going over the basics of HTML and Javascript <:what:382980756139409409>

2017-12-17 00:30:40 UTC

that was pretty good

2017-12-17 00:30:52 UTC

you guys want to see some prolog code?

2017-12-17 00:30:56 UTC

sure

2017-12-17 00:30:57 UTC

sure

2017-12-17 00:34:39 UTC

https://cdn.discordapp.com/attachments/372508286529961996/391750004760641546/Null.png

2017-12-17 00:35:20 UTC

so given:
int foo(int x, int y)
{
if (y <= 0)
{
return x;
}
if (x <= 0)
{
return y;
}
if (x >= y)
{
return x+foo(x - 3, y);
}
if (x < y)
{
return y+foo(x, y - 2);
}
}

2017-12-17 00:35:54 UTC

^
above code is C++

foo(X,Y,Z) :-
(Y=0;Y<0),
Z is X, !.

foo(X,Y,Z) :-
(X<0;X=0),
Z is Y, !.

foo(X,Y,Z) :-
(X=Y;X>Y),
K is X-3,
foo(K,Y,S),
Z is S + X.

foo(X,Y,Z) :-
X

2017-12-17 00:36:09 UTC

ME๐Ÿ”ซ

2017-12-17 00:36:15 UTC

jesus

2017-12-17 00:36:22 UTC

Also, why not a switch statement for C++?

2017-12-17 00:36:46 UTC

This is HelloWorld

2017-12-17 00:36:47 UTC

>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.>++++++++++.

2017-12-17 00:36:52 UTC

This is in BrainFuck

2017-12-17 00:37:04 UTC

```cpp
int foo(int x, int y)
{
if (y <= 0)
return x;
if (x <= 0)
return y;
if (x >= y)
return x+foo(x - 3, y);
else
return y+foo(x, y - 2);
}```

2017-12-17 00:37:12 UTC

@Legiondude cuz I was lazy

2017-12-17 00:37:29 UTC

What's the tags to encapsulate code in Discord's formatting @DanielKO ?

2017-12-17 00:37:45 UTC

\`\`\`cpp
code here
\`\`\`

2017-12-17 00:38:07 UTC

```BrainFuck >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.>++++++++++. ```

2017-12-17 00:38:20 UTC

```
cout<<"Prolog is Weird"<

2017-12-17 00:38:36 UTC

Try "bf"

2017-12-17 00:38:49 UTC

```bf >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.>++++++++++. ```

2017-12-17 00:38:51 UTC

nope

2017-12-17 00:38:57 UTC

probably doesn't exist for BrainFuck

2017-12-17 00:39:01 UTC

it is just a meme language

2017-12-17 00:39:06 UTC

\`\`\`bf
code here, new line you faggot
\`\`\`

2017-12-17 00:39:19 UTC

```bf
>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.>++++++++++.
```

2017-12-17 00:39:21 UTC

shit

2017-12-17 00:39:23 UTC

it does work

2017-12-17 00:39:37 UTC

so what did you guys think of prolog?

2017-12-17 00:39:41 UTC

cancer

2017-12-17 00:39:51 UTC

exactly

2017-12-17 00:39:59 UTC

It does its job, I don't think I'll ever use it.

2017-12-17 00:40:03 UTC

```prolog
foo(X,Y,Z) :-
(Y=0;Y<0),
Z is X, !.

foo(X,Y,Z) :-
(X<0;X=0),
Z is Y, !.

foo(X,Y,Z) :-
(X=Y;X>Y),
K is X-3,
foo(K,Y,S),
Z is S + X.

foo(X,Y,Z) :-
X

2017-12-17 00:40:42 UTC

So is it time to poke JDM for a CompSci channel?

2017-12-17 00:41:01 UTC

#geeks

2017-12-17 00:41:50 UTC

```scala
import scala.collection.mutable

object MyClass {
def main(args: Array[String]) {
val argsLength = args.length - 1
val m = mutable.LinkedHashMap[Int, String]()

for(i <- 0 to argsLength) {
m += (i -> args(i))

}
m.foreach((kv: (Int, String)) => println(kv._1 + ":\t" + kv._2))

}

}
```

2017-12-17 00:42:12 UTC

This is the library Discord uses: https://highlightjs.org/static/demo/

2017-12-17 00:43:04 UTC

cool

2017-12-17 00:43:41 UTC

@JDM_WAAAT The votes have been cast! We need a #geeks channel

2017-12-17 00:44:05 UTC

https://cdn.discordapp.com/attachments/372508286529961996/391752377662701571/1513460299299.png

2017-12-17 00:44:11 UTC

now you guys want some real cancer code?

2017-12-17 00:44:12 UTC

Only a cuck would say that

2017-12-17 00:44:22 UTC

heh

2017-12-17 00:44:37 UTC

Maybe have a hobbies category and put stuff like <#385307110813990913> and #code in there

2017-12-17 00:45:12 UTC

Fuck firearms, it's lame.

2017-12-17 00:45:30 UTC

https://cdn.discordapp.com/attachments/372508286529961996/391752733142810625/image-21-1.jpg

2017-12-17 00:45:35 UTC

wow rude

2017-12-17 00:45:39 UTC

Teamwork

2017-12-17 00:45:43 UTC

๐Ÿ‘Œ

2017-12-17 00:46:00 UTC

https://cdn.discordapp.com/attachments/372508286529961996/391752862566449152/image_28.jpg

2017-12-17 00:46:03 UTC

We need a #geeks and a #games channel.

2017-12-17 00:46:08 UTC

^^^

2017-12-17 00:46:30 UTC

Only soccer moms and the weak fear everyday tools like firearms.

2017-12-17 00:46:38 UTC

And a #meta channel too.

2017-12-17 00:46:47 UTC

Been saying that since I joined.

2017-12-17 00:46:59 UTC

la $s5, ans6
addi $t8, $zero, 3
addi $t9, $zero, 2
div $t1, $t8
#addi $s5, $HI, 0
mfhi $s5
add $s5, $s5, $t7
mult $s5, $t8
#addi $s5, $LO, 0
mflo $s5
div $s5, $t5
#addi $s5, $LO, 0
mflo $s5
sub $s5, $t3, $s5
la $a0, answer6
li $v0, 4
syscall
la $a0, 0($s5)
li $v0, 1
syscall
la $a0, space
li $v0, 4
syscall

2017-12-17 00:47:00 UTC

AND A MUSIC BOT

2017-12-17 00:47:10 UTC

how is that code?

2017-12-17 00:47:16 UTC

Looks like JDM already checked out

2017-12-17 00:48:01 UTC

```MIPS
la $s5, ans6
addi $t8, $zero, 3
addi $t9, $zero, 2
div $t1, $t8
#addi $s5, $HI, 0
mfhi $s5
add $s5, $s5, $t7
mult $s5, $t8
#addi $s5, $LO, 0
mflo $s5
div $s5, $t5
#addi $s5, $LO, 0
mflo $s5
sub $s5, $t3, $s5
la $a0, answer6
li $v0, 4
syscall
la $a0, 0($s5)
li $v0, 1
syscall
la $a0, space
li $v0, 4
syscall
```

2017-12-17 00:48:05 UTC

wow

2017-12-17 00:48:06 UTC

I put this in a #nsfw channel

https://cdn.discordapp.com/attachments/372508286529961996/391753387714019338/unknown.png

2017-12-17 00:48:07 UTC

Or just join jdm's other discord

2017-12-17 00:48:11 UTC

that fggot ha his own?

2017-12-17 00:48:41 UTC

He has a youtube channel too

2017-12-17 00:49:02 UTC

Getting back on topic

2017-12-17 00:49:04 UTC

lol

2017-12-17 00:49:25 UTC

fag only comes here to complain about people talking in <#377519392956874752>

2017-12-17 00:49:42 UTC

lol

2017-12-17 00:49:46 UTC

like JDM

2017-12-17 00:50:05 UTC

any of you guys ever had to program in assembly?

2017-12-17 00:50:14 UTC

Yes.

2017-12-17 00:50:33 UTC

that was most cancer

2017-12-17 00:51:32 UTC

Worst assembly I had to deal with was CUDA/PTX asm.

2017-12-17 00:51:42 UTC

lol

2017-12-17 00:51:47 UTC

Had to literally edit the assembly by hand because the compiler was generating wrong code.

2017-12-17 00:51:57 UTC

wow

2017-12-17 00:52:01 UTC

that sucks

2017-12-17 00:52:18 UTC

Back in the CUDA 1.0 days.

121,435 total messages. Viewing 100 per page.
Prev | Page 75/1215 | Next