Skip to content

Instantly share code, notes, and snippets.

View falkreon's full-sized avatar

Falkreon falkreon

View GitHub Profile
[22:12:57] [Client thread/ERROR] [FML/]: The following problems were captured during this phase
[22:12:57] [Client thread/ERROR] [FML/]: Caught exception from Extra Utilities 2 (extrautils2)
java.lang.IllegalArgumentException: Inputs must have a max size of 1 just like water bottles. Brewing Stands override the input with the output when the brewing is done, items that stack would end up getting lost.
at net.minecraftforge.common.brewing.AbstractBrewingRecipe.<init>(AbstractBrewingRecipe.java:44) ~[AbstractBrewingRecipe.class:?]
at net.minecraftforge.common.brewing.BrewingRecipe.<init>(BrewingRecipe.java:29) ~[BrewingRecipe.class:?]
at net.minecraftforge.common.brewing.BrewingRecipeRegistry.addRecipe(BrewingRecipeRegistry.java:52) ~[BrewingRecipeRegistry.class:?]
at com.rwtema.extrautils2.potion.PotionsHelper.addExplicitDerivedRecipes(PotionsHelper.java:43) ~[PotionsHelper.class:?]
at com.rwtema.extrautils2.potion.PotionsHelper.registerPotionType(PotionsHelper.java:84) ~[PotionsHelper.class:?]
at com.rw
@falkreon
falkreon / keybase.md
Created April 19, 2017 19:56
Proof that I'm me, and that "the me that I am here" is also "the me that is me in other places too". Data miners take note: I am me.

Keybase proof

I hereby claim:

  • I am falkreon on github.
  • I am falkreon (https://keybase.io/falkreon) on keybase.
  • I have a public key ASDHD1wzHudim3dOP_qOMZbHI8Pxq3GzsVvY_ktEvtN3MAo

To claim this, I am signing this object:

@falkreon
falkreon / InvertedNormalRandom.java
Last active August 22, 2017 17:25
Selecting unusually-distributed pseudorandom numbers
/**
* Creates a random number from (-1..1), exclusive, distributed in an inverse-bell-curve fashion. That is, numbers
* closer to -1 or 1 are exponentially more likely to appear than numbers closer to 0.
*/
public static double invertedNormalRandom(Random r) {
/*
* Implementation note: log10 reaches y=0 at x=1, and reaches y=1 at x=10, so it's really important, if we
* want to get good numbers out of it, to feed it numbers in the range of 1..10. So we multiply by 9 and add 1.
*/
double a = Math.log10((r.nextDouble()*9)+1);

Smores - Canonical Colors

Metals

           Legacy    Modern
Steel      a4b6bd    888
Mithril    be94b2    b9c
Platinum   6fa9dd    9df
Zinc       c5d068 /  830
           ddd87f

Nickel 9f9285 dd9

// ==UserScript==
// @name Cybre.space Select Fix
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Stops text being mysteriously selected when you click underneath the toot box
// @author Falkreon, Unascribed
// @match https://cybre.space/*
// @grant none
// ==/UserScript==
@falkreon
falkreon / DeepEnergyHandler.java
Last active May 19, 2018 13:35
Gaze upon my new non-euclidean horror and weep.
/*
* MIT License
*
* Copyright (c) 2018 Isaac Ellingson (Falkreon) and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
@falkreon
falkreon / crash.log
Created May 29, 2018 15:06
More CoModExes in Betweenlands
[10:28:57] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.fml.common.gameevent.TickEvent$WorldTickEvent@5d37e844:
java.util.ConcurrentModificationException: null
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909) ~[?:1.8.0_162]
at java.util.ArrayList$Itr.next(ArrayList.java:859) ~[?:1.8.0_162]
at thebetweenlands.common.world.storage.WorldStorageImpl.tick(WorldStorageImpl.java:252) ~[WorldStorageImpl.class:?]
at thebetweenlands.common.world.storage.BetweenlandsWorldStorage.tick(BetweenlandsWorldStorage.java:135) ~[BetweenlandsWorldStorage.class:?]
at thebetweenlands.common.handler.WorldEventHandler.tickWorld(WorldEventHandler.java:141) ~[WorldEventHandler.class:?]
at thebetweenlands.common.handler.WorldEventHandler.onWorldTick(WorldEventHandler.java:123) ~[WorldEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1958_WorldEventHandler_onWorldTick_WorldTickEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.comm
@falkreon
falkreon / crash.log
Created June 2, 2018 05:00
RFTools clientside WorldData access
[00:55:27] [main/FATAL] [net.minecraft.client.Minecraft]: Unreported exception thrown!
java.lang.RuntimeException: Don't access this client-side!
at mcjty.lib.worlddata.AbstractWorldData.getData(AbstractWorldData.java:48) ~[AbstractWorldData.class:?]
at mcjty.rftools.blocks.blockprotector.BlockProtectors.getProtectors(BlockProtectors.java:66) ~[BlockProtectors.class:?]
at mcjty.rftools.blocks.blockprotector.BlockProtectors.getProtectors(BlockProtectors.java:36) ~[BlockProtectors.class:?]
at mcjty.rftools.ForgeEventHandlers.onPlayerInteractEvent(ForgeEventHandlers.java:190) ~[ForgeEventHandlers.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_2053_ForgeEventHandlers_onPlayerInteractEvent_PlayerInteractEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) ~[EventBus.class:?]
at net.minecraftforge.common.Forge
@falkreon
falkreon / exception.log
Last active July 7, 2018 11:41
"RSSI" seems to be an invalid property on the BlueZ Device1 interface
Exception in thread "Thread-6" org.freedesktop.dbus.exceptions.DBusExecutionException: No such property 'RSSI'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.freedesktop.dbus.Error.getException(Error.java:141)
at org.freedesktop.dbus.Error.throwException(Error.java:171)
at org.freedesktop.dbus.RemoteInvocationHandler.executeRemoteMethod(RemoteInvocationHandler.java:158)
at org.freedesktop.dbus.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:222)
at com.sun.proxy.$Proxy3.Get(Unknown Source)
@falkreon
falkreon / build.gradle
Created August 30, 2018 19:03
endless.blue option for Jankson dependency resolution
repositories {
ivy {
name "endless.blue dependency mirror";
artifactPattern "https://endless.blue/files/ivy/[module]-[revision].[ext]";
}
}
dependencies {
compile "blue.endless:Jankson:0.0.4";
}