#🍁・general-2

1 messages · Page 161 of 1

twin bridge
#

I don't made the Arepa

thin copper
#

You need to knead more

twin bridge
#

Yeah, I thought the same thing xd

#

Thx for ur help peepolove

thin copper
twin bridge
boreal peak
#

@twin bridge I DIDNT SEE YOU MADE A QUIESTION

#

que desastre

twin bridge
#

I pinged u once xd

#

And don't wanted to bother u, that's why I only pinged once

#

xd

boreal peak
#

I get distracted

twin bridge
#

f

boreal peak
#

why you asking me??????????

#

theres youtube?????

#

helooo?

twin bridge
#

Cuz u were veneco

#

xd

#

and venecos made the arepa

#

XD

boreal peak
#

aPES2_Reee thers veneco in youtube

#

big difference

twin bridge
#

Anyway mine is delicious

boreal peak
#

bet

#

I know

twin bridge
#

zi

boreal peak
#

but

brave sail
#

:rice_cracker:

boreal peak
#

u wanted vzlan

#

kek

brave sail
#

:stuffed_flatbread:

gusty ermine
#

i like arepas with tuna

#

and sausage

unreal pagoda
#

Is this correct?

#

Un pescado dice a su hijo:
"Que esta haciendo tu mama?"

||"nada"||

@fallow plinth @violet oasis

fallow plinth
#

Entiendo el chiste jaja

#

La pregunta sería "Qué está haciendo tu mamá?"

#

O qué hace

unreal pagoda
#

Oh ok yes

#

That makes more sense

#

I knew that ahre zoop

violet oasis
#

I don't get it

exotic kiteBOT
unreal pagoda
#

Nada = nothing
Nadar = to swim

violet oasis
#

Ahhh

unreal pagoda
#

He/she swims = nada

violet oasis
unreal pagoda
#

Jokes are a good way to learn wesmart

#

Ok I'm going too, good night :D I expect to learn some good Australian curse words

gusty ermine
#

@unreal pagoda yes is correct

gusty ermine
#

nada nadar con la cuarentena

#

😞

silver bear
#

alguien sabe física nivel universidad?

eager wagon
silver bear
dusky oriole
#

me

#

but i can't help you with your homeworks since that's a ruler here

eager wagon
#

!> a rule

silver bear
#

AEA ctmr @dusky oriole

celest siren
#

Holaaa

dusky oriole
#

ruler sounded more cool

fallow dock
orchid prairie
#

Regex? Noooooo PepeHands

fallow dock
#

no hay regex ahí lol

mortal dagger
#

llevo 2 días probando Doom Emacs y está preciosísimo

fallow dock
#

no lo conocía

past harbor
#

Alguien que sepa mucho de git? Tengo problemas para entender el remoto..

fallow dock
#

git remote add etc?

#

a mí me están cortando el pelo en este momento (?)

past harbor
#

En plan

#

Esta el corazon del proyecto en la rama master

#

Y tu trabajas en una rama secundaria, haces tus mierdas y tus cosas

#

Cuando quieres subir tus cambios a tu rama a la de github, metes push? Y despues haces merge request al core desde ahi?

#

Estoy bastante perdido con los merges

#

A veces se hacen desde cmd y otras desde web

fallow dock
#

no hay una sola forma de mergear, podés hacer merge localmente y luego pushear

#

pero

#

lo ideal es mantener tus cambios en tu branch, pushear esos cambios, y luego hacer un PR (pull request) en GitHub, si es que estás trabajando ahí

#

o sea, hacés tus cambios

#

hacés commits

#

y luego pusheas

#

y luego mergeas en GitHub (PR)

past harbor
#

Es que a veces veo a gente hacer

#

Git branch y pone

#

*master
*midesarrollo

#

Y mete merge con mi desarrollo desde master

#

Entonces no entiendo que es eso

#

Frente a merge request desde web

fallow dock
#

en ese caso significaría que hacen el merge de las branches localmente

mortal dagger
#

justamente el link que mandaste, estaba usando neovim y en doom-emacs no extraño absolutamente nada

fallow dock
#

pushear en ese caso significa que no es necesario hacer PR en GitHub

#

porque ya están escritos los cambios en máster

past harbor
#

Hm..

fallow dock
#

lo que tienen entre otras cosas los PR

#

es que pueden estar sometidos a reviews

#

o sea, tienen que ser aprobados por otra gente (o vos) depende del proyecto

#

la idea es que varias personas lean los cambios

#

y sugieran cambios o desaprueben el PR directamente etc.

past harbor
#

A ver si me explico. No he utilizado git remoto antes. Usábamos mercurial y lo usaban fatal en mi antigua empresa, ni era como debia funcionar

#

Tu te clonas un repositorio en remoto, y luego te creas una rama ''aparte'' para trabajar

#

Cierto?

fallow dock
#

sí, es una posibilidad

past harbor
#

Okay, por ejemplo llegas a trabajar y tal

#

Desde donde se hace ''git pull''

fallow dock
#

también puedo crear la branch en GitHub y luego clonar

past harbor
#

Desde master o desde tu rama?

#

Para traer los ultimos cambios

fallow dock
#

buena pregunta, no tengo memoria de sí pull fetchea todo o solo la rama en la que estoy, pero es que tengo costumbre de switchear primero

#

de todas formas, yo no pulleo nada hasta que lo requiera

past harbor
#

Me han dicho que meta pull y pull

#

Cada rato

fallow dock
#

o sea, intento pushear mis cambios, y si el upstream está adelantado, pulleo

past harbor
#

Me parece un coñazo..

fallow dock
#

Me parece un coñazo..
bienvenido a git

#

sí, tenís que tener tu weá up-to-date para pushear

past harbor
#

Cuando haces git add y git commit

#

Esperas a tener varios commits para hacer push

#

O por cada commit metes push?

#

No se la mecanica la verdad

fallow dock
#

yo no pusheo nada hasta que no valga la pena "publicarlo"

#

además de que hay otras herramientas para manejar los cambios sin que sean commits

#

como stash (para "guardar cambios sin commitear), o rebase (si querés sobreescribir tu historial de commits)

#

al que deberías molestar (ah re que lo mando al frente) es a Veraniego

#

que creo que tiene unas costumbres muy definidas y conscientes en git

#

en todo caso, sobre tu pregunta: no, no hace falta pullear todo el rato, sólo antes de pushear - y si pusheás en una branch en la que estás trabajando solo, no va a pasar nada

#

porque no va a estar nunca el historial de commits de ese branch adelantado (porque justamente sos el único trabajando en ella)

past harbor
#

No te preocupes. Me has aclarado un par de cosas. La cosa era esa, he visto que se tiene ''master'' y luego una rama ''develop'' y cuando todo está listo, se va a master y se mete merge, luego push

#

Y otros hacen push al origen, y después meten request

fallow dock
#

ah, btw, los nombres master, origin etc. son convenciones

past harbor
#

Sisi

#

Lo default

fallow dock
#

digo porque tardé buen rato en entender que comandos que usaban origin podían tener el nombre que yo quisiera xdd

past harbor
#

Yo cuando lei

#

Git push origin x

#

Yo estaba como, eh que es origin

#

Pero ya entiendo, gracias!

fallow dock
#

np

#

no sé mucho de git igual, alta paja aprender esto

past harbor
#

No usas nada para control?

fallow dock
#

sí, siempre

#

git

#

pero por los años sé lo que sé

#

y ahora estoy tipeando en un celu, pero asumo que todo lo que dije es correcto

icy pollen
#

@slate dove para responder a tu pregunta, ese precio no es normal asumiendo que es USD.

vale no más de 2000 en mi opinión

fallow dock
#

@mortal dagger no extrañás que ande rápido? (?)

mortal dagger
#

la diferencia entre neovim y doom no las he sentido

#

el sistema de ventanas de evil-mode está preciosísimo

#

y cuando estás a la mitad de un comando, hay un menú de sugerencias así que he googleado igual poco

#

hoy día hice funcionar el auto-complete y creo que no muevo más, el startup es de 0.9 segundos

fallow dock
#

auto-complete Sho uso company

#

pero es tan modular que molesta (?)

#

me está cortando el pelo mi madre peepofeelsbad

#

no parece confiada

mortal dagger
#

con Doom viene por default company

#

descomenté LSP porque eso estoy usando en neovim y funcionó altiro con Java, hacerlo funcionar en neovim fue un dolor

fallow dock
#

nmgghh

#

yo intenté escribir Java en Emacs but it was too much

#

volví directo a usar una IDE

#

Intellij IDEA is great

#

eran demasiadas cosas para configurar

#

de todas formas era bastante impresionante

#

si te molestás podés hacer bastante cacho

mortal dagger
#

mhm, yo hago scripts bien cortitos, soy ayudante de un curso de estructura de datos y algoritmos y usan el Sedgewick

#

que está en Java, pero no uso nada loco, solo cosas cortitas

#

si tuviera un proyecto probablemente también usaría un IDE

fallow dock
#

estás en Arch, no?

mortal dagger
#

asíes

fallow dock
#

vale, no uses Eclipse en Arch (?) más allá de que haya IDEs mejores... tiene... problemas

mortal dagger
#

HJKDSAKHJSAH

#

Emacs creo que podría funcionar súper bien como IDE

#

pero probablemente no me dedique a desarrollar en Java, muy probablemente no lo haga

fallow dock
#

odiás el type erasure, ya lo sé u_u

#

(?)

#

alto maymay

mortal dagger
#

no tenía idea qué era type erasure, pero la verdad, tampoco creo que sea tan malo

#

por ejemplo, un trabajo en Akka me parece sumamente interesante

fallow dock
#

ah, pues no sé, entiendo sus deficiencias

#

pero no me parece crucial

mortal dagger
#

pero si se da el caso, me interesaría más hacerlo en Scala por ejemplo o Clojure

fallow dock
#

además todo ese bardo viene de C#

mortal dagger
#

pero no tendría problema con hacerlo en Java

#

viene de Microsoft™️ Java™️

fallow dock
#

de sus practicantes

#

bueno, si usás C# lo suficiente, ves todo lo mucho mejor que es C# en varios sentidos

#

alta estupidez que hayan querido imitar a Java sólo pa comerse el mercado

#

as usual

#

creo que tengo un wen link sobre type erasure si querés entender más del asunto

#

es re viejo, tengo que acordarme de cómo llegar a él

mortal dagger
#

pucha, pero en esos tiempos Java tenía el mercado enterprise completo para ellos

#

no es de mi gusto, pero sí entiendo esos movimientos

fallow dock
#

C# aún no tenía in y out para variance pero ese es otro asunto

mortal dagger
#

java 5.0

#

uff

#

Java 8 tiene hartas cosas funcionales que me agradan, pero los trabajos en Java que he visto son con Java 3 o por ahí

fallow dock
#

Ah se, dentro de todo los streams me gustan más que LINQ de C#

#

probablemente porque no son puramente funcionales tonces... siento que te permiten flexibilidad en algunas weás

#

pero no he usado tanto LINQ en primer lugar

#

deberías probar Guava

#

agrega todo lo que los streams necesitan (?) zips

#

es la librería de Google pa Java

mortal dagger
#

la gente que estaba metida en LINQ eran puros cracks

#

yo nunca he probado ni C#, ni Java más que nada porque las empresas me gustan

#

pero lo poco que he visto de LINQ me agrada, como Microsoft hater a muerte les reconozco que me agrada bastante

fallow dock
#

está bien bonito

#

se me ha borrado de la memoria :(

mortal dagger
#

yo lo vi y no entendí nada, quizás lo vea de nuevo para entender nada de nuevo

#

pero me gustó mucho el video cuando lo vi

#

se nota mucho cuando la gente hace las cosas con cariño

fallow dock
#

ye

#

mi corte no va bien

#

xd

fallow dock
#

vale

#

no pudo terminar

#

ahora soy un camello

ashen mist
#

Camello es el tipo que vende drogas en la calle, no?@fallow dock

edgy quarry
#

Sí.

#

Al menos aquí.

fallow dock
#

no sé, yo soy un chico sano (?)

#

por acá le dicen "transa" @ashen mist pero creo que es bien lunfardo

gusty ermine
#

bush did 911 and obama and trump are secretly gay for eachother , you can clearly see all the sexual tension between those 2

#

I bet trump calls obama mic dady , when they do it in secret in the presidential bunker

#

that's also why those 2 can't stop talking about eachother

#

they are both just tsunderes

gusty ermine
#

Obama seems to be ashamed of the relationship because he doesn't even look at trump

vital ginkgo
#

Yeah

#

The same happened with the Pope lol

alpine cradle
vital ginkgo
ashen mist
#

No querría conocer a Trump honestamente

#

No me parece un hombre con quien tendría una buena charla

snow compass
#

wait, this isn't real, right?

#

the gif with hand touching

gusty ermine
#

No

#

Trump didn't have a white shirt in this arm

snow compass
#

ah, yeah

still radish
#

jaja

#

es gracioso

gusty ermine
#

Orange man bad

vital ginkgo
#

Bécquer!

gusty ermine
#

Hombre de cultura

median trail
#

@ashen mist do you know what 2NF is in databases? I don't understand it pandasad

ashen mist
#

no jaja lo siento

calm flax
#

@ashen mist do you know what 2NF is in databases? I don't understand it pandasad
@median trail Second normal form

#

3rd normal form is considered the standard, if i'm not mistaken (Boyce Codd, I think is the term, after the creators)

ashen mist
#

nunca aprendí cosas de administración de datos

calm flax
#

Let's see if this link works

median trail
#

Im learning about 1nf, 2nf and 3nf

#

But i dont understand 2nf

calm flax
#

apparently 3NF and BCNF aren't the same thing

median trail
#

I have a hard time with reading comprehension. Im trying to find an easy way to notice when a table is not in 2nf

calm flax
#

yeah I'm having a hard time understanding it too

#

I see a lot of this stuff in practice, but not in theory 😄

#

do you understand 1NF?

#

A table is in 2nd Normal Form if:

  • The table is in 1st normal form, and
  • All the non-key columns are dependent on the table’s primary key.
median trail
#

Yeah but how do I know that a non-key column doesnt depend on the tables primary key

calm flax
#

errrr

median trail
#

I was watching a video that said that a table has to serve just one purpose

calm flax
#

this article seems to be explaining it well

fallow dock
#
> (([True, ...True] = [true+true+true, true, true+true])[true-true] -true-true) === +True[true-true]
true```true
ashen mist
#

Estoy completamente de acuerdo

gusty ermine
#

That's a lot of trues

vale quarry
#

true

twin bridge
#

What about

#

Falsen't

fallow dock
#

qué tal```js

[![], ![], !![]][+!![]+!![]]
true```

#

(igual bastaba con```js

!![]
true```xd)

gentle oak
vital ginkgo
gentle oak
#

Lmao

#

3 days playing, but I think he left his PC on all the night

ashen mist
#

@fallow dock eso es javascript?

#

@gentle oak all night*

unreal pagoda
#

tickohappy @past pond

gentle oak
#

@gentle oak all night*
@ashen mist Thanks

ashen mist
#

De nada

last vault
smoky comet
#

Hello. I need help. I have two pcs specs and I need to decide which one suits me better. Who can help?

fallow dock
#

@fallow dock eso es javascript?
@ashen mist sí

#

type coercion at its worst best

ashen mist
#

Jaja

carmine flicker
exotic kiteBOT
faint wyvern
#

Does anyone know what this is from?

eager wagon
#

@faint wyvern

faint wyvern
#

Gracias!

boreal peak
#

What wound be easier or better. German from spanish (Spanish has la en el and le. I have heard German also have gender right?) or is it better from English since

edgy quarry
#

German has masculine, feminine and neuter genders.

boreal peak
#

what is neuter MonkaSShake

vital ginkgo
#

Talking about German?

boreal peak
#

yah

#

is it easier learning it from spanish or english

vital ginkgo
#

Great, I studied a little

#

I don't know, I learned it from Spanish. I see similarities with both languages

edgy quarry
#

what is neuter :MonkaSShake:
@boreal peak Uh... neither masculine nor feminine. (?)

boreal peak
#

dangit

#

ah

#

neutral

edgy quarry
#

Yeah.

vital ginkgo
#

So choose whatever you want, you won't be able to avoid the damned articles

edgy quarry
#

Hahaha

boreal peak
#

well, french is a romanic language

#

but it has some words that are similar to english

vital ginkgo
#

Leaving that apart, German's not that difficult at all.

boreal peak
#

like Carrotte

#

smthn like that

edgy quarry
#

It's the opposite, in fact.

boreal peak
#

and stuff, but it has more of a spanish like structure

#

cuz its romanic

edgy quarry
#

English borrowed too many words from D'Oïl languages. :v

boreal peak
#

yeye, I'm talking from the perspective of spanish or english to learn other which is easier

#

German is so weird to pronunciate

#

kek

#

it's fun

edgy quarry
#

I guess it's better to learn it from English.

#

As both are Germanic languages, their structure might be more similar.

vital ginkgo
#

Nah, at least German always pronounces things the same, like Spanish.

boreal peak
#

^ ya I figured. Now the Q is, how to delete language courses on duolingo

edgy quarry
#

Lemme check, I once did it.

boreal peak
#

I've been trying Crying

last vault
#

quizás no se puede hacer en la app

boreal peak
#

he said he did it once

#

theres hope

#

:'v

edgy quarry
last vault
#

digo, habrá una manera en la página web

boreal peak
#

is duolingo owned by facebook thonk

last vault
edgy quarry
#

Perhaps.

boreal peak
#

nah, it's google the one collecting the data

edgy quarry
#

Lel

boreal peak
#

thank you! I think I will be able to do it.

#

one day the page will load

edgy quarry
#

Haha

#

Good luck.

gusty ermine
#

am i missing something because i cant work out how to do this

fair crown
#

Ah yes, math. My biggest enemy.

gusty ermine
#

lol

fair crown
#

And it's geometry even, which is one of my least favorite parts of math.

gusty ermine
#

i hate it with a passion

#

algebra best 😤

fair crown
#

I agree.

full arrow
#

@gusty ermine is there more info about L1 or that's all

gusty ermine
#

yeah i didnt realise it was part of the other question

#

i did it now lol

#

but thanks anyway

main hatch
#

Man, I ordered a package on the 8th and it’s still in China

#

According to China Post tracking, it went from the company to a local sorting center in Kunming, then to a regional sorting center still in Kunming, where it went through an “office of exchange”, and then to a different regional sorting center in Shanghai, and then was sent to the airline to be shipped I guess.

vocal basin
#

@gusty ermine put value of x and y in the equation and then parallel line slopes are equal

#

With the help of equal slopes find another line equation

cursive wave
#

Today I learned that pigeons are superstitious

still radish
#

makes sense honestly

cursive wave
#

Haha it's kinda interesting

cursive sapphire
#

I like yes

alpine cradle
#

pigeons in reality are popcorn

gusty ermine
#

universal income and goverment handouts are also for retards who should not vote , if you don't pay net taxes you should not vote

rotund vigil
#

no u

cursive sapphire
#

what

grim lava
#

Stuff like that goes in the sensitive topics channel and even then, that doesn't mean you should berate ppl with certain beliefs

#

foxdisapprove Nica

terse timber
grim lava
#

qué hacés en este canal?

terse timber
#

Spying you wolfsneaky

grim lava
#

spying on me? foxdisapprove

#

why

#

acosador foxdisapprove

terse timber
grim lava
#

lol

#

qué hiciste hoy?

#

algo productivo?

terse timber
#

Yeah(?

grim lava
terse timber
#

Work, exercise and I had dinner with friends

#

Wbu?

grim lava
#

I see wolfsneaky I did practically nothing catsad Almost no excercise tho I might go downstairs and do some. I played minecraft with adaza and abeja for a little bit. And that's about it

#

Oh and I was teaching someone some stuff wolfsneaky

terse timber
#

Ooh cool!

#

What kind of stuff?wolfsneaky

grim lava
#

wolfsneaky programming

terse timber
#

Do u have any workout routine or something?

grim lava
#

No whatthink

#

But I have a treadmill an some weights

#

I'm probs gonna have to make a workout routine

#

but for now, running on the treadmill will have to suffice

terse timber
#

Yeah, is better than nothing

fallow dock
#

so ur here now

terse timber
#

But isn't the same

fallow dock
#

lemme write a present

grim lava
#

wolfsneaky yup manu

#

can i call u that? whatthink

fallow dock
#
public class Deli  {
    public static void main(String[] args) {
        for(Object str:(Iterable<String>)java.util.Arrays.stream("hell yeah burd".split(" "))::iterator)System.out.println(str);
    }
}```
#

sure

grim lava
#

Oh, this is just wonderful to read on my phone jajajajajaja

fallow dock
#

I have a lot more of bad code on purpose

#

ah it doesn't matter, the proper colors won't help much

grim lava
#

lol

fallow dock
grim lava
#

even then it looks shitty lol

fallow dock
#

ikr

grim lava
fallow dock
#

we could also just Arrays.stream("hell yeah burd".split(" ")).forEach(System.out::println);

grim lava
#

yeah

#

It took me a while just to get what it was doing until I read the one from the picture lol

#

Lol, some of the code in burdbot, particularly the scraper code was poorly made. So I'm gonna have to remake it before I overhaul the text fetching system

fallow dock
#

how much do you know?

grim lava
#

Kinda shot myself in the foot cuz i wanted it done in like a day cuz the next sesión was just a day away

fallow dock
#

that wasn't a good question, but I had to ask anyway

grim lava
#

whatthink I'm not sure tbh. Enough to do what I need and to look up what I don't know (?

fallow dock
#

can I get a link to the repo?

grim lava
#

Sure

#

Gimme a couple mins

#

I'm gonna go to my computer

fallow dock
#

can i call u that? whatthink
yes, everyone does

grim lava
#

Here

#

shit

#

wrong one

fallow dock
#

you can also pick one of my other names, "dumb bastard" and "motherfucker"

grim lava
#

jajajajajajja

#

the scrapers are just so badly made it's embarassing

fallow dock
#

how old are you again

grim lava
#

dont look at that part pls

#

im 17

fallow dock
#

you seem to know an awful lot already

grim lava
fallow dock
#

the structure is wacky but most of it looks fine

#

do you want unwanted comments from me on your code

#

lol

grim lava
#

also what's in the main file and AudioReceiverHandler is a fucking mess

#

i was gonna separate it out later when I changed up how my command system works

#

Umm sure whatthink

fallow dock
#

you will probably want to use interfaces and not specific implementations when passing objects around or assigning variables

#

unless you really use something from that specific implementation

grim lava
#

wolfthinking looking at it from github, the tabbing in some places are absolutely fucked even tho in my IDE it's fine

#

ah, yeah

fallow dock
#

like List<String> asdf = new ArrayList<>(); is probably better than ArrayList<String> asdf = ...

grim lava
#

Yeah

#

I actually started doing that midway into the project lol

#

you can see that the older code has specific types

#

while the newer parts generally use the interfaces and less specific types

fallow dock
grim lava
#

that's due to eclipse's package structure

#

at least i think

fallow dock
#

got it

grim lava
#

it creates a new directory for each thing for a package

fallow dock
#

you will probably want to look into annotations and reflection

#

I would say it would make the way to add commands way more readable

#

also because I hate factories gdi Java

grim lava
#

What I was going to do later was separate the commands out logically into like sections. For example, the pronounce command will be its own section. The recorder will be its own section, etc

#

That way, I can also separate them out by file

fallow dock
#

like to have something like java class MyWhatever { @MyCommand void something(SomeType arg) { } }

grim lava
#

And then after that, I was going to make the syntax less verbose to create a command by getting rid of the way arguments are created

fallow dock
#

I just saw an unnecesary stringbuilder and I lost it

grim lava
fallow dock
#

but ye it was just joining strings from 2 parts

grim lava
#

whatthink wait really?

#

i generally only used the stringbuilder in loops or just when there are 234723472394724 concatenations cuz it looks a bit neater imo

#

did i really use it when there were just 2?

fallow dock
grim lava
#

a ver

fallow dock
#

you're basically using the same stringbuilder all the time but it's still 2 each time

grim lava
#

yeah

fallow dock
#

the function calls are probably more expensive than just +

#

you could use some functional programming tho, it's not going to be that slow and it will look much nicer (?)

grim lava
#

Nica foxdisapprove are u just lurking

fallow dock
#

I am actually surprised you're building your own framework on top of this JDA thing

#

it seems to just wrap the most basic events

grim lava
#

Ah, you mean the BotUtil class for sending messages?

#

That's honestly a mess tbh

#

I kinda did it so I didn't forget to type .queue() lol

fallow dock
#

like

#

you're not using a framework to set commands

grim lava
#

ah

fallow dock
#

that part you're writing by yourself

grim lava
#

yeah, I made the command system before I realized that there already existed stuff for it already whatthink I was stupid and didn't even bother looking

#

and by the time i made it and realized, i was like eh fuck it

#

may as well use it

fallow dock
#

well it's a good opportunity to read how they're made (?)

grim lava
#

mmm i suppose

#

burdbot was probs the biggest thing i've done in java to date. a lot of it was just touch and go. if anything, it was more just a learning project (?

#

foxdisapprove hablá nica

fallow dock
#

btw you're just zipping!

#

in that snippet

#

lemme write sumthin

grim lava
#

guat? whatthink

#

in which snippet?

fallow dock
#

the one I linked

#

you have 2 lists and take A#1 + B#1 then A#2 + B#2 etc

grim lava
#

yeah

#

idk what u meant by whatever u said whatthink

#

does that refer to the process itself of doing that?

fallow dock
#
>>> print(*zip([1, 2, 3], ["one", "two", "three"]))
(1, 'one') (2, 'two') (3, 'three')```
#

it's just called zip

grim lava
#

oh

fallow dock
#

some libraries can do that... in streams... I'm thinking of Guava

#

let me see if I can write something lol

#

@grim lava I removed all the safety checks to make it shorter

#

look how nice it looksjava public static ArrayList<String> concatLists(List<String> list1, List<String> list2) { return Streams.zip(list1.stream(), list2.stream(), (a, b) -> a + b) .collect(Collectors.toCollection(ArrayList::new)); }

#

(I preserved the signature)

grim lava
#

wolfsneaky looks quite nice

fallow dock
#

anyway I got bored I hope you had fun peepoyay

grim lava
#

whatthink indeed lol

#

ya vuelvo, tengo que lavar los platos

#

HABLÁ NICA

#

AAHHHHHH

#

Dejá de reaccionar peepocry

fallow dock
#

now let's go learn Erlang

#

jk it's like a meme

grim lava
still radish
#

lol

#

I still use inches, feet, pounds & stone tho

eager wagon
abstract scaffold
#

I use inches for the length and width of a tv.

#

east asian countries use year/month/day
so taking away the "year" it would look the same as the american system.

#

It all stems from the fact of whether you say
21st of July 1998 (21/07/1998)
July 21st 1998 (7/21/1998)
1998年7月21日etc.... (1998/7/21)

eager wagon
gusty ermine
#

Creo haber leído que el sistema de la temperatura Fahrenheit estuvo basado en el cupero humano o algo así?

shrewd pendant
#

Vaya uno a saber

grizzled hedge
#

Yeah I think it is

still radish
#

i use year month day

#

for naming files

#

so they sort properly

calm flax
#
>>> print(*zip([1, 2, 3], ["one", "two", "three"]))
(1, 'one') (2, 'two') (3, 'three')```

@fallow dock
What does the asterisk do?

#

Creo haber leído que el sistema de la temperatura Fahrenheit estuvo basado en el cupero humano o algo así?
@gusty ermine
no, está basado en la bromina

gusty ermine
#

Bueno, al menos la escala inicial usó la temperatura del cuerpo humano para establecer un límite superior

fallow dock
#

@calm flax that's for unpacking, in some other languages they call it "spread operator" and might be ... instead

#

so the way it works is that you have an iterable

stable tinsel
#

I use day/month/year

fallow dock
#

and the * will take each element from that iterable and spread it among the parameters, each one as an argument

stable tinsel
#

Fahrenheit?

#

In 2020?

vital ginkgo
#

Fuck Fahrenheit, all my homies use Celsius

fallow dock
#
>>> def fun(thing_a, thing_b):
...     print(f"{thing_a} is the first argument and {thing_b} the second one")
... 
>>> my_data = "jesus", "batman"
>>> fun(*my_data)
jesus is the first argument and batman the second one
>>> ```
stable tinsel
#

Celcius is more practical

#

Water freezes at 0 degree and boils at 100

#

Easy

vital ginkgo
#

Indeed

stable tinsel
#

I hate the imperial system too

#

Who in god's earth would measure weight with stones?

vital ginkgo
#

What?

stable tinsel
#

What what?

round violet
#

What?

stable tinsel
#

What what?

vital ginkgo
#

What?

fallow dock
#

@calm flax the same symbol is used for this "unpacking" as well, in assignments```python

*a, b, c = ["one", "two", "three", "four", "five"]
a
['one', 'two', 'three']
b
'four'
c
'five'``````python
a, *b, c = ["one", "two", "three", "four", "five"]
a
'one'
b
['two', 'three', 'four']
c
'five'```

#

anyway, if something isn't clear just ask

#

you might want to look up *args and **kwargs as well

calm flax
#

@fallow dock thank you! I’d seen it for multiple args but not for assignment like that.

fallow dock
#

in Python lots of things happen to be or accept iterables, so you can use stuff like that in many situations

#
>>> def something_w_animals(cat_name, dog_name):
...     print(f"My cat is named {cat_name}, the dog {dog_name}")
... 
>>> names = {'cat_name': 'peepo', 'dog_name': 'doggu'}
>>> 
>>> 
>>> something_w_animals(**names)
My cat is named peepo, the dog doggu```a `**` does a similar thing but with keyword arguments if what you have is a dictionary @calm flax (notice this does not really "unpack the values")
#

so that call does -effectively- a something_w_animals(cat_name='peepo', dog_name='doggu')

#

(a single * unpacks the keys)

gusty ermine
#

assist me

#

circle theorems

median trail
#

I think g measures 100 degrees if im not mistaken

#

The formula for an inscribed angle is half what the two sides cut out of the circle, right?

#

And h measures the same as g

#

Because h's sides touch the same points on the circumference as g's

#

@abstract scaffold

abstract scaffold
#

@median trail tienes razon

abstract scaffold
#

or in short.
angle at the the centre of the circle is twice the angle at the circumference standing on the same arc.

#

g = h (angles at the circumference standing on the same arc are equal)

gusty ermine
#

La 3 veces alguien ha subido ese vídeo sadUwu

twin bridge
#

La 3ra/tercera vez que alguien ha...

eager wagon
alpine cradle
#

3.ª tuxedoPooh

twin bridge
gusty ermine
#

BeeThoven

#

Yes

#

Me encanta

#

Mi nuevo emoji

twin bridge
ashen mist
#

tf es esto

eager wagon
#

@hollow gull No gracias, no en este servidor. Por favor, lee las reglas

cursive sapphire
#

Mask is dangerous

fallow dock
#

@grim lava I got bored and read the docs for JDA a bit lol

#

while it doesn't offer any way to add commands and use a premade logic to parse them and such -because it's just a wrapper for Discord events-, there's a @SubscribeEvent annotation to subscribe any method to an event

#

and it looks nicer than the default way, but it probably gets in the way in some circumstances

#

for example you can have something like this

#
class SomeEvents {
    private void helper() {
        // let's assume this does something useful
    }

    @SubscribeEvent
    void commandWhatever(MessageReceivedEvent event) {
        if (event.getAuthor().isBot()) return;
        
        event.getChannel().sendMessage(
                String.format("Wdym by \"%s\", %s? Shut the heckies up please...", event.getMessage(), event.getAuthor())
        ).queue();
    }

    @SubscribeEvent
    void uselessCommand(MessageReactionAddEvent event) {
        System.out.println("Some reaction was added...");
    }
}```
#

then you use the AnnotatedEventManager implementation and register your stuff:java JDABuilder .createDefault("manu's secret token, taken from the environment variables let's assume") .setEventManager(new AnnotatedEventManager()) .addEventListeners(new SomeEvents()).build();

#

and done, commandWhatever only gets the MessageReceivedEvents and uselessCommand the MessageReactionAddEvents

#

the actual implementation for event managers -if you want to write your own- can actually be super flexible, the IEventManager only has a few methods to implement

#

which are register(Object listener), unregister(Object listener), List<Object> getRegisteredListeners() and handle(GenericEvent event)

#

so any object can try to register to the manager - what it does/how the validation goes is up to the given implementation

#

I think I'll try to write something as a proof of concept in a bit lol

#

I want a @Command annotation and a custom manager that checks for that annotation, then automatically registers the names of methods as commands, but I also want to give it some functionality like discord.py has

#

d.py has "converters", which actually just takes the metadata left by typehints and tries to convert the text given by the user -a string- to the class of that typehint, like if the params for something(self, ctx, ...) are a: int, b: Something, then !something 50 25, the framework will automatically do int(50) and Something(25)

trail basin
#

Does anyone knows how to search for spending of a country in a pie chart?

#

Like "spending pie chart x country"?

grim lava
#

I see. Thanks Manu for the info. I'll probs rework my own command system later on if i feel like it to use annotations rather than the builder pattern it has rn wolfsneaky I want to experiment with it

fallow dock
#

@grim lava ok it werks

grim lava
#

oh? wolfsneaky

fallow dock
#

burp

grim lava
fallow dock
#
class MyEvents {
    @AliasedCommand
    void doStuff(MessageReceivedEvent event) {
        event.getChannel()
                .sendMessage("Something happened!")
                .queue();
    }

    @AliasedCommand
    void doubleThis(MessageReceivedEvent event, Integer x) {
        event.getChannel()
                .sendMessage(Integer.toString(x * 2))
                .queue();
    }

    @AliasedCommand
    void yell(MessageReceivedEvent event, String name, Integer age) {
        event.getChannel()
                .sendMessage(String.format("%S IS %s YEARS OLD", name, age))
                .queue();
    }

    public void lol() {
        // I don't do anything
    }
}```my class for commands was this
#

it's a bit long it and it took me longer than expected lol nothing fancy or proper tho

#

I can't even paste a fragment because it's over 2000 characters

#

they're mostly spaces tho

#

streams abuse

#

I didn't check-the-checks worked but as a proof of concept it's enough thonk

#

in any case, I suppose errors from a commands class could be handled by the class itself

#

which is something d.py does in its design

#

you could have stuff likejava @interface AliasedCommand { long channel() default 0; }and restrict the commands to a single channel or some other crazy stuff

#

I used tuples and triples because I had no idea what design I was going to have, that should be like a ClassThatDescribesThisAliasAndStuff and do everything properly with it, I just wanted to code the introspection part wolfsneaky

twin bridge
#

What r u trying to do?

#

xd

fallow dock
#

nothing? I already did

#

or are you asking because it wasn't clear what I just said

cursive sapphire
#

Uh Iron is silver yes

twin bridge
#

or are you asking because it wasn't clear what I just said

Cuz im curious but also too lazy to read all xd

fallow dock
#

so Deliburd is writing @nocturne blaze and he's using a very bare bones framework that only wraps the Discord events, and writing all the remaining logic on top of it. The way he declares new commands for the bot seems a bit lengthy/wordy, so I thought using reflection would be a much better idea

#

that means that, instead of doing something like newCommand().setSomestuff(...).setMoreStuff(...).build() or whatever, he could write his command as regular java methods, in a more natural way, and let the program figure out all the details by itself

#

for example, you could write this:java class Module { @Command(channels = {383377678385938432L}, adminOnly=true, cooldown=2) void yellAtUser(MessageEvent event, User user) { event.channel().sendMessage("You are a fool, " + user.name() + "!!!"); } }(ficticious API to make it simpler)
and then pass an instance of Module to the manager, which by itself should grab all the metadata you specified (or the default) in the @Annotation and use it to create and register the command

#

sorry for the ping, Ann

#

so that for example could detect by itself what the name for the command is and what the arguments are supposed to be: !yellatuser @Manusaurio !yellatuser 427194066216681474could both be valid, could only be used by admins in #🍁・general-2, and it would have a 2 seconds cooldown

#

**Java annotations are not like JavaScript/TypeScript or Python decorators btw

shadow jacinth
#

@shadow jacinth soy mujer
@gusty ermine Me puedes mostrar tu mar? :3

#

yo se nadar

gusty ermine
#

Yo noyawe

median trail
eager wagon
#

Solo había 3 preguntas 👀

#

Así que es 3/3

#

🏃‍♀️

median trail
#

what

#

no

#

the grading system goes from 0 to 5 blobglarehiding

cursive sapphire
#

what

abstract scaffold
#

@median trail felicitaciones. el curso de las ecuaciones diferenciales obtuve mi mejor nota en esa materia.

naisu

median trail
ornate moss
#

Wow does this server have something like java backend source code?? I'd like to contribute hahaha

#

At least I want to improve my coding skill while learning spanish hahaha

median trail
#

does this server have*

median trail
#

oh the abstract and keywords of the state of the art for my physics III class has to be in English uwu

#

so do the keywords

grizzled hedge
#

Noice edsel!

#

I was gonna take odes but chose linear alg for some reason this semester instead

gusty ermine
#

El álgebra linea es el mejor

abstract scaffold
#

lineal*

fallow dock
#

I think

#

TypeScript is broken or some shit

fallow dock
#

Wow does this server have something like java backend source code?? I'd like to contribute hahaha
@ornate moss there are also 2 bots written in Python as well afaik. If you want to contribute with Java you should talk to Deliburd or check the GitHub repo

fallow dock
#

I'm back to give unwanted advice again @grim lava 😔

#

you have this function```java
public static void deleteFolder(File folder) {
if(folder == null) {
throw new IllegalArgumentException("Directory is null.");
}

    File[] files = folder.listFiles();

    if (files == null) {
        return;
    }
    
    if(files.length == 0) {
        folder.delete();
    }

    for(int i = 0; i < files.length; i++) {
        if(files[i].isDirectory()) {
            deleteFolder(files[i]);
        } else {
            files[i].delete();
        }
    }
    
    folder.delete();
}```which does some redundant things, you could write it like this:```java
public static void dontActuallyDelete(File folder) {
    if (folder == null) throw new IllegalArgumentException("it's yo boy null again");

    File[] files = folder.listFiles();

    for (File file : files) {
        if (file.isDirectory()) {
            System.out.println("Accessing folder " + file);
            dontActuallyDelete(file);
        } else {
            System.out.println("Deleting file " + file); // here goes the actual instruction to delete
        }
    }

    System.out.println("Deleting folder " + folder); // here goes the actual instruction to delete (again)
}```(the argument should probably be `path` instead since it can be either a directory or a file I suppose) but talking about `Path`s, the actual advice is that you should check `nio` instead of `io` to handle files
#

this is a common recipe with nio (I copy pasted it tho and changed it a bit):java Files.walk(some Path goes here) .sorted(Comparator.reverseOrder()) .map(Path::toFile) .forEach(File::delete);

#

if you've never seen walk, this illustrates it quite well. I have this directory in my computah: manuel@6500 wuff]$ tree . . ├── lol ├── nani └── waff └── xdwhere lol and xd are files, everything else is a directory.

#

so thisjava Files.walk(Paths.get("/home/manuel/wuff")).forEach(System.out::println);printsjava /home/manuel/wuff /home/manuel/wuff/nani /home/manuel/wuff/lol /home/manuel/wuff/waff /home/manuel/wuff/waff/xd

#

the idea for the recipe is that if you reverse it, you get always the files from a directory, and then the directory, so you can delete the files -> the directory

grim lava
#

oh, I see. wolfsneaky I'll change in the next update probably

#

thanks manu

ornate moss
#

Funny how I used to recursively walk through files before knowing that method exist 😂😭

lavish hazel
#

why is off topic full of code and math

exotic kiteBOT
lavish hazel
#

nerd

#

s

ornate moss
#

Sí sí lo que diga señor :v

#

@ornate moss there are also 2 bots written in Python as well afaik. If you want to contribute with Java you should talk to Deliburd or check the GitHub repo
@fallow dock ¿Cuál es el repositorio?

fallow dock
grim lava
median trail
#

how can I type special characters that use keys like alt+161 without having a numpad? ;-;

fallow dock
#

Win+R

#

charmap

#

(?)

#

en Linux no hay alt-codes, qué es el 161?

median trail
#

Idk

severe current
#

í

brave mango
#

I do it with the international keyboard

severe current
#

Alt 161 es í

brave mango
#

I get ¡

median trail
#

But do you have a numpad

severe current
#

I'm using da phone

brave mango
#

I have a numpad, but I type ¡ but doing
right alt+1

#

With the international keyboard

fallow dock
#

pero es para algunos programas

median trail
#

Ill check your solutions out in a few minutes, thank guys uwu

fallow dock
#

podés escribir en MS Word y volver (?)

gusty ermine
#

no se cuando distro usas pero podes guardar las vocales con tilde y ñ en un archivo y cuando las necesitas sólo copy y paste

#

cual *

fallow dock
#

el charmap no es lo más cómodo?

median trail
#

yeah but I have to memorize where all the special characters are

gusty ermine
#

hey everyone, how y'all doing?

exotic kiteBOT
gusty ermine
#

anyone got movies or series recommendations you've liked recently?

viral shard
#

since we're on the tech channel and you my friend are asking for tv shows, I have to recommend you Mr. Robot. Wonderful show and it's already finished. @gusty ermine

gusty ermine
#

Oh great. Will watch it

#

Thanks for the recommendation

fallow dock
#

fuck cancer

river garnet
#

Especialmente cáncer de colon

thin copper
median trail
#

tfw my OS class is about installing windows server, windows, ubuntu...

#

it's like we learn how to be a server admin and provide a good quality service to users

past harbor
#

MV

#

<3

fallow dock
#

install Windows 3.1

median trail
#

As you can see we use the free iso provided by windows

#

180 days is a lot, isn't it

#

I guess it's not if someone's planning on using this as a dedicated server or something

past harbor
#

Suficiente tiempo para romper la MV

#

y volver a instalar la ISO

ashen mist
#

Vas a crear un domain controller?

#

Juego con windows server un poquito

#

Porque tengo que probar cosas en active directory

median trail
#

Idk what that is sir

#

I just know that I installed windows

#

Im proud

past harbor
#

Aún me acuerdo

#

cuando tuve examen de directivas de windows

#

qué diversión

median trail
past harbor
#

a ver

#

uiffff

#

"algoritmos de planificación de la cpu"

#

odiaba esta mierda

median trail
#

👀 .

past harbor
#

espera

#

habia otor

#

otro*

#

esta mierda

#

oh

#

lol

median trail
#

that "FIFO" rings a bell

median trail
#

is it a data structure

#

First In First Out

#

right?

past harbor
#

si

median trail
#

a queue

past harbor
#

primero en entrar, primero en salir

#

seh

fallow dock
#

install Gentoo

#

ah re

#

yo tengo legit un Windows 3.1 todo rosa uwu2

#

ese dithering sí se puede ver

#

a veces me siento ignorado en este canal lol :(

median trail
#

pandasad sorry I'm in class

fallow dock
#

no worries xd

median trail
#

I should buy another 500GB SSD because I'm running out of space

#

This virtual instance is taking up a bit too much of hard disk space

ashen mist
#

Cuánto pesa?

past harbor
#

Las mv chupan mucho

ashen mist
#

Seh, especialmente las de windows

median trail
#

I allocated 40GB for this virtual instance

#

because that's what my teacher recommended us

ashen mist
#

Wtf

#

Pues

median trail
#

I just configured the control domain

ashen mist
#

Para un servidor eso no me extraña

#

Nais

median trail
#

I don't know what that is yet. My teacher told us that it's what we need to manage/have control on all the other PC's, create policies, show the company's logo when booting up a pc, etc

ashen mist
#

Domain controller es básicamente la máquina que administra la red de Windows

past harbor
#

40gb?

#

What

#

Yo ponia 20

ashen mist
#

Para Windows server?

past harbor
#

Si

#

Es una mv

median trail
#

My teacher told us that WS is heavy

past harbor
#

Lol

ashen mist
#

El servidor es muy pesado

past harbor
#

No se. A mi me iba rapido

ashen mist
#

No sé cuánto le puse al mío

ashen mist
#

Active Directory (AD) o Directorio Activo (DA) son los términos que utiliza Microsoft para referirse a su implementación de servicio de directorio en una red distribuida de computadores. Utiliza distintos protocolos, principalmente LDAP, DNS, DHCP y Kerberos.
De forma sencilla...

fallow dock
grim lava
#

wait what lol

dense loom
#

The last time our "town" had morris dancing was like 2012

calm flax
#

Wow

dense loom
#

I think it's more of an oxfordshire thing

calm flax
#

I’m like “so last year?”

#

Time flies man

dense loom
#

I think abingdon still does it

#

which isn't too far

#

I searched it up for my town

#

but there's no resutls :v

#

ah nvm

#

they did it last year

#

this is definitely something that's dying out though, it used to be massive but now hardly anyone does it or even knows about it

calm flax
#

It used to be massive?

dense loom
#

in the sense that most of the community got involved

#

but now the communities are very closed off, if that makes sense

calm flax
#

Yeah

main hatch
#

Fml this stupid software and its stupid formatting errors...

#

It doesn’t help that I totally didn’t pay attention to circles in high school. Like, I just checked out during that unit.

#

Ah, I just had to change it so it wasn’t subtracting negatives.

boreal peak
median trail
#

@boreal peak cheater

boreal peak
#

shh

#

I dislike math

#

:v

median trail
boreal peak
#

my can suck my d

#

catsad
@median trail issoki, people who know math are cool

#

they compliment me

#

and other people who dont like math

gusty ermine
#

Does anyone know someone who has been to Sevilla Spain?

median trail
#

=help

#

=tex [\sqrt{[\abs{y}]}] = [\sqrt{[\abs{x}]}] + c

rotund pawnBOT
#

Rendering failed. Check your code. You may edit your existing message.

Error Log:

 LaTeX Error: Bad math environment delimiter.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.92 \end{gather*}
                  
Your command was ignored.
Type  I <command> <return>  to replace it with another command,
or  <return>  to continue without it.
dense loom
#

@gusty ermine Yes sir

#

My sister has been twice and I've stopped there for a day

#

Unless you want someone that lives there

fallow dock
#

=tex [\sqrt{[\abs{y}]}] = [\sqrt{[\abs{x}]}] + c

rotund pawnBOT
median trail
#

No

fallow dock
#

why did it fail

median trail
#

=tex \sqrt{\left | y \right | } = \sqrt{\left | x \right | } + c

rotund pawnBOT
median trail
#

@abstract scaffold if I get that as the result of a differential equation, do I still have two general solutions for y? or can I just do

#

=tex \sqrt{y} = \sqrt{x} + c

rotund pawnBOT
median trail
#

Because if I have the y and x inside a square root then they must be positive right?

#

What's confusing for me is the fact that if y is negative it becomes positive because of the abs

#

So I would have to consider this:

#

=tex \sqrt{ -y} = \sqrt{\left | x \right | } + c

rotund pawnBOT
median trail
#

2nd question: Do I have to care about the abs value of the x even if it's the independent variable? (In the above context)

abstract scaffold
#

@median trail para la segunda pregunta. si y < 0, tenemos dos casos. asi que necesitamos ese valor absoluto.

#

para la primera pregunta. tecnicamente necesitas poner los valores absolutos a no ser que tengas condiciones iniciales.

#

el otro caso:

#

=tex For , , y \geq 0 \
\sqrt{y} = \begin{cases}
\sqrt{x} + C ,,,,, ,,,, , if ,,, x \geq 0 \
\sqrt{-x} + C ,,,,, if ,,, x < 0
\end{cases}

rotund pawnBOT
abstract scaffold
#

asi que para combinar estas cuatro soluciones, necesitamos el valor absoluto. podemos elegir algunos y eliminar algunos si tenemos condiciones iniciales etc...

#

por lo tanto, no deberias escribir:

#

=tex \sqrt{y} = \sqrt{x} + c

rotund pawnBOT
abstract scaffold
#

como tu respuesta final

#

porque no estas mostrando todos los casos.

#

as (-y) is positive when y is negative
(-x) is positive when x is negative.

it's just remembering what absolute value means

#

it's a piecemeal or piecewise function

#

= tex \left| x \right| = \begin{cases}
x ,,,,, , ,,,,, if ,,, x \geq 0 \
-x ,,,,, , if ,,, x < 0
\end{cases}

rotund pawnBOT
median trail
#

Thank you! @abstract scaffold

median trail
#

=help

abstract scaffold
#

yep

#

you could then say

#

=tex |y| = e^2x

twin bridge
#

Hey @abstract scaffold, are u a mathematical? xd

#

Im curious

#

I always see u in this stuff

abstract scaffold
#

i guess i am a mathematician, yes.

median trail
#

Yes he is

twin bridge
#

lolxD

abstract scaffold
#

@median trail actually. wait. is it (ln|y|)^(1/2) the whole log function raised to the power of a half?

#

or is it just the |y|^(1/2)?

#

if it's the whole log function, it's a bit different.

median trail
#

Its just the |y|

#

Sorry hahah

#

I forgot to use parnthesis

#

Well no, I think it's fine?

median trail
#

If i used parenthesis the whole log wpuld be with the exponent

abstract scaffold
#

if it's the whole log. then it's like this

#

if it's just the |y|. then ur correct

median trail
#

Yes exactly

#

Its just the |y|

abstract scaffold
#

then ur final line is just |y| = e^{2x}

median trail
#

Yes, thanks :)

abstract scaffold
#

np

#

the mathbot seems to be down.

#

so i used another bot.

#

@median trail ten cuidado con la notacion. deberias poner el 1/2 dentro del logaritmo para no causar confusion

#

test

#

=tex |y| = e^{2x}

rotund pawnBOT
abstract scaffold
#

took 3 minutes to respond, lol.

median trail
#

oh ok

abstract scaffold
#

=tex ln\left(|y|^\frac{1}{2}\right)

boreal peak
#

=tex 2 + 2

rotund pawnBOT
twin bridge
#

=tez 2 + 2 = 🐟

#

=tex 2 + 2 = 🐟

rotund pawnBOT
#

Rendering failed. Check your code. You may edit your existing message.

Error Log:

 Package inputenc Error: Unicode char 🐟 (U+1F41F)
(inputenc)                not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.92 \end{gather*}
                  
Your command was ignored.
Type  I <command> <return>  to replace it with another command,
or  <return>  to continue without it.
twin bridge
#

F

wraith grotto
#

rigged

median trail
#

=tex \lim{x\to \triangle t} \frac{\triangle P}{\triangle t} = \lim{x\to \triangle t} {(\beta(t) - \delta(t))}P(t) \Rightarrow
\frac{dp}{dt} = {(\beta(t) - \delta(t))}P(t)

rotund pawnBOT
median trail
#

@abstract scaffold is his correct?

#

This*

#

It should be dP though

abstract scaffold
#

looks fine

median trail
#

It should also be delta t => 0

#

Sorry for that hahaj

#

The improtant part is correct

abstract scaffold
#

yeah. i got what u were trying to say.

median trail
#

😄 cool! Im so glad you could understood my engineer logic

#

I have another question. In my dif eq class we are covering population models, and the first model we are studying is the so-called "general model" that defines the birth and mortality rates like this

#

=tex Birthrate = \beta(t)P(t)\triangle t; Mortalityrate = \delta(t)P(t)\triangle t

rotund pawnBOT
median trail
#

And we are like studying the change of population in [t, t + h]

#

P stands for population in the time t
B stands for babies born in the time t
Delta(not the triangle) stands for people who died in the time t

#

I don't understand what delta t is doing in the birth rate and mortality rate formulas

#

@abstract scaffold pandasad

boreal peak
#

Gamma

abstract scaffold
#

@median trail if you divide both sides by delta t then it might make more sense

median trail
#

Ahhhhh

#

LOL

abstract scaffold
#

It's over a time period, so that delta t is needed

median trail
#

And what does the population multiplying the babies born mean?

abstract scaffold
#

hmm. im not to sure yet. i'll have a think about it.

median trail
abstract scaffold
#

reading through it. Beta(t) is the number of births per unit of population per unit of time at time t. in other words, this is the RATE of births.

thus to get just no. of births, you have to multiply by delta t. but also by P(t) so that it's not just per unit of population... but rather the whole population.

#

this is similar to calculate no of deaths.

#

delta(t) {minuscula} is the RATE of deaths per unit of population per unit of time.

to get deaths.. we multiply by delta t to get rid of the "per unit of time" and multiply by P(t) to get ride of the "per unit of population"

#

so the last line says

change in population with respect to time is
(birth rate(at time t) - death rate(at time t)) * total population(at time t)

#

por ejemplo. beta(t) podria ser el numero de nacimientos por mujer por diez años.

median trail
#

(Sorry I'm reading about the logistic model and once im done with it, I'll check this)

abstract scaffold
#

(births/women/time) * change in time * whole population gives you the total birth rate edit: i meant total births only {for that time period}

#

si estoy manejando un carro con una velocidad de 60 km/h por 2 horas, he conducido 120km.

pero si quiero saber la distancia total de todo el mundo manejando un automovil (y asumo que todo el mundo esta manejando con esa misma velocidad), tengo que multiplicar por la poblacion de todo el mundo....

por ejemplo, si el numero de personas en total es 5,
la distancia que hemos ido es 60 * 2 * 5 = 600km
60 puede ser beta(t) {each person is travelling 60 km per hour}
2 puede ser el tiempo (\triangle t) {we are driving for 2 hours}
5 puede ser P(t) la poblacion. {there are a total of 5 of us}

#

what you were getting confused is you interpreted beta(t) as the number of births and "nacimientos" as the birth rate.

but in reality beta(t) is the tasa de natalidad, the nataility. the birth rate.

and similarly, \delta{t} (delta con minuscula) is the death rate; tasa de mortalidad, the mortality rate. meanwhile, "muertes" is the number of deaths, not the death rate.

#

hopefully that clears things up.

gusty ermine
#

cada vez q veo este canal, están hablando de matemáticas

#

que asco

fallow dock
#

okay gracias

last vault
#

de qué quieres que hablen

grim lava
median trail
#

@abstract scaffold

5 (births/women/time) * 5 days change in time * 10000 whole population = 250000 births

but this is assuming that every day each woman is having 5 kids, right?

#

I guess in this model the bigger triangle t the imprecise this model gets

abstract scaffold
#

@median trail yeah, the model with functions is only approximate as it stated in that book.

boreal peak
#

Say no to math today for a happier life

still radish
#

verdad

gusty ermine
#

verdad

twin bridge
#

=tex u * w * u

rotund pawnBOT
edgy quarry
#

uwu

median trail
#

What the f-

boreal peak
#

That's some math many can get behind

median trail
#

Look how they massacred my boy

frozen temple
#

balls

slender merlin
#

Balls?

median trail
#

=tex \left | y\right | = 2cos(x) - 2c, y(0) = 1

rotund pawnBOT
median trail
#

If I have this as the general solution for a dif eq, and I need to find c for y(0) = 1

#

I have to use this, right?

#

=tex y = 2cos(x) - 2c

rotund pawnBOT
median trail
#

@abstract scaffold

#

Im asking this because I can also find c for the expression when y < 0

#

=tex y = - 2cos(x) + 2c

rotund pawnBOT
median trail
#

So, do I have to find c for both expressions or do I have to find c for the expression when y >= 0

abstract scaffold
#

only for when y >=0 porque y(0) = 1
y 1 >= 0

#

@median trail sorry late reply