[{"data":1,"prerenderedAt":244},["ShallowReactive",2],{"project-1944939":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":15,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":33,"aspects":34,"strip":41,"post_text":43,"what":44,"said":75,"maker_in_thread":141,"shape":153,"grid":157,"attempts":205,"same_week":206,"maker_shows":32,"maker_hidden":236,"reader_version":237,"card":238},"1944939","HN Unread Comments","HN Unread Comments v1.1 released (chrome extension)","title","Show HN: HN Unread Comments v1.1 released (chrome extension)","https:\u002F\u002Fchrome.google.com\u002Fextensions\u002Fdetail\u002Ffpndmkcfggkffpablcooicmihgcgalil","chrome.google.com","CWIZO",1290866214,2010,20,22,78,370,"shown","dev_tools","browser extension for hacker news","browser_extension",[23,24,25,26],"hacker news","unread comments","chrome extension","comment tracking","curious",-0.222,{"positive":30,"neutral":31,"mixed":30,"critical":32},1,8,3,13,{"execution":35,"idea":37,"design":38,"performance":40},{"positive":36,"critical":36},0,{"positive":36,"critical":36},{"positive":30,"critical":39},2,{"positive":36,"critical":30},[32,32,36,32,36,32,36,36,36,32,30,36,32,36,42,32,30,36,32,36,32,30],5,null,{"problem":45,"audience":57,"pricing":43,"motivation":43,"time_to_build":43,"stack":65,"openness":73,"stage":74,"team_size":73},{"value":46,"source":47,"evidence":48},"Hard to tell which Hacker News comments are new since the last visit","inferred",[49,53],{"id":50,"by":51,"text":52},"1945330","raganwald","Thank you! If I haven't read any of the comments on a post, there is no need to show me that they are new. The entire thread is new, I know that. In essence, the extension gives…",{"id":54,"by":55,"text":56},"1945593","cj","Love it... but it'd be much less intrusive if you displayed the red border around new comments the second time you visit a comment thread. So the extensions would only change the…",{"value":58,"source":47,"evidence":59},"Hacker News readers using Chrome",[60,64],{"id":61,"by":62,"text":63},"1945080","swombat","How does it work in the long run? Am I going to store the entire HN database in Chrome, until my computer slows down to a crawl? Otherwise, pretty cool. Installed.",{"id":54,"by":55,"text":56},[66],{"value":67,"source":47,"evidence":68},"JavaScript",[69],{"id":70,"by":71,"text":72},"1945006","bambax","Interesting. Looking at the source I see that you calculate and store an md5 hash for each comment: ``` var commentContentMd5 = md5($this.find('table td:eq(2)…","unknown","launched",{"praise":76,"objections":93,"requests":106,"questions":125,"alternatives":130},[77,83],{"value":78,"source":79,"evidence":80},"Useful idea, installed and liked","commenter",[81,82],{"id":61,"by":62,"text":63},{"id":54,"by":55,"text":56},{"value":84,"source":79,"evidence":85},"Hashing approach to detect edited comments is clever",[86,90],{"id":87,"by":88,"text":89},"1945023","jules","The hash approach has the advantage of marking edited comments as unread? Perhaps you could do both and mark edited comments with a different color.",{"id":91,"by":71,"text":92},"1945224","You can store the highest comment id for each article: any comment with an (id > stored highest id for the current article) is new. The hash thing is interesting for detecting…",[94,102],{"value":95,"source":79,"evidence":96},"Bright red outline is jarring and ugly",[97,101],{"id":98,"by":99,"text":100},"1945165","chapel","I like the idea of this, but I find the red outline to be jarring and well quite frankly ugly. I think a more visually pleasing way of showing new vs old comments would be to…",{"id":54,"by":55,"text":56},{"value":103,"source":79,"evidence":104},"May store too much data over time",[105],{"id":61,"by":62,"text":63},[107,114,120],{"value":108,"source":79,"evidence":109},"Use comment IDs instead of md5 hashes",[110,111],{"id":70,"by":71,"text":72},{"id":112,"by":71,"text":113},"1945045","> but once you vote on a comment that id is gone The score is in a span that has the same id: ``` \u003Cspan id=\"score_1944875\">3 points\u003C\u002Fspan> ``` > if a comment changes it is marked…",{"value":115,"source":79,"evidence":116},"Configurable colours or styles for read and unread comments",[117],{"id":118,"by":99,"text":119},"1945197","I would just make it a lighter shade, but not as light as a \u003C= 0 score comment. Those happen to be hard to read. Maybe you could give the option for the user to set their own CSS…",{"value":121,"source":79,"evidence":122},"Show new-since-last-viewed state only for revisited threads",[123,124],{"id":50,"by":51,"text":52},{"id":54,"by":55,"text":56},[126],{"value":127,"source":79,"evidence":128},"How does storage grow over the long run?",[129],{"id":61,"by":62,"text":63},[131],{"value":132,"source":79,"evidence":133},"hckrnews extension left-border highlighting",[134,138],{"id":135,"by":136,"text":137},"1945662","wvl","This functionality has been available in my hckrnews extension for a while. It works only for individual item pages, since it tracks (in localstorage) the last comment id for…",{"id":139,"by":136,"text":140},"1945672","I've been using a simple left border to highlight new comments in my extension (http:\u002F\u002Fhckrnews.com\u002Fabout.html), and I've found it works pretty well at highlighting new comments…",{"comments":142,"answered":32,"key":143},6,[144,147,150],{"id":145,"text":146},"1945191","Cool idea! I'd just have to figure out where to get that new colour, since now it's the same as the one you defined in your settings.",{"id":148,"text":149},"1945026","That is how it was done in the v1.0, but once you vote on a comment that id is gone. Or maybe I missed something :) Will have a look if I can use the IDs instead. edit: bonus…",{"id":151,"text":152},"1945089","I guess I really did miss something then :) HN's markup is really a mess ... >But identical comments in different conversations are marked as read... ;-) true, but that seems…",{"commenters":154,"max_depth":42,"maker_replies":142,"first_comment_mins":155,"lifespan_hours":156},10,45,7,[158,160,162,164,167,168,169,171,174,177,180,182,185,186,189,190,192,194,197,199,202,204],[70,36,32,159,71,36],"project\u002Fneutral\u002Fexecution",[87,36,32,161,88,36],"project\u002Fneutral\u002Fidea",[145,36,36,163,11,30],"maker\u002Fpositive\u002Fidea",[165,36,32,166,88,36],"1945891","project\u002Fneutral\u002Fdesign",[148,36,36,159,11,30],[112,36,32,159,71,36],[151,36,36,170,11,30],"maker\u002Fneutral\u002Fexecution",[172,36,36,173,51,36],"1945332","commenter\u002Fneutral\u002Fidea",[175,36,36,173,176,36],"1945548","kgermino",[178,36,32,159,179,36],"1945046","pmjordan",[98,30,30,181,99,36],"project\u002Fcritical\u002Fdesign",[183,30,36,184,11,30],"1945188","maker\u002Fneutral\u002Fdesign",[118,30,32,166,99,36],[187,30,36,188,11,30],"1945233","project\u002Fpositive\u002Fdesign",[139,30,42,188,136,36],[135,39,32,191,136,36],"project\u002Fmixed\u002Fdesign",[61,32,30,193,62,36],"project\u002Fcritical\u002Fperformance",[195,32,36,196,11,30],"1945094","maker\u002Fneutral\u002Fperformance",[91,32,32,198,71,36],"project\u002Fneutral\u002Fperformance",[200,32,36,201,62,36],"1945575","commenter\u002Fneutral\u002Fexecution",[50,203,32,166,51,36],4,[54,42,30,181,55,36],[],[207,212,217,222,227,231],{"id":208,"name":209,"points":210,"category":211},"1958728","Gamification.org",76,"learning_science",{"id":213,"name":214,"points":215,"category":216},"1959896","Trellis",62,"languages",{"id":218,"name":219,"points":220,"category":221},"1949063","rpgp.org",42,"data",{"id":223,"name":224,"points":225,"category":226},"1953682","Cyberspace",41,"consumer_social",{"id":228,"name":229,"points":230,"category":19},"1940129","Switch",38,{"id":232,"name":233,"points":234,"category":235},"1951196","Syncpad",34,"creative",false,"v2",{"id":239,"name":5,"line":6,"ai":236,"cat":19,"year":13,"points":14,"comments":15,"rec":27,"s":240,"top":15,"kw":241,"maker":11,"domain":10,"tier":18,"attempts":36,"strip":242,"url":9,"mix":243,"praise":78,"objection":95,"sub":20},1944939,-0.22,[23,24,25,26],"3303030003103053103031",[30,31,30,32],1793990868791]