By default the nodejs version is very old. You can instead use NVM.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
source .bashrc
nvm install node
"{{{ README | |
" Use zm to fold this file into sections | |
" Use za to toggle the sections open/closed | |
" | |
" This config file aims to be the simplest/dependency free it could be. | |
" - Anything that can intuitively be done with vim itself is done so. | |
" - If required pure vimscript plugins are prefered. | |
" - LSP is used as it reduces the number of additional plugins required | |
" (Check LSP section to see what to install) | |
"}}} |
# This file is a modified version of the default endeavouros i3 config. | |
# i3 config file | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! | |
set $mod Mod4 | |
# workspace layouts: | |
#default i3 tiling mode |
# This file is a modified version of the default endeavouros file. | |
# i3blocks config file | |
# List of valid properties: | |
# | |
# align | |
# color | |
# command | |
# full_text | |
# instance |
[redshift] | |
temp-day=4000 | |
temp-night=3500 | |
location-provider=manual | |
[manual] | |
lat=41 | |
lon=28 |
# | |
# ~/.bashrc | |
# | |
# PROMPT | |
PS1="\e[1;32m-> \e[0m" | |
By default the nodejs version is very old. You can instead use NVM.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
source .bashrc
nvm install node
#include <iostream> | |
#include <vector> | |
#include <fstream> | |
#include <algorithm> | |
#include <cstring> | |
#include <cmath> | |
#include <omp.h> | |
#include <random> | |
#include <regex> | |
#include <string> |
import Pyro4 | |
import subprocess as sp | |
import multiprocessing as mp | |
import threading | |
import time | |
def run_btc(): | |
sp.run(["python", "BTCServer.py"]) | |
def run_eth(): |
SparseBase's current (as of version 0.1.2) format system has several weaknesses that we would like to address in the upcomming releases. Here I will be describing these weaknesses. We are already working on new designs and we are also open to suggestions.
Currently, most classes in the library have three templated types (IDType, NNZType, ValType). These allow the users to set the various underlying arrays of the sparse format to different types. For example all 3 arrays of a CSR could be different types allowing flexible memory and precision management. Since SparseBase's main goal is to accommodate the user's needs, this flexibility is an important feature.
However this system introduces some problems:
import cv2 | |
import easyocr | |
import numpy as np | |
import itertools | |
import random | |
from sklearn import cluster | |
from sklearn.preprocessing import Normalizer | |
from collections import Counter | |
from copy import deepcopy | |
import sys |