wollw | 13 years ago | on: Vim Git Gutter
wollw's comments
wollw | 13 years ago | on: Use long flags when scripting
wollw | 13 years ago | on: Use long flags when scripting
#!/usr/bin/env bash
Assuming env is installed (I believe I had to install a package on OpenBSD to use it) this will find the first instance of bash in the PATH.wollw | 13 years ago | on: How one woman got 50% female speakers at a tech conference
I'll agree that there was obvious discrimination in who she personally sought out as speakers, but when it came time to select speakers for the event she didn't turn men away for being men or select women because they were women. She didn't sacrifice the quality of her conference to showcase women speakers, and each candidate that did apply had a fair shot as becoming a speaker. Personally, as it was her conference I don't see a problem with her seeking out the people she wanted to hear from for submissions; it appears it was discrimination based on the quality of the submissions that was the deciding factor, and for me that's what really matters.
wollw | 13 years ago | on: How one woman got 50% female speakers at a tech conference
To keep the selection process fair, Courtney chose applicants
based on their pitches only, without looking at the speaker’s identity or gender.
Based on this it doesn't look like she was discriminating.wollw | 13 years ago | on: Show HN: I Built An App to Teach Mind Control
wollw | 13 years ago | on: GIMP 2.9/2.10 Feature Preview
He has a number of tutorials available on his site too: http://www.davidrevoy.com/4-tutorials.html
I believe he also uses Gimp with the Gimp Paint Studio presets for some things: http://code.google.com/p/gps-gimp-paint-studio/
wollw | 13 years ago | on: PPA for Netflix Desktop App
wollw | 13 years ago | on: Why Programming Languages Are Hard To Teach [video]
wollw | 13 years ago | on: What Is The One True Android & How “Open” Is It?
https://developers.google.com/android/nexus/drivers#torojro0...
edit: I mistakenly linked to the binary drivers there and I seems you might need to build AOSP yourself if you want to use it straight from Google. I guess you're taking issue to the Verizon Galaxy Nexus being sold through Verizon instead of via Google's store. Verizon's full retail price is pretty ridiculous compared to Google's price but in terms of support the Verizon Galaxy Nexus seems to be getting just as much from Google as the other variants.
wollw | 13 years ago | on: Girls Need Math
int main(void) {
setup();
for (;;)
loop();
}
The actual file does a bit more and can be found in their git repository here: https://github.com/arduino/Arduino/blob/master/hardware/ardu...wollw | 13 years ago | on: Girls Need Math
wollw | 13 years ago | on: The Beauty of Bresenham's Algorithm
wollw | 13 years ago | on: The Beauty of Bresenham's Algorithm
http://pubs.opengroup.org/onlinepubs/007904975/basedefs/stdb...
Edit: Of course I'm talking about C here. Also, I prefer for(;;) because it's an easy to recognize idiom that means "infinite loop."
wollw | 13 years ago | on: A Gentle Introduction to Algorithm Complexity Analysis
wollw | 13 years ago | on: Galaxy Nexus ban remains, Apple posts $95.6M bond, Google stops selling
wollw | 14 years ago | on: A Readable Conway's Game of Life
[1] http://wollw.github.com/automaton-avr/
wollw | 14 years ago | on: C Finally Gets A New Standard
int* foo = (int*)malloc(sizeof(int));
in C++ or the compiler gives a type error.wollw | 14 years ago | on: Why Javascript is a Joy
wollw | 14 years ago | on: The Go Programming Language, or: Why all C-like languages except one suck.
As for an implicit "this" for function pointers, I've had the same wish myself. I've settled for just a function namespace (ie: myListPush(myList,foo);) due to the verbosity of your example but it's not quite the same. At this point I'm pretty happy without it, and even think it might be hiding too much information, but it makes a nice piece of syntactic sugar for sure. My current unneeded-but-desired change to C would be the addition of lambdas like in C++11.
edit: Also, thanks airblade. I think I'm going to keep using this.