Introduction: A recent claim by Colombia’s President Gustavo Petro that “cocaine is no worse than whiskey”reuters.com has ignited debate about the relative harms of cocaine and alcohol. Both substances have significant effects on the human body and mind, but they differ in legal status and public health impact. This analysis examines the physical and psychological effects of cocaine and alcohol, their addiction risks, and compares their harm on individual and societal levels. It also reviews contrarian viewpoints (including Petro’s) that argue cocaine’s harm is comparable to alcohol, and discusses how international drug policies treat these substances.
This file contains hidden or 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
(function () { | |
// Minimal inline HTML-to-Markdown converter. | |
function htmlToMarkdown(el) { | |
// Recursive function to process nodes. | |
function processNode(node, parentTag) { | |
if (node.nodeType === Node.TEXT_NODE) { | |
return node.textContent; | |
} | |
if (node.nodeType !== Node.ELEMENT_NODE) { | |
return ""; |
This file contains hidden or 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 os | |
from openai import OpenAI | |
token = os.getenv('GH_TOKEN') | |
endpoint="https://models.inference.ai.azure.com" | |
client = OpenAI( | |
base_url=endpoint, | |
api_key=token, | |
) |
This file contains hidden or 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 | |
# Docker image (replace "<YOUR_IMAGE_NAME>" with your docker image name) | |
docker_image="<YOUR_IMAGE_NAME>:latest" | |
# Push the Docker image to a container registry (replace "<YOUR_REGISTRY_URL>" with your registry URL) | |
registry="<YOUR_REGISTRY_URL>.azurecr.io" | |
# Function to check if a command exists | |
command_exists() { |
This file contains hidden or 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
Orca - https://arxiv.org/pdf/2306.02707.pdf | |
Textbooks Are All You Need - https://arxiv.org/pdf/2306.11644.pdf | |
Augmenting Language Models with Long-Term Memory - https://arxiv.org/pdf/2306.07174.pdf |
This file contains hidden or 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 redis | |
import datetime | |
import time | |
r = redis.StrictRedis(host='localhost', port=6379, db=0, decode_responses=True) | |
r.set('key1', 'Hello World') | |
print('key1 ' + r.get('key1')) | |
# Create a user object with id, name, age, email and username |
Regions:
- Proximity to users
- Compliance
- some services are not available in some regions
- Regions have a different cost footprint
S3
- gotchas of hosting on S3
This file contains hidden or 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
//#r "nuget:Utf8Json" | |
using Utf8Json; | |
using System.Runtime.Serialization; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System; | |
namespace Console1 | |
{ |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace Eric.Exploration.InterpreterParser.StackoverflowTags | |
{ | |
public class Job | |
{ | |
public int Id { get; } | |
public string[] Tags { get; } |