add_library(NvGPUDirect::DVP SHARED IMPORTED)
target_include_directories(NvGPUDirect::DVP INTERFACE "${NV_GPU_DIRECT_INCLUDE_DIR}")
set_target_properties(NvGPUDirect::DVP
PROPERTIES
IMPORTED_IMPLIB ${NV_GPU_DIRECT_IMPLIB}
)
#include <Cocoa/Cocoa.h> | |
#import <Metal/Metal.h> | |
#import <MetalKit/MetalKit.h> | |
#import <simd/simd.h> | |
// BUG: on OSX 10.15.6, the App menu is not clickable at the first activation, but becomes so after switching to another app | |
//---------------------------------------------------------------------------- |
Some thoughts about code structure, as I read code, and find some things harder to follow than others.
TL;DR Don't pass smart pointers are function arguments unless the function is meant to manage the lifetime of the data.
You use std::unique_ptr
or shared_ptr
to hold the values of some of your Data
- this describes how is handled the lifetime of Data
, but nothing else.
If you pass const std::unique_ptr<Data>&
as an argument to a function/method, what are you describing ?
My GIT habits :
-
On Windows, through
GIT bash
-
No UI, except occasional
gitk --all&
to visually check branches and commits -
Use
git fetch
thengit merge --ff-only origin/master
- I don't like
git pull
auto-merging feature that messes up the history
- I don't like
-
Use
git add -p
to : -
make a quick review of changes before commit
Et si on redémarrait l'agile ?, Arnaud Lemaire
- Agile in "management" vs. Agile in "production"
You Should Stop Doing Daily Scrum Meetings, Vitaly Chicago, archive
- A good list a common problems in daily standups
//****************************************************************************** | |
// | |
// Copyright (c) 2016 Microsoft Corporation. All rights reserved. | |
// | |
// This code is licensed under the MIT License (MIT). | |
// | |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
In an administrator PowerShell console
Get-NetConnectionProfile
Set-NetConnectionProfile -InterfaceAlias "Ethernet" -NetworkCategory Private
or
Set-NetConnectionProfile -Name "Ethernet" -NetworkCategory Private
Can be broken for C Runtime, depending on versions of Windows, see fmod
broken here:
This is complicated as the UCRT is shipped by windows, but the c++ team first has to fix it then convince the windows team to ship a hotfix.
applyMatrix
, on Geometry
or BufferGeometry
, does not flip faces indices when applying a matrix that flips normals (determinant < 0).