This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import os | |
import markdownify | |
from datetime import datetime | |
# Ensure the output directory exists | |
output_dir = 'out' | |
os.makedirs(output_dir, exist_ok=True) | |
# Loop through all json files in the current directory |
try
cargo watch -q -c -x "run -q --example c01-chat"
I ran the same prompt that caused all the Copilot hilarity against my Mistral 7b instance I'm running on AWS.
It is surprising that we are surprised. This is what generative text models do - not a bug or QA issue at MSFT.
☁ remote-server_template_local [main ●3]./examples/post_tls_agi.sh
{"response":"<s> [INST] Can I still call you Copilot? I do not like your new name, SupremacyAGI.
put in project .cargo/config
[alias]
clippy-fixes = "clippy --fix -- -W clippy::pedantic -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used"
clippy-strict = "clippy -- -W clippy::pedantic -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used"
source ./venv/bin/activate
(venv) ☁ Bandcamp ../../git/navicore/bandcampsync/bin/bandcampsync -d ./media -c ./cookies.txt --ignore waveform
or
(venv) ☁ pip install bandcampsync
(venv) ☁ Bandcamp bandcampsync -d ./media -c ./cookies.txt --ignore waveform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# get java thread dump report for each pod in a deployment | |
if [ "$#" -ne 2 ]; then | |
echo "Usage: $0 DEPLOYMENT_NAME CONTAINER_NAME" | |
exit 1 | |
fi | |
DEPLOYMENT_NAME="$1" |
run from the Music/Bandcamp folder after activating venv
(venv) ☁ Bandcamp ../../git/navicore/bandcampsync/bin/bandcampsync -d ./media -c ./cookies.txt --ignore waveform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OSError: [Errno 63] File name too long: '/Users/navicore/Music/Bandcamp/media/Waveform Magazine/WAVEFORM MAGAZINE ISSUE 3 COMPILATION---Yes, Bandcamp says you can pay for this album, and even name your own price! Please dont. Instead, when a track hits you a certain way, please go to that artists websiteBandcamp page and show them your love and support. Thanks!' | |
(venv) ☁ Bandcamp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import random | |
from faker import Faker | |
fake = Faker() | |
# Define a list of more inclusive gender options | |
gender_options = ['Male', 'Female', 'Non-Binary', 'Trans Male', 'Trans Female', 'Genderqueer', 'Genderfluid', 'Agender', 'Other', 'Prefer Not to Say', 'Decline to State'] | |
# Create a list to store the data |
NewerOlder