RSSAmplifier

Blog

Jason Punyon

Recent content on Jason Punyon

jasonpunyon.comRSS feed ↗22 posts

Latest posts

Farey Linked List

In my last post I talked about using Farey numbers as coordinates for linked list elements. Let’s actually do it.

Farey Numbers and Linked Lists

The Farey Numbers are a neat coordinate system for linked lists.

Fun with Random Numbers: The Bootstrap

Let’s play a guessing game. I’m going to choose a big set of numbers. Like a billion jillion numbers. # This is R code. library(tidyverse) generator_mean = floor(runif(1) * 10000 + 10) #SECRETS generator_standard_deviation = floor(runif(1) * 30 + 10) #MORE SECRETS my_numbers = rnorm(10000000, generator_mean, generator_standard_deviation) #OK fine it'll be 10 million instead of a billion jillion.…

rmarcksharpdown

This is an R Markdown document… library(tidyverse) data_frame(X = rnorm(1000)) %>% ggplot(aes(X)) + geom_histogram() And this is some c# code… Console.WriteLine("Hello World!"); ## Hello World! 🤩 …that the document just executed! 🤩 And here’s some more c# code that talks across different Rmd code blocks… var greatDay = "What a great day!"; greatDay = greatDay + " I hope yours is good too!…

Gratitude

I’ve been meditating lately. I started in December, and I haven’t done it every day, but I enjoy it. The topic of this morning’s meditation was gratitude. It led me through feeling grateful for different things. Something someone did for me. Something someone I don’t know did. Something from nature. Something I did. Something small. Something big. My task for the week was to deploy an A/B test of…

Fun With Random Numbers: More Random Projection

Last time we learned about a method of dimensionality reduction called random projection. We showed that using random projection, the number of dimensions required to preserve the distance between the points in a set is dependent only upon the number of points in the set and the maximum acceptable distortion set by the user. Surprisingly it does not depend on the original number of dimensions. The…

Fun With Random Numbers: Random Projection

So, there’s this bit of math called the Johnson-Lindenstrauss lemma. It makes a fairly fantastic claim. Here it is in math-speak from the original paper… Fantastic, right? What does it mean in slightly more lay speak? The Fantastic Claim Let’s say you have a set of 1000 points in a 10,000 dimensional space. These points could be the brightness of pixels from 100x100 grayscale images. Or maybe…

Providence: Failure Is Always An Option

This post is part of a series on the Providence project at Stack Exchange. The first post can be found here. The last five blog posts have been a highlight reel of Providence’s successes. Don’t be fooled, though, the road to Providence was long and winding. Let’s balance out the highlight reel with a look at some of the bumps in the road. I said the road was long. Let’s quantify that.

Providence: Architecture and Performance

This post is part of a series on the Providence project at Stack Exchange. The first post can be found here. We’ve talked about how we’re trying to understand our users better at Stack Exchange and seen just how big an impact it’s had on our pilot project, the Careers Job Ads. Let’s take a look at the architecture of the system. Hardware This is the easy part, so let’s just get it out of the way.

Providence: Testing and Results

This post is part of a series on the Providence project at Stack Exchange. The first post can be found here. The Providence project was motivated by our desire to better understand our users at Stack Exchange. So we think we’ve figured out what kind of developers come to our sites, and what technologies they’re using. Then we figured out a way to combine all our features into the Value Function.

A Wild Anomaly Appears! Part 2: The Anomaling

After all the rave reviews of my last post I knew you were just on the edge of your seat waiting to hear more about my little unsupervised text anomaly detector. So, we’ve got some working ML! Our job’s done right? ‘Round these parts, it ain’t shipped ’til it’s fast and it’s got it’s own chat bot. We spend all day in chat and there’s a cast of…

A wild anomaly appears!

So, I’m working on the new Data Team at Stack Exchange now. Truth is we have no idea what we’re doing (WANNA JOIN US?). But every now and then we come across something that works a little too well and wonder why we haven’t heard about it before. We run a niche job board for programmers that has about 2900 jobs on it this morning. Quality has been pretty easy to maintain.

So you want a zillion developers…

I work at Stack Overflow on Careers 2.0. In addition to our job board we have a candidate database where you can search for developers to hire. Our candidate database has 124K+ developers in it right now. Customers frequently gawk at this number because they’ve looked at other products in the dev hiring space that offer millions of candidates in their databases. Sourcing.io claims to have…

Commuting: A Perverse Incentive at Stack Exchange

So, we just went through comp review season here at the Stack Exchange. This is pretty much the only time of year we talk about money, because that’s the way we want it. We pay people enough to be happy and then shut up about it. You’ll probably only ever hear stuff about comp from me around September each year because that’s the only time it’s on my mind. The system works,…

Fun with RNGs: Calculating π

So, calculating π is a fun pastime for people it seems. There are many ways to do it, but this one is mine. It’s 12 lines of code, it wastes a lot of electricity and it takes forever to converge. 1 2 3 4 5 6 7 8 9 10 11 public double EstimatePi(int numberOfTrials) { var r = new Random(); return 4 * Enumerable.Range(1, numberOfTrials) .Select(o => { var x = r.

A Guy Walks Into An Apple Store...

So me and my wife had a babby recently. Unfortunately my wife had some preterm labor around week 33 and we had to spend about 10 days in the hospital. Don’t worry, everything turned out all right (see perfection below), but I was pretty burnt out after the 10 days in the hospital. My wife was happy with my performance during our mini-crisis and she told me to go indulge a little.

Rock Stars Went Where?

So I read this article today about how the tech industry is too elitist and thinks everyone who’s good is already rich and can follow their bliss until the cows come home waiting for the olympian software companies of the world to come hire them. I just wanted to provide a data point from Stack Exchange. I’m not gonna bloviate that we’re all rock stars at Stack Exchange (I…

Don't Be Represented by Contingency Recruiters

Before I faded a crazy counter offer and got my dream job I worked in finance. I was going on interviews in 2009 having been laid off from my second job after the 2008 collapse. This was back in the days when I was still using contingency recruiters to find jobs. They’re a natural fit for finding finance jobs because banks and hedge funds have money they’re willing to spend on…

On Counter Offers

Last I left you, dear readers, I had just been given an offer to work my dream job at Stack Exchange by Joel. I accepted the offer on the spot, and went home walking on air. What do you do when you get the offer for your dream job? You go home, crack open a bottle of wine and write your resignation letter. Achieving a dream is really liberating. I’d written a resignation letter before, but…

How I Got My Dream Job at Stack Exchange

Matt recently wrote his story about how he got his job at Stack Exchange and I thought it was such a good idea that I’d go ahead and write my own. This is my long rambling account of my path to my dream job. Getting bit by the bug I was a physics major. I spent the summers of my college years at the 88" Cyclotron at UC Berkeley helping in the preparation, execution and analysis of medium…

Employee Referral Bonuses Are Pants on Head Stupid: Follow Up

In my previous post I outlined one reason why I think employee referral bonuses aren’t good: They distort the incentives for referring someone into the company in a way that can’t possibly be good. First off, my thanks go out to everyone who read that post. Some people refuted my argument in various ways and I thought I’d take a look at a couple of them. Refutation The First:…

Employee Referral Bonuses Are Pants On Head Stupid

So, I read this story yesterday about the employee who referred a friend and got screwed out of his referral bonus. People on Hacker News argued about “Name and Shame” and who was right and wrong but the first thought that popped into my head was “employee referral bonuses are pants on head stupid.” Forget about this particular case and the collateral problems it’s…