Skip to content

Instantly share code, notes, and snippets.

Godot migration architecture

Scope: planning for the future, currently unstarted Godot migration only. Apply this guidance only when explicitly working on that migration. It does not apply to ongoing development, bug fixes, lookup-table work, or other tickets in the existing C# implementation. It creates no new acceptance gates, service or interface requirements, or refactoring obligations for that work. The source examples below explain future migration constraints; they are not a cleanup queue or instructions to change those files now. Writing or reading this plan does not start the migration or authorize switching away from the active ticket.

Installing a New Linux Distribution on the Anbernic RG35XX SP

Device Overview

The RG35XX SP is a clamshell (GBA SP-style) retro gaming handheld from Anbernic. Its internals are shared across the entire RG35XX-family (Plus, H, 2024, SP, and the RG28XX). The hardware that matters for this guide:

  • SoC: Allwinner H700 (a variant of the H616 family), quad-core ARM Cortex-A53 (AArch64/armhf)
  • GPU: Mali G31 MP2 (supported by Panfrost in mainline, but display pipeline support is incomplete)
  • PMIC: AXP717 (an uncommon part — driver support is limited)
  • RAM: 1 GB LPDDR4

How to Download Anbernic Firmware from Google Drive When Download Quota is Exceeded

When downloading Anbernic firmware files from their official Google Drive links, you might encounter the "Download quota exceeded for this file, so you can't download it at this time" error message. This happens when too many people have downloaded the firmware within a 24-hour period - a common occurrence with popular firmware releases.

Guide1

Fortunately, there's a simple workaround: download the file from your "Shared with me" section.

Step-by-Step Instructions

tatic void llama_sampler_power_law_apply(struct llama_sampler * smpl, llama_token_data_array * cur_p) {
auto * ctx = (llama_sampler_power_law *) smpl->ctx;
// 1. Compute probabilities to get the "original" values
llama_sampler_softmax_impl(cur_p, false);
// 2. Backup original probabilities (needed for history update)
// We assume cur_p is not reordered by softmax_impl(..., false)
std::vector<float> original_probs;
original_probs.reserve(cur_p->size);
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace UnityTail
{
class Program
{
SELECT
[UnionAll8].[_Id] AS [C1],
[UnionAll8].[_Id1] AS [C2],
[UnionAll8].[Attack] AS [C3],
[UnionAll8].[AttackRange] AS [C4],
[UnionAll8].[AwarenessRange] AS [C5],
[UnionAll8].[Class] AS [C6],
[UnionAll8].[CombatSpeed] AS [C7],
[UnionAll8].[Damage] AS [C8],
[UnionAll8].[DamageType] AS [C9],
public class Cat() {
Vector2 toChase { get; set; }
Vector2 position { get; set; }
public Cat(Vector2 toChasePosition) {
toChase = toChasePosition;
}
public class Cat() {
Mouse toChase { get; set; }
Vector2 position { get; set; }
public Cat(Mouse mouse) {
toChase = mouse;
}
public class Cat() {
Mouse toChase { get; set; }
Vector2 position { get; set; }
public Cat(Mouse mouse) {
toChase = mouse;
}