[{"data":1,"prerenderedAt":214},["ShallowReactive",2],{"project-15339452":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":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":38,"post_text":40,"what":41,"said":74,"maker_in_thread":126,"shape":133,"grid":137,"attempts":175,"same_week":176,"maker_shows":206,"maker_hidden":207,"reader_version":208,"card":209},"15339452","cryptocompare","Haskell library for pricing and information on crypto-currencies","title","Show HN: Haskell library for pricing and information on crypto-currencies","https:\u002F\u002Fgithub.com\u002Faviaviavi\u002Fcryptocompare","github.com","aviaviavi",1506439461,2017,86,17,528,2242,24,"notable","languages","haskell library","library",[24,25,26,27],"haskell","cryptocurrency","crypto prices","coinmarketcap api","curious",0,{"positive":31,"neutral":32,"mixed":29,"critical":33},1,3,2,6,{"execution":36,"docs":37},{"positive":31,"critical":31},{"positive":29,"critical":31},[29,29,29,29,29,39,29,29,32,29,31,29,32,32,29,29,31],5,null,{"problem":42,"audience":50,"pricing":40,"motivation":61,"time_to_build":40,"stack":66,"openness":72,"stage":72,"team_size":73},{"value":43,"source":44,"evidence":45},"Wraps a public API to fetch crypto-currency prices and information in Haskell","commenter",[46],{"id":47,"by":48,"text":49},"15341634","arthurcolle","Title might confuse the audience since this doesn’t do any pricing per se, and only wraps a public API",{"value":51,"source":52,"evidence":53},"Haskell programmers interested in crypto-currency data","inferred",[54,58],{"id":55,"by":56,"text":57},"15340473","wereHamster","Submit it to https:\u002F\u002Fwww.reddit.com\u002Fr\u002Fhaskell\u002F if you want feedback to your code. I doubt most people on HN are fluent enough in Haskell to give you meaningful feedback.",{"id":59,"by":11,"text":60},"15341586","Glad you liked it! I'm using this library to do my own analysis and visualization of the value of different coins to inform my own investing. My goal there is that some more…",{"value":62,"source":63,"evidence":64},"Maker uses it for their own analysis and visualization of coin values to inform investing","maker",[65],{"id":59,"by":11,"text":60},[67],{"value":68,"source":63,"evidence":69},"Haskell",[70],{"id":71},"post","unknown","solo",{"praise":75,"objections":83,"requests":106,"questions":113,"alternatives":118},[76],{"value":77,"source":44,"evidence":78},"Clean, readable Haskell code",[79],{"id":80,"by":81,"text":82},"15341455","mrkgnao","Clear, readable value-level Haskell is an underappreciated joy. What are you using this for, if anything?",[84,88,99],{"value":85,"source":44,"evidence":86},"Title is misleading since it does no pricing itself and only wraps a public API",[87],{"id":47,"by":48,"text":49},{"value":89,"source":44,"evidence":90},"Code could be improved: use Text, readMaybe instead of read, enums for sort orders",[91,95],{"id":92,"by":93,"text":94},"15344812","endgame","* Consider using `Text` instead of `String`, as `String` is a linked-list of `Char` and quite inefficient * Consider refining some of your fields into more constrained types.…",{"id":96,"by":97,"text":98},"15345131","thinkpad20","I don't have it in front of me but I would assume the FromJSON instance for Float expects a JSON number, not a string. If the remote API makes the (puzzling) decision to put…",{"value":100,"source":44,"evidence":101},"API returns numeric values as strings, which is odd",[102,103],{"id":96,"by":97,"text":98},{"id":104,"by":93,"text":105},"15353787","What a bizarre API. You might get some mileage out of writing a helper function like `readParser :: Read a => String -> Parser a` which can call `readMaybe` and inspect the result.",[107],{"value":108,"source":63,"evidence":109},"Code review and suggestions",[110],{"id":111,"by":11,"text":112},"15339937","Feedback is welcome! I wrote this library for my own use, but I'm happy to hear any suggestions, code improvements, etc",[114],{"value":115,"source":44,"evidence":116},"What the library is used for",[117],{"id":80,"by":81,"text":82},[119],{"value":120,"source":44,"evidence":121},"coinmarketcapr, an R package wrapping a similar API",[122],{"id":123,"by":124,"text":125},"15341676","amrrs","Self Plug: wrote a similar one for R as an R package https:\u002F\u002Fgithub.com\u002Famrrs\u002Fcoinmarketcapr",{"comments":39,"answered":33,"key":127},[128,129,130],{"id":59,"text":60},{"id":111,"text":112},{"id":131,"text":132},"15340505","Already done, mentioned that here too just in case :)",{"commenters":134,"max_depth":39,"maker_replies":39,"first_comment_mins":135,"lifespan_hours":136},12,46,34,[138,142,145,148,151,154,156,158,159,161,162,164,165,167,168,171,173],[139,29,29,140,141,29],"15340932","other\u002Fneutral\u002Fnone","sfvisser",[143,29,29,140,144,29],"15341288","kccqzy",[146,29,29,140,147,29],"15341367","SkyMarshal",[149,29,29,140,150,29],"15341581","aaron-lebo",[152,29,29,140,153,29],"15341866","seagreen",[80,31,39,155,81,29],"maker\u002Fpositive\u002Fexecution",[59,31,29,157,11,31],"maker\u002Fneutral\u002Fnone",[111,33,29,157,11,31],[55,33,32,160,56,29],"maker\u002Fneutral\u002Fdocs",[131,33,29,157,11,31],[47,33,31,163,48,29],"project\u002Fcritical\u002Fdocs",[123,33,29,140,124,29],[92,33,32,166,93,29],"project\u002Fneutral\u002Fexecution",[96,33,32,166,97,29],[169,33,29,170,11,31],"15345501","maker\u002Fneutral\u002Fexecution",[172,33,29,170,11,31],"15345509",[104,33,31,174,93,29],"project\u002Fcritical\u002Fexecution",[],[177,182,187,192,197,202],{"id":178,"name":179,"points":180,"category":181},"15330409","Logo Crunch",328,"creative",{"id":183,"name":184,"points":185,"category":186},"15346381","Moocha.io",231,"learning_science",{"id":188,"name":189,"points":190,"category":191},"15337342","Reddit Grid",217,"consumer_social",{"id":193,"name":194,"points":195,"category":196},"15321555","ThingsOnReddit",153,"web_saas",{"id":198,"name":199,"points":200,"category":201},"15330757","EnvKey",116,"infrastructure",{"id":203,"name":204,"points":205,"category":181},"15302718","TR-101",105,7,false,"v2",{"id":210,"name":5,"line":6,"ai":207,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":211,"maker":11,"domain":10,"tier":19,"attempts":29,"strip":212,"url":9,"mix":213,"praise":77,"objection":85,"sub":21},15339452,[24,25,26,27],"00000500301033001",[31,32,29,33],1794036559256]