精华内容
下载资源
问答
  • 与xp、win2003相比,win7、win2008(包括win2008R2)系统中,存放用户数据(user data)和系统数据(system data)的默认文件夹位置发生变化。例如,在xp中存放用户数据的文件为%SystemDrive%\Documents and ...

    与xp、win2003相比,win7、win2008(包括win2008R2)系统中,存放用户数据(user data)和系统数据(system data)的默认文件夹位置发生变化。例如,在xp中存放用户数据的文件为%SystemDrive%\Documents and Settings;在win7中则为%SystemDriver%\User。这样的变化无疑对以前应用程序能否在win7下顺利带来兼容性问题。为了最大程度地保证对以前在xp运行程序的兼容性,在win7中采用了junction points(连接点)技术。通过这个技术,原来在xp下运行的程序对%SystemDrive%\Documents and Settings文件夹下的数据存取操作,能自动的更改到%SystemDriver%\User文件夹。

    我们可以将junction point看做是一个快捷方式(shortcut) ,它具有以下特性:

    • 具有FILE_ATTRIBUTE_REPARSE_POINT, FILE_ATTRIBUTE_HIDDEN, and FILE_ATTRIBUTE_SYSTEM属性
    • 具有ACLs(Access Control Lists),拒绝everyone的读操作

    这样,在win7系统中,只有具有存取权限,旧程序对老式路径的调用会通过 junction point,转而存取win7下的用户数据文件或系统数据文件夹。

    例如win7为每个用户创建连接点,将旧式的 C:\Users\username\My Documents指向win7下C:\Users\username\Documents。 下表是

    xp、windows2003中的路径

    win7、windows2008中的路径

    \Documents and Settings

    \Users

    \Documents and Settings\Default User or
    %LOGONSERVER%\NETLOGON\Default User

    \Users\Default or
    %LOGONSERVER%\NETLOGON\Default

    \Documents and Settings\<user>\My Documents

    \Users\<user>\Documents

    \Documents and Settings\<user>\My Documents\My Pictures

    \Users\<user>\Pictures

    \Documents and Settings\<user>\My Documents\My Music

    \Users\<user>\Music

    \Documents and Settings\<user>\Favorites

    \Users\<user>\Favorites

    N/A

    \Users\<user>\Contacts

    N/A

    \Users\<user>\Downloads

    N/A

    \Users\<user>\SavedGames

    \Documents and Settings\<user>\Application Data

    \Users\<user>\AppData\Roaming

    \Documents and Settings\<user>\Local Settings\Application Data

    \Users\<user>\AppData\Local

    \Documents and Settings\<user>\Start Menu

    \Users\<user>\AppData\Roaming\Microsoft\Windows\ Start Menu

    \Documents and Settings\All Users

    \Users\Public

    \Documents and Settings\All Users\Start Menu

    \ProgramData\Microsoft\Windows\Start Menu

    \Documents and Settings\All Users\Desktop

    \Users\Public\Desktop

     

    参考:

    1. junction point in vista 

    2. managing roaming user data delployment guide

    转载于:https://www.cnblogs.com/protorock/archive/2012/12/21/2827316.html

    展开全文
  • <div><p>Fixes #1718 <p>also some flake8 in here. <p>CC </p><p>该提问来源于开源项目:conda/conda-build</p></div>
  • Cash-strapped Hearts win to move to -12 points KD 6 GS Candy Scotland (AP) - Cash-strapped Hearts started to cl...

    Cash-strapped Hearts win to move to -12 points KD 6 GS Candy Scotland (AP) - Cash-strapped Hearts started to claw back the 15-point deficit for entering bankruptcy protection by beating Hibernian 1-0 in the Scottish Premiership's Edinburgh derby on Sunday.Callum Paterson headed in the winner in the 72nd minute to lift bottom-place Hearts to minus 12 points.Hearts, who lost their season opener last Nike Lebron XI Zapatillasde Baloncesto were handed the penalty after entering financial administration with debts of around $45million.Also Sunday, Aberdeen came Nike Lebron XI Zapatillasde Baloncesto behind to end a near five-year wait for a league victory over Motherwell, winning 3-1.Henri Anier put last season's runners-up ahead after just one minute. But Aberdeen's comeback began in the second half, Niall McGinn scoring two penalties and Mark Reynolds heading home against his former club.There was also a drab 0-0 draw between Kilmarnock and St. Johnstone.

    @uc@cn88hn5y5l@uc@

    来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29390558/viewspace-1063936/,如需转载,请注明出处,否则将追究法律责任。

    转载于:http://blog.itpub.net/29390558/viewspace-1063936/

    展开全文
  • <div><p>I have the problem with google chrome(win XP). 2 points do not drow the line in graphs . The same problem is in ftotr-0.2-alpha.js and flotr2 but it was ansent earlier. 5-10% of people ...
  • Points system

    2020-12-09 05:41:25
    When a player / team win a cup earn 10 points. its posible to add this feature? Maybe an option wich i can set personal their winings. Like a deposit & withdraw points.</p><p>该提问来源于开源项目&...
  • 一、Win7 64 安装theano:081290XIONGQINGa 081290xiongqingA 1、 下载Anaconda1.9.2,自带MniGw; C:\Anaconda; C:\Anaconda\Scripts;C :\Anaconda\MinGW\bin; C:\Anaconda\MinGW\x86_64-w64-mingw32\bin;加入...

    一、Win7 64 安装theano:
    1、 下载Anaconda1.9.2,自带MniGw; 

    C:\Anaconda;  
    C:\Anaconda\Scripts;C  
    :\Anaconda\MinGW\bin;  
    C:\Anaconda\MinGW\x86_64-w64-mingw32\bin; 
    加入到PATH,安装git,并将C:\git\bin;加入到PATH


    
    

    2、 Github下载theano然后解压,讲theano文件夹里面的theano文件夹拷贝到

    C:\Anaconda\Lib\site-packages


    3、 下载安装CUDA,版本随意

    C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;
    C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\bin;
    C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\libnvvp;
    C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\lib\x64;
    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include;

    加入到path

    测试Cuda安装成功与否,使用

    nvcc –V

    cuda版本

     

    采用VS2010,将C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include;加入到PATH,则最终PATH有:

    C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.0\bin;
    C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.0\libnvvp;
    c:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;
    C:\Anaconda;
    C:\Anaconda\Scripts;
    C:\Anaconda\MinGW\bin;
    C:\Anaconda\MinGW\x86_64-w64-mingw32\bin;
    C:\git\bin;
    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include;


     

    4、 在C:\Users\Administrator下建立一个文件:.theanorc.txt

    [global]
    openmp = False
    device = gpu0
    floatX = float32
    allow_input_downcast=True
     
    [blas]
    ldflags =
     
    [gcc]
    cxxflags = -IC:\Anaconda\MinGW
     
     
    [cuda]
    root=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\bin
     
    [nvcc]
    flags = -LC:\Anaconda\libs   
     
    compiler_bindir = C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin
    fastmath = True
    flags =  -arch=sm_30    
     
    


    注意错误:

    1c:\anaconda\include\pyconfig.h(227) : fatal error C1083: Cannot open include fil

    e: 'basetsd.h': No such file or directory;

    ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: ('nvcc return st

    atus', 2, 'for cmd', 'nvcc -shared -O3 -arch=sm_30 -use_fast_math --compiler-bin

     

    根据windows SDK查找这个文件,将这个文件对应的include加入到PATH,没有解决问题,后来compiler_bindir Vs2012更改为Vs2010解决问题。

    compiler_bindir = C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin

     

    二、安装Lasagne

    1、目前还只能从源代码安装。

    git clone https://github.com/Lasagne/Lasagne.git   # 会建立一个Lasagne目录
    cd Lasagne
    pip install -r requirements.txt  #  比较久
    python setup.py install  #  这一步需要root权限


     

    Daniel Nouri[Tutorial]上是这样安装的

    pip install -r https://raw.githubusercontent.com/dnouri/kfkd-tutorial/master/requirements.txt

    这样需要以root用户来执行,不推荐这样做。

     

    尝试正确的安装方式:

    git clone https://github.com/Lasagne/Lasagne.git   # 会建立一个Lasagne目录

    cd Lasagne

    pip install -r https://raw.githubusercontent.com/dnouri/kfkd-tutorial/master/requirements.txt

     

    问题:

    1. 这是Python 2 mimetypesbug

    2. 需要将Python2.7/lib/mimetypes.py文件中如下片段注释或删除:

    try:
        ctype = ctype.encode(default_encoding) # omit in 3.x!
    except UnicodeEncodeError:
        pass


    补充其它解决办法

    解决办法:

    在报错的页面添加代码:

     import sys 
    reload(sys) 
    sys.setdefaultencoding('utf8')

    执行 Python ez_setup.py,报错:

    UnicodeDecodeError: 'utf8' codec can't decode byte 0xb0 in position 35: invalid

     start byte

    解决办法:

    在报错的页面添加代码:

    import sys
    reload(sys)
    sys.setdefaultencoding('utf-8')


     

    安装失败之后,重新安装,需要清理C:\Users\Administrator\AppData\Local\pip里面的内容

     

    2test on mnist

    cd examples
    python mnist.py
    Epoch 103 of 500 took 11.717s
      training loss:                0.045202
      validation loss:              0.059163
      validation accuracy:          98.16 %%
    Epoch 104 of 500 took 11.702s
      training loss:                0.046228
      validation loss:              0.058582
      validation accuracy:          98.14 %%
    Epoch 105 of 500 took 11.704s
      training loss:                0.044530
      validation loss:              0.058295
      validation accuracy:          98.18 %%


     

    三、Facial Keypoints Detection

    1、从https://github.com/dylansun/Kaggle-Facial-Keypoint-Detection 上下载data数据进行训练:

    Data Files:training .zip (60.10 mb)test .zip (15.99 mb)SampleSubmission .csv (201.08 kb)IdLookupTable .csv (842.51 kb)

    Each predicted keypoint is specified by an (x,y) real-valued pair in the space of pixel indices. There are 15 keypoints, which represent the following elements of the face:

    left_eye_center, right_eye_center, left_eye_inner_corner, left_eye_outer_corner, right_eye_inner_corner, right_eye_outer_corner, left_eyebrow_inner_end, left_eyebrow_outer_end, right_eyebrow_inner_end, right_eyebrow_outer_end, nose_tip, mouth_left_corner, mouth_right_corner, mouth_center_top_lip, mouth_center_bottom_lip Left and right here refers to the point of view of the subject.

    In some examples, some of the target keypoint positions are misssing (encoded as missing entries in the csv, i.e., with nothing between two commas).

     The input image is given in the last field of the data files, and consists of a list of pixels (ordered by row), as integers in (0,255). The images are 96x96 pixels.

     Data files

    training.csv: list of training 7049 images. Each row contains the (x,y) coordinates for 15 keypoints, and image data as row-ordered list of pixels.

    test.csv: list of 1783 test images. Each row contains ImageId and image data as row-ordered list of pixels

    submissionFileFormat.csv: list of 27124 keypoints to predict. Each row contains a RowId, ImageId, FeatureName, Location. FeatureName are "left_eye_center_x," "right_eyebrow_outer_end_y," etc. Location is what you need to predict.

     

    2、采用kfkd.py进行训练:

    """
    To use this script, first run this to fit your first model:

      python kfkd.py fit



    Then train a bunch of specialists that intiliaze their weights from
    your first model:

      python kfkd.py fit_specialists net.pickle



    Plot their error curves:

      python kfkd.py plot_learning_curves net-specialists.pickle


    此处报错:

    Traceback (most recent call last):

      File "C:\Program Files (x86)\JetBrains\PyCharm 4.0.4\helpers\pydev\pydevd.py", line 2222, in <module>

        globals = debugger.run(setup['file'], None, None)

      File "C:\Program Files (x86)\JetBrains\PyCharm 4.0.4\helpers\pydev\pydevd.py", line 1648, in run

        pydev_imports.execfile(file, globals, locals)  # execute the script

      File "C:/Anaconda/src/lasagne/examples/Kaggle Facial Keypoints Detection/kfkd.py", line 417, in <module>

        func(*sys.argv[2:])

      File "C:/Anaconda/src/lasagne/examples/Kaggle Facial Keypoints Detection/kfkd.py", line 371, in plot_learning_curves

        models = pickle.load(f)

    EOFError

    解决方法:直接执行

    plot_learning_curves

     



    And finally make predictions to submit to Kaggle:

      python kfkd.py predict net-specialists.pickle



     

     

     

     

    展开全文
  • <div><p><em>From <a href="https://code.google.com/u/109494838902877177630/">bruen....com</a> on September 20, 2011 15:17:37</em></p> <p>split from issue #440 the solution there was to nop the call to ...
  • How to Draw a Arc with AngelArc Function in GDI? if we just have two Node points of the Arc and the Arc Radius?We can calculate the Arc Center with Math formula directly~ but it seems too complicat

    How to Draw a Arc with AngelArc Function in GDI? if we just have two Node points of  the Arc and the Arc Radius?

    We can calculate the Arc Center with Math formula directly~ but it seems too complicate for some of us(sepecially for me, I almost take several hours to work out the center point axis). check the code below would be good for us to do so, and give my thanks to whoever help me in the internet.:

    static bool calCenterPoint(double x1, double y1, double x2, double y2, double x3, double y3, double r, double* xC, double* yC) {
     //POINT (x3,y3) is the control point to get the correct point.
     double dx = 0.5*(y1-y2);
     double dy = 0.5*(x2-x1);
     double R = dx*dx+dy*dy;
     double x[2];
     double y[2];
     if( R<0.0000001 || r*r<R )
      return false;
        r = sqrt(r*r-R)/sqrt(R);  
     dx *= r;  
     dy *= r;  
     x[0] = 0.5*(x1+x2)+dx;
     y[0] = 0.5*(y1+y2)+dy;
     x[1] = 0.5*(x1+x2)-dx;
     y[1] = 0.5*(y1+y2)-dy;
     
     double dDisTo3A = (y[0] - y3) * (y[0] - y3) + (x[0] - x3) * (x[0] - x3);
     double dDisTo3B = (y[1] - y3) * (y[1] - y3) + (x[1] - x3) * (x[1] - x3);
     if(dDisTo3A > dDisTo3B)
     {
      *xC = x[0];
      *yC = y[0];
     }
     else
     {
      *xC = x[1];
      *yC = y[1];
     }
     return   true;  

    展开全文
  • <div><p>When first building the new project named Test1 in debug first with this CMAKE command : <pre><code> D:\dev\cpp\3d\Urho3d\Projects\Test1>cmake_vs2013.bat d:\dev\cpp\3d\Urho3d\Projects\Test...
  • They are getting 5 points for each match they competed in during eliminations rather than 10 points for a win in the series. <p>3 cases in this example: <p>Example: ...
  • wherein the — what matters is not points in the absolute sense, but that a team had the highest points within their division (ie did they win the division). So at the moment the overall ranks have ...
  • win", images) pts = pc.calculate(aligned_depth_frame) pc.map_to(aligned_color_frame) if not aligned_depth_frame or not aligned_color_frame: continue key = cv2.waitKey(1) if key &...
  • http://www.elijahqi.win/2018/03/08/codeforces-576c-points-on-plane 题目描述 On a plane are n n points ( x_{i} xi​ , y_{i} yi​ ) with integer coordinates between 0 0 and 10^{6} 106 . The...
  • [4.4.1] Unsupported points

    2021-01-06 12:40:25
    Win10 x64 <p><strong>Printer Cr10S <p><strong>Reproduction steps 1. Use supports on parts that start with little dots 2. Minimum support area: 0 <p><strong>Screenshot(s)</strong></p> <p>Watch on left ...
  • <p>The system runs with Win10 pro 64 on a Z270 i5 7600k, a gtx1080ti, 16Gb ramm and with the latest drivers (if that plays a role). <p><img alt="Kreuzung 1 1" src=...
  • Version | {Win (8.1/10) } | | Kernel Version (Linux Only) | (e.g. 4.14.13) | | Platform | PC | | SDK Version | { legacy / 2.<?>.<?> } | | Language | python | <h3>Issue Description <p>...
  • Version | win10 | | Platform | PC | | <p>The SDK includes a program for face tracking, and I'm wondering if the facial marker points are just 2D? Are they captured in real time? I want to use ...
  • <p>1.39.1-prusa3d-win64 <h3>Operating system type + version <p>win10 <h3>Behavior <p>Starting/End points of bridging lines are in mid air, resulting in failed bridges. <p>So I was testing ...
  • Editing points on a map

    2020-12-08 20:20:21
    <p>This seems like a pretty quick win but a huge functional improvement. <p>Once we get this working we should add the ability to allow people to add a point. This would work the same way but launch ...
  • Win the Bonus

    2017-04-26 15:08:16
    Now, suppose that Harry Potter gets to know all the bankers' secret strings and their assigned points by waving his magic wand, it is still not an easy task to win the game even with Hermione on his ...
  • <p>1) Adding QuickLaunch icon does not work under Win10 x64 2) I've choosed only Polish lang (and of cource English), but in plugins folders are some other files. I.e.: AlignSky.lng. arclite_spa....
  • http://www.elijahqi.win/2018/01/12/bzoj3053hdu4347-the-closest-m-points/ Description The course of Software Design and Development Practice is objectionable. ZLC is facing a serious problem .There a
  • Win32 problems

    2020-11-28 14:56:41
    I have found some problem in Win32 implementation: 1. The function <p>int modbus_tcp_pi_listen(modbus_t *ctx, int nb_connection) <p>requires the same _modbus_tcp_init_win32 call as modbus_tcp_listen...
  • Your Windows application must have an entry-point function that is called when the application starts running. As a C/C++ developer, there are two possible entry-point functions you can use... int WIN...
  • <p>Is there an efficient way to find points of type NetTopologySuite.Geometries.Point that are inside given polygon of type NetTopologySuite.Geometries.PointPolygon using .net core 2.2. I tried ...
  • <p>I got the same behavior on Win 7 and OSX 10.11. <p></p> <p>Want to back this issue? <strong><a href=...
  • **写在前面:**由于硕士课程“专业英语”需要提交英文论文翻译的论文,所以选择了最近在...论文题目:Objects as Points 论文地址:PDF 论文代码:Code 环境配置:Ubuntu16.04 | Win10 点作目标 摘要 目标检测往往在...
  • Version | {Win (10)| | | Platform | PC| | SDK Version | { 2.32.1.1299 } | | Language | {python} | <p>we have 2 intel D435 Cameras. we initially used one camera to build the entire AR application. ...
  • You are given n distinct points on a plane with integral coordinates. For each point you can either draw a vertical line through it, draw a horizontal line throu...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 1,250
精华内容 500
关键字:

pointswin