ãã®ããã°ã©ã ã®ã¢ã€ãã¢ã¯æ¬åœã«æ°ã«å ¥ããŸããã ãã ããCïŒã§èšè¿°ãããŠããŸãã ãããŠãLinuxã§äœ¿çšããããšæããŸãã ãããã£ãŠãèè ã®èš±å¯ãåŸãŠãLinuxçšã®åæ§ã®ããã°ã©ã ãäœæããããšã«å€§ããªåã³ãæããŸããã çµæã¯ãã³ã³ãœãŒã«ã®BitTorrentã¯ã©ã€ã¢ã³ãQLiveBittorrentã§ãã
ä»çµã¿
æ ç»ãããŠã³ããŒãããäŸã䜿çšããŠãQLiveBittorrentã®äœæ¥ã«ã€ããŠèª¬æããŸãã ããšãã°ãæšæ©ãç§ã®å人ãç§ãã¡ã®åŠæ ¡ã§ããã ã®ãããªãã¢ããããŒãããŸããããããããŠã³ããŒãããŠããã®å¿ããããªãå æ¯ãããäžåºŠæ¥œãã¿ããã§ããç§ã¯æ ç»ãããŠã³ããŒããå§ããŠããŸãã ããŠã³ãããããã©ã«ããæå®ããŸãã ãããŠãç§ã¯ãããéãããšããŸãã ãã£ã«ã ã¯ãé床ã«å¿ããŠ1ã2åã§éããŸãã ç§ã¯èŠå§ããŠããŸã-ååãªé床ãããã°ãéåžžé ãã¯ãããŸããã 次ã«ããã£ã«ã ãäžå€®ã«å·»ãæ»ããŸãã ãã¬ãŒããçŽ30ç§éèŠãŠãçãäžããèŠç¶ããŸãã
次ã®ããšãèµ·ãããŸãã æåã«ããã¬ãŒã€ãŒã§æ ç»ãéããšãã«ãããã°ã©ã ã¯æ ç»ã®æåã®æ°ãããã¯ãšæåŸã®ãããã¯ãããŠã³ããŒãããŠããã®é·ãã«é¢ããæ å ±ãååŸããŸãã ãã®åŸã圌女ã¯æåããæ ç»ãããŠã³ããŒããç¶ããŸãã ããããéäžã§æ ç»ãå·»ãæ»ããæç¹ã§ãããã°ã©ã ã¯ãã¬ãŒã€ãŒãèŠæ±ãããããã¯ãæ£ç¢ºã«ããŠã³ããŒããå§ããŸãã
ã ãŒããŒã®ããŠã³ããŒãã«å ããŠããã®ããã°ã©ã ã䜿çšããŠãã¢ãŒã«ã€ããisoã€ã¡ãŒãžãæäœããèšå€§ãªæ°ã®åçãå«ããã©ã«ããŒã衚瀺ã§ããŸãã ã¢ãŒã«ã€ãã®ããŠã³ããŒããéå§ããããšã¯éåžžã«äŸ¿å©ã§ããããŠã³ããŒããåŸ ã€ããšãªããæåããã¢ãŒã«ã€ããéããå¿ èŠãªãã¡ã€ã«ãããã«æå®ããŠããŠã³ããŒãããŸãã
ã©ããã£ãŠå§ãŸã£ãã®
LiveDCãLinuxã«ç§»æ€ãããããèªåã§æžãæ¹ãç°¡åã ãšæ°ã¥ããåŸãããã«éçºãå§ããŸãããæåã¯ããæ°ã«å ¥ãã®bittorrentã¯ã©ã€ã¢ã³ãã«æ©èœãçµã¿èŸŒãããšãèããŸããã ãããããœãŒã¹ã衚瀺ããåŸããã®æ¬²æ±ã¯æ¶ããŸããã äœçŸäžãã®ãã¡ã€ã«ããã©ãã§ãããŸããŸãªã·ã¹ãã ã§å®çŸ©ãããŠããããã¹ãŠãã·ãŒãã®åœ¢ã§ãããäœãæ確ã§ã¯ãããŸããã ããããqbittorrentã«æéãåããŠãç§ã¯åãããŒã«ããããéžæããŸããã
qliveãã¡ã€ã«ã·ã¹ãã ãã©ã€ããŒã¯1æ¥ã§äœæãããŸããã
å¥ã®æ¥-ã¹ã±ãžã¥ãŒã«ãšããŠã³ããŒãæ¥æµã
次ã®ããã«ãªããŸããã
ããã§ãéçºã¯æ··ä¹±ã«é¥ããŸããã ããã°ã©ã ã¯æ©èœããå¿ èŠãªããŒã¹ãããŠã³ããŒãããŸããããSIGSEGVãå®æçã«åãåããŸããïŒãšã©ãŒãããã°ã©ã ãééã£ãã¢ãã¬ã¹ã«ãªããŸãããïŒã åæã«ãç§ã¯qbittorrentãšutorrentã®æ©èœãæ²ããã«èŠãŸããã ãéçºã®æ°ãæéã¯ååãªç±æãæãŠãªãã ãããšåŸã ã«æ°ä»ããŸãã...
第äºã®é¢š
GUIã§åŸç¹ã決ãããšãã2çªç®ã®é¢šãéããŸããã 誰ããããå¿ èŠãšããŸããïŒ ããŸãã«ãå€ãã®ç¥çµã圌ã®ãµããŒãã«è¡ããŸãïŒ ããã§ãã³ã³ãœãŒã«ã®bittorrentã¯ã©ã€ã¢ã³ããç»å ŽããŸããã ãããŠãé¢çœãã¢ã€ãã¢ãæãã€ããŠã座ã£ãŠãããã¬ã³ããã¹ã€ã³ã°ãããã¬ã³ãããåé¢ããŸããããã®çµæãããã°ã©ã ã¯ããŠã³ããŒãéšåã«åå²ãããããŠã³ããŒãéšåãããŠã³ããŒãäžè¶³ã®ãã¡ã€ã«ãããŠã³ãããããŠã³ããŒãé床ãå¶éããéåžžã®ãã¬ã³ãã¯ã©ã€ã¢ã³ããšãããŠã³ããŒãããããã®ãé åžããã¢ããããŒãé床ãå¶éãã座ã£ãéšåïŒã·ãŒããããŒãžã£ãŒïŒã«ãªããŸããã
èå³æ·±ãéçºãã€ã³ã
- ãã¬ã³ãã®ããŠã³ããŒãããã¹ããããšãã«ãããŠã³ããŒãé床ãã«ãŒã¿ãŒã®æ倧é床ã§ãã802.11Gã2MB / sãè¶
ããããšã«é©ããããšããããŸãã ããã¯40-50 MB / sã«éããŸããããããã¯ååçã«äžå¯èœã§ããïŒ ç§ã¯ãã¹ãŠããã£ãã·ã¥ã«ãã³ãããããšããŸããã ããããã³ã³ãã¥ãŒã¿ãŒäžã§2ã€ã®ã¯ã©ã€ã¢ã³ããå®è¡ãããŠãããããŒããã£ã¹ã¯ã®èªã¿åãé床ã§äºãã«æ
å ±ã亀æããŠããããšãããããŸããã 1ã€ã¯èªã¿åãããã1ã€ã¯æžã蟌ã¿ã§ãã ãã®åŸãããããã¹ãã«äœ¿çšããŸããã
- ã¯ã©ã€ã¢ã³ããã³ã³ãœãŒã«ã§ãããšããäºå®ã«ãããå®äºä¿¡å·ãåŠçããå¿
èŠããããŸããã SIGTERMã·ã°ãã«åŠçïŒããã»ã¹ã®å®äºãèŠæ±ããã·ã°ãã«ïŒãè¿œå ããŸããã ãããã°äžã«SIGTERMã®ãhandsããéä¿¡ãããšãæ£åžžã«ã€ã³ã¿ãŒã»ããããã³åŠçãããŸããã ãã ããå®éã«ã¯ãã¿ãŒããã«ã§ctrl-cãæŒããšãä¿¡å·ã¯åŠçãããŸããã§ããã 端æ«ã¯SIGTERMãéä¿¡ãããSIGINTïŒç«¯æ«ãããŠãŒã¶ãŒãããã»ã¹ãåæ¢ããä¿¡å·ïŒãéä¿¡ããããšãå€æããŸããã ã³ã£ããããŸããã ctrl-cãæŒããšãä¿¡å·ã¯ãããã»ã¹ãåæ¢ãããã®ã§ã¯ãªããããŠãŒã¶ãŒãããã»ã¹ãåæ¢ããããããšãããããŸãã ããããããããã®ããã»ã¹ã®éãã®æ·±ãæå³ãæãä»ãããšãã§ããŸãããããã¯éåžžã«äºæ³å€ã§å¥åŠã§ããã
- ã¯ã©ã€ã¢ã³ãã¯ã³ã³ãœãŒã«ã§ãããšããäºå®ã«ãããããããç§ã¯ããçš®ã®GUIãæ®ãããã£ãã®ã§ãã ããããçµå±ã®ãšãããã¢ããªã±ãŒã·ã§ã³ãã³ã³ãœãŒã«ã®å Žåããã¢ã³ã³ãœãŒã«ïŒTTYïŒã§å®è¡ãããã®ã§ãããããã¯GUIã§ã¯äžå¯èœã§ã...ãŸãã¯å¯èœã§ããïŒ ãããè¡ãã«ã¯ãLinuxã§ã®ã°ã©ãã£ãã¯ã¹ã®åäœãç解ããå¿
èŠããããŸãã
ãããŠãããã¯æ¬¡ã®ãããªåããããŸãïŒXãµãŒããŒããããã¯ã©ã€ã¢ã³ãããããŸãã ããæç¹ã§ãã¯ã©ã€ã¢ã³ããæ¥ç¶ããŸãã åé¡ã¯ãããããã€èµ·ãããã§ãã å®éšçã«ïŒgazeã¡ãœããã䜿çšïŒã QApplicationã®äœææã«æ¥ç¶ãçºçããããšãããããŸãã ã ãããã£ãŠãã°ã©ãã£ãã¯ãå¿ èŠãªå Žåã¯QApplicationãäœæããããã§ãªãå Žåã¯QCoreApplicationãäœæããŸãã ãããã£ãŠããã®ããã°ã©ã ã¯ããã¢ã³ã³ãœãŒã«ãšã°ã©ãã£ã«ã«ããã€ã³ã¿ãŒãã§ã€ã¹ã®äž¡æ¹ã§å®è¡ã§ããŸãã
- Qtãšlibtorrentãæ··åšãããããšã¯ãŸã£ããã®å°çã§ãã çµå±ãç§ã®ç¥çµã¯ããã«èãããããç§ã¯ãã¹ãŠãQtã«å€æããããšè©Šã¿å§ããŸããã æ®å¿µãªãããlibtorrentã¯stdã䜿çšããŠããããããã¹ãŠã®ã³ãŒãã¯QString :: fromStdStringïŒstringïŒããã³QString.toStdStringïŒïŒãããã«ãã¯ãã«charãQVector charãQByteArrayå€æãªã©ã§ãã³ã°ã¢ããããŸãã
- éçºäžã«ãç§ã¯äžå¿«ãªåé¡ã«ééããŸããã ããæç¹ã§ãé
ããã¡ãããããã°ã©ã ã«æ¥ç¶ããããã£ãããšå¿
èŠãªéšåãæäŸãå§ããŸãã ããã«ãå¹³åããŠã³ããŒãé床ã¯è¯å¥œã§ããããããã«ããé
延ã¯èš±å®¹ã§ããŸããã ç§ã¯ãããšæŠãããšããŸããã åé¡ã¯ãããã°ã©ã ãæåã®2åéã§ãã¡ãŒã¹ããã£ãŒã¹ããæ€çŽ¢ããæ倧æ°ã5ãã£ãŒã¹ãã«å¶éãããšããäºå®ã«ãããããçšåºŠè§£æ±ºãããŸããã ããã«ãããã»ãšãã©ã®é
ããã¡ãããçž«ãããšãã§ããŸãã
- åå0æ以éã«æå»ãæžç®ããŠãåé¡ããªãããšã確èªããããã«ãããã°ã©ã ã¯é¢æ°midnightïŒïŒãå®è£
ããŸãã æ·±å€0æãã5ç§ä»¥å
ã«ãããã°ã©ã ã¯ãœãŒã»ãŒãž-ç»é¢äžã®æ
å ±ãæŽæ°ãããšããã¹ãŠã®ã¿ã€ã ã«ãŠã³ã¿ãŒããªã»ãããããŠãŒã¶ãŒã®èŠæ±ãç¡èŠããŸãã ãã®ãããªçããæŸèæã çå€äžã®3ååã«æžããŸããã
æ©èœãªã¹ã
- ãã¬ã³ããå
¬éãããã°ããã®å Žåããµã€ãã®æ°ãšãªãŒãã£ãŒã®æ°ã®æ¯çãå°ããããŸãã ããã«ã¯ããã®ãããªãã¬ã³ãã劥åœãªæéå
ã«ããŠã³ããŒãããããšãã»ãŒå®å
šã«äžå¯èœã§ãã ãã®ãããQLiveBittorrentã¯éåžžã®ãã¬ã³ãã¯ã©ã€ã¢ã³ãã«ãå€ãããæ©èœãè¿œå ããŸããã ãããè¡ãã«ã¯ããaãããŒïŒè±èªïŒãæŒããŸãã
- ããŠã³ãããããã¡ã€ã«ãèªã¿åããšããå¿
èŠãªéšåãããŠã³ããŒãããããŸã§ããã°ã©ã ã¯æ··ä¹±ã«é¥ããŸãã ãããã圌ãã¯ãããèµ·ãããšããåžžã«ããããåºãŠããŸãã ããã¯ããã°ã©ã ã®æ©èœã§ãã
- ä¿¡é Œã§ããæ
å ±æºã¯ã600KB / sãã£ã³ãã«ã§ãå€éšãªãŒãã£ãªãã©ãã¯ãšåå¹ä»ãã®éã1.45Gã®æ ç»ãé
ããªãåçããããšäž»åŒµããŠããŸãã
- ããŒããŒãã§ctrl-cãæŒãïŒãŸãã¯SIGTERMãéä¿¡ããïŒãšãããã°ã©ã ã¯çµäºãå§ããŸã-ããŒã¿ãããŒããã©ã€ãã«ãã³ããããã©ãã«ãŒã«æ
å ±ãéä¿¡ããŸãã ããŒã¿ããªã»ããããåŸãctrl-cãæŒããšãæ
å ±ã¯ãã©ãã«ãŒã«éä¿¡ãããŸããã ããã¯ãå®äºã§ããªãããã°ã©ã ã«éåžžã«æã£ãŠããããã§ãã
ãœãŒã¹
- Erty_Hackward-ãªãªãžãã«ã®ã¢ã€ãã¢
- ximaera-ã³ãã³ãã©ã€ã³ãããã©ã¡ãŒã¿ãŒã解æããæ¹æ³ã«ã€ããŠèª¬æããŸããã
- ããŒã¹ãã«é¢ããèšäº:: program_options
- Libtorrent apiã¯åªããã©ã€ãã©ãªã§ããã1ããŒãžã®ããã¥ã¡ã³ãã®ææ ã¯èšèã§è¡šããŸãã ã
- github.com/qbittorrent/qBittorrent-ç§ã¯ãœãŒã¹ãèªã¿ãŸããããäœãç解ããŠããŸããã§ããã
ããŠã³ããŒããã
ãœãŒã¹ã³ãŒãArchLinuxïŒAURïŒ
linux-x86-64
å¿ èŠãªã©ã€ãã©ãªã¯ã boostãQtãlibtorrent-rasterbarã§ãã
èšå®ã¯ã/ .qlivebittorrentã«ä¿åãããŸã
UPD 00:30
ããã«2ã€ã®æ©èœã説æããã®ãå¿ããŸããã
- ãã¬ã³ããããŠã³ããŒããããšãèªåçã«ã·ãŒããªã¹ãã«è¿œå ãããŸãã seed-managerããã§ã«å®è¡ãããŠããå Žåã10å以å ã«ãªã¹ãã«è¿œå ãããŸãã
- ãã¬ã³ããåé€ãããŠããå Žåã¯ãæåã®èŠæ±ã§ã·ãŒããªã¹ãããåé€ãããŸãã
UPD 18:00
DAP-DarkneSS㯠OpenSUSEã®ããŒãžã§ã³ãå ¬éããŸãã ã ããããšã
OpenSUSEã®ããŒãžã§ã³
UPD 23:15
ã¢ããããŒããããããŒãžã§ã³ã§ã¯ãGUIã¯æ©èœããŸããã§ããã ç§ã¯ééããäœã§ãããç解ã§ããŸããã§ããããå¿ èŠãªæŸèæãèŠã€ãããŸããã
ãã¡ã€ã«ããªããŒããããŸããã
UPD +æ
DAP-DarkneSS㯠ãDebianãUbuntuãããã³Fedoraã®ããŒãžã§ã³ãå ¬éããŠããŸãã ããããšã
Debianããã³Ubuntu
ãã§ãã©