Shane Barratt Profile Banner
Shane Barratt Profile
Shane Barratt

@ShaneBarratt

1,975
Followers
2,670
Following
94
Media
1,427
Statuses

prop trading | research @hack_vc | gummies @dayonegummies | prev phd @stanford

Joined September 2011
Don't wanna be here? Send us removal request.
@ShaneBarratt
Shane Barratt
2 years
Given FTX site will likely go down soon, I made a (dependency-free) Python script to pull FTX fills/funding/borrow/lending/etc for taxes/accounting. It's here: Just need to make an api key here:
63
206
925
@ShaneBarratt
Shane Barratt
3 years
Tweet media one
35
12
249
@ShaneBarratt
Shane Barratt
2 years
Lots of MEV happening under the hood on ETHW chain… this is because no router Dapps support it, so users wanting to sell useless erc-20s have to do so manually through the router and pools, leading to big DEX arbs. Can easily see this on ethwscan
11
13
124
@ShaneBarratt
Shane Barratt
1 month
Current state SOL vs ETH: Solana validators hastily blocking IPs and unstaked nodes in order to receive as few txs as possible, instead of trying to receive more fee-paying txs. Eth block builders advertising the heck out of their RPCs to receive as many txs as possible.
7
8
70
@ShaneBarratt
Shane Barratt
2 years
@RampCapitalLLC It’s the safest and most sustainable source of baseload energy on the planet.
0
2
68
@ShaneBarratt
Shane Barratt
4 years
@Yamiche Trump just said he has "nothing else to do". Are you kidding me?
2
5
52
@ShaneBarratt
Shane Barratt
4 years
@GavinNewsom Cool. How about some real numbers on contact tracing?
0
1
38
@ShaneBarratt
Shane Barratt
1 month
👀 @jito_labs with a nice new UI on their StakeNet site. See solana work in realtime:
Tweet media one
2
5
43
@ShaneBarratt
Shane Barratt
27 days
Poor Solana RPC operators: option A) use vanilla sending code, tx doesn’t land, eventually gets sandwiched by rogue validator. option B) spam leaders, your IPs get banned, social-shamed in mb-validators. option C) get staked validator, try swqos, realize it doesn’t work / isnt
7
5
39
@ShaneBarratt
Shane Barratt
4 years
@GavinNewsom Can we contact trace every new infection w/in a few hours of + test? Can everyone who came in contact with + case get tested in <1 day? These are issues we need to address before re-opening like this.
4
0
34
@ShaneBarratt
Shane Barratt
1 month
Blanket manual IP bans by Solana validators will not end well - mark my words
11
3
32
@ShaneBarratt
Shane Barratt
2 months
TX spamming is inevitable (and necessary) given the current design of Solana. Nodes don't know if another node/validator/leader has a particular transaction they want to get included, so they send no matter what. IMO solana needs something akin to a mempool.
4
5
31
@ShaneBarratt
Shane Barratt
4 years
@PatBayerNC I think we’re under-estimating the fact that there are two periods post-lockdown. First, you see outstanding cases as deaths 3-4 weeks later. Then, everyone infects everyone in their house, which you probably see 5-6 weeks later. Then, 7-8 weeks the light at the end of the tunnel
4
2
28
@ShaneBarratt
Shane Barratt
1 year
God I love crypto taxes
Tweet media one
3
1
24
@ShaneBarratt
Shane Barratt
1 year
Meet the best RPC setup on Metamask: the RPC Multiplexer. The most successful block builders all offer private RPCs that (we hope) prevent frontrunning etc. I made a web server that you can run locally that sends your transactions to all of them at once.
1
5
26
@ShaneBarratt
Shane Barratt
1 year
No one’s talking about how you can cancel or completely change someone’s flight plans with their last name and 5 characters
3
0
26
@ShaneBarratt
Shane Barratt
5 years
Excited to release our new paper "Minimizing a Sum of Clipped Convex Functions", joint work w/ @GuilleAngeris and Stephen Boyd. Paper: Code:
1
4
24
@ShaneBarratt
Shane Barratt
2 years
If you don't do this soon, the information might soon become inaccessible (as was the case with Celcius). If you need help running it (assuming you're Mac/Linux), just download the script, nav to the folder, run 'python3 -m pip install pandas', then 'python3 scrape_ftx.py'.
3
1
25
@ShaneBarratt
Shane Barratt
1 month
@aeyakovenko @ann_droo @brianlong IMO the TX ingest server at the leader should be a one-way TCP connection with one IP. You're right - it shouldn't be the Fdns job to build these tx ingesters. This forces people to build fast/load-balanced colocated relayers, or sell them as a service to validators. That should
4
1
23
@ShaneBarratt
Shane Barratt
2 years
ERC20ifying Uniswap V3 LP NFTs, a thread. 1/ When you provide liquidity on Uniswap, you get back an NFT that represents ownership of that liquidity. It has certain attributes, like the pair it is on, the tick range, and the fees accrued to that position. No two LPs are the same.
1
3
23
@ShaneBarratt
Shane Barratt
4 years
@SchmidhuberAI For our experiments we used an intel i7-8700K \cite{Turing,vonneumann,zuse,romans,Intel,Babbage,Shockley}.
1
1
24
@ShaneBarratt
Shane Barratt
4 years
@real_defender This tweet will not age well
1
0
22
@ShaneBarratt
Shane Barratt
4 years
@NateSilver538 @COVID19Tracking Stratified by day of week.
Tweet media one
0
1
22
@ShaneBarratt
Shane Barratt
2 years
I don’t trust bridges that I can’t drive on
1
3
19
@ShaneBarratt
Shane Barratt
4 years
@TMZ Who kicks someone repeatedly in the head when they’re down? I hope he gets charged with aggravated assault. It’s not his first:
17
1
18
@ShaneBarratt
Shane Barratt
2 years
This will not happen for long as all of defi will be drained and all ETHW in the hands of users and MEV players. The next defi apps on ETHW will have to keep this in mind. Also at risk are compound-based treasuries, since their governance tokens are valued so low on the chain.
2
0
18
@ShaneBarratt
Shane Barratt
3 months
I built a bulk dependency-free wormhole eligibility checker in python (if the website is down or you don't want to connect your wallet). Just put your addresses in addresses.txt and run the script.
3
4
16
@ShaneBarratt
Shane Barratt
4 years
@NateSilver538 @COVID19Tracking Here is the death data stratified by day of week. Source:
Tweet media one
0
3
16
@ShaneBarratt
Shane Barratt
3 years
As some of you already know, I’ve permanently relocated from the Bay Area to Pittsburgh, PA. If you’re in the area, shoot me a message and let’s hang out!
6
0
17
@ShaneBarratt
Shane Barratt
2 years
Branding the only risk of LPing in an AMM as “impermanent” loss was a genius marketing tool by the Uniswap team. It’s like saying if you buy a stock and it goes down, that’s ok because the loss is only impermanent and it might indeed go back up!
3
0
17
@ShaneBarratt
Shane Barratt
2 years
This whole FTX thing is a mess. The right way to do it would be when assets - liabilities ~<~ consumer deposits, to immediately shut down the exchange, then slowly pay back customers "prorata" based on what's left. Not let a bank run happen then allow preferential withdrawals.
1
0
16
@ShaneBarratt
Shane Barratt
2 years
What's the best format for storing ERC-20 transfers? Surely a transfers matrix which as rows has blocks and as columns has addresses. The (i,j)th entry has the net flow during block i for the ith address. Let's call this matrix A.
4
1
16
@ShaneBarratt
Shane Barratt
2 years
@Mandelliant @tarunchitra OH on-stage at Devcon: “Let me do the ELI5 version.” -> next slide is filled with supremum and infimums
1
1
15
@ShaneBarratt
Shane Barratt
12 days
SOL transaction propagation is still gravely broken, don’t let the SWQOS marketing fool you.
@jacobvcreech
Jacob Creech
12 days
Who has still run into trouble deploying programs on Solana? Lmk what you've tried this far and I'll see what I can do to help
9
11
41
2
0
16
@ShaneBarratt
Shane Barratt
2 years
What happened to ETH CEX markets before and after the Ethereum PoS merge? (which happened on block 15537393 at time Thu Sep 15 06:42:42 2022 UTC). We're going to dig into the ETHUSDT binance orderbook and trade feed to figure it out.
3
4
15
@ShaneBarratt
Shane Barratt
4 years
@patrick_oshag Finance - money stuff by Matt Levine. He’s on a break though
2
0
15
@ShaneBarratt
Shane Barratt
6 months
This feature is a godsend.
Tweet media one
1
0
14
@ShaneBarratt
Shane Barratt
4 years
@Mike_Pence @VP @realDonaldTrump @NASA Why is no one wearing a mask except for the sound guy? Setting such a bad example for the American public.
0
0
13
@ShaneBarratt
Shane Barratt
2 years
i encourage you to read this paper
@tarunchitra
Tarun Chitra
2 years
🧙🏾‍♀️New Paper Alert 🧙🏾‍♀️ Our [Stephen Boyd, @GuilleAngeris , @alexhevans ] Christmas Gift to you is a look at routing in CFMMs like Uniswap, Balancer, and Curve People have talked about *heuristics* for routing, but what about an *optimal* form of routing? 🔮
Tweet media one
11
56
309
0
3
14
@ShaneBarratt
Shane Barratt
1 year
Blur Tokenomics, a thread Since @blur_io is opaque about their tokenomics, I thought I'd make it clear here. Here's my best guess for the rough allocation: 48.5% - Team, vested 29% - Investors, vested 12% - First Airdrop 10% - Future Airdrops 0.5% - Advisors 3B tokens total.
2
0
14
@ShaneBarratt
Shane Barratt
3 years
On 10/21/2021 I purchased 200 shares of DWAC (worth $3848). Today I donated all the shares in kind (worth $12026) to the ACLU. FDT
0
1
13
@ShaneBarratt
Shane Barratt
2 years
It only works for the main account currently! Going to change it so it works also for all subaccounts, stay tuned
2
0
13
@ShaneBarratt
Shane Barratt
6 years
New preprint! "Stochastic Control with Affine Dynamics and Extended Quadratic Costs" We generalize LQR, random LQR, jump LQR, and constrained LQR using extended quadratic functions.
1
2
13
@ShaneBarratt
Shane Barratt
10 years
Your entire life has led up to the moment you're reading this tweet.
0
3
12
@ShaneBarratt
Shane Barratt
2 years
feature request for mapping apps: risk-adjusted trip times. i want mean trip time minus some parameter i choose times the variance. @googlemaps @waze
5
0
12
@ShaneBarratt
Shane Barratt
5 years
The suspense is killing me
@CsabaSzepesvari
Csaba Szepesvari
5 years
Is RL used in real applications? If so, how and where? And if not, why not and how can this be fixed? Join our excellent panelists and speakers at the half-day RL2 workshop organized at @icmlconf or submit a paper to present your views.
3
22
184
0
1
11
@ShaneBarratt
Shane Barratt
2 years
Of course, the obvious disclaimers: Use at your own risk, the code is purely informational, and I provide no guarantees on data quality/completeness etc!
1
0
11
@ShaneBarratt
Shane Barratt
2 years
Needless to say it will be interesting to see how this plays out
1
0
7
@ShaneBarratt
Shane Barratt
1 month
The inherent irony of Solana validators pushing for Swqos (which does nothing) then when it’s implemented they can’t even land their own txs with 400k+ stake.
1
0
12
@ShaneBarratt
Shane Barratt
4 years
@Ron4California @GavinNewsom Let’s make a public database of people who don’t wear masks/follow public health orders, similar to the sex offender list, listings last 2 years. People can use this to guide their decisions regarding these people. These people are dangerous to society, similar to sex offenders.
9
1
10
@ShaneBarratt
Shane Barratt
2 months
@trentdotsol This is bad design and also centralizing imo. Should be striving for a design where anyone in the world can reliably and equitably land a solana transaction.
1
0
11
@ShaneBarratt
Shane Barratt
1 month
You're enjoying a nice espresso on Wednesday afternoon; meanwhile validator operators in the solana discord are trying to operate a firewall for QUIC traffic by hand.
2
0
10
@ShaneBarratt
Shane Barratt
10 days
If you spend time doing this, you are severely undervaluing your time. Go start a data company or something.
@LayerZero_Labs
LayerZero Labs
11 days
Sybil bounty hunting begins on May 18th, 02:00 UTC. For information on preparing bounty reports, follow this guide: Bounty reports will be due on May 31st, 23:59 UTC and must contain at least 20 addresses with a clear methodology. A successful report
Tweet media one
481
360
2K
5
0
11
@ShaneBarratt
Shane Barratt
4 years
The math behind masks is simple. Say p_mask of our population wears masks, and they are effective p_eff, so reduce R by factor (1-p_eff) when worn. Then R = p_mask*(1 - p_eff)*R0 + (1-p_mask)*R0. p_mask = .8, p_eff = .5 -> R = 0.6*R0 p_mask = .5, p_eff = .2 -> R = 0.9*R0. (1/x)
2
1
11
@ShaneBarratt
Shane Barratt
5 months
Pro tip for frequent flyers: use a UK adapter for in-plane power outlets. The US plugs are very worn out, and often don’t work. But the UK ones are barely used so almost always work.
0
0
10
@ShaneBarratt
Shane Barratt
4 years
@Ron4California @GavinNewsom The same authority that stops you from going into a grocery store naked
1
0
9
@ShaneBarratt
Shane Barratt
4 years
I get scooped by bertsimas 20 years ago twice a year
@dinga92
Richard Dinga 🧠📈👶👦👨👴
4 years
just got scooped by Tibshirani 12 years ago
17
10
405
1
0
10
@ShaneBarratt
Shane Barratt
4 years
Let’s say you maxed out your Roth IRA every year from 1990-now, and bought the S&P 500 with it. You’d have $3.5m today, tax free. Don’t forget to max it out!
0
1
9
@ShaneBarratt
Shane Barratt
2 years
I believe it works now for all subaccounts ; go check it out!
3
0
9
@ShaneBarratt
Shane Barratt
6 years
@OpenAI x axis: time y axis: how much alphabet is willing to spend on AI
0
0
8
@ShaneBarratt
Shane Barratt
1 year
Maybe this was already obvious to everyone else, but never fly @JetBlue . I'm supposed to go from JFK->SLC and the flight has been delayed over four hours (been waiting at least two for a new plane). It's an A320 (45% of their fleet) at their headquarters airport.
4
0
8
@ShaneBarratt
Shane Barratt
5 years
Had a great time interning at @LyftLevel5 last summer. Check out this blog post describing my and a few other intern’s experience there!
1
0
9
@ShaneBarratt
Shane Barratt
1 month
@aeyakovenko No validator is gonna let me run custom software on their server, or have any access to their keys. Isn't this just regressing to the same shenanigans that Nasdaq / CME etc play? Pay to play. I'm in crypto specifically beacuse it is *not* pay-to-play.
1
0
9
@ShaneBarratt
Shane Barratt
1 month
Still the only way forward imo - build 1M+ tx/s ingestion system using fd_quic with dedup and basic checks (and no swqos bs), then apply a basic IP firewall for DOSers on top of that.
@ShaneBarratt
Shane Barratt
2 months
@fd_ripatel What do you think about @jump_firedancer building a standalone QUIC relay with their existing fd_quic implementation? Then the top 300 validators or so can turn off QUIC and listen to the relay without a major validator codebase release
4
0
5
2
0
8
@ShaneBarratt
Shane Barratt
2 years
I used CCT to gather this data, and it was super simple and easy to use. Go check it out: The full code:
Tweet media one
2
0
9
@ShaneBarratt
Shane Barratt
2 years
@cryptohound666 Might as well. Surprised FTX doesn't have a button on its site for this.
0
0
8
@ShaneBarratt
Shane Barratt
1 month
Who's making a mempool for solana that uses ZK for txn validity (to keep them valid but secret) and signs the txn using a 1-of-30 multisig of the next 30 leaders?
1
0
8
@ShaneBarratt
Shane Barratt
5 years
Bay Area public transportation in one photo
Tweet media one
0
0
8
@ShaneBarratt
Shane Barratt
1 year
Never book a flight through @Chase Ultimate Rewards. It's not even close to worth the extra 2 miles / $. Have spent countless hours on the phone dealing with their incompetence...
2
0
7
@ShaneBarratt
Shane Barratt
29 days
Who's building a terminal with LLM completion? Or does this already exist
6
0
8
@ShaneBarratt
Shane Barratt
4 years
@NateSilver538 @COVID19Tracking Stratified by day of week
Tweet media one
0
0
8
@ShaneBarratt
Shane Barratt
5 months
There are two types of people in the world: those who stand right next to the baggage carousel, and those who stand back.
2
0
7
@ShaneBarratt
Shane Barratt
2 years
@GuilleAngeris The real trick is to make the introduction the abstracts from each paper. (I definitely did not do this…)
1
0
7
@ShaneBarratt
Shane Barratt
4 years
Gave a talk on this paper at L4DC today! My first virtual conference. Link to the recorded talk:
@ShaneBarratt
Shane Barratt
4 years
New paper - Learning Convex Optimization Control Policies, w/ @akshaykagrawal , @b_stellato , and Stephen Boyd. Paper:
1
8
39
0
2
8
@ShaneBarratt
Shane Barratt
3 years
@sam_power_825 If you like simplicity, you might get a kick out of a few of my papers:
0
1
7
@ShaneBarratt
Shane Barratt
4 years
@NateSilver538 @COVID19Tracking This is a nice way to view the data, broken up by day of week.
Tweet media one
0
2
8
@ShaneBarratt
Shane Barratt
3 years
This paper (book?) is amazing. Go check it out if you want to learn about embeddings.
@akshaykagrawal
Akshay Agrawal
3 years
New paper: Minimum-Distortion Embedding paper: We introduce a framework (generalizing spectral, PCA, MDS, UMAP ...) that leads to new embeddings code: PyMDE lets you fit custom embeddings w/constraints on a GPU via @PyTorch
17
364
2K
0
0
7
@ShaneBarratt
Shane Barratt
2 years
@GrainSurgeon rent car, siphon gas, return car
0
0
8
@ShaneBarratt
Shane Barratt
2 years
2
0
7
@ShaneBarratt
Shane Barratt
3 years
@GuilleAngeris They asked me at Seattle to invert a 10 x 10 orthogonal matrix
1
0
7
@ShaneBarratt
Shane Barratt
2 years
@PraxisSociety Powered by nuclear energy
1
0
6
@ShaneBarratt
Shane Barratt
2 years
How do QR ticket scanners work? If you time it well enough could you get two entries into an event by scanning the same ticket or is it atomic.
1
0
7
@ShaneBarratt
Shane Barratt
1 month
Well done @solana , you officially made it impossible to send a high fee-paying on the solana network without staking $2.5m+ SOL. Repeat after me, SOL=JTO.
@rexstjohn
Rex St. John
1 month
This contains the first round of @solana mainnet congestion updates which everyone has been waiting for from @anza_xyz . There are additional updates coming. It is important to note this is NOT v1.18, which will have further improvements.
Tweet media one
4
22
135
4
1
7
@ShaneBarratt
Shane Barratt
4 years
Our tax dollars hard at work: members of the White House council for economic advisory running a cubic fit in excel predicting zero deaths by May 15.
@WhiteHouseCEA45
CEA45 Archived
4 years
To better visualize observed data, we also continually update a curve-fitting exercise to summarize COVID-19's observed trajectory. Particularly with irregular data, curve fitting can improve data visualization. As shown, IHME's mortality curves have matched the data fairly well.
Tweet media one
1K
184
435
1
1
7
@ShaneBarratt
Shane Barratt
12 days
@laurentzeimes @chameleon_jeff They just have a loooong way to go on the decentralization / open source front. Not saying they won’t.
0
0
7
@ShaneBarratt
Shane Barratt
26 days
I had a basic misunderstanding here. Validators have 3 income sources (block rewards, fees on inflation rewards, fees on MEV). Often (almost always), block rewards are not paid out to stakers. So stakers have no incentive to stake to validators that produce bigger blocks.
@ShaneBarratt
Shane Barratt
1 month
Thus, there's no incentive to improve the networking rails or block-building for an individual validator. Hence the widespread QUIC networking issues. Solana validators don't really care if your transaction makes it, because they get the yearly inflation no matter what.
3
0
6
3
0
7
@ShaneBarratt
Shane Barratt
5 years
New paper on auto-tuning least squares!
0
0
7
@ShaneBarratt
Shane Barratt
4 years
Post shelter-in-place, every state needs to: 1. Set up massive testing capacity. 2. Hire tens of thousands of contact tracers. 3. Encourage distancing, frequent sanitation, mask-wearing in public, and 14 day self-isolation or test after suspected contact.
2
2
7
@ShaneBarratt
Shane Barratt
29 days
Please @bchesky ; crack down on listers with “Families only” or other demographic requirements in their @Airbnb listings. 1) it’s super annoying to sift through. 2) it’s def in violation of several discrimination laws. Remove them now!
1
0
6
@ShaneBarratt
Shane Barratt
4 years
I regressed log(deaths from COVID / 1k) on the Hofstede IDV (higher means individualistic, lower means collectivist). The results are fascinating: deaths per capita are proportional to e^(0.047 IDV). (1/2)
Tweet media one
3
0
6
@ShaneBarratt
Shane Barratt
6 years
@pmddomingos not so fast!
1
0
6
@ShaneBarratt
Shane Barratt
3 months
Who's building the AI startup that makes Selenium obsolete? Asking for a friend
@browserdotsys
bowser
3 months
web devs are on some shit you wouldn't believe
Tweet media one
108
541
10K
1
0
5
@ShaneBarratt
Shane Barratt
3 months
jupyter notebooks on steroids; highly recommend checking out
@marimo_io
marimo
3 months
Coming soon under our experimental flags... Modify a cell's code using AI ✨(obligatory sparkles)✨
0
0
6
0
0
6
@ShaneBarratt
Shane Barratt
1 month
@aeyakovenko Unfortunately that’s a) a lot of effort and time for one person and b) like running a CME trading strat from your basement. People running trading strats on solana will sadly go to extreme measures to send direct to leader. (my suggestion - set 500 unstaked to 10k to reduce
3
0
6
@ShaneBarratt
Shane Barratt
4 years
@davidrliu @NateSilver538 Yeah, and assuming the distribution of infection -> death is symmetric, you are only going to see half of the bulk of deaths 23 days later. It's more like a convolution with the infections that happened 23 +/- 5 days before.
2
0
6