Profile

Cover photo
art yerkes
Lives in San Francisco, CA
90 followers|40,148 views
AboutPostsPhotosVideos

Stream

art yerkes

Shared publicly  - 
 
Our app got its first conversions from completely unknown people coming in from adwords last night. Although it’s just a few, it’s neat to see things out there and working for random people, and that anyone’s interested enough to sign up. I’ve worked on much bigger software before, even starting from zero, but this one is gratifying in a different way because there’s no established company to draw an audience from. 

Lessons learned about deploying things on the web for real:

- When in doubt, a big ugly green CTA button works.
- Elm has been and always shall be your friend.
- You can inject enough script into strikingly to make nightmare fuel and consume it in your sprawling single page app if you want to.
- Adwords and Google Analytics are like chocolate and peanut butter.
3
Add a comment...

art yerkes

Shared publicly  - 
 
Zomg thanks John and Jessica :-)
1
Add a comment...

art yerkes

Shared publicly  - 
2
Add a comment...

art yerkes

Shared publicly  - 
 
Does anyone else interpret some variation of "enjoy a limited number of articles for the next X days" as something like "sign up now and give up what we're already giving you to get less"?  It doesn't seem like a good way of selling something.

"Enjoy 2 or fewer litres of diet pepsi over the next 7 days." <-- doesn't really work.
"Enjoy limited access to doritos over the next 7 days." <-- also doesn't work.  It sounds like something you give up for lent.
1
Charles Gory's profile photo
 
That is very good Art.  I think the extrapolation of that arguments is pretty funny.  I find that when this is done it is a n inferior product such as U2 putting their new album on my IPOd telling me look its free. 
Add a comment...

art yerkes

Shared publicly  - 
Add a location to your Tweets. When you tweet with a location, Twitter stores that location. You can switch location on/off before each Tweet and always have the option to delete your location history. Learn more. Turn location on. Not now. Turn off location ...
1
Add a comment...
Have him in circles
90 people
Steven Edwards's profile photo
Will Bendick's profile photo
Steve Sanders's profile photo
SETH CARUS's profile photo
Andrew Munger's profile photo
Alexander Rex's profile photo
Samuel Serapión's profile photo
Daniel Reimer's profile photo
Robert Velasquez's profile photo

art yerkes

Shared publicly  - 
 
My thoughts on Jeb Bush's tax plan:

http://www.wsj.com/articles/my-tax-overhaul-to-unleash-4-growth-1441754195

Agreed: Simpler tax code with fewer brackets, exemptions, deductions.  End recognizing earnings overseas to escape taxes and corporate subsidies.  End the carried interest loophole.

Putting aside the implication that none of this existed before 2008, and that Jeb hasn't personally benefited from his father's influence on the tax code far into the past, here's my take on the parts I disagree with:

- About the cheap shot at Barack Obama raising taxes; it's expected, but my personal experience is that my income has increased and tax rate decreased since the beginning of the Obama administration.  Perhaps I'm the only one?  I doubt it.
- You'll have to convince me that ending worldwide taxation of corporations headquartered in the US is anything but a license to move US jobs and capital overseas more easily than ever before without needing those pesky overseas corporations, subject to local laws.
- The AMT is important and should be expanded.  Even if you're able to simplify the tax code without picking up new loopholes, congress isn't going to let it sit still for long.
- Immediate deductions for capital expenditures ensures many more employees can be replaced by technology faster than ever before.  Efficiency gains don't even usually correlate with higher employment, and neither with higher wages.
- "I did it in Florida!"  You were able to borrow heavily and shift costs to property taxes, and the overall rising tide of the mortgage bubble in the country during your stint as governor certaintly didn't hurt.  The federal government is also providing base level funding for education and providing a backstop for other services.

Overall I do welcome a reform of the tax code.  There are a lot of Chamber of Commerce agenda items mixed in here that IMO hurt overall.  Capital depreciation takes place over time in an attempt to model real world uses of big things such as tractors, dump trucks and buildings.  Imagine how much more predatory private equity can be when there's an entirely new tax loophole encouraging big speculative purchases to offset taxes.
1
Add a comment...

art yerkes

Shared publicly  - 
2
Add a comment...

art yerkes

Shared publicly  - 
 
Jeb Bush on the economy: Ummm, I'm gonna need you to go ahead come in tomorrow.
3
1
Add a comment...

art yerkes

Shared publicly  - 
 
Clarence Thomas on inequality: stealing your car should be legal because nobody can take away your hope of having one.
1
Add a comment...

art yerkes

Shared publicly  - 
 
Been writing a style enforcer using clang tooling recently.  It's in a state that is shareable.

It allows you to enforce some basic rules about coupling:

1) No collaboration over globals.
2) No direct coupling to banned namespaces from outside.
3) No concrete classes in namespaces designated for interfaces.

The overall goal is to be able to sweep out coupling in favor of polymorhism and hold it by using the -Werror flag to fail a build if these rules are subsequently violated.

https://github.com/prozacchiwawa/clang-tooling-style
clang-tooling-style - An enforcer for some opinionated rules about coupling in C++
1
Add a comment...

art yerkes

Shared publicly  - 
 
I just recently had to receive a callback which may be called inline or out of line, and wanted to use std::condition_variable to wait until the callback had consumed an EOF.  An std::mutex was controlling access to the important state.  The main question was: how is the std::unique_lock in the inline callback constructed?

This might be obvious, but I didn't see examples of this pattern in the most common places.  I generally find that if I'm fighting with these standard library primitives, I'm thinking incorrectly about how they should be used.  The relationship between mutex, unique_lock and condition variable is very well considered.

Here's what I came up with:

std::mutex mutex;
std::unique_lock<std::mutex> _l(mutex);
std::condition_variable stream_ended;
bool recursive = true;
bool stream_has_ended = false;
decode->SetFrameCallback([&] (const BufferResult &buffer) {
    std::unique_lock<std::mutex> _ll(std::move(recursive : std::unique_lock<std::mutex>() : std::unique_lock<std::mutex>(mutex))); // Use the move constructor to produce either an empty or active unique_lock based on whether we're recursing, because the parent owns mutex while we are.
    // Note that it's safe to just set recursive to false below because
    // stream_ended.wait releases the mutex from unique_lock.
    if (buffer.is_eof()) {
         stream_has_ended = true; // safe since either we own the lock or we're down the stack from the owner
         stream_ended.notify_all();
    }
});

for (InputRef inputRef = get_input(); inputRef = get_input();) {
    decode->feed(inputRef);
}
recursive = false;
stream_ended.wait(_l, [&] () { return stream_has_ended; });
1
Add a comment...

art yerkes

Shared publicly  - 
 
Happy "Buy Nothing" day.  Most of us have a lot to be thankful for without gearing up for war to go shopping.  There are lots of teachers out there that could use a donation for school supplies and organizations like handup.us that might help make life a little easier for somebody.  
1
Add a comment...
People
Have him in circles
90 people
Steven Edwards's profile photo
Will Bendick's profile photo
Steve Sanders's profile photo
SETH CARUS's profile photo
Andrew Munger's profile photo
Alexander Rex's profile photo
Samuel Serapión's profile photo
Daniel Reimer's profile photo
Robert Velasquez's profile photo
Basic Information
Gender
Male
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
San Francisco, CA
Links
YouTube