[{"data":1,"prerenderedAt":343},["ShallowReactive",2],{"project-12940615":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":5,"maker":10,"posted_at":11,"year":12,"points":13,"comments":14,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":26,"sentiment":27,"stance_mix":28,"scored_comments":32,"aspects":33,"strip":39,"post_text":40,"what":41,"said":54,"maker_in_thread":111,"shape":121,"grid":126,"attempts":305,"same_week":306,"maker_shows":38,"maker_hidden":335,"reader_version":336,"card":337},"12940615","jamesbvaughan.com","Writing an HTTP server in Prolog","title","Show HN: Writing an HTTP server in Prolog","http:\u002F\u002Fjamesbvaughan.com\u002Fwriting-an-http-server-in-prolog\u002F","jamesbvaughan",1478990551,2016,238,70,104,2264,5,"notable","languages","prolog web server","library",[23,24,25],"prolog","http server","logic programming","debated",-0.045,{"positive":29,"neutral":30,"mixed":31,"critical":29},3,4,0,10,{"idea":34,"docs":36,"execution":37},{"positive":35,"critical":35},2,{"positive":31,"critical":31},{"positive":31,"critical":38},1,[17,31,31,31,31,29,31,31,31,29,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,29,29,31,17,38,31,31,31,31,38,17,38,31,31],null,{"problem":42,"audience":40,"pricing":40,"motivation":40,"time_to_build":40,"stack":48,"openness":53,"stage":53,"team_size":53},{"value":43,"source":44,"evidence":45},"Demonstrates building an HTTP server in Prolog","inferred",[46],{"id":47},"post",[49],{"value":50,"source":44,"evidence":51},"Prolog",[52],{"id":47},"unknown",{"praise":55,"objections":72,"requests":87,"questions":88,"alternatives":89},[56],{"value":57,"source":58,"evidence":59},"Fun and interesting to read about Prolog","commenter",[60,64,68],{"id":61,"by":62,"text":63},"12940664","dangoldin","Pretty cool. I also did a stint messing around with Prolog and it was pretty awesome discovering an entirely new programming paradigm. I ended up doing the Priceonomics puzzle…",{"id":65,"by":66,"text":67},"12940710","p4bl0","This is really fun. Thanks for sharing!",{"id":69,"by":70,"text":71},"12942564","ga2arch","Awesome, one of the most fun i had at university was building a Uri parser with prolog. After i discovered that you could define operators i built a combinatorial parser,…",[73,80],{"value":74,"source":75,"evidence":76},"Server is not a good use of Prolog","maker",[77],{"id":78,"by":10,"text":79},"12941037","The class I was taking kind of blew my mind when I saw how you can solve some problems in such cool ways with Prolog, but I would certainly admit that this server isn't exactly…",{"value":81,"source":58,"evidence":82},"Site went down under traffic",[83],{"id":84,"by":85,"text":86},"12943336","sleepprogger","Site seem to be down. `Error establishing a database connection`",[],[],[90,97,104],{"value":91,"source":58,"evidence":92},"SWI Prolog web libraries",[93],{"id":94,"by":95,"text":96},"12942010","doublec","You might be surprised! SWI Prolog has libraries for web applications (http:\u002F\u002Fwww.pathwayslms.com\u002Fswipltuts\u002Fhtml\u002Findex.html) and other modern application development toolkits.…",{"value":98,"source":58,"evidence":99},"Mercury",[100],{"id":101,"by":102,"text":103},"12941787","nickpsecurity","James, check out Mercury next as it's a faster, better Prolog with some industrial use. https:\u002F\u002Fmercurylang.org",{"value":105,"source":58,"evidence":106},"pyDatalog",[107],{"id":108,"by":109,"text":110},"12946674","siddboots","I appreciate you taking the time. Your approach shows the first steps towards building an inference engine in Python, but these are all very trivial examples. The difference…",{"comments":112,"answered":38,"key":113},6,[114,117,118],{"id":115,"text":116},"12941360","That's awesome, thanks for sharing!",{"id":78,"text":79},{"id":119,"text":120},"12941872","That looks really cool. To be honest I hadn't planned to use Prolog too much beyond this project, but I'll give Mercury a try if I decide to dive deeper into logic programming.…",{"commenters":122,"max_depth":123,"maker_replies":112,"first_comment_mins":124,"lifespan_hours":125},39,8,14,68,[127,129,131,134,137,141,144,146,149,153,155,158,161,163,165,166,168,170,173,176,179,182,184,187,189,192,194,197,199,201,204,206,208,210,213,216,218,219,220,223,225,227,229,231,233,235,239,241,244,247,249,251,253,256,258,261,264,267,270,273,276,278,283,286,289,293,295,298,300,302],[61,31,17,128,62,31],"project\u002Fpositive\u002Fidea",[115,31,31,130,10,38],"commenter\u002Fneutral\u002Fnone",[132,31,31,133,62,31],"12941431","other\u002Fneutral\u002Fidea",[135,38,31,133,136,31],"12940923","nextos",[138,38,31,139,140,31],"12941585","other\u002Fneutral\u002Fnone","faceyspacey",[142,38,31,139,143,31],"12941914","rch",[145,38,31,139,140,31],"12942073",[147,38,31,139,148,31],"12949155","agumonkey",[150,35,29,151,152,31],"12941004","project\u002Fneutral\u002Fidea","gnarbarian",[78,35,31,154,10,38],"maker\u002Fneutral\u002Fidea",[156,35,31,130,157,31],"12941112","xapata",[159,35,31,130,160,31],"12941780","justinhj",[162,35,31,130,109,31],"12941930",[164,35,31,130,157,31],"12942508",[108,35,31,130,109,31],[167,35,31,130,157,31],"12947071",[94,35,29,169,95,31],"project\u002Fneutral\u002Fnone",[171,35,31,133,172,31],"12941984","rtpg",[174,35,31,139,175,31],"12942817","Allan_Smithee",[177,35,31,139,178,31],"12942961","vram22",[180,35,31,139,181,31],"12943327","fulafel",[183,35,31,139,148,31],"12949164",[185,35,31,139,186,31],"12943442","freeduck",[188,35,31,139,178,31],"12945138",[190,35,31,139,191,31],"12943797","tom_mellior",[193,35,31,130,178,31],"12944242",[195,35,31,139,196,31],"12947333","kazinator",[198,35,31,139,178,31],"12950912",[200,35,31,139,196,31],"12951510",[202,35,31,139,203,31],"12953248","lispm",[205,35,31,139,196,31],"12954262",[207,35,31,130,203,31],"12955687",[209,35,31,130,203,31],"12957442",[211,29,31,139,212,31],"12941553","Spooky23",[214,29,31,139,215,31],"12941910","qohen",[217,29,31,139,212,31],"12944590",[101,30,31,139,102,31],[119,30,31,130,10,38],[221,30,31,139,222,31],"12942532","cronjobber",[224,30,31,139,102,31],"12943525",[226,30,31,139,191,31],"12943709",[228,30,31,130,102,31],"12944425",[230,30,31,139,191,31],"12944681",[232,30,31,139,102,31],"12945950",[234,30,31,139,178,31],"12944586",[236,17,29,237,238,31],"12942899","maker\u002Fneutral\u002Fnone","chatmasta",[240,17,31,237,10,38],"12944394",[242,17,29,243,238,31],"12945925","maker\u002Fneutral\u002Fdocs",[245,112,31,139,246,31],"12940926","pizza",[69,248,31,139,70,31],7,[65,123,17,250,66,31],"project\u002Fpositive\u002Fnone",[252,123,31,130,10,38],"12941041",[84,254,38,255,85,31],9,"project\u002Fcritical\u002Fexecution",[257,254,31,237,10,38],"12946876",[259,32,31,139,260,31],"12941160","hossbeast",[262,32,31,139,263,31],"12941439","TheRealPomax",[265,32,31,139,266,31],"12941569","gwu78",[268,32,31,139,269,31],"12941615","cdmckay",[271,32,31,139,272,31],"12942992","mst",[274,32,31,130,275,31],"12956223","justinator",[277,32,31,130,272,31],"12961064",[279,280,38,281,282,31],"12940879",11,"project\u002Fcritical\u002Fidea","MrFeynmannsJoke",[284,280,31,130,285,31],"12941038","chriswarbo",[287,280,17,128,288,31],"12941388","coderdude",[290,291,38,281,292,31],"12940822",12,"aibottle",[294,291,31,130,285,31],"12941033",[296,291,31,297,62,31],"12941216","commenter\u002Fcritical\u002Fnone",[299,291,31,130,109,31],"12941938",[301,291,31,130,62,31],"12945366",[303,291,31,139,304,31],"12942027","wagmo",[],[307,312,317,322,326,331],{"id":308,"name":309,"points":310,"category":311},"12958445","Primitive",798,"creative",{"id":313,"name":314,"points":315,"category":316},"12956243","Whosfiring",256,"web_saas",{"id":318,"name":319,"points":320,"category":321},"12932592","Blink Shell for iOS",219,"dev_tools",{"id":323,"name":324,"points":325,"category":321},"12921389","CloudRail",191,{"id":327,"name":328,"points":329,"category":330},"12938636","Gridmaster",188,"learning_science",{"id":332,"name":333,"points":334,"category":311},"12958813","Commits.io",163,false,"v2",{"id":338,"name":5,"line":6,"ai":335,"cat":19,"year":12,"points":13,"comments":14,"rec":26,"s":339,"top":17,"kw":340,"maker":10,"domain":5,"tier":18,"attempts":31,"strip":341,"url":9,"mix":342,"praise":57,"objection":74,"sub":20},12940615,-0.04,[23,24,25],"5000030003000000000000000033051000015100",[29,30,31,29],1794036549480]