#🍁・general-2
1 messages · Page 136 of 1
Tengo Windows 10 en usb para jugar algunos juegos
60% of all viruses last year were developed for apple products
Los hackers están evolucionando
Also, epic's PC isn't dead. He just needs to reformat his hard drive
Con un martillo
Already making a list 
Y estás seguro de que esos componentes son compatibles?
You don't need new parts
There's nothing wrong work your pc
It is a reasonable computer
You were using onboard graphics instead of your gpu
And you have a billion viruses
You fixed the first issue
You only have one problem to fix and you'll have a perfectly good pc
Ajajajajajja
Eso realmente te importa?
what you want is the virtual memory and the games on the SSD
although if there's room it'd be good to put the OS on the SSD
A 7200 rpm hard drive isn't slow
You only get slow boot times because all those viruses are hogging your resources
I have a lot of things on my pc too
De verdad tiene tantos virus?

Epic, qué hiciste?
Download roblox
Obs
Discord
And iTunes
And some shoddy things 
Wait
Did I use that word right
Nah you don't

Imagine buying a new pc just to play Roblox
Instalé Windows sólo para jugar Chrono Trigger
@ashen mist Pues, has odio hablar de una cosa pequena llamado "Proton" en steam? Te permitira a jugar juegos de Windows. Sin embargo, en el sitio protondb.com, su descripcion dice que no funciona tan bien, pero en cuanto a todos los otros juegos que tengo las ganas de jugar, Proton en steam hace maravillas para mi.
Usando Proton en Steam para Linux, quiero decir.
Uso proton para jugar Age of Empires y Skyrim. Chrono trigger no funciona correctamente en proton
Imagine buying a new PC just because you plugged into onboard video instead of the gpu
Puedes crear un USB bootable
epic defo tried to download ram
plugged into onboard instead of gpu
I did that when I got my gpu too tbh but I didn't try and get a new pc
You should download more storage.

@fossil cipher 
i know that
The real pro move is buying 128GB of RAM and installing your OS on a ramdisk
Real pros are always on their computer and thus have no need to turn it off
mine is sleeping most of the time actually
¿Què es Nitro Booster?
I think I usually reach 2 or 3 weeks of uptime before a reboot
who installs the os on ram 
@gusty ermine someone who pays money for this bag of shite
lol
who plugs into onboard instead of gpu 
L ol
Eu, ya que sos el padre de Epic, podés dejarlo comprar un usb y instalar Windows con ello?
Por supuesto pero no creo que él sepa copiar el windows setup en el usb 
Tanta fe en tu hijo jajaja
How common is swearing in colloquial Castilian
¿Ejemplo?
"joder"
"me cago en la leche"
is it actually used commonly? I know different cultures have different views on swearing
aaah bueno
Por qué es la leche jaja
Hi vera uwu
a los españoles les gusta la leche
Sí, es muy común como dice ella
What do they mean with R(n,m)?
it says there it's the division remainder
I know, but I don't see m or n
I'm tempted to golf a solution without the algorithm lol
print(*[f"The 1st of January {y} falls on a {__import__('datetime').date(y,1,1).strftime('%A')}."for y in range(int(input('Enter the first year:\n')),int(input('Enter the second year:\n'))+1)],sep='\n')```got it
maybe I can make it shorter
Lmao
oh yeah, I think I can
print(*[f"The 1st of January {y} falls on a {__import__('datetime').date(y,1,1).strftime('%A')}."for y in range(*[int(input('Enter the %s year\n'%('first','second')[n]))+n for n in (0,1)])],sep='\n')```
🆙 | manusaurio leveled up!
I'm drawing a blank here
In the 2nd line, how is 5R(1999,4) = 1
1999%4 = 3
3 x 5 = 15
I think I'm missing something
They skipped steps
They went ahead and did (5(1999 %4)) % 7
15 % 7 = 1
4(1999%100) = 4*99 = 396. 396 % 7 = 4
So you have to that with every R?
🆙 | Jeannot Bullet leveled up!
No, R es %. They just skipped steps when writing it out
Eso es confuso. No deberían haberlo hecho
Hay un latex bot aquí?
=tex \text{yes}
But 15%7 is the same as 1%7
Both are 1
el módulo es distributivo
es decir, (1 + 15 + 4) % 3 es lo mismo que [(1 % 3) + (15 % 3) + (4 %3)] % 3
Es que su explicación es una porquería
de acuerdo
I got it to work in the end
Gracias por su apoyo
Just need to get that full stop in there
first_year = eval(input('Enter the first year: \n'))
second_year = eval(input('Enter the second year \n'))
for y in range(first_year,second_year+1):
R1 = 6*((y-1)%400)
R2 = 4*((y-1)%100)
R3 = 5*((y-1)%4)
R4 = (1 + R1 + R2 + R3)%7
day_value = R4
if day_value == 0:
day = 'Sunday'
elif day_value == 1:
day = 'Monday'
elif day_value == 2:
day = 'Tuesday'
elif day_value == 3:
day = 'Wednesday'
elif day_value == 4:
day = 'Thursday'
elif day_value == 5:
day = 'Friday'
elif day_value == 6:
day = 'Saturday'
else:
print("There's a problem!")
print("The 1st of January ", y, " falls on a ", day, ".", sep="")
Aaaaa
What does my code look like? Any tips? I only know 3 weeks worth of programming xd
don't use eval
if you want an intenger, then use int(...)
eval is way slower and will try to execute any string as Python code
you don't need to check for every case either if you store your days somewhere
for example, your days could go in a tuple, and you could do something like days[day_value]
everything you need to do before is checking if day_value is between 0 and 6
have you been taught lists, tuples, etc?
Nope :?
Uni
oh I see
then maybe they're just torturing you to show you the better way later
but do replace eval
Maybe I’ll understand this when I’m in college 🗿
A good percentage of students in my class have been coding for years. You can probably teach yourselves some things now haha
there are many online communities you can join to learn, @rain ermine
ur a teacher?
Today we had an assignment and one dude left in under 3 minutes. Took the rest of like 40 - 60 lol
Me? Nah, I'm a 1st CS student
year
What kind of math is this
It's not maths
oh
They're logic statements
I feel you
they meant the modulus operator maybe
Oh. Yeah that took me a while to understand. I'm a slow boy
5%2
Imagine an apple farmer gives you a bag that can only carry two apples. If you put in more you lose your job, less you lose your job
I can put in 2, then 2 again. My remainder is 1
4%2
Same anecdote
I can put in 2 , 2 again. Remainder is 0
1%2
I can't put in anything. Remainder is 1 (the apple I couldn't pick)
Hay bastante teoremas de modulus
studying CS is weird because they never teach you languages
they teach you how to reinvent the wheel over and over and algorithmic thinking
but your code might be idiomatically terrible
¿Qué dudas tienes?
🆙 | Sammi leveled up!
¿Universidad?
Me piden un documento de 80+ páginas
Para un proyecto
Estoy en 20 y no encuentro cómo alcanzar ese número

Me encantaria encontrar a alguien que aya pasado por esta situación
¿Tiene algún nombre en específico ese documento?
He estado viendo por Internet, y muchos no superan las 40 páginas
Aquí tienes un ejemplo https://www.academia.edu/34765764/REPORTE_FINAL_DE_RESIDENCIAS_PROFESIONALES
Si buscas ejemplos o estructura de eso
Puedes ver cómo lo han hecho otros
Sí, claro
Pones ''Reporte de Residencia Profesional ejemplos''
Y hay un montón
Hay plantillas que te da una estructura a seguir también
Busco
App móvil 104 páginas
aaaaaa

Thought my name was original
yes
but its not rly that simple since literally every single member of my family I know has blue eyes even though not all the parents have them
genetics is fucky
Now
If a hazel eyed person and a blue eyed person had kids
How would that work
Since both colors are recessive right
Punnet square time 😎
but its not rly that simple since literally every single member of my family I know has blue eyes even though not all the parents have them
@gentle heath so I’m guessing that’s not you in your pic, LOL
Someone just answer my hard question 
Yeah - “Recent research has shown that up to 16 genes (not just one or two) may influence eye color, which makes predicting eye color much more difficult. ... Many white, non-Hispanic babies are born with blue eyes and then develop brown, green or hazel eyes in childhood.”
So it’s a polygenic thing
And yeah I had blue eyes as a baby
And now they’re hazel
Eye pic time
Es tuyo?
Sip
Wow que buena cámara
Jaja yeh mi hermano la tomó con su dslr
Brown eyes are pretty cool 👌
Intentaré hacerlo mejor. Ahora parece que mi pupila es una estrella
Son Hazel en verdad
Oh like my genetics
Yeah
Uh I think I mostly have irish genes 🤔 a little spanish and even less French.... basically just pretty white haha
What would a ryan punnet square look like 
Hahah
I think I have like 85% irish genes or something like that
Sheesh
Maybe I have Spanish roots idk
Does your mom have another traceable ancestry marina
Like Italian or w/e
On her moms side
Noo
Idk about my dad
His situation is
😐
Too personal to explain it but it’s traceable
lol it is
Imagine having dark eyes in 2020
nice eye bro
ty bb
I need to take mine under better lighting
Blue eyed kid
🗿
Estoy aquí aprender español.
Hiii uwu
Ed!!
UwU
Un hombre de cultura y intellectual 

🤭
How are youuuuuuuuuuuuu
did you join a spanish vc?

Sí pero en mute
solo grité a rocko, lo prometo
Oop!
do you want to play pinturillo with me in the voice chat pixie?
Rocko debe ser en spectator only 
in spanish or english, whatever you want 🙂
Pinturillo?
yes, a web-based game where you have to paint what a word is and the others have to guess it
oh okay

yay
I've been transcribing videos to improve my listening and writing, you should try it, it's fun
¿Ayudarme practicar**?
what do you want to say
Ohhh yes, of course

Okay, I'm going to write some sentences with blank spaces where you have to complete with the correct conjugation of the verb in the parenthesis, okay?
Ayer ___ (salir) a comer con mi novia, y ella me confesó que quiere casarse conmigo*
Ayer salí a comer con mi novia?
100/100
Me (gustar) mi clase de matemáticas con este nuevo profesor, el (estudiar) en el MIT en Boston*
Me gustaba mi clase de matemáticas con este nuevo profesor, el estudí en Boston?
we're just conjugating the past tense
Estoy aquí, tuve que dar me notas
Ohh
just preterite
like past simple sorry
gustó estudió*
Me (gustar) aprender más sobre ti, por cierto, hace cuanto (perder) la memoria?*
Me gustó leer aprender más sobre ti, por cierto, hace cuanto perdí la memoria?
I'm not sure what that means though 
No estoy seguro que significa
oh fuck

50/100 then
perdió*
No me gusta tu teléfono, ayer se (apagar) y no (prender) en todo el día*
Ah mierda
No me gusta tu teléfono, ayer se apagío y no prendí en todo el día 
Google how to make a Windows boot drive on a USB stick
my system 32 is on there
install gentoo
Necesito un mejor way to recuerdo estas palabras.
I wouldn't, no
@rain ermine te di un link de una página de cómo hacer un usb con windows
lmao
14.4 what?
That's plenty
Yes
right now im just trying to find stuff i want to save
i already put my pictures on there
El usb es sólo para instalar windows
Save that info in ur disk? 
noo that wouldnt work
Guardalo en otro dispositivo
Ya está durmiendo Epic
Nope
Tiene que levantarse temprano para ver sus videos de "YouTube"
Hola?
Hola
Genial, cómo te va?
No sé jajaja me interesa (?
no tengo amigos en general
Shu

DanClassAct era en la vc todo la noche.....
Pixi 
quien
Buenos días 
Le gusta to argue....
estuve escribiendo en avanzado 
Le gusta discutir
Como esta?
yo bien
yo bien
Deja de copiarme
Joder no te metas conmigo
Hola bebelovers no se por que subi ese video pero bueno ..... El 24 horas siendo padres lo subire mañana o no se pero espero que le haya gustado el video bye bye💕
explicame esa weá
La neuronas no responder @still radish
ya veo
plays a little trumpet
Hiiii I'm planning on studying classical mechanics, is there a book you would recommend for a beginner
La Biblia

Jaja big zoop
no jajaing
¿Alguien sabe de seguridad?
Anyone know what a voxel is / can explain it to me?
no idea leh
Apparently a voxel is the 3d equivalent of a pixel
a single point in a grid in 3d space
Huh til
How can I go into my pc’s bios
Normalmente empujas "esc" varias veces antes de que la maquina se haya encendido completamente
Alt+F4
Do I hold it or keep pressing alt+f4
Common keys to enter the BIOS are F1, F2, F10, Delete, Esc.
what motherboard du have?
like this?
yup
<DEL>: Bios Setup
You need to start tapping the del key continuously as soon as you start the computer.
du have a ps2 keyboard?
ps2 get power to keyboard during boot usb keyboard doesn't. (GA-78LMT-USB3 R2)
check if you have fast startup enabled
► Read the article for full written solutions: http://bit.ly/2WZptwu
► Best Selling SSDs: https://amzn.to/36KJbzr
► Our favorite Data Recovery Solution (use code EasyTechs for 10% Off): http://bit.ly/2U3Btha
► Our favorite VPN Service: http://bit.ly/2Uzm4Xw
֎ 𝑩𝒆𝒍𝒐𝒘 𝒂𝒓𝒆 𝑶𝒕𝒉𝒆𝒓 ...
im listening to music how will i watch this video 
take this son
my pc already takes forever to boot up
it cant be on fast startup
oh look its on
what do i do
change settings that are currently available?
yes
and i just turn off fast setup correct?
ok
Im not home. Tomorrow? @alpine cradle
claro 
@gusty ermine I have a question for you
What was so confusing about the welcome message that you manged to give yourself a million roles except your native language role?
Lots of people do this and I have no idea how they manage to be that confused, but I want to fix it
It kept asking you over and over again what your native language was
But it must not have been clear and I want to know how to make it better
it confuses me why so many people can’t read it either
it’s literally right in front of you alls you have to say is your native language
Well hopefully Kenny will tell me what the problem is

I'm not to judge, but I didn't know Rai would interpret whatever you write. I expected it to wait for some command like ;iam. maybe that's the problem @@glass dragon
Maybe it'd be more clear if there were "type:" before eng/spa/both etc.
and sorry if I woke you up or sth
hahahah i know right xD
is it from spar?
albert heijn xD
Is it smart to leave my pc on sleep instead of completely shutting it down
No
Why
It's not not smart

I do it all the time. I've been doing so for years
if your PSU is fine and the AC isn't terrible where you live you should probably be fine
I've done that many times but knowing I'll use it later.
that sounds absurd
for modern hardware
[manuel@6500 ~]$ uptime
12:49:50 up 18 days, 22:29, 1 user, load average: 4.50, 2.34, 1.31```18 days
lol
yeah I almost only put my computer to sleep, too
the only time I turn it off is if I'm not going to use it for several days, or if I need to restart it for some reason
now im going to do this so i dont have to wait 7 hours for my pc to finish loading stuff
Leonel García - Todas Juntas
¡Escucha "Todas Juntas" del álbum "Amor Presente" en tu plataforma favorita!
Spotify: http://smarturl.it/AmorPresenteSp
Apple Music: http://smarturl.it/AmorPresenteAM
Amazon: http://smarturl.it/AmorPresenteAz
YouTube Music: http://smarturl.it/Amor...
esta canción es bacán
Is that 22 days
así es amigo
Is that 22 days
@rain ermine that's the current time, then the uptime
Oh
[manuel@6500 ~]$ uptime -p
up 2 weeks, 5 days, 8 hours, 39 minutes```this conveys better what the program is for
not sure why they would make a program that does (by default) part of what another one does
since uptime shows the same thing as the first line from w
I'm not into courses, but for anyone interested... there's a free Python course by Al Sweigart on Udemy
Al Sweigart is quite a prolific author, probably the most popular among Python newcomers
100% off, originally 50 bucks, it's about to end
is it just for beginners?
yes and no, I haven't read automate the boring stuff, which is the book it's based on
but they say it's a quite practical book and easy for beginners to follow

so from the same book you learn the basics and then write webscrapers and automate inputs from a GUI
and things like that
yep, that's the dude
em, here's the link
it's Udemy, I'm not sure if would expect something much better than that lol
coding with mineraft lol
I'm following the Automate the Boring stuff course (pirated it, of course). It's pretty good. Not gonna share it with my classmates though 
it's free on his website though
The video course? :O
Ah, ok
the book is free but in HTML form and a bit ugly
I think all or most of his books are free like that
you can scroll down and see the index, as well as other books
I pirated the 2nd edition. It came out last month. Never know when I might be left w/o power
@lavish estuary That's a great introduction to Python and programming in general, highly recommended.
Last pair. I am sleepy abd hungry. Aaaaa
''Cuál es la falsa''
Python permite no especificar el tipo de variable
Python no permite que haya espacio entre valor y variable
—
El preguntó cuál de estas oraciones es mentira
Ambas eran falsas
Pero según él, una era más falsa
Ohhh
Es idiota
Ya veo
Perdí 1 punto
Pensé que te dieron dos valorws
[3:27 PM] dementati: Si, pero la oracíon dice "Python permite no especificar etc"
[3:27 PM] dementati: Lo que es verdad
lol
Cuál es una tupla
A) ()
B) []
C) {}
Pero cómo que la primera frase es falsa?
Asi era el examen
Si es falsa lol
En python no pones el tipo de variable
No haces
Boolean esValido
Pones esValido = true
Así que permite no especificar los tipos

Exacto, la primera frase es verdad
Ajá
Oh
Es muy diferente
''Cuál es la falsa''
En py hay que especificar el tipo de variable
Python no permite que haya espacio entre valor y variable
Esto
No sé qué exactamente quiere que decir la pregunta con "no permite que haya espacio entre valor y variable"
Porque "x=5" y "x = 5" funcionan igual
Y yo ????
Entonces ambas son falsas, sí
Es un truco - el profe quería que dijeras "las dos" jajaja
La pregunta valia 1
Y si la cagabas 0'8
Imaginate que matemáticas hizo este pavo
Ahora solo me queda eso, php
Y javascript
Bueno y c# pero no damos c
Damos cómo crear un textBox
De pensarlo me dan ganas de llorar
Me parece raro que estás estudiando muchos diferentes idiomas el mismo tiempo
Ah, cierto
Estudio varios, sí
Java, Javascript, PHP, C#, Python
Y ya creo. No me olvidé de ninguno
Al final son lo mismo es seguir la lógica
En java el if es con llaves pero en python no
Es memorizar y ya
Tampoco hay más misterio
Cuando estudiaba, solo nos enfocábamos en un idioma a la vez.
Viva Java
Trabajaba con Java por cinco años antes, y me gusta, la verdad
Python no es malo, pero extraño el strong typing de Java
Refactorización es difícil sin strong typing
Sois mis ídolos
A mí me da igual que tenga que escribir
Toneladas y toneladas de código
Me gusta porque realmente ves paso por paso la lógica que hay detrás
Cosa que muchas veces otros lenguajes como py hacen por detrás y no tienes ni idea
Y a mi eso de que no tenga llaves es lo más horrendo que hay
Y aunque me dieran un maletín con todo el dinero del mundo me niego a codificar en él
Prefiero disfrutar de lo que hago
python is cool
even phyciscs grad students use it to their research projects
No sé qué tiene de cool
Es el lenguaje que más me ha sacado de quicio
Me he llegado a pegar 3 días por una identacion
Por un único espacio no puedes hacer nada
No es lo mío 😄
Qué tal te parece C#?
Java de Windows
Hace tiempo que es multiplataforma, no? xD
Sorry, quise decir Java de Microsoft
Voy creando una aplicación de Android usando C# Se me ocurrió hacer ''una lista de compras'' para un proyecto personal
Literalmente Microsoft lo hizo
Sí sí, se inspiraron en el éxito de Java jaja
C# es la hostia
Todo lo q no sea py bienvenido sea a mis brazos
Yo creo q me voy a dedicar a diseñar aplicaciones móviles
Voy a empezar a estudiar Kotlin
Java se va a morir en android ya
Jajaja
Jajaja, Python es un "gusto adquirido" (puedo decir esto en español?)
Prefiero las llaves tambíen, la verdad, pero no me molesta tanto como ti, Lobo
Parece que Sí
C# es bueno también
No he usado Kotlin mucho, pero me parece muy interesante
Parece como tiene todas las ventajas de Java sin nadas de las desventajas
Theres no way for me to sum up 4(square root of 3) + 5(square root of 2), right?
Creo que no
Ok
we are working on root operations and I really just saw no solution to that one
🆙 | Mariposa-moon leveled up!
sup nerds
Hola
si quisieras podrías hacer C por tu cuenta, Lobo, pero eso sí va a ser bien diferente a cualquier cosa que hayas tocado antes
N e r d
sólo para empezar, no hay garbage collection y no hay excepciones
y bits son bits, escribe y lee donde quieras (?)
y no es orientado a objetos
C es mi amor antiguo
el primero?
Hmmm supongo que sí
yo sólo lo usé en un seminario
Lo usé después de aprender java
Pero me gustó más
Me gustó la libertad que C te ofrecía
Igual esa libertad puede ser peligrosa jaja
Tengo ganas de kotlin
Ni idea qué es kotlin
Cuando termine los exámenes es lo que haré
Me parece un apellido de alguien jaja
Ah pues, sabes que Kotlin me gusta (?)
pues reduce muchísimo la verbosidad de Java y sigue siendo tipado fuerte
tiene estrategias de null safety, que no hay en ningún lenguaje de los que mencionaste
básicamente significa que parte del lenguaje te obliga a hacer ciertos chequeos para no tener NullPointern exceptions
I like react native
it's fun
Por fin no tendría que hacer "if (x != null)"
Me pondré a hacer un bot para trastear
pero no te consumen mucho para escribir, se hacen con ? en diferentes operadores
This operation is god
(statement : statement2? something)
Se llama ternario
I don't remember it that well but it's something like that
If ternario
And Arrow functions are the best thing in Javascript
I love then
them
they look so elegant
Era (condición) ? 'True' : 'False'
ah yeah
@median trail Arrow functions in Javascript are present in lots of languages nowadays, they're usually called lambda functions or closures (I know lambdas and closures are different, nerds)
ohhhh @raw monolith
Pero te acostumbras
You have them in Python, Java and C# for example
And C++ as well, I think
Arrow functions in python 
Nowadays
😛
@median trail https://en.wikipedia.org/wiki/Anonymous_function
In computer programming, an anonymous function (function literal, lambda abstraction, or lambda expression) is a function definition that is not bound to an identifier. Anonymous functions are often arguments being passed to higher-order functions, or used for constructing the...
they don't look cool :(
You're not cool!
() => {} this looks awesome
Las llaves 😏
No necesitan las llaves a menos que necesiten una declaración entera.
Sí
@fallow dock So much Python hate on this server, dude.
Me gusta Python, no te preocupes
I love python
Tengo que ir a casa, hasta luego amigos
ArrayList<String> winners = new ArrayList<>(
Arrays.asList("Dementati", "lobo", "Edsel", "edSEl", "EdSeL", "lobo", "dementati", "LOBO", "Edsel"));
Map<String, Integer> wins = winners.stream().collect(
Collectors.toMap(
s -> s.toLowerCase(),
s -> 1,
(prev, next) -> prev + next
)
);
System.out.println(wins); // -> {dementati=2, lobo=3, edsel=4} (they're not winners of anything though)```
he balanceado al universo
con Java
aunque el universo está hecho con Lisp y Perl aparentemente
I never understood what the map method does in Javascript
toma cada elemento de algún iterable y le aplica una función
la previsualización de NodeJS ayuda bastante o presionar Enter:
> a = [1, 2, 3]
[ 1, 2, 3 ]
> a.map(x => x *2)
[ 2, 4, 6 ]```
so, x => x *2 es la función que le pasas, no necesita ser una arrow realmente
map tomará cada elemento y se lo enviará como argumento a la función, que acepta un único argumento
(que es el parámetro x)
y la función devolverá x*2
ah
también lo podés ver de esta forma, si es un problema la lambda:
> function byTwo(x) {
... return x *2;
... }
undefined
> a = [1, 2, 3]
[ 1, 2, 3 ]
> a.map(byTwo)
[ 2, 4, 6 ]
nótese que eso no reemplaza tu lista original
uh, estoy hablando como en Python (?)
de hecho, el map es así en todos los lenguajes, es la idea de tener "programación funcional"
si querés reemplazarla:```javascript
a = a.map(byTwo)
[ 2, 4, 6 ]```
Ah we cover that in this class(data structures class)
ya sé que es medio estúpido pero si querés entender bien un lenguaje, hacer code golfing y ofuscar cosas es un buen ejercicio (?)
y no tiene por qué ser súper complicado
he aquí otro ejemplo en JavaScript
[null, console.log, undefined][1]("Hello Edsel")```
wat's dis gonna du
it will replace it (?
ño
sabes que tienes un array de JS
[null, console.log, undefined] aquí
y luego puedes pensar que [index] se utiliza para acceder a un array
so
el interpretador tiene que resolver primero el array a memoria
así que puedes pensarlo como
array[1]
cuál es el elemento 1 del array?
console log
así es
entonces, array[1] -> console.log
y luego finalizamos con ("Hello Edsel")
o sea que en último lugar, la expresión se evaluará como
console.log("Hello Edsel")
> [null, console.log, undefined][1]("Hello Edsel")
Hello Edsel```y eso es exactamente lo que hace
ain't that fun
eso también ayuda a visualizar cómo las funciones son objetos en JS
e internalizar el orden de evaluación de las expresiones te puede llevar a hacer cosas divertidas (?)
> for (let n=0;n < 6;n++) {
... console.log(["one", "two", "three"][n % 3].toUpperCase());
... }
ONE
TWO
THREE
ONE
TWO
THREE```
once upon a time I said Java's IntStream.range(...) ain't enough!
for (Integer i : (Iterable<Integer>)IntStream.range(0, 5)::iterator) {
System.out.println(i); // -> 0, 1, 2, 3, 4
}```hey @past harbor, te hice un regalo
se llama Casi Una Serpiente ||for i in range(5):||
Leía código malicioso y obfuscado en javascript , y lo odiaba
bueno, pero podés escribir el tuyo en el lenguaje que deseas, que no sea malicioso, hacerlo por diversión, y amarlo (?)
me encantan estas estupideces
Lo hacía para análisis
TIL in #javacript you can specify more than one digit for a number i.e.
let x = 12345;
instead of
let x = [1, 2, 3, 4, 5].reduce((a,b)=>a*(9+1)+b);
This is going to clean up my code so much! 🤯 RT!
955
5163
lmfao
Anyone used ConceptNet.io for any projects?
why is maths so fucking good?
What
Maths as always torture
?

Maths is great
Maths is pretty beautiful
Tru
if u dont use it, u lose it
@ashen mist I need you 
no. solo necesitas saber e =/= pi
pi es 3, dice la leyenda
no lo digo yo, lo dice el teorema fundamental de la ingeniería
@ashen mist ni noté quién eras
que te dejes de cambiar el nombre
voy a ponerte una nota
done
Hice lo mismo pero suele delatarse con nombres raros y fotos de chicas
Jajajajajajaj
@median trail yo ya estoy
Me pregunto qué tipo de cosas la gente acá tienen en sus notas para mí
I have a test tomorrow on this chapter about ISO layers and such so I will be asking a lot of questions
@ashen mist
@ashen mist I don't understand the highlighted part
Lo siento, estaba viendo una peli
A ver
Recordás lo que te dije sobre las capas y cómo proveen servicios para sus compañeros de arriba?
O sea, capa 4 provee servicios para capa 5, y capa 4 también usa los servicios de capa 3
yes
Por ejemplo, HTTP se encuentra en capa 7 (la capa de aplicaciones). Y TCP se encuentra en capa 4 (la capa del transporte). TCP oferta servicios para transmitir datos con la garantía de que todos los datos llegan a su destinatario y en orden. HTTP necesita un servicio así para transmitir datos de páginas web, así que el protocolo de HTTP va a usar los servicios de TCP (de una capa de abajo) para cumplir sus funciones
Aaaah
Y en su vez, TCP necesita un protocolo de red (capa 3) para transmitir datos a través de las redes, ya que la máquina que envío el mensaje puede estar en otra red que el destinatario. Y por eso, TCP, un protocolo de capa 4, va a usar los servicios de un protocolo de capa 3, tal como IP. Con IP, se puede trasmitir datos entre redes, así que es apropiado para TCP
I see
Así que un mensaje de HTTP va en un paquete de TCP, lo cual va en un paquete de IP, lo cual va en un paquete de ethernet, etc (no tienen que ser esos protocolos exactamente, pero es un ejemplo común)
does this mean a standards organization has to approve/standardize a protocol?
Sí
I don't understand what rigidly observed means in this case
Que siguen todas las reglas exactamente como deben
Oh like if they modify the protocol?
O sea, cada protocolo tiene normas que dicen qué puede hacer el protocolo, los datos que acepta, lo que produce, etc
Sí, por ejemplo si creo mi priopio navegador de web, pero no es compatible con todos los métodos de HTTP, entonces no va a funcionar 100%
Hay documentos llamados RFC (Request For Comment, creo) que dictan cómo funcionan exactamente cada protocolo. Así que si querés implementa un protocolo, necesitás asegurarte de que seguís cada norma en el documento correspondiente
Hay expectativas con cada protocolo
Es como las leyes del tráfico. Cuando todo el mundo las sigue, todo sale bien
Si alguien decide romper las reglas, algo sale mal
thank you
De nada
Los documentos de RFC son muy... densos
Pero a veces son la mejor manera de aprender todos los detalles de un protocolo
Por ejemplo tenía que aprender cosas de SMTP, así que leí casi todo el RFC para eso
what's a protocol stack and suite?
Es básicamente una colección de protocolos organizada en las capas
De wikipedia:
La pila de protocolos [1], (protocol stack en inglés)[2] es una colección ordenada de protocolos organizados en capas que se ponen unas encima de otras y en donde cada protocolo implementa una abstracción encuadrada en la abstracción que proporciona la capa sobre la que está encuadrada. Los protocolos encuadrados en la capa inferior proporcionan sus servicios a los protocolos de la capa superior para que estos puedan realizar su propia funcionalidad.
OSI es un ejemplo
TCP/IP es otro ejemplo que yo personalmente prefiero. Es común porque se concentra en los protocolos más comunes e importantes hoy en día en el internet
fun fact, Edsel: las requests HTTP suelen cortartse en cachos y mandarse en múltiples paquetes TCP
I don't understand the header part (in the second step on the right)
why is TCP in front of the data
Porque los datos son para la aplicación
Por ejemplo, texto de HTML
Los headers tienen información para su protocolo correspondiente. Por ejemplo, quién envío el mensaje, para quién es, otra información para configuraciones y control
Cada protocolo define como se hace su header, cuáles cosas se ponen en ello, etc
and where is the header in that photo?
like
[TCP[DATA]]
but I don't see the headers
I thought tcp just divided the data into smaller parts and that's it
Lo puede hacer, pero es que cada mensaje de TCP va en un mensaje más grande del protocolo de una capa de abajo
Wtf dónde está mí papel
higiénico
so the header is in the data or in the tcp?
En la imagen que subiste @median trail , si inspeccionaras un paquete de ethernet, lo que vas a ver es:
|Ethernet header|IP header|TCP header|datos de aplicación|
Rip, no se queda en una sola línea
Son como cajas dentro de otras cajas
Establece una conexión de comunicación entre dos participantes
Lo hace con números de secuencia
Y otras cosas
Básicamente hace un seguimiento de cuáles datos han enviado cada participante, cuántos datos pueden enviar, cuáles trozos de datos les faltan, etc
So when ethernet does its magic on the IP packet, the latter changes its name to data link frame?
Data link frame es el nombre del paquete de capa de Link Layer
Data link frame = data link header + datos (en este caso, un paquete de IP)
Cuándo es tu examen?
No digas que es mañana
buena suerte, Edsel
yes, it's tomorrow but it won't be difficult at all, I just want to learn what all of this is about
Buena suerte!
@median trail https://www.youtube.com/watch?v=XiFkyR35v2Y this involves all the stuff you've been reading about and it's just... fun to watch
Denial of service usually relies on a flood of data. Slow Loris takes a more elegant approach, and almost bores a server to death. Dr Mike Pound explains.
Cracking Windows by Atom Bombing: https://youtu.be/rRxuh9fp7QI
Zero Size Files: https://youtu.be/kiTTAbeqQKY
Google Dee...
Es como la dirección de tu casa
Se usa para encontrarte y enviarte mensajes
Y para saber de dónde vienen los mensajes
Las direcciones de IP te dicen si el destinatario se encuentran en tu red local o en otra red, y los protocolos de routing las usan para enviar datos eficientemente y correctamente
but the data link addresses are the ones used to go from one network to another
and even in the same network you use data link addresses
No, data link se usa entre dos máquinas en la misma red
La descripción que subiste lo dice también
Hay varios tipos de direcciones
Direcciones de MAC (para capa 2 de OSI), y direcciones de IP (para capa 4 de OSI), por ejemplo
Las direcciones de MAC son un ejemplo de data link layer addresses
does this mean that when the data frame arrives at the first router, it changes the source destination layer two IP with its layer two IP and the destination IP will be the one of the next router?
IP no es para capa 2
Okay 🙄 my point is, does router change the data link frame source address with the one it has?
Sí
Con cada paso
Por eso los colores de L2 cambian
Verde, gris, azul
Para representar los cambios de las direcciones de link layer
El primer router recibe el mensaje de PC1 y va a quitar el header de link layer. Nota que la dirección de IP del destinatario no es su propia dirección de IP, así que tiene que enviar el paquete de IP a otra máquina. Va a usar algún protocolo de routing para decidir a cuál router enviar el mensaje. El primer router va a reemplazar la dirección de link layer del fuente con su propia dirección de link layer (porque ahora el router es el que envía el mensaje), y va a reemplazar la dirección de link layer del destinatario con la dirección de link layer del próximo router
El segundo router va a hacer lo mismo. Y cuando el servidor de web reciba el mensaje de link layer, también va a quitar el header para inspeccionar el paquete de IP. La dirección de IP del destinatario es su propia dirección de IP, así que el mensaje es para él, y el servidor va a procesor el mensaje (puede que tenga datos de TCP, por ejemplo)
if layer 2 addresses delivers the data from one network to another, then what's the purpose of the IP addresses?
Para identificar hosts en varias redes
Ya sea en una red local o en una red muy lejos
No podés enviar datos muy lejos con direcciones de link layer
Ehh, "lejos" no es la mejor palabra
So... the IP addresses are used to decided whether the receiver is on the same network or not?
Eso es una cosa
On a TCP/IP network, why do we use both IP and MAC address?
In order to answer this question, we need to answer these two questions first. 1) What happens if we just use MAC address alone, and 2) what happens if we just use IP address alone?
MAC address tells us “who” you ...






