LIBRARY WRITING REFERENCE LIST | |
=============================== | |
1.) Designing and Evaluating Reusable Components (Casey Muratori: http://mollyrocket.com/casey/stream_0028.html) | |
---------------------------------------------------------------------------------------------------------------- | |
_THE_ reference on API design up to this day on the internet. Nobody should write a library without having seen this. | |
I come back to this talk every N number of weeks it is that good. | |
2.) stb_howto (Sean Barrett: https://github.com/nothings/stb/blob/master/docs/stb_howto.txt) | |
-------------------------------------------------------------------------------------------- | |
Sean Barretts single header libraries (https://github.com/nothings/stb) was the first time for me that I came across |
Using VAAPI's hardware accelerated video encoding on Linux with Intel's hardware on FFmpeg and libav
Hello, brethren :-)
As it turns out, the current version of FFmpeg (version 3.1 released earlier today) and libav (master branch) supports full H.264 and HEVC encode in VAAPI on supported hardware that works reliably well to be termed "production-ready".
#include <stdio.h> | |
#include <errno.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <assert.h> | |
#include <string.h> | |
#define streq(a, b) (!strcmp((a), (b))) | |
#ifndef __USE_GNU | |
#define __USE_GNU |
#include <stdio.h> | |
#include <math.h> | |
#include <immintrin.h> | |
#include <vector> | |
#include <type_traits> | |
#ifdef IACA | |
#include <iacaMarks.h> | |
#else |
### | |
### | |
### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
### https://christitus.com/windows-tool/ | |
### https://github.com/ChrisTitusTech/winutil | |
### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
### iwr -useb https://christitus.com/win | iex | |
### | |
### OR take a look at | |
### https://github.com/HotCakeX/Harden-Windows-Security |
2016-02-22 | |
During the Day (2016-01-22) i notice that Netflix is not working on my TV. I tried other Devices but always getting an Error pointing me to http://netflix.com/proxy. | |
I called netflix (Germany) and over 30 min the agent followed his script what need to be done (reboot the modem, change devices and use mobile data) to show me that netflix does not have a problem and i should call my ISP. | |
Short after that, i called my ISP. The Agent told me that this morning they got notified by the tech department that unitymedia tech is working with netflix tech on this issue. | |
If i use another connection - a VPN to my Server, mobile data - connection is possible. Netflix relax and say "look your ISP has an issue" | |
Detailed Information are written down as note to my Account. |
// float->half variants. | |
// by Fabian "ryg" Giesen. | |
// | |
// This is a re-licensed version of https://gist.github.com/rygorous/2156668, | |
// prepared by the original author, on request. | |
// | |
// Copyright (c) Fabian Giesen, 2016 | |
// All rights reserved. | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted. |
Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.
This is my little Christmas-break experiment trying to (among other things) reduce the amount of generated code for containers.
THIS CODE WILL CONTAIN BUGS AND IS ONLY PRESENTED AS AN EXAMPLE.
The C++ STL is still an undesirable library for many reasons I have extolled in the past. But it's also a good library. Demons lie in this here debate and I have no interest in revisiting it right now.
The goals that I have achieved with this approach are: