{"id":3934,"date":"2016-03-21T21:38:16","date_gmt":"2016-03-21T21:38:16","guid":{"rendered":"http:\/\/johnjohnston.info\/blog\/?p=3934"},"modified":"2016-03-22T06:24:52","modified_gmt":"2016-03-22T06:24:52","slug":"twitter-listed","status":"publish","type":"post","link":"https:\/\/johnjohnston.info\/blog\/twitter-listed\/","title":{"rendered":"Twitter Listed"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3938\" data-permalink=\"https:\/\/johnjohnston.info\/blog\/twitter-listed\/twitter-lists-resized\/\" data-orig-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2016\/03\/twitter-lists-resized.gif\" data-orig-size=\"668,427\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"twitter-lists-resized\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2016\/03\/twitter-lists-resized.gif\" class=\"aligncenter size-full wp-image-3938\" src=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2016\/03\/twitter-lists-resized.gif\" alt=\"twitter-lists-resized\" width=\"668\" height=\"427\" \/><\/p>\n<p>Another interesting idea from Alan. I read his post: <a href=\"http:\/\/cogdogblog.com\/2016\/03\/measurement-or-indicators\/\">Measurement or [indirect] Indicators of Reputation? A Twitter List \/ Docker \/ iPython Notebook Journey<\/a> and then Amy&#8217;s <a href=\"https:\/\/amysmooc.wordpress.com\/2016\/03\/19\/list-lurking-as-inspired-by-alan-levine\/\">List Lurking, As Inspired by Alan Levine<\/a>.<\/p>\n<p>The idea is that you can find out something about a person\/yourself by the twitter lists they are listed in.<\/p>\n<p>Alan went down a nice rabbit hole involving Docker &amp; iPython. This seemed as if it might be a mite tricky. I think I&#8217;ve messed up my mac&#8217;s python setup by trying to get iPython Notebooks working before. Alan&#8217;s approach is a lot more sensible, I hope to re-visit it later. In the meantime I though I would try out something a little simpler. This approach is simple sorting and manipulating a text files. Mostly with, in my case, TextMate&#8217;s sorting and a bit of bash in the terminal.<\/p>\n<p>So:<\/p>\n<ol>\n<li>I went to the list on twitter and copied all of the text on the page.<\/li>\n<li>Pasted that into a text document<\/li>\n<li>Manually cleaned up the bits above and below the list (a couple of selections and backspace)This produced a list that repeated the following pattern:\n<ul>\n<li>Name of list <em>by<\/em> Name of lister<\/li>\n<li>Subtitle\/description of list, sometime not there<\/li>\n<li>Number of Members<\/li>\n<\/ul>\n<\/li>\n<li>I sorted the list. This grouped all of the lines with number Members together, a couple of lists that started with <strong>&#8230;<\/strong> or <strong>a number<\/strong> above.<\/li>\n<li>Select all the member lines and delete<\/li>\n<li>there were a lot of lines <em>Visit http:\/\/twibes.com\/education\/twitter-list to join the top education Twitter people<\/em> as a description so easy to delete them too.<\/li>\n<li>I saved this file as a file list1.txt<\/li>\n<li>What I was looking for was the lines that were lists names not descriptions, and I wanted the lists rather than the names of the people who made the lists. So I made the lists into two columns by replacing <em> by <\/em> with a TAB and saved the file.<\/li>\n<li>We then sort the list by the second column using the terminal <code>sort -k 2 -t $'\\t' list1.txt &gt; list2.txt<\/code> <a id=\"fnr1-2016-03-21\" href=\"#fn1-2016-03-21\"><sup>1<\/sup><\/a> As the second column is empty those lines float to the top and can easily be deleted.<\/li>\n<li>Next we cut the first column out which gives me a list of the list names: <code>cut -f 1 list2.txt | sort &gt; list3.txt<\/code><\/li>\n<\/ol>\n<p>So I now have a list of the the twitter lists I am a member of. I can use that in <a href=\"http:\/\/wordle.net\">wordle.net<\/a> to get a word cloud. I made a few, removing the most popular words to see the others in more relief. I&#8217;ve tied them together in a gif at the top of this post.<\/p>\n<p>Amy&#8217;s approach was to look for interesting list name, here are some of my favourites (I&#8217;ve added descriptions when they are there):<\/p>\n<ul>\n<li>awesome rasbperrypi peopl<\/li>\n<li>audiophiles<\/li>\n<li>Botmakers: <em>Blessed are the #botALLIES<\/em><\/li>\n<li>Digital cool cats: <em>Digital humanities\/learning tech\/cool stuff peeps<\/em><\/li>\n<li>People I met through DS106<\/li>\n<li>not to be messed with<\/li>\n<li>Coolest UK Podcasters<\/li>\n<li>Very funky Ed Blogs<\/li>\n<\/ul>\n<p>Of course these are not the most numerically but they are, to me, the most flattering;-)<\/p>\n<p>On this 10th birthday of twitter you might enjoy a quick browse through the name of the lists you are a member of.<\/p>\n<p><strong>Update<\/strong><br \/>\nSleeping on this post I&#8217;ve had a few more thought.<\/p>\n<p>Of course after the step where I replaced the word <strong>by<\/strong> with a tab I could have pasted the text into excell or numbers and taken it from there rather than using the commandline.<\/p>\n<p>I woke up this morning thinking about Alan&#8217;s post and using docker to run iPython notebooks and had a mini revelation. I&#8217;ve often ran into trouble and messed up, at least short term, my computer. Trying things that I don&#8217;t really understand. I remember one instance where I got into a right mess with iPython by blindly installing.<\/p>\n<p>Running things in a virtual machine would have a great advantage here. Likewise I&#8217;ve had things break after a system update. I think, going forward, when doing things above my pay grade I&#8217;ll change my approach a bit. I am now wondering why I was trying to get the iPython thing running in the first place.<\/p>\n<p>Overall I&#8217;d have learnt a bit more by following Alan&#8217;s recipe directly. There is also the json think he turned away from, could be an interesting rabbit hole&#8230;<\/p>\n<div class=\"footnotes\">\n<p>1. <a id=\"fn1-2016-03-21\"><\/a> <code>sort -k 2 -t $'\\t' list1.txt &gt; list2.txt<\/code> THis sorts by the second column, k, key and uses a tab, $&#8217;\\t&#8217; to separate the columns <a href=\"#fnr1-2016-03-21\">\u21a9<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Another interesting idea from Alan. I read his post: Measurement or [indirect] Indicators of Reputation? A Twitter List \/ Docker \/ iPython Notebook Journey and then Amy&#8217;s List Lurking, As Inspired by Alan Levine. The idea is that you can find out something about a person\/yourself by the twitter lists they are listed in. Alan [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"mf2_syndication":[],"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[443,26],"post_format":[],"class_list":{"0":"post-3934","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-wwwd","7":"tag-bash","8":"tag-twitter","9":"kind-article","11":"h-entry","12":"hentry"},"better_featured_image":null,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p57zFQ-11s","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"kind":false,"_links":{"self":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/3934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/comments?post=3934"}],"version-history":[{"count":6,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/3934\/revisions"}],"predecessor-version":[{"id":3943,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/3934\/revisions\/3943"}],"wp:attachment":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/media?parent=3934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/categories?post=3934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/tags?post=3934"},{"taxonomy":"post_format","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/post_format?post=3934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}