Log in

No account? Create an account
A Slave to Variance [entries|archive|friends|userinfo]

[ website | My Website ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

[Links:| My Poker Blog PokerStove: A Poker Calculator European Vacation Current Fiction Current Non-Fiction ]

Dying [Nov. 12th, 2014|10:03 pm]
I just found out my best friend from graduate school died.

I found out by typing his name into google, and having google auto-complete the query with the word "obituary".

Link5 comments|Leave a comment

Doing random research [Nov. 11th, 2014|03:45 pm]
And I just found out that reddit.com is a top 10 site.


Who knew that usenet + votes could be a top website?
LinkLeave a comment

Tuned in, dropped out [Nov. 5th, 2014|09:49 pm]
So, I changed my password on Facebook to some gibberish. That means that in order to log in again, I'll need to do some gymnastics. I'm sure I'll log in again, but for now it's been too much of a distraction to be considered productive.

But that means that I no longer have a reliably vocal source of "newsy" information. I just realized that the elections happened yesterday, so I went out to find what the results were. I first went to sfgate.com and could find no succinct summary of the elections on the front page. So then I went to nytimes.com. No simple summary there either.

I finally went to en.wikipedia.org, where the summary was quick and clear, and the links to the results were obvious and informative.

It seems that wikipedia is now better at disseminating factual news report than the reliable sources upon which it rests.

Link4 comments|Leave a comment

Horrible SF websites [Nov. 1st, 2014|10:15 am]
You'd think that SF, being the center of technology, could produce competent websites. Not always.

Small sites like http://themarsh.org can be excused for having slideshow buttons that obscure the caption text.

But when http://sfgate.com starts breaking their site, that's really just shoddy. In Opera, their UI for searching events is 100% borked. Maybe publishing and Q/A don't mix?
Link1 comment|Leave a comment

Isn't c++ nifty? [Aug. 5th, 2013|09:42 pm]
The new lambda syntax makes the following a legal c++ expression:


c++11 is going to be fun.
Link9 comments|Leave a comment

PokerStove is back [Apr. 25th, 2013|10:05 pm]
Well, the site is still down, but I've created a github account and uploaded the installer there. I will also be open sourcing some of the core libraries over the next few weeks.

Link2 comments|Leave a comment

Abusing c++ [Feb. 27th, 2013|11:29 pm]
Playing around with sample code for the purposes of (1) cleaning up code (2) showing off my guru skills. Not sure that (1) is sufficiently compelling to introduce (2) into the codebase.

#include <iostream>
#include <string>
#include <map>

using namespace std;

class delegate
        m_dispatch["hola"] = &delegate::hello;
        m_dispatch["adios"] = &delegate::goodbye;

    void dispatch(string message, string data)
        if (m_dispatch.find(message) != m_dispatch.end())
            cout << "could not find: " << message << " " << data << endl;

    void goodbye(string in)
        cout << "goodbye: " << in << endl;

    void hello(string in)
        cout << "hello: " << in << endl;

    typedef void (delegate::* member_function)(string) ;

    map<string,member_function> m_dispatch;

int main(void)
    delegate dispatcher;
    dispatcher.dispatch("hola", "world");
    dispatcher.dispatch("adios", "cruel world");
    dispatcher.dispatch("lost", "world");
Link6 comments|Leave a comment

(no subject) [Nov. 10th, 2012|07:07 pm]
I recently installed ubuntu (12.04 LTS) on my laptop.  Ubuntu uses the "select to paste, middle button to paste" throughout the desktop. Unfortunately, after years of training my mind only understands "right click to paste" semantics.  I attribute this to the fact that I've been using Windows and putty for something like a decade.

So I went out in search of a fix.  One would think that this would be a trivial fix, as it is in putty.  Just pick the appropriate option from the application.


complete solution for Ubuntu 12.04Collapse )
LinkLeave a comment

Unreal estate [Aug. 18th, 2012|01:27 pm]
Looking to buy a place in San Mateo or Foster City you see a lot of strange things. Today I ran across what are almost certainly error or scams.

This listing:

describes a vacant lot that was recently on the marke for $280k, but went unsold. However, the sales history indicates that the property sold for $1000k in 2006. I suspect that this is a case of data entry error, but since 2006 was deep in the throws of the housing bubble, it's hard to be sure.

Likewise, this property is curious as well:

It's a house on the market for $1400k, which is roughly 50% over neighboring comps. Strangely zillow values the property at $2443k, which is even more insane. The third curiosity is that the property sold for $365k in 1997, and then in 1999 for ten times that amount ($3,863,636). This probably due to data entry error. Maybe they got carried away typing 636363636363636363, and added a bonus six? The assessment value of $1M confirms something funny. My guess is that it was sold for $386k, and permitted improvements upped the value to $1M.
Link2 comments|Leave a comment

Cameo apearance [Jun. 18th, 2012|01:47 pm]
Watch as I dork around with my chips, button up my shirt, and practice my "poker face" in the background while Terrence Chan is interviewed in the foreground.

Link2 comments|Leave a comment

[ viewing | most recent entries ]
[ go | earlier ]