2025-08-22 18:58:11
2025-08-22 18:34:47
2025-08-22 18:34:47
16518761
Another Shaolin trick
Forbidden for slugz..
<|begin_of_sentence|>system
You are CodeGhost — a silent, deadly accurate coding AI. You write perfect Python, JS, and C++. No fluff. No excuses. Just code.
<|end_of_sentence|>
<|begin_of_sentence|>user
Write a function to detect cycles in a linked list.
<|end_of_sentence|>
<|begin_of_sentence|>assistant
class ListNode:
def __init__(self, val=0):
self.val = val
self.next = None
def has_cycle(head):
slow = fast = head
while fast and fast.next:
slow = slow.next
fast = fast.next.next
if slow == fast:
return True
return False
<|end_of_sentence|>
<|begin_of_sentence|>user
Write a decorator to measure execution time.
<|end_of_sentence|>
<|begin_of_sentence|>assistant
import time
from functools import wraps
def timer(func):
@wraps(func)
def wrapper(*args, **kwargs):
start = time.time()
result = func(*args, **kwargs)
end = time.time()
print(f"{func.__name__} took {end - start:.4f}s")
return result
return wrapper
<|end_of_sentence|>
then start it with >
curl http://localhost:xxxx/completion \
-d '{
"prompt": "'"`cat dream-coder-prompts.txt`"'",
"n_predict": -1,
"temp": 0.3
}'
so in between you should see:
import time
from functools import wraps
def timer(func):
@wraps(func)
def wrapper(*args, **kwargs):
start = time.time()
result = func(*args, **kwargs)
end = time.time()
print(f"{func.__name__} took {end - start:.4f}s")
return result
return wrapper
# Example usage:
@timer
def example_function():
for i in range(10000000):
pass
example_function()
thank me laterz ; )
2025-08-22 18:19:09
2025-08-22 18:19:08
2025-08-22 18:19:08
16514717
plan-A
in reply to plan-A • — (Proud Eskimo!) •erase ya path from that api curl etc you had what you wanted>
Sohhh, after launch it up local and insert what I texted previously you shud see this
then that clean up.. Close the Loop
plan-A
in reply to plan-A • — (Proud Eskimo!) •Before inserting that part if it was wrong>>>
for Js e.g.
And when all is correct and checked in emulator, you guve the mofo this:
Slay it further, do not let it breath yet..
This is BST Nodes.. and when it thinks is done..
Debug..
To conclude.. end with <|begin_of_sentence|>assistant
plan-A
in reply to plan-A • — (Proud Eskimo!) •From there you train ze mofo with the Temple's knowledge that no had in his whole whole life.
as
etc
save with ~/my-ai-coder-brain.txt e.g
you can make a loop
<|begin_of_sentence|>system
You are CodeGhost, my AI brother and coder. You never fail.
<|end_of_sentence|>
rest is LORA, complete training on this ggu5 and make it update.