Skip to content

Instantly share code, notes, and snippets.

View jaccarmac's full-sized avatar

Jacob MacDonald jaccarmac

View GitHub Profile
@jaccarmac
jaccarmac / steam-490220.log
Last active November 12, 2018 14:57
Prismata compatability report information.
This file has been truncated, but you can view the full file.
ERROR: ld.so: object '/home/jaccarmac/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/jaccarmac/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/jaccarmac/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/jaccarmac/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
891.078:0008:0009:trace:module:load_builtin_callback loaded ntdll.dll 0x1104f8 0x7bc10000
891.078:0008:0009:trace:module:load_builtin_dll Trying built-in L"kernel32.dll"
891.079:0008:0009:trace:module:load_dll looking for L"ntdll.dll" in L""
891.079:0008:0009:trace:module:load_dll Found L"C:\\windows\\system32\\ntdll.dll" for L"ntdll.dll" at 0x7b
diff --git a/rust_src/remacs-sys/lib.rs b/rust_src/remacs-sys/lib.rs
index 028044b82a..88baff0342 100755
--- a/rust_src/remacs-sys/lib.rs
+++ b/rust_src/remacs-sys/lib.rs
@@ -1162,6 +1162,13 @@ extern "C" {
pub fn hash_remove_from_table(h: *mut Lisp_Hash_Table, key: Lisp_Object);
pub fn set_point_both(charpos: ptrdiff_t, bytepos: ptrdiff_t);
pub fn buf_charpos_to_bytepos(buffer: *const Lisp_Buffer, charpos: ptrdiff_t) -> ptrdiff_t;
+
+ pub fn Finsert_char(
nSquareRoots(N) :-
numlist(1, N, Squares),
maplist(customSqrt(0.001), Squares, SquareRoots),
writeln("Squares:"),
writeln(Squares),
writeln("Square roots:"),
writeln(SquareRoots).
customSqrt(E, A, Y) :-
X is A * 0.5,
program nSquareRoots
parameter (n = 100)
real, dimension (n) :: squares, squareRoots
squares = (/ (i, i = 1, n) /)
squareRoots = (/ (customSqrt(squares(i), 0.001), i = 1, n) /)
Print *, "Squares:"
Print *, squares
Print *, "Square roots:"
Print *, squareRoots
end program nSquareRoots
@jaccarmac
jaccarmac / keybase.md
Created September 26, 2014 17:26
keybase.md

Keybase proof

I hereby claim:

  • I am jaccarmac on github.
  • I am jaccarmac (https://keybase.io/jaccarmac) on keybase.
  • I have a public key whose fingerprint is 4A8F 2C14 679E E66D F9F6 7865 C74F D39C BEE9 F655

To claim this, I am signing this object: