Skip to content

Instantly share code, notes, and snippets.

View JoJoDeveloping's full-sized avatar
💭
🦉

Johannes Hostert JoJoDeveloping

💭
🦉
View GitHub Profile
com.mojang.blaze3d.platform.GLX
com.mojang.blaze3d.platform.GLX$FboMode
com.mojang.blaze3d.platform.GlStateManager
com.mojang.blaze3d.platform.GlStateManager$AlphaState
com.mojang.blaze3d.platform.GlStateManager$BlendState
com.mojang.blaze3d.platform.GlStateManager$BooleanState
com.mojang.blaze3d.platform.GlStateManager$ClearState
com.mojang.blaze3d.platform.GlStateManager$Color
com.mojang.blaze3d.platform.GlStateManager$ColorLogicState
com.mojang.blaze3d.platform.GlStateManager$ColorMask
@JoJoDeveloping
JoJoDeveloping / ArbeitJuli18Lösung.pdf
Last active July 15, 2021 15:38
Lösungen für die Klausur "Mathe für Informatiker II" an der Universität des Saarlandes vom Juli 2018. Diese Version wird fortlaufend aktualisiert.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
curl -O https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_snapshot/20190723-1.14.3/mcp_snapshot-20190723-1.14.3.zip
curl -O https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_config/1.14.4/mcp_config-1.14.4.zip
unzip mcp_config-1.14.4.zip
unzip mcp_snapshot-20190723-1.14.3.zip
cp config/* .
cp ../../MinecraftForge/projects/mcp/build/mcp/mcinject/output.jar joined_srg.jar
ls
#access.txt exceptions.txt mcp_config-1.14.4.zip patches
#config fields.csv mcp_snapshot-20190723-1.14.3.zip static_methods.txt
#config.json joined_srg.jar methods.csv
diff --git a/build.gradle b/build.gradle
index a1bc39dd9..33416efdb 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,6 +1,7 @@
buildscript {
repositories {
mavenLocal()
+ maven { url = 'http://localhost:8000' }
maven { url = 'https://files.minecraftforge.net/maven' }
https://discordapp.com/channels/313125603924639766/454376090362970122/588078118401474706
also
cpw I feel you're somewhat misguided about the new async reloader.. it has an async and a sync phase where stuff is loaded in the async phase and then put into the game in the sync phase. the sync phase is sequential and you can block for things in it.
The IStage isnt a stage the Istagebuilder is a callback. You put it into the compfutute chain at the end of the async workload and then that markes the async part as complete, and returns a compfuture which is itself complete once all the others are done.
Based on it the sync part is predicated, where the async conpute results are applied. This resync 'wait on me' compfuture is built in a way that it runs the things in the order they're supplied.
the one method in IFutureReloadListenee returns an CF that is done when async&sync are done, the IStage is a callback so it can do stuff when async is done.
I named a lot of things already so pull in latest mappings.
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
public class ImageCombiner {
public static void main(String[] args) throws IOException {
if(args.length < 2){
module Parity(
input clock,
input i,
output o
);
reg state = 1'd0;
reg res = 1'd0;
always @(posedge clock)
begin
@JoJoDeveloping
JoJoDeveloping / FAP 2019 summary.md
Last active June 3, 2019 10:57
Summary of the 2019 FAP (Forge Annual Panel)

Find the VOD here: https://www.twitch.tv/videos/433606398, the question list here: https://gist.github.com/JTK222/1f59c90046e2a62cec5165e7b5407c1d or here: https://gist.github.com/cpw/b7d439f14289cec10f8704af462ca938

  • Discord is offline so they use teamspeak, which leads to a bit of organisation mess
  • $WELCOME
  • Happy FAPing
  • The FAP is actually annual
  • Lex and CPW will update everyone on current affairs
  • Attendants: Lex, cpw, mezz,
    • in Chat: tterrag aka gerritt, asiekierka (Fabric guy¹), RainWarrior/fry, many other people
#!/usr/bin/python3
import sys
#Note that this is executed by moving all old md files into a folder like old and then running ./migrator.py $(cd old; ls *.md), because I was to lazy to implement proper file path handling
for f in sys.argv:
ns = f.split("-")
if f[-3:] != ".md": continue
if len(ns) != 3: continue
fv = ns[0]
$ ls -la pd/
total 12
drwxr-xr-x 3 myname myname 4096 Apr 10 23:08 .
drwxr-xr-x 5 myname myname 4096 Apr 10 23:08 ..
lrwxrwxrwx 1 myname myname 3 Apr 10 23:06 a -> b/c
drwxr-xr-x 3 myname myname 4096 Apr 10 23:05 b