[{"data":1,"prerenderedAt":395},["ShallowReactive",2],{"project-6320509":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":44,"post_text":45,"what":46,"said":82,"maker_in_thread":179,"shape":182,"grid":187,"attempts":357,"same_week":358,"maker_shows":32,"maker_hidden":387,"reader_version":388,"card":389},"6320509","devos","Very basic Unix-like operating system built when I was younger","title","Show HN: Very basic Unix-like operating system built when I was younger","https:\u002F\u002Fgithub.com\u002FSamyPesse\u002Fos","github.com","SamyPesse",1378211723,2013,150,63,128,1739,8,"notable","languages","operating system","other",[21,24,25,26,27],"kernel","x86","hobby os","c++","mixed",0.519,{"positive":31,"neutral":32,"mixed":33,"critical":32},17,5,1,28,{"execution":36,"idea":39,"docs":42,"design":43},{"positive":37,"critical":38},3,4,{"positive":40,"critical":41},2,0,{"positive":41,"critical":33},{"positive":41,"critical":41},[37,32,41,41,32,32,32,41,41,41,41,41,32,32,41,41,41,33,41,33,41,37,33,33,33,37,32,32,32,32,41,41,41,41,41,32,37,32,32,32],null,{"problem":45,"audience":45,"pricing":45,"motivation":47,"time_to_build":58,"stack":62,"openness":79,"stage":80,"team_size":81},{"value":48,"source":49,"evidence":50},"Written as a high school project to learn how operating systems work","maker",[51,55],{"id":52,"by":53,"text":54},"6322268","bitwize","\"This code was written several years ago as one of my first projects when I was in High School so it's normal if some parts of the code looks like \"crap\".\" In other words: \"I'm…",{"id":56,"by":11,"text":57},"6320923","It took me like a year to really understand how everything works and come to this version (it was 4 years ago). I really learned C\u002FC++ (and some assembly) with doing this, so I…",{"value":59,"source":49,"evidence":60},"About a year to understand and build the version posted",[61],{"id":56,"by":11,"text":57},[63,71,75],{"value":64,"source":49,"evidence":65},"C++",[66,70],{"id":67,"by":68,"text":69},"6321570","rajeevk","I too wrote unix like kernel when I was student (around 8-9 years ago). My kernel was also in C++ and and little bit of asm (nasm) It was very fun experience. Probably that was…",{"id":56,"by":11,"text":57},{"value":72,"source":49,"evidence":73},"C",[74],{"id":56,"by":11,"text":57},{"value":76,"source":49,"evidence":77},"x86 assembly",[78],{"id":56,"by":11,"text":57},"open_source","prototype","solo",{"praise":83,"objections":112,"requests":129,"questions":144,"alternatives":156},[84,104],{"value":85,"source":86,"evidence":87},"Impressive achievement for a high school student","commenter",[88,92,96,100],{"id":89,"by":90,"text":91},"6320669","ancarda","I can barely do the most basic tasks in programming and you wrote an OS in high school? Bravo.",{"id":93,"by":94,"text":95},"6320680","Elzair","Bravo indeed! I only started programming in my senior year of high school. I wanted to write an operating system for my senior project, but I thought that was WAY too ambitious.…",{"id":97,"by":98,"text":99},"6320660","quaunaut","And thus begins the successor to Linux.",{"id":101,"by":102,"text":103},"6325810","rsmaniak","This just makes me feel inadequate...you wrote this in highschool? How old where you back then if I may ask and what made you take the challenge? Also, how does one even start to…",{"value":105,"source":86,"evidence":106},"Inspiring and educational to build an OS",[107,111],{"id":108,"by":109,"text":110},"6322695","r4pha","Nice! And I wouldn't call it \"very basic\". It's inspiring to see how far you've gone, even at such a young age. I took a shot at os development and it took me almost a month of…",{"id":67,"by":68,"text":69},[113,118],{"value":114,"source":49,"evidence":115},"Code quality is rough and not very pretty",[116,117],{"id":52,"by":53,"text":54},{"id":56,"by":11,"text":57},{"value":119,"source":86,"evidence":120},"Build fails on Linux due to Makefile casing and C++ errors",[121,125],{"id":122,"by":123,"text":124},"6321136","FreeFull","I'm having trouble compiling this. ``` freefull@freefull-hp ~\u002Fc\u002Fo\u002Fdevos> make all Building Kernel make -C .\u002Fkernel make[1]: Entering directory…",{"id":126,"by":127,"text":128},"6321901","GaveUp","Well, on my system (Ubuntu) at least this is not the case and renaming the files gets past the errors and on to actual build errors: ``` runtime\u002Fcxx.cc:74:41: error: ‘operator…",[130,137],{"value":131,"source":86,"evidence":132},"Step-by-step instructions for getting it running",[133],{"id":134,"by":135,"text":136},"6322813","mosselman","You are completely right. It is the same with giving discounts on products or services, you devaluate what you are providing. I wouldn't even know where to get started on…",{"value":138,"source":86,"evidence":139},"Boot in Qemu works",[140],{"id":141,"by":142,"text":143},"6324086","AaronO","The compile\u002Fbuild works fine now (check out my commits). However what does not yet work is booting the image with Qemu.",[145,149],{"value":146,"source":86,"evidence":147},"How to start writing an OS from scratch",[148],{"id":101,"by":102,"text":103},{"value":150,"source":86,"evidence":151},"Why C++ rather than C",[152],{"id":153,"by":154,"text":155},"6321273","Moral_","Why did you decide to do it in C++ and not C?",[157,168,172],{"value":158,"source":86,"evidence":159},"xv6 teaching OS from MIT",[160,164],{"id":161,"by":162,"text":163},"6323412","sillysaurus2","I wouldn't even know where to get started on building an OS http:\u002F\u002Fpdos.csail.mit.edu\u002F6.828\u002F2012\u002Fxv6.html http:\u002F\u002Fpdos.csail.mit.edu\u002F6.828\u002F2012\u002Fxv6\u002Fbook-rev7.pdf",{"id":165,"by":166,"text":167},"6322246","chubot","I looked at the teaching kernels xv6 from MIT, and Pintos from Stanford. They are both x86, and I've heard the same sentiment that you express, which makes me a bit hesitant to…",{"value":169,"source":86,"evidence":170},"Pintos from Stanford",[171],{"id":165,"by":166,"text":167},{"value":173,"source":86,"evidence":174},"OSDev wiki and forum",[175],{"id":176,"by":177,"text":178},"6321614","alexjeffrey","I attempted the very same in my first year of college (in the UK, so about the same age). I only got as far as a memory manager, FAT16 filesystem driver and basic bootloader…",{"comments":33,"answered":33,"key":180},[181],{"id":56,"text":57},{"commenters":183,"max_depth":184,"maker_replies":33,"first_comment_mins":185,"lifespan_hours":186},42,7,32,53,[188,190,194,196,198,202,205,208,212,214,217,220,224,228,231,233,235,238,240,244,245,248,249,252,254,256,258,262,266,270,272,274,276,279,282,284,287,288,290,292,294,296,298,300,304,306,310,313,316,319,322,324,327,328,331,333,337,340,341,344,347,349,354],[52,41,37,189,53,41],"maker\u002Fneutral\u002Fexecution",[191,33,32,192,193,41],"6322099","maker\u002Fpositive\u002Fnone","nobodysfool",[134,33,32,195,135,41],"project\u002Fpositive\u002Fidea",[161,33,41,197,162,41],"other\u002Fneutral\u002Fdocs",[199,33,41,200,201,41],"6323776","other\u002Fpositive\u002Fdocs","eli_gottlieb",[203,33,41,204,135,41],"6324621","other\u002Fpositive\u002Fnone",[206,33,32,192,207,41],"6323185","rsync",[209,33,41,210,211,41],"6324775","commenter\u002Fneutral\u002Fnone","dandelany",[176,40,32,213,177,41],"maker\u002Fpositive\u002Fexecution",[215,37,32,192,216,41],"6321410","aidos",[218,37,32,192,219,41],"6321576","antocv",[221,37,41,222,223,41],"6321708","other\u002Fneutral\u002Fidea","JoeAltmaier",[225,37,41,226,227,41],"6322033","commenter\u002Fneutral\u002Fidea","StandardFuture",[229,37,41,222,230,41],"6322161","mtdewcmu",[232,37,41,222,223,41],"6323225",[234,37,41,226,230,41],"6324502",[236,37,41,222,237,41],"6325443","zanny",[239,37,41,222,230,41],"6328485",[241,38,37,242,243,41],"6325079","maker\u002Fneutral\u002Fnone","programminggeek",[89,32,32,192,90,41],[97,246,32,247,98,41],6,"project\u002Fpositive\u002Fnone",[93,184,32,192,94,41],[250,184,41,251,127,41],"6321148","other\u002Fneutral\u002Fnone",[253,184,41,251,230,41],"6321867",[255,184,41,251,127,41],"6323068",[257,18,41,251,142,41],"6322069",[259,18,33,260,261,41],"6324608","project\u002Fcritical\u002Fexecution","cocoflunchy",[263,18,41,264,265,41],"6329629","commenter\u002Fneutral\u002Fexecution","mrhazel",[267,268,41,197,269,41],"6322832",9,"kadder",[122,271,33,260,123,41],10,[273,271,41,264,127,41],"6321183",[275,271,41,264,123,41],"6321599",[277,271,41,278,230,41],"6321816","commenter\u002Fneutral\u002Fdocs",[280,271,37,281,123,41],"6321881","project\u002Fneutral\u002Fdocs",[283,271,41,264,230,41],"6321948",[285,271,33,286,123,41],"6322067","project\u002Fcritical\u002Fdocs",[126,271,33,260,127,41],[289,271,33,260,123,41],"6322050",[291,271,41,264,123,41],"6321896",[141,271,37,293,142,41],"project\u002Fmixed\u002Fexecution",[295,271,32,213,123,41],"6335623",[67,297,41,251,68,41],11,[101,299,32,192,102,41],12,[301,302,41,200,303,41],"6320999",13,"TimFogarty",[108,305,32,247,109,41],14,[307,308,32,247,309,41],"6320787",15,"eksith",[311,308,41,251,312,41],"6320842","zamalek",[314,308,41,251,315,41],"6321050","achy",[317,308,41,251,318,41],"6321061","adestefan",[320,308,41,251,321,41],"6324007","zokier",[323,308,41,210,318,41],"6324203",[325,308,41,197,326,41],"6324830","wtracy",[165,308,41,197,166,41],[329,308,41,197,330,41],"6325168","zhemao",[332,308,41,251,201,41],"6323812",[334,335,32,336,142,41],"6323468",16,"project\u002Fpositive\u002Fexecution",[338,31,37,242,339,41],"6320880","1angryhacker",[56,31,41,242,11,33],[342,31,32,192,343,41],"6321067","Cyph0n",[345,31,32,192,346,41],"6322770","dsschnau",[348,31,41,210,135,41],"6322870",[350,351,32,352,353,41],"6320866",18,"maker\u002Fpositive\u002Fidea","girvo",[153,355,37,356,154,41],19,"maker\u002Fneutral\u002Fdesign",[],[359,364,369,374,379,383],{"id":360,"name":361,"points":362,"category":363},"6310317","Hire Programmers Leaving Syria",155,"web_saas",{"id":365,"name":366,"points":367,"category":368},"6297225","Ferret",145,"dev_tools",{"id":370,"name":371,"points":372,"category":373},"6302825","Gingko",140,"productivity",{"id":375,"name":376,"points":377,"category":378},"6301478","Musicfellas",114,"consumer_social",{"id":380,"name":381,"points":382,"category":368},"6322875","road.li",88,{"id":384,"name":385,"points":386,"category":368},"6305069","Cleaver",82,false,"v2",{"id":390,"name":5,"line":6,"ai":387,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":391,"top":18,"kw":392,"maker":11,"domain":10,"tier":19,"attempts":41,"strip":393,"url":9,"mix":394,"praise":85,"objection":114,"sub":21},6320509,0.52,[21,24,25,26,27],"3500555000005500010103111355550000053555",[31,32,33,32],1793990897417]