Sidney San Martín Sidnicious

View keybase.md

Keybase proof

I hereby claim:

  • I am Sidnicious on github.
  • I am sidney (https://keybase.io/sidney) on keybase.
  • I have the public key with fingerprint 5E68 5E60 EB87 3365 4DCB  0057 0DAA 1A4A B1D8 8291

To claim this, I am signing this object:

View Makefile
1 2 3 4 5 6 7 8 9 10
EVERYTHING = $(patsubst %.c,%,$(wildcard *.c))
 
CC=clang
CCFLAGS +=\
-std=c99\
-DDEBUG\
-g\
-Wall\
-Wpedantic\
-Werror
View pushbundler.py
1 2 3 4 5 6 7 8 9 10
import json, subprocess, hashlib
from zipfile import ZipFile
 
class PushPackage(object):
 
def __init__(self, filename):
self.zfile = ZipFile(filename, 'w')
self.manifest = {}
 
def __enter__(self):
View map.cpp
1 2 3 4 5 6 7 8 9 10
#include <team-functional.hpp>
#include <iostream>
 
using namespace std;
using namespace team;
 
int slowSquare(int a) {
usleep(100 * (5 - a));
return a * a;
}
View bahn_server.cpp
1 2 3 4 5 6 7 8 9
#include <team/bahn.h>
 
const char *ip = "127.0.0.1";
const int port = 8080;
 
using namespace std;
using namespace team;
 
int main() {
View http.cpp
1 2 3 4 5 6 7 8 9 10
#include <team/net.h>
#include <stdio>
 
using namespace std;
using namespace async;
 
const char *ip = "127.0.0.1";
const int port = 8080;
 
void amain() {
View scary.T.cpp
1 2 3 4 5 6 7
tamed template <typename T1>
typename event<T1>::ptr tvoid_t<T1>::run(event<>::ptr in) {
tvars { T1 t; typename event<T1>::ptr out; }
DEFAULT_RETURN { return out; }
twait { out = mkevent(t); }
if (in) in->trigger();
}
View gist:6543216
1 2 3 4 5 6 7
tamed template <typename T1>
typename event<T1>::ptr tvoid_t<T1>::run(event<>::ptr in) {
tvars { T1 t; }
DEFAULT_RETURN { return mkevent(t); }
twait { }
if (in) in->trigger();
}
View nc_smtp
1 2
#!/bin/bash
openssl s_client -quiet -crlf -starttls smtp -connect "$@"
View optimization_bug?.cpp
1 2 3 4 5 6 7 8 9 10
class env_t : public context_t {
 
std::stack<context_t> m_returns;
 
public:
 
void blockOnce(context_t *ctx) {
m_returns.emplace();
// m_returns.size(); // Hiesenbug! Uncommenting this makes everything work.
yield(ctx); // Yields to another coroutine which may itself call blockOnce() on the same env_t
Something went wrong with that request. Please try again.