2011-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã¯ããã« ä»åã¯ãã¤ããè¦ã¦ããã¾ããã½ã¼ã¹ã³ã¼ãã®unix/pipe.cãä¸å¿ã«è¿½ã£ã¦ããã¾ãã ãã¤ãã®ä»çµã¿ ãã¤ãã¨ã¯ããã»ã¹éã®éä¿¡ãå®ç¾ããä»çµã¿ã®ãã¨ã§ããåããã»ã¹æ¯ã«åºæã®ã¢ãã¬ã¹ç©ºéãæã£ã¦ãããããé常ã¯ä»ããã»ã¹ãæã£ã¦ãããã¼â¦
ã¯ããã« ä»åã¯unix/sys3.cãè¦ã¦ããã¾ãã fstat( ), stat( ) fstat( )(6014è¡ç®)ã¯fstatã·ã¹ãã ã³ã¼ã«ã®ãã³ãã©ã§ããstat( )(6028è¡ç®)ã¯statã·ã¹ãã ã³ã¼ã«ã®ãã³ãã©ã§ããfstatãstatããã¡ã¤ã«ã®inodeæ å ±ãåå¾ããã·ã¹ãã ã³ã¼ã«ã§ããç°ãªãã®â¦
ã¯ããã« ä»åã¯unix/sys2.cãè¦ã¦ããã¾ãããã¡ã¤ã«ã·ã¹ãã é¢é£ã®ã·ã¹ãã ã³ã¼ã«ãããã£ã¦ãã¾ããåã·ã¹ãã ã³ã¼ã«ã®èª¬æã¯ã¦ã¼ã¶ããã¥ã¢ã«ã«ãè¼ã£ã¦ããã®ã§ãåããã¦ç®ãéããã¨ããå§ããã¾ãã read( ), write( ) read( )(5711è¡ç®)ã¯readã·ã¹â¦
ã¯ããã« ä»åã¯unix/rdwri.cãè¦ã¦ããã¾ãããã¡ã¤ã«ã®èªã¿æ¸ãå¦çãä¸å¿ã§ãã readi( ) readi( )(6221è¡ç®)ã¯ãinodeã«å¯¾å¿ãããã¼ã¿ã®å 容ããã£ã¹ã¯ããèªã¿åºãã¾ããreadi( )ãå¼ã³åºãåã«ãu.u_base, u.u_offset, u.u_count, u.u_segflgãè¨å®ãâ¦
ã¯ããã« ä»åã¯unix/fio.cãè¦ã¦ããã¾ããu.u_ofile[ ]ãfile[ ]ã®å²ãå½ã¦ãã権éãã§ãã¯ãªã©ã®é¢æ°ãæã£ã¦ãã¾ãã getf( ) getf( )(6619è¡ç®)ã¯ããã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ããã該å½ã®fileæ§é ä½ãåå¾ãã¦ãããreturnãã¾ãããã¡ã¤ã«ãã£ã¹ã¯ãªãâ¦
ã¯ããã« ä»åã¯unix/subr.cãè¦ã¦ããã¾ããä»®æ³çãªblock Noããç©çããã¤ã¹ã®block Noã«å¤æããbmap( )ãä¸å¿ã«ãsubr(ãµãã«ã¼ãã³)ã®ååã®éããä»ã®é¢æ°ããããå¼ã°ããé¢æ°ãæã£ã¦ãã¾ãã bmap( ) ãã¡ã¤ã«ä¸ã®ã¢ã¯ã»ã¹ããããã¼ã¿ã®ãªãã»ãâ¦
ã¯ããã« ä»åã¯unix/namei.cãè¦ã¦ããã¾ããã·ã¹ãã ã®ä¸ã§ããã¡ã¤ã«ãã©ã®ããã«æ±ããã¦ããããè¦ãã¦ããã¨æãã¾ãã namei( ) 以åã®ã¨ã³ããªã§æ¸ããããã«ããã¡ã¤ã«ã¯ãã£ã¬ã¯ããªã«ãã£ã¦æ¨æ§é ã¨ãã¦ç®¡çããã¦ãã¾ãããã¹ã使ããã¨ã§ãåãâ¦
ã¯ããã« ä»åã¯unix/iget.cãè¦ã¦ããã¾ããiget.cã¯ã³ã¢ä¸ã®inode[ ]ãªã½ã¼ã¹ç®¡çã主ã§ããä»ã«ãæ°ããªinodeã®çæ(ãã¡ã¤ã«ã®çæ)ãããã£ã¬ã¯ããªã¸ã®ã¨ã³ããªè¿½å ã«é¢ããå¦çãªã©ãããã¾ãã ã³ã¢ä¸ã®inode[ ] unix/inode.hã®ä¸ã§inodeæ§é ä½ã®é â¦
ã¯ããã« å æ¥ãLions' Commentary on UNIXã®èªæ¸ä¼ã«åå ããã¨ãã«UNIX v6ã®ãã¡ã¤ã«ã·ã¹ãã å¨ãã®ã³ã¼ããèªã¿ã¾ããããã¡ã¤ã«ã®ã¯ãã¼ãºã»åé¤ã®ããããèªãã§ããã¨ãã«ããããã¨ã«æ°ã¥ãã¾ãããããã¡ã¤ã«åé¤ããã¨ãã«ããããã¯ããã¤ã¹ã®ãã¼â¦
ã¯ããã« Lionsæ¬èªæ¸ä¼#12ã«åå ãã¦ãã¾ãããã¡ã¢ãæ®ãã¦ããã¾ããä»åã¯18ç« ãèªã¿ã¾ããã togetter é¢é£ãã¤ã¼ããtogetterã§ã¾ã¨ãã¾ããã http://togetter.com/li/222603 ç§ã®ãã¤ã¼ãã¯è¡¨è¨ã®ããã大ããã®ã§ãåèã«ãããå ´åã¯æ³¨æãã¦å¼ãâ¦
ã¯ããã« unix/alloc.cãè¦ã¦ããã¾ããalloc.cã§ã¯ãããã¯ããã¤ã¹ä¸ã®inodeé åããã¼ã¿é åã®å²ãå½ã¦ã»è§£æ¾ãè¡ã£ã¦ãã¾ãã ãããã¯ããã¤ã¹ã®inodeé åã®å²ãå½ã¦ï¼è§£æ¾ åãããã¯ããã¤ã¹ã«å¯¾å¿ããsuperblock(filsysæ§é ä½(5561è¡ç®))ãã³ã¢ä¸ã«â¦
download https://chrome.google.com/webstore/detail/jpfhljpnmimfljemkjpdabacnljadadh?hl=jaããã£ã±ããã¼ã«ã§ããMA7ã«å¿åãã¦ã¿ã¾ããï¼ screen shot how to use ãã®åç»ã§ç´¹ä»ãã¦ããå 容ãã以ä¸ã®æ©è½ã追å ãã¦ãã¾ããchromeå³ä¸ã®ç¼é¡ãã¿ã³â¦
ã¯ããã« ååããããã¯ããã¤ã¹ããã³ã¢ã¡ã¢ãªã¸ã®inodeå²ãå½ã¦ã解説ãããã¨è¨ã£ãã®ã§ããããã®åã«ãã¦ã³ãã«ã¤ãã¦ã¾ã¨ãã¾ãã ãã¦ã³ãã¨ã¯ï¼ ãã¦ã³ãã¨ã¯ããã¤ã¹ãOSã«èªèãããOSãã使ããããã«ããä»çµã¿ã§ãã mountæ§é ä½ mountæ§é ä½â¦
ã¯ããã« å æ¥ã®10/15-16ã«Lionsæ¬èªæ¸ä¼2011ç§å宿ã«åå ãã¦ãã¾ããããã®ã¨ãã®ææçºè¡¨è³æãå ¬éãã¦ããã¾ããã¾ããå宿é¢é£ã®tweetãtogetterã§ã¾ã¨ãã¾ããã è³æ ææçºè¡¨ã«ä½¿ç¨ããè³æã¯ãã¡ãã§ããUNIX v6 emulator on HTML5 and JavaScriptâ¦
ãããä¸è¨ãåºã«ãããã¬ã¼ã³è³æã§ããhttps://docs.google.com/present/edit?id=0AdSF0S1K6MqxZGNwNjVqOWZfMHM4cno4bWQz&hl=en_US ä»ã®æ¹ã ã®è³æã¯ããã§è¦ããã¾ããhttps://sites.google.com/site/lionscommentaryonunixreading/2011autumncanp/resultâ¦
ã¯ããã« Lionsæ¬èªæ¸ä¼#11ã«åå ãã¦ãã¾ãããã¡ã¢ãæ®ãã¦ããã¾ããä»åã¯17ç« ãèªã¿ã¾ããã togetter é¢é£ãã¤ã¼ããtogetterã§ã¾ã¨ãã¾ããã http://togetter.com/li/190744 çµãã㫠次åã®Lionsæ¬èªæ¸ä¼ã¯11æ27æ¥(æ¥)ã«éå¬ãããäºå®ã§ãããOSâ¦
ååã®ã¨ã³ããªã§UNIX v6 file system hack toolã®HTML5&JavaScriptçã®ç´¹ä»ããã¾ãããä»åã¯C++çã®ç´¹ä»ããã¾ãããããããã°ã覧ãã ãããã³ã¼ãã¯ç¾å¨200-300è¡ãããã§ããHTML5&JavaScriptçã¨åæ§ãæã£ã¦ããããç°¡åã«ä½ãã¾ããã
ã¯ããã« Lionsæ¬èªæ¸ä¼#10ã«åå ãã¦ãã¾ãããã¡ã¢ãæ®ãã¦ããã¾ããä»åã¯16ç« ã¨17ç« ã®æåã®ã»ããèªã¿ã¾ããã togetter é¢é£ãã¤ã¼ããtogetterã§ã¾ã¨ãã¾ããã http://togetter.com/li/180482 çµãã㫠次åã®Lionsæ¬èªæ¸ä¼ã¯9æ18æ¥(æ¥)ã«éå¬ããâ¦
ååã®ã¨ã³ããªã§UNIX v6 file system hack toolãä½ãå§ãããã¨ãæ¸ãã¾ãããHTML5+JacaScriptçããããªãã«å½¢ã«ãªã£ã¦ããã®ã§ãåç»ã§ç´¹ä»ãã¦ã¿ã¾ããããããããã°ã覧ãã ãããèå¿ã®hack toolã¯ãã¡ãããã¢ã¯ã»ã¹ã§ãã¾ããhttp://gachapin.jp/â¦
ã¯ããã« UNIX v6 code readingããã¡ã¤ã«ã·ã¹ãã ã«çªå ¥ãã¾ãããã³ã¼ãèªã¿è§£ãã¦ãã ãããç©è¶³ããªããªã¼ãããã ãUNIX v6 ãã¡ã¤ã«ã·ã¹ãã ãããã¯ãã¦ãã¾ããï¼ã¨æã£ãã®ãä»åã®å§ã¾ãã§ãã ãã®åã« UNIX v6ãã¡ã¤ã«ã·ã¹ãã èªã¿è¾¼ã¿ã«é¢ãã¦â¦
ã¯ããã« å æ ãªãã¨ã«ãæ¨æ¥ã®ã¨ã³ããªã«å¯¾ããçµå浩ããããã³ã¡ã³ããé ãã¾ããã window.twttr = (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], t = window.twttr || {}; if (d.getElementById(id)) return t; js = d.createEleâ¦
ã¯ããã« ä¹ ã ã«C++æ¸ããããªã¼ãã¨ããç©çç¾è±¡ãå¯è¦åããããªã¼ãã¨ããHTML5å¼ã£ã¦ã¿ãããªã¼ãã¨ãæã£ã¦ãã¾ããããããªæãæ°å¦ã¬ã¼ã«ãèªãã§ãã¦ããµã¨ç®ã«ä»ããããã©ã¦ã³éåãã®æåããããªããã§ããã©ã¦ã³éåã®å¯è¦åããé¡æã«ãã¦ãC+â¦
ã¯ããã« ååã®ã¨ã³ããªã®ç¶ãã§ãä»åãUNIX v6ã®ãã¡ã¤ã«ã·ã¹ãã ãè¦ã¦ããã¾ããååã¯ãããã¯ããã¤ã¹ãä¸å¿ã«è¦ã¦ããã¾ãããä»åã¯ã³ã¢ã¡ã¢ãªãä¸å¿ã«è¦ã¦ããã¾ãã ã³ã¢ã¡ã¢ãªä¸ã®ãã¡ã¤ã«é¢ä¿ã®ãã¼ã¿æ§é inodeæ§é ä½ ã¢ã¯ãã£ããªãã¡ã¤ã«ã®iâ¦
ã¯ããã« ä»åããUNIX v6ã®ãã¡ã¤ã«ã·ã¹ãã ãè¦ã¦ããã¾ãããããªãLionsæ¬18ç« ãèªã¿è§£ãã¦ããã®ã¯é£ããã¨æããã®ã§ãã¾ãã¯ãã¡ã¤ã«ã·ã¹ãã ã®æ¦è¦ãã¾ã¨ãã¦ã¿ã¾ãããä»åã¯ãããã¯ããã¤ã¹ä¸ã§ã®å¦çãä¸å¿ã«ã¾ã¨ãã¦ããã¾ãã次åã¯ã³ã¢ã¡ã¢ãªâ¦
introduction i translated CRC32 calculation logic from C into pytohn, as you saw at the last entry.and i made a bot replies CRC32 using it with GAE datastore. i'll introduce it. sample @crc32hogeyou get a CRC32 reply if you tweet to it. jaâ¦
introduction this entry follows http://d.hatena.ne.jp/takahirox/20110628/1309267617 the blog of the host. you can get handout. http://d.hatena.ne.jp/n7shi/20110529 atnd http://atnd.org/events/14792 what i did i implemented CRC 32 calculatiâ¦
ã¯ããã« Lionsæ¬èªæ¸ä¼#8ã§ããã»ã¹åãæ¿ãã«ã¤ãã¦ããããããããæ¹ãããã¨ãã話ãåºã¾ãããããã§è§£èª¬åç»ãä½ã£ã¦ã¿ã¾ããã®ã§å ¬éãã¾ããã¢ãã¬ã¹å¨ãã®è§£èª¬åç»ããããã¦ã覧ããã ããã¨ç解ãããããã¨æãã¾ãã http://d.hatena.ne.jp/taâ¦
introduction i attended PE workshop#4. i implemented a something compiler but i couldn't finish it there.after coming home, i finished it and confirmed it works. so i'll introduce it.links the blog of the host. handout, togetter and so on.â¦
introduction this entry follows http://d.hatena.ne.jp/takahirox/20110605/1307259596 the blog of the host. you can get handout. http://d.hatena.ne.jp/n7shi/20110529 atnd http://atnd.org/events/14792 what i did i made a zip archive tool withâ¦
ã¯ããã« ååã®ã¨ã³ããªã§ãããã¡ã®ç¶æ é·ç§»å³ãæãã¾ãããããã«é¢é£ãã¦ããããã¯ãããã¡ã¯ãã£ã¹ã¯ãã£ãã·ã¥ã¨ãã¦å¹çåãå³ããã¦ããã¨ãããã¨ãã¾ã¨ãã¾ãã ãã£ã¹ã¯ãã£ãã·ã¥ã®å¹çãé«ããã«ã¯ B_DONEãã©ã°ãç«ã£ã¦ããã¨ãããã®ãããâ¦