Skip to content

Instantly share code, notes, and snippets.

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

Kel distransient

🍜
Mmm noodles tasty
View GitHub Profile

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
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());
@distransient
distransient / 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.

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.

@distransient
distransient / carousel.js
Created June 22, 2016 02:49
Sibilant Carousel Example
@distransient
distransient / 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"
@distransient
distransient / alternatePattern.js
Last active February 19, 2016 20:17
Javascript prototype demonstration
// since we know how prototype works, now we can forget it exists
// and forfeit from using it in our code, because of the penalty
// it incurs in the form of extra complexity
function numberArray() {
var x = { value: Array.apply(null, arguments) }
x.sum = function () { return this.value.reduce(function(x, y) { return x + y }) }
return x
}
______ _ ______
| ___ (_) | ___ \
| |_/ /_ __ _ | |_/ / ___ ___ ___
| ___ \ |/ _` | | ___ \/ _ \/ __/ __|
| |_/ / | (_| | | |_/ / (_) \__ \__ \
\____/|_|\__, | \____/ \___/|___/___/
__/ | ,d88b.d88b,
|___/ 88888888888
____ `Y8888888Y'
/ __ \ LOVES `Y888Y'
@distransient
distransient / wishlist.md
Last active September 24, 2015 18:02
Github wishlist

all of this would be really cool and help make everybody's life easier

and I'm sure some people would be happy to pay for some of these features

  • mercurial support
  • pull requests do rebase-merge instead of just merge
  • looking at log of commits on a branch should also show tags and branches that are pointing to those commits
  • search through contents of all commits, not just the contents of currently selected branch/commit-ish
  • issues system integrating with external issues trackers
  • repository metrics accessible via rest/downloadable as csv or smth