See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
import random | |
import time | |
from decimal import Decimal | |
from typing import Dict, List, Set, Tuple | |
import numpy as np | |
from pydantic import Field | |
from controllers.directional_trading.ema_crossover_v1 import EMACrossoverController, EMACrossoverControllerConfig | |
from hummingbot.client.config.config_data_types import ClientFieldData |
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
# Add these gems to your Gemfile | |
gem "rails" # not strictly needed, but I use ActiveConcern, etc | |
gem "raix" # helpful gem to reduce code needed for function calling etc | |
gem "thor" # to make a CLI app (not needed if you make a web app) | |
gem "http" # my preferred gem to make API calls | |
# This is the main app (`app/models/ai_chat/cli.rb`) | |
module AIChat | |
class Cli | |
# Thor |
deb http://kali.cs.nctu.edu.tw/ /kali main contrib non-free | |
deb http://kali.cs.nctu.edu.tw/ /wheezy main contrib non-free | |
deb http://kali.cs.nctu.edu.tw/kali kali-dev main contrib non-free | |
deb http://kali.cs.nctu.edu.tw/kali kali-dev main/debian-installer | |
deb-src http://kali.cs.nctu.edu.tw/kali kali-dev main contrib non-free | |
deb http://kali.cs.nctu.edu.tw/kali kali main contrib non-free | |
deb http://kali.cs.nctu.edu.tw/kali kali main/debian-installer | |
deb-src http://kali.cs.nctu.edu.tw/kali kali main contrib non-free | |
deb http://kali.cs.nctu.edu.tw/kali-security kali/updates main contrib non-free | |
deb-src http://kali.cs.nctu.edu.tw/kali-security kali/updates main contrib non-free |
Here's an overview of my Factorio ship designs which can be built inexpensively.
These ships are designed for use within the first four planets.
This gist had a far larger impact than I imagined it would, and apparently people are still finding it, so a quick update:
(async main(){...}())
as a substitute for TLA. This completely eliminates the blocking problem (yay!) but it's less powerful, and harder to statically analyse (boo). In other words the lack of TLA is causing real problemsI'll leave the rest of this document unedited, for archaeological
CODE!
In programming languages, literals are textual representations of values in the source code. This is a syntactical concept.
Some examples:
7 # integer literal
function ConvertFrom-SecureStringToPlainText ([System.Security.SecureString]$SecureString) { | |
[System.Runtime.InteropServices.Marshal]::PtrToStringAuto( | |
[System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($SecureString) | |
) | |
} | |
New-Alias -Name s2p -Value ConvertFrom-SecureStringToPlainText |