C++博客-首页原创精华区 http://www.598club.com/????3?o?C++??????zh-cnThu, 16 Jan 2020 22:28:34 GMTThu, 16 Jan 2020 22:28:34 GMT60C++博客-首页原创精华区 http://www.598club.com/eryar/archive/2020/01/14/pyside.htmleryar???

????o??????????o??o?OpenCASCADE?-???????a???????o?????o??o??????????????????a?????????3???|??????????o??????????o???????????????????????o|??????????????????????????????????????????????-|???????o?????????????????????????????1????????????????o|???????????

 

 ???|??????????????PySide???????????????o???????

 

??????????|?????????3?a?????????????????'????????Qt?????1??????????????o???????a??????1????????1??????????????PySide???|????????????????????????1?o?????|?libclang???Python, CMake?-???????o????????????Qt???????????????-??????????

 

????????????????????????????????????????a??1?????????????-????|????????o???

@echo off
set path=%path%;D:\Qt\perl-5.20.3.3\perl\bin;D:\Python\Python37;D:\Python\Python37\Scripts;D:\Qt\Qt5.14.0\bin;
set LLVM_INSTALL_DIR=D:\Qt\libclang
python setup.py install --qmake=D:\Qt\Qt5.14.0\bin\qmake.exe --cmake=D:\Qt\cmake-3.8.0-win32-x86\bin\cmake.exe

?????Visual Studio?????????????????????????pyside-setup???????1??-?????????1?????????????o???????????????|????1????'?????????????????????a?????????Python???site-packages???????????????????-????????1???????????-????????????o????????????a?????'???????????????o????

 

?????Python????????????????????1?o??????o????????o?????????????????????????????GUI?????????????????????????1???????Tcl/Tk?????3OpenCASCADE???Draw Test Harness??????????????-?????a????1????????????????????????????????????1??????1?????????????????????Tcl????????????????1?????????????Python?????????????1?????|??????????????1????跨?13?????????a??????Qt???PySide????????1?????|????????????Qt???????o???????????????o??????2???????

 


??o?o???1?????????????????1?????????????????????????o?o?????????2?3????????????????????????????????????????1?o???'?????3?3???
Shing Liu(eryar@163.com)


eryar 2020-01-14 20:48 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/zdhsoft/archive/2020/01/11/smartgit.html?????????????????????????deepin??????????????????????o????

江苏快三开奖结果????????deepin????????????????????????????????smartgit,????????

江苏快三开奖结果???????????????30????????????????????????o????????????????????????????9.1.4?????????

???????????????'????????? ~/.config/smartgit???????????

???????????~/.config/smartgit/smartgit.vmoptions

江苏快三开奖结果???????????? ?????????-javaagent:/home/zdhsoft-linux/.config/smartgit/crackSmartGit.jar=19.1.4

?????????????smartgit??????????->??????->?3????o??? ?????????a????????????licenes.txt??????, ???????3??????

江苏快三开奖结果?????licenes?????

?????????????????????o????????????????????-???????smartgit!



?????? 2020-01-11 10:45 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/jpweiyi/archive/2019/12/08/217018.htmlLSHLSHSat, 07 Dec 2019 16:59:00 GMThttp://www.598club.com/jpweiyi/archive/2019/12/08/217018.htmlhttp://www.598club.com/jpweiyi/comments/217018.htmlhttp://www.598club.com/jpweiyi/archive/2019/12/08/217018.html#Feedback0http://www.598club.com/jpweiyi/comments/commentRss/217018.htmlhttp://www.598club.com/jpweiyi/services/trackbacks/217018.html

----------------------------------
??????????o????o?????o???!
----------------------------------




LSH 2019-12-08 00:59 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/jpweiyi/archive/2019/12/07/217016.htmlLSHLSHSat, 07 Dec 2019 07:21:00 GMThttp://www.598club.com/jpweiyi/archive/2019/12/07/217016.htmlhttp://www.598club.com/jpweiyi/comments/217016.htmlhttp://www.598club.com/jpweiyi/archive/2019/12/07/217016.html#Feedback0http://www.598club.com/jpweiyi/comments/commentRss/217016.htmlhttp://www.598club.com/jpweiyi/services/trackbacks/217016.html function CreateFPSCounter() { var mFrame; var mTo; var mFPS; var mLastTime; var mDeltaTime; var iReset = function (time) { time = time || 0; mFrame = 0; mTo = time; mFPS = 60.0; mLastTime = time; mDeltaTime = 0; } var iCount = function (time) { mFrame++; mDeltaTime = time - mLastTime; mLastTime = time; if ((time - mTo) > 500.0) { mFPS = 1000.0 * mFrame / (time - mTo); mFrame = 0; mTo = time; return true; } return false; } var iGetFPS = function () { return mFPS; } var iGetDeltaTime = function () { return mDeltaTime; } return { Reset: iReset, Count: iCount, GetFPS: iGetFPS, GetDeltaTime: iGetDeltaTime }; } function RequestFullScreen(ele) { if (ele == null) ele = document.documentElement; if (ele.requestFullscreen) ele.requestFullscreen(); else if (ele.msRequestFullscreen) ele.msRequestFullscreen(); else if (ele.mozRequestFullScreen) ele.mozRequestFullScreen(); else if (ele.webkitRequestFullscreen) ele.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT); } function Init() { if (window.init_flag === undefined) { console.log("init_flag"); var iMouse = window.iMouse = { x: 0, y: 0, z: 0, w: 0 }; var cv = document.getElementById("displayPort"); var fpsConter = CreateFPSCounter(); var context = cv.getContext('2d'); var W = cv.clientWidth; H = cv.clientHeight; var imageData = context.getImageData(0, 0, W, H); var pixels = imageData.data; for (var i = 0; i < W * H; ++i) pixels[4 * i + 3] = 255; function MainLoop(deltaTime) { var tracer = window.rayTracer; if (tracer == null) return; if (iMouse.z > 0.) tracer.ResetFrames(); var frames = tracer.CountFrames(); var i = 0, color; for (var y = 0; y < H; ++y) { for (var x = 0; x < W; ++x, ++i) { color = tracer.Render(x, y, W, H); pixels[i++] = (color.r * 255) | 0; pixels[i++] = (color.g * 255) | 0; pixels[i++] = (color.b * 255) | 0; } } context.putImageData(imageData, 0, 0); // console.log(deltaTime, fpsConter.GetFPS()) } function elementPos(element) { var x = 0, y = 0; while (element.offsetParent) { x += element.offsetLeft; y += element.offsetTop; element = element.offsetParent; } return { x: x, y: y }; } function getMouseCoords(ev, canvasElement) { var pos = elementPos(canvasElement); var mcx = (ev.pageX - pos.x) * canvasElement.width / canvasElement.offsetWidth; var mcy = (ev.pageY - pos.y) * canvasElement.height / canvasElement.offsetHeight; return { x: mcx, y: mcy }; } cv.onmousemove = function (ev) { var mouse = getMouseCoords(ev, cv); iMouse.x = mouse.x; iMouse.y = mouse.y; } cv.onmousedown = function (ev) { if (ev.button === 0) iMouse.z = 1; else if (ev.button === 2) { iMouse.w = 1; RequestFullScreen(cv); } } document.onmouseup = function (ev) { if (ev.button === 0) iMouse.z = 0; else if (ev.button === 2) iMouse.w = 0; } ; (function (loopFunc) { var fisrt = true; function L(timestamp) { if (fisrt) { fisrt = false, fpsConter.Reset(timestamp) } else { fpsConter.Count(timestamp); } loopFunc(fpsConter.GetDeltaTime()); requestAnimationFrame(L) }; requestAnimationFrame(L); })(MainLoop); window.init_flag = true; } } function CreateTracer() { try { (new Function(document.getElementById("codeEditor").value))(); window.rayTracer = new window.pt(); window.iMouse.x = window.iMouse.y = 0; var cv = document.getElementById("displayPort"); var W = cv.clientWidth; H = cv.clientHeight; window.rayTracer.CreateBackBuffer(W, H); } catch(e) { alert(e) } } Init(); CreateTracer();
??????????a????????????????ademo
??????:?|????????+?????????
??????????:??3????????




LSH 2019-12-07 15:21 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/eryar/archive/2019/12/05/occt_animation.htmleryar

 

?1???Draw Test Harness??-???????????vanimation??????????????????????????????|????????o???

 

??1?????????????????江苏快三开奖结果OCCT??-??????????????????????????????????????????????????????????|???3?3??????Draw Test Harness??-????????vanimation???????o?????????????1?????????????????????????????oDraw Test Harness??-?????vanimation??????????????????

 

????????????????????????-????o????????????????????|????'???????|?????????????1????????????????o?????????????????????????????????????????????????????????-?????????-???????a????????????????????????-????????o?o??????????a???????????

l -freeLook???3???????????????-????????????????????????????????????1???????????????????????-??????????

l -lockLoop????|????o?o?????-????????????????????????a?????????????????-?????????o?o??????|??-???????????a????????????

??????a??????????????????????????????o?OpenSceneGraph??-???????????????????????????????????o????????????????3????????????????-??????????1?????????o?o??????????

 

???????????????????????????o?????????????????????????-?????????????1?????????o?o???????????|????????????????-??????1?o??????????????????????????????????Draw Test Harness??-?????vanimation??????????????????????

 


??o?o???1?????????????????1?????????????????????????o?o?????????2?3????????????????????????????????????????1?o???'?????3?3???
Shing Liu(eryar@163.com)


eryar 2019-12-05 17:37 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/eryar/archive/2019/11/24/rvmtranslator7_2.htmleryar

 


??o?o???1?????????????????1?????????????????????????o?o?????????2?3????????????????????????????????????????1?o???'?????3?3???
Shing Liu(eryar@163.com)


eryar 2019-11-24 13:39 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/eryar/archive/2019/11/21/leastsquare_line.htmleryareryarThu, 21 Nov 2019 05:17:00 GMThttp://www.598club.com/eryar/archive/2019/11/21/leastsquare_line.htmlhttp://www.598club.com/eryar/comments/216992.htmlhttp://www.598club.com/eryar/archive/2019/11/21/leastsquare_line.html#Feedback0http://www.598club.com/eryar/comments/commentRss/216992.htmlhttp://www.598club.com/eryar/services/trackbacks/216992.html??????o??1??3????????????'??'?o?

eryar@163.com

 

????????-????-|???????1|??-?????o?o???????o??1??3?????????'?o????????????????????????????a????-???????????o???'??'?o????f(t)=at+b??????1??????'??'?o?????1????????????o??1??3????????????????????????????????????????-????-|????1|??-???????-???????o????????????????13??1??????-???????????????-??????????????????????????a, b??????

 

M??????????????????a?????????????1???????????????????1????????????13??1?????o???????????????????????????a, b?????1?3?????????????o??1??3????Least Square???????????oM????13??1????????????M???????????????????-??o???????????????????????3???

 

??1???????a?????????????????????????????????????o??1??????????o???????????????o???'??'?o???1??f(t)=at+b????o????????????????o???'??'?o??????????????o?????????o??1??????????1?o??????'??'?o?????|???????????????????1????????????a?13??????o?o?????????????

 

???????????o????????????????????8??a??????????????a???????3????????????????'?o?????????????????1?????'?o??????1??????1???????o??'?o???????????1?????

 

??????|????????????1???N??a??????1Pi?????????????1?????P???D??????????????????1????'?o??????|?????13??1?????????????1?o??????'??1???????'??'?o??????|?????????????????????????1?3????????????????????????????1?????'?o????????????

 

?????V??oP????????1Pi????????????????D??o??'?o??????1????????????????????????????V???D??1?1??????V???D???????????o|?????3?????-?o??2????o??????????o|l????????????1????'?o??????|?????13??1????????V?????????13??1??????????????o|l????13??1???????????????????1????'?o??????|??13??1?????1?????

 

?????“??????o??1??3??????'(k??')??'?o???????”???????????????o??1??3????????????'?o?????????????????1?????-?????1?????3??????????????'?o????????1????-???P?????????????o??1???1????????a?????1????????????????a????????????????????math_MultipleVarFunctionWithGradient?????o?????????????o??1???1?????

 

?????-???????????myPoint?????'?o??????-?????1???myPoints??????????????????1?????????o??1???1????o????????'?o????????1????-?????1???????????dx, dy, dz???????????a???????1??????????math_BFGS?1?????????o?????????????????????1????a??????o??1???1??????????????????????o?????a?????????????

 

????????????????????????'??'?o??????????o??1???1????-??1????'?o??????|???o??1????'?o?????????'??|???????1|??-?o???'??'?o?????????a???????ay????1??'???????????

 

??? ??1????'?o??????|? ???????a??????

 

江苏快三开奖结果???????????????1?????????o?????'??'?o??????????????????a???o?????????????????????????????????????????-?a?????????o???????????1??????????????????3????????????????1??1????????????

 


??o?o???1?????????????????1?????????????????????????o?o?????????2?3????????????????????????????????????????1?o???'?????3?3???
Shing Liu(eryar@163.com)


eryar 2019-11-21 13:17 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/qinqing1984/archive/2019/11/20/216988.html?????????o?????????????o????Wed, 20 Nov 2019 11:45:00 GMThttp://www.598club.com/qinqing1984/archive/2019/11/20/216988.htmlhttp://www.598club.com/qinqing1984/comments/216988.htmlhttp://www.598club.com/qinqing1984/archive/2019/11/20/216988.html#Feedback0http://www.598club.com/qinqing1984/comments/commentRss/216988.htmlhttp://www.598club.com/qinqing1984/services/trackbacks/216988.html????
   nginx???????????????????????????o?Web????????????????????????????????windows???linux???????3????????????o??windows?3??????????????????SCM??????????????????????????????????a??????????????1??????????????????1??????????????????????1?????????3?????????????????????????1???o?????????????1?3???????1???o??????????nginx??????????????o?SCM?????1????o????2????

??1??1
   ???????????o?nginx?o?????????????SCM????1??????1?????????????1???????????????????????????o??????????????????-?

?????

   ?????????????????
      ???????????main???????'?????ongx_main????1??????????3??a?????is_scm??????????????1????????0??o????????1??????0??o?????????1????????????|????
                                    
      ???????o??2??????o????????????????????????????onginx???????????????????o?????????????????????????????log??????????????-??????????o???????????log???????????

   ??????????????
      ????a?????????1????????o???????main??????????????????SCM???????????SCM??????????3?????????????????????????????????o|???o??????????|????
                                       
      ?|???????????????????nginx ?1?????master??????????????????????????nginx?o???worker????????????????????????????1?????????????1??????main??????????is_scm??o0???ngx_main??????ngx_main??????????????omaster???worker????????o?o?   

   ??????????????
      ??SCM??????????????a?????o???????????????|????
                                         
      ????????????o??????????o?nginx???master???????????????????2??????SCM??1????????o?????????????is_scm??o1???ngx_main??????ngx_main????????????????master????????o?o?????o?????'????????????????o?2????-??????????????????????????????????????o?

   ??????????????
      ??ngx_main?????????????????????????????????????????|????
                                          
      ???o???nginx???????-????????????o????????????????'???????o???????-|?????3????o?????????o??????????????????????????????????????o?2????-??????????a|????????????o?o??????SCM????????????2????-???????????o?

   ??????????????????
      ??SCM???????o???????????????|????
                                         
   
   ?????3?3?
      ???????|?1??omaster?????????????????????????3?1??oworker???????????????????????????????????????ngx_main
            


?????????o???? 2019-11-20 19:45 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/qinqing1984/archive/2019/11/06/216970.html?????????o?????????????o????Wed, 06 Nov 2019 10:01:00 GMThttp://www.598club.com/qinqing1984/archive/2019/11/06/216970.htmlhttp://www.598club.com/qinqing1984/comments/216970.htmlhttp://www.598club.com/qinqing1984/archive/2019/11/06/216970.html#Feedback0http://www.598club.com/qinqing1984/comments/commentRss/216970.htmlhttp://www.598club.com/qinqing1984/services/trackbacks/216970.html???2???
   
   ?????????vss??????????????o???????o??????2???o?????????????????????-????????o??????????????CPU???IO?????1????????'??????????????????o?o????????1?o???????????????12????????????server-free?????????????????????'???????|?????o????3????????????????????????o?????????????a'?'?????????o???????????????????????????????????????????o?vss??????????????'??????1?????|???????????o????o??-?????-????????o?Windows Server 2003 sp1????????????

??????????????
   
   VSS?????????????????SetContext|???????????VSS_CTX_APP_BACKUP | VSS_VOLSNAP_ATTR_TRANSPORTABLE

?????????o???? 2019-11-06 18:01 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/qinqing1984/archive/2019/11/06/216969.html?????????o?????????????o????Wed, 06 Nov 2019 03:29:00 GMThttp://www.598club.com/qinqing1984/archive/2019/11/06/216969.htmlhttp://www.598club.com/qinqing1984/comments/216969.htmlhttp://www.598club.com/qinqing1984/archive/2019/11/06/216969.html#Feedback0http://www.598club.com/qinqing1984/comments/commentRss/216969.htmlhttp://www.598club.com/qinqing1984/services/trackbacks/216969.html1. ????????????????o??????????????????????????1?3????????????????????????????????????????????????????????????????o??????????o??o?????-???-??????????????????????????o????????????????3????????????????????o??????????????????????????o???????????????????(?????)???????????????????????????3??????????a???o??????????o?????1????????o?????????????????-????????????????????????????????????????????????????????????????3?????????????????????????????????-????????|?????????????????????|???????????-???????????????????????|???????????????????????????????3???????????3??o???????????????o???????????????1??????????????????????????????????????????????????????????o?

2. ?-???????????????????????????????????????????????3????????o??????o?
   ◆ ???????????????o?o????????o?????????????????????CoFW?3?????????o??????????????????io??????????????????????RoFW???
   ◆ ???????3???????????o?o?inode?????3??????????????????????????????io?????'???????????o?inode???????????????|??????????????o??3??1inode????????????????3????????|?NetApp?????????WAFL?????'????????a?????????1inode????????o?????????io??????????????????????????????inode?????????
   ◆ ?o??????o????????????????????????????o?????????????'?????????????????????o?o?????1???????????????page|????(?????1?o???????????o??????)??1????????'??????????????(????????????????)?????|????????????a????o?o??????????????o????????1????????????'?(?-?????????????????????????)??????????o?o???????????????????????'??

3. ????????????????????????o???????????????????????????????????o?o?????-???????????o????????1?????????????????o?o???????????????o???????????-?????1????????-?????'????????'??????3????undo,redo,undo/redo?????????????1?????????????????o???????????????????o?o?|???????????????????-???????1?????????????????????????????????????????????????????????o??????????????o???????????????????????vss??????????????'????????o????????????????3??????????????????????????

4. Oracle????????????????????????o??????????????????'?????????????????????????????????????????o???????????????????????o?????????????????????????????????1?Oracle??????????????????o????????????????????????????????-???????????????1???????????1?????????o???-?????a?????|??????o?????????????????????????|????????DBWn?????????????????1?????????????????????o?????????????????????????|????

5. Linux?????????swap????????-?????????????????-?(????|?page????-?)????a?????????????o????-?????????|???????????????o?o????????????IO????????????????????3???????????o???o?????????????-???3?1????swap?????????????1??????????????????1?3???????????????????????????????????????anon_vma??????????????????????1?o??????????????|?2??o?????????????1?3??2????swap????-???????????????????????????????????????????????swap????-???????????????3????????

6. Linux????-???????????????????LRU??????Oracle???buffer cache?1??????aLRU?????????LRU??????????1????????????(??????)??????'??????????????????????????????a??1??????|???????'???????????'????????o??????????|????????a??1??????1?o?Linux????a??1???????????????????'??????????3?o?swap tendency?????Oracle??????????????buffer??????TCH

7. Linux????????-?????????????????????3??o?Oracle??-????????????'???????????????????????1???????o?o????????????????????o?o?????????????????????????????????????????1??????????1??????o?????-???????????????????????o?o????????3???'?????????????????o???????????????????2??o????-?????????????1??????

8. mvcc???read uncommitted(????RU)???|??o????????3?3????????|??????????????3?o????????????o??????????????1?o?Oracle???RU???RC??????????????o?o?mvcc?????????????????'Oracle???????2?????????????1?o?MySQL innodb?????????mvcc????????o?RU????a?????o?RC/RR?o???????????oRC/RR???????????????1?2????o????????????????o?????1????????????????????????????????????o?????????????????RU?????????????a????o???????????????????mvcc??????????RU?o????1????????????a??|????????????????????????????????

9. ????????????page cache?????????o???????-?????????????????????o|????2???????2???'???????????????????????'?3????'?????????????????????????io????????????????????o?????????????????????????direct io???????self cache???????????????????????o???a'1????????????????????-??????????????????????????????????-?????????????????????????????o??3???????read???write????????????????????????o??????????????'?

10. SQL??????????????'??????????????????o????????1??????????????3????????????|???????a????????????????????????1???a??1??????????????????????o????????????????????????????????????????????in???exists???any?-?????????????????????????????????????????o???????o??????????????????????????????????o????????????????????????????????????????????-????'??????????1??1?????????????????????????????????????????????'??????????????????????-???????????o???SQL?????????????????????????????o??????????|????o????????????????????????????'????????o??o?????'???????????????

11. ???Oracle??????o?????????o|?2?????????????SQL?-??????????????????????o????????1??????????????-????????????????????o?linux???????????????|???windows?????????????????????????-??????????????????1?o?SQL?-????????????????-?(????????????????????????0????-????????????????chunk)????????kgl lock???pin??????????3???????????????????????????SQL????????????library cache hash chain??-???????????????'??????PGA????-????6???????-?????1?????????????????|??-????????????o??1?????o|???????o????????????-?????????????????????????????????????2?????????????????library cache??????????????PGA??-??????????????????????????????????????????????????????????????????library cache??-????????????|???????o?????o?2????-?????3???????????????1???????DDL??????????'???????????????????1????????????????chunk????????|???????????????????????????(??)??????????|?????????????????????o?

12. Oracle???????-????????2????????????o?Linux????????????????????????????-???????????????????????granule????????4M~16M???????????page?????4K????????????????2??????????????????'????3???????o???(???|????o?sql????-?)???chunk??????????slab????3???????o?????-??????????????????o?o?slab???????-???

13. Oracle??????o????????????????????o??????????????????'??????????????????a?????????????????'??????????????????????????????|????
   ◆ ??????????????????????-????????????????????????????????-??????????????o??????
   ◆ ??1???ITL??-???flag???lck?????1???????2????o????o??????????????????????3?????????????????????????????o?o??????3???2???????????oSCN????????ITL??????2??????????????o????????2???|????????????'????????????oSCN?????|??????????o???????????o????SCN????1?????-??1?o???????????o?????|?3???2???????????????????|????????o??????????'?????????????SCN????????ORA-01555
   ◆ ??1???ITL??-???uba???????????'??1????????a????o????o????????1??????o????o???????undo????
   ◆ ??1???ITL??-???SCN????????-????????'??1??o???????SCN????2????o?o?????????'?3????????????2????o?o????????????1?????o???undo???????????????????????????o??o??????????????????????o???????????????aundo?????????????????3????????a?2????o?o???????ITL?1??'??????????????????1?o?ITL?1

14. Oracle??????????????????o????????odml?????????????o?????'????-????????????????????????o??1???????????????????????????????????1?????????o??1???????1????????????????'??-????IO?????????????o??????'????|??????-??????????a?o??????1????????????????1?????'???????????????????????????o???????|??o???read committed???read uncommitted???????????????????????????o??????????????????????????????1???

15. Sql*plus???ARRAYSIZE??1???????????????????|????????????????a??????????????????????????|???????????a????????????????????????????|??-?????????????IO???????o??????1????????1??????????????ARRAYSIZE??????????????????????????????????????|??????????????????????o?????1??'???????????????????????????????????????????????????????????3????????-?????????????????????????????????'??????o?'????????????????????a?????

16. IOT??|??????o???????????????o?'??????????1??????o??o?'??????????????????????????????|????????????????????????????o??o?'?????????IOT??-?????????????o??????????IOT???o???1??????a??????????1???????????????????o????????IOT??-???????????????????????????????????????????????????'??????????????????rowid????????'????????????????????????????-IOT????????o?o??o?'????????1????????o????????

17. ?????1????????????????o|???????????????; ???????????a????????????????????????o|???????2?a??????2????????; ??o?o????????????????????????????????????o|????????'??a?o???????????????????????a???????o?o???????-????????2????????

18. ?????????3??????o???????'???????????1???
     ◆ ??1?o????????????2???????????????????????????o?o?select+update????1??????1?3?????????????-???????????????????????????'??????????????????????o?????????????????????a????'??3????????o?????????
     ◆ ??1?o??????????????2?????????????????????????select…for update nowait+update?????2?????1?3?????????????????????hash(????????)???????????'??

19. ?|?????????????o???????????a?????????1??????????????????????o?3?????2???????????a????????????????????????????o??????????????????????????????a?????????????????????????????????????????????????????????????????a????o?

20. Oracle????'??????????????a???????????????????a??????????????????'????????-????????????????-??????o?????????????join????????????????????????data buffer????-????????????????????????????????????????a?????3?????????????????????????|??????????o|??????????-??????????????????o?????????????-?????????????-??????1?o???????????????????????????????|???????-????oracle????????1??????o???mysql???innodb??a????'??????????????sql server???????????'??????????????????????????2?????'?????????

21. ??????????o???????????????????????Oracle???serializable??2?????|??o???????1???????????????????1?????o|???????2?????????????|??3??????????????2???1????????'?????a?o????????o?o???????????????????a????????????a?o?????'?2??????2?a???????????a????????a?o???????????????|???Oracle???serializable?o????????-????????oORA-08177?????o?

22. ??????read uncommitted?o???????|??o?????????-??????????????????o??????????????????????'?3????o??????????????????lock??????????????2??o?1??????????????????????????????????????latch???????????????????????????????????????????????????????|??o???????????????1?????a????o???????????????????3????????????????????????1???????????????????????????????3????o?????????????????????????

23. ???MySQL?????????Oracle?????????????'?????????????????????????-?????????????????????o????????????????????????????????????????????????????|????o????commit???rollback???????????????|?????-??????sql??????1?????'?????????????????????

24. ???|??????????????????????????3??????????????????????“?2???”??????????a????1?????2Oracle????????o????????o???????o?????2?????1??????|?read uncommitted???|??o??????Oracle??????????????????|??o??????read committed????????o????????o?o?undo??????????????????????????????????????1?????????????????????3?????oread uncommitted???????1???????????o????????????????????????1???????|?谨?????????????????????????

25. windows????-?????????linux????-????????????????o???????a???????????????????o?????-???osection?????????????????????????????????????o???????-????????-???o???????????????????-?????????'?'???????????????????????????????????????????????-??????????????3???????-???????????o?o?????-???????????'???o??????????????????????????1????????o??a????????????????????????????????????3???????????????1??????????


?????????o???? 2019-11-06 11:29 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/qinqing1984/archive/2019/11/05/216967.html?????????o?????????????o????Tue, 05 Nov 2019 10:17:00 GMThttp://www.598club.com/qinqing1984/archive/2019/11/05/216967.htmlhttp://www.598club.com/qinqing1984/comments/216967.htmlhttp://www.598club.com/qinqing1984/archive/2019/11/05/216967.html#Feedback0http://www.598club.com/qinqing1984/comments/commentRss/216967.htmlhttp://www.598club.com/qinqing1984/services/trackbacks/216967.html??????|??
   ???o?????o?sdk?????????????????????????????1?o??????????????????????windows?????o??????linux?????windows?????????????????so?o?????????????|????????????????????????|????????????????-???????o?ctlsolink???????????o??a????o?????aso???????????????????????so????????o/????????o/?o??o??|???????????????????????3??|????:
   ● ???1???????omk???rm?-?????????mk??o?????o???rm??o????
   ● ???2???????o???????????????
   
● ???3????????????????-r????????a?????-r????|???????????o?????????o?????-??????-???????

??????????
   ??????so?o???|???????????????olibx.so.1???libx.so.1.2???libx.so.1.2.3?????????????(x??o?o????)?????1?o??????????????o/????????o??|?????????3?????????????????????o/?????o??o??|????????????o?o??2???????????o????o????o??o?????????????????????awk?????1???????shell?????????????-??1????????????????-???????1????????-?????????????????|????   
 1    if [ "$dir" != "$self_dir" ] || [ "$name" != "$self_name" ]; then
 2        if echo $name | aw'{if($0~/\.so\.[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}$/) exit 0; else exit 1}'; then
 3            link_name=${name%.[0-9]*}
 4            link_name=${link_name%.[0-9]*}
 5            link_name=${link_name%.[0-9]*}
 6            link_name2=${name%.[0-9]*}
 7            link_name2=${link_name2%.[0-9]*}
 8        elif echo $name | awk '{if($0~/\.so\.[0-9]{1,}\.[0-9]{1,}$/) exit 0; else exit 1}'; then
 9            link_name=${name%.[0-9]*}
10            link_name=${link_name%.[0-9]*}
11            link_name2=${name%.[0-9]*}
12        elif echo $name | awk '{if($0~/\.so\.[0-9]{1,}$/) exit 0; else exit 1}'; then 
13            link_name=${name%.[0-9]*}
14        else
15            return
16        fi
17
18        if [ $do_mk = "yes" ]; then
19            #echo "name=$name, link_name=$link_name, link_name2=$link_name2"
20            if [ -"$link_name2" ]; then
21                ln -sf $name $link_name2
22                ln -sf $link_name2 $link_name
23            else
24                ln -sf $name $link_name
25            fi
26        else
27            if [ -n $link_name2 ]; then
28                rm -f $link_name2
29            fi
30            rm -f $link_name
31        fi
32    fi
   |??3???????????????????????????%%???????????1????????????????link_name????????o??????????????.[0-9]*?????????????????????1???o?so?????????????????|?libx.1.so.2?????libx?????????????????libx.1.so
   ?????'?????????????ctlsolink

??????????
   ???????????
   
   ????ctlsolink?????o??????????
   
   ????ctlsolink??????????????
          

?????????o???? 2019-11-05 18:17 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/eryar/archive/2019/10/08/planesphere.htmleryareryarTue, 08 Oct 2019 14:57:00 GMThttp://www.598club.com/eryar/archive/2019/10/08/planesphere.htmlhttp://www.598club.com/eryar/comments/216886.htmlhttp://www.598club.com/eryar/archive/2019/10/08/planesphere.html#Feedback0http://www.598club.com/eryar/comments/commentRss/216886.htmlhttp://www.598club.com/eryar/services/trackbacks/216886.html?????????

eryar 2019-10-08 22:57 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/eryar/archive/2019/10/07/intana_planeplane.htmleryareryarMon, 07 Oct 2019 11:38:00 GMThttp://www.598club.com/eryar/archive/2019/10/07/intana_planeplane.htmlhttp://www.598club.com/eryar/comments/216882.htmlhttp://www.598club.com/eryar/archive/2019/10/07/intana_planeplane.html#Feedback1http://www.598club.com/eryar/comments/commentRss/216882.htmlhttp://www.598club.com/eryar/services/trackbacks/216882.htmlOpenCASCADE ?13?????o

eryar@163.com

 

OpenCASCADE???????o???IntAna_QuadQuadGeo??????????????a?o??????2??quadric????????????????????????????????13??????13??????o??????2???????1???????1??'????o?o???????????1??'????????????????????

l ?????a??1

l ????????????????'?o?

l ?????a??1???????????'?o?

l ???

江苏快三开奖结果l ?-???

l ???????o?

江苏快三开奖结果l ?????2?o?

 

江苏快三开奖结果???o????????????????-????-|???????????????????????-??1|?????????????-|?1??|??????????o?????????????????????|???????????a????-????a?13?????o????o????????????????o??????-?1????????????oOpenCASCADE?????1???????oo?????????????1???????

 

???o?????????o?|???????

void IntAna_QuadQuadGeo::Perform (const gp_Pln& P1, 
                                  const gp_Pln& P2,
                                  const Standard_Real TolAng,
                                  const Standard_Real Tol)
{
  Standard_Real A1, B1, C1, D1, A2, B2, C2, D2, dist1, dist2, aMVD;
  //
  done=Standard_False;
  param2bis=0.;
  //
  P1.Coefficients(A1,B1,C1,D1);
  P2.Coefficients(A2,B2,C2,D2);
  //
  gp_Vec aVN1(A1,B1,C1);
  gp_Vec aVN2(A2,B2,C2);
  gp_Vec vd(aVN1.Crossed(aVN2));
  //
  const gp_Pnt& aLocP1=P1.Location();
  const gp_Pnt& aLocP2=P2.Location();
  //
  dist1=A2*aLocP1.X() + B2*aLocP1.Y() + C2*aLocP1.Z() + D2;
  dist2=A1*aLocP2.X() + B1*aLocP2.Y() + C1*aLocP2.Z() + D1;
  //
  aMVD=vd.Magnitude();
  if(aMVD <=TolAng) {
    // normalles are collinear - planes are same or parallel
    typeres = (Abs(dist1) <= Tol && Abs(dist2) <= Tol) ? IntAna_Same 
      : IntAna_Empty;
  }
  else {
    Standard_Real denom, denom2, ddenom, par1, par2;
    Standard_Real X1, Y1, Z1, X2, Y2, Z2, aEps;
    //
    aEps=1.e-16;
    denom=A1*A2 + B1*B2 + C1*C2;
    denom2 = denom*denom;
    ddenom = 1. - denom2;
    denom = ( Abs(ddenom) <= aEps ) ? aEps : ddenom;
    par1 = dist1/denom;
    par2 = -dist2/denom;
    gp_Vec inter1(aVN1.Crossed(vd));
    gp_Vec inter2(aVN2.Crossed(vd));
    X1=aLocP1.X() + par1*inter1.X();
    Y1=aLocP1.Y() + par1*inter1.Y();
    Z1=aLocP1.Z() + par1*inter1.Z();
    X2=aLocP2.X() + par2*inter2.X();
    Y2=aLocP2.Y() + par2*inter2.Y();
    Z2=aLocP2.Z() + par2*inter2.Z();
    pt1=gp_Pnt((X1+X2)*0.5, (Y1+Y2)*0.5, (Z1+Z2)*0.5);
    dir1 = gp_Dir(vd);
    typeres = IntAna_Line;
    nbint = 1;
    //
    //-------------------------------------------------------
    // When the value of the angle between the planes is small
    // the origin of intersection line is computed with error
    // [ ~0.0001 ] that can not br considered as small one
    // e.g.
    // for {A~=2.e-6, dist1=4.2e-5, dist2==1.e-4} =>
    // {denom=3.4e-12, par1=12550297.6, par2=32605552.9, etc}
    // So, 
    // the origin should be refined if it is possible
    //
    Standard_Real aTreshAng, aTreshDist;
    //
    aTreshAng=2.e-6; // 1.e-4 deg
    aTreshDist=1.e-12;
    //
    if (aMVD < aTreshAng) {
      Standard_Real aDist1, aDist2;
      //
      aDist1=A1*pt1.X() + B1*pt1.Y() + C1*pt1.Z() + D1;
      aDist2=A2*pt1.X() + B2*pt1.Y() + C2*pt1.Z() + D2;
      //
      if (fabs(aDist1)>aTreshDist || fabs(aDist2)>aTreshDist) {
        Standard_Boolean bIsDone, bIsParallel;
        IntAna_IntConicQuad aICQ;
        //
        // 1.
        gp_Dir aDN1(aVN1);
        gp_Lin aL1(pt1, aDN1);
        //
        aICQ.Perform(aL1, P1, TolAng, Tol);
        bIsDone=aICQ.IsDone();
        if (!bIsDone) {
          return;
        }
        //
        const gp_Pnt& aPnt1=aICQ.Point(1);
        //----------------------------------
        // 2.
        gp_Dir aDL2(dir1.Crossed(aDN1));
        gp_Lin aL2(aPnt1, aDL2);
        //
        aICQ.Perform(aL2, P2, TolAng, Tol);
        bIsDone=aICQ.IsDone();
        if (!bIsDone) {
          return;
        }
        //
        bIsParallel=aICQ.IsParallel();
        if (bIsParallel) {
          return;
        }
        //
        const gp_Pnt& aPnt2=aICQ.Point(1);
        //
        pt1=aPnt2;
      }
    }
  }
  done=Standard_True;
}

|?????????a?o?????????|???????13????????????1?????Ax+By+Cz+D=0???????a?13???1??'????1??-??|????????????o??????????????????o?????????a?13???1??'????o?o?????-?a?|???????

l ????????a?13????????????1??????3??????A???B???C???D????????-?13??????3?????????A,B,C)??o??????????????

l ??????a?13??????3??????????1??????????????vd??o?13???o?o??????1??????

l ????????????????a?13??????????1????|???????a?13???????|????dist1???dist2???

l ?|?????????vd?????????o???????????2??o|TolAng?????????o????a?13???13???2?????o?o?????|????????a??|?dist1???dist2???o???????????2??o|Tol?????????o????a?13????????????????????????????

l ?????????a?13??????1?denom???

l ??1???????a?13??????1???????o?o?????????1???

江苏快三开奖结果l ?????????????????a?13???1??????????????????

l ????????????o?o?????????1pt1?????1???dir1

 

??????????????o?o??????1???????????????????????????????????????a?13?????o??1??????????'???????????|????o?o??????1????????o?3?????????????????a?13???????????a?13????????????o??1???????a?o??1??????????o?o????????????3???????|???????

gp_Pln P3(vd.X(), vd.Y(), vd.Z(), 0.0);
IntAna_Int3Pln aTool(P1, P2, P3);
if (aTool.IsDone())
{
    pt1 = aTool.Value();
}

?????o?????a?13?????o??1?????????????????3????????????????1?????????????2????????????????????????????'???-????????????????????|???????????????a??????????


??o?o???1?????????????????1?????????????????????????o?o?????????2?3????????????????????????????????????????1?o???'?????3?3???
Shing Liu(eryar@163.com)


eryar 2019-10-07 19:38 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/eryar/archive/2019/10/03/occt_740.htmleryareryarThu, 03 Oct 2019 08:07:00 GMThttp://www.598club.com/eryar/archive/2019/10/03/occt_740.htmlhttp://www.598club.com/eryar/comments/216870.htmlhttp://www.598club.com/eryar/archive/2019/10/03/occt_740.html#Feedback2http://www.598club.com/eryar/comments/commentRss/216870.htmlhttp://www.598club.com/eryar/services/trackbacks/216870.html?????????

eryar 2019-10-03 16:07 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/eryar/archive/2019/09/22/project_point_cylinder.htmleryareryarSun, 22 Sep 2019 14:39:00 GMThttp://www.598club.com/eryar/archive/2019/09/22/project_point_cylinder.htmlhttp://www.598club.com/eryar/comments/216854.htmlhttp://www.598club.com/eryar/archive/2019/09/22/project_point_cylinder.html#Feedback0http://www.598club.com/eryar/comments/commentRss/216854.htmlhttp://www.598club.com/eryar/services/trackbacks/216854.htmlOpenCASCADE??1???????????????

eryar@163.com

 

OpenCASCADE?????Extrema_ExtPElS???????o???1????o?????2?????????????????????????|??????????????????????????????????|???????????o?????1?????????????????????????a???????1P1???P2????????1????????????|???????????????P??P1?????|??????????????P??P2?????|?????????????|??????1?-????-??1???????????????????3??????????????

 

??Extrema_ExtPElS????-???????1????????????????o?????????o?|???????

 

???????o????????3?????????????o??1P???????S???????????|????????|?????-?a???

l ???????1P??????????S?'?o???o?3??o?????13????????????1Pp???

l ????1P???'?o????????????????'?????????

l ???????1Pp???????U??1???????????U1?????o|??????

l ???????U1?????o|??????180?o|??????????U2???

l ?????????????U1???V?????????U2???V?????1?o??????????????????1???

????????????|??1??????????????????????????????????o????????????????????????-????-??????|??????|?????13??1????????????1??????|????????????a??|????????1????????????????????|???????|????????a?????????1????????1?????????????????????????????1??????

OpenCASCADE??????????gp_Vec???????o??????a?????AngleWithRef()??????????o??????????????a????????|?????????????a??????1??'????1?????????-??????????Ref???????????????o|????-?'???????????a?????????1??????????????????????Ref?????????????1????????????????o|??????'????

??????????????a??????????????o???????????????????Draw Test Harness??-??????????????????????'???a????????????

 

?????????????????????????????DRAW??-??????|???????????o????????????

 

????????????????????o????????????????????a??1P1???P2??????o|????????1P???????????????


??o?o???1?????????????????1?????????????????????????o?o?????????2?3????????????????????????????????????????1?o???'?????3?3???
Shing Liu(eryar@163.com)


eryar 2019-09-22 22:39 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/eryar/archive/2019/09/20/project_point_line.htmleryareryarFri, 20 Sep 2019 05:15:00 GMThttp://www.598club.com/eryar/archive/2019/09/20/project_point_line.htmlhttp://www.598club.com/eryar/comments/216847.htmlhttp://www.598club.com/eryar/archive/2019/09/20/project_point_line.html#Feedback0http://www.598club.com/eryar/comments/commentRss/216847.htmlhttp://www.598club.com/eryar/services/trackbacks/216847.htmlOpenCASCADE??1?????'?o??????

eryar@163.com

 

??GeomLib_Tool????-???????o??????????????1????2?o??????2????????????????????a????3?????????????????3??1????????2?o??????2????????????1???????????

 

?????????|????????o????????????1?????'?o?????????????3????????Extrema_ExtPElC??-???????o???1?????o????????2?o???|?????????????????????????o?????2?o??????????????'?o???????????-?????????????o?????????2?o??-?????????-??1????'?o??????|??o?????|???????

 

??1????o??????????????????o?????a???????'????????'??'?????????-?????V1?????'?o??????1???????????V?????'?o???????1????1P???????????

 

????3????|?????????????1?1????????1?????????'?o?????????|?Mydist??????????1OR?2??????'?o??????1???V1????Mydist??|????????o???1?????????'?o?????????1??????????o???????????3???????????????o??a?????1????'?o???????????1????'?o??????1OR?????|?Mydist???????????????'?????????????-?????????????????????????'?????????????3?????????????1???o????????????????????????????????1????'?o????????????

??????????????????????????????????o??????????3??????????????????????????????????1???????????????????????-|???????-?????o??????

 


??o?o???1?????????????????1?????????????????????????o?o?????????2?3????????????????????????????????????????1?o???'?????3?3???
Shing Liu(eryar@163.com)


eryar 2019-09-20 13:15 ???????o
]]>
C++博客-首页原创精华区 http://www.598club.com/eryar/archive/2019/09/19/intana_circle_plane.htmleryareryarThu, 19 Sep 2019 05:19:00 GMThttp://www.598club.com/eryar/archive/2019/09/19/intana_circle_plane.htmlhttp://www.598club.com/eryar/comments/216842.htmlhttp://www.598club.com/eryar/archive/2019/09/19/intana_circle_plane.html#Feedback0http://www.598club.com/eryar/comments/commentRss/216842.htmlhttp://www.598club.com/eryar/services/trackbacks/216842.htmlOpenCASCADE???????13?????o

eryar@163.com

 

?? ?????????????o?1????????o??????2????-???????o?OpenCASCADE???????????IntAna_IntConicQuad???????????????????????o??????2???1??'????o??1???????a????3???????13??Plane?????o?o??????2??????????a??1???????????????????????|??????1???????????1????????????

 

?????'???????????????13???????o???????????IntAna_IntConicQuad?????o??????Perform?????1???????13?????????o????????????????????3???????????????????????????????????|???????

void IntAna_IntConicQuad::Perform (const gp_Circ& C, const gp_Pln& P,
                  const Standard_Real Tolang,
                  const Standard_Real Tol)
{
  
  done=Standard_False;
  
  gp_Pln Plconic(gp_Ax3(C.Position()));
  IntAna_QuadQuadGeo IntP(Plconic,P,Tolang,Tol);
  if (!IntP.IsDone()) {return;}
  if (IntP.TypeInter() == IntAna_Empty) {
    parallel=Standard_True;
    Standard_Real distmax = P.Distance(C.Location()) + C.Radius()*Tolang;
    if (distmax < Tol) {
      inquadric = Standard_True;
    }
    else {
      inquadric = Standard_False;
    }
    done=Standard_True;
  }
  else     if(IntP.TypeInter() == IntAna_Same) { 
    inquadric = Standard_True;
    done = Standard_True;
  }
  else {
    inquadric=Standard_False;
    parallel=Standard_False;
    gp_Lin Ligsol(IntP.Line(1));
    
    gp_Vec V0(Plconic.Location(),Ligsol.Location());
    gp_Vec Axex(Plconic.Position().XDirection());
    gp_Vec Axey(Plconic.Position().YDirection());
    
    gp_Pnt2d Orig(Axex.Dot(V0),Axey.Dot(V0));
    gp_Vec2d Dire(Axex.Dot(Ligsol.Direction()),
          Axey.Dot(Ligsol.Direction()));
    
    gp_Lin2d Ligs(Orig,Dire);
    gp_Pnt2d Pnt2dBid(0.0,0.0);
    gp_Dir2d Dir2dBid(1.0,0.0);
    gp_Ax2d Ax2dBid(Pnt2dBid,Dir2dBid);
    gp_Circ2d Cir(Ax2dBid,C.Radius());
    
    IntAna2d_AnaIntersection Int2d(Ligs,Cir);
    
    if (!Int2d.IsDone()) {return;}
    
    nbpts=Int2d.NbPoints();
    for (Standard_Integer i=1; i<=nbpts; i++) {
      
      gp_Pnt2d resul(Int2d.Point(i).Value());
      Standard_Real X= resul.X();
      Standard_Real Y= resul.Y();
      pnts[i-1].SetCoord(Plconic.Location().X() + X*Axex.X() + Y*Axey.X(),
             Plconic.Location().Y() + X*Axex.Y() + Y*Axey.Y(),
             Plconic.Location().Z() + X*Axex.Z() + Y*Axey.Z());
      paramonc[i-1]=Int2d.Point(i).ParamOnSecond();
    }
    done=Standard_True;
  }
}

???????????????-???????????o?????'?????1???????13?????o???????3??-?a?|???????

l ??1?????????13??????13?????????o??????????-?????????13??????13???????????????13??????????????13?????????

l ?|?????????????13??????13??????13?????????????o?o?o????

江苏快三开奖结果l ?????????o?o????????????????o???'??o?'???????o????????

 

??????????????o?????????13??????13??????o?o??????????????????o???'??o?'?????????o??1?????1?3??????1???????????????????a?13??????o?o????????????????'???????????P0??????????o?o????????????????1Pm??????????-????????Pm??1??|??-??o????????????????????13?????a????????a?o??1???????Pm??????o?????????????????a?o??1?????Pm?2?????o?o???1?????????????L??????L??|??????????????o??1?o?????????-???

 

???????????a?????????????a??1?????'?o??????????????a?????1????????a????????????????????????????1?????????


??o?o???1?????????????????1?????????????????????????o?o?????????2?3????????????????????????????????????????1?o???'?????3?3???
Shing Liu(eryar@163.com)


eryar 2019-09-19 13:19 ???????o
]]>