Skip to content

Instantly share code, notes, and snippets.

@jvns
jvns / mailman-to-gmane.js
Last active August 29, 2015 13:56
gmane.js
var text = $('pre')[0].innerText.substr(0, 100);
text = text.replace(/ \w+$/, '').replace("\n", " ");
var search = '"' + text + '"' + ' site:comments.gmane.org';
console.log(search);
window.location = "http://duckduckgo.com/?q=! " + search;
@jvns
jvns / kernelfuntalk.md
Last active August 24, 2023 16:02
You can be a kernel hacker

Hello!

Did you see my talk at CUSEC? If you're interested in hacking on the Linux kernel, here are some more resources! If you have suggestions for learning about OS X or Windows, or you're interested in learning about BSD, let me know!

Reading kernel code:

@jvns
jvns / talk.md
Last active January 3, 2016 11:39
You can be a kernel hacker

What it's about:

Writing operating systems sounds like it's only for wizards, but it turns out that operating systems are written by humans like you and me. I'm going to tell you what a kernel is and why you should care. Then we'll talk about a few concrete ways to get started with kernel hacking, ranging from the super-easy to the terrifyingly difficult.

It's by me! (Julia Evans)

You should come talk to me about

@jvns
jvns / interview-questions.md
Last active April 25, 2024 15:52
A list of questions you could ask while interviewing

A lot of these are outright stolen from Edward O'Campo-Gooding's list of questions. I really like his list.

I'm having some trouble paring this down to a manageable list of questions -- I realistically want to know all of these things before starting to work at a company, but it's a lot to ask all at once. My current game plan is to pick 6 before an interview and ask those.

I'd love comments and suggestions about any of these.

I've found questions like "do you have smart people? Can I learn a lot at your company?" to be basically totally useless -- everybody will say "yeah, definitely!" and it's hard to learn anything from them. So I'm trying to make all of these questions pretty concrete -- if a team doesn't have an issue tracker, they don't have an issue tracker.

I'm also mostly not asking about principles, but the way things are -- not "do you think code review is important?", but "Does all code get reviewed?".

@jvns
jvns / project-ideas.md
Created December 29, 2013 22:37
Some project ideas (for me)

Distributed Systems

???

  • Write a tiny compiler in Haskell, targeting LLVM
@jvns
jvns / blogs.md
Last active April 16, 2020 09:34
Tech blogs I subscribe to

At PyCon 2012, 11% of conference attendees were women. In 2013, it shot to over 20%; and the ratio of speakers matched. 33% of the speakers for PyCon 2014 are women. PyLadies and the Python Software Foundation worked hard to increase diversity with the help of financial aid, and it clearly showed. We’re hoping to continue that momentum.

In the past, one PyLady from the US/North America needed about $500 - $1000 to help pay for flights and hotels, with about $1000-2000 needed for those that are international.

We’re hoping to raise at least $20,000 to help about 20 magnificent women to attend. That money will go to women that will be speaking, giving a tutorial, presenting a poster, or trying out a lightning talk. It will go to women attending that give back to the Python and Open Source community, and those looking to make connections to start their own local PyLadies group.

If you folks choose to donate, we will give profuse thanks on our blog [3], tweet from our PyLadies handle [4], and include promotio

@jvns
jvns / cache.c
Last active January 1, 2016 06:59
Trying to demonstrate that I have a CPU cache
/**
* The way this works:
* ./cache array_size n_repeats allocates an array of size 32 *
* array_size, and * adds up all the numbers in it n_repeats times.
*
* Try for example
* $ time ./cache 1 3200000
* $ time ./cache 3200000 1
*
* This was supposed to demonstrate that I have a CPU cache, but it does