Message from @NyanPudge

Discord ID: 438739479910547467


2018-04-24 04:19:46 UTC  

```cpp
if ( Boolean.TRUE.equals(functionReturningBooleat(pa, isUpdateNetRevenue)) )
```

2018-04-24 04:20:09 UTC  

The newest one from today

2018-04-24 04:20:11 UTC  

lmao

2018-04-24 04:24:28 UTC  
2018-04-24 04:25:58 UTC  

```c
enum Bool
{
True,
False,
FileNotFound
};```

2018-04-24 04:26:24 UTC  

Bonus points for `True` having integer value of `0`, `False` being `1`.

2018-04-24 05:10:34 UTC  

hmm

2018-04-24 05:27:14 UTC  

>There are a million better ways to write this, but I’m honestly impressed by the determination this code shows. It doesn’t give up. It never gives up. It will insert that record, or die trying. That’s how winning is done.

2018-04-24 16:46:51 UTC  
2018-04-24 16:47:00 UTC  

>Reminder: Real hackers hack in silence. You all suck.

2018-04-24 16:48:11 UTC  

Explanation: some anonymous hacking group hacked the Switch bootrom. And rubbed it into the face of "famous" groups in the Nintendo console scenes.

2018-04-24 16:52:11 UTC  

>So this post is just a short heads-up for you about what's going on at the moment with the Switch. The scene is on fire, **the Switch is basically as open as the 3DS now**, just a year after its release. We knew that it wouldn't take long, but nobody expected that it would have such a big impact until the bootrom exploit was discovered.

2018-04-25 04:24:10 UTC  

Cool

2018-04-25 07:23:12 UTC  

what is your favorite sorting algorithm?

2018-04-25 09:06:19 UTC  

Anything that isn't heap

2018-04-25 13:17:39 UTC  

lol

2018-04-25 14:59:48 UTC  

bogosort

2018-04-25 16:34:03 UTC  

bucket sort

2018-04-25 16:39:34 UTC  

Get out of here with your nondeterministic sorting.

2018-04-25 16:45:57 UTC  

```cpp
template<class T>
void snailsort(T start, T finish)
{
while (std::next_permutation(start, finish))
;
}```

2018-04-25 22:47:27 UTC  

I guess this is the best place to ask this. I have an esp8266mod and I will eventually be using it to power motors when told to by some kind of WiFi connection (websocket, raw TCP, whatever).
Currently writing it in C/C++, but I am more comfortable with Node.JS and I came across http://www.espruino.com/ . Is it a good or bad idea to use custom firmware like this? Also do you guys have any better solutions for me?
Also if you think I am retarded for trying to power motors with an esp8266, please do suggest how I could be less retarded. Cheers 🍻

2018-04-26 03:12:05 UTC  

What do you mean, custom firmware?

2018-04-26 03:12:29 UTC  

I'm not an Arduino guy.

2018-04-26 03:17:09 UTC  

Overall, the only downside I can think of is: JS would likely perform worse than C or C++. How precise does the motor operation need to be? Are we talking "3d printer actuators" or just "turn the motor on and off"?

2018-04-26 03:21:42 UTC  

Last time I bothered with Arduino, it wasn't cost effective against RPi.

2018-04-26 16:17:09 UTC  

Goddamn I didn't think this would be so funny.

2018-04-26 17:25:23 UTC  

I'm writing generic Java code

2018-04-26 17:25:26 UTC  

weewt

2018-04-26 17:25:49 UTC  

recursive, generic, and reflection

2018-04-26 17:40:24 UTC  

for what?

2018-04-26 17:44:13 UTC  

I'm doing object inheritance for config files

2018-04-26 17:44:33 UTC  

cool

2018-04-26 17:44:44 UTC  

Using YAML

2018-04-26 17:44:45 UTC  

got a sneak peek?

2018-04-26 17:45:28 UTC  

```yml
sounds:

# The default sound. All sounds without a parent will inherit the sound.
default:
# The Sound name. The sound options are the Bukkit Sounds available.
sound: "SHOOT_ARROW"
# The volume mode for the sound.
# (Options are 'NORMAL' and 'RANDOM'. '3D' is planned for future versions.)
volume_mode: "NORMAL"
# The volume for the sound to be played. (For the 'NORMAL' setting)
volume: 1.0
# The minimum volume value to be played. (For the 'RANDOM' setting)
volume_minimum: 1.0
# The maximum volume value to be played. (For the 'RANDOM' setting)
volume_maximum: 1.0
# The pitch mode for the sound.
# (Options are 'NORMAL' and 'RANDOM'. '3D' is planned for future versions.)
pitch_mode: "NORMAL"
# The pitch for the sound to be played. (For the 'NORMAL' setting)
pitch: 1.0
# The minimum pitch value to be played. (For the 'RANDOM' setting)
pitch-minimum: 1.0
# The maximum pitch value to be played. (For the 'RANDOM' setting)
pitch-maximum: 1.0
# The delay for the sound in ticks. (20 ticks = 1 second)
delay: 0

# Generic Sound Definitions.
sound__generic_shoot:
volume_mode: "RANDOM"
volume_minimum: 0.9
volume_maximum: 1.0

# AK-47
sound__ak_47_shoot_1:
parent: "@sound__generic_shoot"
sound: "IRONGOLEM_HIT"
sound__ak_47_shoot_2:
parent: "@sound__generic_shoot"
sound: "SKELETON_HURT"
sound__ak_47_shoot_3:
parent: "@sound__generic_shoot"
sound: "ZOMBIE_WOOD"
```

2018-04-26 17:46:11 UTC  

*fapping noises*