Skip to content

Instantly share code, notes, and snippets.

View EwoutH's full-sized avatar

Ewout ter Hoeven EwoutH

View GitHub Profile
@EwoutH
EwoutH / ai_scores.svg
Last active October 23, 2024 16:13
AI scores of mobile SoCs by brand and segment (https://ai-benchmark.com/ranking_processors.html)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@EwoutH
EwoutH / dimensity_2024_socs_2024.md
Last active December 23, 2024 10:00
MediaTek Dimensity 7000, 8000 and 9000 series spec comparison (2024)
Feature Dimensity 9400 Dimensity 9300 Dimensity 9200 Dimensity 8400 Dimensity 8300 Dimensity 8200 Dimensity 7350 Dimensity 7300 Dimensity 7200
CPU 1x Cortex-X925 @ 3.63GHz3x Cortex-X44x Cortex-A720 4x Cortex-X4 @ 3.25GHz4x Cortex-A720 @ 2.0GHz 1x Cortex-X3 @ 3.05GHz3x Cortex-A715 @ 2.85GHz4x Cortex-A510 @ 1.8GHz
@EwoutH
EwoutH / Snapdragon_7_8_series_2024.md
Last active May 21, 2024 09:00
Qualcomm Snapdragon 7 and 8 series spec comparison (2024)

| SoC | Snapdragon 8 Gen 3
(SM8650) | Snapdragon 8s Gen 3
(SM8635) | Snapdragon 8 Gen 2
(SM8550) | Snapdragon 7+ Gen 3
(SM7675-AB) | Snapdragon 7+ Gen 2
(SM7475-AB) | Snapdragon 7 Gen 3
(SM7550-AB) | |----------------------|:---------------------------------------

@EwoutH
EwoutH / mesa_220.md
Last active January 1, 2024 22:23
Mesa 2.2.0 highlights (draft)

Highlights

The 2.2.0 release of the Mesa library introduces several updates and new features for managing and scheduling agents and modelling the environment, along with an experimental release policy aimed at enhancing development speed and community feedback. Below are key highlights of the new (experimental) features in this release.

Despite the minor version number, this is one of our biggest releases yet.

Experimental Feature Policy (discussion #1909)

This release introduces an experimental feature policy aimed at accelerating development and gathering community feedback. Features like #1890, #1898, and #1916 are marked as experimental under this policy.

Policy Overview:

  • Experimental features can be added or changed in any release, even patch releases.
@EwoutH
EwoutH / SEN121_Programming_workshop.txt
Last active November 20, 2023 16:58
SEN121 Programming workshop outline
Short introduction:
- Who am I?
- What's the goal of this session? --> Introduce you to some of the most usefull programming tools
- Why? To understand complex systems, we create models. To create models, we need to program.
- Collaboration, version tracking, documentation and transparency --> Git
- Error free (and working in general): Debug
- Validated and robust: Tested
- Three tools: Git, pytest and a debugger with breakpoints
Tool #1: Git
ID DestAct NbTransf TimePT WalkingTimePT WaitingTimePT CostPT CostCar TimeCar NbHousehold NbChild NbCar NbMoto NbBicy NbBicyChild NbComp NbTV Internet NewsPaperSubs NbCellPhones NbSmartPhone HouseType OwnHouse NbRoomsHouse YearsInHouse Income Gender BirthYear Mothertongue FamilSitu OccupStat SocioProfCat CalculatedIncome Education HalfFareST LineRelST GenAbST AreaRelST OtherST CarAvail MarginalCostPT CostCarCHF Envir01 Envir02 Envir03 Envir04 Envir05 Envir06 Mobil01 Mobil02 Mobil03 Mobil04 Mobil05 Mobil06 Mobil07 Mobil08 Mobil09 Mobil10 Mobil11 Mobil12 Mobil13 Mobil14 Mobil15 Mobil16 Mobil17 Mobil18 Mobil19 Mobil20 Mobil21 Mobil22 Mobil23 Mobil24 Mobil25 Mobil26 Mobil27 ResidCh01 ResidCh02 ResidCh03 ResidCh04 ResidCh05 ResidCh06 ResidCh07 LifSty01 LifSty02 LifSty03 LifSty04 LifSty05 LifSty06 LifSty07 LifSty08 LifSty09 LifSty10 LifSty11 LifSty12 LifSty13 LifSty14 TripPurpose TypeCommune UrbRur LangCode ClassifCodeLine frequency ResidChild NbTrajects FreqCarPar FreqTrainPar FreqOtherPar FreqTripHouseh Region di
@EwoutH
EwoutH / pyproject.toml
Created October 27, 2022 18:57
Pyproject.toml git install dependent on Python version
[project]
dependencies = [
"numpy",
"pandas",
"statsmodels; python_version < '3.11'",
"statsmodels @ git+https://github.com/statsmodels/statsmodels.git; python_version >= '3.11'",
]
@EwoutH
EwoutH / PyPI-non-ABI-stable-wheels-proposal.md
Created October 17, 2022 15:58
Introduce system to recognize, manage and install non-ABI-stable Python wheels (created with alpha/beta versions of Python)

Problem

Wheels are extremely important for the Python ecosystem, and especially the scientific subsection. Newer Python versions offer many benefits, like new features and faster performance. On the release of a new Python version, for many packages wheels are unfortunately often not immediately available for that version.

This is a problem with many aspects, and in this feature request a system is proposed to partly but significant improve this situations.

The Python annual release cycle, as described in PEP 602, knows 3 phases. In the Alpha phase new features are added and bugs are fixed, during 7 months. The 3-month Beta phase allows for bug fixes. The 2-month release candidate phase is not clearly described in PEP 602, but practically only essential bugs and security issues are fixed. Historically, it also starts the ABI-stable phase for that minor Python version (Python 3.10.0rc1 | [3.11.0rc1](https://ww

@EwoutH
EwoutH / zopfli-compile.txt
Created October 23, 2019 09:31
AppVeyor Zopfli build warnings and errors
Build FAILED.
"C:\projects\zopfli\cmake_build\zopfli.sln" (default target) (1) ->
"C:\projects\zopfli\cmake_build\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"C:\projects\zopfli\cmake_build\libzopfli.vcxproj.metaproj" (default target) (4) ->
"C:\projects\zopfli\cmake_build\libzopfli.vcxproj" (default target) (5) ->
(ClCompile target) ->
C:\projects\zopfli\src\zopfli\cache.c(36,9): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'size_t' [C:\projects\zopfli\cmake_build\libzopfli.vcxproj]
C:\projects\zopfli\src\zopfli\cache.c(70,27): warning C4267: '=': conversion from 'size_t' to 'unsigned char', possible loss of data [C:\projects\zopfli\cmake_build\libzopfli.vcxproj]
C:\projects\zopfli\src\zopfli\cache.c(73,21): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\projects\zopfli\cmake_build\libzopfli.vcxproj]
C:\projects\zopfli\src\zopfli\deflate.c(392,49): warning C4267: 'funct
@EwoutH
EwoutH / arm-errors.txt
Created October 8, 2019 22:32
SVT-AV1 ARM build errors
[ 8%] Building C object Source/Lib/Common/ASM_SSE4_1/CMakeFiles/COMMON_ASM_SSE4_1.dir/EbComputeSAD_Intrinsic_SSE4_1.c.o
[ 9%] Building C object Source/Lib/Common/ASM_SSE4_1/CMakeFiles/COMMON_ASM_SSE4_1.dir/EbBlend_a64_mask_sse4.c.o
/root/SVT-AV1/Source/Lib/Common/ASM_SSSE3/EbHighbdIntraPrediction_Intrinsic_SSSE3.c:5:10: fatal error: tmmintrin.h: No such file or directory
#include <tmmintrin.h>
^~~~~~~~~~~~~
compilation terminated.
Source/Lib/Common/ASM_SSSE3/CMakeFiles/COMMON_ASM_SSSE3.dir/build.make:86: recipe for target 'Source/Lib/Common/ASM_SSSE3/CMakeFiles/COMMON_ASM_SSSE3.dir /EbHighbdIntraPrediction_Intrinsic_SSSE3.c.o' failed
make[2]: *** [Source/Lib/Common/ASM_SSSE3/CMakeFiles/COMMON_ASM_SSSE3.dir/EbHighbdIntraPrediction_Intrinsic_SSSE3.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/root/SVT-AV1/Source/Lib/Common/ASM_SSE4_