Author : Dua Guillaume
Date : 04-26-2020
Requirement : A first experience with CMake
As a modern C++ specialist, my job is to focus on software development, from a performance and quality perspective.
mod1 = 2147483563 | |
mod2 = 2147483399 | |
mult1 = 40014 | |
mult2 = 40692 | |
seed1 = 12345 | |
seed2 = 67890 | |
def seed(n): | |
global seed1, seed2, mod1, mod2 | |
if n < 0: |
/** | |
* MIT License | |
* | |
* Copyright (c) 2021 Peter Tillema | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
// For compatibility. Not sure with what. | |
#define int const void * | |
// It's good practice to inline frequently used functions. | |
#define main() main??(??) | |
// Never assume that NULL is 0. This will keep potential future collaborators on their toes. | |
#undef NULL | |
#define NULL 26880 | |
#define O430 &15??(main??) |
Recently more and more chatbots appear, the overall chatbot market grows and the platform for it grows as well. Today we are taking a close look at what benefits creating a microservice chatbot on Discord - (a communication platform mainly targeted at gamers) would provide.
The concepts and ideas explained in this whitepaper are geared towards bots with a bigger userbase where the limits of a usual bot style appear with a greater effect
(If you are already proficient with the Discord API and the way a normal bot works, you may skip ahead to The Concept)
function go() { | |
var userId = prompt('Username?', 'Guest'); | |
checkIfUserExists(userId); | |
} | |
var USERS_LOCATION = 'https://SampleChat.firebaseIO-demo.com/users'; | |
function userExistsCallback(userId, exists) { | |
if (exists) { | |
alert('user ' + userId + ' exists!'); |