#voice-chat-text-0

1 messages ยท Page 285 of 1

potent sable
#

looks like im getting 1 critical a day

stark river
#

thanks. checking out the src for it rn.. looks like merge sort?

potent sable
#

@rugged root

rugged root
#

!server

wise cargoBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 117
Member status: status_online 47,123 status_offline 343,814

Members: 390,938

Helpers: 159
Moderation Team: 39
Admins: 13
Directors: 3
Contributors: 47
Leads: 14

Channels: 278

Category: 30
Forum: 3
News: 12
Staff: 120
Stage_Voice: 1
Text: 105
Voice: 7

potent sable
#

huh

rugged root
potent sable
#

hemlock

#

whayt do i do here

rugged root
#

Expand Critical and see what it says

potent sable
#

how i do tha

#

uh

#

i think this is bnad

#

@rugged root

rugged root
#

Thinking

golden delta
#

@rugged root

potent sable
potent sable
rugged root
#

That just means that it crashed, that's not the issue

potent sable
#

yes but look

#

loads of them

rugged root
#

That's for every crash

potent sable
#

eyyy its javascript

#

2 warnings?

#

3

#

4

#

idk im just showing u loads of stuff at this point

#

this is for critical

rugged root
#

Sorry, my attention is split right now, sorry

potent sable
#

its alr

rugged root
#

!pep 582

wise cargoBOT
whole bear
#

@somber heath๐Ÿ‘‹

#

@dire folioHemlock is in call!

long nimbus
whole bear
#

@last rover๐Ÿ‘‹

#

@stark river๐Ÿ‘‹

rugged root
# potent sable its alr

Okay sorry, on that main screen, right click the Error category and select View All Instances

#

Mmmm.... Red Bull....

stark river
#
#include <type_traits>
constexpr int someFunction()
{
    if (std::is_constant_evaluated()) 
        return someConstexprFcn();    
    else                              
        return someNonConstexprFcn(); 
}

or

constexpr int someFunction(bool b)
{
    if (b)
        return someConstexprFcn();
    else
        return someNonConstexprFcn();
}

@next tapir you mentioned you were working in C++... i'm trying to learn it.. quick question: which one of these code implementation is usually preferred (the book gave me both but i don't know which one is preferable)?

rugged root
#

First one feels more explicit at least

long nimbus
#

Has anyone here checked out suno.ai?

stark river
#

i grew up with floppies

wind raptor
#

Kings Quest floppies!!

whole bear
#

@summer swift๐Ÿ‘‹

vocal basin
#

PyCharm's LSP is very sensitive to how modules are structured

whole bear
vocal basin
#

I haven't tested that for PyRight

#

* re-exports destroy PyCharm's performance

#

len requiring Sized is very much proper warning

#

do not suppress that

wind raptor
next tapir
vocal basin
rugged root
vocal basin
#

annotations changes the order of evaluation
so it might break something

#

if I understand correctly

rugged root
#

@molten pewter

vocal basin
#

there might be a shortcut

#

there is a button

#

"The Benefit" of trucks is relaxed ecology regulations

vocal basin
#

and it's not on the ctrl+/ list I think

rugged root
#

@next tapir Catch you later

rugged root
stark river
whole bear
upper basin
#

I don't see having to generate stub files for all 3rd-party packages myself an immediate task.

wind raptor
#

We have one of these that drives by all the time

#

It's so cool

upper basin
#

I don't understand the error you mentioned though. Why isn't Iterable supported?

vocal basin
#

T: Sized => len(t)
T: Sequence => t[i]
T: MutableSequence => t[i] = x

#

the only thing that Iterable gives is __iter__

upper basin
#

Ohh.

vocal basin
#

__iter__ returns Iterator

#

the only two methods that Iterator provides are __next__ and __iter__ (latter returns self)

upper basin
#

Is Sized also an Iterable?

vocal basin
#

all Sized are Iterables

#

iirc

upper basin
#

Like does it support __iter__.

#

Ok I see.

#

So I should just switch from Iterable to Sized?

vocal basin
#

!e

from typing import Sized, Iterable
print(issubclass(Sized, Iterable))
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

False
vocal basin
#

huh

upper basin
#

huh

vocal basin
#

I guess not like this

upper basin
#

HEHEHE

vocal basin
upper basin
#

I just don't want to specifically say List or NDArray.

#

I want both supported.

#

Hence the Iterable habit.

vocal basin
#

Sequence covers both and also supports indexing

upper basin
#

Sequence, huh.

#

I recall sth about Sequence.

vocal basin
#

!e

from typing import Collection, Sized, Iterable
print(issubclass(Collection, Iterable))
print(issubclass(Collection, Sized))
upper basin
#

I remember there was a reason for going with Iterable when we discussed this a few months back.

wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | True
002 | True
vocal basin
#

Collection is Iterable+Sized+Container

upper basin
#

!e

from typing import Sequence, Sized, Iterable
print(issubclass(Sequence, Iterable))
print(issubclass(Sequence, Sized))
wise cargoBOT
#

@upper basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | True
002 | True
upper basin
#

Ooh and __contains__

#

Gotcha.

weak token
#

I have an impossible problem for you

upper basin
#

Alisa, would it be wise to opt to use Collection all the time instead of Iterable?

#

Like whenever I want to support List and NDArray.

vocal basin
#

at times you'll need Sequence according to warnings

#

I'd suggest just following what the warning say

#

when it requires indexing => put Sequence

weak token
vocal basin
#

or MutableSequence

#

when it requires len => put Sized

upper basin
#

But isn't Sequence basically under Collections?

#

Like Collections is like Sequence with __contains__, no?

upper basin
vocal basin
#
Sequence: Reversible + Collection + __getitem__
Reversible: Iterable + __reversed__
Collection: Sized + Iterable + Container
Sized: __len__
Iterable: __iter__
Container: __contains__
stark river
vocal basin
#

!e

from collections.abc import Sequence
help(Sequence)
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | Help on class Sequence in module collections.abc:
002 | 
003 | class Sequence(Reversible, Collection)
004 |  |  All the operations on a read-only sequence.
005 |  |
006 |  |  Concrete subclasses must override __new__ or __init__,
007 |  |  __getitem__, and __len__.
008 |  |
009 |  |  Method resolution order:
010 |  |      Sequence
011 |  |      Reversible
... (truncated - too many lines)

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

vocal basin
#

^ how to find that stuff without visiting docs

upper basin
#

Alisa?

#
qoin\qrng.py:301: error: Value of type "Collection[Any]" is not indexable  [index]
vocal basin
#

Sequence

upper basin
#

Ok, lemme try that.

#

I don't understand, why does it pass for Sequence, but not for Collection?

#

They both support Iterable.

vocal basin
#

[]

#

is __getitem__

#

Collection doesn't provide __getitem__
Sequence does

upper basin
#

!e

from collections.abc import Collection
help(Collection)
wise cargoBOT
#

@upper basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | Help on class Collection in module collections.abc:
002 | 
003 | class Collection(Sized, Iterable, Container)
004 |  |  Method resolution order:
005 |  |      Collection
006 |  |      Sized
007 |  |      Iterable
008 |  |      Container
009 |  |      builtins.object
010 |  |
011 |  |  Class methods defined here:
... (truncated - too many lines)

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

upper basin
#

OHHH

#

Ok, so Collection and Sequence are actually not in different levels, one has __contains__, the other has __getitem__.

vocal basin
#

I think there is no thing that unifies Sequence[T] and Mapping[int, T]
because many of their methods would differ

molten pewter
#

PSF?

vocal basin
#

hmm

upper basin
#

So MutableSequence it is?

vocal basin
#

for assigning

upper basin
#

Yeah.

#

To also allow that on top of the other stuff.

#

!e

from collections.abc import MutableSequence
print(issubclass(list, MutableSequence))
wise cargoBOT
#

@upper basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

True
upper basin
#

!e

from collections.abc import MutableSequence
from numpy.typing import NDArray

print(issubclass(NDArray, MutableSequence))
wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 4, in <module>
003 |     print(issubclass(NDArray, MutableSequence))
004 |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 |   File "<frozen abc>", line 123, in __subclasscheck__
006 | TypeError: issubclass() arg 1 must be a class
rugged root
#

Back in a jiffy

upper basin
#

!e

from collections.abc import MutableSequence
from numpy import ndarray

print(issubclass(ndarray, MutableSequence))
wise cargoBOT
#

@upper basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

False
upper basin
#

huh.

vocal basin
#

!e

from collections.abc import MutableSequence
from numpy import array

print(isinstance(array([0]), MutableSequence))
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

False
vocal basin
#

ah

#

append

#

that's what it can't use

upper basin
#

Ohh, so MutableSequence supports append, but ndarray doesn't.

#

Am I understanding correctly?

#

I am stupid, I know ndarray doesn't have append, but still I want to check HEHEHE.

#

Wait, so since append is different, wouldn't that cause problems down the line when you pass a ndarray?

#

Is there a common way between the two to append sth?

#

Ohh, unless I always would return either an ndarray or a list. Then I can just code that conversion in.

rugged root
#

The gods of network connections is angry with me

#

And has been for a while

#

Wheeeeeeeee

golden delta
#

you back@rugged root?

rugged root
#

Here but still bouncing back and forth between work and here

#

Dealing with issues we're having with our phone systems at work

golden delta
#

okay lmk when you have a sec

rain hawk
#

How will I be able to speak in the vc

rugged root
#

@whole bear Shock collars

rugged root
rain hawk
#

Oh okay thanks

rugged root
#

No problem!

#

@upper basin Might just mean it's not updated server side or something. Don't worry about it, it'll fix itself

rugged root
# rain hawk Oh okay thanks

And if people are here in VC, typically they'll also be watching the text channel too so that no one gets left out of the conversation

upper basin
oak fern
#

Hey guys, I need some advice, I have recently started learning computer vision, i know basic to intermediate python and learning, but how deep should i go in math(linear algebra)? any suggestions?

undone idol
#

linear algebra is neat, axler

#

should be fine

#

abstract math is indeed nice

oak fern
#

I have done the linear algebra course on machine learning by Luis Serrano on coursera...that enough?

undone idol
#

homotopy ๐Ÿ‘€

oak fern
#

ok thanks!

undone idol
#

group theory err no, its really for research side innit

#

it does include lin alg, yes

#

groups are fun yeah

rain hawk
#

Yeah things like hypothesis testing and all those things are required if your thinking of doing research

undone idol
#

uh Algebraic geometry and such includes gt

rugged root
#

It's interesting

#

@peak depot Suuuup

#

It's true

peak depot
rugged root
#

Sorry, one of my bosses asked me a question. Yeah, I did sleep, but I've got a sinus infrection or something so I'm still bleh

rugged root
#

Guinea pigs are potatoes

golden delta
#

pookie and kitten @peak depot

rugged root
#

Why those names?

#

Fair

upper basin
peak depot
rugged root
#

"Dude, I JUST got it warm"

peak depot
golden delta
rugged root
#

Standard silly overpriced gaming chair

#

I don't think I could use a chair without armrests

upper basin
rugged root
#

Yarp

#

I can tell you from here pretty easily

oak fern
#

It got stars...๐Ÿ˜…

rugged root
#

Okay so you for sure have nothing on the external drive, right? Because we're going to reformat it

peak depot
upper basin
rugged root
#

@golden delta Right click the external drive, and near the bottom is Format

#

Then you'll just select NTFS for the file system type

#

And just do the quick format

#

Yep

#

Then you'll be able to back up to it

peak depot
rugged root
#

One sec.

upper basin
#

This is why we need the Thor hammer coming down to ban people.

#

Just kick them out of valhalla.

rugged root
#

If people kept tripping there, would it be Fallhalla?

upper basin
#

Yes.

rugged root
#

Mmm.... Fazoli's...

#

Italian fastfood chain here in the US

#

Love them

stark river
rugged root
#

Fast food means you don't have to wait a long time to get it

#

Like you can get it from a drive-thru window

#

As opposed to traditional places where you're seen to a table, sit down, spend an hour or so there, etc.

#

@civic ivy Sup

#

Eating food

stark river
#

stick it in a microwave n serve

rugged root
#

Chicken Carbonara

golden delta
#

OMFG

#

I just saw a gray Porsche 911 gt3 rs

rugged root
#

To do what

golden delta
#

On the street

rugged root
#

Nah

golden delta
#

so sexy

civic ivy
rugged root
#

Nah

rugged root
#

Nice hockey

#

Quiet isn't always bad

#

?

#

Both?

#

I'll let you know after my headache subsides

#

I'm glad that Rust is making me think in a functional style again

#

It's very satisfying

#

@stuck furnace Yo

#

It's also reminding me that I'm over thinking a lot of this

civic ivy
rugged root
#

Programming language

rugged root
#

Like doing a quick N factorial thing:

fn factorial(num: u64) {
  let nums = 1..=num;
  nums.fold(1, |acc, x| acc * x)
}
#

So nice and clean

#

Is factorial always absolute value?

civic ivy
#

Code me a bot that auto plays blackjack for me so i become a gazillionaire

rugged root
#

@whole bear Yes?

#

Trying to troubleshoot our phone systems

#

And learning Rust

#

Oh pff

vocal basin
rugged root
#
fn factorial(num: u64) -> u64 {
  (1..=num).fold(1, |acc, x| acc * x)
}
#

I'm the reader!

vocal basin
#

imo, std::ops stuff is underutilised

stark river
#

what is this .fold function?

rugged root
#

Accumulate

#

More or less

vocal basin
#

reduce

rugged root
#

That one

#

Reduce never made sense to me to describe this

#

I mean I guess it does reduce the number of values

vocal basin
#

!d functools.reduce

wise cargoBOT
#

functools.reduce(function, iterable[, initializer])```
Apply *function* of two arguments cumulatively to the items of *iterable*, from left to right, so as to reduce the iterable to a single value. For example, `reduce(lambda x, y: x+y, [1, 2, 3, 4, 5])` calculates `((((1+2)+3)+4)+5)`. The left argument, *x*, is the accumulated value and the right argument, *y*, is the update value from the *iterable*. If the optional *initializer* is present, it is placed before the items of the iterable in the calculation, and serves as a default when the iterable is empty. If *initializer* is not given and *iterable* contains only one item, the first item is returned.

Roughly equivalent to:
vocal basin
#

three-argument form of this

rugged root
#

I'm still getting used to the pipes for lambdas

vocal basin
#

two-argument form in Rust would be .reduce(...).unwrap()

rugged root
#

Wait, what I did has only two arguments

vocal basin
#

or .expect with some reasonable message

#

two-argument form of functools.reduce

stark river
#

implicit default 0 val for the init

vocal basin
#

!e

from functools import reduce
reduce("literally whatever", [])
wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 2, in <module>
003 |     reduce("literally whatever", [])
004 | TypeError: reduce() of empty iterable with no initial value
vocal basin
#

no implicit default

vocal basin
rugged root
#

Ah, I get what you mean now

vocal basin
#

iter, init, func in Rust
func, iter, init in Python

rugged root
#

Yeah the iter is implicit in this case since it's a method call

vocal basin
#

Iterator::fold

#

(Iterator has a lot of default methods)

rugged root
#

It's so nice

whole bear
#

@acoustic mirage๐Ÿคจ

vocal basin
#

75

rugged root
#

That's a lot

whole bear
#

Why is your name close to mine?

vocal basin
#

then there's also itertools::Itertools

rugged root
#

.... because they happen to have a similar name?

vocal basin
#

with 116 methods

#

(some of them have migrated to Iterator though)

stuck furnace
#

Hey Mindful ๐Ÿ‘‹

whole bear
rugged root
rugged root
#

Man, $10 whole dollars

#

That's wild

#

@stark river Whatcha up to

#

"For just 10 cents a day, you too can support a starving data scientist."

stark river
#

enjoying the weekend.. studying some C++.. watching some old episodes

rugged root
#

Very nice

#

Musicians, actors...

#

Startups

stark river
#

you're supposed to put /s at the end so we know it's sarcasm

rugged root
#

It was sarcasm?

#

But yeah, true, it was

#

Just keeps spinning suspended in mid-air

stark river
#

every time i hear the word dollar i think of that joke: what's the difference between a dollar and a pound? i don't dollar ur mum

rugged root
#

Well played

#

GBlbs

#

That tracks

#

Tithing is a good way

#

@peak depot You're dead to me

#

Have fun

#

@peak depot Karma

#

Just sayin'

#

Yet

#

God iterator has so much

#

Now to deal with hashmaps

#

@wind warren Yo

vocal basin
#

only five of them are deprecated

#

so that leaves 111

rugged root
#

@civic ivy You're a big boy, you can make your own bad decisions without our input

#

Yep

#

Rather not be a scape goat for stupid

potent sable
#

@rugged root HELP

#

WTH

vocal basin
#

where does the warning originate from?

potent sable
#

i was afk and it just popped up

graceful kelp
#

Good....wby lol

potent sable
#

what do ido

vocal basin
#

regardless of whether it's real, do not click

graceful kelp
#

Nope I'm not good at itt anyways

vocal basin
#

only download drivers from the official site

potent sable
#

it said press yes to go to the site thing

#

ive been having issues w stuff tho

vocal basin
#

visit the link instead of pressing Yes

#

manually type it

#

the popup might be illegitimate

potent sable
vocal basin
#

select the videocard you have

potent sable
#

idk what i have

vocal basin
#

R7 360 allegedly

#

you can also check it from task manager or wherever else

potent sable
#

i cant find it

vocal basin
potent sable
#

what now?

vocal basin
#

first one (adrenalin) is the regular one

potent sable
#

downloading

#

i got blue screen of death yesterday

#

it told me to save in my files thing

vocal basin
#

@civic ivy that's just someone's mic echoing, quite likely

potent sable
#

what do i do once its downloaded

vocal basin
#

open the installer; most of the steps have okay settings by default, no extra config needed

#

during installation it will bug out a bit -- that's normal

potent sable
#

it told me to press yes or no (make changes to device) blah blah blah

#

now what i do

vocal basin
#

it didn't provide any folder by default?

potent sable
#

i accidentally removed it

#

like i was trying in discord

#

and it was highlited

#

so whatever it was in it changed to what i typed

vocal basin
potent sable
vocal basin
#

@upper basin does it support importing SVG?

upper basin
#

Do you have a svg file I can try?

vocal basin
potent sable
#

almost done

#

wheres mr.hemlock btw?

#

@rugged root

vocal basin
#

@upper basin it looks ok but it will have transparency issues

upper basin
vocal basin
#

ugh svgs don't work here

#

!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
#

I didn't listen attentively enough to be able to help rn

#

!d asyncio

wise cargoBOT
#

Hello World!

import asyncio

async def main():
    print('Hello ...')
    await asyncio.sleep(1)
    print('... World!')

asyncio.run(main())
```...
vocal basin
#

do you use threading now?

#

@frozen owl what queue are you using?

#

queue.Queue, right?

#

yeah

#

don't index into it

#

oh, wait

#

what was that [0]?

#

it's not on a queue

#

what is that .queue[0]

#

you shouldn't access .queue of Queue

#

that's collections.deque that's inside the Queue

#

!e

from queue import Queue
print(Queue().queue)
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

deque([])
vocal basin
#

don't access that

#

never

#

.queue attribute is not thread-safe

#

.put() and .get()

#

if don't want to consume it, put it back into the queue

#

on which condition do you not consume it?

#

do you care about the order?

vocal basin
upper basin
vocal basin
#

@wise loom as far as I saw, twisted is still used as runtime for some other stuff; and it still seems actively developed

willow gate
vocal basin
#

!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.

wise loom
#

Python has evolved a lot..

frozen owl
vocal basin
willow gate
vocal basin
#

something like this

async def process_in(
    in_: In,
) -> Out:
    ...

async def process_one(
    in_: In,
    out: asyncio.Queue[Out],
):
    await out.put(await process_in(in_))
    

async def process_many(
    in_: asyncio.Queue[In],
    out: asyncio.Queue[Out],
):
    async with asyncio.TaskGroup() as tg:
        while True:
            tg.create_task(process_one(await in_.get()))
frozen owl
frozen owl
#

im not very good at async lol

vocal basin
#

put more state validation (runtime assertions) in the code, if you think there's a logic error

#

PySide is the official one
and, yes, that might cause issues too

#

(as in two different Qts might have integration problems)

#

make sure the error in the GUI is linked to a specific source error

upper basin
#

Alisa can I send you the little gif I made with the logo?

#

I think you'll like it.

#

teehee

vocal basin
#

depends on whether the .gif is filtered out by the bot or not

#

(.svg is)

upper basin
#

I can dm it.

vocal basin
#

@frozen owl I though I saw Ok somewhere else but there you have ok

#

different casing

#

@golden delta as in returned/set, not checked

golden delta
#

what?

vocal basin
upper basin
vocal basin
#

@frozen owl
where is "ok" response created?

#

log every event properly to track what actually happens

#

preferably in a file

#

!d logging

wise cargoBOT
#

Source code: Lib/logging/__init__.py...

willow gate
vocal basin
#

I think

#

that's API that you need a key for

vocal basin
#

not a key

#

@frozen owl
make sure you show the exact error that happened

#

in the UI

#

if there is no error you can show => no error will be shown
use "showing the exact error cause in the UI" as the guiding mechanism for restructuring the code to fix the bug

willow gate
#

need some sugestion too should i dm you

vocal basin
# wise cargo

your understanding of what happens in the program (event-wise) might be wrong or incomplete (or totally correct)
logging will help with analysing it

vocal basin
willow gate
#

i want to submit it in college

#

as my finial year project

vocal basin
#

it's probably fine if it's open-source on something like GitHub then

willow gate
vocal basin
#

also GitHub issues should be okay -- because that's not code written for you by someone but just comments on the code/functionality
(and the project will appear more active)

#

yeah, logger should be defined module-level

#

probably

#

for ease of use

#

@next tapir
Python Community role?

#

so the bug is that it doesn't exclude

willow gate
vocal basin
willow gate
vocal basin
#

@golden delta you can make an alt for testing joining/leaving; they are allowed by discord, judging by the existence of "switch accounts" feature

golden delta
#

yea

vocal basin
#

@ancient remnant verify program state as soon as possible, i.e. before putting the piece in the box

#

yeah, there needs to be a mod in the VC

#

(for Video)

#

yeah, there were enough previous instances of misuse that it got locked down

#

it can be given for longer

#

sometimes

#

temporary, then probation period, then permanent

willow gate
vocal basin
vocal basin
#

I prefer not being voice-verified

#

@frozen owl also log where you connect successfully and where you set the UI error

#

and all that causes that (within reason)

#

so it tries different ways and only one succeeds

#

and it reports only the failure

#

there are two login results in the log

#

error and ok

#

is the first error (auth by key) reported?

#

so it's just reporting that too early

#

just as it's not yet the time to report ok, it's not yet the time to report error

#

maybe it returns something

#

status or whatever

willow gate
#

@whole bear what'sup

whole bear
#

@spare siren๐Ÿ‘‹

willow gate
whole bear
#

Send link

willow gate
#

can we play on activity ?

whole bear
willow gate
#

we can share activity in vc

whole bear
#

Oh chess in the park?

#

No

#

It is not available

#

Or you mean in dms?

willow gate
#

yep it needs permission i think

whole bear
#

No Dms

willow gate
whole bear
whole bear
spare siren
whole bear
#

How you doin?

whole bear
#

@whole bear

willow gate
#

@vocal basin you wanna play?

willow gate
vocal basin
#

can't; regional restrictions

willow gate
frozen owl
vocal basin
#

Karjakin got banned there

#

and then retaliation happened

#

I don't think printing will consume it

fast sparrow
#

@frozen owl why do you have that huge dock at the bottom taking screen real estate? just hide it. cat_cry

#

defaults write com.apple.dock autohide-time-modifier -float 0.15; killall Dock

#

@whole bear yeah, waht's up?

whole bear
#

@grand finch ๐Ÿ‘‹

fast sparrow
#

same old, same old! wake up, pretend not to be an introvert, sleep, and repeat.

#

what about you?

whole bear
whole bear
grand finch
vocal basin
#

it might be possible for me to play on chess.com but only from a phone

#

quite common for mobile apps to have built-in mirrors

#

@frozen owl whatever you're doing with locks, it's probably better to use with lock:

fast sparrow
vocal basin
#

with instead of acquire

frozen owl
#

where lol

willow gate
vocal basin
#

(I just heard lock.acquire; so ig it's just not in your code)

#

also I need to go now

willow gate
willow gate
#

@wind raptor hello

#

good and you

#

how's your college going on

#

cool

#

nice

#

working on project

#

garbage reporting system

#

making tweet to goverment to clean the garbage

#

i need tweeter dev acc which provide 1500 free tweets per m

#

yes

#

can we share activity in vc

#

like we can play game bobble league

#

ok

#

yes

willow gate
#

ok

#

yes

#

website is half done

#

don't have much idea how to create bot

#

have to work on frontend

#

i want to create a google direction link using longitude and latitude

#

without api

#

any idea?

#

like i think coz it will be a static link

stuck sky
#

fire

#

fire

#

run

willow gate
#

yes

graceful kelp
#

Can I ask smthg here related to sql

#

c.commit() is for saving all the stuff? or it has smthg else to do ?

wind raptor
#

commit() will save your database changes.

graceful kelp
#

That's the only major thing right? Aight thankyou

wind raptor
#

There are certain things that save automatically and certain things that don't

terse needle
#

*> <*

graceful kelp
#

Okay!

#

c.close() just closes it right?

wind raptor
#

Oracle SQL?

graceful kelp
#

SQL?

wind raptor
#

What db are you using?

#

Oracle, Microsoft, PostGres, etc

graceful kelp
#

like python connectivity SQL?

wind raptor
#

SQLite?

graceful kelp
#

I use idle

wind raptor
#

The one built into Python is SQLite

graceful kelp
#

So close() doesn't save changes but just closes it right

civic ivy
#

yooooo

wind raptor
#

close will close your cursor or database connection depending on what you close

terse needle
#
Whitespace = String(" ") | String("\n") | String("\t")
Whitespaces = Join @ Many(Whitespace)

Digit = CharSatisfy(str.isdigit)
Integer = int % ( Join @ (Optional(String("-") | String("+")) 
                          + Some(Digit)
                          + ~Whitespaces) )

Float = (Optional(Char("+") | Char("-")) +
            (
                ( Optional(Some(Digit)) + Char(".") + Some(Digit) ) |
                ( Some(Digit) + Optional(Char(".") + Many(Digit)) )
            ) +
            Optional(Char("e") + Some(Digit)) +
            ~Whitespaces
        ) @ Join % float
wind raptor
lavish rover
#
jsString = "".join @ (~Char('"') + ManyUntil(jsEscChr | AnyChar, ~Char('"')))
jsArray  = list @ forward(lambda:
    Between("[", "]", SepBy(jsVal, ~Terminal(",")))
)
jsObject = dict @ forward(lambda:
    Between("{", "}", SepBy(Tuple @ (jsString + ~Terminal(":") + jsVal), 
                            ~Terminal(",")
                            ))
)
jsVal = jsNumber | jsString | jsObject | jsArray | jsTrue | jsFalse | jsNull
jsonP = ~Whitespaces + jsObject + ~Whitespaces
terse needle
#
use pom::Parser;
use pom::parser::*;

#[derive(Debug)]
enum Expr {
    Ident(String),
    Expr(Vec<Expr>),
}

fn space() -> Parser<u8, ()> {
    one_of(b" \t\r\n").repeat(0..).discard()
}

fn expr() -> Parser<u8, Vec<Expr>> {
    let element =  list(call(value), space());
    sym(b'(') * space() * element - sym(b')')
}

fn ident() -> Parser<u8, String> {
    none_of(b"()[]{} ").convert(|x| String::from_utf8(vec![x]))
}

fn value() -> Parser<u8, Expr> {
    (ident().map(Expr::Ident) | expr().map(Expr::Expr)) - space() 
}

fn main() {
    let src = b"(a (b c))";

    println!("{:?}", src);
    
    let parser = value(); 
    
    println!("{:?}", parser.parse(src));
}
oblique hollow
#

hi

somber heath
#

@solid trail ๐Ÿ‘‹

solid trail
#

Nevermind . ๐Ÿ˜‰

somber heath
solid trail
#

Ikr, just not active enough out there ๐Ÿ™‚

#

Ofc

#

What are you wanting to talk about ?

#

Texts seem weird but we'll take it

#

oh

#

One day I will talk I promise lmaoo

#

And I"d like to answer to them depending on mood lol

#

Ofc irony

#

Ttspeech is more annoying than useful fr

#

Ahahah let's put some schedules on the said bot

#

Texting >>

#

Yup it has to be on DIscord

#

Well could've been nice to have a mic allowed

#

So

#

Have a good night

#

Ofc and completely understandable ๐Ÿ˜„

#

See you ๐Ÿ™‚

#

Better be quite than having trolls every 10mins ofc

#

++

somber heath
#

@hoary sandal ๐Ÿ‘‹

hoary sandal
sleek willow
#
KeyError                                  Traceback (most recent call last)
File ~\anaconda3\Lib\site-packages\pandas\core\indexes\base.py:3653, in Index.get_loc(self, key)
   3652 try:
-> 3653     return self._engine.get_loc(casted_key)
   3654 except KeyError as err:

File ~\anaconda3\Lib\site-packages\pandas\_libs\index.pyx:147, in pandas._libs.index.IndexEngine.get_loc()

File ~\anaconda3\Lib\site-packages\pandas\_libs\index.pyx:176, in pandas._libs.index.IndexEngine.get_loc()

File pandas\_libs\hashtable_class_helper.pxi:7080, in pandas._libs.hashtable.PyObjectHashTable.get_item()

File pandas\_libs\hashtable_class_helper.pxi:7088, in pandas._libs.hashtable.PyObjectHashTable.get_item()

KeyError: 'Volume'

The above exception was the direct cause of the following exception:

KeyError                                  Traceback (most recent call last)
Cell In[35], line 1
----> 1 rearranged_data['Dollar_Trade_Volume'] = rearranged_data['Close'] * rearranged_data['Volume']

File ~\anaconda3\Lib\site-packages\pandas\core\frame.py:3761, in DataFrame.__getitem__(self, key)
   3759 if self.columns.nlevels > 1:
   3760     return self._getitem_multilevel(key)
-> 3761 indexer = self.columns.get_loc(key)
   3762 if is_integer(indexer):
   3763     indexer = [indexer]

File ~\anaconda3\Lib\site-packages\pandas\core\indexes\base.py:3655, in Index.get_loc(self, key)
   3653     return self._engine.get_loc(casted_key)
   3654 except KeyError as err:
-> 3655     raise KeyError(key) from err
   3656 except TypeError:
   3657     # If we have a listlike key, _check_indexing_error will raise
   3658     #  InvalidIndexError. Otherwise we fall through and re-raise
   3659     #  the TypeError.
   3660     self._check_indexing_error(key)

KeyError: 'Volume'
fast sparrow
#

made what?

#

what's microdynamics?

somber heath
#

@stone apex ๐Ÿ‘‹

solid trail
#

Methane clathrate (CH4ยท5.75H2O) or (4CH4ยท23H2O), also called methane hydrate, hydromethane, methane ice, fire ice, natural gas hydrate, or gas hydrate, is a solid clathrate compound (more specifically, a clathrate hydrate) in which a large amount of methane is trapped within a crystal structure of water, forming a solid similar to ice. Originall...

somber heath
#

@sleek willow

sleek willow
#

yup

somber heath
#

@jade mountain ๐Ÿ‘‹

jade mountain
#

!voice

somber heath
#

@fading brook ๐Ÿ‘‹

#

@rancid granite @whole bear @vagrant marten ๐Ÿ‘‹

somber heath
#

@oak walrus ๐Ÿ‘‹

somber heath
#

@frigid quiver ๐Ÿ‘‹

#

@ocean solar ๐Ÿ‘‹

ocean solar
#

hello

somber heath
#

@round loom ๐Ÿ‘‹

#

@hard saffron ๐Ÿ‘‹

hard saffron
#

oh hi

somber heath
#

@spare talon ๐Ÿ‘‹

spare talon
#

Hello

jade mountain
scarlet halo
#

hey sazk

#

hey waffleman

spare talon
#

Hey

teal jackal
#

that it..

#

just hey

scarlet halo
#

hey

spare talon
#

Sup

#

Yep

scarlet halo
#

yes

manic brook
#

hi

scarlet halo
#

well im coding

#

im coding a web scraper

#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

spare talon
#

I forgot that I'm even in this VC

scarlet halo
#

๐Ÿ˜ญ

#

blud forgor

spare talon
#

I am practicing

teal jackal
#

nice

spare talon
#

Pretty much just python

#

I know some pygame though

#

That's neat

scarlet halo
#

dude i really want an amd gpu

manic brook
#

my raspberry ejected the sd card

#

... again

teal jackal
#

dang

spare talon
#

Good morning

#

I think

dry jasper
#

@rugged root good morning

manic brook
#

you could try to convert it into an .exe file

pale meteor
#

Hello

spare talon
#

There is something with pyinstaller to make exe files

#

from python

errant coral
#

how do i see how many msgs i have sent?

#

dammit do i really have to send 50? xD

spare talon
#

Better get grindin'

errant coral
#

im just wondering

#

i want to generate a list [1,2,2,2,2,2,1] by using the np.ones

#

i remember seing it somewhere but i forgot

#

in general curious as to how i could create patterns in lists

spare talon
#

Generators?

errant coral
#

huh

#

what are you on about xD

vocal basin
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

[1. 2. 2. 2. 2. 2. 1.]
vocal basin
#

this?

#

tbf it's faster to just += 1

#

!e

import numpy as np
arr = np.zeros(7)
arr[:-1] += 1
arr[1:] += 1
print(arr)
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

[1. 2. 2. 2. 2. 2. 1.]
vocal basin
#

or pre-fill with 2, then change arr[0] and arr[-1]

errant coral
#

thanks

willow gate
#

@vocal basin hi

#

Error while reading CSS rules from https://cdn.jsdelivr.net/npm/leaflet@1.6.0/dist/leaflet.css SecurityError: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
127.0.0.1/:1 Access to resource at 'https://b.tile.openstreetmap.org/15/23036/14606.png' from origin 'http://127.0.0.1:1111' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
14606.png:1

   GET https://b.tile.openstreetmap.org/15/23036/14606.png net::ERR_FAILED 418 (I'm a teapot)
vocal basin
#

it's complaining that the resources are hosted somewhere else instead of on 127.0.0.1:1111 itself

#

two ways to fix it:
configure cors policy
use your server as a proxy

willow gate
#

i stuck here like trying to slove from 3-4 hrs

vocal basin
#

where does the map URL come from? (in the code)

willow gate
#

from https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'

#

should i do screen share

vocal basin
#

have you tried using this attribute?

#

for the image

#

or maybe on both

willow gate
vocal basin
#

crossorigin="anonymous"

willow gate
#

like how to put it

#

like how can i get permission for screen share

vocal basin
#
<link crossorigin="anonymous" ...> <!-- for css -->
<img crossorigin="anonymous" ...> <!-- for png -->
willow gate
#

ok i try

willow gate
#

but png are in coming from cdn

#

@wind raptor hi

vocal basin
#

do you put images in the <img> tag?

willow gate
vocal basin
#

<canvas>?

willow gate
#

like first i had use it but not now

#

!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
#

line 287 -- don't send that publicly

willow gate
#

yes

vocal basin
#

(that includes not sending it to the browser)

willow gate
#

that's why i just want to show you

vocal basin
#

so whatever tileLayer does seems to break it

#

if I understand correctly

willow gate
#

n Leaflet, L.tileLayer is used to create a layer that loads and displays map tiles from a tile server. These map tiles are small square images that, when assembled together, create the map you see on the screen. The L.tileLayer function takes a URL template for the tile images and options to customize the appearance and behavior of the layer.

willow gate
vocal basin
#

it's a way to partially disable the default security mechanisms the browser has;
so that it takes whatever content your site has to be as trustworthy as the site itself

#

(if you don't want to do proxying)

willow gate
#

External Server: OpenStreetMap tiles reside on a separate server (tile.openstreetmap.org). django-cors-headers only affects headers sent by your Django server, not by other external servers.
The Core Problem: The CORS restriction occurs because your web page (originating from your development server like http://127.0.0.1:1111) attempts to load map tiles directly from a different domain

vocal basin
#

is it an actual error message or GPT explanation?

willow gate
vocal basin
#

it seems to be wrong

#

though only partially

#

that resource may indeed send headers against embedding

willow gate
vocal basin
#

if it fails even with completely relaxes CORS => then you'll need proxying

#

either through django itself or through something in front of it like nginx

willow gate
#

does i need to this also?

vocal basin
#

I don't know how to configure djanjo-cors-headers (never used it before)

willow gate
#

ok

#

@vocal basin if you have time can you join rust server vc?

willow gate
vocal basin
#

I probably won't be able to help anyway, since I have zero experience properly setting up CORS

stark river
#

gaussian summation only works when starting from 1? ๐Ÿค”

vocal basin
#

(n)(n+1)/2 being sum of [0,n] works for all non-negative integers

#

as for Gaussian sum (complex thing involving roots of unity) -- idk

vocal basin
vocal basin
stark river
vocal basin
#

!e

def gauss_sum(n):
    return n * (n + 1) // 2

def gauss_sum_range(a, b):
    return gauss_sum(b) - gauss_sum(a - 1)

print(gauss_sum_range(3, 10))
print(sum(range(3,11)))
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | 52
002 | 52
somber heath
#

@gilded sky ๐Ÿ‘‹

#

@spare talon ๐Ÿ‘‹

spare talon
#

Sup

#

Yes I am

#

Yes I entered one VC that you were in one time

#

I think it was today

#

Today at 7 AM

willow gate
#

@somber heath hello

spare talon
#

Sure

stark river
#

!e

def gauss_sum(n):
    return n * (n + 1) // 2

def gauss_sum_range(a, b):
    return gauss_sum(b) - gauss_sum(a - 1)
print(gauss_sum_range(4,10))
print(sum(range(4,11)))
wise cargoBOT
#

@stark river :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | 49
002 | 49
jade mountain
#

!e

print(6**6**6)
willow gate
#

@somber heath joining?

jade mountain
#

how

somber heath
#

How what?

gilded sky
#

@somber heath where R U from?

gilded sky
#

@somber heath khkhkh

#

can i talk?

stark river
somber heath
gilded sky
#

oh

#

thanks

vocal basin
#

!e

def gauss_sum(n):
    return n * (n + 1) // 2

print(gauss_sum(-5))
print(sum(range(-1, -5, -1))) # sum of x: n < x < 0
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | 10
002 | -10
vocal basin
#

huh

#

yeah, inverse

#

idk if there's a way to formulate the rule concisely and universally for both negative and positive

#

except for the inductive form

#

gauss_sum(0) = 0
gauss_sum(n + 1) = gauss_sum(n) + n + 1

somber heath
#

@tidal mirage ๐Ÿ‘‹

fast sparrow
#

!e ```py
import copy
import math

import numpy as np

x_train = np.array([1, 2, 3, 4, 5], dtype=np.float64)
y_train = np.array([300, 500, 700, 900, 1100], dtype=np.float64)

def compute_cost(x, y, w, b):
m = x.shape[0]
cost = 0

for i in range(m):
    f_wb = w * x[i] + b
    cost = cost + (f_wb - y[i]) ** 2
total_cost = 1 / (2 * m) * cost
return total_cost

def compute_gradient(x, y, w, b):
m = x.shape[0]
dj_dw = 0
dj_db = 0

for i in range(m):
    f_wb = w * x[i] + b
    dj_dw_i = (f_wb - y[i]) * x[i]
    dj_db_i = f_wb - y[i]
    dj_dw += dj_dw_i
    dj_db += dj_db_i

dj_dw = dj_dw / m
dj_db = dj_db / m

return dj_dw, dj_db

def gradient_descent(x, y, w_in, b_in, alpha, num_iters, cost_function, gradient_func):
w = copy.deepcopy(w_in)

# history of cost function and parameters at each epoch
J_history = []
p_history = []

w = w_in
b = b_in

for i in range(num_iters):
    dj_dw, dj_db = gradient_func(x, y, w, b)

    # update weights and biases
    w = w - alpha * dj_dw
    b = b - alpha * dj_db

    if i < 100000:
        J_history.append(cost_function(x, y, w, b))
        p_history.append([w, b])

    if i % math.ceil(num_iters / 10) == 0:
        print(
            f"Iteration {i:4}: Cost: {J_history[-1]:.3e}",
            f"dj_dw: {dj_dw:.3e} dj_db: {dj_db:.3e}",
            f"w: {w:.3e} b: {b:.3e}",
        )

return w, b, J_history, p_history

w_init = 0
b_init = 0

epochs = 10000
temp_alpha = 1e-2

run gradient descent

w_final, b_final, J_hist, param_hist = gradient_descent(
x_train, y_train, w_init, b_init, temp_alpha, epochs, compute_cost, compute_gradient
)

print(f"(w, b) found by gradient descent: ({w_final:8.4e}, {b_final:8.4e})")

wise cargoBOT
#

@fast sparrow :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | Iteration    0: Cost: 2.216e+05 dj_dw: -2.500e+03 dj_db: -7.000e+02 w: 2.500e+01 b: 7.000e+00
002 | Iteration 1000: Cost: 5.279e+00 dj_dw: 3.572e-01 dj_db: -1.290e+00 w: 2.021e+02 b: 9.238e+01
003 | Iteration 2000: Cost: 1.791e-01 dj_dw: 6.579e-02 dj_db: -2.375e-01 w: 2.004e+02 b: 9.860e+01
004 | Iteration 3000: Cost: 6.073e-03 dj_dw: 1.212e-02 dj_db: -4.374e-02 w: 2.001e+02 b: 9.974e+01
005 | Iteration 4000: Cost: 2.060e-04 dj_dw: 2.231e-03 dj_db: -8.056e-03 w: 2.000e+02 b: 9.995e+01
006 | Iteration 5000: Cost: 6.987e-06 dj_dw: 4.110e-04 dj_db: -1.484e-03 w: 2.000e+02 b: 9.999e+01
007 | Iteration 6000: Cost: 2.370e-07 dj_dw: 7.568e-05 dj_db: -2.732e-04 w: 2.000e+02 b: 1.000e+02
008 | Iteration 7000: Cost: 8.037e-09 dj_dw: 1.394e-05 dj_db: -5.032e-05 w: 2.000e+02 b: 1.000e+02
009 | Iteration 8000: Cost: 2.726e-10 dj_dw: 2.567e-06 dj_db: -9.268e-06 w: 2.000e+02 b: 1.000e+02
010 | Iteration 9000: Cost: 9.246e-12 dj_dw: 4.728e-07 dj_db: -1.707e-06 w: 2.000e+02 b: 1.000e+02
011 | (w,
... (truncated - too long, too many lines)

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

somber heath
#

@bright sierra ๐Ÿ‘‹

fast sparrow
#

brb

whole bear
#

@ivory stumpIt's the weekend

#

Are you available to stream me?

stark river
#

@whole bear you were warned about asking personal questions yesterday

whole bear
#

@scarlet haloAre you there?

fast sparrow
#

might be back

ivory stump
#

@whole bear you're missing out on stream time smh

whole bear
#

Talking to my fam

ivory stump
#

!stream 717749310518722691

wise cargoBOT
#

โœ… @whole bear can now stream until <t:1711810338:f>.

willow gate
#

!paste

#

@whole bear let's plat 1v1

whole bear
#

@rocky cosmos๐Ÿ‘‹

willow gate
#

hello

#

mic issue

#

nope

#

i have two id

golden delta
#

h4voc2

#

@whole bear

whole bear
tidal mirage
#

ะฒ

whole bear
#

@spare talon๐Ÿ‘‹

spare talon
#

Sup

whole bear
#

@tranquil axle๐Ÿ‘‹

tough osprey
#

hi

#

so i need to send messeges to voice verify

#

so anything will do

#

ok

#

so u guys playing chess

#

yea i can play with u

whole bear
#

๐Ÿ‘‰ ๐Ÿ‘ˆ

tough osprey
#

ok send me invitation

whole bear
tough osprey
#

what your 1500elo??

#

wait a min ok

wet scroll
#

sup mayor charizard

tough osprey
#

ok

#

being a long time since i last played

#

nice game bro

#

bye

#

you guys where nice

#

bye see you later

#

guys can anyone help me

stark river
#

hey sup

wind raptor
#

Heyo

stark river
#

man it's holiday.. touch grass

wind raptor
#

I did

stark river
#

or dont .. whatevr

lavish rover
#

how was dinner?

wind raptor
#

We had an egg hunt all morning

wind raptor
stark river
#

egg hunt in the morning
bug hunt in the evening

wind raptor
lavish rover
#

join ov

whole bear
#

@ivory stumpI'm back

whole bear
#

@dire folioSorry for the ping but can you stream me?

edgy minnow
#

Hi

whole bear
whole bear
#

@ivory stumpDude are you busy?

#

If so I'll stop

ivory stump
#

Si senรดr

whole bear
#

@scarlet halo

#

@wind raptor Seriously the moment I join

#

you leave

#

I don't need perms

frozen owl
mystic river
#

hola

whole bear
#

@mystic river๐Ÿ‘‹

mystic river
#

How is everyone doing

whole bear
#

Good hbu?

mystic river
#

Good Good

#

right now just firguring out running LocalLLMs for work

#

Why can't I talk :/

whole bear
#

!vocie

wind raptor
#

!voice

wise cargoBOT
#
Voice verification

Canโ€™t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

whole bear
mystic river
#

i just joined today

whole bear
mystic river
#

damn

#

anyone know how to set a new PATH variable?

#

in bunut

#

ubuntu

wind raptor
#

I think you just add it to your .bashrc file or something

mystic river
#

its been a while, I figured. Last time i used Ubuntu was during the 16.04 days lol

#

@wind raptor

#

USE CLOUDFLARE + FREENOM

#

tell @frozen owl

#

freenom is a free domain registrar

#

and cloudflare is a great DNS Provider + CDN

#

yes I used it before

#

Well yeah thats cloudflare

#

AH FUCK TEHY SHUT DOWN

#

fair point @wind raptor

#

but I used it before

#

@wind raptor Ik its the rules to wait 3 days but can i just talk now possibly? I may be able to help Alk but its frustration having type so much

#

its not like tor

#

this one?

#

oka

#

@Mindful Dev @ALKK | NotACrow DynamicDNS Exsits he could use that instead of static ip

@ALKK | NotACrow so what is your end goal with reaching your pc accross the world

if its not port forwarded

unless you have uPNP enabled on the router

and force ur PC accross the world to open it temporarly

#

ohhhh

#

ohhhhh

#

so he has access but not like 100 percent

#

only ssh

#

oh

#

@frozen owl you can portforward via the terminal i believe

#

if your router has Upnp enabled

#

thats the important part

#

anyones guys I'm trying to run a localllm what about the rest of yall?

#

yes

#

Universal Plug n Play

#

RTX 3070 on the main PC and on my Laptop a 2070 Super,

right now i am trying to use GPU over IP so my laptop GPU can support the process

#

ehh kinda

#

no

#

they are both at my desk lol

#

just one is a laptop

#

correct

#

ikr

#

its not hard I found a thing on github

#

sync ewhat?

frozen owl
#

syncthing

mystic river
#

its just a P2P based file transfer application

stark river
mystic river
#

if you want files and security just use SFTP

mystic river
#

its mostly used over local netowrks than remote

#

its what providers like AWS use for thier datacenters

#

say it again?

#

it cut for a bit

#

ohh

#

well syncthing is meant for files

#

ohhh

#

so you want to make API calls to your machine?

stark river
#

curl?

mystic river
#

curl is a good one

#

yes you could

#

curl is a protocal and application mostly for linux distros

#

let me see

stark river
#

curl makes a get request... there's flags for a lot of options in it

mystic river
#

ohhhh yeahhhhhh

#

i forgot its used for get

stark river
#

iirc curl has a flag for socket connection... dunno it has so many flags

mystic river
#

just google "use CURL for remote socket connections"

stark river
#

i once looked at the man pages for curl.. most exhaustive reading

mystic river
stark river
#

man curl | grep socket

mystic river
#

@frozen owl @stark river you want to just hop in a call so we can talk

stark river
#

i dont have mic

mystic river
#

becuase like I wanna help but i am multi tasking and typing is ehh

#

time consuming

frozen owl
stark river
#

i'm on a desktop

mystic river
#

i have a mic

frozen owl
#

brb

mystic river
#

aight

frozen owl
#

ugh it might take a while i have to go build my new chair

mystic river
#

you know i was loving WSL

#

now im hating it

stark river
#

felt like my first try at the joke was too obscure