HN user

sente

39 karma
Posts1
Comments32
View on HN

Thus is awesome.

Just a heads up - some of the node colors can be difficult to differentiate for people who are red/green colorblind. Very minor, just wanted to mention it though.

Python web scraping 12 years ago

He recommends http://51proxy.com/ - I was curious and signed up for their smallest package. It's been 24 hours since I created the account and I have 48 "Waiting" proxies, and I haven't been able to connect to either of the "Live" ones.

Has anyone had any success with them?

I have a couple, maybe...

Are you on IRC (/msg sente if so) - would you be up for chatting?

Not trying to be secretive here, but feel 10 mins of chatting would be far more effective than posting a write up.

I make bookmarklets all the time as well. Let's just start sharing and see where it goes, what do you say? Github w/ a wiki / readme's would be a great and easy way to start this without requiring much effort.

I have hundreds of them...

I've played with the hosted service as well as hosting Sentry myself. I only played with the latter version for 20 minutes but I didn't know how to get it up and running such that I could actually use it in the same way the getsentry.com was. (this was last week, before the UI redesign)

Is there something obvious I was missing?

This all being said, I'm very impressed with exception reporting at getsentry.com!

A few months back I created a bookmarklet to render the html when looking at the raw html page -- https://gist.github.com/1831405

I've ended up using this bookmarklet on a lot of non-github.com sites too.

For instance, you can see how it renders http://c.sente.cc/hcVg/xkcd.txt here: http://i.imgur.com/DNVqd.png

here's the code in snippet form:

  javascript:function write_window(content) {top.consoleRef=window.open(%27%27,%27git-r-done%27,+%27,menubar=1%27+%27,toolbar=1%27+%27,status=1%27+%27,scrollbars=1%27+%27,resizable=1%27);top.consoleRef.document.writeln(content);top.consoleRef.document.close();}function dostuff() {$.ajax({url: document.location.href,dataType:%27html%27,success: function(content){setTimeout(function(){write_window(content)},500);}});}function add_jquery(attempt) {var jq=document.createElement(%27script%27);jq.type=%27text/javascript%27;jq.async=false;jq.src=%27https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js%27;var s=document.getElementsByTagName(%27script%27)[0];s.parentNode.insertBefore(jq,s);try{var foo=$(%27*%27);dostuff();}catch(err){if(attempt < 5){attempt = attempt + 1;setTimeout("add_jquery("+attempt+")",1000)}else{alert(%27could not load jquery..try again!%27);}}}add_jquery(0);

I had 10 minutes to create the poll before the library closed...I definitely could have done a better job describing the problem, you're right.

Each person was told to pick a number between 0 and 100

The number I would pick would be dependent on who else is taking the poll, how much credit do you give them, etc

I'm in my phone now with a low battery, otherwise I'd type

I'm probably just being overly critical here but his example of "deciding if a number is odd or even in a matter of seconds" seems odd, I think 2nd graders and up can tell you in half a second or less whether or not a number's even or odd.

He says:

"In addition to working memory, researchers are seeking to improve fluid intelligence by training other basic mental skills — perceptual speed (deciding, in a matter of seconds, whether a number is odd or even), visual tracking (on a shoot-’em-up computer game, for instance) or quickly switching between a variety of tasks."

http://i.imgur.com/k9PXE.png