Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts and experience preferred (super rare at this point).
import base64 | |
from io import BytesIO | |
from PIL import Image | |
import torch | |
import torch.nn as nn | |
import ollama | |
from diffusers import DiffusionPipeline, StableDiffusionPipeline | |
from safetensors.torch import load_file | |
from transformers import CLIPProcessor, CLIPModel, AutoImageProcessor, AutoModel |
If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.
Here are several different ways to test a TCP port without telnet.
BASH (man page)
$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C
$ cat < /dev/tcp/127.0.0.1/23
class Frame extends Component { | |
componentDidMount() { | |
this.iframeHead = this.node.contentDocument.head | |
this.iframeRoot = this.node.contentDocument.body | |
this.forceUpdate() | |
} | |
render() { | |
const { children, head, ...rest } = this.props | |
return ( |
<?php | |
require_once __DIR__.'/../vendor/autoload.php'; | |
use Symfony\Component\Console\Helper\Table; | |
use Symfony\Component\Console\Output\ConsoleOutput; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Silex\Application; | |
/** |
function install_faiss() { | |
pyenv shell rise | |
pip install numpy | |
sudo apt-get install -y \ | |
build-essential \ | |
libopenblas-dev \ | |
gfortran \ | |
swig | |
PREFIX_MAIN=$(pyenv virtualenv-prefix) |
On July 22, Github announced the 3rd Annual Github Data Challenge presenting multiple sources of data available.
This sounded to me a good opportunity to use their available data and import it in Neo4j in order to have a lot of fun at analyzing the data that fits naturally in a graph.
As I work mainly offline or behind military proxies that do not permit me to use the ReST API, I decided to go for the Github Archive available here, you can then download json files representing Github Events on a daily/hour basis.