Skip to content

Instantly share code, notes, and snippets.

View NicholasLYang's full-sized avatar

Nicholas Yang NicholasLYang

View GitHub Profile
Compiling vicuna-compiler v0.1.1 (/Users/nicholas/projects/vicuna/crates/vicuna-compiler)
thread 'rustc' panicked at compiler/rustc_middle/src/dep_graph/dep_node.rs:198:17:
Failed to extract DefId: opt_local_def_id_to_hir_id bfbe25e3122aef0f-517229e879cde85f
stack backtrace:
0: 0x103485304 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h298c9ab285ff3934
1: 0x1034c72c8 - core::fmt::write::h4e276abdb6d0c2a1
2: 0x10347bac4 - std::io::Write::write_fmt::hd421848f5f0bf9d0
3: 0x103485140 - std::sys_common::backtrace::print::hd8bd9ecab1f94b94
4: 0x103487b40 - std::panicking::default_hook::{{closure}}::h520eeb743fc98fb4
5: 0x103487888 - std::panicking::default_hook::ha6550ffe49b63df1
@NicholasLYang
NicholasLYang / evolve_dont_transplant.md
Last active July 20, 2020 00:08
Evolve, don't transplant

Let's face it. Fall 2020 will be online. There is no part of the United States that is safe enough for 20 people to congregate indoors. That will not change by September. Even if your university against all logic or reason reopens. Even if they manage to convince a professor to teach a class in person, i.e. spend at least an hour in a room with multiple potential covid-carriers. Even if you enroll in said class. Even if science doesn't get in the way. Even then, every class will have to be partially online.

.equiv @sbrk, 9
.equiv @print_string, 4
.equiv @print_char, 11
.equiv @print_int, 1
.equiv @exit2, 17
.equiv @read_string, 8
.equiv @fill_line_buffer, 18
.equiv @.__obj_size__, 4
.equiv @.__len__, 12
.equiv @.__int__, 12
@NicholasLYang
NicholasLYang / index.html
Created January 27, 2020 23:42
Electron Rounded Corners Repro
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<style>
.main-window {
border-radius: 20px;
background-color: white;
height: 100vh;
margin-bottom: 100px
@NicholasLYang
NicholasLYang / jokes
Created October 16, 2018 20:26
Emacs Jokes
The Free Software Foundation claims no copyright on this file,
compiled largely from postings to public newsgroups and mailing lists,
and the GNU project email archives.
From: Don Chiasson <G.CHIASSON@DREA-XX.ARPA>
Subject: Some gnu jokes
To: jokes@DREA-XX.ARPA, gergely@DREA-XX.ARPA, broome@DREA-XX.ARPA
cc: G.CHIASSON@DREA-XX.ARPA
Message-ID: <12329394624.13.G.CHIASSON@DREA-XX.ARPA>

Keybase proof

I hereby claim:

  • I am nicholaslyang on github.
  • I am nicholaslyang (https://keybase.io/nicholaslyang) on keybase.
  • I have a public key ASCNRuFhdu1f64SS-Qs6G7dzgC_gUIcX-s0enFn4-jyjQQo

To claim this, I am signing this object: