Message from @kotten

Discord ID: 449710144461471754


2018-05-24 21:03:55 UTC  

https://cdn.discordapp.com/attachments/423219052849397773/449316643059793953/29386170_10156463159454617_588070816883939368_n.png

2018-05-24 21:04:46 UTC  

https://cdn.discordapp.com/attachments/423219052849397773/449316854738059274/image.jpg

2018-05-25 01:04:27 UTC  

https://cdn.discordapp.com/attachments/423219052849397773/449377176412880906/2018-05-24_17_55_16-000089.png

2018-05-25 01:05:41 UTC  

because coding is easy!

2018-05-25 01:50:06 UTC  

Spent it on the dinosaurs and not the pizza eating nerfherder

2018-05-25 01:57:40 UTC  

?

2018-05-25 02:01:54 UTC  

What if it went like this:
- I need a team of coders. Since it needs to be fail-safe code, with human lives at stake, it needs to be carefully designed, thoroughly tested, and ...
- I have faith in you, you can do it by yourself.
- (Fucking old geezer... I could burn the whole place down, you know?)

https://cdn.discordapp.com/attachments/423219052849397773/449391633759338496/oaq0yq.jpg

2018-05-25 02:02:32 UTC  

What’s the worse coding habits you guys have seen:

2018-05-25 02:06:38 UTC  

```using namespace std;```

2018-05-25 02:07:45 UTC  

I'd say, that's fine when done in a single .cpp file. But last week or so I've heard some idiots ("game devs") still use "Unity Builds".

2018-05-25 02:08:58 UTC  

For those that don't know, it's when you have a `everything.cpp` file with
```cpp
#include "main.cpp"
#include "utils.cpp"
#include "player.cpp"
#include "thatotherthing.cpp"
#include "networkfunctions.cpp"
#include "someotherrandomcrap.cpp"
...
```

2018-05-25 02:11:42 UTC  

Never mind that changing one single file now requires rebuilding your entire program, never mind that now you can't do parallel compilation in your shiny, expensive build machine with 32 cores, never mind that a .cpp file might just define a macro and never undefine it, never mind that multiple files might have a `static int profiler_counter;` variable that are now violating the one-definition-rule and are now shared across everything...

2018-05-25 02:12:02 UTC  

At least now you don't have to learn how to have more than one file on your IDE, so that's a win, right?

2018-05-25 02:12:39 UTC  

What's that, you ran out of memory for the compilation? Then delete some code!

2018-05-25 02:23:07 UTC  

Worst coding habit I've encountered is when the programmer knows absolutely nothing about other people's code. He never read code from anybody else for 10 years or more, has no idea about terminology and concepts. So he writes shit like
```cpp
void context_activate_get_task_prepare(Worker* worker,
int number,
char* buffer,
Context **ctx,
int* explanation,
int level,
int sublevel,
float delay,
ContextExtra *activity,
stack<int> connection,
char file,
char* file2,
int avoid)
{
// ... you don't want to see what's in here
}
```

2018-05-25 02:24:50 UTC  

And no, the documentation for this function doesn't make any more sense than the argument names.

2018-05-25 23:03:11 UTC  

@kotten Fedora.

2018-05-25 23:04:07 UTC  

It is quite handy for all the OpenShift/kubernetes stuff that I have to deal with.

2018-05-25 23:06:59 UTC  

Yeah it's nice

2018-05-25 23:07:33 UTC  

how is kubernetes treating you?

2018-05-25 23:10:37 UTC  

I am only using it as a developer, I don't setup clusters myself. And minishift works like a charm for my local machine.

2018-05-25 23:11:53 UTC  

@Deleted User what kind of apps do you develop?

2018-05-25 23:14:08 UTC  

I am a student, so nothing really exciting for now. Maybe in future.

2018-05-25 23:14:13 UTC  

You?

2018-05-25 23:17:09 UTC  

@Deleted User it sure is the future, I am not a developer

2018-05-28 03:19:42 UTC  

@meratrix Start on that Scala poll bot yet

2018-05-28 03:27:37 UTC  

not yet, although I'm probably gonna have to do it in JavaScript because there isn't an official Discord API for Scala, and I don't wanna deal with using unofficial ones made using the Java API that may stop being updated.

2018-05-28 03:29:03 UTC  

I'd use JavaScript because I want to integrate it with a webpage that displays the poll when visited and you enter the server and poll name.

2018-05-28 03:30:53 UTC  

cool

2018-05-28 03:41:09 UTC  

>JS

2018-05-28 03:41:12 UTC  

<:super_edgy:426099058466095119>

2018-05-28 06:12:06 UTC  

All the Discord APIs are unofficial.

2018-06-01 00:11:11 UTC  

This program colors b/w sketches near perfectly. We have successfully started taking artists jobs now

2018-06-01 00:14:55 UTC  

?

2018-06-01 00:15:00 UTC  

are you shilling?

2018-06-01 00:15:25 UTC  

No I just get boners from impressive tools

2018-06-01 00:15:33 UTC  

oh ok