#🍁・general-2
1 messages · Page 161 of 1
You need to knead more


I get distracted
f
thers veneco in youtube
Luis Herrera of Casa Ora in Brooklyn, NY makes Reina Pepiada arepas, a hand-held, pre-Hispanic dish fit for a queen. The Reina Pepiada arepa, created in the 1950s in Venezuela, is one of the most popular varieties, stuffed with creamy chicken salad and avocado slices. Luis’ re...
RECIPE: http://www.sweetysalado.com/2012/11/colombian-arepas.html
An easy and delicious recipe to make Colombian Arepas with butter and mozzarella cheese.
Thumbs up if you enjoyed this video. Also, don't forget to subscribe. ♥ Thank you! ♥
Versión en español: http://youtu....
big difference

zi
but
:rice_cracker:
:stuffed_flatbread:
Is this correct?
Un pescado dice a su hijo:
"Que esta haciendo tu mama?"
||"nada"||
@fallow plinth @violet oasis
Entiendo el chiste jaja
La pregunta sería "Qué está haciendo tu mamá?"
O qué hace
I don't get it
🆙 | StonkLord leveled up!
Nada = nothing
Nadar = to swim
Ahhh
He/she swims = nada

Jokes are a good way to learn 
Ok I'm going too, good night :D I expect to learn some good Australian curse words
@unreal pagoda yes is correct
alguien sabe física nivel universidad?


!> a rule
AEA ctmr @dusky oriole
Holaaa
@mortal dagger en el año 2149 usan Lisp en Doom lol
Regex? Noooooo 
no hay regex ahí lol
llevo 2 días probando Doom Emacs y está preciosísimo
Alguien que sepa mucho de git? Tengo problemas para entender el remoto..
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
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)
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
en ese caso significaría que hacen el merge de las branches localmente
justamente el link que mandaste, estaba usando neovim y en doom-emacs no extraño absolutamente nada
pushear en ese caso significa que no es necesario hacer PR en GitHub
porque ya están escritos los cambios en máster
Hm..
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.
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?
sí, es una posibilidad
también puedo crear la branch en GitHub y luego clonar
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
o sea, intento pushear mis cambios, y si el upstream está adelantado, pulleo
Me parece un coñazo..
Me parece un coñazo..
bienvenido agit
sí, tenís que tener tu weá up-to-date para pushear
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
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)
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
ah, btw, los nombres master, origin etc. son convenciones
digo porque tardé buen rato en entender que comandos que usaban origin podían tener el nombre que yo quisiera xdd
Yo cuando lei
Git push origin x
Yo estaba como, eh que es origin
Pero ya entiendo, gracias!
No usas nada para control?
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
https://stackoverflow.com/questions/35837/what-is-the-difference-between-mercurial-and-git/892688#892688 me acordé de eso lol
@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
@mortal dagger no extrañás que ande rápido? (?)
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
auto-complete Sho uso company
pero es tan modular que molesta (?)
me está cortando el pelo mi madre 
no parece confiada
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
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
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
estás en Arch, no?
asíes
vale, no uses Eclipse en Arch (?) más allá de que haya IDEs mejores... tiene... problemas
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
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
pero si se da el caso, me interesaría más hacerlo en Scala por ejemplo o Clojure
además todo ese bardo viene de C#
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
pucha, pero en esos tiempos Java tenía el mercado enterprise completo para ellos
no es de mi gusto, pero sí entiendo esos movimientos
C# aún no tenía in y out para variance pero ese es otro asunto
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í
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
la gente que estaba metida en LINQ eran puros cracks
Cross posted from msdn's channel 9.
Functional programming is increasing in popularity these days given the inherent problems with shared mutable state that is rife in the imperative world. As we march on to a world of multi and many-core chipsets, software engineering must e...
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
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
Camello es el tipo que vende drogas en la calle, no?@fallow dock
no sé, yo soy un chico sano (?)
por acá le dicen "transa" @ashen mist pero creo que es bien lunfardo
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
Obama seems to be ashamed of the relationship because he doesn't even look at trump

No querría conocer a Trump honestamente
No me parece un hombre con quien tendría una buena charla
ah, yeah
Orange man bad
Bécquer!
Hombre de cultura
@ashen mist do you know what 2NF is in databases? I don't understand it 
no jaja lo siento
@ashen mist do you know what 2NF is in databases? I don't understand it
@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)
nunca aprendí cosas de administración de datos
Let's see if this link works
Third normal form (3NF) is a database schema design approach for relational databases which uses normalizing principles to reduce the duplication of data, avoid data anomalies, ensure referential integrity, and simplify data management. It was defined in 1971 by Edgar F. Codd,...
apparently 3NF and BCNF aren't the same thing
I have a hard time with reading comprehension. Im trying to find an easy way to notice when a table is not in 2nf
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.
Yeah but how do I know that a non-key column doesnt depend on the tables primary key
errrr
I was watching a video that said that a table has to serve just one purpose
this article seems to be explaining it well
> (([True, ...True] = [true+true+true, true, true+true])[true-true] -true-true) === +True[true-true]
true```true
Estoy completamente de acuerdo
That's a lot of trues
true
qué tal```js
[![], ![], !![]][+!![]+!![]]
true```
(igual bastaba con```js
!![]
true```xd)
@abstract sky rest easy

@past pond
@gentle oak all night*
@ashen mist Thanks
De nada
► Learn how to code with Python 3 for Data Science and Software Engineering. High-quality video courses:
http://python.jomaclass.com/
► Resume Template and Cover letter I used for applying to software internships and full-time jobs:
https://resume.joma.io
► Travelling?
Sav...
Hello. I need help. I have two pcs specs and I need to decide which one suits me better. Who can help?
Jaja
🆙 | Ratanuel 2.0 leveled up!
Es Baby Oleg, un suricato, de un anuncio para un sitio web de Inglaterra (comparethemarket.com)
@faint wyvern
Gracias!
How can I delete a course?
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
German has masculine, feminine and neuter genders.
what is neuter 
Talking about German?
Great, I studied a little
I don't know, I learned it from Spanish. I see similarities with both languages
what is neuter :MonkaSShake:
@boreal peak Uh... neither masculine nor feminine. (?)
Yeah.
So choose whatever you want, you won't be able to avoid the damned articles
Hahaha
well, french is a romanic language
but it has some words that are similar to english
Leaving that apart, German's not that difficult at all.
It's the opposite, in fact.
English borrowed too many words from D'Oïl languages. :v
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
I guess it's better to learn it from English.
As both are Germanic languages, their structure might be more similar.
Nah, at least German always pronounces things the same, like Spanish.
^ ya I figured. Now the Q is, how to delete language courses on duolingo
Lemme check, I once did it.
I've been trying 
quizás no se puede hacer en la app
digo, habrá una manera en la página web
is duolingo owned by facebook 

Perhaps.
Lel
Ah yes, math. My biggest enemy.
lol
And it's geometry even, which is one of my least favorite parts of math.
I agree.
@gusty ermine is there more info about L1 or that's all
yeah i didnt realise it was part of the other question
i did it now lol
but thanks anyway
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.
@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
makes sense honestly
Haha it's kinda interesting
I like yes
pigeons in reality are popcorn
just wanted to trow it out there wealth equlity is dumb
universal income and goverment handouts are also for retards who should not vote , if you don't pay net taxes you should not vote
no u
what
Stuff like that goes in the sensitive topics channel and even then, that doesn't mean you should berate ppl with certain beliefs
Nica

Spying you 

Yeah(?

I see
I did practically nothing
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 
programming
Do u have any workout routine or something?
No 
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

Yeah, is better than nothing
so ur here now
But isn't the same
lemme write a present
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
Oh, this is just wonderful to read on my phone jajajajajaja
I have a lot more of bad code on purpose
ah it doesn't matter, the proper colors won't help much
lol
even then it looks shitty lol
ikr
this is what it looks like for me lol
we could also just Arrays.stream("hell yeah burd".split(" ")).forEach(System.out::println);
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
how much do you know?
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
that wasn't a good question, but I had to ask anyway
I'm not sure tbh. Enough to do what I need and to look up what I don't know (?
can I get a link to the repo?
can i call u that?
yes, everyone does
you can also pick one of my other names, "dumb bastard" and "motherfucker"
jajajajajajja
the scrapers are just so badly made it's embarassing

how old are you again
you seem to know an awful lot already

the structure is wacky but most of it looks fine
do you want unwanted comments from me on your code
lol
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 
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
looking at it from github, the tabbing in some places are absolutely fucked even tho in my IDE it's fine
ah, yeah
like List<String> asdf = new ArrayList<>(); is probably better than ArrayList<String> asdf = ...
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
there are a bunch of unnecessary directories here
got it
it creates a new directory for each thing for a package
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
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
like to have something like java class MyWhatever { @MyCommand void something(SomeType arg) { } }
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
I just saw an unnecesary stringbuilder and I lost it

but ye it was just joining strings from 2 parts
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?
you're basically using the same stringbuilder all the time but it's still 2 each time
yeah
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 (?)
Nica
are u just lurking
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
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
ah
that part you're writing by yourself
yeah, I made the command system before I realized that there already existed stuff for it already
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
well it's a good opportunity to read how they're made (?)
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 (?
hablá nica
yeah
idk what u meant by whatever u said 
does that refer to the process itself of doing that?
>>> print(*zip([1, 2, 3], ["one", "two", "three"]))
(1, 'one') (2, 'two') (3, 'three')```
it's just called zip
oh
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)
looks quite nice
anyway I got bored I hope you had fun 
indeed lol
ya vuelvo, tengo que lavar los platos
HABLÁ NICA
AAHHHHHH
Dejá de reaccionar 



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)

Creo haber leído que el sistema de la temperatura Fahrenheit estuvo basado en el cupero humano o algo así?
Vaya uno a saber
Yeah I think it is
>>> 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
Bueno, al menos la escala inicial usó la temperatura del cuerpo humano para establecer un límite superior
@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
I use day/month/year
and the * will take each element from that iterable and spread it among the parameters, each one as an argument
>>> 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
>>> ```
I hate the imperial system too
Who in god's earth would measure weight with stones?
What?
What what?
What?
What what?
What?
@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
@fallow dock thank you! I’d seen it for multiple args but not for assignment like that.
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)
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
@median trail tienes razon
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)
La 3 veces alguien ha subido ese vídeo 

3.ª 


tf es esto
@hollow gull No gracias, no en este servidor. Por favor, lee las reglas
Mask is dangerous
@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)
Does anyone knows how to search for spending of a country in a pie chart?
Like "spending pie chart x country"?
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
I want to experiment with it
@grim lava ok it werks
oh? 

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 
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 
Uh Iron is silver yes
or are you asking because it wasn't clear what I just said
Cuz im curious but also too lazy to read all xd
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
Yo no
@abstract scaffold I've got 5/5 in my first dif eq test uwu
what
@median trail felicitaciones. el curso de las ecuaciones diferenciales obtuve mi mejor nota en esa materia.
naisu

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
does this server have*
oh the abstract and keywords of the state of the art for my physics III class has to be in English 
so do the keywords
Noice edsel!
I was gonna take odes but chose linear alg for some reason this semester instead
El álgebra linea es el mejor
lineal*
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
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
Funny how I used to recursively walk through files before knowing that method exist 😂😭
why is off topic full of code and math
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?
@ornate moss https://github.com/MelonShooter/burdbot you should talk to him anyway

how can I type special characters that use keys like alt+161 without having a numpad? ;-;
Idk
í
I do it with the international keyboard
Alt 161 es í
I get ¡
But do you have a numpad
I'm using da phone
https://superuser.com/a/55505 en Exchange aparece esta respuesta lol
pero es para algunos programas
Ill check your solutions out in a few minutes, thank guys uwu
podés escribir en MS Word y volver (?)
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 *
el charmap no es lo más cómodo?
yeah but I have to memorize where all the special characters are
hey everyone, how y'all doing?
anyone got movies or series recommendations you've liked recently?
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
fuck cancer
Especialmente cáncer de colon

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

install Windows 3.1
I had never used this version of win
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
Vas a crear un domain controller?
Juego con windows server un poquito
Porque tengo que probar cosas en active directory
👀 .
that "FIFO" rings a bell
si
a queue
install Gentoo
ah re
yo tengo legit un Windows 3.1 todo rosa 
fotito vieja tras haber hecho arte
ese dithering sí se puede ver
a veces me siento ignorado en este canal lol :(
sorry I'm in class
no worries xd
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
Cuánto pesa?
Las mv chupan mucho
Seh, especialmente las de windows
I allocated 40GB for this virtual instance
because that's what my teacher recommended us
I just configured the control domain
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
Domain controller es básicamente la máquina que administra la red de Windows
Para Windows server?
My teacher told us that WS is heavy
Lol
El servidor es muy pesado
No se. A mi me iba rapido
No sé cuánto le puse al mío
@median trail https://es.m.wikipedia.org/wiki/Active_Directory
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...
https://webcache.googleusercontent.com/search?q=cache:EbTznF5BTH4J:https://developer.apple.com/forums/thread/657028 esta ha de ser una de las peores muestras de fanboyismo que he visto...
The last time our "town" had morris dancing was like 2012
Wow
I think it's more of an oxfordshire thing
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
It used to be massive?
in the sense that most of the community got involved
but now the communities are very closed off, if that makes sense
Yeah
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.
Free math problem solver answers your algebra homework questions with step-by-step explanations.
@boreal peak cheater

my can suck my d
@median trail issoki, people who know math are cool
they compliment me
and other people who dont like math
Does anyone know someone who has been to Sevilla Spain?
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.
@gusty ermine Yes sir
My sister has been twice and I've stopped there for a day
Unless you want someone that lives there
=tex [\sqrt{[\abs{y}]}] = [\sqrt{[\abs{x}]}] + c
No
why did it fail
=tex \sqrt{\left | y \right | } = \sqrt{\left | x \right | } + c
@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
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
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)
@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}
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
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}
Thank you! @abstract scaffold
Hey @abstract scaffold, are u a mathematical? xd
Im curious
I always see u in this stuff
i guess i am a mathematician, yes.
Yes he is
lolxD
@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.
Its just the |y|
Sorry hahah
I forgot to use parnthesis
Well no, I think it's fine?
If i used parenthesis the whole log wpuld be with the exponent
if it's the whole log. then it's like this
if it's just the |y|. then ur correct
then ur final line is just |y| = e^{2x}
Yes, thanks :)
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}
took 3 minutes to respond, lol.
oh ok
=tex ln\left(|y|^\frac{1}{2}\right)
=tex 2 + 2
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.
F
rigged
=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)
@abstract scaffold is his correct?
This*
I hope this looks better
It should be dP though
looks fine
It should also be delta t => 0
Sorry for that hahaj
The improtant part is correct
yeah. i got what u were trying to say.
😄 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
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 
Gamma
@median trail if you divide both sides by delta t then it might make more sense
It's over a time period, so that delta t is needed
And what does the population multiplying the babies born mean?
hmm. im not to sure yet. i'll have a think about it.
this is what's in my book
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.
(Sorry I'm reading about the logistic model and once im done with it, I'll check this)
(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.
okay gracias
de qué quieres que hablen
maybe we should talk about it in #☕・general instead
@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
@median trail yeah, the model with functions is only approximate as it stated in that book.
Say no to math today for a happier life
verdad
verdad
=tex u * w * u
uwu
What the f-
That's some math many can get behind
balls
Balls?
=tex \left | y\right | = 2cos(x) - 2c, y(0) = 1
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
@abstract scaffold
Im asking this because I can also find c for the expression when y < 0
=tex y = - 2cos(x) + 2c
So, do I have to find c for both expressions or do I have to find c for the expression when y >= 0








