Skip to content

Instantly share code, notes, and snippets.

View Canx's full-sized avatar

Ruben Cancho Canx

View GitHub Profile

AI-Powered Algorithmic Trading with Python

ODSC London 2023 Half-Day Training

Dr. Yves J. Hilpisch
CEO The Python Quants | The AI Machine
Adjunct Professor of Computational Finance

@yoavg
yoavg / LLMs.md
Last active February 17, 2024 18:39

Some remarks on Large Language Models

Yoav Goldberg, January 2023

Audience: I assume you heard of chatGPT, maybe played with it a little, and was imressed by it (or tried very hard not to be). And that you also heard that it is "a large language model". And maybe that it "solved natural language understanding". Here is a short personal perspective of my thoughts of this (and similar) models, and where we stand with respect to language understanding.

Intro

Around 2014-2017, right within the rise of neural-network based methods for NLP, I was giving a semi-academic-semi-popsci lecture, revolving around the story that achieving perfect language modeling is equivalent to being as intelligent as a human. Somewhere around the same time I was also asked in an academic panel "what would you do if you were given infinite compute and no need to worry about labour costs" to which I cockily responded "I would train a really huge language model, just to show that it doesn't solve everything!". We

@Canx
Canx / optimize_lliurex21_v4.sh
Last active March 30, 2023 09:52
Optimización de arranque para Lliurex21 (probado en ORG2)
#!/bin/bash
# Script para acelerar el tiempo de arranque de Lliurex21.
# V4: Arreglamos fallo de sssd y desactivamos dnsmasq
# V3: Desactivamos networkd-dispatcher
# Tiempo original en un ORG2 con hdd: https://gist.githubusercontent.com/Canx/01b854da791b996f81177b52c49bab07/raw/4b8965186ec68bb52931aed376636e532fc91d75/lliurex21_original.svg
# Tiempo optimizado con V2: https://gist.githubusercontent.com/Canx/01b854da791b996f81177b52c49bab07/raw/4b8965186ec68bb52931aed376636e532fc91d75/lliurex21_optimized_v2.svg
# Arreglamos fallo de sssd
@PierreMacherel
PierreMacherel / ReadMe.md
Last active August 5, 2022 06:18
Upload picture to nodocb using the rest api

to use:

npm install

then

npm run start -- baseURL token project_id table_id pathToImage

where

@jonlabelle
jonlabelle / ldap_search_filter_cheatsheet.md
Last active May 16, 2024 00:24
LDAP Search Filter Cheatsheet
@wrighter
wrighter / download_bars.py
Last active May 3, 2024 21:38
A command line utility to download historical data from Interactive Brokers
#!/usr/bin/env python
import os
import sys
import argparse
import logging
from datetime import datetime, timedelta
from typing import List, Optional
from collections import defaultdict
@wrighter
wrighter / get_ticks.py
Created January 23, 2020 23:45
A basic Interactive Brokers command line Python application to fetch streaming market data.
#!/usr/bin/env python
""" A simple Interactive Brokers application that will fetch
current market data for a contract from the IB TWS/Gateway. """
import argparse
import logging
from typing import List
from ibapi import wrapper
@caseywatts
caseywatts / 0-self-publishing.md
Last active May 14, 2024 02:03
Self-Publishing via Markdown
@garymacindoe
garymacindoe / redshift.conf.d
Last active June 30, 2021 10:22
OpenRC Initscripts for Redshift
# /etc/conf.d/redshift
DISPLAY="${DISPLAY:-:0}"
# Make it a function in case we have to repeat it in init script later
set_xauth() {
# common case (works in almost all tested environments (except of lightdm)):
#XAUTHORITY="$(ps wwax -C X,Xorg -o args= --sort=-stime | grep -m 1 -o '\B[-]auth\s*/var\S*' | cut -d ' ' -f 2)"
@Jiab77
Jiab77 / raspberry-pi-2-3-and-4-wireless-bridge-ubuntu-server-18.04-arm+netplan.md
Last active February 26, 2024 17:42
Raspberry Pi 2/3B/B+/4B Wireless Bridge using Ubuntu Server 18.04 ARM Image and Netplan

Raspberry Pi 2/3B/B+/4B Wireless Bridge using Ubuntu Server 18.04 ARM Image and Netplan

The initial goal of this project is to use the raspberry pi in place of my Wireless Range Extender and then going from 3 wireless networks (2.4ghz, 2.4ghz extended, 5ghz) at home to only one (5ghz). This way I'm reducing the exposition to radio waves for the whole familly at home.

Let's go technical

Ok, enough drama for now, let's go technical. 😁

Setup