Skip to content

Instantly share code, notes, and snippets.

View renxida's full-sized avatar
💭
Looking for a job

Xida Ren (Cedar) renxida

💭
Looking for a job
  • Seattle, WA
  • 20:10 (UTC -07:00)
View GitHub Profile
| n| algorithm 1| algorithm 2| algorithm 3|
|:--------:|---------------|---------------|---------------|
| 100000| 2.13| 12.28| 9.54|
| 300000| 7.08| 37.36| 34.43|
| 1000000| 30.77| 123.44| 136.25|
| 3000000| 79.75| 370.81| 473.37|
| 10000000| 204.84| 1252.61| 1729.56|
| 30000000| 819.77| 3706.78| 5852.94|
| 100000000| 2746.61| 12257.50| 21669.14|
@renxida
renxida / build_local_tmux.sh
Last active June 4, 2018 16:01 — forked from hiwonjoon/build_local_tmux.sh
Install tmux without root
#!/bin/bash
set -e
TMUX_VERSION=2.7
LIBEVENT_VERSION=2.0.22-stable
NCURSES_VERSION=6.0
mkdir -p $HOME/.local
mkdir -p $HOME/src
@renxida
renxida / replicate_talos_float_err.ipynb
Created November 19, 2018 16:07
replicate_talos_float_err.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@renxida
renxida / test_custom_metric_corr.ipynb
Created November 19, 2018 16:12
test_custom_metric_corr.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@renxida
renxida / hw4.ipynb
Created March 30, 2019 18:02
HW4 Netsec Xida Ren
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@renxida
renxida / hw5.ipynb
Last active April 8, 2019 19:42
hw5 rsa
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@renxida
renxida / notes.md
Last active August 30, 2019 18:03
automatic generation of peephole superoptimizers

Overview

(Paper:Bansal S, Aiken A, Automatic generation of peephole superoptimizers)

Superoptimization

This is the GRAIL. Infinity. The platonic ideal of optimization. Eu-optimization. One true optimization.

What we usually call optimization is nothing but improvement. Superoptimization is the real deal.

It's finding the one true optimal canonical fastest sequence of instructions to accomplish a task.

@renxida
renxida / gist:4134a6ef954bc9d16eef5b0e6e5815ea
Created September 5, 2019 17:52
Notes on Intel Whitepaper: Speculative execution side channel mitigations
# Introduction
The whitepaper can be found at
https://software.intel.com/security-software-guidance/api-app/sites/default/files/336996-Speculative-Execution-Side-Channel-Mitigations.pdf
This paper describes 3 main side channel attacks, and ways to mitigate them.
# Attacks
## Branch Target Injection
@renxida
renxida / venkathw1.ipynb
Created September 24, 2019 21:16
/venkathw1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.