#⌨ Programming

1 messages · Page 2 of 1

vernal path
#

what

#

i never did that

#

wait

#

help

tawdry swift
#

your brain tricks you into thinking

#

don’t let it

raw hawk
#

i thought, therefore i am 😔

tawdry swift
#

Screaming in public gotta be a top 3 drug

vernal path
cunning drum
#

Emotional damage 😭

cunning drum
tawdry swift
#

nothing brings me more joy than letting out a shriek in a crowded hallway

vernal path
#

its not

#

2018

raw hawk
#

yes it is

vernal path
#

who the hell

#

uses behance

raw hawk
#

you had a stroke thenstop

cunning drum
#

i dont use that

#

some mf took the username spongly

#

:C

vernal path
cunning drum
#

yes

#

email me

vernal path
#

is that

#

actually your email

#

lmao

cunning drum
#

yhes

#

duck.cum

#

i use it

#

to

#

get emails

#

from

#

random epople

vernal path
#

Cool

#

I don't give a shit

cunning drum
vernal path
#

😹 🫵

#

jk

#

so its like a redirect?

#

a record?

#

mx record with 5 txt records?

cunning drum
#

what is this

#

emoji cllaed

vernal path
#

Not Working ??? Kuda ??

cunning drum
tawdry swift
vernal path
#

yea

#

proton

tawdry swift
vernal path
#

doesn't take 4 days

cunning drum
#

pls follow 😭

vernal path
#

because its hardly encrypted

#

it doesn't take 76 rtx 4090s to decrypt the super hackerman mainframe code

tawdry swift
#

not the Andrew Tate retweet 😭

vernal path
#

LOL

fossil kraken
north zenith
#

so forcing the 1837 on the contingency of the battle of 1938 will eventually reduce unlimited carbon emission so the planet is going into the next phase in its orbit around earth

#

Ong lil bro I’m so sorry I can’t help it I just wanna

#

butter

untold narwhal
#

jus use python if you're starting out honestly

#

sounds rly easy to do with it

soft pulsar
untold narwhal
#

W

hazy needle
flint scarab
hazy needle
#

i searched up 'online flowchart maker' flooshed

soft pulsar
#

and what is it ?

#

draw io?

hazy needle
#

yes

hazy needle
#

same...

flint scarab
#

@topaz blaze fully functional in 25 lines of code trol

#

fuck marketing to kids 🖕

hazy needle
#

uncontent !!

dusty plover
#

help

#
#include <stdio.h>
 
int main (){
    unsigned int t;
    scanf("%u", &t);
    while (t > 0) {
        unsigned int num, left, right;
        left = 0;
        right = 0;
        char lamps[100001];
        scanf("%u", &num);
        scanf("%100000s", lamps);
        for (unsigned int i = 0; i < num; i++) {
            if (lamps[i] == 'L') left++;
            else right++;
        }
        if (left == 0 || right == 0) {
            printf("-1\n");
        } else {
            unsigned int leftindex;
            int rightindex = -1;
            for (unsigned int i = num; i > 0; i--) {
                if (lamps[i] == 'L') {
                    leftindex = i;
                    break;
                }
            }
            for (unsigned int j = leftindex-1; (int)j >= 0; j--) {
                if (lamps[j] == 'R') {
                    rightindex = (int)j;
                    break;
                }
            }
            if (rightindex == -1) {
                if (lamps[leftindex+1] == 'R') printf("%d\n", leftindex+1);
                else printf("-1\n");
            } else printf("0\n");
        }
        t--;
    }
    return 0;
}```
The code takes input from stdin. The first line is the number of test cases.  Each test case include a number of how long the string and the string. https://codeforces.com/contest/1779/problem/A
stdin

10
2
LL
2
LR
2
RL
2
RR
3
LLL
3
LLR
3
LRL
3
LRR
3
RLL
3
RLR```
Output

-1
1
0
-1
-1
2
0
0
0
0```
Expected output

-1
1
0
-1
-1
2
0
1
0
0```
LRR is the test case where it gave the wrong answer
but when run with stdin

1
3
LRR```
It gave the right answer of `1`
#

nevermind I am dumb

#

unsigned int leftindex = 0; seems to make it work again

#

wasted an entire 3+ hours

#

Though it is weird that it is consistently getting the wrong answer even though it is (supposed to be) undefined and its value is (supposed to be) random

#

maybe it is compiler optimization (the variable is outside the for loop scope so it is still defined as the last value) or it is just how asm work

tawdry swift
#

Python?

flint scarab
#

looks very much like it

tawdry swift
#
  • PIL might not contain image
  • conflicting versions of python (PIL may be for an earlier version?)
  • PIL might be broken
#

I don’t know the full code though

#

are you just doing import PIL

flint scarab
#

then try import PIL then call PIL.Image

tawdry swift
#

check PIL again and see if there’s anything online about it

untold narwhal
#

youve got the wrong pil

#

pip install pillow

soft pulsar
vernal path
#

Yea

gray laurel
#

idk if this would work- but like

#

maybe idk

gray laurel
#

@molten barn

molten barn
molten barn
gray laurel
untold narwhal
#
has_audio = any(
    filter(
        lambda x: x in strings.printable,
        sp.getoutput(
             'ffprobe '
             '-hide_banner '
             '-v error '
             '-show_streams '
             '-select_streams a '
            f'-i "{video}"'
        )
    )
)
#

how to check if a video file has audio streams in the least readable way possible

#

@tawdry swift revolutionary

tawdry swift
#

someone has clearly never seen Streams

#
func Stream(input string, stream string) bool {
    args := []string{
        "-i", input,
        "-show_entries", "stream=duration",
        "-select_streams", stream,
        "-count_packets",
        "-of", "csv=p=0",
    }

    cmd := exec.Command("ffprobe", args...)

    out, err := cmd.Output()
    if err != nil {
        return false
    }

    return len(string(out)) != 0
}```
#

we are COUNTING PACKETS

#

OUTPUTTING with idk what the things means

#

SHOWING DURATION

#

RAHHHHHHH

#

wait thats why it takes so long

untold narwhal
#

why do u need to count packets

#

also name the function HasStream or something

tawdry swift
tawdry swift
#

logical names would increase readability

#

👎

untold narwhal
tawdry swift
#

Hone changed all of the :: comments to rem and didn’t even bother to use consistent capitalization 😭

#

formatting still sucks

#

What is this.

#

They could also save a ton of space if they used the actual esc character instead of a variable (%COL%), or even set COL equal to <esc>[ saving that extra character

#

they also used VAR as a variable name.

#

my disappointment is immeasurable (minor)

#

They’re also using hardcoded file paths (%public%/desktop/<res>.mp4) instead of using the input’s path or even its name

#

Disappointing

#

and in :compress (and possibly other labels) they’re checking for ffmpeg installations… and then checking them again when they actually run ffmpeg. I mean I’m not one against redundancies but this is excessive

#

to be fair none of this is that bad, it’s just minor complaints (and honestly just a to-do list for when I feel like making anything pull request)

#

This indenting must be fixed instantly

molten barn
#

use powershell

untold narwhal
#

even better solution

#

abandon all hope of hone being decent

#

we tried

molten barn
gray laurel
#

Make a pr if you want to tho

untold narwhal
#

i already did

untold narwhal
gray laurel
#

normal or no

#
/// Enables verbose mode
    #[clap(short = "v", long, default_value_t = false)]
    pub verbose: bool,```
#

i have no idea what im doing.

hazy needle
#

maybe don't use variables like %windir%?

#

try it

#

works in powershell for me

#

i remember the errors not being that verbose tho

#

the equivalent of that (using the same COM object)

#

oh wait nvm

#

i was doing something else

hazy needle
#

oh ye ofc

topaz blaze
#
import requests
import json

def post_thread_message(webhook_url, json_file_path, thread_id=None, thread_name=None):
    with open(json_file_path) as f:
        payload = json.load(f)
    headers = {'Content-Type': 'application/json'}
    if thread_id:
        webhook_url = f'{webhook_url}?thread_id={thread_id}'
    elif thread_name:
        payload['thread_name'] = thread_name
    response = requests.post(webhook_url, data=json.dumps(payload), headers=headers)
    if response.status_code == 204:
        print('Thread message posted successfully')
    else:
        print(f'Failed to post thread message with status code: {response.status_code}')

# Example usage, just fill out the basic info
webhook_url = ' '
json_file_path = 'embed.json'
post_thread_message(webhook_url, json_file_path, thread_id='id_here')
#

@untold narwhal

#

its so simple

#

all i had to do was use my brain and read docs

topaz blaze
#

this isnt what couleur is really wanting but

#

this is pretty sick

#

no way in hell im gonna figure out the github action stuff

gray laurel
#

trust me.

topaz blaze
#

i mean

#

i personally think this is way better then what couleur has (minus the fact its missing like 2 features)

gray laurel
#

@topaz blaze wheres the test embed channel

#

if there even is one

topaz blaze
#

in my server

sterile notch
gray laurel
topaz blaze
#

hey.

sterile notch
#

Hey 😘

gray laurel
#

send the inv wock 🔫

topaz blaze
#

send the inv wock 🔫

sterile notch
gray laurel
topaz blaze
#

yeah

sterile notch
#

Ok

gray laurel
#

idk cuz the folder has yaml inside

topaz blaze
#

i keep getting 405'd when trying to edit the embed

#

uhhhhhhhhhhhh

sterile notch
#

Well when I’m home you want to talk about it? I can try help if you want

gray laurel
#

anyway, send the invite wock

#

i wanna see if i can make a boilerplate for the website itself

topaz blaze
#

check dms

sterile notch
#

invite 🔫

gray laurel
#
    # Replace markdown image syntax with HTML image syntax
    markdown_text = markdown_text.replace("![", "<img src='")
    markdown_text = markdown_text.replace("](", "' alt='")
    markdown_text = markdown_text.replace(")", "'>")```
#

y'all know if this'd work

topaz blaze
#

yeah, but would break clickable text

fossil kraken
#
import openai

print("Hello if you haven't already to setup this program, enter your API key below. Get your API key from https://beta.openai.com/account/api-keys")
print("Make sure you have an internet connection!")
print("Type 'start' to enter the program or 'key' to enter your key")
choice = input("Input your choice here:").lower()
while True:
    if choice == "key":
        print("Paste your key here")
        key = input("Your API KEY here:")
        # Create the file and write the API key to it
        with open("api_key.txt", "w") as key_file:
            key_file.write(key)
        print("Your key has been set!")
        choice = "start"
    elif choice == "start":
        with open("api_key.txt", "r") as key_file:
            openai.api_key = key_file.read()
        model = "text-davinci-003"
        prompt = input("Ask your questions here:")
        if prompt == "help":
            print("This code is a simple program that uses the OpenAI API to generate completions for a given prompt using the GPT-3 text-davinci-003 model to answer your questions.")
       
        completion = openai.Completion()
        
        completions = completion.create(model=model, prompt=prompt, max_tokens=1024, n=1, temperature=0.5)
        # Print the completions
        completion_text = completions['choices'][0]['text']
        print(completion_text)
    else:
        print("Invalid answer")
#

I like making uselees things yes

dusty plover
#

std::vector in C++ is just an array that is allocated on the heap and can be resized, right?

#

and as all things in C++. It has some properties, methods or whatever it is called in OOP languages

soft pulsar
#

ye

untold narwhal
#

yeah

hasty sedge
#

shall i learn python

dusty plover
#

Idk

#

Ask yourself

hasty sedge
#

idk

untold narwhal
hasty sedge
#

i made a calculator :D

#
#my first python program yay
import time

num1 = float(input("enter a number:"))
num2 = float(input("enter another number:"))

op = input("enter the operation syntax:")

if op == "+":
    print(num1 + num2)
elif op == "-":
        print(num1 - num2)
elif op == "*":
  print(num1 * num2)
elif op == "/":
        print(num1 / num2)
else:
   print("You have entered a wrong operation syntax, use there : + , - , * , /")

time.sleep(3)
untold narwhal
#

nice

hasty sedge
#

no

#

i actually did it myself

regal doveBOT
#
Program Output
enter a number:
Compiler Output
Traceback (most recent call last):
  File "/app/output.s", line 4, in <module>
    num1 = float(input("enter a number:"))
                 ^^^^^^^^^^^^^^^^^^^^^^^^
EOFError: EOF when reading a line
untold narwhal
#

breh

#

compiler bot moment

hasty sedge
#

xd

fossil kraken
hasty sedge
#

tkinter

#

hm

hasty sedge
#

ok

#

first program program

untold narwhal
#

guis monkastop

hasty sedge
#

what

#
import customtkinter

customtkinter.set_appearance_mode("dark")
customtkinter.set_default_color_theme("dark-blue")

root = customtkinter.CTk()
root.geometry("500x350")




def login():
    print("test")
    
    
    
frame = customtkinter.CTkFrame(master=root)
frame.pack(pady=20, padx=60, fill="both", expand=True)

label = customtkinter.CTkLabel(master=frame, text="Login System")
label.pack(pady=12, padx=10)

entry1 = customtkinter.CTkEntry(master=frame, placeholder_text="Username")
entry1.pack(pady=12, padx=10)

entry2 = customtkinter.CTkEntry(master=frame, placeholder_text="Password", show="*")
entry2.pack(pady=12, padx=10)

button = customtkinter.CTkButton(master=frame, text="Login", command=login)
button.pack(pady=12, padx=10)

checkbox = customtkinter.CTkCheckBox(master=frame, text="Remember Me")
checkbox.pack(pady=12, padx=10)

root.mainloop()``` idk how to get colored text i watched a tutorial and i actually didnt copy this i actually understand whats going on
regal doveBOT
#
Compiler Output
Traceback (most recent call last):
  File "/app/output.s", line 1, in <module>
    import customtkinter
ModuleNotFoundError: No module named 'customtkinter'
hasty sedge
#

-_-

hasty sedge
#

ye

topaz blaze
#

;help

regal doveBOT
#
Commands

For help with a specific command, type ;help <command>

Struggling? Check out our wiki

invite

Grabs the bot's invite link

compile

Compiles a script

compilers

Displays the compilers for the specified language

languages

Displays all supported languages

asm

Outputs the assembly for the input code

botinfo

Displays information about the bot

cpp
 See ;help cpp for more info ```
format

Formats code using a code formatter (i.e. clang-format or rustfmt)

formats

Displays all formatting options & styles

topaz blaze
#

;languages

regal doveBOT
#
Supported Languages

* = supports assembly output
31) ispc*
32) jakt*
33) java*
34) javascript
35) julia*
36) kotlin*
37) lazy k
38) lisp
39) llvm*
40) lua
41) mlir*
42) nim*
43) objc*
44) objc++*
45) ocaml*

hazy needle
#

;compile nim

echo hi

regal doveBOT
#
Critical error:

You must attach a code-block containing code to your message or quote a message that has one.

hazy needle
#

;compile

echo hi
regal doveBOT
#
Compiler Output
Hint: used config file '/opt/wandbox/nim-1.6.10/config/config.nims' [Conf]
.........................................................
/home/jail/prog.nim(1, 6) Error: undeclared identifier: 'hi'
candidates (edit distance, scope distance); see '--spellSuggest': 
 (2, 3): '!=' [template declared in /opt/wandbox/nim-1.6.10/lib/system/comparisons.nim(128, 10)]
 (2, 3): '$' [func declared in /opt/wandbox/nim-1.6.10/lib/system/dollars.nim(25, 8)]
 (2, 3): '$' [func declared in /opt/wandbox/nim-1.6.10/lib/system/dollars.nim(25, 8)]
 (2, 3): '$' [func declared in /opt/wandbox/nim-1.6.10/lib/system/dollars.nim(25, 8)]

hazy needle
#

;compile

echo "hi"
regal doveBOT
#
Compiler Output
Hint: used config file '/opt/wandbox/nim-1.6.10/config/config.nims' [Conf]
.........................................................
CC: ../../opt/wandbox/nim-1.6.10/lib/std/private/digitsutils.nim
CC: ../../opt/wandbox/nim-1.6.10/lib/system/dollars.nim
CC: ../../opt/wandbox/nim-1.6.10/lib/system/io.nim
CC: ../../opt/wandbox/nim-1.6.10/lib/system.nim
CC: prog.nim
Hint:  [Link]
Hint: gc: refc; opt: none (DEBUG BUILD, ​`-d:release​` generates faster code)
26642 lines; 0.340s; 31.684MiB peakmem; proj: /home/jail/prog.nim; out: /home/jail/prog [SuccessX]

Program Output
hi

hazy needle
#

;assemble

echo "hi"
#

;help

regal doveBOT
#
Commands

For help with a specific command, type ;help <command>

Struggling? Check out our wiki

invite

Grabs the bot's invite link

compile

Compiles a script

compilers

Displays the compilers for the specified language

languages

Displays all supported languages

asm

Outputs the assembly for the input code

botinfo

Displays information about the bot

cpp
 See ;help cpp for more info ```
format

Formats code using a code formatter (i.e. clang-format or rustfmt)

formats

Displays all formatting options & styles

hazy needle
#

;asm

echo "hi"
regal doveBOT
#
Assembly Output Pt. 1
PreMainInner:
 endbr64 
 ret 
PreMain:
 endbr64 
 push rbx
 sub rsp,0x10
 mov ebx,0x28
 mov rax,QWORD PTR fs:[rbx]
 mov QWORD PTR [rsp+0x8],rax
 xor eax,eax
 lea rax,[rip+0x0] # 25 <PreMain+0x20>
 mov QWORD PTR [rsp],rax
 call 2e <PreMain+0x29>
 mov 
Assembly Output Pt. 2
 mov QWORD PTR [rip+0x0],rdx # c0 <main+0x1c>
 call c5 <main+0x21>
 mov eax,DWORD PTR [rip+0x0] # cb <main+0x27>
 add rsp,0x8
 ret 
NimMainModule:
 endbr64 
 sub rsp,0x48
 mov rax,QWORD PTR fs:0x28
 mov QWORD PTR [rsp+0x38],rax
 xor eax,eax
 lea rax,
Assembly Output Pt. 3
 mov rax,QWORD PTR [rip+0x0] # 16c <NimMainModule+0x9c>
 mov rax,QWORD PTR [rax]
 mov QWORD PTR [rip+0x0],rax # 176 <NimMainModule+0xa6>
 mov rax,QWORD PTR [rsp+0x38]
 xor rax,QWORD PTR fs:0x28
 jne 19b <NimMainModule+0xcb>
 add rsp,0x48
 ret 
 mov W
untold narwhal
#

ha

#

;asm -O3 ```c
int main() { puts("hi"); }

regal doveBOT
#
Assembly Output
.LC0:
  .string "hi"
main:
  sub rsp, 8
  mov edi, OFFSET FLAT:.LC0
  call puts
  xor eax, eax
  add rsp, 8
  ret

hazy needle
#

insane!

untold narwhal
#

i wonder if

#

;compile ```x86asm
.LC0:
.string "hi"
main:
sub rsp, 8
mov edi, OFFSET FLAT:.LC0
call puts
xor eax, eax
add rsp, 8
ret

regal doveBOT
#
Critical error:

Unable to find compiler or language for target 'x86asm'.

untold narwhal
#

aw

#

;compilers

regal doveBOT
#
Critical error:

No language specified!
Please try giving me a language to search

untold narwhal
#

;compilers x86asm

regal doveBOT
#
Critical error:

Unable to find compilers for target 'x86asm'.

raw hawk
#

;compile ```asm
.LC0:
.string "hi"
main:
sub rsp, 8
mov edi, OFFSET FLAT:.LC0
call puts
xor eax, eax
add rsp, 8
ret

regal doveBOT
#
Critical error:

Unable to find compiler or language for target 'asm'.

raw hawk
#

;compile ```assembly
.LC0:
.string "hi"
main:
sub rsp, 8
mov edi, OFFSET FLAT:.LC0
call puts
xor eax, eax
add rsp, 8
ret

regal doveBOT
#
Compiler Output
<source>:2: error: parser: instruction expected
<source>:5: error: comma, colon, decorator or end of line expected after operand
Build failed
hazy needle
#

;compile

.LC0:
  .string "hi"
main:
  sub rsp, 8
  mov edi, OFFSET FLAT:.LC0
  call puts
  xor eax, eax
  add rsp, 8
  ret
regal doveBOT
#
Compiler Output
File "/app/output.s", line 1
    .LC0:
    ^
SyntaxError: invalid syntax
untold narwhal
#

;compile -masm=intel ```c
const char s[] = "hi";

int main(void) {
asm(" mov edi, OFFSET FLAT:s");
asm(" call puts");
}

regal doveBOT
#
Program Output
hi
untold narwhal
#

smh

regal doveBOT
#
Assembly Output
main:
  push rbp
  mov rbp, rsp
.LC0:
  .string "hi"
  sub rsp, 8
  mov edi, OFFSET FLAT:.LC0
  call puts
  xor eax, eax
  add rsp, 8
  ret
  mov eax, 0
  pop rbp
  ret

untold narwhal
#

okay wtf

regal doveBOT
#
Assembly Output
main:
  push rbp
  mov rbp, rsp
.LC0:
  .string "hi"
  mov edi, OFFSET FLAT:.LC0
  call puts
  mov eax, 0
  pop rbp
  ret

regal doveBOT
#
Assembly Output
main:
  push rbp
  mov rbp, rsp
  mov edi, OFFSET FLAT:.LC0
  call puts
.LC0:
  .string "hi"
  mov eax, 0
  pop rbp
  ret

regal doveBOT
#
Assembly Output
main:
  push rbp
  mov rbp, rsp
  mov edi, OFFSET FLAT:.LC0
  call puts
  mov eax, 0
  pop rbp
  ret

regal doveBOT
#
Assembly Output
s:
  .string "hi"
main:
  push rbp
  mov rbp, rsp
  mov edi, OFFSET FLAT:.LC0
  call puts
  mov eax, 0
  pop rbp
  ret

untold narwhal
#

OH

#

;compile -masm=intel ```c
const char s[] = "hi";

int main(void) {
asm(" mov edi, OFFSET FLAT:s");
asm(" call puts");
}

regal doveBOT
#
Program Output
hi
untold narwhal
#

EZ

untold narwhal
#

;compile cclang-trunk -std=c2x ```c
#include <stdint.h>
#include <stdio.h>

typedef struct {
uint8_t r;
uint8_t g;
uint8_t b;
} RGB;

enum QMTextColor: RGB {
Warning = (RGB) {1, 2, 3},
Error = (RGB) {4, 5, 6},
};

char* format_rgb(RGB vals, char* buf) {
snprintf(buf, 32, "\033[38;2;%d;%d;%dm", vals.r, vals.g, vals.b);
return buf;
}

#define FMT_RGB(V) format_rgb(V, (char [32]){0})

int main() {}

regal doveBOT
#
Compiler Output
<source>:10:17: error: expected identifier or '(' before ':' token
   10 | enum QMTextColor: RGB {
      |                 ^
Build failed
untold narwhal
#

man wtf

#

did they lie

#

fuck gcc fr

#

;compile cclang-trunk -std=c2x ```c
#include <stdint.h>
#include <stdio.h>

typedef struct {
uint8_t r;
uint8_t g;
uint8_t b;
} RGB;

enum QMTextColor: RGB {
Warning = (RGB) {1, 2, 3},
Error = (RGB) {4, 5, 6},
};

char* format_rgb(RGB vals, char* buf) {
snprintf(buf, 32, "\033[38;2;%d;%d;%dm", vals.r, vals.g, vals.b);
return buf;
}

#define FMT_RGB(V) format_rgb(V, (char [32]){0})

int main() {}

regal doveBOT
#
Compiler Output
<source>:10:17: error: expected identifier or '(' before ':' token
   10 | enum QMTextColor: RGB {
      |                 ^
Build failed
untold narwhal
#

WHY IS IT NOT USING CLANG

hazy needle
#

ha

untold narwhal
#

stewpid compiler

hazy needle
#

the compiler

fossil kraken
#

I just found my old pycharm folder lmao

hazy needle
#

insane!

hazy needle
#

tbf it is interesting

#

idk if python is the most optimal though

#

also idk how ur gonna get the cursor

#

i mean, it's not practical realistically

#

but interesting tho

#

yeah but u would have two cursors then

#

if it would be an overlay

#

unless you hide/capture the cursor

#

u would have to make a motion blur shader

#

idk how well u can do that in python lol

#

that's not gonna be good though

#

it's gonna have so much latency

#

and it's not gonna be good in practice

untold narwhal
#

actually using builtin matmult?!?

#

literally never seen this before wth

hazy needle
#

ur literally taking a screenshot every frame or whatever

#

it's not even a shader

untold narwhal
#

matrix multiplication

#

youre gonna change the cursor on the fly??

#

copied code moment

#

#skid 🤣🤣

#

(jk)

hazy needle
#

ur literally taking a screenshot, doing a bunch of math to figure out the motion somehow (in context with other screenshots, including the ones ahead probably, more latency), blurring it, applying it on top of your game (which might already have motion blur, so a bit pointless), which wouldn't work with FSE or the game's method of capturing mice

untold narwhal
#

LOL

#

and how often would u be doing this

hazy needle
#

refresh rate lol

untold narwhal
#

jesus christ

hazy needle
#

it's gonna be terrible and it's not gonna work in python tbh...

#

if you're gonna do an overlay (which wouldn't work well with mc anyways due to fse and capturing your mouse), u'll probably need a shader

#

gl

untold narwhal
#

python isnt even the bottleneck here

#

modifying the cursor file everytime is

hazy needle
#

and taking a screenshot, applying static motion blur to it

untold narwhal
#

thats so much latency

hazy needle
untold narwhal
#

that is arguably a worse idea

hazy needle
#

the only way ur gonna be able to do this is with a glsl overlay or something, which i presume u can't do in python...

#

python shouldn't be used for mouse input aaa

untold narwhal
#

because modifying a whole window is probs slower than writing to disk

untold narwhal
hazy needle
#

even shader stuff?

untold narwhal
#

yeah

hazy needle
untold narwhal
#

i mean the only language you can write glsl shaders in is glsl obviously

hazy needle
#

it's an overlayed window on top of everything

#

anyways who is this targetted at?

untold narwhal
untold narwhal
hazy needle
#

python shouldn't even be a question for mouse input lol

untold narwhal
hazy needle
#

idk

#

this is what u would have to do, sort of

untold narwhal
#

so yes

hazy needle
#

this is bad in practice tho, and its the best u get kek

untold narwhal
#

you could make this in python

#

but like

#

why

hazy needle
#

latenyc...

#

the thing is that the capture method would be slow asf as well, especially with just taking screenshots, shoving them into RAM, doing effects and displaying it

#

you would need to use a really fast capture method like obs

untold narwhal
#

why would you capture screenshots if ur gonna use glsl

hazy needle
#

ok yea nvm

#

u would still need to have a capture method tho

untold narwhal
#

use what shaderglass uses

#

idk what it uses but probably something decent

#

lemme see

#

directx

hazy needle
#

oh

untold narwhal
#

this shit is unreadable

#

god i hate c++

#

or well i hate ppl who dont know how to write it

hazy needle
#

wait

#

it already has motion blur

tawdry swift
#

Wait until you hear about JavaScript raytracing

untold narwhal
#

undefined behavior spotted!!

#

bad program!! not standard conforming!!

tawdry swift
#

homosexual femboy tells mmunk to conform to standards

untold narwhal
tawdry swift
#

homosexual femboy tells mmunk mausimus to conform to standards

untold narwhal
#

homosexual femboy tells multi-hundred github star project that their code sucks

tawdry swift
#

you took out the joke

untold narwhal
#

(has never written a single line of c++)

tawdry swift
untold narwhal
tawdry swift
tawdry swift
#

and you’re telling people to conform to standards

hazy needle
#

idek this is dumb

untold narwhal
hazy needle
#

interesting idea

#

terrible in practice

untold narwhal
#

this is even worse than i thought

tawdry swift
#

the joke is ruined now that I had to explain it

untold narwhal
#

400 STARS

#

USING NAMESPACE STD

#

OUTRAGEOUS

hazy needle
#

414*

#

idiot

untold narwhal
#

i round.

hazy needle
#

tawdry swift
#

i am blissfully unaware of the concept of “namespace std”

untold narwhal
#

its the equivalent of doing from something import * in python

#

except its actually from * import *

#

or well from <EVERY MODULE IMPORTED IN THIS FILE> import *

#

but still

#

very bad

untold narwhal
#

ya

untold narwhal
tawdry swift
#

me explaining why I’ve never written a single optimized line of code

molten barn
#

the ugly loop gonna eat processor time

untold narwhal
molten barn
#
#include <windows.h>
#include <cmath>

HHOOK hHook = NULL;

LRESULT CALLBACK HookProc(int nCode, WPARAM wParam, LPARAM lParam)
{
    if (nCode == HC_ACTION)
    {
        CWPSTRUCT *cwp = (CWPSTRUCT *)lParam;
        if (cwp->message == WM_MOVE)
        {
            HDC hdcScreen = GetDC(NULL);
            HDC hdcWindow = GetDC(cwp->hwnd);
            HDC hdcMem = CreateCompatibleDC(hdcScreen);

            HBITMAP hBitmap = CreateCompatibleBitmap(hdcScreen, 500, 500);
            SelectObject(hdcMem, hBitmap);

            BitBlt(hdcMem, 0, 0, 500, 500, hdcWindow, 0, 0, SRCCOPY);

            SmearBitmap(hdcMem, 500, 500);

            BitBlt(hdcWindow, 0, 0, 500, 500, hdcMem, 0, 0, SRCCOPY);

            DeleteDC(hdcMem);
            DeleteObject(hBitmap);
            ReleaseDC(cwp->hwnd, hdcWindow);
            ReleaseDC(NULL, hdcScreen);
        }
    }

    return CallNextHookEx(hHook, nCode, wParam, lParam);
}

int main()
{
    hHook = SetWindowsHookEx(WH_CALLWNDPROC, HookProc, NULL, GetCurrentThreadId());

    // ...

    UnhookWindowsHookEx(hHook);

    return 0;
}
#

pulled from chatgpt

#

this

molten barn
untold narwhal
#

oh ya

molten barn
#

bloat

#

using python for windows api only things 🤢

#
#include <windows.h>
#include <wtsapi32.h>
#include <psapi.h>
#include <shlobj.h>

int main(int argc, char *argv[])
{
    if (!IsUserAnAdmin())
    {
        ShellExecuteW(NULL, "runas", argv[0], NULL, NULL, SW_SHOWNORMAL);
        return 0;
    };
    WTS_PROCESS_INFOW *pWPI;
    HANDLE hProcess;
    DWORD dwCount;
    if (!WTSEnumerateProcessesW(WTS_CURRENT_SERVER_HANDLE, 0, 1, &pWPI, &dwCount))
        return 1;
    for (DWORD i = 0; i < dwCount; i++)
    {
        hProcess = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION |
                                   PROCESS_SET_QUOTA,
                               FALSE,
                               pWPI[i].ProcessId);
        if (!hProcess)
            continue;
        EmptyWorkingSet(hProcess);
        CloseHandle(hProcess);
    };
    WTSFreeMemory(pWPI);
    return 0;
}
#

Memory Cleaner

#

technically empty working set for every process

#

works anyways is fine when experimenting

#

when you make the actual thing, you need to factor other things also depending on the project itself

sterile notch
#

id say python is more for like scripting and automating

#

small things

molten barn
#

python is basically the powershell of linux tbh

#

considering its pre-package with every linux distro and a major dependency

#

how would that be useful

sterile notch
#

but icons

molten barn
#

oh you gonna do that now

sterile notch
#

chat gpt?

molten barn
#

he doing it wrong

sterile notch
#

and why do you need processid??

#

you just change the .ico of the taskbar shortcuts

#

and restart explorer?

sterile notch
#
for shortcut in "%AppData%\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar":
  change shortcut.icon to new.icon
molten barn
#

Use Hooks

sterile notch
#

not proper python but yk what i mean

molten barn
sterile notch
#

yeah true

molten barn
#

use powershell

#

not python

sterile notch
#

restart explorer?

#

idk

flint scarab
#

what r u trynna do

molten barn
molten barn
#

bloat

#

If you care so much about alternating things within Windows itself, no need to wrap it in python, prefer doing pure PS instead.

#

Or leverage a language that can interop with C and thus the Win32 API.

#

Though at this point, I have only understood, you want change taskbar icons

soft pulsar
#

C propaganda

untold narwhal
molten barn
#

ah yes, 19 mb file for win32 functions

dusty plover
topaz blaze
#

to what color are you trying to change?

#

like contrasts, vibrance and stuff?

#

doesnt it save?

#

it should

#

oh

#

u cant

sterile notch
#

Nv api .dll

#

Or use vibrance gui

#

Per game digital vibrance

topaz blaze
#

dfidnt u make like 5 videos using vibrance gui in valorant

fossil kraken
#

A lil project i made to learn abt requests and gui in python

sterile notch
fossil kraken
#

gives you pain

#

?

sterile notch
#

yes

fossil kraken
#

yes yes

#

just what I want

#

ok I will change it

molten barn
fossil kraken
topaz blaze
#

you can make it so it opens when u turn on your pc

#

no

#

i dont

untold narwhal
#

#1049597929356267540

#

i think uz is saying that your idea has already been done

topaz blaze
#

yes

#

why complicate your life

#

when you can do it with 2 clicks

molten barn
#
  1. You maybe need to review the NVIDIA API itself.
  2. VibranceGUI ships with a DLL called vibrance.dll
  3. DVC seems to be deprecated? I can't find an EN-US link.
    https://www.nvidia.com/de-de/drivers/feature-dvc/
    https://www.nvidia.com/en-us/drivers/feature-dvc/
  4. If you gonna make it in Python, good luck with that! The NVIDIA API is strictly C/C++ only and Visual Studio is the only IDE that can be used for linking .lib files. (Technically MSVC but nasty command-line stuff :].)
    You might need to some nasty interoping.
#
  1. You likely want to change NVIDIA Color Settings which can be altered via the NVIDIA API.
molten barn
untold narwhal
#

that's 3 not 4

molten barn
#

the embed idk

#

discord thingy

dusty plover
#

Can anyone explain to me hashtable implementations when dealing with hash collision? Why chain when you can use array and why move up or down to make looking up a key basically looping through the array if the key doesn't exist?

dusty plover
#

Not available here

untold narwhal
tawdry swift
#

@untold narwhal i have absolutely no idea what this could possibly be used for

untold narwhal
#

nsfw bot probably

tawdry swift
#

gee willickers, I hope he uses this in a way that won’t break twitter’s tos

#

and copyright

untold narwhal
#

lol

tawdry swift
#

and whatever platform he’s posting to

hazy needle
#

don't ask to ask!1!

#

ziblacking is setting up a content farm or something

#

i swear

topaz blaze
#

@everyone

topaz blaze
hazy needle
#

ffmpeg script now this

#

yea

untold narwhal
#

you'd be surprised at how accurate that guess is

untold narwhal
molten barn
#

what did he ask to make?

untold narwhal
#

a script that changes videos slightly so that tiktok doesn't detect them as reposts

untold narwhal
#

yes

molten barn
#

paypal?

#

or nitro?

untold narwhal
molten barn
#

bruh i am 17 and no paypal :(

molten barn
untold narwhal
#

yeah

#

150$ for like 80 lines of python

#

but i mean im not complaining

topaz blaze
#

cool

topaz blaze
#

ziblacking moment

hazy needle
#

i thought so lol

hazy needle
hazy needle
#

Huh

untold narwhal
#

i added stuff like color grading, cropping, cuts etc

untold narwhal
#

idk how im supposed to explain this

hazy needle
#

soo is he like

#

having multiple accounts of one/multiple person/people?

#

i wonder if this will actually be actually profitable or not

molten barn
hazy needle
#

good

untold narwhal
untold narwhal
hazy needle
#

fair enough then

sterile notch
untold narwhal
#

nah

untold narwhal
#

;compile ```c
int owo,uwu;
int main() { owo? uwu :3 ;}

regal doveBOT
#
Compilation successful

No output.

untold narwhal
#

@tawdry swift revolutionary

tawdry swift
untold narwhal
#

owo? uwu :3 ; is valid c code

tawdry swift
#

it better be

regal doveBOT
# untold narwhal ;compile ```c int owo,uwu; int main() { owo? uwu :3 ;} ```
Assembly Output
main: # @main
  push rbp
  mov rbp, rsp
  mov dword ptr [rbp - 4], 0
  cmp dword ptr [rip + owo], 0
  je .LBB0_2
  mov eax, dword ptr [rip + uwu]
  jmp .LBB0_3
.LBB0_2:
  jmp .LBB0_3
.LBB0_3:
  mov eax, dword ptr [rbp - 4]
  pop rbp
  ret
owo:
  .lon
tawdry swift
#

Average C code

untold narwhal
untold narwhal
regal doveBOT
#
Assembly Output
main: # @main
  xor eax, eax
  ret
owo:
  .long 0 # 0x0

uwu:
  .long 0 # 0x0


untold narwhal
#

0x0

#

kitty cats everywhere

tawdry swift
#

Long owo

untold narwhal
untold narwhal
#

its her

tawdry swift
#

I like the idea of cat celebrities that are only known by those in the know

untold narwhal
#

i like the idea of kitty cats

tawdry swift
#

a secret society of meow meeeeooo murrr nya

#

you feel me?

untold narwhal
#

yes

tawdry swift
#

Dis cat a fake

untold narwhal
#

;compile -Dmeow=int ```c
struct cat { meow :3 ;};

regal doveBOT
#
Compilation successful

No output.

untold narwhal
#

LMAO

#

oh oops

#

there we go

#

i love c

soft pulsar
untold narwhal
sterile notch
#

🤩

molten barn
sterile notch
#

all my homies love raj at "microsoft"

flint scarab
#

the knowledge tax isreal 💯

untold narwhal
#

how to exploit dumbasses on discord 101

flint scarab
#

based language

untold narwhal
#

IDENTIFICATION DIVISION.

flint scarab
#

MOVE LANGUAGE TO RUDE.

untold narwhal
#

is that even possible

tawdry swift
#

yeah, definitely seems like it

#

probably against yt TOS though

untold narwhal
#

how

tawdry swift
#

automated using a bot that interacts with a browser

untold narwhal
#

omds

#

macros again?

tawdry swift
#

No

#

But similar concept

untold narwhal
#

wdym

tawdry swift
#

It wouldn’t be “press kb button, click this pixel, click this pixel”

#

It’d open the page, find the proper element to click, where to upload, etc

untold narwhal
#

ah

#

slightly more sane i guess

sterile notch
#

It would be part of their api no?

tawdry swift
#

No

#

They don’t have an API for it

#

AFAIK

untold narwhal
#

couldn't you like

#

abuse that tho

sterile notch
#

Yeah probably

untold narwhal
#

confusion

sterile notch
graceful viper
#

React.js best

flint scarab
molten barn
#

my tiny brain has no idea how to an x compiler know which .c file to compile

untold narwhal
#

wdym

molten barn
#

tldr, how can i make gcc know which .c file to compile if i include some .h file

untold narwhal
molten barn
#

i have windows_Ex.h say

#

i want to compile windows_ex.c

#

but i want the compiler to automatically know what file to compile alongside my main file

#
#include <windows.h>
#define printf __builtin_printf

// ASCII variant of CommandLineToArgv, which only has a Wide Character variant.
char **CommandLineToArgvA(WCHAR **wArgv, int iArgc)
{
    int size;
    char **aArgv = calloc(iArgc, sizeof(char *));
    for (int i = 0; i < iArgc; i++)
    {
        size = wcslen(wArgv[i]) + 1;
        aArgv[i] = malloc(size);
        wcstombs(aArgv[i], wArgv[i], size);
    }
    return aArgv;
}

// This "secure" implementation of atoi, will only convert the string if it contains a valid integer.
int atoi_s(const char *_Str)
{
    if (strspn(_Str, "0123456789-+") != strlen(_Str))
        return 0;
    return atoi(_Str);
}

// This "secure" implementation of _wtoi, will only convert the string if it contains a valid integer.
int _wtoi_s(const WCHAR *_Str)
{
    if (wcsspn(_Str, L"0123456789-+") != wcslen(_Str))
        return 0;
    return _wtoi(_Str);
}
untold narwhal
#

you have to manually specify every file you want compiled

molten barn
#

ah ok

untold narwhal
#

or use a wildcard expression like *.c (effectively the same thing)

molten barn
untold narwhal
#

_ followed by at least 1 uppercase letter is a reserved identifier in c

#

_ followed by at least 1 lowercase letter is reserved at file scope

untold narwhal
molten barn
#

not sure

#

why would an email sender

#

youtube video downloader could be a gui for yt-dlp

untold narwhal
#

char* _Str

#

read the reserved identifiers sections

molten barn
#

so don't use _Str

untold narwhal
#

yeah

#

or _wtoi_s

molten barn
untold narwhal
#

yt-dlp already does the first one

#

ill be very amazed if u can compete

molten barn
#

i do it because its fun to mess with things

#

i just discovered halo infinite crashes if you pass -f <some value that isn't a space>

#

via launch options

#

same with -w

#

hard-coded stuff

#

🤢

#

hardcoded values i mean

#

debugging

untold narwhal
#

really

molten barn
#

good guis

#

bad backend code

untold narwhal
#

okay then make a ytdlp clone rn

#

shouldn't take you long if it's "easy"

#

idc about the gui, that's the easy part

#

show me ur youtube video downloader

molten barn
#

should i be using alloca

#

considering the program auto frees once the function ends

#

nim >>>>>>>>>>>>>>>>

#

for stuff that can be made with a compiled language

#
  • easy win32 interop content
#

example ^

untold narwhal
#

okay so your "yt-dlp alternative" is just a clone of another yt-dlp alternative's example usage script

molten barn
untold narwhal
#
  • like 10 lines of tkinter to get the gui
#

👏

#

it literally is tho lol

molten barn
untold narwhal
#

ytdlp and pytube both do the same thing

molten barn
#

honestly a simple batch script launcher would also work

untold narwhal
#

mmunk

#

you don't like python

#

you like using things that other people made and claiming you actually did something yourself

molten barn
#

i don't even touch python anymore

untold narwhal
#

i don't mean to turn you down but

molten barn
#

atzur, is using gpl v3 good for zetaloader

#

just asking

untold narwhal
#

no clue tbh i don't touch licenses

molten barn
#

its the only thing on the planet that fixes halo infinite

#

(like literally, i dont see any other project like it that fixes the game.)

#

sorry, i don't play preschooler games

untold narwhal
#

doesn't mit require you to give credit

#

i forgor

molten barn
#

use it as you like

#

how does it matter

untold narwhal
molten barn
#

its basically optional

untold narwhal
#

@molten barn mit requires users to provide a copy of the original license and the original copyright notice

untold narwhal
#

copyright notice meaning smth like © Aetopia 2023

molten barn
untold narwhal
#

wat

molten barn
#

i got like a lot of garbage projects and i personally use them. I do it because i find it interesting and I upload to github because i like sharing shit

untold narwhal
#

im not saying that you're a bad programmer or anything but

#

what you're doing here is like saying "i can create a machine that can run any program in the world!" and then buying all the parts for a pc and building it

molten barn
untold narwhal
#

it's just a bit dumb

molten barn
#

honestly i don't bother with gh downloads

untold narwhal
molten barn
#

why would i make stuff that has a huge impact on people

untold narwhal
#

it's like saying "i can make an amazing chicken nugget meal" then going to tescos and getting frozen chicken nuggets

molten barn
#

i never had that thought with lunar client lite

#

i just made a gui for the og batch script cuz i felt it was a cool thing to do

untold narwhal
molten barn
#

you want something that has a big impact?

untold narwhal
#

i think you're misunderstanding what he's trying to say

molten barn
#

mind explaining

#

my brain is not able to process this

untold narwhal
#

yes, im not saying products like that are always useless

untold narwhal
#

which is basically what you're doing

#

ofc it's easy to make a yt video downloader if you just use someone else's yt video downloader

#

no, im saying that i don't take credit for making those modules

molten barn
#

basically what is the point of creating something that already exists

untold narwhal
#

yeah i mean insisting on making everything from scratch isn't a very productive mindset

#

i never said you should do that

#

i said you shouldn't claim you did

molten barn
untold narwhal
#

wat

#

i did not say that

untold narwhal
#

you did not make a yt video downloader

untold narwhal
#

you used one

#

learn the difference

#

though technically speaking, pytube is licensed under the unlicense so there's nothing preventing you from literally saying you made pytube

#

but like yk

#

bit dumb

molten barn
#

simple question whats the need of making something that already exists

#

unless ofc you can do better.

#

i find some weird joy in fine tuning what i make.

#

like what*

untold narwhal
#

you didn't make a gui framework no

#

i don't even understand the question

#

what does it mean to make a gui

#

yeah i think im starting to understand why ur so confused with what im trying to say

#

"yt video downloader" can simply mean a tool that downloads yt videos

untold narwhal
#

you wouldn't be disagreeing with me if you weren't

untold narwhal
#

yeah

#

what u originally said sounded like u made the thing that actually downloads the video

#

confusing terminology

molten barn
#

^

untold narwhal
#

this

#

it wasn't in 1 single message but u basically said "i have already made a yt video downloader like yt-dlp"

#

that is what it sounded like

#

could be that i misread idk

molten barn
#

it feels like you already made one in that message

#

this also

untold narwhal
#

yeah i was exaggerating there

#

no i didnt

#

i said that you're claiming their code as your own by saying that you made what they made

untold narwhal
#

which i was wrong about apparently

#

anyway we're just rambling atp

tawdry swift
#

Is that a toilet

untold narwhal
#

best analogy of buffered output ive ever seen

untold narwhal
tawdry swift
#

kinda shitty analogy ngl

untold narwhal
#

LMFAO

lapis quarry
#

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
void main()
{
int gd=DETECT,gm;
initgraph(&gd,&gm,"c:\tc\bgi");
setbkcolor(9);
line(100,100,370,100);

line(120,100,120,170);  
arc(143,100,0,180,23);  
line(165,100,165,155);  
arc(150,155,100,0,15);  
line(180,100,180,170);  

circle(210,140,10);  
line(210,130,250,130);  

circle(280,140,10);  
line(280,130,330,130);  
line(330,100,330,170);  
line(345,100,345,170);  
ellipse(337,100,0,180,9,18);  
getch();  

}

#

Output

molten barn
lapis quarry
#

old graphics library my university still use it for c

molten barn
#

nice gcc doesn't have it

#

as part of its default headers

lapis quarry
#

works only with turbo c

#

some how i got it in vs code

molten barn
#

wow i remember this bs

vernal path
#

LOL

molten barn
#

it is so ugly

lapis quarry
#

+1

molten barn
#

at least spyder is better than this

vernal path
#

When was the newest release 💀💀

molten barn
#
char *stracat(char *dst, char *src)
{
    dst = realloc(dst, strlen(dst) + strlen(src) + 1);
    strcat(dst, src);
    return dst;
}

char *strjoin(char **strings, char *delimiter)
{
    char *buffer;
    int i,
        szBuffer = 1,
        szStrings = sizeof(char *) / sizeof(strings),
        szDelimiter = strlen(delimiter);
    for (i = 0; i <= szStrings; i++)
    {
        szBuffer += szDelimiter + strlen(strings[i]);
    };
    buffer = malloc(szBuffer);
    buffer[0] = 0;
    for (i = 0; i <= szStrings; i++)
    {
        strncat(buffer, strings[i], szBuffer);
        strncat(buffer, delimiter, szBuffer);
    };
    buffer[szBuffer - 2] = 0;
    return buffer;
}
#

yes i am making some epic garbage

molten barn
lapis quarry
#

need to draw "Apurva " in c using line and arc

molten barn
# lapis quarry Output

i assume the you need to connect the half n to the full n and complete the circle of the g

molten barn
lapis quarry
#

lol that thing

molten barn
#

i expect no one here to use turbo c though

lapis quarry
#

this is from ChatGPT

#

broo

#

anyway thanks for your time♥

molten barn
#

specify turbo c

lapis quarry
#

did output is wrong

molten barn
#

i remember turbo c in my school

vernal path
#

??

graceful viper
graceful viper
#

My school uses pycharm

#

And they use Ubuntu

#

And they use open office

#

And they use Firefox

#

And they r not dumb they have guest account won't let us access the admin

#

Still reinstalled the whole.system using a pendrive hahaha windows reinstall

#

Ez

vernal path
#

Thats for sure halal

#

Allah approves your school

#

Other than the ubuntu part

#

Ubuntu is the devil 🤣🤣🤣🤣🤣🤣

#
  • other ctt
#

So bad

#

They added amazon tracking in 12.04!!

#

They removed it in 12.10

#

Holy shit!!

#

Some stuff he gets spot on

#

Other stuff hes so far off

#

Chill either way tho

sterile notch
#

Arch and Debian best

vernal path
graceful viper
#

I suggested my it teacher get archlinux

#

She said she will ask the authorities

#

And lemme know

molten barn
#

arch is rolling distro

#

but it might not matter if they don't even update their computers

graceful viper
#

Will let you what she has to say

untold narwhal
#

fatass commit

#

relatively at least

flint scarab
#

cloc ?

untold narwhal
flint scarab
#

yoo soo cool

untold narwhal
#

ikr

untold narwhal
#

dot.

tawdry swift
#

will make code EZPLODE

#

Ignore this

#

?sccripts

#

?scripts

weary cragBOT
#

Don't ask for help about a script we didn't even make - Couleur

If you're looking for a good upscaler: #😴📜|vid-stuff message

tawdry swift
#

?blurconfig

weary cragBOT
#
  1. Open blur
  2. Drag a video in
  3. Blur will look for a text file named ".blur-config.cfg" in the same folder as your input video
  4. If it does not exist, it will create one with the default parameters and pause (press Y to resume when you see fit)
  5. blur starts rendering your video
tawdry swift
#

?best

weary cragBOT
#

There is no "best" render settings, the closest we consider some configs are in #⭐|render-hall-of-fame, the best settings for you are to be fined tune by you, there's a shit ton of stuff to configure in blur, and even more in Smoothie

tawdry swift
untold narwhal
#

okay lemme think

tawdry swift
#

br

#

ping when ready

untold narwhal
#

will

topaz blaze
#

hi im new to coding and made my first hello word ik its not really an achievement but i thought id share :)

#

@untold narwhal are you proud iof me

untold narwhal
#

yes ur so good

untold narwhal
#

okay @tawdry swift

#

lets start with the easy stuff

#

explain the output of this code

#

;compile ```py
from functools import partial

class A:
def init_subclass(cls):
A.init = cls.init_subclass.init

class B(A):
def init_subclass(cls):
return cls

class C(B):
def init(self, *i):
B.mro[-2].new = partial(import, ''.join([chr(x) for x in i]))

x = C(116, 104, 105, 115)
A()

regal doveBOT
#
Program Output
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special
tawdry swift
#

classes suck

untold narwhal
#

nah dw this is simple

tawdry swift
#

import this

untold narwhal
#

yes

#

see u got it

#

very easy

tawdry swift
#

only because I know the Easter egg

#

I haven’t learned classes

untold narwhal
#

oh

tawdry swift
#

I’ll do a brief overview later today

#

Dw

#

But I think I see how it works, at a high level

untold narwhal
tawdry swift
#

also is that a POINTER VARIABLE

untold narwhal
#

no

#

pointers dont exist in python

#

its the pack/unpack operator

tawdry swift
#

oh

#

🙏

#

Ok more quiz

untold narwhal
#

except i did it in an overcomplicated way because i lost track of whats going on like halfway through writing it

topaz blaze
#

🤓

untold narwhal
#

anywa

tawdry swift
#

sm rs is super advanced

untold narwhal
#

highly

tawdry swift
#

dw i fixed

tawdry swift
#

wtf

#

batch syntax

vernal path
#

Batch

#

one of the most worthless programming languages that not a single job on earth uses.

tawdry swift
#

sys admins?

soft pulsar
#

Powershell

tawdry swift
#

Batch is still a viable option

#

I use it when dealing with bulk file or folder operations

soft pulsar
#

I don't know anyone using batch for his job, only powershell

untold narwhal
#

@tawdry swift why

#

also what is this

#

vapoursynth calls them clips

#

not every clip is a video

#

ive also never heard anyone say "color model" when talking about video

#

pls stop.

#

also @flint scarab why the fuck are we using circle terms here

soft pulsar
#

Even weights users bruhtent

untold narwhal
#

sure

tawdry swift
#

And removing non-fruits and duplicates

tawdry swift
untold narwhal
#

the pick is random anyway

tawdry swift
#

It’s prettier

#

Better formatting

untold narwhal
#

smh

vernal path
#

@tawdry swift dad i got it formatted

#

oh thats funny

#

yall are talking about formatting

#

lmao

untold narwhal
#

vlang??

#

damn i didnt know ppl actually used this

vernal path
#

Its a joke

hazy needle
#

what's the purpose of it?

untold narwhal
#

idk tbh its just snake case go

#
#

wait no wrong v

#

this is interesting

hazy needle
#

but that's just marketing (in a way) and i am really not an expert

untold narwhal
#

;compile ```v
fn main() {
x := 5
println(x)
}

regal doveBOT
#
Critical error:

Unable to find compiler or language for target 'v'.

untold narwhal
#

;compilers

regal doveBOT
#
Critical error:

No language specified!
Please try giving me a language to search

hazy needle
#

vlang?

untold narwhal
#

;languages

regal doveBOT
#
Supported Languages

* = supports assembly output
61) sql
62) swift*
63) typescript*
64) vb*
65) vim script
66) zig*

untold narwhal
#

no v :(

flint scarab
flint scarab
vernal path
#

its not used for anothing good tbh

#

its one of the fastest high level languages however

#

it can transpile into c and transpile c and go into v

vernal path
#

oh god

#

and i'm pretty sure more full stack devs use linux

#

its like 23 and 37 and 40%

#

23 macos

#

37% windows or windows + wsl

#

and 40% linux

#

maybe windows and linux are switched

#

a lot of people use wsl anyways

soft pulsar
#

people dont use wsl on windows server

tawdry swift
#

Or just general windows utility

vernal path