Skip to content

Instantly share code, notes, and snippets.

View bowbahdoe's full-sized avatar

Ethan McCue bowbahdoe

  • Pembroke, MA
View GitHub Profile
@bowbahdoe
bowbahdoe / amazon.md
Created April 29, 2024 04:29 — forked from terabyte/amazon.md
Amazon's Build System

Prologue

I wrote this answer on stackexchange, here: https://stackoverflow.com/posts/12597919/

It was wrongly deleted for containing "proprietary information" years later. I think that's bullshit so I am posting it here. Come at me.

The Question

Amazon is a SOA system with 100s of services (or so says Amazon Chief Technology Officer Werner Vogels). How do they handle build and release?

@bowbahdoe
bowbahdoe / Continuation.java
Created July 17, 2023 15:46
Continuation Proxy Classes
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.MethodType;
public final class Continuation {
final Object impl;
static final Class<?> IMPL_CLASS;
static final MethodHandle NEW;
static final MethodHandle YIELD;

Keybase proof

I hereby claim:

  • I am bowbahdoe on github.
  • I am emccue (https://keybase.io/emccue) on keybase.
  • I have a public key ASBJESmZEasR7DZRXCg6ITA5bpgeyRei11UmUcMgdCTq8Ao

To claim this, I am signing this object:

class App extends React.Component {
constructor(props) {
this.state = {
count: 0
}
}
onClick(e) {
this.setState({
count: this.state.count + 1
'use strict'
/*
This module contains all the code required for working with the swagger backend
*/
const Swagger = require('swagger-client')
const cookie = require('cookie')
const _ = require('lodash')
const CSRFTOKEN = cookie.parse(document.cookie).csrftoken
'use strict'
/*
This module contains all the code required for working with the swagger backend
*/
const Swagger = require('swagger-client')
const cookie = require('cookie')
const _ = require('lodash')
const CSRFTOKEN = cookie.parse(document.cookie).csrftoken
;; Macros to support placing definitions
;; proved to be correct in ACL2S begginer mode into a clojure program
;; ACL2SCode is one of
;; -- Symbol
;; -- Number
;; -- |List ACL2SCode|
(defonce acl2s-substitutions
'((listp list?)
'''
Live plots data recieved over serial
'''
import collections
import matplotlib as mpl
import matplotlib.pyplot as plt
import serial
import serial.tools.list_ports as list_ports
import threading
import atexit
interface ILO {}
class LO<T> implements ILO {
boolean empty;
T first;
LO<T> rest;
// Creates an ILO
LO(T first, LO<T> rest) {
this.first = first;
export class Camera extends Fixture{
constructor(data,metadata={}) {
this._structure_id = ...
}
getCurrentImage() {...}
}