Skip to content

Instantly share code, notes, and snippets.

@tyler274
tyler274 / wezterm.log
Created February 14, 2023 23:23
wezterm build log
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/1b76qlrfy1yhdscx5gq28973q3ppc94k-source
source root is source
Executing cargoSetupPostUnpackHook
unpacking source archive /nix/store/c8gzwhhcmmc9a5wmyrix00n1v5mpdsf7-wezterm-20221119-145034-49b9839f-vendor.tar.gz
Finished cargoSetupPostUnpackHook
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
Executing cargoSetupPostPatchHook
/*
2x grid, nxm
cell alive or dead
at most 8 neighbors
living cell with exactly 2 or 3 living neighbors stays alive, otherwise dies
dead cell with exactly 3 living neighbors becomes alive.
input = [
@tyler274
tyler274 / ui-config.json
Last active October 11, 2022 01:32
my SD config
{
"txt2img/Sampling Steps/value": 20,
"txt2img/Sampling Steps/minimum": 1,
"txt2img/Sampling Steps/maximum": 1000000,
"txt2img/Sampling Steps/step": 1,
"txt2img/Sampling method/value": "Euler a",
"txt2img/Batch count/value": 1,
"txt2img/Batch count/minimum": 1,
"txt2img/Batch count/maximum": 1024,
"txt2img/Batch count/step": 1,
@tyler274
tyler274 / update-alternatives-clang.sh
Last active September 29, 2021 22:34 — forked from junkdog/update-alternatives-clang.sh
you actually do need those "superfluous" shims
#!/usr/bin/env bash
# --slave /usr/bin/$1 $1 /usr/bin/$1-\${version} \\
function register_clang_version {
local version=$1
local priority=$2
update-alternatives \
--verbose \
@tyler274
tyler274 / counter_leading_ones.vhd
Created April 24, 2018 00:41
Leading ones counter with combinatorial loops
----------------------------------
LIBRARY ieee;
USE ieee.std_logic_1164.all;
use ieee.numeric_std.all;
USE ieee.math_real.all; -- is this kosher?
----------------------------
ENTITY counter_leading_ones IS
GENERIC (
'You have betrayed me,’ said Rogal Dorn. Sigismund staggered. He felt as if the words had flayed away all his conditioning and control. If Dorn noticed the effect of his words he did not pause. ‘We are made to serve. That is our purpose.’ Dorn’s voice echoed off the raked stone tiers of the amphitheatre. He was shaking as if huge forces were straining inside him. It was the most terrifying thing Sigismund had ever seen. ‘Every primarch, every son of a primarch exists to serve the Imperium. Our existence has no other meaning.’ Dorn took a step forwards, his presence seeming to tower taller than the statues of his brothers. ‘Our choices are not our own, our fate is not ours to choose. Your will is mine, and through me the Emperor’s. I trusted you and you squandered that trust on pride and superstition.
Sigismund found his voice.
‘I stand with you.’ His voice was raw and unfamiliar, a stranger’s words coming from his mouth. ‘I will stand against the enemies of the Imperium until I die.’
‘You believed the lies
@tyler274
tyler274 / PPUAnalyser-92fb99.cpp
Created August 22, 2017 02:27
clang svn rpcs3 compile failure
This file has been truncated, but you can view the full file.
# 1 "<built-in>"
# 1 "rpcs3/Emu/Cell/PPUAnalyser.cpp"
#if 0 /* expanded by -frewrite-includes */
#include "stdafx.h"
#endif /* expanded by -frewrite-includes */
# 1 "rpcs3/Emu/Cell/PPUAnalyser.cpp"
# 1 "rpcs3/stdafx.h" 1
#if 0 /* expanded by -frewrite-includes */
#pragma once
#endif /* expanded by -frewrite-includes */
@tyler274
tyler274 / RPCS3.log
Created August 3, 2017 01:23
drakengard 3 crash log
This file has been truncated, but you can view the full file.
RPCS3 v0.0.3-5588-5425cf33 Alpha
·W 0:00:00.000000 Current setting not found while creating preferredSPUThreads
·! 0:00:00.001604 LDR: SELF: No NPDRM control info found!
·! 0:00:00.002446 LDR: SELF: No NPDRM control info found!
·! 0:00:00.007305 LDR: SELF: No NPDRM control info found!
·! 0:00:00.008205 LDR: SELF: No NPDRM control info found!
·! 0:00:00.010915 LDR: SELF: No NPDRM control info found!
·! 0:00:00.011627 LDR: SELF: No NPDRM control info found!
·! 0:00:00.011996 LDR: SELF: No NPDRM control info found!
·! 0:00:00.014905 LDR: SELF: No NPDRM control info found!
#0 __cxxabiv1::__cxa_throw (obj=obj@entry=0x7fff20020ea0, tinfo=0x7ffff185da78 <typeinfo for std::out_of_range>, dest=0x7ffff15874c0 <std::out_of_range::~out_of_range()>) at /build/gcc-multilib/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:75
globals = <optimized out>
header = <optimized out>
#1 0x00007ffff159b84f in std::__throw_out_of_range (__s=__s@entry=0x1174e5d "map::at") at /build/gcc-multilib/src/gcc/libstdc++-v3/src/c++11/functexcept.cc:82
No locals.
#2 0x0000000000838a5f in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, psf::entry, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, psf::entry> > >::at (this=this@entry=0x7fff2fffdb50, __k="SAVEDATA_LIST_PARAM") at /usr/include/c++/7.1.1/bits/stl_map.h:533
No locals.
#3 0x000000000082ea1a in save_op_get_list_item (dirName=..., dir=..., sysFi
#0 savedata_op (ppu=..., operation=3, version=1, dirName=..., errDialog=0, setList=..., setBuf=..., funcList=..., funcFixed=..., funcStat=..., funcFile=..., container=4294967295, unknown=0, userdata=..., userId=0, funcDone=...) at /home/tyler274/Builds/rpcs3-git/src/rpcs3/rpcs3/Emu/Cell/Modules/cellSaveData.cpp:354
save_entries = std::vector of length 1, capacity 1 = {{dirName = "NPUB31848-00--001--", listParam = "DATA01", title = "Persona 5 Save Data", subtitle = "Save Data 01", details = "4/9(Sat) Early Morning,???\nPLV:1 aaaa\nPLAY TIME:0h 4m\nDIFFICULTY:Normal\n \n \n", size = 230784, atime = 1500889227, mtime = 1500889226, ctime = 1500889226, iconBuf = std::vector of length 32184, capacity 32184 = {137 '\211', 80 'P', 78 'N', 71 'G', 13 '\r', 10 '\n', 26 '\032', 10 '\n', 0 '\000', 0 '\000', 0 '\000', 13 '\r', 73 'I', 72 'H', 68 'D', 82 'R', 0 '\000', 0 '\000', 1 '\001', 64 '@', 0 '\000', 0 '\000', 0 '\000', 176 '\260', 8 '\b', 2 '\002', 0 '\000', 0 '\000', 0 '\000', 241 '\361', 23 '\027', 32 ' '