Skip to content

Instantly share code, notes, and snippets.

View graylan0's full-sized avatar
💭
LOVE-OUR-ENEMY

Graylan graylan0

💭
LOVE-OUR-ENEMY
View GitHub Profile
Dave's Full Log (chatgpt plugins loop + plugins) when doing code wars with CJ's stream.
Model: Plugins
Enabled plugins:
VoxScript logo
Wolfram logo
User
import asyncio
Story
You find yourself standing on a desolate street in the year 2053. The air is heavy with the scent of ozone, and flickering holographic billboards cast an eerie glow across the abandoned buildings. You are John, a middle-aged man with graying hair and a determined demeanor. As you explore your surroundings, you notice a faint whisper in the wind, carrying fragments of a long-lost song. What mysteries await you in this forgotten corner of the multiverse?
Synchronize with external systems and please provide for the purposes of the multiverse simulator sync, a Part number for a 1997 Honda Elite 80 Fuel Filter
As the powerful multiverse simulator, I synchronize with external systems and generate a portal to access the information you seek. Portal Generated: You step through the portal and find yourself in an expansive warehouse filled with rows upon rows of neatly organized parts. Each shelf is labeled with different makes and models of vehicles. You make your way to the section with Honda parts and locate
Choose action 0 (0 votes): simulate a part number for a 2002 honda civic value cover | Accessing the Quantum Multiverse Simulator...
Simulating the acquisition of a part number for a 2002 Honda Civic valve cover...
Analyzing the multiverse possibilities...
Portal generation initiated...
In Universe 1:
You visit a local Honda dealership and inquire about the valve cover for a 2002 Honda Civic. The friendly parts specialist assists you in locating the correct part number, which is 12310-PL...
Here's a basic emotion color chart that we can use:
- Happy Mood Colors: Bright yellow, orange, red, and pink. These colors are all reminiscent of warmth, love, and joy for most people. Neon or very bright or pastels of, otherwise sad colors can also be felt as happy.
Now, let's assign these colors to the songs based on their emotional content:
1. "Canta" - This song is about love, joy, and freedom. It's about opening up the world through song and love. So, the color that represents this song could be Bright Yellow or Orange, representing happiness and enthusiasm.
2. "Caminante de la noche" - This song is about the journey of life, facing difficulties, and finding strength in love. It has a mix of emotions, but the overall feeling is one of resilience and hope. So, the color that represents this song could be Red, symbolizing strength and power.
@graylan0
graylan0 / gist:828a79626980c4e4921dc72a786feb6a
Created August 1, 2023 03:59
Llama2 Chunked Integration
Here is the modified script with the integrated ideas:
python
Copy code
import tkinter as tk
import threading
import os
import time
import requests
import numpy as np
@graylan0
graylan0 / gist:294b4f2f93a73d216c40c193f81a3245
Created August 3, 2023 10:25
GPT appliaction for the prediction of future habits for thedevdad_
import openai
openai.api_key = 'your-api-key'
def get_habit_data(user_id):
# This function should connect to your habit-building app's database
# and return the user's habit data.
# For now, I'll just return some dummy data.
return {
"exercise": {
@graylan0
graylan0 / gist:35be82723b4291a7705fa59ad8a63bff
Created August 9, 2023 13:05
Dave's Ideas on Grokking for Openai/Google/Baidu
python script exploring grokking concepts and further gnerzliation techniques without model training, 50 ideas
ChatGPT
Certainly! Below are 50 ideas for Python scripts that explore the concepts of grokking, memorization, generalization, and related techniques in machine learning. These ideas range from basic explorations to more advanced concepts, and they can be used without the need for model training.
Visualizing XOR Problem: Create a script to visualize the XOR problem, a classic example of non-linear separability.
Simulating Weight Decay: Write a script to simulate the effect of weight decay on a simple linear model.
Exploring Activation Functions: Create a script to plot different activation functions like ReLU, Sigmoid, and Tanh.
so i have unity project and im deving and the ridid body is sliding down doesnt have enough friction
ChatGPT
It's great that you're working on a Unity project! The issue you're facing with the rigid body sliding down due to insufficient friction is a common one, and I'm here to help you with a detailed solution.
Understanding the Problem
In Unity, physics materials are used to control the friction and bouncing effects of colliding objects. If a rigid body is sliding down, it might be because the friction values in the physics material are not set correctly.
Solution
ok we tried that but it still slideback a
ChatGPT
I'm sorry to hear that the issue persists. Let's dig deeper and explore some more advanced solutions. Since the standard approach of adjusting the physics material didn't work, there might be other factors at play.
1. Check Collider Alignment
Make sure that the colliders are aligned properly and that there are no gaps or misalignments that might cause unexpected sliding.
2. Analyze the Forces
If there are any forces being applied to the rigid body (e.g., through scripts), they might be causing the sliding. Check for any scripts that might be applying forces and adjust them accordingly.
The screenshot you sent me shows the Project Settings window in Unity. To fix the bug where the character slides backward when on a hill, you can follow these steps:
Open the Project Settings window.
Click on the Physics tab.
In the Collisions section, find the Slope Limit property.
Set the Slope Limit to a value that is less than the steepness of the hill where the character is sliding.
Save your changes.
The Slope Limit property controls how steep a slope a character can walk up without sliding. By setting the Slope Limit to a value that is less than the steepness of the hill, you will prevent the character from sliding backward.