-
Content count
2,344 -
Joined
-
Last visited
Everything posted by MuadDib
-
Is it just me, or was everyone sick in 8th grade when the teacher explained that science has a 400 year history of being wrong about everything? It never ceases to amaze me how seriously people take this shit.
-
Words and actions are as loud as each other
-
Trauma Ireland
-
"You will never get the crowd to cry Hosanna until you ride into town on an ass" - Nietzsche
-
#Optimized gpt3.5 summaries to enhance gpt 4 summaries import openai import json import requests import os import glob import math openai.api_key = "your key here" def BasicGeneration(userPrompt): completion = openai.ChatCompletion.create( model="gpt-3.5-turbo", messages=[ {"role": "user", "content": userPrompt}] ) return completion.choices[0].message.content def read_prompt_from_file(filename): with open(filename, 'r') as f: return f.read() def write_chunk_to_file(filename, chunk): with open(filename, 'w') as f: f.write(chunk) def write_response_to_file(filename, response): with open(filename, 'w') as f: f.write(response + '\n') def chunk_text(text, chunk_size): words = text.split() return [' '.join(words[i:i+chunk_size]) for i in range(0, len(words), chunk_size)] def combine_files(files, output_filename): with open(output_filename, 'w') as outfile: for fname in files: with open(fname) as infile: outfile.write(infile.read()) # Find the first text file in the current directory prompt_files = glob.glob('./*.txt') if not prompt_files: print("No text files found in the current directory.") exit() prompt_filename = prompt_files[0] print(f"Reading from {prompt_filename}") # Base name for individual chunk and response files base_filename = os.path.splitext(prompt_filename)[0] # Read the prompt from the text file text = read_prompt_from_file(prompt_filename) # Default chunk size chunk_size = 600 # If the number of chunks will exceed 22, adjust chunk size words = text.split() estimated_chunks = len(words) / chunk_size if estimated_chunks > 22: chunk_size = math.ceil(len(words) / 22) # Edit this string to your liking. This will be prepended to each chunk. additional_string = "Here's a new chunk: " # Split the text into chunks chunks = chunk_text(text, chunk_size) chunk_files = [] response_files = [] for i, chunk in enumerate(chunks): chunk_filename = f"{base_filename}_chunk_{i}.txt" write_chunk_to_file(chunk_filename, additional_string + chunk) chunk_files.append(chunk_filename) for i, chunk_file in enumerate(chunk_files): chunk = read_prompt_from_file(chunk_file) # read the chunk file response_filename = f"{base_filename}_response_{i}.txt" response = BasicGeneration(chunk) write_response_to_file(response_filename, response) response_files.append(response_filename) # Name of the final output text file final_filename = base_filename + "_final_response.txt" # Combine all the individual response files into one combine_files(response_files, final_filename) print("The responses have been written to the final file.")
-
Not to mention intimacy, emotional connection, or perhaps children to carry on your ideologies and epistemic brilliance. You know, small perks.
-
Higher than the highest height
-
WE NEED MORE ENGAGED FATHERS!
-
"Leadership is not about being in charge. It is about taking care of those in your charge." - Simon Sinek
-
Bout fiddy consecutive days of lifting, even with really bad covid over the last week. gtg static weight training, minimum 1 set of each of the rep ranges listed, with no upper limit, so some days I did a lot. Consistency, form, and simplicity are the only goals. Current PB for icebaths is 21 minutes, 37 seconds
-
How bad is your fraternity
-
Staring at Cho Greedy Ostentatious Awesome Troubled Hedonic Erratic Awesome Rotting To be continued
-
Peek a boo
-
Sleeping Beauty
-
Heart rate during 4 rounds of breathing, followed immediately by a 5-minute ice bath. I have since done 2 more. Even though the water is much colder than a cold shower, the experience is much more enjoyable in my opinion. Under a shower, the cold just hits you randomly and there is the constant possibility to make minor movements to limit your exposure. Jumping into a plunge just swallows you whole, clean and simple. It's awesome. I'm now implementing this into my strength and agility routines before exercising, with the simple goal of getting in every day after doing the breathwork with visualizations/affirmations. I am taking an ''atomic habits'' approach; setting the bar extremely low, with consistency being the only objective. I already feel acute improvements in mood, energy, outlook, and sleep quality. It will be interesting to see what the benefits, and drawbacks are long term. And I'll experiment with different times and temperatures as the research is a bit fuzzy around all that. The paper that Huberman cites about dopamine increase found that dopamine levels only start to rise after a period of 20min in 14C water, for example. Also, homie here has good info on setting a chest freezer plunge up right.
-
Hungry beavers
-
Don't buy this flamethrower. Don't buy this stock.
-
DOCKING Now combining Wim Hoff breathwork, Stutz's reversal of desire, and Ubuntu with immediate cold exposure to retrain my neurology to move into discomfort and become addicted to the process.
-
I impulse-bought a freezer and sealed it today. The bodies will stay fresher for longer. Just gotta wait for my home brew temperature controller to arrive before things get wild.
-
MuadDib replied to Spiral_Wizardry_Fan's topic in Society, Politics, Government, Environment, Current Events
@Alex M Interesting. I know that psychedelics have been shown to increase a person's openness to experience (in the big 5 personality model) by one standard deviation a year after a 'mystical experience' and that openness is the trait most closely correlated with left-leaning political outlooks. I'm currently learning all of the political ideologies to get a general sense of what they're about and where they loosely sit on this axis at the moment. I find myself humming and haaing over the good points in many of them. I want to be all the ideologies somewhat, but I have to agree with where I land as a result of the test overall so far. -
Sweet Meathead Tre Flips
-
MuadDib replied to Spiral_Wizardry_Fan's topic in Society, Politics, Government, Environment, Current Events
Apparently, I'm marginally more right-wing than Ghandi and Mandella. My results on this test haven't shifted much over the last 5 years. I wonder if it's true that people become more conservative as they age. Algorithmically it makes sense that older people would want things to stay more of the same as they settle into the exploit portion of an explore/exploit trade-off. Perhaps a shifting Overton window also affects how people land relative to where they started as they age. Perhaps a bit of both. -
I am become death
-
Spring A youthful monarch's coronary grace Bestows warm light upon a city's face Homes steadfast, enduring as a mule's embrace The people's hearts pulse in rhythmic pace To the cadence of drums, a bountiful feast Their spirits alight, their joys increased Savoring divine love's sweet ambrosia, so tenderly released Amongst the birds and bees, nature's harmonious masterpiece
-
Nursing Placement In age-worn halls, a novice strides, Life's fragile dance, its ebb and tides, Pain, mess, and morphine met with grit, In old eyes, he finds life's orbit. With steady hands, he tends the frail, Resilient, firm, his care unveiled, With colleagues, bonds of strength are fused, United, they face storms, unbruised. Wrinkled hands, sunken cheeks expose, The depth that suffering juxtapose, Through challenges, his spirit thrives, In twilight's home, life's truth revives. Transformed, he bears the lessons learned, Through life's vast maze, connections earned, In kinship, solace, strength combined, He grasps the threads of life, entwined.