#ot2-the-original-pubsta

652 messages Β· Page 125 of 1

jovial island
#

Ye lol

#

smh

#

Hunter from india too lol

#

fr?

#

WOAH

#

ig

#

Not sure

#

Where r u from ashley?

#

London

#

yes that

#

oH

foggy flicker
#

50% of the server iirc

jovial island
#

Ye lol

jovial island
#

1.5 Billion population is of India only.

#

Pengium from which state?

#

out of 7.7B

#

bro? Billion or Million?

#

Billion

#

.....

foggy flicker
jovial island
#

Ummm....

remote widget
#

38

jovial island
#

Uh where?

#

huge traffic comes from india

#

Its 38 now

jovial island
#

Here

#

After the network going cheaper

remote widget
rigid echo
#

What's your weight?

jovial island
#

Guess from where i started programming

#

48 kg

foggy flicker
#

such a nice message surely nothing could go wrong

jovial island
rigid echo
jovial island
#

..

rigid echo
#

Weight is always in newton

jovial island
#

OHHHHHHHHHHHHHHHHHHHHH

rigid echo
#

How come kg is here.

jovial island
#

YESS PHYSICSSSS

rigid echo
#

Yes.

#

Nred

jovial island
#

450 N

jovial island
rigid echo
#

πŸ‘Œ

jovial island
#

sister, indians are everywhere

jovial island
rigid echo
#

Mass is equal all over the universe, whereas weight isn't

jovial island
#

yes mass vary

remote widget
#

How tf do u think I know Hindi

rigid echo
jovial island
rigid echo
#

Weight is the amount of gravitational force on us.

remote widget
jovial island
#

ok ok ok

#

Uh

#

i m gonna study it again

#

Hunter from south ig

remote widget
#

That's why high temperatures and no rain

jovial island
#

uh bad at geography

#

L

#

Pretty sure in up

jovial island
#

Yo

remote widget
jovial island
remote widget
jovial island
remote widget
#

Cool

obtuse vector
#

My best guess

#

Fortnite kid (I also play it so no prob)

remote widget
obtuse vector
#

J & K

remote widget
#

Hey @spiral ember

spiral ember
remote widget
spiral ember
#

what's up

remote widget
#

So I was making a website and planning to host it with aws and the API backend of the website uses asyncio (and fastapi) and tensorflow and nltk to process some ebooks. Do u happen to know what configuration I should go for?

spiral ember
#

"configuration"?

remote widget
#

Like what services should I opt for and how much memory and stuff like that (AWS beginner here idk much about it)

spiral ember
#

Ah. EC2 is very versatile and will work for all of your purposes

remote widget
#

Well I was messing around with the price calculator

spiral ember
#

Right

remote widget
#

For some reason this is my monthly cost which is a bit too much haha

#

This is the pricing model

spiral ember
#

How much is standard?

remote widget
remote widget
spiral ember
#

$?

remote widget
#

Wait

#

Yea

spiral ember
#

lord

#

that's a lot

remote widget
#

Eh I changed the upfront to no upfront and it changes to 56

#

what the fuck

spiral ember
#

why is it a1.large

#

try the t2 or t3s

remote widget
#

Ah okay

#

Eh, idrk, doesn't tensorflow require more RAM?

#

I mean a single processing took like 500 MB RAM or smth

spiral ember
#

AWS has their own set of machine learning services you might be able to try those out

remote widget
#

Oh, and those can be added to my VPS?

spiral ember
#

nah they're seperate

#

you can query them using an API

remote widget
#

Uh do u happen to have any docs link?

spiral ember
#

first look through all the machine learning services and find one that's the closest

#

if you can't find any just stick with what you have

remote widget
#

Ah okay

#

BTW

spiral ember
#

I'm looking at a t4 small and it's $8/month

#

On demand is $2/month

remote widget
#

If I am using asyncio.loop.create_task for creating a tensorflow task, will it be CPU intensive or Memory intensive? If you have any idea (No GPU)

spiral ember
#

pithink not sure. never done ML myself

remote widget
#

Ah okay

#

Wait what is the difference between a T2 and a T4?

remote widget
spiral ember
#

different vcpus and memory

remote widget
#

Ah okay

#

wait u r looking at small

spiral ember
#

t4g.small

remote widget
spiral ember
#

better than $30/month

remote widget
#

How much resource usage did u type in?

remote widget
spiral ember
#

100

remote widget
#

Weird I did the same

#

still a $5 difference

spiral ember
#

what's your storage?

#

oh wait i was in standard lol

remote widget
#

its separate 10 bucks

spiral ember
#

just switched to on demand

#

now its about 13

remote widget
#

Eh, why is standard cheaper?

spiral ember
#

Β―_(ツ)_/Β―

remote widget
#

I mean, isn't on demand like, as we need more, it will charge more

#

but standard like, you cannot use more than x RAM and x cores

spiral ember
#

it's easier for them to give you standard i'm guessing

remote widget
#

Prolly

spiral ember
#

harder to change stuff around so more expensive

remote widget
#

which one do u have?

spiral ember
#

std

remote widget
#

And do u have any API hosted on one of these?

spiral ember
#

on my ec2

remote widget
#

Yea

spiral ember
#

i mean

#

i am hosting an api on my ec2

remote widget
#

Ah

#

Cool

#

Thanks for the help! Appreciate it

spiral ember
#

No problem. AWS is kind of not the best when it comes to being clear and showing you everything you need up front so it's always helpful to have someone else that knows about it

upbeat sandal
mental idol
#

AWS alphabet soup. Sure you can use an EC2 to host the API but why not go with a R52 to an APIGW with a Lambda proxied to an SQS feeding your EKS cluster?

#

Toss in a few CW alarms with an SNS to your personal email and you'll have awareness of any issues too!

turbid thorn
#

are notion subpages similar to creating a notebook/folder

scarlet trellis
#

LMAO.
i just felt lonely and then write hello world and random nums.
By first try i send a friend request lmao

mental idol
#

AWS is good for that. hundreds of services at this point.

bitter kite
#

πŸ₯΄

spiral ember
mental idol
#

And then building it!

#

226 services listed.

#

My goto stack at work is usually API Gateway -> Lambda proxy -> EventBus -> Target (lambda/eks/ec2/etc)

bitter kite
#

I still can’t understand why major cloud services can’t add abstractions like heroku and railway

mental idol
#

Many of the services they offer are abstractions.

#

EventBus, for example, is a gateway + simple queue + lambda + simple notification service + a few other things.

bitter kite
mental idol
#

Oh sure, but the tradeoff to that level of abstraction is usually scalability.

bitter kite
#

yes, but there should be a simpler option πŸ˜…

mental idol
#

AWS cli gives you some pretty simple options. Add serverless or terraform infrastructure as code and you can even deploy multi-region enterprise level services with one command line. But, yes, it takes more work.

spiral ember
jovial island
#

yo

sudden swallow
jovial island
hoary fjord
#

be honest

#

how does this image make you feel

#

@digital bane is this the secret to being in tech?

mental idol
#

Being honest? You're lying to more than yourself if techdebt waits 2 years.

hoary fjord
digital bane
#

Drinks coffee

lofty loom
#

I'm just here sticking with Firebase

#

Since it's a part of the Google Cloud ecosystem

#

And also a battle tested service

willow plinth
#

breakfast πŸ˜‹ 🍴

jovial island
#

yo

#

πŸ‘‹

remote widget
#

@jovial island what project u talking about?

#

Eh, it isn't much

jovial island
remote widget
#

The website just accepts an ebook and processes it, getting information of every word in the text, using tensorflow and nltk
Then it can show u multiple things, like what words are used in the text which are rarely used and it also gets the synonyms, antonyms and other sentences the word is used in

remote widget
jovial island
remote widget
#

Just gonna complete it this time

remote widget
jovial island
#

imagine learning js 😩

jovial island
remote widget
#

React is fun

jovial island
#

meh i started with c++ a few days back

#

seems easy to learn

remote widget
#

Ah C# is also easy

#

I started that

jovial island
#

idk why there's always a cpp is hard fusss

#

java is good

#

rust πŸ¦€

remote widget
#

But while doing it, my friend started working on sesquid again, so here I'm completing the project once and for all

#

Gonna get the Oracle VPS today or tomorrow and host a test website on it

winter cove
jovial island
brazen jacinth
#

is it possible for an child to speak and understand binary from birth? if im not wrong, if we were to(def not gonna) raise a child with the only language that all humans surrounding it speak, being binary, would it learn binary fluently?

#

enough to put joe to shame kinda binary

#

and after that we can teach it assembly?

jovial island
#

yes it is possible

#

UHH UH IT IS NOT GILBURT

ok ok how do u know

allah allah he told me πŸ™

jovial island
#

?

winter cove
#

especially the whole pointer/reference mess because pointers make references redundant despite us still having references

normal quartz
proven tendon
#

@jovial island why do you keep doing that markdown?

jovial island
#

can two different operating systems works at the same time?

foggy flicker
jovial island
#

of course VM

foggy flicker
#

if you mean having two OSes in one system

#

yes it's possible

#

I do dual boot arch and windows 10

jovial island
#

but they boot separated

foggy flicker
#

yes

foggy flicker
#

VM is an option

jovial island
#

I thought that when the bot process took place it was as if there was a security measure that prevented another boot

#

Anyone know how to use Cipher.Mode = GCM in C#

spiral ember
#

You can however run multiple type 2 hypervisors

jovial island
#

VTA 2?

lofty loom
#

Windows does have Hyper-V, a type 1 hypervisor afaik

lofty loom
spiral ember
fervent storm
frigid pollen
#

@surreal trail 😁 Congratulations. πŸ™‚

plush ridge
#

hi

limber elk
#

Hi

#

A question. How can I become motivated towards coding?

#

It's hard to start sometimes. Especially if you are full of problems around. It's hard to connect and flow with the learning process.

tranquil sleet
#

starting a car at first is always rocky, just do what you enjoy honestly - don't code for the sake of it

#

coding is more about problem solving than writing code

mental idol
#

Why do you want to learn to code?

limber elk
limber elk
mental idol
# limber elk Job. To be honest, I need a job as soon as possible. I guess this makes it worse...

It's about what I expected, if that makes it better. You see the obstacle in front of you; you aren't enjoying learning something because the stress and pressure of requirements are in the way.
A tactic you could try is to write down the goal. Define it as clearly as possible. Not just "a job". What job, doing what, making what, and where. Then start brainstorming all the things that need to happen to get there. Could be submitting applications, reading certain books for specific skills, working on learning code an hour a day for N days, etc. Break stuff down as small as possible.

The goal here is to give yourself micro-tasks that are not only doable but something you can look at and immediately associate how it gets you to where you want to be.

That feels good. Feeling good about anything in a stressful situation is the first step to defeating the stress.

limber elk
mental idol
#

It's how I survived 2014. :) That and this:

At the end of the day it doesn't matter if you were better than someone else. If you were more productive than someone else. Or even what someone else thinks of you. You are there, in your head, and the only thing that matters is if you can answer this question: Did you try your best?

wind sphinx
#

hey

#

@rare moat

rare moat
#

seems like an issue with pip.

#

not sure.

wind sphinx
#

I just updated to python 310

rare moat
#

might have something to do with it. not sure.

wind sphinx
#

yea maybe your right

wind sphinx
rare moat
#

yeah, probably an issue with Python 3.9 pip.

#

it might just be incompatible.

wind sphinx
rare moat
#

shrug

#

i dunno really, sorry.

round moss
#

try running py -m ensurepip, that can sometimes help if your install got corrupted

wind sphinx
#

classPath(PurePath):
^
SyntaxError: invalid syntax

round moss
#

fascinating

#

what does py -0 show?

wind sphinx
#

same

#

File "C:\Users\ojasv\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 943
classPath(PurePath):
^
SyntaxError: invalid syntax

round moss
#

somehow, your pathlib is corrupted

#

that's most unusual

#

try rerunning the install, there should be a repair option

wind sphinx
#

ohk

wind sphinx
round moss
#

there is also the option of just adding the space back by hand

#

open C:\Users\ojasv\AppData\Local\Programs\Python\Python310\lib\pathlib.py in your preferred editor, go to line 943 and add a space between class and Path

wind sphinx
round moss
#

classPath -> class Path

wind sphinx
#

huh?

round moss
#

a space between s and P

wind sphinx
#

oh lol

#

working

#

thanks a lot

remote widget
round moss
#

yeah, idk how that ended up happening. Probably a misclick at some point

willow plinth
#

sometimes stuff like that happens to me too

dull ridge
#

love my dad, as much as i hate him sometimes

#

he's the only one i know who doesn't give a rats ass about what grades i get as long as i'm happy with them, which has motivated me more

#

so much so that i've started to get pretty good grades now ✨

mental idol
#

Sounds like good advice for sure.

dull ridge
#

indeed it is

lofty loom
#

Super Mario Simps

tawdry fog
#

@jovial island It's hard to explain without context but this is the best I could do

def lol(a):
    if len(a) == 0: 
        return[[]]
        # if list a is empty return a list with a empty list in it (Needed for so the last 2 lines (not including the 
        # return) so it doesn't run forever)
    l = []  # initialize empty list
    for i in range(0, len(a)):  # For every number between 0 and the length of the list a
        b = a[i]  # B equals the the value of a[(index of the current niteration)

        # From now on, if where there's an "i" in the index of a list that's for the current iteration
        c = a[:i] + a[i+1:]  #  c is (from the first index of "a" to i)) + (a from i + 1 to the rest of a)
        
        for j in lol(c):  #  Repeat everything prior
            l.append([b]+j)   # Add ["b"] and j, with j the index of the nth list lol(c) returns
    return c  # return final value



print(lol('1234'))
jovial island
#

thx

jovial island
#

yo

jovial island
jovial island
jovial island
jovial island
jovial island
#

all are different

#

wow nice

#

thanks :D

#

pleasure is mine

#

nice all coding

willow plinth
#

πŸ‘€ πŸ‘€

heavy storm
#

The only things you have in a SQL database are tables, right?

pastel shore
mental idol
heavy storm
remote widget
heavy storm
#

Ok I got it

sinful sun
#

you cant have data outside tables tho can you?

#

tables are the most fundamental unit in relational dbs

jovial island
#

my 1 friend deleted his account :(

misty basalt
#

I got an idea... a guide to git... called: "Git gud scrub"

jovial island
#

What error now?

sour echo
#

Consciousness is a very complex thing

#

It exists yet doesnt exist

#

Cant be proven yet

#

Cant be not proven

jovial island
#

Hmm

sour echo
#

Do you think we were created

#

Cause imo

jovial island
#

Yes.

sour echo
#

The only way for us to exist is by being created

#

Its the only scientific way yet its impossible

#

Yet its the only possible way

jovial island
sour echo
#

Lmao no

#

Also

#

Do u believe that we are in a simulation?

jovial island
#

You heard about big bang?

jovial island
sour echo
#

Well

#

I believe in the big bang theory

#

But i dont believe it started from nothing

#

Must have a greater reason

#

The big bang happened

#

Cause scientifically impossible

#

For that to happen out of nowhere

#

The universe cant exist by itself

jovial island
#

I have a theory that tells us why there was 1 singularity.

sour echo
#

And if it was that great then its basically the creator

jovial island
#

Shrey's theory of universe.

sour echo
#

Ayo where did that universe come from tho

jovial island
#

From universe before.

#

@sour echo

#

I think now my theory should be official.

#

If there are no more questions.

sour echo
#

Explain

jovial island
#

Explain what?

sour echo
#

Lag

#

Ok wait

#

Where did the older universe come from?

jovial island
sour echo
#

,_,

#

Ok

jovial island
sour echo
#

Not really

jovial island
#

k then

#

Teach this as Shrey's theory of universe.

sour echo
#

Lol

jovial island
#

@sour echo the first one came from god.

sour echo
#

Hmm

#

Seems interesting

jovial island
#

But wait...

#

From where god came from?

sour echo
#

Well

#

For us to exist

#

There must be a start

#

A line needs a starting point

#

Cant have a line without a starting point

#

Imo its beyond our mind capabilities

#

Cause like

jovial island
versed wigeon
#

a line is infinite in both directions

sour echo
#

Oh well

#

Then a ray ig

versed wigeon
#

so a timeline is actually a timeray πŸ€”

jovial island
#

Hmm

sour echo
#

Yes

jovial island
#

This is very deep.

sour echo
#

Yep

#

So there must be a starting point

#

Which is impossible yet the only possible way

#

So it means we cant understand it yet

jovial island
#

Hmm

#

Lets goo deeper.

versed wigeon
#

so we don't know the part of the line before the big bang

sour echo
#

Maybe in the future we will

sour echo
#

We only know the mechanism not the cause

#

Its really mysterious tbh

versed wigeon
jovial island
misty basalt
sour echo
#

We gotta exist for a reason prob

versed wigeon
#

we were just here

jovial island
#

Maybe, it never started...

sour echo
#

So you disbelieve science?

#

It gotta start

jovial island
misty basalt
versed wigeon
#

if a line is infinite in both directions then we're technically living 0% of total time

sour echo
#

Saying it may have not started is like saying ima let u in without opening the door

misty basalt
jovial island
sour echo
sour echo
#

An infinite line is impossible tho

misty basalt
#

as life approaches infinity from the positive side, ...

sour echo
#

Well

versed wigeon
#

wait
are we going forwards or backwards?

misty basalt
#

Forwards...

sour echo
#

If we say the universe came from itself then its basically considered god

jovial island
#

To get that, we first need to know what cause time and from where time started going.

sour echo
#

If the universe found itself from nothinf and was always there

#

Then this is the defintion of god ig

versed wigeon
#

we say "forwards", but that's relative to how we view it

sour echo
#

Time is an illusion that helps things make sense

misty basalt
#

The sad part is that we can never have a complete understanding of the universe since we're limited to our super-cluster of galaxies (our observable universe), a tiny, tiny portion of the giant universe

sour echo
#

Time isnt proveable

echo fern
#

i wake up and ot2 is already tripping balls

sour echo
#

Lmao

misty basalt
#

XD

jovial island
#

So this means time started universe.

misty basalt
sour echo
#

We only observe changes

#

Not time passing by

jovial island
#

But time passes all the time.

sour echo
#

We link changes in objects to an imaginary thing

sour echo
misty basalt
versed wigeon
jovial island
sour echo
#

Ikr

#

Thats what i mean ;-;

willow plinth
sour echo
#

Lmao

jovial island
#

"The indefinite continued progress of existence and events in the past, present, and future regarded as a whole."

misty basalt
#

Like x, y, z

#

the fourth dimension is time

versed wigeon
#

is it the 4th?

misty basalt
#

That's why we have space-time

misty basalt
sour echo
versed wigeon
#

or are there more before or after time?

misty basalt
#

We are living in a 4D universe

jovial island
#

No, time is not 4th dimension

misty basalt
#

Lmao I was joking

sour echo
#

Ok so

misty basalt
sour echo
#

Consciousness is weird

sour echo
#

What makes us live inside of us

#

Ayo not Vsauce

misty basalt
versed wigeon
#

ok now let's skip ahead a little farther
what is time in a black hole?

misty basalt
#

Living outside your body or vicariously through something/someone requires a full simulation of the events that transpire around that entity

versed wigeon
sour echo
#

What makes u feel

#

Not talking about the nervous system

misty basalt
sour echo
#

Not randomness

#

Nothing is random

versed wigeon
#

we went from talking about the start of everything to time to life to randomness

sour echo
#

Why do we even exist

jovial island
#

Is there anything else except of length, breadth or height?

misty basalt
sour echo
#

Why couldnt our bodies work by themselves?

versed wigeon
sour echo
#

And what makes me inside me and not u lol

echo fern
#

there's no "ordering" of dimensions

sour echo
#

?

misty basalt
echo fern
#

there's a signature, though, and for our universe it's +2 - we have 3 dimensions of one kind (which we call "spacelike") and one of a different kind ("timelike"). No matter what reference frame you're in, that signature is invariant.

jovial island
#

Maybe this don't exist, we don't exist, nothing exists...

willow plinth
#

copilot disagrees

jovial island
#

I also.

sour echo
jovial island
#

What about brain in a jar theory?

#

Maybe we are a brain in a jar?

versed wigeon
willow plinth
#

what that?

jovial island
sour echo
#

Lemosaurus

jovial island
willow plinth
jovial island
#

Ask, is copiolet stupid.

willow plinth
jovial island
#

Then we are not listening to him.

willow plinth
versed wigeon
jovial island
#

WTF lol

#

lol

willow plinth
#

lemme just log out of github..

jovial island
#

Maybe this is too deep for us to understand...
No... is yes.
And yes.... is yes.
Then what means no?

lofty loom
#

Vsauce music plays

versed wigeon
jovial island
#

LMFAOOO

willow plinth
#

if im logged onto github but have the gituhb auto-comp disabled, does it still read my files?

misty basalt
#

Lmao I'mma absolutely s*** on your logic: 42

versed wigeon
willow plinth
#

thats why i have it disabled

jovial island
#

Why do we need food?

#

Why food gives energy?

#

Ok, I am hungry

daring jay
jovial island
#

@daring jay

Imagine if you are 2nd dimension, there is no height just length and breadth. If we combine  2ds it would become a 3D as height will become a thing. So, as a 2d if a 3D comes in your area you can only see 1 part of it at a time, because he have height and you do not.
So time shouldn't be 4D it should just be another unit like length breadth and height made from combined 3d.
#

@versed wigeon @sour echo

willow plinth
#

when u are in 2d, even 3d seems 2d to you. Similarly maybe we can't see 4d but it might be there.

jovial island
#

Then why is there not anything that is 4d but we see in 3d

echo fern
jovial island
versed wigeon
cedar marsh
#

Lol

jovial island
#

😳

#

@runic saffron πŸ‘‹

cedar marsh
runic saffron
#

Hello

jovial island
runic saffron
#

Here we have come to invade the channel

jovial island
#

so, for the docs
using sphinx would be literally easier than writing a markdown or something if you documented your methods and classes..

runic saffron
#

So don't use docs strings?

jovial island
#

just use the autodoc ext that uses dock strings

#

that sounds like an extension

#

vsc

#

πŸ—Ώ

jovial island
#

πŸ’€

runic saffron
jovial island
#

because akeno uses it?

runic saffron
#

πŸ˜”

jovial island
#

πŸ—Ώ

#

were you making the html or somethingπŸ’€

runic saffron
#

I haven't documented anything yet

jovial island
#

lol

runic saffron
#

Since i haven't finished all of the methods

#

I actually thought i did

#

That was before i talked to sarth

jovial island
#

literally just rst .. autoclass:: YourClass :members:

runic saffron
#

And he talked me into more work

jovial island
jovial island
#

😳

runic saffron
#

And somehow not break anything in the code

#

And add more code to every method

#

Since it's a cache

jovial island
#

for me all i had to change is

  • adding a class with some dictionaries for storing data
  • adding the data in the dictionary per API call
#

this was for the Client.get_pokemon calls

jovial island
#

Hi

blissful pine
#

hey

#

anyone knows flutter

#

andriod stuiods

jovial island
#

No

jovial island
blissful pine
#

idk how to fix these errors

jovial island
#

or you can mark it as nullable

#

via question mark

#

if you don't supply any value, it's going to default to null, but because you have String type, you can't assign null to it, it has to have String instance in it, OR you change type signature to String?

blissful pine
median blade
median blade
blissful pine
#

Will try that thank you!

median blade
#

you typed rateUrl ig

blissful pine
#

Omg yes

#

I m πŸ˜…πŸ˜…πŸ˜…

willow plinth
#

oh im the right server.

shut marsh
#

hi

jovial island
#

Hi

shut marsh
#

hi

jovial island
#

Elonmusk bought twitter

shut marsh
#

huh

proven tendon
#

that's awesome

shut marsh
#

...

runic saffron
shut marsh
runic saffron
#

what is he going to do with it

runic saffron
#

ot2 better

shut marsh
#

what is ot2?

jovial island
runic saffron
daring jay
shut marsh
#

oh nice

#

i am strait

jovial island
#

Hi

willow plinth
#

ot2 - 3rd channel

#

3rd ot channel*

wheat rock
#

otn n+1 th channel

normal quartz
willow plinth
#

i always thought it was @clever salmon πŸ˜”

vague shadow
#

we use disco hook for most of those things

brazen jacinth
vague shadow
#

since we just export it as a json, so if we need to change it we don't need to rewrite everything

brazen jacinth
#

like a !embed <json_file> command?

vague shadow
#

no, it doesn't

#

!help embed

clever salmonBOT
#
Command Help

!embed [channel] <text>
Send the input within an embed to either a specified channel or the current channel.

vague shadow
#

it's just raw

brazen jacinth
#

huh

vague shadow
#

and ofc, these messages aren't in embeds

brazen jacinth
#

kek

vague shadow
#

hyperlinks specifically that is

willow plinth
#

ayo clion docs are next level

tawdry fog
tawdry fog
willow plinth
#

u can add html and it renders that

#

|
V

round moss
#

huh, did jetbrains just reimplement a html renderer

#

or did they use the one swing ships with

round moss
#

yeah, having first party doxygen is kind of expected of a C/C++ IDE

wary thorn
#

Anyone know what setting in OBS will remove the yellow outline around my screen?

hoary fjord
#

@digital bane bruh

#

kekHands β˜•

sour echo
#

lmao

digital bane
#

Lmao i think im in my third cup already today

hoary fjord
#

haha i had two during the day today

#

maybe more tomorrow

#

presenting to some execs tomorrow

#

plus ceo

#

im just an intern so it doesnt matter lel

#

as in, no one expects anything

wheat rock
#

epitome of entropy

digital bane
jovial island
#

imagine setting replication level on production database to 1

willow plinth
#

πŸ‘€

real forum
#

I love how it's normalized to talk about a literal drug addiction

#

Caffeine is a drug. The public eye doesn't really see it as one, but it is just as addictive and probably harmful in the long term

slate leaf
#

I think Sugar is the one that should have more awareness

real forum
#

If we scroll up in this channel alone, it's always the same people talking about drinking 3 or 4 cups a day... like... that's not healthy

slate leaf
#

Mostℒ️ people will agree that caffeine is an addictive chemical

echo fern
real forum
#

Or some type of agency like that

slate leaf
#

Makes sense

#

It was banned from the olympics in the early 1900s for being a performance enhancing drug

real forum
#

It's basically as bad as drinking multiple red bulls or other energy drinks in one day, minus some sugar

slate leaf
#

Depends on the overall caffeine content right?

echo fern
#

I guess I see what you mean. It's just that I've always been more weirded out by alcohol, because it's also normalized to talk about - yet it's way more harmful, whereas caffeine is like one of the best (in harm per effect) stimulants known to humanity.

real forum
real forum
slate leaf
#

And the not good for you part is dependent on the caffeine content, right?

real forum
#

Decaf doesn't mean caffeine free, it means less caffeine

slate leaf
#

According to the FDA, 400 mg of caffeine a day is the limit before you enter into negative effects

echo fern
#

it's weird as fuck that USA has a separate drinking age from age of majority, and it's higher.

real forum
#

Yet you can do weed and stuff at 18 lol

lofty loom
#

spilling beans
Of course they had to do that

slate leaf
#

As far as I know, the states that have legalized marijuana also impose an age limit equal to the drinking age (21)

real forum
#

I'm not even in the US, but I am towards the higher end of the income bracket so it's probably also a problem when people are as rich as most at my school

echo fern
#

you can vote or get yourself killed in Afghanistan or something at 18, too

real forum
#

^^ not saying you're wrong

#

I just know there was a Virginia only law about that really recently

slate leaf
#

At 18 you become a legal adult and can vote, make legal decisions for yourself, join the armed forces, purchase lottery tickets and in most states can purchase tobacco products. At 21, you are able to purchase alcohol and marijuana

real forum
#

Lol

#

Very reasonable

slate leaf
#

But to circle back a little bit, the FDA cites 400mg as being the highest "safe" daily intake of caffeine

real forum
#

Hmm how many cups of coffee is that

#

Probably like 2-4 depending on the blend

slate leaf
#

An 8oz brewed cup of coffee has on average 95mg

real forum
#

8oz????

#

That's crazy

#

Yeah I can guarantee 3-5 cups a day is not healthy

slate leaf
real forum
slate leaf
#

I probably have 3 cups a day: 1 big pour over in the morning that is probably 2 servings, and then sometimes one later in the day around lunch time

median blade
#

i just drink water

real forum
#

Tbh I'll drink like 2 coffees in the morning and then sometimes when I go out get another one with friends, but I still know it's not great for me

#

+, that's only really on weekends

echo fern
# echo fern I guess I see what you mean. It's just that I've always been more weirded out by...

I guess another point to make here is that I get why people smoke and drink coffee, but don't get why people drink. Nicotine and caffeine are both fairly nice stimulants, and nicotine improves concentration. That's all very tempting. But alcohol just, like, fucks you up and makes you think worse?? I don't really understand why people drink recreationally at all, much less why there's a culture about that.

slate leaf
#

I think the kicker is if you are drinking enough to notice a change in sleep patterns / heavy withdrawals / heart rate

slate leaf
real forum
#

Getting flat out drunk is considered "fun" by people my age

#

Idk it's really weird

slate leaf
#

I like alcohol, and if "drinking" I usually have 3ish drinks in an evening

hollow heart
#

alcohol is a huge part of so many cultures

#

lots of history and tradition

slate leaf
#

But I am also content with having a (singular) beer after a long day at work

real forum
#

Cultural drinking is not the same as drinking because you can

hollow heart
#

also a huge vice for many modern cultures

foggy flicker
#

I've never had alcohol but it seems to be a cool drink

slate leaf
#

In college though, binge drinking is common, and usually comes at a time in people's life where they have more freedom in their personal choices than before, and due to peer pressure / social settings drink more than they should without realizing it

real forum
#

Ohh yeah for sure

#

There is a massive peer pressure issue with drinking, but another think is people don't realize what they're doing, and they don't have a limit

prisma cedar
#

Heyyyy guysss

#

What the fuck is going on here

real forum
#

Smh my phone always autocorrects "what" to "eBay", sorry

slate leaf
#

Talking about common drugs like caffeine, alcohol and even Sugar / Nicotine

real forum
#

Ohh that reminds me

#

Vaping

slate leaf
real forum
#

My school is k-12, and a fucking 6th grader and a 5th grader got caught vaping together

#

I don't even know how 10 year olds or however old they are get access to that

slate leaf
#

Yeah vaping is all around a bad thing. I get that at first it was the "safer" alternative to smoking tobacco, but now it is something else entirely

real forum
#

Yep

prisma cedar
#

Dude vaping sucks

real forum
#

Now people start with vaping

prisma cedar
#

Do marijuana instead

real forum
#

And it's literally so gross

real forum
#

Ok anyways

#

Vaping is also a problem bc it's hard to smell on people

slate leaf
#

Well, to those people that have a nicotine habit, that is a benefit to them

real forum
#

Well yes

slate leaf
#

Instead of smelling like cigarettes, they can smell like cotton candy

real forum
#

Mmhm

#

Vaping was made as an alternative to smoking, there should have never been flavors added

slate leaf
#

iirc the early vaping products were marketed to older people and had more "savory" flavors

#

But then someone was like, "We can make this taste like green apple, and market it to 18-21 year olds"

real forum
#

That person should be jailed for life for the countless lives vaping has taken

slate leaf
#

Salary / bonus tied to increasing company profit type of person more likely. Add in lobbying to loosen regulations on what can be marketed and bingo, you have a disaster product

real forum
#

Mmhm

#

Fun fact: shell is the reason that so Somalian pirates are so prominent

#

Just another case of a massive industry causing global problems

slate leaf
#

Its a complex world for sure

jovial island
#

hi

#

i hate chemistry

jovial island
runic saffron
jovial island
runic saffron
#

Mostly because i never got to do them irl

jovial island
#

lmao

runic saffron
#

Like i wanted to experiment with chemistry so i can make grenades

jovial island
#

chemistry is for nerds

slate leaf
#

Chemistry is pretty dang cool

runic saffron
#

Chemistry is for maniacs

slate leaf
#

Thermochemistry is where it is at

#

But the rote memorization of organic chem is pure pain

willow plinth
#

u gotta cram alot of stuff in chem, i just can't do it

jovial island
#

guess the name of the 1st chapter in phys (9th)

runic saffron
#

Stabbing a frog seems cool

runic saffron
willow plinth
jovial island
#

nope

willow plinth
#

huh?

runic saffron
willow plinth
#

then?

jovial island
willow plinth
#

why slow mode in ot πŸ˜”

runic saffron
#

Yeah

jovial island
jovial island
runic saffron
#

Also wondering

slate leaf
runic saffron
#

Why ctypes so hard

willow plinth
jovial island
#

my fav subject is comp i always top there :D

jovial island
jovial island
hoary fjord
runic saffron
jovial island
#

lol

willow plinth
# runic saffron Why ctypes so hard

because u dont know c πŸ€·β€β™‚οΈ , i mean just learn a little bit about the syntax or something, u will start to get the feel of ctypes

runic saffron
#

I never once seen my grades in this school

jovial island
#

there was a chemistry test today in my school and i got 9/10

willow plinth
#

sick

slate leaf
#

nice

runic saffron
jovial island
#

my whole class got 9 and 10 🀣

runic saffron
#

I'm usually never that far from being perfect on the score

jovial island
#

guess what were the questions lmao

willow plinth
#

aha, found the option

jovial island
willow plinth
#

πŸ’€ time to find my alt

jovial island
jovial island
jovial island
jovial island
jovial island
jovial island
echo fern
#

"physics is fun" <-- a naive and younger me before several semesters of analytical mechanics

jovial island
#

lmao

dusky cliff
#

what does the wiser and older you say

willow plinth
#

same, although i didnt have a choice, i had to take phy πŸ€·β€β™‚οΈ

runic saffron
echo fern
jovial island
#

history is easy

dusky cliff
#

f

echo fern
#

but physics is fun, I guess. I'd probably enjoy it more if I were smarter, though.

willow plinth
runic saffron
#

Should i just give up on esoteric python

#

Never

dusky cliff
runic saffron
#

Must succeed

jovial island
jovial island
slate leaf
#

Physics is pretty great. Although I am fairly biased

jovial island
willow plinth
#

probably cuz an int of python is like 24 bits or something?

#

chunky int

jovial island
runic saffron
jovial island
#

different?

willow plinth
jovial island
jovial island
jovial island
echo fern
runic saffron
echo fern
echo fern
#

only visual languages

runic saffron
#

Sign language?

willow plinth
#

no like

#

that lang where u move blocks

runic saffron
#

Physics

willow plinth
#

forgor name......scratch yeah

runic saffron
#

Toys

jovial island
runic saffron
willow plinth
echo fern
runic saffron
#

I never learned what an array is

echo fern
runic saffron
#

Maybe because python doesn't have arrays?

#

Or just called something differently

willow plinth
runic saffron
#

Like hashmaps being dicts

runic saffron
jovial island
#

@runic saffron from where did u learned esoteric python from?

willow plinth
# runic saffron Tuples?

no like int arr[5] means that u make an array of ints and length is supposed to be 5, no more no less

#

well i think u can have less then 5 elements

runic saffron
jovial island
willow plinth
#

u are basically allotting 5 spaces in memory to store ints

runic saffron
#

But i said fucked that when it looked confusing

jovial island
#

Ryuga is god of esoteric python

echo fern
# runic saffron I never learned what an array is

it's the simplest data structure imaginable. You have a bunch of data, of equal size - let's say it's just bytes. You want to store them all. You allocate some memory and write them all there one after the other.
That's it. Now how do you access the ith byte? You take the pointer to the beginning of the allocation, increment it by i-1, and read the byte at that address.

What if the elements are wider than one byte - say, 8-byte doubles? Then it's the same, except the ith double starts at address start_ptr * (i-1)*8 (and you read 8 bytes at that address and interpret them as a double).

willow plinth
jovial island
willow plinth
#

does c have vectors or is it a cpp thing?

echo fern
jovial island
digital bane
echo fern
willow plinth
#

ah damn, list implementation must be painful then

runic saffron
echo fern
runic saffron
#

I heard it didn't even have classes

echo fern
#

it doesn't indeed, only structs.

#

learn Rust instead πŸ˜›

runic saffron
#

I didn't even know what classes are at that time

willow plinth
#

c dont got classes

echo fern
# echo fern a list is just a vector of pointers to pyobjects, yeah.

the types are stored in the objects themselves. Each python object starts with a pointer to the type of that object. So to read an element from a list, you:

  1. get that element of the array. That's a pointer to the object.
  2. Read the PyObject header at that address. It stores the object's type and, for dynamic-size python objects like ints or strings, the size.
  3. Knowing the type, read the rest of the object.
runic saffron
#

But since c++ is the successor of c and c++ has classes

#

I just thought "nah not this one"

willow plinth
#

i have been stuck on this seg fault for like 3 hours now πŸ’€

runic saffron
#

Seggs

jovial island
#

hi

willow plinth
willow plinth
runic saffron
#

I'm guessing no

willow plinth
clever salmonBOT
#

class array.array(typecode[, initializer])```
A new array whose items are restricted by *typecode*, and initialized
from the optional *initializer* value, which must be a list, a
[bytes-like object](https://docs.python.org/3/glossary.html#term-bytes-like-object), or iterable over elements of the
appropriate type.

If given a list or string, the initializer is passed to the new array’s
[`fromlist()`](https://docs.python.org/3/library/array.html#array.array.fromlist "array.array.fromlist"), [`frombytes()`](https://docs.python.org/3/library/array.html#array.array.frombytes "array.array.frombytes"), or [`fromunicode()`](https://docs.python.org/3/library/array.html#array.array.fromunicode "array.array.fromunicode") method (see below)
to add initial items to the array. Otherwise, the iterable initializer is
passed to the [`extend()`](https://docs.python.org/3/library/array.html#array.array.extend "array.array.extend") method...
willow plinth
#

this is prolly the closest thing to it

runic saffron
#

Wtf

echo fern
#

also numpy, my beloved

willow plinth
#

and numpy yes

runic saffron
#

Oh yeah numpy

jovial island
#

numpy

runic saffron
#

What does numpy arrays do

jovial island
#

numpyy

runic saffron
#

I don't do alot of math with python

echo fern
#

numpy is so good that C# people, instead of having their own library like that, use C# bindings for numpy πŸ₯΄

willow plinth
# echo fern

i dont even know at this point. im making a recursive function to calc det to matrix and it just doesn't wanna work

echo fern
#

maybe your stack overflows or something?

echo fern
runic saffron
#

How do people know that adding 8 to the address to a bool skips the not needed members

dusky cliff
#

by reading the C source

echo fern
#

by looking at the CPython source.

runic saffron
#

I just don't wanna memorize that this does this without understanding what it does

echo fern
#

the struct definitions are there.

runic saffron
runic saffron
#

Me read

echo fern
elfin vine
#

Objection! Hearsay

echo fern
#

hmm, can't find the corresponding header file

runic saffron
runic saffron
#

Funny

elfin vine
#

Imagine being internationally known as a bad lawyer lemon_clown

#

Couldn't be me

willow plinth
lofty loom
runic saffron
lofty loom
#

The closest you'll get to the original C++ vision of "C with Classes" is GNU's GObject library

willow plinth
#

just code in asm....

#

u will learn everything about computers

lofty loom
#

WebAssembly is the answer

echo fern
#

ah, finally found it

clever salmonBOT
#

Include/cpython/longintrepr.h lines 79 to 82

struct _longobject {
    PyObject_VAR_HEAD
    digit ob_digit[1];
};```
echo fern
clever salmonBOT
#

Include/object.h lines 109 to 112

typedef struct {
    PyObject ob_base;
    Py_ssize_t ob_size; /* Number of items in variable part */
} PyVarObject;```
echo fern
#

anyway, if you go down this rabbit hole, you'll eventually find out how bit PyObject_VAR_HEAD is (it's probably also written somewhere)

willow plinth
#

what all langs do yall know?

runic saffron
#

English

willow plinth
#

English is more messy than asm

runic saffron
echo fern
runic saffron
#

First it just seemed weird and the dark side of python

willow plinth
#

u dont need to know cpython to do estoric stuff

echo fern
willow plinth
#

just mess around with normal python

runic saffron
willow plinth
echo fern
#

why wouldn't it be?

willow plinth
#

its like older than c

willow plinth