HNHacker News
TopNewBestAskShowJobs

dai_pole

-2 karma · joined June 19, 2014

submissionscomments
dai_pole··on Show HN: LaraJobs – Jobs for web artisans
Would someone not say that in a face to face conversation? I certainly would.

I think the phrase web artisan is embarrassingly twee, like most (over)usage of the words artisan/craft etc. etc.

dai_pole··on Ask HN: Urgent connection to Twitter support
Well of course, "someone" has to post the propaganda, otherwise the public might find out the truth.

Which photos are the BBC referring to? They don't reference them so that calls into question the veracity of their claims.

dai_pole··on Ask HN: Urgent connection to Twitter support
Anyone whom can be bothered to read the Wikipedia "talk pages" can see for themselves that Wikipedia articles are edited to be thoroughly biased concerning Palestine/Israeli affairs.

I find it strange that you created an account less than 20 minutes ago to take part in the "political discussion" yourself, unless you're working professionally as part of the "hasbara" effort?!

dai_pole··on Ask HN: How do you guys write your ebooks?
There's a difference between writing a book and formatting one. For writing you can use anything as long as you can export it to txt/rtf - rtf being the standard in the print world - even vi/vim is usable for this purpose.

For formatting the standard in the print world is InDesign, nothing else comes close. I used to work in the "print" trade, and that is what everyone uses.

dai_pole··on Finding the best ticket price – Simple web scraping with Python
I had a go "just for fun" using curl, grep, sed, and tr. Probably too much regex?

    #!/bin/sh
    #
    # tickets.sh - A "no BS" ticket price scraper. Output in CSV format.
    #              Uses standard issue Unix utilities only.
    #              No soup for you!
    
    
    URL="http://philadelphia.craigslist.org"
    QUERY="firefly+tickets"
    
    RESULTS=`curl -s -m 10 "$URL/search/sss?sort=date&query=$QUERY" \
            | grep '<p class=\"row' \
            | sed 's!^[ \t]*!!; \
                   s!>[ \t]*<!><!g; \
                   s![,:]! !g; \
                   s!<p class=\"row[^/]*\"\([^\"]*\)\" class=\"[^#]*\">&#x0024;\([0-9]\{1,\}\)</span>[^.]*>\([A-Z]\{1\}[a-z]\{2\} \{1,\}[0-9]\{1,2\}\)[^.]*<a h[^>]*\.html">\([^<]*\)</a>\([^.]*</p>\)!\1,$\2,\3,\4:!g; \
                   s!   *! !g; \
                   s!,  *!,!g' \
            | tr ':' '\n'`
    
    echo "$RESULTS"