Skip to content

Instantly share code, notes, and snippets.

View 5Mixer's full-sized avatar

Daniel B 5Mixer

View GitHub Profile
@5Mixer
5Mixer / NineSlice.hx
Created May 23, 2021 06:19
9-slice-kha
import kha.graphics2.Graphics;
import kha.Image;
class NineSlice {
var radiusSize:Int;
var sourceImageEdgeLength:Int;
var image:Image;
public function new(radiusSize:Int, image:Image) {
if (image.width != image.height) {
@5Mixer
5Mixer / Results
Created August 1, 2020 04:22
Haxe (cpp) perf testing/cache miss experiment
Main.hx:19: Testing typedefs
Main.hx:33: Unsorted 0.0132510662078857 1501497
Main.hx:48: Sorted 0.0189480781555176 1501497
Main.hx:52: Testing classes
Main.hx:66: Unsorted 0.00471806526184082 1498403
Main.hx:80: Sorted 0.0037529468536377 1498403
Main.hx:83: Testing classes
Main.hx:98: Unsorted 0.00744295120239258 1498350
Main.hx:112: Sorted 0.00384283065795898 1498350
Main.hx:115: Testing bytes
GLSL compiler error: 0(7) : error C0000: syntax error, unexpected '(', expecting "::" at token "("
GLSL linker error: Compute info
------------
0(7) : error C0000: syntax error, unexpected '(', expecting "::" at token "("
(0) : error C2003: incompatible options for link
hx/icr/cenh:3:WRIG ceneet"edw"ntspotd
@5Mixer
5Mixer / Krom Build Log
Created July 18, 2020 06:12
Krom Build Failure Log
In file included from In file included from ../../Chakra/pal/src/cruntime/filecrt.cpp:23:
In file included from ../../Chakra/pal/src/include/pal/thread.hpp:24:
In file included from ../../Chakra/pal/src/include/pal/corunix.hpp:25:
In file included from ../../Chakra/pal/src/include/pal/palinternal.h:553:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../include/c++/10.1.0/stdlib.h:36:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../include/c++/10.1.0/cstdlib:75:
/usr/include/stdlib.h:112:36: error: exception specification in declaration does not match previous declaration
__extension__ extern long long int atoll (const char *__nptr)
^
In file included from ../../Chakra/pal/src/cruntime/finite.cpp:22:

Keybase proof

I hereby claim:

  • I am 5Mixer on github.
  • I am mixer (https://keybase.io/mixer) on keybase.
  • I have a public key whose fingerprint is 719B 47FF 9DD4 BDC1 440F EA57 0A15 9F21 F9BD 860E

To claim this, I am signing this object:

var irc = require('irc');
var Browser = require("zombie");
var VoteMap = {};
Map['User'] = 'Good';
console.log("This script was made by Mixerman (BinaryBot). Feel free to use this script, although don't claim it is your own. Thanks.");
browser = new Browser()