The accompanying video for this tutorial is published on https://learn.alexchiri.com
Contents:
The accompanying video for this tutorial is published on https://learn.alexchiri.com
Contents:
import torch.distributed as dist | |
import os | |
import time | |
def main(): | |
dist.init_process_group( | |
backend="gloo" | |
) | |
time.sleep(3600) |
yPos <- 0 | |
draw <- function() { | |
processing$background(as.integer(204)) | |
yPos <- yPos - 1 | |
if (yPos < 0) { | |
yPos <- height | |
} | |
processing$line(0, yPos, width, yPos) | |
} |
import os | |
config = os.path.join(os.path.dirname(__file__),"tests-files", "config.yml") | |
print(config) |
// client conf | |
akka { | |
loglevel = "DEBUG" | |
actor { | |
provider = "akka.remote.RemoteActorRefProvider" | |
} | |
remote { | |
transport = "akka.remote.netty.NettyRemoteTransport" | |
log-sent-messages = on | |
log-received-messages = on |
// 2D Array of objects | |
System sys; | |
// Number of columns and cols in the grid | |
// cols need to > 35 to support the gun test | |
int cols = 50; | |
void setup() { | |
size(400, 400); | |
sys = new System(cols, 400 / cols); |
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers