This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Preliminary results for dtoa-benchmark ported to ESP32 | |
| Changes: | |
| - remove doubleconv, uscale, and xjb64 because they didn't compile | |
| - change benchmark.cc from_chars to use std::from_chars istead of doubleconv | |
| - change random_digit data to use an std::array and reduce size to 1200 doubles per digit to avoid running out of memory on ESP32 | |
| The above run also has an extra printf when starting a benchmark ("Benchmarking" and "Benchmarked") and disabled verification. | |
| Verification works and has the same output as on x86-64 when not disabled. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required(VERSION 3.20) | |
| # default build type | |
| set(CMAKE_BUILD_TYPE "MinSizeRel" CACHE STRING "build type") | |
| include(pico_sdk_import.cmake) | |
| project(flash_id C CXX ASM) | |
| pico_sdk_init() | |
| add_executable(flash_id flash_id.c) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import sys | |
| from typing import Optional, TypeAlias | |
| Color: TypeAlias = tuple[int, int, int] | |
| def parse_rgbcolor(color: str) -> Color: | |
| r, g, b = color.split(",") | |
| return int(r), int(g), int(b) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define iimpls | |
| set var $g_pair_impl = (void*)_L3Nstd4NpairL3I0 | |
| set var $g_nil_impl = (void*)_L3Nstd5NfalseL1I0 | |
| # set var $g_succ_impl = (void*)_L3Nstd4NsuccL2I0 | |
| set var $g_succ_impl = (void*)_L3Nstd2NorL2I1 | |
| set var $g_zero_impl = (void*)_L3Nstd5NfalseL1I0 | |
| end | |
| set var $g_have_impls = 0 | |
| define itimpls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define iimpls | |
| set var $g_pair_impl = (void*)_L3Nstd4NpairL3I0 | |
| set var $g_nil_impl = (void*)_L3Nstd5NfalseL1I0 | |
| # set var $g_succ_impl = (void*)_L3Nstd4NsuccL2I0 | |
| set var $g_succ_impl = (void*)_L3Nstd2NorL2I1 | |
| set var $g_zero_impl = (void*)_L3Nstd5NfalseL1I0 | |
| end | |
| set var $g_have_impls = 0 | |
| define itimpls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/X11/xorg.conf.d/10-monitors.conf | |
| # rotate monitor correctly on X11 | |
| Section "Monitor" | |
| Identifier "DSI-1" | |
| Option "Rotate" "right" | |
| EndSection | |
| # rotate touchscreen input correctly on X11 | |
| Section "InputClass" | |
| Identifier "Touchscreen DSI-1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| expandedfoods | |
| bettermoisture | |
| hudclock | |
| autoatlas | |
| fromgoldencombs | |
| juicyores | |
| aculinaryartillery | |
| fantasycreatures | |
| VsTrashcan | |
| plumpkins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mode "present" { | |
| bindsym m mode "default"; exec wl-present mirror | |
| bindsym o mode "default"; exec wl-present set-output | |
| bindsym r mode "default"; exec wl-present set-region | |
| bindsym Shift+r mode "default"; exec wl-present custom --no-region | |
| bindsym s mode "default"; exec wl-present set-scaling | |
| bindsym c mode "default"; exec wl-present custom | |
| # return to default mode | |
| bindsym Return mode "default" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import sys | |
| import matplotlib.pyplot as plt | |
| import requests as rq | |
| import pandas as pd | |
| import numpy as np | |
| from typing import cast | |
| from io import StringIO | |
| from datetime import date |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include <type_traits> | |
| #include <utility> | |
| #include <tuple> | |
| #include <optional> | |
| namespace named_args { | |
| // named argument value type | |
| template <typename T, typename K> |
NewerOlder