Skip to content

Instantly share code, notes, and snippets.

View topokel's full-sized avatar
🍜
Mmm noodles tasty

Kel topokel

🍜
Mmm noodles tasty
View GitHub Profile
@topokel
topokel / config_base.gd
Created October 21, 2024 22:37
Godot settings
class_name ConfigBase extends Node
## Base class for Configuration
## Types to filter on when reflecting on subclass properties.
const VALID_PROP_TYPES : Array[int] = [
Variant.Type.TYPE_BOOL,
Variant.Type.TYPE_INT,
Variant.Type.TYPE_FLOAT,
Variant.Type.TYPE_STRING,
let storage = () // this is the placeholder I'm using for your component storage;
//
// this following stuff would go in your system init
//
// create bitsets for each kind in your enum, keep in system struct data
let (head, body, turn, tail) =
(BitSet::default(), BitSet::default(), BitSet::default(), BitSet::default());

Keybase proof

I hereby claim:

  • I am distransient on github.
  • I am distransient (https://keybase.io/distransient) on keybase.
  • I have a public key ASAMXAnd4BW987Su9vodMVQxa90nriH6Hlw0PIru-tB1OAo

To claim this, I am signing this object:

error[E0275]: overflow evaluating the requirement `&specs::storage::restrict::RestrictedStorage<'_, '_, _, _, _, _>: specs::join::Join`
--> amethyst_ui\src\pass.rs:260:74
|
260 | for (entity, transform, _new) in (&*entities, &transforms, &new).join() {
| ^^^^
|
= help: consider adding a `#![recursion_limit="128"]` attribute to your crate
= note: required because of the requirements on the impl of `specs::join::Join` for `&shred::world::Fetch<'_, specs::storage::restrict::RestrictedStorage<'_, '_, _, _, _, _>>`
= note: required because of the requirements on the impl of `specs::join::Join` for `&shred::world::Fetch<'_, shred::world::Fetch<'_, specs::storage::restrict::RestrictedStorage<'_, '_, _, _, _, _>>>`
= note: required because of the requirements on the impl of `specs::join::Join` for `&shred::world::Fetch<'_, shred::world::Fetch<'_, shred::world::Fetch<'_, specs::storage::restrict::RestrictedS
@topokel
topokel / mm.md
Last active November 15, 2018 20:23

Sorry for putting this in a kind of pastebin (couldn't fit in character limit), but I hope my thoughts help progress this discussion;

There's plenty you could say about the applicability of concepts between matchmaking and serious gameplay but the biggest issue that continues to go unaddressed broadly speaking, although you somewhat worked towards addressing it yourself, is that matchmaking in its form exists at all.

The fact that players are automatically placed into matches with random strangers in this specific format is just going to lead to poor gameplay.

@topokel
topokel / issue.md
Last active November 6, 2018 20:23

ATA Errors

Booting on an iPod 5th Gen (Video, 2005 30gb version), attempted 3.14 stable and checkout b5fb978

iPod modified with iFlash-SATA (ZIF-mSATA chip) and Dogfish 128gb mSATA SSD

Works properly in factory system (latest update), drive is formatted to FAT32, installation performed with Windows Rockbox Utility

Panics on startup (although sometimes after the menu shows for some time) with either an ATA -11 or ATA -32 error.

@topokel
topokel / Config.ini
Created June 24, 2015 01:06
bug.n solarized color theme
Config_backColor_#1=eee8d5;eee8d5;eee8d5;eee8d5;eee8d5;eee8d5;eee8d5;eee8d5;eee8d5
Config_backColor_#2=073642;;;;;;;eee8d5;eee8d5
Config_backColor_#3=;;;;;;;eee8d5;
Config_foreColor_#1=268bd2;eee8d5;eee8d5;eee8d5;eee8d5;eee8d5;eee8d5;268bd2;073642
Config_foreColor_#2=d33682;;;;;;;073642;073642
Config_foreColor_#3=;;;;;;;d33682;
Config_fontColor_#1=93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1
Config_fontColor_#2=93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1;93a1a1
Config_fontColor_#3=;;;;;;;d33682;
@topokel
topokel / carousel.js
Created June 22, 2016 02:49
Sibilant Carousel Example
// to use, open a crosh session and press ctrl+shift+j to open up the inspector and navigate to the console
// copy paste this script and press enter and the preferences will be placed in localstorage so that they will
// load on subsequent crosh sessions.
//
// more information here: http://git.chromium.org/gitweb/?p=chromiumos/platform/assets.git;a=blob;f=chromeapps/nassh/doc/faq.txt
localStorage.clear() // reset so that options (specifically font-family) don't get weird.
term_.prefs_.set("environment", {TERM: "xterm-256color"})
term_.prefs_.set("audible-bell-sound", "") // disable error bell sound
@topokel
topokel / intermediateDevelopment.md
Last active February 25, 2016 01:07
Resources for intermediate skilled web developers

Intermediate Developer Resources

Resources for intermediate skilled web developers

Accessibility

  • [A11yproject's Web Accessibility Checklist][] - "A beginner's guide to web accessibility" Everything on a11yproject.com is very helpful for working to make a website more accessible for users from your grandparents, to those dealing with one or more out of a variety of kinds of disabled.
  • [W3C's Guidelines For Contrast][] - "Ensuring that a contrast ratio of at least 4.5:1 exists between text"