Skip to content

Instantly share code, notes, and snippets.

View tbenst's full-sized avatar

Tyler Benster tbenst

View GitHub Profile
@tbenst
tbenst / remote-ssh.log
Created December 15, 2023 21:48
RemoteCommand sherlock VSCode log
[13:44:03.327] Log Level: 2
[13:44:03.334] SSH Resolver called for "ssh-remote+jaimie-80g-forward", attempt 1
[13:44:03.334] "remote.SSH.useLocalServer": true
[13:44:03.334] "remote.SSH.useExecServer": false
[13:44:03.334] "remote.SSH.path": undefined
[13:44:03.335] "remote.SSH.configFile": undefined
[13:44:03.335] "remote.SSH.useFlock": true
[13:44:03.335] "remote.SSH.lockfilesInTmp": false
[13:44:03.335] "remote.SSH.localServerDownload": auto
[13:44:03.335] "remote.SSH.remoteServerListenOnSocket": false
##
# Dynamic time warping of TTS audio & phoneme textgrids onto T12 audio envelopes.
##
import os, sys, glob
import torch
from tqdm import tqdm
import numpy as np
from textgrids import TextGrid
import torch.nn as nn, scipy
run.py(448): self.define(self._stderr_path, StringSeries([]))
--- modulename: string_series, funcname: __init__
string_series.py(51): if is_stringify_value(values):
--- modulename: __init__, funcname: is_stringify_value
__init__.py(123): return isinstance(var, StringifyValue)
string_series.py(54): if not is_collection(values):
--- modulename: __init__, funcname: is_collection
__init__.py(137): return isinstance(var, (list, set, tuple))
string_series.py(57): self._truncated = any([len(value) > MAX_STRING_SERIES_VALUE_LENGTH for value in values])
--- modulename: string_series, funcname: <listcomp>
silly
watermelon
task
@tbenst
tbenst / gist:b4a1840bda2bff11913cbb3c0a2bb2f0
Last active January 12, 2023 22:49
vscode-server seg fault on Sherlock
(base) [tbenst@sh03-ln02 login ~/.vscode-server]$ module load devel
(base) [tbenst@sh03-ln02 login ~/.vscode-server]$ module load valgrind
(base) [tbenst@sh03-ln02 login ~/.vscode-server]$ valgrind -v /home/users/tbenst/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/bin/code-server
==126986== Memcheck, a memory error detector
==126986== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==126986== Using Valgrind-3.14.0-353a3587bb-20181007X and LibVEX; rerun with -h for copyright info
==126986== Command: /home/users/tbenst/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/bin/code-server
==126986==
--126986-- Valgrind options:
--126986-- -v
error: while evaluating the attribute 'buildCommand' of the derivation 'home-manager-generation' at /Computer/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:201:11:
while evaluating the attribute 'text' of the derivation 'activation-script' at /Computer/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:201:11:
while evaluating 'mkCmd' at /Computer/home-manager/modules/home-environment.nix:519:17, called from undefined position:
while evaluating the attribute 'data' at /Computer/home-manager/modules/lib/dag.nix:91:37:
while evaluating the attribute 'data' at /Computer/home-manager/modules/lib/dag.nix:85:9:
while evaluating the attribute 'data' at undefined position:
while evaluating 'g' at /Computer/nixpkgs/lib/attrsets.nix:298:19, called from undefined position:
while evaluating anonymous function at /Computer/nixpkgs/lib/modules.nix:140:72, called from /Computer/nixpkgs/lib/attrsets.nix:301:20:
while evaluating the attribute 'value' at /Computer/nixpkgs/lib/modules.nix:525:9:
while evaluating the option `home
📂 HDF5.Group: /processing/ophys/ImageSegmentation (file: /scratch/b115/2021-06-08_rsChRmine_h2b6s/fish2/s2p/suite2p/ophys.nwb)
├─ 🏷️ namespace
├─ 🏷️ neurodata_type
├─ 🏷️ object_id
└─ 📂 PlaneSegmentation
├─ 🏷️ colnames
├─ 🏷️ description
├─ 🏷️ namespace
├─ 🏷️ neurodata_type
├─ 🏷️ object_id
import IterTools, Cairo
using Colors, Compose, Fontconfig, PyCall, StatsBase, Glob,
FileIO, Measures, Format, Unitful
pickle = pyimport("pickle")
##
@__DIR__
## https://github.com/julia-vscode/julia-vscode/issues/2104
base_dir = joinpath(@__DIR__, "2020-reconstructions/final-outputs")
base_dir = joinpath(@__DIR__, "final-outputs")
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.