Systems engineer and C++ programmer.
github.com/tringi/winver
It was supposed to fit into 4 kB at first, but many nice-to-have features keep popping up. What should I add next?
github.com/tringi/winver
It was supposed to fit into 4 kB at first, but many nice-to-have features keep popping up. What should I add next?
enum class color {
red,
green,
blue,
};
int function (color c);
int main () {
function (red); // color::red
color green = blue; // color::blue
function (green); // locals have priority
}
Using-enum-declaration doesn't quite cut it.
enum class color {
red,
green,
blue,
};
int function (color c);
int main () {
function (red); // color::red
color green = blue; // color::blue
function (green); // locals have priority
}
Using-enum-declaration doesn't quite cut it.
GetThemeSysFont (TMT_CAPTIONFONT) now returns "Segoe UI" no matter how hard the app is manifested, despite it actually using "Segoe UI Variable" and both fonts having different symbols and fallbacks.
GetThemeSysFont (TMT_CAPTIONFONT) now returns "Segoe UI" no matter how hard the app is manifested, despite it actually using "Segoe UI Variable" and both fonts having different symbols and fallbacks.
template <class C, class R, class… Args>
R (* GetFn (R (C::*m) (Args…))) (void *, Args…) {
typedef R (C::* MemFn) (Args…);
typedef R (* RegFn) (void *, Args…);
constexpr auto x = sizeof (MemFn) - sizeof (RegFn);
...
template <class C, class R, class… Args>
R (* GetFn (R (C::*m) (Args…))) (void *, Args…) {
typedef R (C::* MemFn) (Args…);
typedef R (* RegFn) (void *, Args…);
constexpr auto x = sizeof (MemFn) - sizeof (RegFn);
...
www.youtube.com/shorts/6quxP...
www.youtube.com/shorts/6quxP...
And the results are quite harrowing!
94 million calls per seconds vs. 355 M/s.
Must be a bug in the benchmark, right?
github.com/tringi/win64...
And the results are quite harrowing!
94 million calls per seconds vs. 355 M/s.
Must be a bug in the benchmark, right?
github.com/tringi/win64...
I tried: The latest version of WAC does exactly NOTHING more than than virtmgmt.msc. So why the fuck would I?
I tried: The latest version of WAC does exactly NOTHING more than than virtmgmt.msc. So why the fuck would I?
This fucking site LOL, LMAO even.
This fucking site LOL, LMAO even.
By using massgrave scripts.
On my completely legitimate installation.
By some magic and googling I found that HRESULT of c004f011 in FACILITY_ITF reported by CMIADAPTER (in CBS.log) means licensing data broke...
By using massgrave scripts.
On my completely legitimate installation.
By some magic and googling I found that HRESULT of c004f011 in FACILITY_ITF reported by CMIADAPTER (in CBS.log) means licensing data broke...
Do not keep the screens on if the user locks the workstation.
Arguably it's something Windows should be doing. The power requests should apply only when the relevant desktop is active, but it is what it is.
issues.chromium.org/issues/44310...
Do not keep the screens on if the user locks the workstation.
Arguably it's something Windows should be doing. The power requests should apply only when the relevant desktop is active, but it is what it is.
issues.chromium.org/issues/44310...
11 drives, 58 TB total.
Alder Lake N100, 10GbE + 2×2.5GbE connectivity.
44 W in idle, 70 W when copying to/from one of the RAID 5. The 750W PSU was overkill, but hey, it has 92% efficiency.
11 drives, 58 TB total.
Alder Lake N100, 10GbE + 2×2.5GbE connectivity.
44 W in idle, 70 W when copying to/from one of the RAID 5. The 750W PSU was overkill, but hey, it has 92% efficiency.