[{"data":1,"prerenderedAt":222},["ShallowReactive",2],{"project-25818384":3},{"id":4,"name":5,"line":5,"line_source":6,"title":7,"url":8,"domain":8,"maker":9,"posted_at":10,"year":11,"points":12,"comments":13,"rank_in_year":14,"shown_in_year":15,"top":16,"tier":17,"category":18,"subcategory":19,"format":20,"keywords":21,"reception":26,"sentiment":27,"stance_mix":28,"scored_comments":32,"aspects":33,"strip":39,"post_text":40,"what":41,"said":50,"maker_in_thread":130,"shape":139,"grid":143,"attempts":182,"same_week":183,"maker_shows":212,"maker_hidden":213,"reader_version":214,"card":215},"25818384","Print chr$(205.5+rnd(1)) goto 10","title","Show HN: Print chr$(205.5+rnd(1)) goto 10",null,"atum47",1610946496,2021,42,16,960,2533,38,"shown","creative","generative art","web_app",[22,19,23,24,25],"10 print","javascript","maze pattern","basic one-liner","loved",0.208,{"positive":29,"neutral":30,"mixed":31,"critical":31},5,4,1,11,{"performance":34,"execution":35,"design":37},{"positive":31,"critical":31},{"positive":31,"critical":36},0,{"positive":38,"critical":36},3,[36,29,36,36,38,29,38,36,29,29,38,31,38,36,38,29],"JavaScript implementation of the famous `10 print chr$(205.5+rnd(1)) goto 10` one line of BASIC code.\n\ndata:text\u002Fhtml,\u003Cscript>a=()=>{document.write(Math.random()\u003C0.5?'\\u2571':'\\u2572');document.body.style.cssText=\"margin:0;padding:0;font-family:monospace;word-break:break-word;font-size:3em;letter-spacing:0;font-stretch:ultra-expanded\"};update=()=>{a();window.requestAnimationFrame(update)};update()\u003C\u002Fscript>\n\nCopy and paste the above \"link\" in your browser.",{"problem":8,"audience":8,"pricing":8,"motivation":8,"time_to_build":8,"stack":42,"openness":49,"stage":49,"team_size":49},[43],{"value":44,"source":45,"evidence":46},"JavaScript","maker",[47],{"id":48},"post","unknown",{"praise":51,"objections":74,"requests":90,"questions":106,"alternatives":118},[52,68],{"value":53,"source":54,"evidence":55},"Neat idea and cool visual effect","commenter",[56,60,64],{"id":57,"by":58,"text":59},"25818853","sedatk","It works but doesn't scroll automatically like others :) Still a neat idea! I had also written one in Z80 Assembly in 14-bytes for Amstrad CPC computers:…",{"id":61,"by":62,"text":63},"25831504","Cyber_squad","WoW really cool effect! Love this kind of works!",{"id":65,"by":66,"text":67},"25818769","andreareina","Bravo. Just ran this, seeing the JIT kick in was a trip. Data URIs: https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FHTTP\u002FBasics_of_HTTP\u002FData_URIs",{"value":69,"source":54,"evidence":70},"Underrated comment, fun variations",[71],{"id":72,"by":62,"text":73},"25831506","Underrated comment!",[75,86],{"value":76,"source":54,"evidence":77},"Runs slowly or tab closes in regular Chrome with multiple tabs",[78,82],{"id":79,"by":80,"text":81},"25818812","_nothing","In which browsers? This doesn't seem to work for me in Chrome, but maybe it's just me. Works in Firefox and Safari. Edit: Nevermind, I tried again and it did begin to run before…",{"id":83,"by":84,"text":85},"25819449","rkwasny","Uh, why is it so slow?",{"value":87,"source":54,"evidence":88},"No automatic scrolling",[89],{"id":57,"by":58,"text":59},[91,99],{"value":92,"source":54,"evidence":93},"Add auto-scrolling",[94,95],{"id":57,"by":58,"text":59},{"id":96,"by":97,"text":98},"25820655","AlbertoGP","Here it is with scrolling:…",{"value":100,"source":54,"evidence":101},"Add line-height for a nicer look",[102],{"id":103,"by":104,"text":105},"25818899","syrrim","Add 'line-height:1em;' to make it look a bit cooler.",[107,111],{"value":108,"source":54,"evidence":109},"Why does it fail in multiple Chrome tabs",[110],{"id":79,"by":80,"text":81},{"value":112,"source":54,"evidence":113},"Why does JIT compilation take so long",[114],{"id":115,"by":116,"text":117},"25818895","ineiti","Chrome seems to compile before it runs it. Only Firefox takes some lines before it runs it as fast as Chrome. Now I wonder why it takes so long to do the JIT? I always thought…",[119,126],{"value":120,"source":54,"evidence":121},"Book 10 PRINT CHR$(205.5+RND(1)); GOTO 10 (MIT Press)",[122],{"id":123,"by":124,"text":125},"25818843","pkaye","There is actually a whole book written about this line of code. A pdf is available on the Open Access tab. https:\u002F\u002Fmitpress.mit.edu\u002Fbooks\u002F10-print-chr2055rnd1-goto-10",{"value":127,"source":54,"evidence":128},"Z80 Assembly 14-byte maze for Amstrad CPC",[129],{"id":57,"by":58,"text":59},{"comments":131,"answered":31,"key":132},2,[133,136],{"id":134,"text":135},"25818819","I'm using breve these days and it works. It's chromium based",{"id":137,"text":138},"25823136","It also detect hardware to decide if it's going to run at 60 or 120 fps. Also don't animate if the tab is not visible",{"commenters":140,"max_depth":38,"maker_replies":131,"first_comment_mins":141,"lifespan_hours":142},13,69,28,[144,146,148,150,152,154,156,158,160,164,165,168,171,175,177,181],[123,36,36,145,124,36],"other\u002Fneutral\u002Fnone",[65,31,29,147,66,36],"project\u002Fpositive\u002Fperformance",[115,31,36,149,116,36],"other\u002Fneutral\u002Fperformance",[151,31,36,149,66,36],"25818959",[57,131,38,153,58,36],"project\u002Fmixed\u002Fexecution",[96,131,29,155,97,36],"project\u002Fpositive\u002Fexecution",[79,38,38,157,80,36],"project\u002Fneutral\u002Fexecution",[134,38,36,159,9,31],"commenter\u002Fneutral\u002Fexecution",[161,30,29,162,163,36],"25819967","project\u002Fpositive\u002Fdesign","m463",[61,29,29,162,62,36],[103,166,38,167,104,36],6,"project\u002Fneutral\u002Fdesign",[83,169,31,170,84,36],7,"project\u002Fcritical\u002Fperformance",[172,169,38,173,174,36],"25820122","project\u002Fneutral\u002Fperformance","nemetroid",[137,169,36,176,9,31],"maker\u002Fneutral\u002Fperformance",[178,179,38,167,180,36],"25818780",8,"quickthrower2",[72,179,29,162,62,36],[],[184,189,194,199,203,207],{"id":185,"name":186,"points":187,"category":188},"25848278","Beeper",962,"consumer_social",{"id":190,"name":191,"points":192,"category":193},"25846347","Vim",667,"learning_science",{"id":195,"name":196,"points":197,"category":198},"25821873","Turquoise Health",447,"data",{"id":200,"name":201,"points":202,"category":193},"25836395","Tejotron",409,{"id":204,"name":205,"points":206,"category":188},"25848793","Sundayy",215,{"id":208,"name":209,"points":210,"category":211},"25786640","Vmctl\u002FVmcli",198,"dev_tools",53,false,"v2",{"id":216,"name":5,"line":5,"ai":213,"cat":18,"year":11,"points":12,"comments":13,"rec":26,"s":217,"top":16,"kw":218,"maker":9,"domain":219,"tier":17,"attempts":36,"strip":220,"url":-1,"mix":221,"praise":53,"objection":76,"sub":19},25818384,0.21,[22,19,23,24,25],"","0500353055313035",[29,30,31,31],1794036601436]