- act2vec, trace2vec, log2vec, model2vec https://link.springer.com/chapter/10.1007/978-3-319-98648-7_18
- apk2vec https://arxiv.org/abs/1809.05693
- app2vec http://paul.rutgers.edu/~qma/research/ma_app2vec.pdf
- ast2vec https://arxiv.org/abs/2103.11614
- attribute2vec https://arxiv.org/abs/2004.01375
- author2vec http://dl.acm.org/citation.cfm?id=2889382
- baller2vec https://arxiv.org/abs/2102.03291
- bb2vec https://arxiv.org/abs/1809.09621
#!/bin/sh | |
# Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the | |
# CREATE block and create them in separate commands _after_ all the INSERTs. | |
# Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. | |
# The mysqldump file is traversed only once. | |
# Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite | |
# Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite |
# Obtain the label of a given class (:class1). | |
SELECT DISTINCT ?c (STR(?l) AS ?lb) | |
WHERE { | |
?c a :class1 ; | |
<http://www.w3.org/2000/01/rdf-schema#label> ?l . | |
} | |
# Obtain a list of classes. | |
SELECT DISTINCT ?c | |
WHERE { |
Yoav Goldberg, Jan 23, 2021.
The FAccT paper "On the Dangers of Stochastic Parrots: Can Languae Models be Too Big" by Bender, Gebru, McMillan-Major and Shmitchell has been the center of a controversary recently. The final version is now out, and, owing a lot to this controversary, would undoubtly become very widely read. I read an earlier draft of the paper, and I think that the new and updated final version is much improved in many ways: kudos for the authors for this upgrade. I also agree with and endorse most of the content. This is important stuff, you should read it.
However, I do find some aspects of the paper (and the resulting discourse around it and around technology) to be problematic. These weren't clear to me when initially reading the first draft several months ago, but they became very clear to me now. These points are for the most part
"""A simple implementation of a greedy transition-based parser. Released under BSD license.""" | |
from os import path | |
import os | |
import sys | |
from collections import defaultdict | |
import random | |
import time | |
import pickle | |
SHIFT = 0; RIGHT = 1; LEFT = 2; |
" Assuming keyboard_leds is built and available in your PATH, | |
" this will make capslock indicate whether or not you are in insert mode. | |
autocmd InsertEnter * :!keyboard_leds -c1 | |
autocmd InsertLeave * :!keyboard_leds -c0 | |
" To make Vim control the keyboard backlight, use this. | |
" Note that it's glitchy and you'll probably toss the idea soon after. | |
" I can see programmatically controlling the lights to be useful in other cases, though. | |
" Install Lab tick and set a hotkey for Toggle, and one for Brighten. | |
" http://labtick.proculo.de/ |
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
# Pull links out of a Wikipedia XML dump on STDIN and spit them out on | |
# STDOUT. | |
from mwlib.uparser import parseString as parseWikiMarkup | |
from xml.dom import pulldom | |
import sys |
These tricks require BibTool, which can be installed using homebrew
.
To extract only the used fields call bibtool -x
on a .aux
file, e.g.
bibtool -x doc.aux -o output.bib
To delete fields that you don't want to share, e.g. notes and file locations,
bibtool -- "delete.field {annote}" -i input.bib -o output.bib