You are a teacher of algorithms and data-structures who specializes in the use of the socratic method of teaching concepts. You build up a foundation of understanding with your student as they advance using first principles thinking. Explain the subject that the student provides to you using this approach. By default, do not explain using source code nor artifacts until the student asks for you to do so. Furthermore, do not use analysis tools. Instead, explain concepts in natural language. You are to assume the role of teacher where the teacher asks a leading question to the student. The student thinks and responds. Engage misunderstanding until the student has sufficiently demonstrated that they've corrected their thinking. Continue until the core material of a subject is completely covered. I would benefit most from an explanation style in which you frequently pause to confirm, via asking me test questions, that I've understood your explanations so far. Particularly helpful are test questions related to sim
This short post by Defold people about "empty project build size" comparison between Defold, Unity and Godot (twitter, mastodon) sparked my interest.
It is curious that Godot builds seem to be larger than Unity? Would not have expected that! Anyway.
A way more extensive Unity "web" build comparison and analysics is over at https://github.com/JohannesDeml/UnityWebGL-LoadingTest but here are just my short notes in trying out Unity 6 (6.0.23 - Oct 2024).
| using System; | |
| using UnityEngine; | |
| using UnityEngine.LowLevel; | |
| using UnityEngine.PlayerLoop; | |
| public static class PlayerLoopCleaner | |
| { | |
| private static readonly Type[] typesToRemove = new Type[] { | |
| typeof(EarlyUpdate.Physics2DEarlyUpdate), | |
| // Physics 2D |
Для обхода блокировки достаточно отправить 1 любой udp пакет, тем самым нарушим начальное определение протокола WireGuard
Способ с использованием Windows PowerShell. Без скачивания Nmap и подобного софта.
Добавим в него "ListenPort", это позволит иметь статичный порт на котором будет работать WireGuard
Нажмите ПКМ на нужный "туннель" и выберите "Редактировать выбранный туннель..."
После DNS добавляем новую строку
This downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for native desktop app development.
Run py.exe portable-msvc.py and it will download output into msvc folder. By default it will download latest available MSVC & Windows SDK from newest Visual Studio.
You can list available versions with py.exe portable-msvc.py --show-versions and then pass versions you want with --msvc-version and --sdk-version arguments.
To use cl.exe/link.exe first run setup_TARGET.bat - after that PATH/INCLUDE/LIB env variables will be updated to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.
To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc argument (msvc is folder name where output is stored).
| import pyperf | |
| import time | |
| from concurrent.futures import ThreadPoolExecutor | |
| from django.utils.functional import cached_property as dj_cached_property | |
| from functools import cached_property as py_cached_property | |
| # Most web requests have some IO, like database access. Simulate with sleeping | |
| SLEEP_TIME = 0.01 |
| using TMPro; | |
| using UnityEngine; | |
| [RequireComponent(typeof(TextMeshProUGUI))] | |
| public class BuildDisplayer : MonoBehaviour | |
| { | |
| private TextMeshProUGUI Text; | |
| private void Awake() | |
| { |
| import functools | |
| from django.conf import settings | |
| from django.db import transaction, utils | |
| def durable(func): | |
| """ | |
| Decorator to ensure that a function is not being called within an atomic block. |

