#ot2-the-original-pubsta
652 messages Β· Page 70 of 1
Because he's a deceiver
*installs a lie detector app (100% scam, just uses java random stuff. and get info from audio given)*
Dont ever trust the French guy with an A and a Y in his name
why not trust bagyuette
why not trust bread
π
The sus part is having buttons in github profile that don't lead to anything
@keen burrow He insulted you ig
Β―_(γ)_/Β―
smhhh

Hecked
On my profile?
Nice song akarys
lol I don't know if you were referring to my profile but they definitely not work
never heard of it
I'm in a listening party, that ain't my playlist
lol, why it is showing One Dance?
Because that's what is currently being played
That's more my jam
We were talking about you being sus and fooling people, so yes :P
lol, I'll have to fix that
what should I do when a french guy says ayyyy
Run
ayyyy
I expect your run on my desk by 2pm tomorrow
In France, every timezone
Ight Iβll have to swim tho
nah, just harden a baguette for one week and make a catapult with it
I donβt have a week?
.
Ya 
i can give you some
Oh sick
you never know when you'd need a 3 month old baguette
I guess this is one of the rare times in which you actually know
The real question is when would you not need one?
Or really good molars
i fry him
this is scaring
Or is it?
cannibalism intensifies
is pardon my french in french, pardon my english
hi akarys
ur name is in the ot
hehe
no
i have a serious warning but i cant paste it because its a copy pasta
tyty, this is her when she was super puppy. It is just one of her rope toys that she has since destroyed
welcome welcome
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
@grim seal i am being forced to use a site that I only wish you were a dev for
expand
404s from links on high traffic pages
setting my address and having to choose my country between "United States" and "United States of America"
a maximum password length that is truncated behind the scenes without telling the end user that their password was truncated if it was too long
no 2fa on my account
makes me sign into my email provided by google through them and 2fa on the google account means nothing whatsoever
blocking <, >, and &# from being allowed in a password
@grim seal that enough expansion for you lmao
its very bad
This one just confounds me. I've seen site do this. Heck, Sony Entertainment did this for a hot second. What kind of workflow do you need to setup that the dev writing the i/o pieces has no awareness they are trunc'ing a password? 
ik if it was you you would be tracking those 404s and fixing them
even worse, this is a college
its aware, it gives the 12-32 limit
but you can put in a 33 just fine
and it will cut it off
which obviously means they aren't storing hashes π°
right, that's a disconnect from the web dev and the data layer. Shame on the web dev for not putting a limit on the input box. What broke in communication that the backend thought they could clip a password?
there are reasons to have maximum password length
okay but 32?
But, strangely, I feel a little better knowing it's a college?
i understand more than that but 12-32 limit is a bit.....
making it somewhat easier to hack since it lowers the combinations a lot
they have a cyber security course afaik
thinking the final is actually hacking the website π
reasons?
a good 12 char password will take 400,000 years to crack
like C-k,zc@9dO@_
How long it would take a computer to crack your password?
a 32 char password of the same variety, like SR=i4n4;u_paNMH_qCJ+OW^yDtTAk-CG will take 2 quattuordecillion years
I agree 32 is a little low, but it's certainly secure, so approaching it from that front isn't too valid
I use whole ass sentences as passwords and password limits annoy the shit out of me
anything >50 characters is not guaranteed to work with bcrypt, and that's bcrypt, it's hugely used!
sorry, 72 bytes in most implementations, but not guaranteed over 50 in places
microsoft apparently limits to 255
but also limits <, > and "&#"
the bcrypt approach now removes password limits
you pre-hash the password
so you do something like SHA-256
and then run that through bcrypt
aha
of course sha-256 is still subject to DoS if you throw shit tons of data, so it's still good practice to limit it, but it doesn't have to be the limit of the password hashing algo
all of it, in this case, lol
holy crap 
lol
I've just learned serious Rust magic
I've learned how to force usage of vector instruction sets even if the file isn't compiled with -C target-cpu=native
I'm going to use that with prejudice in my bot AI π
it will only take 400k years to crack a 12 digit pw if you ban ips
otherwise you can kamikaze all of it at the same time no?
or temp bans
But one thing I didn't realize earlier. You don't need to calculate all of the time it would take to guess lengths before this because 12 is the minimum.
it's still a long long time
Most sites will require captica or just slow you down
sometimes if ask the password is more easy then do things
yeah, sites will often only give you a certain amount of tries to get your password
should I exclude the whole folder when return a SIG error
Nice. I get a really nice view of some local fireworks from my desk
Kinda miss being in the city for the fireworks. Really don't miss the traffic getting out of the city after work (and the fireworks)
Enjoy the bakooms!
We have a lazer show this year that I'm pretty excited for.
woah
where
lemme c
True. In this sites particular case, to get into a specific user's account, it would be faster to break in via password reset
you're free to c
what about Google's supercomputer π
even 1 year is so much
the danger isn't a single person trying to crack your password, the danger is a single person cracking every password in a leak.
which is far lesser if you use salt properly
dang it... now I'm hungry
I've discovered that we have acess to supercomputer at uni
quattuordecillion is 10^45 (or 10^84 if we go with -ard order - million, milliard, billion, billiard...)
how faster is that supercomputer? Billion times? That would still be 10^36 years.
i wanna be almighty
that way i will know the password directly π
and what if we try multiple s-computers
like half will do some work other halves do other
does anyone here have experience with fuse-zip?
i'm pondering whether there are advantages of using it for systems with limited resources over just extracting everything
Support LGBTQI+ Charities & organisations:
https://www.charitynavigator.org/index.cfm?bay=content.view&cpid=5013
Shop my new Merch range:
https://OliLondonMerch.com
Get a personal Video Message from me on Cameo:
Instagram: @londonoli https://instagram.com/londonoli
Tiktok: @OliLondon https://vm.tiktok.com/Ws...
thoughts?
oli needs psychotherapy
jesus christ
i thought it was a meme
nope this person is dead serious about being jimin
@tawny snow right so you need NodeJS version 14 or up, and a Database
do you intend to run it on your PC, or VPS (remote server)?
Ok
I will run on heroku
This one
But idk how I setup
well
I can't think of any other viable way of me helping you than you sharing screen
as I have only worked with AWS and GCP VPS
1st time hearing of heroku
I m on mobile and I need someone to help me setup before I reach home
that's not going to be possible
Yeah heroku is a vps
also, I'm not too sure if heroku allows for database hosting?
that's up to you to figure out
Ig it does
they offer PostgreSQL
so, that's a viable db
that doesn't sound safe for you?
Itβs fine
hey
hi
just want to know if someone had a problem with kernel on spyder before π
not sure im on the right chan
@jovial island can I give u my acc in DMs
no dude, that's how you get scammed -_- , you can't just trust people with services that use money
true
makes me remember one day i got scammed
cuz i paid someone for a service (from discord) before he works (cuz he wanted to be sure he will not be scammed)
but finally he wasnt able to do the thing π
and never refund me
πΈ
bruh heroku is free oml
oh
fine
You're giving someone your heroku account π, why on earth
I don't know how heroku works
@jovial island cmon
U want?
no
i created my own account so i see how it works
so how does heroku make money to host people's stuff for free
They don't give them good stuff
The free heroku tier isn't very good
Rightfully so if it's free
And it's more of an investment than anything else. Get the users hooked on the service, entice them into upgrading to a better paid version of said service
i dont like the fact how their pricing doesn't tell much about the CPU you get
that sounds like awful service π€
thats not really an accurate measure of the quality of service
at least for major competitors these days
@jovial island can u help me set it up on heroku
Why not just learn yourself?
Whar are the cats in ppls username. Im out of the loop
.catify Basically this thing, by default it works on your username and puts cats in it
Basically this thing, by default it works on your ααα’ username and puts ααα’s in it
So a local meme from a bit earlier
Way better meme than gurkan
genghis gurααα’ played both memes at the same time
Any tips on checking beforehand if I will receive "X is not recognised as an internal or external command"
where X may help
assuming that's in cmd
Although it wouldn't do exactly what you want, because for example where echo wouldn't find anything, but echo works, because it's a builtin command, not something on PATH
@elfin vine
Ah thank you, that will be good because I am not checking anything built-in
Get-Command > where
not if you're using cmd lol
cmd is unbased
Basen't
going into any python help channel in any server is comparable to walking into a classroom full of 1st graders asking what's 7 + 28 when there's a calculator just sitting there
but the classroom is actually a lecture hall intended for uni students
π
look at his dumb face
what a dumb bot
offline too
i would be offline too if i had a face like that
π
what's special about King Arthur?
@echo fern Seems like my solution can't read line 2 of Test #7 despite outputting a number? 
Quite weird
holes = set(int(n) for n in input().split(" ")) runs "instantly" for me on my machine though i'm substituting a string instead of input()
Random images from where I went yesterday
(That's straight up the side of a waterfall)
nice
ooooh
I have a new background to add to the rotation (if that's okay with you)
By all means, go ahead
That was chimney rock in north carolina
where chimney
The rock is supposed to look like a chimney
Since it sticks out of the side of a mountain
o
Like a chimney sticks out of a roof
i c
Damn awesome images by an awesome cameraman
The second part is debatable
don't forget the camera
I am not #ot2-the-original-pubsta 


@limpid hare
so the attacker
sends many requests to the IP of that person
and this slows down the IP
and makes it nearly impossible for that person to use internet π
or attackers...invariably zombified...
the bandwith of both attacker and the nedy is usedl
like toooo much bandwith
he has explained nicely
and also ddos can be dn on website so... π
Let's not share names of DDoS tools please
i told yt channel name π
someone can help to know if I'm being followed
if you think you're being followed i think its best to call the police and the feds, don't take this as law advice i am not a lawyer
it's not a crime itself I guess

he's here
@grim anchor
"DevOps"... What does he do?
@grim seal https://lg.jb3.dev/api/query/ 522
{"query_location":"jb3_core","query_target":"abc","query_type":"bgp_route","query_vrf":"global"}
he makes a broken button
oh. he must not deem you worthy
Tis a flesh wound
lmao
nice
when will dpy get slash commands/buttons
It's going to come with D.py 2.0
and when is that 
ABC isn't a valid target
try BGP route for facebook.com or something
it'll resolve DNS to ipv6
Someone said the ETA is around two years π
bruh wtf
i did try 192.168.1.0 it said some error related to ipv6
I don't have any ipv4 support enabled because it's a v6 only network
WHOA

how to setup v12 engine wifi diesel based
Carefully
Looking for help on gitlab.
Does anyone know if you can filter out specific repos on a organizations merge requests page? They have a bunch of filters but donβt see one for repos.
lmao
I mean I reposted a repost
@keen burrow That's absolute gold
yeeesssss
true
||this is big humor||

just wanted to say the channel names are amazing
Does python 3.9 not work on ubuntu?
why would it not work 
use pyenv
@gusty compass Rust is general purpose
And lower level, statically typed, compiled etc
Basically, a good mix up if you've just done Python
If Rust ever gets an addon/expansion/whatever, like C++ to C and so on...Eul, pronounced "oil", as in Euler.
you pronounce euler as... oiler?
π
yes
It's weird. I know.
do you pronounce it like ewwler or something
i thought it was oiler
same
I will forever say yewler
lol
i'm pretty sure oiler is the correct pronunciation too
Yes but that's spelled how you expect it to sound
wow pyenv works great
ok good
Yes
yeah i had a lot of problems with that, ubuntu doesn't have some packages with python requires and it gets very complicated for some reason, i had say to use pyenv
that's what i do
oh shit wrong reply
@hidden lintel 
sad
ok
huh
hello, does anyone know what causes my mic to show input even though the switch on it is turned off, making sure there is no input ?
Did you ever install the build dependencies? D:
It might be static or something
any other ideas ?
I wouldn't be surprised if that's just the minimum
this does happen
so maybe its just static noise
are u sure its turned off
try turning it on and making no noise
already did...
that's annoying π¦
what's that screen?
and did anything change
sound settings
i wouldn't have come to ask for help if it had
true
oh wow. it is very different on Windows 11
interesting
wel the settings app did get an overhaul
having windows 11 is a good thing, but what about compatibility
I'm pretty sure like 99% of apps work the same as they do on Windows 10
yea
I for one have not had any problems outside of settings being slow
the rest is ... "normal"
Like PowerShell taking absolute ages to load up
sad
minimum system requirements are abyssmally high
I for one think they are reasonable
any decent modern machine will fit the requirements
I don't see why they should have to limit themselves to older technology
you should think of those that cant afford decent modern machines
especially with Windows 10 having support for 5 more years
some of us may be lucky blokes π but not everyone is
If they can afford Windows, they can afford modern machines imo
lol
afford windows ?
yes
yes
The "trial mode" or whatever of Windows 10 violates the EULA
albeit nobody actually cares
People have 5 years to get a somewhat modern computer
and at the end of those 5 years, the hardware you would need won't even be entirely "modern", and likely cheaper and easier to get
How are you turning off your mic
yes, but again... that's technically a violation against their EULA
that, uhh, sounds really strange to me
like, updates to win10 were literally forced on many win7 users
I do not understand how this happened
from turtle import *
from random import randint
t = Turtle()
colormode(255)
t.hideturtle()
t.speed(20)
def Lrandomiser():
t.setposition(randint(-400,400), randint(-400,400))
currentlocationHome = t.position()
return currentlocationHome
def Migration_Interval(X=50):
currenlocationHome = t.position()
while X:
X-=1
t.pencolor(randint(0, 255),randint(0, 255),randint(0, 255))
t.setposition((randint(-50,50),randint(-50,50)))
t.setposition(currenlocationHome)
Lrandomiser()
Migration_Interval()
Migration_Interval()
maybe
You are authorized to use this software only if you are properly licensed and the software has been properly activated with a genuine product key or by other authorized method.
maybe the interpreter has a different opinion on this code
because an output like this isn't supposed to happen
Yes, but you can use your Windows 7 license with Windows 10 iirc
...what did you expect to happen?
this looks like you draw many paths between an outer point and random inner points, then randomize the outer point and repeat
it was supposed to make multiple paths in the centre, then make an additional path where it would make a new "centre" point
and repeats
I mean, I can't judge tbh, i'm using random
not sure how the picture is different from what you describe
my point is
when a new path is made at the new "centre"
it should fire paths in all directions
not just in the direction of the origin
I may have skipped a tiny detail in the code, so I'll check it again
It's not firing at the origin, but at random points from -50 to 50, so pretty close to it
if you increase that, you might get what you want
wait, really
I did manually until i got to know of pyenv and it worked
lol pyenv has a list of stuff to install
thanks
one second
i mean it was less than what was needed for python3.9, and python3.9 i didn't really know even what all deps are needed
hm. not sure I understand
and most of the deps of pyenv are already present or i installed like curl
basically my python3.9 wasn't working as it was missing some deps and even when i instaleld them it was erroring out for some or the other reason (apt-get or building from source)
I seen something like that before I tried to plot red and green and blue on different axes for a matrix of image data and it did that
I still don't entirely understand, but for a quick tip... As an end-user, you probably want to use apt instead of apt-get
yep i use apt
The issue was, I assumed that the +- 50 were automatically set to fire paths from 50 pixels from the new point of origin
but apparently, it was aiming at the coords
And the vertices were the actual colours, while the lines just joined horizontally adjacent pixels
fixed it
Oh looks like fireworks on strings
happy 7th of July
very nice
I have a Github webhook that sends webhook to my http server for every push event, then my server pulls those changes.
I would like to return http status code if my pull fails (for example 500). This would allow me to nicely see those status in github webhook list.
Problem is that I'm thinking the return code should only be related if the webhook got to my server or not and any other stuff that webhook triggered should not touch response code.
My concrete question is for example githoob webhook sucesfully got to my server and triggered the pull function, but for whatever reason the pull failed. Should I return 200 since webhook got delivered or should I return 500 (I also return nice error message) since the pull function failed.
Depends on what you consider an error
I went with my original approach, returning the status depending on pull function
I mostly overthing stuff and then ask for confirmation about best approach
and in the meantime I figure it out
hah, I can relate
document.querySelector('#check').addEventListener('click', function(){
}```
why is it that i can put ```.addEventListener('click', function(){
}``` after `document.querySelector('#check')`?
if i were to explain it in words, it's finding the tag which has id check, and when check is clicked, it's to execute the function in `{}`, is this right?
yes
oh okay π
yes
Ironically it is Wednesday
my dude
my dudes*
About how you can put .aEL after, .querySelector gives an element; elements have an .addEventListener function
the airplane of the serve just flew over here
of the who?
you don't know him yet
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int N;
scanf("%i", &N);
int sum = 0;
int *p;
p = malloc(N * sizeof(int));
for (int i = 0; i < N; i++)
{
scanf("%i", &p[i]);
if (p[i] >= 0)
{
sum += p[i];
}
else
{
sum -= p[i];
}
}
printf("%i", sum);
}```
here i'm adding a list of numbers, if negative number i'll subtract them
but i got this error ans.cpp:9:15: error: invalid conversion from 'void*' to 'int*' [-fpermissive] p = malloc(N * sizeof(int));
i see it's pretty common on google but i dont get what it means
and i saw doing
p = (int*)malloc(N * sizeof(int));``` helps but i dont rly understand
yeah, I believe it's normal to cast the pointer of the malloc to the right type
but i dont rly understand
mallocreturns avoid*pointer, since it can't know what kind of elements are you going to be storing in the memory.
so it's your job to cast that point to an (int*) one
oh i see okay jus curious, does it depend on compiler, cuz on some, it doesn't require to cast ?
you don't have to cast in C, you have to cast in C++
looks like this:
#include <stdlib.h>
int main(){
int N = 100;
int* arr = malloc(N*sizeof(int));
return 0;
}
works on both gcc and clang
this may be irrelevant but any reason why you're using even pointer array in first place?
to do the sum you don't need to store it in array (atleast in your code)
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int N;
scanf("%i", &N);
int sum = 0;
for (int i = 0; i < N; i++)
{
int s;
scanf("%i", &s);
if (s>= 0)
{
sum += s;
}
else
{
sum -= s;
}
}
printf("%i", sum);
}
@blazing quest gpl is the equivalent of software communism
okay ballmer
While the concept is great, in practice itβs lacking on so many counts
i would guess its some sort of exercise for sth like a class
yeah I'm not sure, but if it's just sum, i wouldn't bother with this much.
Inb4 these licenses require attribution
Oh wait, they do
use agpl over gpl in most cases
or well, understand the difference at least
but also, consider how severely a gpl license restricts the usability of your software
I just never use GPL
Apache 2.0 or MIT is enough for what I do
Or "do whatever the fuck you want"
https://opensource.org/licenses/UPL I like this one
Gpl and itβs derivatives are parasitic
For some shit
But definitely not for libraries
I could agree with fixes and modifications having to be made public
gpl only really makes sense for technically impressive projects
minor things companies can just write themselves
But the fact that even if a use a single line of gpl code, my project is a βderivativeβ is abhorrent
Mozilla does is a bit better
for standalone software, I do think (A)GPL makes more sense than super permissive licenses
but standards and formats under GPL are more or less useless
Arguably
isnt that y ppl were freaking out about copilot cuz it violated the gpl terms
But any dev that makes a library with gpl can gtfo
yeah, copilot with gpl is kind of questionable
working on sth rn that i was told to make gpl lol
Is it a library
Qt for example is GPL+commercial license
Then donβt make it gpl
i guess u can call that a library
why would you GPL that?
some weird policy
and i doubt anyone is gonna use it
outside of the ppl who told me to make it gpl
oh yeah, then it is fair
and I mean, GPL doesn't place any requirements on the code being well documented, so you can just... not tell anyone how to build the thing, and no one can take advantage of the source
Qt is quite problematic because of GPL
To be honest I don't see why you'd force someone to have the same license as you
What I can agree on is the fact that you should have to publicise fixes and modifications with a similar license
What I think is beyond stupid is this
LGPL is a good middle ground
I think it is fair to release edits you did to the orginial source code
GPL wasn't written by lawyers, right?
iirc Stallman wrote it
Yeah
Mpl requires this as well
Without the aforementioned stupidity
I find it absolutely astonishing that one of the most popular license was written by someone with no legal background
Most are
and you get flawed texts and everyone complains
Iβm not complaining Iβm just advising against using said licenses
They are in the end just words which by themselves do nothing
hey can anyone tell me will ubuntu support ms teams rpm or deb
I know some other virtual meeting programs need windows bc they monitor background processes and use sudo, but ms teams doesn't have that feature so actually it should be fine
Yeah it's fine (read https://www.google.com/amp/s/www.howtoforge.com/how-to-install-microsoft-teams-linux-on-ubuntu-and-centos/amp/ )
@round ferry ^
thanks
Yw
Teams is electron
Is it normal that if I hold down all the number keys on my keyboard, 6 and 8 don't show up? I suspect this is multiplexing in the keyboard controller but I'm not sure.
yeah it depends on the keyboard
lmaooooo @storm birch this otname
wait wtf, did I have something to with this oh no lolol
wait, were you not there in voice chat that day?
Possibly. I dont remember it. But I love it
i was dere
is it because I did fizzbuzz in my interview? I no remember!
Oh maybe cuz I choked on everything else LOL
I may be mixing it up, but someone was sharing a recent story about an interview and someone else mentioned a candidate fucking up fizzbuzz during an interview
yeah yeah, I think I was there haha
fizzbuzz?
me no understand
the not joe constraint is gone
π
Now it's just a joe uno reverse card
ohh yes i've faced this problem a few times already and i didn't want to store the data in an array but didn't know how to implement it, thanks so much!
I found you can rickroll the japanese with this link. use it sparingly tho: https://youtu.be/mW61VTLhNjQ
Caitlin Myers' Japanese cover of "Never Gonna Give You Up" by Rick Astley
βͺ’β£ DOWNLOAD βͺ’β£ https://ffm.to/citypoppin (iTunes, Spotify, etc)
β£ PATREON β£ https://www.patreon.com/posts/49259091 β¦
----------------------------------------ΒΒΒΒΒΒΒ----------------------------------Β-------------------Β
β’ Credits β’ ("Never Gonna Give You Up" - Originally ...
bruh
nah
does anyone have ambv's image renderer in terminal gist link?
yes ty!
*don't delete them straight away
well, we don't archive them forever
apart from the memes channel
the sacred texts
Lol
Czechs and their no-vowel words... :D
r is a vowel
Why? XD Any examples, lol?
welsh people are real quiet rn
SzczΔΕcie
We're back on Polish side of Smrk (aka Smrek - see, it's easy to include a vowel!) now. It's the first day of hiking and I already had enough
did you see any ΕΉdΕΊbΕo π
makes me think of that weatherman
polish dosent has vowels?
it does
llanfair
We saw a lot of grass, so yes
most languages have vowels
lol
I want to come up with some long word with just the r and l vowels, but not many exist
i mean yea like, some english consonants are used as vowels in many languages
reroller
yes, it's just 5 letter ones
vtrhl
skvrn
zmlkl
strhl
Czech has no-vowel words. As seen in the pic, the peak i was on is called "Smrk"
Syllabic consonants is apparently the proper term
Polish has a lot of diacritics but at least our word are read as they are written, we don't have "consonants" which are syllabes
yeah, we have pretty inconsistent pronunciation
b at the end of a syllable is read as p for example
also, some legacy nonsense like dual forms of body parts only when used in the context of body parts
i was about to compliment it then i realised it was inconsistent not consistent
Sh, ch, nasal e (kinda "en" sound but nasal makes it vowel only, adds kind of "bounce" to it), Ε is kinda soft s? like si (not Spanish one, but sounds mashed together) but short; ci is similar (we also have Δ!) - soft c, this time with audible i sound; e (short, like in bed)
That's more about voiced vs unvoiced, that's just how human mouth works that it makes voiced letters at the end of the words sound/be unvoiced
@tribal tinsel Yo, I tried the EPKL stuff, it was fun but I wrote an ahk script today that is very useful for me.
and I cant use it with EPKL. do you know how to combine it together? I didnt even find the way to remap the extended keys xD
The remaps from pkl are in folder, they are defined on key scancodes (that's why they work "lower" than normal letter-to-letter remaps, they don't care if you have qwerty, qwertz, azerty or something else). I haven't used it in ages but I remember modifying the files for other layers
yeah, but the settings are in ini, so doesnt look that I can add a code of ahk
But what remaps/changes do you need?
This is extend source https://github.com/DreymaR/BigBagKbdTrixPKL/blob/master/Files/_eD_Extend.ini
Shhh
I returned to the homeland yesterday
I want to have a macro in ahk mapped to an extended key, to swap window, pause a video or and navigate in it, and swap window back... I got called a multiboxer in AHK community today, when I asked for some help xD.
theese are still ini files, so I dont think that it will work out for me π
Music/media controls are there in extend and you have legend at the top of the file mentioning how to do some ahk stuff... See 20th line for literal ahk commands preffix :)
wow, I totally missed it, I l try to dig into it later, thanks!
You can also keep definitions as powerstrigs in here - https://github.com/DreymaR/BigBagKbdTrixPKL/blob/master/Files/_eD_PwrStrings.ini
Those variables can then be used with paragraph symbol (ΒΆ) prefix
hi for javascript, how do i add a new line
toadd.innerHTML = `Dear Sir, ${email.value}. Regards, ${sender.value}`; ```
a new line before Regards
\n
i tried to use \n
yeah
you should not be using <br>, I think the proper markup for an email is a paragraph of introduction, content, then a paragraph for regards
toadd.innerHTML = Dear Sir, ${email.value}. <br/> Regards, ${sender.value};
this worked
damn
ohh but im making is such that the user would input the email text and his name
yea a p tag would be better
then it would format it
wait lemme try and see if this is what you guys mean
ok i think i get what u mean
yup, it is supposed to be
`<p> Dear Sir, ${email.value} </p> <p> this is the content </p> <p> Regards, ${sender.value} </p>`
though you should be escaping the email and sender
how do you actually do safe html interpolation in pure JS... I always used a framework of sorts
IG you set innerText and create the tags with objects
okay
for javascript, it can be used for both web html or non html right? but can we use functions like console.log in html setting cuz i've been using .innerHTML only
line breaks go <br>
hehehe
lol
Oh huh.
JSX is great
Apparently TS integrates with it
note that there is some TS that you can't do in TSX, but it has alternative syntax
isn't jsx like html tags in js or something
pretty much
Yes, but with JS code that matches with it
It's kinda like Jinja, in the sense that you can combine JS logic with HTML
hm
Like, you can stick JS variables in HTML
i watched this react tutorial last year or so where i saw this stuff
const name = "bob"
export default function app() {
return <p>Hello {name}</p>;
}
That would return "Hello bob"
Oh, the return type is JSX.Element iirc
oh hmm
I believe those are defined in @types/react under DefinitelyTyped
But I might be wrong
u might be
Or wait
React.ReactElement is defined in @types/react
But then where is JSX.Element from
lol
yes
can i have nitro
Yeah all you have to do is go to your settings menu on discord, click the nitro tab, and subscribe to either of the packages.
It's available for everyone on discord iirc no countries have it blocked
wait really?
it doesn't even ask for payment anymore?
Subscribe implies payment
Super dead chat
u had one intresting childhood i guess
me too
@compact dagger is it not a language? https://www.postgresql.org/docs/9.1/sql-createfunction.html
What do you mean?
Postgres' SQL quite literally is turning complete
I did call it a query language
is it turning complete or is it turing complete
I was pointing out the fact that SQL is a whole language, while json is just a file type.
lol
aha
What people get confused is that SQL = database, and JSON = no database.
Which is technically not true. Its just that most, if not all SQL is backed by a RDBMS. But you can also get a perfectly fine DBMS that uses JSON files.
also json is love
if you say so
But JSON is made for primarily sharing objects/data. Rather than be an efficient storage system.
So id not exactly recommend choosing a database because it has a json backend.
is a json parser with simd a db
with.. simd?
Yeah. Its a great format for sharing.
why would simd make a difference?
hm
it is just more efficient
I do like json for what it is, a human redable data serialization format
I know https://pypi.org/project/tinydb/ uses json as its database file.
I think JSON has a few flaws, but it is alright
Not efficient like sqlite, but it is possible.
yeah, there is no real law saying you cant write a horribly slow database
oh i love using txt and individually parsing data
Its not XML so im happy :D
haha true, true
Parquet is really nice
Hi, where can I speak/ask with a moderator?
@undone linden You should see @vapid maple
Okay sure, thanks π
You have first send a message and then react with tick then you can talk with them @undone linden
If I am not wrong.
Yea, I can, I just wanted to know, how someone can be considered as a helper
Aha, you have to see the faq nothing much haha https://pythondiscord.com/pages/frequently-asked-questions/ @undone linden
The Python Discord FAQ.
Hope you got this.
Yup they sent me the link π
Smhh 
what da dog doin
how da dog doin
How is da dogecoin doin
ask elon
Ok duh
@hazy laurelnvidia drivers successful
weird
i tried with YaST last time, killed openSUSE

opi is poggers
uh you used opi?
lemon enjoys gamedev in his spare time
lol
do you guys know where can i download win 11 for vmbox?
uup or something has an iso but its the old build
which is basically w10
so umm
i guess get windows 10, signup for insiders dev and then update
in the vm
ok π
there might be other ways but im quite sure they are not recommended
DM it to @vapid maple
Okay
timezones are a social construct, yes until we standardize a mondial time pulse we need them ...
no
Abolish time zones
β
what is the deal with that weird ?
in c++ ?
condition ? if true: if not true
iirc
a ? inside a white square
ever upgraded two operating systems at once?
while
in c and cpp? its ternary operator
int x = y==5 ? 7 : 10;
equivalent to
x = 7 if y==5 else 10
in py
right
yes
how does one send a timestamp in a message
ty
lol i also had that feeling
Why did you cemsor your chess name lmao
privacy and whatnot
Good evening Python Discord
Good evening Joe from Python Discord
Well thanks! Yourself?
Pretty good, thank you
fact
The PING event it says it'll send never works for me
I just commit to test it
Very nice
late reply because I was at work, but there's nothing private about a lichess or chess.com account. + they didn't censor the opponent's name, so if someone really cared they could look in Payarlar's recent history for a game that ended in that position. Or if they REALLY wanted they could do a search for that position and find games that match it.
which is why I thought it was silly to censor that one, random piece of information
ouc
hmmmm
cuz that relates to my name
^
well ya dun goofed
β
i mean, u wouldn't search for that game
@trim bison you shouldn't lie about your age
how old r they?
@slow valve Also it's not explicitly prohibited in rules π€
yea, it only says for paid work and unapproved advert
@naive finch I can fly as fast as Fly(insect)
wait jake are you korean?
the ot says jake I am korean
so most likely the person who said that to jake is korean
which means
we now have to ask
who asked you this?
also who is the korean here.... as mysterious as the havaiian lmao
aight time to hunt for jake
mina is also korean too!
@velvet lichen if playerGuessInput[i] == colourRandom[i]:
playerGuessInput doesnt have an index higher than [0]
Im sorry uhm i dont quite understand π
you have only 1 thing stored in your playerGuessInput, and 4 in your colourRandom, with a loop you are checking them 1 by 1, but this is ur colour random ['B', 'G', 'P', 'G']
but guess contains only 1 value
remove the index from the guess? or leave it as [0]?
if i remove it or leave it as [0] then even by typing the correct order it still fails to recognize it however, it did get rid of the problem of stopping
ye, i didnt look that far
Wait, I am the one who is Korean (allegedly)
Woah
so won't the real kim korean please stand up
and put one of those fingers in each hand up
its just the lyrics of the original song hehe
Pbpt is my friends mc server name
Bonsaye you here?
Hey so I'm reading Code by Charles petzold
mhm
Yes here! :D
In the book here let me show you a pic
Middle paragraph
Saying an AND GATE with two inverted inputs is equal to a NOR gate
Like you said but I can't see how because the truth tables for a NAND and NOR gate arnt the same
NAND is AND with inverted output, not input
check this out: https://circuitverse.org/users/5845/projects/bonsaye-see-this
I tried to do truth tables for AND gate with two inverters for the inputs VS one after the AND and got same truth tables
Gonna check that brb
by the way, about logic gates
have you ever wondered why the heck people made them using lambda calculus?
That's pointless...
utterly.
By the way, I think I said kind of a nonsense thing since it was intended to do this thing
But
That makes sense @fast wyvern
I don't know, it's innatural
However for the other inputs
NAND and NOR differ
For NAND when it's
0,0 = 1
0,1 = 1
1,0 = 1
0,0 = 0
NOR it's
0,0 = 1
0,1 = 0
1,0 = 0
0,0 = 0
mhm
So it's not the same?
NAND and NOR are not the same
if you are talking about NAND with inverted inputs, then you need an OR to equal that
If you don't mind, is NAND the same as an AND with two inverted inputs?
Okay
take input -> calculate and -> flip it -> you get nand
This page is saying that a AND with two inverted inputs is equal to a NOR
yep
If they are the same shouldn't their truth tables be the same?
they are
cya later

