Skip to content

Instantly share code, notes, and snippets.

[306/306] src/code/late-globaldb (0.028 sec)
67.482605
ctype cache metrics: Count LF Seek Hit maxPSL Mask
VALUES : 43376 66.2% 8 FFFF
List : 41211 62.9% 10 FFFF
Set : 20691 63.1% 7 7FFF
EQL : 18903 NIL %
UNION : 15162 46.3% 6 7FFF
FUN : 9403 57.4% 7 3FFF
NUMERIC : 6689 40.8% 5 3FFF
While evaluating the form starting at line 149, column 0
of #P"/home/puercopop/code/sbcl/src/cold/warm.lisp":
debugger invoked on a SIMPLE-ERROR in thread
#<THREAD tid=177810 "main thread" RUNNING {100268AE03}>:
Object @ 10026E4547 (gen0) is on page-type 100101
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
mach-nix.url = "github:davhau/mach-nix";
};
outputs = { self, nixpkgs, mach-nix }:
let
pkgs = import nixpkgs { inherit x86_64-linux; };
mach = mach-nix.lib.x86_64-linux;
// https://adventofcode.com/2019/day/6
// https://doc.rust-lang.org/beta/std/collections/struct.HashMap.html
use std::fs;
use std::collections::{
HashSet, HashMap, VecDeque
};
fn main() {
let mut graph = HashMap::new();
let mut reachable = HashMap::new();
&
*
*=
+
+=
,
-
-=
->
/
index 124e380..1e8b8f8 100644
--- a/vis-lua.c
+++ b/vis-lua.c
@@ -2643,7 +2643,8 @@ void vis_lua_init(Vis *vis) {
* - /usr/(local/)?share/vis (or whatever is specified during ./configure)
* - package.path (standard lua search path)
*/
- char path[PATH_MAX];
+ char *path;
+ size_t path_len;
(defun next (prev factor)
(rem (* prev factor) 2147483647))
(defun solve/2 (limit initial-a initial-b)
(let ((gen-a initial-a)
(gen-b initial-b)
(match-count 0)
(success-count 0))
(tagbody
next-a
m = {}
m.prettier_command = "npx prettier"
m.prettier_args = " "
function format_prettier()
local file = vis.win.file
local cmd = m.prettier_command .. m.prettier_args .. file.path
-- Range should default to selection if present:
| win toolbar workspc workspcModel loadBtn saveBtn |
win _ SystemWindow new.
workspcModel _ Workspace withText: 'Transcript show: ''foo'''.
workspc _ TextModelMorph withModel: workspcModel.
toolbar _ LayoutMorph newRow.
loadBtn _ PluggableButtonMorph model: workspc
action: #switch
;; (ql:quickload :clx)
(destructuring-bind (hostname display-id screen-id protocol)
(xlib::get-default-display ":1")
(let ((display (xlib:open-display hostname :display display-id :protocol protocol)))
(xlib/xinerama:xinerama-is-active display)))