Skip to content

Instantly share code, notes, and snippets.

View emberian's full-sized avatar

emberian

View GitHub Profile

Here's how I got Ubuntu 18.04 working on the Dell "New XPS" 9570 with the i9-8950HK. Note that I only used this to setup Linux-only machines. Good luck!

BIOS configuration

  1. Change SATA Operation from RAID to AHCI (this probably messed with Windows, but I don't use Windows on this machine)
  2. Disable secure boot (we'll be using an unsigned kernel. you can sign it etc yourself if you want; good luck)
  3. Disable microphone (optional)
  4. Disable webcam (optional)
#!/usr/bin/env python
import pexpect
import sys
import os
import itertools
which = sys.argv[1]
mailmap = sys.argv[2]

Keybase proof

I hereby claim:

  • I am cmr on github.
  • I am cmr (https://keybase.io/cmr) on keybase.
  • I have a public key whose fingerprint is 560D 0EF0 21CB 41B7 E1E3 4880 F284 F7A1 9456 AE7C

To claim this, I am signing this object:

The annual programming context is coming up! For those of you who do not know,
Clarkson hosts the northeastern regional contest for the ACM International Collegiate
Programming Contest.
There's some information up at http://people.clarkson.edu/clubs/acm/icpc2015.htm.
We generally send at least one team. It's a lot of fun!
--
Corey Richardson : http://octayn.net/
# ps2emu-record V1
# Kernel Info: Linux version 4.1.3-1-ARCH (builduser@tobias) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Wed Jul 22 20:37:12 CEST 2015
# Manufacturer: ASUSTeK COMPUTER INC.
# Product Name: UX303LN
# Version: 1.0
# BIOS Vendor: American Megatrends Inc.
# BIOS Date: 09/01/2014
# BIOS Version: UX303LN.204
#
# Device listing:
4542 [pid 18437] stat64("/home/cmr/Downloads/license.dat", {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0
4543 [pid 18437] stat64("/home/cmr/Downloads/license.dat", {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0
4544 [pid 18437] open("/home/cmr/Downloads/license.dat", O_RDONLY) = 7
4545 [pid 18437] fstat64(7, {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0
4546 [pid 18437] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf50ef000
4547 [pid 18437] read(7, "FEATURE LSC_ICECUBE2_A lattice 1"..., 4096) = 1072
4548 [pid 18437] read(7, "", 4096) = 0
4549 [pid 18437] _llseek(7, 0, [0], SEEK_SET) = 0
4550 [pid 18437] read(7, "FEATURE LSC_ICECUBE2_A lattice 1"..., 4096) = 1072
4551 [pid 18437] read(7, "", 4096) = 0
src/lib.rs:258:46: 258:49 error: unresolved name `hyp`
src/lib.rs:258 new.push(hyp.subst(subst));
^~~
note: in expansion of for loop expansion
src/lib.rs:257:33: 259:34 note: expansion site
note: in expansion of for loop expansion
src/lib.rs:255:29: 261:30 note: expansion site
note: in expansion of for loop expansion
src/lib.rs:227:29: 263:22 note: expansion site
note: in expansion of if let expansion
diff --git a/src/lib.rs b/src/lib.rs
index f42314b..3a92934 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -281,7 +281,7 @@ unsafe impl Num for C {
unsafe impl Complex for C {
#[inline(always)]
- fn dotc() -> unsafe extern fn(blasint, *const <C as Num>::Float, blasint, *const <C as Num>::Float, blasint) -> <C as Num>::RetSelf { cblas_cdotc }
+ fn dotc() -> unsafe extern fn(blasint, *const C::Float, blasint, *const C::Float, blasint) -> C::RetSelf { cblas_cdotc }
[18:53:16]~/Downloads/rust-1.0.0-beta-x86_64-unknown-linux-gnu> sudo ./install.sh --help
Usage: ./install.sh [options]
Options:
./install.sh: line 254: META: unbound variable
int
#ifdef KR_headers
main(argc, argv)
int argc;
char **argv;
#else
main(int argc, char **argv)
#endif