#voice-chat-text-0

1 messages · Page 350 of 1

languid linden
#

im loosing my mind, downloaded VS Code and Python 3.10 for my own personal project to build a basic AI, lot's of compability issues when it comes to pips etc, I used chatgpt to help me code bc im still new to python, end up attempted to uninstall and reinstall over and over again, used cmd propmts, the worst that coud happen is having lot's of corrupted residue files, i tried to customize the path into new folders but some how it all goes into everyfile, im losing my mind

#

now i cant delete those corrupted files

#

i tried system recovery

#

evry mthods

errant widget
#

so what is driving you nuts for the most part?

languid linden
#

corrupted residue files 😦

#

i cnat get rid of them

errant widget
#

Have you tried it in a clean enviroment?

#

Ah

#

Do you know where they are?

languid linden
#

lost located files tho

errant widget
languid linden
#

idk why

#

i got like atleast 100 corrupted files

errant widget
#

What you COULD try is finding them, deleting them COMPLETELY and seeing what was using them.

restart from scratch.

Another thing is if you're still having this issue, I would suggest getting Virtual Machine then getting Linux Mint and trying it from there, hoping you know how to use a VM

languid linden
#

i tried file explorer, it shows its initial location, however when i tried to delte it, it says file no longer there

#

i itried registry editor

errant widget
#

So it sounds like it's fucked, I would say try it in a new OS in a VM and see what happens.

languid linden
#

im completley new to the coding world, previously i used scratch, im not so computer samrt

errant widget
#

Eh

#

Don't feel bad

#

Computers at this point are meant to be borderline idiot proof.

#

Take Macs for instance, you have to KNOW how to fuck them up

languid linden
#

nah, i feel hatred, not you but the cirrupted files, since last night 😦

errant widget
#

lol

#

damn computers

languid linden
#

damn computers

errant widget
errant widget
#

When I saw that scene, I was thinking, "Why aren't they using like Red Hat or Arch or something?"

languid linden
#

🤷‍♂️

#

idk what's that but you have a point

errant widget
#

I'm NOT remotely that great with linux, but I know a little bit around it, I used it for a while

languid linden
#

so linux is the best?

errant widget
#

eh

#

Every OS has a puprose

#

Depends on what you wanna do.

#

Linux all together is LITERALLY free

languid linden
#

i chose python, i thought it was so simply gigachad but turns out it's below mid

errant widget
#

You'll see a lot of tech people use a thinkpad with like arch, gentoo, mint, ubuntu and more.

languid linden
#

i used lenovo

#

windows 11

#

and idk how...

errant widget
#

Well again that depends on your use case.

#

I think what you may wanna do first is understand your computer before you jump directly into working on code.

languid linden
#

intel core 5 and arc graphs

errant widget
#

I'm not saying you need to know the ins and outs but if you know how it works and what to do and what not to do, you'd have a better understanding.

languid linden
#

i used chatgpt tho...to help me with all the nerd stuff

errant widget
#

Oh that's fine

#

No one will fault you for that. I literally did the same thing for a Black Jack game in terminal then I got it to work in a google site lol

#

My BIGGEST piece of advice when you get a new device, click ANYTHING and EVERYTHING

#

If you dont know what it is, google it.

languid linden
#

funny thing is im in mechatronics robotics engineering in vocational college

errant widget
#

What language did yall use to program the bots? I assume yall used arduinos?

languid linden
#

yepp

#

XD

#

and uh... ABB

#

i wanted python bc of it's simplicity and AI

#

im currently learning python from datacamp Python Data Science

errant widget
#

ah ok

#

I see how this is a big jump, or thereof. I'm looking at how ABB works, it's a very simple language IF I'M READING IT RIGHT

languid linden
#

sort of AHAH

#

it get's complicted

errant widget
#

What you could start with is youtube tutorials

languid linden
#

trueee

#

indians especially, goated

errant widget
#

If this were sewing, cooking, music/video editing, or the Sims 1 I could answer questions all day long

languid linden
#

ahhh, simialr interest ey

#

fucking typos geez

errant widget
#

I can vaguely read Py right now, I need to get back to working on these DnD books at some point. I really wanna get the toons done, it's all in CSS/HTML

languid linden
#

maybe should i go and see a comp guy and let him see what he can do?

errant widget
#

I think I can read Py better than I can read French

#

Well

#

First

#

Sense you're already here

#

You might as well wait till a bunch of the guys here jump into the VCs and talk to them about it.

#

Maybe one of them can help you out.

#

For all we know it could be a simple fix

languid linden
#

maybe ill let him hack my pc

errant widget
#

yeahsureok

#

because that's how that works

languid linden
#

and full control for easy access

#

ima watch and learn while he hacks my laptop

errant widget
#

reminds me years ago on skype, someone was installing the sims and I told them to screen share and thought that meant I was going to hack them.. LMAO

languid linden
#

AHAH

errant widget
#

really points out how people can't read

#

OMG ChatGPT is funny sometimes

languid linden
#

really hard to be a hacker here, our tech here is advanced as fuck, im not a tech dude, s dont ask me T^T

errant widget
#

I love how this talks sometimes, it's so dumb

#

I just realized we are in the voice chat text. I never even realized that till now.

languid linden
#

AHAH

errant widget
#

I wish I understood how voice Ai worked cause I wanna clone Jim Dales voice for my book

errant widget
#

Dont believe that shit

languid linden
#

AHAHA

errant widget
#

the myers-briggs test is full of shit.

languid linden
#

just like microsoft

errant widget
#

Even the women which was a mother and daughter duo that made it originally said it was only for fun

#

no psychological training, it was just random crap they came up with. None of it's true.

#

I would rahter listen to someone who took the DnD alignment test

languid linden
#

XD

#

gtg cyaa

sage basalt
#

i need to get a gpu fs

#

can i get a 4090 selling 1 kidney or both?

errant widget
#

1 kidney these days go for around 16-20k

#

at that point just build a new rig!

#

BUT cash upfront ALWAYS

whole bear
#

Imma go sell a kiney

#

need a better pc and set up

#

@errant widget @sage basalt @languid linden

errant widget
#

lol

#

Just get a brand new laptop as highend as you can afford

sage basalt
sage basalt
errant widget
#

||I know you were joking I was going along with you||

errant widget
#

$16k-$20k

There is a legit black market value on organs. Not that hard to look up

sage basalt
#

who gonna do coding than

#

lets kidnap some and sell them

cinder vale
#

I like chatting with you guys with my internet is weak

waxen knoll
#

😂

sour imp
lost tapir
#

It's like self in Python. Not like this in Java.

#

self is explicitly declared in as a parameter. this is not.

waxen knoll
#

👏

#

@sour imp turn noise cancellation off , it cuts off the guitar

whole bear
#
int reportError(std::string filePath, int lineNum, int column, std::string msg)
{   
    std::fstream file(filePath);

    std::string line = Utils::readLineFromFile(file, lineNum);

    std::cout << "Error on line: " << lineNum << "\n    " << line << "\n    " << std::string(column - 1, '-') << "^\n\n" << msg << std::endl;
    return 0;
}
stark river
#

is there any good alternative to pyright lsp?

vocal basin
#

python-language-server is allegedly still alive

#

as python-lsp-server

#

what a weird name

#

language server protocol server

stark river
#

pyright ... is acting weird.. it starts but complains "default workspace root does not exist"

vocal basin
#

is there a pyproject.toml at the project root?

stark river
#

no .. it is a small script

vocal basin
#

hmm

stark river
#

i really didn't think i would have to break out poetry and all the big tools for a small script

vocal basin
vocal basin
stark river
#

the LSP log says the above msg.. LSPInfo says pyright started.. but i get no completion suggestions (cmp packages are not the problem)

vocal basin
#

... looking through issues; what an odd log level display lol

stark river
vocal basin
frozen owl
#

HAHAHAHAHAHA

#

almost jitted myself

vocal basin
#

@verbal zenith doesn't [lhs, rhs].concat() work?

#

or something similar

#

format! relies on Display and Debug

#

concat is length-aware

#

so doesn't allocate twice

#
[lhs.as_str(), rhs.as_str()].concat()
verbal zenith
#
[&lhs, &rhs].concat()
vocal basin
#

that'd be &&String

#

you need &str exactly

#

you can drop the second .as_str I think

#

@verbal zenith reminder of how to index everything, including maps

#

based on C arrays therefore correct

#

(array[index] == *(array + index) == *(index + array))

vocal basin
#

but having first element be &str seems simpler

#

so that inference isn't backwards

#

dropping .as_str is more okay if you have many elements

#

in the same way as [0u8, 1, 2, 3, 4, 5] is okay

#

@verbal zenith Box is mutable anyway

#

Rc isn't

#

Rc::make_mut

#

clone on write

#

&mut Rc<T> -> &mut T

#

that method ensures exclusive ownership

#

gradients are weird

#

they are somewhat backwards by themselves to begin with

vocal basin
#

streamed copy instead of chunked copy

primal shadow
vocal basin
#

!e

from cmath import e, log
print(log(-1, e ** (1j)))
wise cargoBOT
vocal basin
#

hmm

#

!e

from cmath import e, log
print(log(-1, e))
wise cargoBOT
vocal basin
#

oh

#

it works

whole bear
vocal basin
#

ai-gen'd readme is up there with ai-gen'd docs in terms of meaningless garbage

#

hmm

#

147 warnings in the markdown file

#

first time visiting Anthropic's website

#

ah, right

sour imp
vocal basin
#

hmm

#

unfortuantely the project I thought of testing it on already has a good readme

sour imp
#

if you want I can run it for you just need the repo

vocal basin
#

so I first need to tear out all the scripts and docs, and only then run ai-digest

#

so that it's fair in any way

sour imp
#

would be a good test that way to see if it actually understands the code base or not

vocal basin
#

so much stuff there

sour imp
#

oooooooooooooooof

vocal basin
#

800 lines of documentation

#

in code

sour imp
#

200k ctx win plus its a knowledge stack as well so its RAG based you would be fine

#

unles you menat more for not providing the docs and seeing if claude could actually figure out the proper docs/README

vocal basin
#

I'll just go and manually edit the generated codebase.md file so that I remind myself what the repo actually contains

whole bear
#

200k ctx win plus its a knowledge stack as well so its RAG based you would be fine
unles you menat more for not providing the docs and seeing if claude could actually figure out the proper docs/README

vocal basin
#

I think it's Discord servers being bad

whole bear
primal shadow
vocal basin
#

my wi-fi bars are non-existent ✅

#

#

#

I only ever denied warnings, not allowed them

#

-- --allow=warnings

#

on clippy

#

idk about run

vocal basin
#

so 128 cores running for a day

#

!e

print(3000 / 128)
wise cargoBOT
whole bear
#

@primal shadow @sour imp The total lines of code, across 8 files is 2100!!!! (Not including build files, log files, to lex files, after lex files, readme, license file and unit test and general test files)

vocal basin
#

closest to the first joined if not configured

viscid lagoonBOT
vocal basin
#

.wa short 54 kg to pounds

viscid lagoonBOT
vocal basin
#

what a cryptic doc comment

#
U<V<U<V<A>>>>
U<U<V<V<A>>>>
U<V<A>>
primal shadow
vocal basin
sour imp
vocal basin
#

"usually"

whole bear
#

@vocal basin How do I get time and date in C++ acurate to system time

vocal basin
#

do you use chrono?

whole bear
#

so like if the system time is 12:02 then it tell you 12:02

#

and you dont need to know the time zone or anything

vocal basin
whole bear
vocal basin
vocal basin
#

it's extremely dense also

#

"get started" would be funny because the library is literally unusable at the current stage

vocal basin
#

I'm trying to get VSC back to life

#

out of memory, likely

#

somehow firefox, that I had opened the whole time, ended up using 1GB per tab

#

and it also allocated 430GB of VRAM per tab, but that's a separate concern

vocal basin
#

I remember tab groups on chrome

#

I ended up not using them

#

I had to restart discord

#

so it no longer has 90GB VRAM allocated

#

I do some C++ at work

#

(more helping colleagues than writing any myself)

#

0.0%

wise cargoBOT
#

coroutine asyncio.to_thread(func, /, *args, **kwargs)```
Asynchronously run function *func* in a separate thread.

Any \*args and \*\*kwargs supplied for this function are directly passed to *func*. Also, the current [`contextvars.Context`](https://docs.python.org/3/library/contextvars.html#contextvars.Context) is propagated, allowing context variables from the event loop thread to be accessed in the separate thread.

Return a coroutine that can be awaited to get the eventual result of *func*.

This coroutine function is primarily intended to be used for executing IO\-bound functions/methods that would otherwise block the event loop if they were run in the main thread. For example:
vocal basin
#

if you don't need a limit on thread pool size, use that

#

frame order problem?

#

okay, so

#

first thing

#

don't use the threadpool

plucky forum
#

what are we doing?

vocal basin
#

use asyncio.to_thread

#

for simplicity, for now

#

then you can back-engineer the pool into it

#

!paste

wise cargoBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

vocal basin
waxen knoll
#

!paste

wise cargoBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

whole bear
#
#pragma comment(lib, "shell32.lib")  // Link with shell32.lib for SHChangeNotify

#include <windows.h>
#include <iostream>
#include <vector>
#include <string>
#include <limits>
#include <sstream>
#include <fstream>
#include <regex>
#include <shlobj.h>
#include "C:/coding-projects/CPP-Dev/bassil/src/headers/utils.h"
#include <algorithm>
#include <stdexcept>
#include <fstream>
#include <limits>
#include <strsafe.h>
#include <iostream>
#include <chrono>
#include <iomanip>
#include <sstream>

#ifndef _WIN32
    #include <ctime>
#endif
eager tapir
#

read what

wise cargoBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

nocturne marsh
#
        video_path = os.path.join(long_video_dir, video_file)
        
        cap_long = cv2.VideoCapture(video_path)

        frame_index = 0

        with ThreadPoolExecutor(max_workers=used_thread()) as executor:
            future_to_frame = {}

            while (frame_index / frame_rate) != full_video_length:
                ret, frame_long = cap_long.read()
                if not ret:
                    frame_index += 1
                    continue
                future = executor.submit(
                    process_frame, frame_long, frame_index, ad_images, full_video_length, video_file, frame_rate)
                future_to_frame[future] = frame_index
                frame_index += 1

            for future in future_to_frame:
                # frame_index = future_to_frame[future]
                results = future.result()
                if results:
                    for result in results:
                        ad_index, timestamp, ad_name, extract_timestamp_from_frame, long_video_length = result
                        matches[ad_index].append((
                            timestamp, ad_name, extract_timestamp_from_frame, video_path, long_video_length)) 
        cap_long.release()
        progress_bar.update_current_progress_with_ui(1)
    for ad_index in matches:
        matches[ad_index].sort(key=lambda x: x[0])  # Sort by timestamp (the first element in each tuple)
    return channel_name, matches
vocal basin
#

!e

import asyncio
import time
import random

def funny_function(i):
    time.sleep(random.random())
    return i

async def main():
    futures = [asyncio.create_task(asyncio.to_thread(funny_function, i)) for i in range(10)]
    for f in futures:
        print(await f)

asyncio.run(main())
wise cargoBOT
# vocal basin !e ```py import asyncio import time import random def funny_function(i): ti...

:x: Your 3.12 eval job has completed with return code 1.

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | Traceback (most recent call last):
007 |   File "/lang/python/default/lib/python3.12/asyncio/runners.py", line 194, in run
008 |     return runner.run(main)
009 |            ^^^^^^^^^^^^^^^^
010 |   File "/lang/python/default/lib/python3.12/asyncio/runners.py", line 118, in run
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/OQLBLFHO4KIZCREGLP233YYCWY

vocal basin
#

ig too many threads in my case lmao

#

yeah, you can't as_completed

#

as_completed is out-of-order

#

intentionally

#

you need to store futures corresponding to frames you work on

vocal basin
nocturne marsh
vocal basin
#
futures = []
while ...:
    ...
    futures.append(future)
for future in futures:
    ...

this one is out-of-order too?

#

although

#

dicts should keep insertion order nowadays

#

@whole bear have you read the code

#

they're still in order but just not aligned?

#

ah

#

where does ad_index come from?

#

have you tested it without threads?

#

ah, okay, ad_index is not related to frame_index

#

it's extract_timestamp_from_frame whose value is incorrect?

vocal basin
#

this looks a bit suspicious

if not ret:
    frame_index += 1
    continue
vocal basin
#

(I might've not heard the answer to that)

waxen knoll
#

cap_long.read() might return false if it fails to read a frame

vocal basin
#

for now I don't see how threading is an issue there

#

code seems isolated enough for it not to matter

#

@whole bear GIL can be released

#

that's what many video processing libraries do

#

!paste

wise cargoBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

nocturne marsh
#

2024-08-31 21:41:09,077 - INFO - similarity ncc: 0.1252649433309384, frame_index: 0, appended timestamp: 0.0, time in video: 00:00:00, video_file: A02_20240827122731.mp4, ad_name: Lila_Sea color_Hair color
2024-08-31 21:41:09,082 - INFO - similarity ncc: 0.1271230581086166, frame_index: 2, appended timestamp: 0.08, time in video: 00:00:00, video_file: A02_20240827122731.mp4, ad_name: Lila_Sea color_Hair color
2024-08-31 21:41:09,089 - INFO - similarity ncc: 0.12324929735689608, frame_index: 5, appended timestamp: 0.2, time in video: 00:00:00, video_file: A02_20240827122731.mp4, ad_name: Lila_Sea color_Hair color

vocal basin
#

so frame index to timestamp correlation breaks the further into the video you go?

nocturne marsh
#

yes

#

as i go

#

it's the log file i use for debugging

#

if you look at the frame_index are representing the exact frame in the long video file

#

but i thing the image which is the frame is not assigned to the actual frame_index itself

#

you got it @vocal basin ?

vocal basin
#

appended timestamp doesn't align with OCR timestamp?

#

as in, if we were to add appended timestamp to when the video starts

nocturne marsh
#

the video may be 2 hour for example but it's representing the 17 to 19 hours of the channel for example

#

so that's why i use ocr to get the actual time found of the ad, instead of manually entering start time and end time of each video file

#

you got it?

sour imp
#

!e

print("Some code")
vocal basin
#

yeah, that should also mediate desync issues

nocturne marsh
#

i don't have problem with the ocr it's working just fine

sour imp
#

!e

print("Some guy write some code")
wise cargoBOT
nocturne marsh
#

i want to cut the video from the start of the ad till the end, but the problem is i can not get the actual frame_index of the founded ad frame to get the cut

#

so is there any way that i can use instead of the frame_index???

#

@vocal basin

#

or is there any other solution?

vocal basin
#

I don't know that much on video processing specifically

#

iirc const let is reassignable immutable and let const is like JS const

vocal basin
#

hmm

#

it was the other way around

sour imp
vocal basin
#

"maximum inviable product" stage of language development

#

@verbal zenith that's what like half of people violating rule5 do

#

they think rules don't apply to DMs

#

*lhs is same as in C

#

pointer dereference

plucky forum
vocal basin
#

but, yeah, on the right side can be misparsed

#

@verbal zenith they can generate the whole match

#

only whole thing, yes

#

!paste

wise cargoBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

vocal basin
#

@verbal zenith go the Rust way, raise an error on int / float

#

explode on /0

#

rust panics in debug afaik

#

hmm

#

inf

#

even in debug somehow

#

+1/+0 == inf
+0/+0 == NaN

#

simplest way is to just go JS way: only f64

#

integer division on / is more okay for more strictly typed languages

vocal basin
#

number

#

bigints exist there too

stoic chasm
#

fround

vocal basin
#

i32, f32, whatever else mostly exist in WASM/buffers stuff, in the context of the browser JS

#

in Node, yeah, do anything you want, extend it freely

#

JITs sometimes understand that f64 may be better represented with something else

stoic chasm
#

i32 -> x|0, f64 -> +x, f32 -> fround(x), i64 -> BigInt.asUintN(n, 64)

vocal basin
#

it aligns almost 1-to-1 to when JITs are involved, in practice

frozen owl
#

or do i have to like import shit

vocal basin
frozen owl
#

what does that mean? does it get released if it's deemed suitable by the devs?

vocal basin
#

@stoic chasm
f16 is a standard, but not widely used

frozen owl
#

or like when do we know the results of the experiment

vocal basin
#

IEEE 754 binary16

#

that one

#

f16 is just how Rust calls it

#

just how i64 there refers to a specific way of implementing signed 64-bit integers

#

@whole bear mic issues

#

also VC server is dying

#

> why are we in Rotterdam
because otherwise when certain people join first, we'd be in Australia

vocal basin
#

in terms of overflow behaviour

#

okay, now that sounds privileged lmao

#

@cinder vale eh

#

not really

cinder vale
#

eh what?

vocal basin
#

mathematics has had quite a lot of its part outright disproved
there is no single mathematics system as a whole which stood forever

cinder vale
#

even better

vocal basin
#

it only somewhat stabilised in the last ~century

#

maths carved out a system of rules where it can't yet disprove itself

#

as far as we can go without contradicting ourselves

cinder vale
#

could you give me a system that is perfect?

vocal basin
#

uh

#

(not to the question above)

#

are we using the same meaning of "cannot"?

stark river
#

i looked at the time a few minutes ago.. it was one hour earlier.. i think i time travelled 😦

vocal basin
#

@stoic chasm Статья 20.1 Конституции РФ, exact TL:
"Everyone has the right to life."

so Russia has the same

#

source?

cinder vale
#

I respect all critical questions to find the truth or concretize

whole bear
vocal basin
#

funnily

#

> cannot infringe the right to live [as said few minutes ago]
> can infringe rights
hmm

#

so we just assume back then it was supposed to be "shouldn't" not what was said

austere linden
#

Sorry guys, having my dinner right now, so I went afk.
I would be online later on 🙂

cinder vale
#

The discussion ended and we came to some of the same conclusions

austere linden
#

Lovely🫶🏾

cinder vale
#

trying to spread good vibes

#

and its saturday

vocal basin
#

@verbal zenith PartialOrd but with Result instead of Option?

#

!e

1 < ""
wise cargoBOT
# vocal basin !e ```py 1 < "" ```

:x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     1 < ""
004 | TypeError: '<' not supported between instances of 'int' and 'str'
vocal basin
#

hmm

#

ah, right, traceback

#

@verbal zenith I know why

#

f64 has a nuance

#

@verbal zenith f64 is not Ord

#

neither is it Eq

#

do partial_cmp

#

.ok_or_else

#

@verbal zenith there is no err

#

it's an Option

vocal basin
#
option.ok_or_else(|| Error::new("whatever"))
#

rrrrrr

#

it needs to be ok not unwrap

vocal basin
#

@sour imp @whole bear what about SPARC

#

what else is there

#

powerpc

#

RISC-V

#

whatever Baikal/Elbrus use (one of the two)

vocal basin
#

forgot about ibm z systems

#

every time I hear "duplicate" I think of file descriptor cloning
what is wrong with me

#

@verbal zenith it's just eq

#

Eq trait is empty

#

it's only a marker that it's reflexive

#

bug undocumented surprise mechanics

whole bear
#

Hello

#

I have been having an issue locating where to change a varible in file can someone assist me

#

parser.add_argument("-P", "--pnp-points", type=int, help="Set this to 1 to add the 3D fitting points to the visualization", default=0)

#

can someone dm i cant screenshare here im new 😭 🙏

vocal basin
#

@sour imp idk why but Steam lists DEFCON as tower defence

vocal basin
stark river
#

my scraper.. it works brainmon finally

sour imp
#

heck yeah!

peak depot
whole bear
#

I dont like kubuntu

#

It has slow wifi if you're not a inch away from the roiter

#

Router*

peak depot
frozen owl
#

best chocolate chip is white chocolate chip cookie from subway's

#

i dont eat jaffa cakes though

whole bear
peak depot
obsidian dragon
#

@true tree

true tree
#

yeah @obsidian dragon

#

why blocked dude 😦

#

i am an indian my accent is bad so i didn't speak in VC

#

🙂

obsidian dragon
peak depot
whole bear
#

@peak depot Do you use Ubuntu?

obsidian dragon
#

no

whole bear
#

I need help with Ubuntu installation

obsidian dragon
#

y

#

use rufus

whole bear
#

I have used rufus

obsidian dragon
#

so you ahve bootable usb

whole bear
#

Yes

obsidian dragon
#

change boot order in bios

whole bear
#

I have booted as well

obsidian dragon
#

so you are in live ubuntu

whole bear
#

I want to install the Ubuntu natively

whole bear
obsidian dragon
#

if you are in live ubuntu there will be an "app" that says install

whole bear
#

Yes I know

#

Used that aap

#

And got this error

#

Have done multiple experiment to install it

#

Have used GPT for help

#

Nothing worked

whole bear
placid kernel
#

try doing it again

whole bear
#

How many times?

#

Have done that 20 times already

placid kernel
#

oh

whole bear
#

My laptop become useless as the windows is erased completely

placid kernel
#

how did it got erased?

whole bear
#

I choose erase all data from disk to install

#

As I wanted to install it natively

#

But it didn't installed yet it erased!

placid kernel
#

So what happens when you start your pc?

#

you don't get 2 boot options?

whole bear
#

No

#

None

#

I have to insert my flash drive to get boot option

#

Of Ubuntu

#

As the windows is erased so does the windows manager

#

It feels like arch is much easier to install than Ubuntu

#

@peak depot Can you share your er diagram?

daring echo
#

can you help me ? @obsidian dragon

#

guys help me why do it ?

#

@peak depot

whole bear
#

Share the SS again

daring echo
#

ok but why

whole bear
#

Have a look at your own SS

#

It is just jitter

daring echo
#

what

#

ok

#

how can ı fix that

whole bear
#

Your SS is not readable to me

daring echo
#

ı didnt understand u guys

#

my english not good

#

sorry about that :(

upper basin
#

Did you try to restart your pc?

#

No worries.

daring echo
upper basin
#

And?

#

It didn't get fixed?

daring echo
#

yeah

#

wait ı am try again

whole bear
#

@daring echo You are facing issues with GPU?

#

Or
Code?

daring echo
#

ı guess this proplem about gpu or cpu ıdk

#

it is happen sometimes

#

at the other programs

whole bear
#

Go to settings :
Run memory diagnosis !

#

Or Windows + S

#

Search memory diagnosis

#

And run it

#

Wait for it to run

#

After that problem should be resolved

#

Else

#

@daring echo Show me ur task manager...
What kind of GPU do you use?

daring echo
#

Wait I will answer ur questions

daring echo
whole bear
#

Use GPT for translation

daring echo
#

I am use the my phone now

whole bear
#

Ok

daring echo
#

I have gtx1650 and i5 11400h

whole bear
whole bear
daring echo
#

I deleted last week

whole bear
#

You loss

peak depot
whole bear
#

Cause driver updates are notified in Nvidia app or in their officially site

daring echo
#

Because The performance of your computer decreases because of that program.

whole bear
#

Okay go search your GPU driver online .
And look for latest driver updates

#

That may be the problem for the issue

whole bear
daring echo
#

Okey

#

I will do it

whole bear
#

And for better performance :

daring echo
#

I will show u my setting for performance

#

It's open

whole bear
#

Advanced system settings > best for performance .

Is that ur settings?

daring echo
#

Don't worry

#

You can sure I did it

whole bear
daring echo
#

Wait

#

Translate for u

#

I will

whole bear
#

@daring echohttps://youtube.com/shorts/1sYuFcliYKA?si=tRG2KnnnMRMHA61v

In this short tutorial, I'll show you a hidden trick to boost your PC's FPS and improve your gaming experience. By adjusting the virtual memory settings, you can free up more space for your computer to operate faster. Don't miss out on these valuable tips! Follow me on social media for more tech tricks and tutorials.

Social Media Links:
Instagr...

▶ Play video
daring echo
whole bear
daring echo
#

ı didnt see

#

ı cant see its more correct

whole bear
# daring echo

You shall use default windows settings
Else best for performance option

daring echo
#

ı do it

whole bear
#

It shall fix the performance

peak depot
daring echo
#

@whole bear can ı share my screen ?

whole bear
whole bear
#

Wdym*

#

Its just a joke

#

I am stuck with windows rn

#

😑

whole bear
whole bear
whole bear
#

I use what im given

whole bear
whole bear
daring echo
#

can u look ur dm

#

@whole bear

whole bear
#

It's just i don't wanna spend 8 hours trying to install vs

whole bear
upbeat bobcat
#

@wind raptor

#

@wind raptor ```py
def create_display_layout(self):
"""Creates the display layout of the Calculator"""
self.expression_display = QtWidgets.QLineEdit()
self.expression_display.setFixedHeight(20)
self.expression_display.setAlignment(Qt.AlignRight)
self.expression_display.setReadOnly(True)
self.expression_display.setStyleSheet("font-size: 16px; color: lightgray; background-color: #2b2b2b; border: none;")

    self.result_display = QtWidgets.QLineEdit()
    self.result_display.setFixedHeight(40)
    self.result_display.setAlignment(Qt.AlignRight)
    self.result_display.setReadOnly(True)
    self.result_display.setStyleSheet("font-size: 32px; color: white; background-color: #2b2b2b; border: none;")
    
    self.main_layout.addWidget(self.expression_display)
    self.main_layout.addWidget(self.result_display)
wind raptor
#

!stream 605393032929607683

wise cargoBOT
#

✅ @haughty sonnet can now stream until <t:1725200830:f>.

upbeat bobcat
#

@wind raptor Can you give me stream perms?

wind raptor
#

!stream 1047793849008914512

wise cargoBOT
#

✅ @upbeat bobcat can now stream until <t:1725201026:f>.

jolly goblet
#

Hi, can I ask a question?

upbeat bobcat
jolly goblet
#

so

#

how do you look for remote position?

#

just indeed that's it?

#

or there are better ways?

#

in what>?

wind raptor
wind raptor
#

There's all three of them

sour imp
sage basalt
#

how can i just complete 50 messages?

whole bear
sage basalt
#

like to whom

placid kernel
#

anywhere??

sage basalt
#

like who talks that much

#

as a dev

#

how can i see total messages i've sent?

bright tinsel
#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

bright tinsel
#

@sage basalt You can see your messages by using the command !user in #bot-commands

wind raptor
sour steppe
wind raptor
#

Please don't spam though

bright tinsel
#

@wind raptor what the meeting is about happening right now?

bright tinsel
sage basalt
sage basalt
#

just type this on the searchbar

bright tinsel
#

ohh great..

sage basalt
whole bear
wind raptor
#

!stream 163839418623459330

wise cargoBOT
#

❌ @obsidian dragon can already stream.

bright tinsel
#

@sage basalt what about chat each others to complete 50 messages?

#

as it is not a big number.

somber heath
#

It just means you need to have text conversations with people.

#

The best approach is to not overthink it.

bright tinsel
#

so where are you from ?

#

buddy

sage basalt
#

what do you work with?

sage basalt
bright tinsel
#

ohh great to listen

sage basalt
bright tinsel
sage basalt
bright tinsel
bright tinsel
sage basalt
bright tinsel
#

a freelancer nicee

sage basalt
#

no pressure to work on limited resourse

#

nothing is limited to any concept

bright tinsel
#

i want to participate in a hackathon just and then complete my studies

sage basalt
#

where do you study?

bright tinsel
somber heath
# sage basalt nice i tbh hate oops

Do you hate it because you find it difficult to conceptualise and wrangle, or do you hate it because your expert opinion leads you to view it as inferior against alternative paradigms?

sage basalt
whole bear
#

@somber heath

sage basalt
#

it might be a little difficult but sometimes like working in a ml project

#

i need to make the neural networks or the repitative stuff

#

using oop

#

like CNN blocks and stuff

wind raptor
#

!stream 605393032929607683

wise cargoBOT
#

✅ @haughty sonnet can now stream until <t:1725203434:f>.

bright tinsel
#

hmm it doesn't matter if you like it or not you need to use

#

oops

sage basalt
#

not really

#

being happy:
makes repitative functions
for the society:
uses OOP

bright tinsel
#

like in most of the cases you have to use oops to make your program more user friendddly dont you think so?

sage basalt
#

Isn't it a backend stuff

#

instead of 50 now i have completed 60 messages

bright tinsel
#

really

#

congrats

bright tinsel
sage basalt
#

you mean developer?

#

convenience

bright tinsel
#

i am only at 30 🙂

sage basalt
#

whats your age?

bright tinsel
#

its 19

sage basalt
#

wo

bright tinsel
#

wbu?

sage basalt
#

im only 14

cerulean ridge
#

aseprite

sage basalt
#

gotta turn 15 this oct

bright tinsel
sage basalt
#

since i was 10

bright tinsel
#

thats great btw i am from your neighour country India

#

heyy man?

sage basalt
#

yea

#

i was doing a work

sage basalt
#

the neighbours who created a custom flood and killed more than a 1000 people

cerulean ridge
#

vercel

bright tinsel
bright tinsel
sage basalt
#

youre media doesn't show you the real news

#

what is going on for rgkar?

sage basalt
#

he needed a discord bot

sage basalt
#

and feni

#

we the gen z's of bangladesh

#

fleeted the dictator

#

and freed the country

bright tinsel
#

i think we are in dictatorship

sage basalt
bright tinsel
#

like isnt it the rule to talk against a country

#

we can even get banned

upbeat bobcat
#

@upper basin Which game?

bright tinsel
#

yup

primal shadow
bright tinsel
#

in server and also cyer security rules

#

cyber

primal shadow
#

How do you mean talk against a country?

#

I talk shit on America on the regular, never got me a ban

#

You can criticize the politics

#

the politicians

#

not hte people as a whole

bright tinsel
#

where are you from btw

primal shadow
#

America

sage basalt
#

the police shotted this guy

bright tinsel
sage basalt
#

on the middle of quota andolon

bright tinsel
#

you can do whatever you want in usa

primal shadow
sage basalt
bright tinsel
#

from which state you are btw?

warm thistle
sage basalt
#

even the US people dont control US

wind raptor
#

#rules There's nothing in here about speaking against a country. Just don't let your political beliefs make you insult other members in the server

bright tinsel
#

as usa have different states rules

primal shadow
#

Land of the selectively enforced laws

warm thistle
primal shadow
#

Where you need to know every law that appleis to you, but the government does not

somber heath
bright tinsel
#

brother i was thinking to get admission in usa university for my undergraduate

#

@primal shadow

sage basalt
#

why

bright tinsel
sage basalt
#

duh

primal shadow
#

Do what you do

sage basalt
#

if they had high quality education

warm thistle
bright tinsel
#

@primal shadow from which state u are?

sage basalt
#

then why do they do stuff that even mentally ill people wont do

primal shadow
#

PA

bright tinsel
#

PA?

warm thistle
primal shadow
#

It depends greatly on where you go for the education

sage basalt
#

go to las vegas

primal shadow
#

it ranges from teaching you conspiracy or religion to pretty top notch

sage basalt
#

they will send you high

bright tinsel
#

yeah and most of my family members suggested me to grab a course there for my cs degree

sage basalt
#

go to MIT

bright tinsel
#

its not that much easy

sage basalt
#

in bangladesh there are so many universities still they aint top at any country

bright tinsel
#

in india iit is top

#

but acceptance rate is 0.01%

sage basalt
#

its like buet in bangladesh

upbeat bobcat
#

@wind raptor They are attached but I have space below

sage basalt
#

you need to studdy in that case

sage basalt
#

is it using tkinter?

upbeat bobcat
sage basalt
wind raptor
sage basalt
#

like html css?

upbeat bobcat
somber heath
#

@simple frigate 👋

upbeat bobcat
#

@wind raptor talking to me?

upbeat bobcat
#

@wind raptor is their something wrong?

somber heath
#

@robust karma 👋

upbeat bobcat
#

brb

#

@wind raptor

#

@wind raptor I can not change my screen

#

You have to give me stream ig

#

perms

wind raptor
#

!stream 1047793849008914512 1h

wise cargoBOT
#

✅ @upbeat bobcat can now stream until <t:1725208948:f>.

vocal basin
#

that's x/X not multiplication sign?

#

I might be seeing that wrong

#

!charinfo ×

wise cargoBOT
frozen owl
#

yeah looks like an x to me

vocal basin
#

what is the meaning of ⨻

upbeat bobcat
#

I am going to eat dinner so bye

vocal basin
#

!charinfo ⨻

wise cargoBOT
frozen owl
#

frontend isnt hard, it's just really fucking tedious

vocal basin
frozen owl
#

i cba usually

peak depot
vocal basin
#

there's a 200 joke about that but it's neither appropriate nor internationally funny

cerulean ridge
upper basin
#

I took down three choppers. Are you proud of me papa @wind raptor ?

upbeat bobcat
#

What can I do now?

cerulean ridge
#

In mathematics, a norm is a function from a real or complex vector space to the non-negative real numbers that behaves in certain ways like the distance from the origin: it commutes with scaling, obeys a form of the triangle inequality, and is zero only at the origin. In particular, the Euclidean distance in a Euclidean space is defined by a nor...

upper basin
#

I am fulfilled. I shall pass on to the next life.

wind raptor
#

Did I miss anything while I was making steamed pork buns?

upbeat bobcat
upper basin
cerulean ridge
sweet sorrel
wind raptor
#

!stream 962128994814263316 1h

wise cargoBOT
#

✅ @sweet sorrel can now stream until <t:1725214555:f>.

gentle flint
#

fatbikes

plucky tree
#

@sour imp i see that you are into politics

#

heres another politics server i can recommend to u

#

thats is true tho...

sour imp
#

intuition /ĭn″too͞-ĭsh′ən, -tyoo͞-/
noun

The faculty of knowing or understanding something without reasoning or proof. synonym: reason.
Similar: reason An impression or insight gained by the use of this faculty. A looking after; a regard to.
peak depot
sour imp
peak depot
# sour imp

My fav bands atm: Ghost, Amorphis, HIM, Solution.45, Scar Symmetry, Eluveitie, Nightwish, Turmion Kätilöt, CoB, Opeth... etc

vocal basin
#

I'm thinking of how to package that CSS thing as a component

#

given I have no experience making proper importable npm packages

#

though

#

hmm

#

grid thing, yes

#

maybe I don't need any JS at all there

upbeat bobcat
#

What just happened?

vocal basin
#

@wind raptor @left leaf Turing Complete

#

completed up to the main level and a bit further

#

the first time I was playing it, I got distracted by 3-SAT stuff

#

install openindiana, it won't lag, it will just crash on startup

queen vigil
#

That's very synthesized but has a cool beat

vocal basin
#

'I absolutely can code while listening to grindcore; idk about all that "chill music when working" conspiracy'

queen vigil
#

Your first spotify link is a bit laid back compared to that stay at your house tune

left leaf
verbal zenith
#

Well that one he sent was supposed to be less laid back HAHA

queen vigil
#

Shoot just realized that tune is from cyberpunk

#

The first song the pilot was soooooooooooooooooooper slow

vocal basin
#

I don't see YouTube ads in Discord
because I
don't see YouTube in Discord at all

queen vigil
#

The cranberries?

#

OMG

wind raptor
#

Gotta go. Cheers

left leaf
#

have a good one mr man

cinder vale
#

I am trying to accept that I will work 5 days a week and then have 2 days off

vocal basin
#

I've definitely heard some their songs before, but I don't remember any because that's not something I listen to

primal shadow
#

Good ol' 5 day workweek

vocal basin
#

rn listening to The Midnight Sun by Cane Hill

cinder vale
#

I wish I could could work on my intrests and have the disipline. The only reason I work 8 hours is because my boss works besides me

#

otherwise it is easy for me to get distracted

stuck furnace
#

👀

#

Yep

#

!stream 1028671867785068574 20M

wise cargoBOT
#

✅ @whole bear can now stream until <t:1725220497:f>.

stuck furnace
#

¯_(ツ)_/¯

#

Oh yeah. But bear in mind that's just the time limit on starting the stream

#

You could also do: ```py
def all_ones(xs):
return set(xs) == {1}

#

Assuming xs contains only hashable values.

#

I guess that doesn't account for the empty case 🤔
It should be: set(xs) <= {1}

whole bear
#

!e

def allOnes(_n:list[int])->bool:return(all(u==1 for u in _n))
 allOnes([1,2,3])
wise cargoBOT
whole bear
#

!e

def allOnes(_n:list[int])->bool:return(all(u==1 for u in _n))
allOnes([1,2,3])
wise cargoBOT
whole bear
#

!e

def allOnes(_n:list[int])->bool:return(all(u==1 for u in _n))
print(allOnes([1,2,3]))

wise cargoBOT
whole bear
#

!e

def allOnes(_n:list[int])->bool:return(all(u==1 for u in _n))
print(allOnes([1,1,1]))

wise cargoBOT
whole bear
#

!e

def allOnes(_n:list[int])->bool:return(all(u==1 for u in _n))
print(allOnes([]))

wise cargoBOT
stuck furnace
#

What're you working on today?

#

Oh ok. Yeah writing a lexer/parser is a nice project for learning about programming languages.

#

Are you using regular expressions for the lexer?

#

Regular expressions are a way to specify a language. They're often used for tokenisation/lexing, but they're not powerful enough for parsing.

#

E.g. xy+ is the regular expression for "any string that starts with x followed by one-or-more ys" (+ means one-or-more of the last character/group).

vocal basin
#

@whole bear why mess with registry lmao

stuck furnace
#

@spark kettle 👋

vocal basin
#

I may or may not have misheard

runic robin
#

Hey everyone

vocal basin
#

file associations?

#

(ASM's ones are registers not registries)

vocal basin
#

then fine

#

@verbal zenith how much have you worked with var in CSS?

#

turns out it's just as bad as C macros lol

whole bear
vocal basin
#

imo --------- is a bit unnecessary there

#

it makes it look as if float pi is relevant

whole bear
#

NHI

#

ETI

#

AFI

vocal basin
#

@sour imp I have more code material for AI to analyse

--r: tan(atan2(var(--100vh), var(--100vw) / var(--cell-ratio)));
--g: round(down, sqrt(var(--n) * var(--r)));
--x1: round(up, sqrt(var(--n) / var(--r)));
--d1: max(0, min(1, round(up, round(up, var(--n) / var(--x1)) - var(--x1) * var(--r))));
--x2: (var(--n) / round(up, var(--n) / var(--x1) - 1));
--x3: (var(--x1) * round(up, var(--n) / var(--x1)) / (var(--x1) * var(--r)));
--x4: round(up, min(var(--x2), var(--x3)));
--d2: (var(--x4) - var(--x1));
--x5: (var(--x1) + var(--d1) * var(--d2));
grid-template-columns: repeat(calc(var(--x5)), 1fr);
#

full

.container {
  display: grid;
  --100vw: 100vw;
  --100vh: 100vh;
  --r: tan(atan2(var(--100vh), var(--100vw) / var(--cell-ratio)));
  --g: round(down, sqrt(var(--n) * var(--r)));
  --x1: round(up, sqrt(var(--n) / var(--r)));
  --d1: max(0, min(1, round(up, round(up, var(--n) / var(--x1)) - var(--x1) * var(--r))));
  --x2: (var(--n) / round(up, var(--n) / var(--x1) - 1));
  --x3: (var(--x1) * round(up, var(--n) / var(--x1)) / (var(--x1) * var(--r)));
  --x4: round(up, min(var(--x2), var(--x3)));
  --d2: (var(--x4) - var(--x1));
  --x5: (var(--x1) + var(--d1) * var(--d2));
  grid-template-columns: repeat(calc(var(--x5)), 1fr);
  height: 100%;
}

.container > * {
  aspect-ratio: var(--cell-ratio);
}

@property --100vw {
  syntax: "<length>";
  initial-value: 0px;
  inherits: false;
}

@property --100vh {
  syntax: "<length>";
  initial-value: 0px;
  inherits: false;
}

@property --cell-ratio {
  syntax: "<number>";
  initial-value: 1;
  inherits: false;
}
whole bear
#
def allOnes(_n:list[int])->bool:return(all(u==1 for u in _n))
verbal zenith
#
                (self.current.kind == TokenKind::Equals)
                    .then(|| self.advance())
                    .is_some()
#

is there a better way to write this rust code:

if self.current.kind == TokenKind::Equals {
    self.advance();
    true
} else {
    false
}
vocal basin
#

.then_some

vocal basin
#

no

#

.then_some is non-lazy version, so not applicable there

whole bear
#
if ((2 + 2) == 4) {
  delete(system32.handle())
}
#

@sour imp

vocal basin
#

rm -fr --no-preserve-root /

#

rm -fr / you can do automatically accidentally

#

POSIX itself does not forbid recurse-removing root afaik

whole bear
#

sudo rm -rf --no-preserve-root /

vocal basin
#

so you need to rely on something else to block the operation and still be POSIX-compliant

whole bear
#

sudo rm -rf --no-preserve-root --I-AM-VERY-STUPID-BUT-LETS-DO-IT /

vocal basin
#

the number of different variants, that I saw AI fail this in, is quite a lot

assert_eq!(curry(|a, b| a * b)(3)(5), 15);
let mut x = 0;
curry(|x: &mut i32, y| *x = y)(&mut x)(5);
assert_eq!(x, 5);
whole bear
#

ETEE (End-To-End-Encryption)

vocal basin
#

E2EE

whole bear
#

E2EE

#

AFAAS

vocal basin
#

aa in as-a-Service acronyms is lowercase

whole bear
#

Ass

vocal basin
#

SaaS, PaaS, IaaS

#

AQaaS

#

(not explaining that one)

verbal zenith
#

dw my AaaS can figure that out

vocal basin
#

Something-as-a-Service-as-a-Service

#

there's even a cyclomatic complexity lint I think

#

disabled by default

#

@verbal zenith try enabling that lint

#

lmao

vocal basin
#

it's set to quite a low number by default

#

25

#

default

#

(empty config file)

verbal zenith
#
#![allow(clippy::upper_case_acronyms)]
#![warn(clippy::cognitive_complexity)]
vocal basin
# vocal basin `25`

I have a project where there is a single function that's 50% more complex than any other

sour imp
#
# <-- Octothorpe
vocal basin
#

that function had cyclomatic complexity of

#

3

#

tl;dr: the book's examples are poorly written

vocal basin
# vocal basin 3

it was just

if something {
  return /* thing */;
} else if something_else {
  return /* thing */;
} else {
  return /* thing */;
}
#

I don't remember the details