Skip to content

Instantly share code, notes, and snippets.

View fuziontech's full-sized avatar
🎯
Getting more out of your data

James Greenhill fuziontech

🎯
Getting more out of your data
View GitHub Profile
gore> x := reflect.TypeOf(float64(5))
&reflect.rtype{
size: 0x8,
ptrdata: 0x0,
hash: 0x2ea27ffb,
tflag: 0x07,
align: 0x08,
fieldAlign: 0x08,
kind: 0x8e,
alg: &reflect.typeAlg{

Keybase proof

I hereby claim:

  • I am fuziontech on github.
  • I am fuziontech (https://keybase.io/fuziontech) on keybase.
  • I have a public key ASC2eLFKy3FunmA32I-k4Iw6UwJqVoGCe3dx30hYVjAiBAo

To claim this, I am signing this object:

Hi James,
I hope you're having a good Tuesday. I wanted to check in and see if you're still enjoying things over at Disqus. I'm searching for someone to lead the build out of our data infrastructure here at reddit in SF. I thought you might be a good fit. You would be the FIRST data person in the company. This is a chance to build everything your way, from scratch. No pre-existing duct tape. You'd have a HUGE impact (sounds cheesy to say but it's true since were only 25 people) on a highly visible site. Please take a second and check out the info below and let me know if you'd be up for a quick chat.
Cheers,
Phil
java.lang.Exception: Shell Process Exception: Traceback (most recent call last):
File "/tmp/storm/supervisor/stormdist/bridge-11-1406270732/resources/environment/lib/python2.7/site-packages/storm/runner.py", line 66, in main
component.run()
File "/tmp/storm/supervisor/stormdist/bridge-11-1406270732/resources/environment/lib/python2.7/site-packages/storm/bolts.py", line 208, in run
self.process(tuple, collector)
File "/tmp/storm/supervisor/stormdist/bridge-11-1406270732/resources/environment/lib/python2.7/site-packages/activity/bridge/bolts.py", line 38, in process
for activity in activities:
File "/tmp/storm/supervisor/stormdist/bridge-11-1406270732/resources/environment/lib/python2.7/site-packages/activity/bridge/convert_init_embed.py", line 33, in convert
forum=Forum(id=int(payload[d][forum_id]))
KeyError: forum_id
{
"category": "promoted_click",
"d": {
"advertisement_id": 132710,
"bin": "embed:promoted_discovery:thumbnail:algo_test:default",
"brand": "Healthy LifeStyle",
"campaign_id": 1127,
"country_code": "US",
"cpc": 2500,
"dest": "http://www.redirecter.org/go/redirects.php?ckey=d02ie03gC92qXz&ad=diet-us-36&var=",
{"ts":1406077199,"hash":-813185849,"meta":{"prev_impression_id":"","unique_id":"fr73o1206tus2","remote_addr":"77.125.163.43","geo":{"city":"Kefár Saba","timezone":"Asia/Jerusalem","metro_code":0,"country_code":"IL","region":"02"},"impression_id":"5k5b2263su3trj","device_type":"desktop","raw_user_agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36","endpoint":"/juggler/event.js"},"category":"init_embed","d":{"promoted_enabled":"true","event":"init_embed","organic_enabled":"true","max_enabled":"true","forum_id":2340959,"user_id":70575398,"thread_slug":"naruto_the_conflict_between_message_and_readers_expectations","thread":2865028160,"user_type":"unverified","forum":"mangastream","dnt":"0","referrer":"http://mangastream.com/blog/51","theme":"next","thumbnails_enabled":"true"}}
package main
import (
"fmt"
"log"
"net/http"
"net/url"
"os/exec"
"time"
package main
import (
"fmt"
"log"
"net/http"
"net/url"
"os/exec"
"time"