[{"data":1,"prerenderedAt":130},["ShallowReactive",2],{"project-16774642":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":27,"sentiment":28,"stance_mix":29,"scored_comments":33,"aspects":34,"strip":36,"post_text":28,"what":37,"said":47,"maker_in_thread":73,"shape":79,"grid":82,"attempts":93,"same_week":94,"maker_shows":14,"maker_hidden":123,"reader_version":124,"card":125},"16774642","Kgotobed","Kernel module that forces you to go to sleep","title","Show HN: Kgotobed: Kernel module that forces you to go to sleep","https:\u002F\u002Fgithub.com\u002Fnikital\u002Fkgotobed","github.com","nikital",1523032866,2018,4,5,2060,2155,96,"shown","infrastructure","linux kernel module","other",[21,24,25,26],"sleep","rmmod","bedtime enforcer","quiet",null,{"positive":30,"neutral":31,"mixed":32,"critical":32},1,2,0,3,{"design":35},{"positive":30,"critical":32},[33,32,33,32,15],{"problem":28,"audience":28,"pricing":28,"motivation":28,"time_to_build":28,"stack":38,"openness":46,"stage":46,"team_size":46},[39],{"value":40,"source":41,"evidence":42},"C (Linux kernel module)","inferred",[43],{"id":44,"by":11,"text":45},"16775161","I used the kernel module for a few days and didn't notice any problems on a laptop running Fedora. The kernel module is less that 100 lines long, hopefully it's simple enough to…","unknown",{"praise":48,"objections":54,"requests":55,"questions":56,"alternatives":72},[49],{"value":50,"source":51,"evidence":52},"Simple, short code (under 100 lines)","maker",[53],{"id":44,"by":11,"text":45},[],[],[57,65],{"value":58,"source":59,"evidence":60},"Are there gotchas to using it daily?","commenter",[61],{"id":62,"by":63,"text":64},"16774995","captn3m0","Are you using this daily? Just want to know if there are any gotchas I might need to check before I start using it.",{"value":66,"source":59,"evidence":67},"How is unloading the module prevented?",[68],{"id":69,"by":70,"text":71},"16781200","O_H_E","May I ask, how is it possible to prevent unloading the module?",[],{"comments":31,"answered":31,"key":74},[75,76],{"id":44,"text":45},{"id":77,"text":78},"16782681","The module takes an extra reference count to itself upon initialization and never decrements it, so rmmod will fail because the module will be \"in use\".",{"commenters":33,"max_depth":33,"maker_replies":31,"first_comment_mins":80,"lifespan_hours":81},31,35,[83,85,87,89,90],[62,32,33,84,63,32],"maker\u002Fneutral\u002Fnone",[44,32,32,86,11,30],"project\u002Fpositive\u002Fexecution",[69,30,33,88,70,32],"project\u002Fneutral\u002Fdesign",[77,30,32,88,11,30],[91,30,15,92,70,32],"16784467","maker\u002Fpositive\u002Fdesign",[],[95,100,105,109,114,119],{"id":96,"name":97,"points":98,"category":99},"16760736","AI Grant",323,"learning_science",{"id":101,"name":102,"points":103,"category":104},"16792638","Wey",277,"productivity",{"id":106,"name":107,"points":108,"category":20},"16812288","bvckup2 disk IO graph tool",207,{"id":110,"name":111,"points":112,"category":113},"16782658","TerrainVer",198,"creative",{"id":115,"name":116,"points":117,"category":118},"16787836","Phoenix 2.6",183,"dev_tools",{"id":120,"name":121,"points":122,"category":118},"16780382","gopro-py-api",131,false,"v2",{"id":126,"name":5,"line":6,"ai":123,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":28,"top":18,"kw":127,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":128,"url":9,"mix":129,"praise":50,"objection":-1,"sub":21},16774642,[21,24,25,26],"30305",[30,31,32,32],1793990972536]