#ot2-the-original-pubsta

652 messages Β· Page 70 of 1

jade bolt
#

why is offtopic-2 fooled by akarys

lucid osprey
#

it's very difficult to understand the context yeah

#

.

#

ctrl+f magic

upbeat sandal
jade bolt
#

*installs a lie detector app (100% scam, just uses java random stuff. and get info from audio given)*

fluid plank
#

Dont ever trust the French guy with an A and a Y in his name

tranquil ridge
#

why not trust bagyuette

wheat rock
#

why not trust bread

ancient whale
#

His names actually just Akary

#

The s stands for sus

dusky cliff
#

πŸ™€

tribal tinsel
#

The sus part is having buttons in github profile that don't lead to anything

rigid echo
#

Β―_(ツ)_/Β―

#

smhhh

keen burrow
ancient whale
#

Hecked

rigid echo
#

Nice song akarys

keen burrow
#

lol I don't know if you were referring to my profile but they definitely not work

rigid echo
#

never heard of it

keen burrow
#

I'm in a listening party, that ain't my playlist

rigid echo
#

lol, why it is showing One Dance?

keen burrow
#

Because that's what is currently being played

rigid echo
#

oh got it

#

lmao

#

droom

keen burrow
#

That's more my jam

tribal tinsel
keen burrow
#

lol, I'll have to fix that

jade bolt
ancient whale
#

Run

keen burrow
ancient whale
#

Ahh

#

I’d run but I’m pretty tired πŸ˜”

keen burrow
#

I expect your run on my desk by 2pm tomorrow

ancient whale
#

Kk

#

Where’s your desk

#

Also what timezone

keen burrow
#

In France, every timezone

ancient whale
#

Ight I’ll have to swim tho

tranquil ridge
ancient whale
#

I don’t have a week?

tranquil ridge
#

3 days would do

#

oh

#

i have some 3 months old baguettes stakced

ancient whale
#

Ya Sad

tranquil ridge
#

i can give you some

ancient whale
#

Oh sick

somber belfry
#

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

ancient whale
#

The real question is when would you not need one?

tranquil ridge
#

when eating

#

for then you need a minimum 3 hour old

ancient whale
#

Or really good molars

fluid plank
jade bolt
pastel nest
#

Or is it?
cannibalism intensifies

jade bolt
#

is pardon my french in french, pardon my english

tawny sparrow
#

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

rigid echo
#

Smmh, @storm birch Your new pfp is lovely!

#

Doggo eating watermelon or what lol

storm birch
rigid echo
#

Oh yeye, she looks super cute

#

and healthy too

storm birch
#

Yes, she is quite healthy

#

tyty

rigid echo
#

welcome welcome

tiny sorrel
#

!resources

clever salmonBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

wide totem
#

@grim seal i am being forced to use a site that I only wish you were a dev for

wide totem
#

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

grim seal
#

holy

#

lol

#

that's wild

mental idol
wide totem
#

even worse, this is a college

wide totem
#

but you can put in a 33 just fine

#

and it will cut it off

#

which obviously means they aren't storing hashes 😰

grim seal
#

ehhhh

#

not necessarily

mental idol
# wide totem its aware, it gives the 12-32 limit

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?

grim seal
#

there are reasons to have maximum password length

wide totem
#

okay but 32?

mental idol
#

But, strangely, I feel a little better knowing it's a college?

wide totem
#

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

wide totem
#

thinking the final is actually hacking the website πŸ˜‚

wide totem
grim seal
#

a good 12 char password will take 400,000 years to crack

#

like C-k,zc@9dO@_

#

a 32 char password of the same variety, like SR=i4n4;u_paNMH_qCJ+OW^yDtTAk-CG will take 2 quattuordecillion years

grim seal
#

I agree 32 is a little low, but it's certainly secure, so approaching it from that front isn't too valid

sinful sun
#

I use whole ass sentences as passwords and password limits annoy the shit out of me

grim seal
#

and like

#

bear in mind

#

these hashing algorithms have limits

wide totem
#

gotta admire this tho

grim seal
#

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

wide totem
#

but also limits <, > and "&#"

grim seal
#

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

wide totem
#

aha

grim seal
#

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

wide totem
#

hm

#

what do you think is the worst about that site above tho

grim seal
wide totem
#

one of them

#

your least favorite lol

#

my favorite is 2fa not actually working

grim seal
#

lol

balmy radish
#

15 BILLION YEARS for my pass

#

yay

echo fern
#

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 πŸ‘€

sharp leaf
#

otherwise you can kamikaze all of it at the same time no?

#

or temp bans

wide totem
grim seal
#

it's still a long long time

cedar leaf
quiet depot
#

sometimes if ask the password is more easy then do things

wild compass
#

yeah, sites will often only give you a certain amount of tries to get your password

quiet depot
#

should I exclude the whole folder when return a SIG error

wheat aurora
#

Nice. I get a really nice view of some local fireworks from my desk

mental idol
#

Enjoy the bakooms!

jovial island
#

We have a lazer show this year that I'm pretty excited for.

hazy laurel
#

woah

quiet depot
#

where

thorn eagle
#

lemme c

wide totem
pliant trench
jovial island
pliant trench
#

even 1 year is so much

round moss
#

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

hazy laurel
#

dang it... now I'm hungry

quiet depot
#

I've discovered that we have acess to supercomputer at uni

tribal tinsel
jovial island
jovial island
#

and what if we try multiple s-computers
like half will do some work other halves do other

wheat hill
#

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

split mauve
#

thoughts?

vast cloud
#

oli needs psychotherapy

proper python
split mauve
#

nope this person is dead serious about being jimin

jovial island
#

@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)?

tawny snow
#

Ok

#

I will run on heroku

#

This one

#

But idk how I setup

jovial island
#

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

tawny snow
#

I m on mobile and I need someone to help me setup before I reach home

jovial island
#

that's not going to be possible

tawny snow
jovial island
#

also, I'm not too sure if heroku allows for database hosting?

#

that's up to you to figure out

tawny snow
#

Ig it does

jovial island
#

they offer PostgreSQL

tawny snow
#

Hm

#

So?

jovial island
#

so, that's a viable db

tawny snow
#

Ok

#

hm

#

So?

#

@jovial island

jovial island
#

so?

#

I don't have access to the heroku account?

tawny snow
#

I can give u

#

: (

jovial island
#

that doesn't sound safe for you?

tawny snow
#

It’s fine

idle vector
#

hey

jovial island
#

hi

idle vector
#

just want to know if someone had a problem with kernel on spyder before πŸ‘€

#

not sure im on the right chan

tawny snow
#

@jovial island can I give u my acc in DMs

jovial island
idle vector
#

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

#

πŸ’Έ

jovial island
#

oh

tawny snow
#

XD

#

haha

#

ok so I can send acc in dms?

#

@jovial island

#

???

jovial island
#

fine

unreal sigil
#

You're giving someone your heroku account πŸ‘€, why on earth

jovial island
#

I don't know how heroku works

tawny snow
#

@jovial island cmon

unreal sigil
#

no

tawny snow
#

I m giving it so someone can setup

#

and hello mod

jovial island
#

i created my own account so i see how it works

jovial island
unreal sigil
#

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

jovial island
#

i dont like the fact how their pricing doesn't tell much about the CPU you get

steel eagle
#

Because there's no guarantee of what you get

#

It's a highly distributed service

jovial island
#

that sounds like awful service πŸ€”

tawny snow
#

no

#

Heroku is the best service

#

I host my bot there

#

And it never goes down

viral hare
#

thats not really an accurate measure of the quality of service

#

at least for major competitors these days

tawny snow
#

@jovial island can u help me set it up on heroku

steel eagle
#

Why not just learn yourself?

forest sequoia
#

Whar are the cats in ppls username. Im out of the loop

shrewd lance
#

.catify Basically this thing, by default it works on your username and puts cats in it

rustic harborBOT
#

Basically this thing, by default it works on your α•‚α˜α—’ username and puts α“šα˜α—’s in it

shrewd lance
steel eagle
#

Way better meme than gurkan

dusky cliff
#

genghis gurα“‚α˜α—’ played both memes at the same time

shrewd lance
elfin vine
#

Any tips on checking beforehand if I will receive "X is not recognised as an internal or external command"

neat light
#

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

elfin vine
#

Ah thank you, that will be good because I am not checking anything built-in

sinful sun
#

Get-Command > where

neat light
#

not if you're using cmd lol

sinful sun
#

cmd is unbased

shrewd lance
#

Basen't

proper python
#

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

grim seal
#

πŸ™‚

proper python
#

look at his dumb face

#

what a dumb bot

#

offline too

#

i would be offline too if i had a face like that

grim seal
#

πŸ˜”

hazy laurel
#

what's special about King Arthur?

devout loom
#

@echo fern Seems like my solution can't read line 2 of Test #7 despite outputting a number? pithink

#

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()

daring jay
#

Random images from where I went yesterday

#

(That's straight up the side of a waterfall)

wild compass
#

nice

mental idol
daring jay
#

That was chimney rock in north carolina

tranquil ridge
#

where chimney

daring jay
#

The rock is supposed to look like a chimney

#

Since it sticks out of the side of a mountain

tranquil ridge
#

o

daring jay
#

Like a chimney sticks out of a roof

tranquil ridge
#

i c

sudden swallow
daring jay
#

The second part is debatable

rich cargo
sudden swallow
tranquil ridge
sudden swallow
jovial island
#

@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 πŸ˜‚

limpid hare
jovial island
#

like toooo much bandwith

#

he has explained nicely

#

and also ddos can be dn on website so... πŸ˜‚

keen burrow
#

Let's not share names of DDoS tools please

jovial island
keen burrow
#

or youtube channels

#

yeah, just realized

#

still

jovial island
#

πŸ˜‚

#

it's a concept...

#

nm πŸ™

quiet depot
#

someone can help to know if I'm being followed

cerulean panther
#

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

quiet depot
#

it's not a crime itself I guess

timber field
#

satch

exotic oasis
grim seal
hazy laurel
#

I do not see him :(

#

Grace me with your presence, King Arthur#6634

grim seal
#

@grim anchor

hazy laurel
#

"DevOps"... What does he do?

jovial island
#

@grim seal https://lg.jb3.dev/api/query/ 522

#
{"query_location":"jb3_core","query_target":"abc","query_type":"bgp_route","query_vrf":"global"}
vague shadow
hazy laurel
#

oh. he must not deem you worthy

clear gust
#

Tis a flesh wound

dusky cliff
odd sphinx
#

nice

median blade
#

when will dpy get slash commands/buttons

vague shadow
#

It's going to come with D.py 2.0

median blade
#

and when is that PensiveSlow

vague shadow
#

When it's done I guess lol

#

probably a better question for the d.py server

grim seal
#

try BGP route for facebook.com or something

#

it'll resolve DNS to ipv6

scarlet totem
median blade
#

bruh wtf

jovial island
grim seal
jovial island
#

ah i see. alrighty! ima try with v6 soon.

#

ipv6*

jovial island
fresh sandal
quiet depot
#

how to setup v12 engine wifi diesel based

short cliff
#

Carefully

rapid heron
#

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.

keen burrow
#

@short cliff as the daddy of dad joke, what grade would you give to this one?

neat light
#

lmao

odd sphinx
#

bruh

#

repost

keen burrow
#

I mean I reposted a repost

short cliff
#

@keen burrow That's absolute gold

keen burrow
#

yeeesssss

odd sphinx
devout loom
#

@kind steppe

#

Or add new one

round ferry
#

just wanted to say the channel names are amazing

hidden lintel
#

Does python 3.9 not work on ubuntu?

tranquil ridge
#

why would it not work ferrisThonk

hidden lintel
#

modulenotfoudn apt_pkg not found

#

whenever I try to apt-get install or smth

tranquil ridge
#

use pyenv

unreal sigil
#

@gusty compass Rust is general purpose

#

And lower level, statically typed, compiled etc

#

Basically, a good mix up if you've just done Python

gusty compass
#

oh

#

ok

#

thanks

frigid pollen
#

If Rust ever gets an addon/expansion/whatever, like C++ to C and so on...Eul, pronounced "oil", as in Euler.

tranquil ridge
#

πŸ™€

dusky cliff
#

yes

frigid pollen
#

It's weird. I know.

dusky cliff
#

do you pronounce it like ewwler or something

odd sphinx
#

i thought it was oiler

dusky cliff
#

same

steel eagle
#

I will forever say yewler

odd sphinx
dusky cliff
#

i'm pretty sure oiler is the correct pronunciation too

steel eagle
#

Oiler is so unnatural to read and say

#

When you see the Euler written

frigid pollen
#

Well, they have them at bodybuilding tournaments.

#

...and mechanics...

steel eagle
#

Yes but that's spelled how you expect it to sound

hidden lintel
dusky cliff
#

wait fuck

#

if euler is oiler

#

euclid isn't oiclid is it

odd sphinx
#

no

#

euclid is yewclid

dusky cliff
#

ok good

tranquil ridge
#

no

#

i mean yes

#

but euler is ee yu ler too

#

:(

wheat rock
#

ew

#

ler

odd sphinx
#

Yes

odd sphinx
#

noimann?

#

i see

#

yes

#

von nuemann architecture!!!!

dim root
#

that's what i do

#

oh shit wrong reply

#

@hidden lintel jam_cuneiform_this

odd sphinx
#

sad

dim root
#

someone typed a message below, and it changes automatically

#

smh discord

wheat rock
#

ok

echo flower
#

huh

deft tartan
#

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 ?

odd sphinx
#

are u sure the graph is showing ur turned off mic

#

or some other mic thats connected

deft tartan
#

no

#

that's my mic, it's connected to the front mic input of the case

hazy laurel
jovial island
#

It might be static or something

deft tartan
deft tartan
#

why?

#

how?

hazy laurel
#

I wouldn't be surprised if that's just the minimum

odd sphinx
#

this does happen

#

so maybe its just static noise

#

are u sure its turned off

#

try turning it on and making no noise

deft tartan
deft tartan
hazy laurel
odd sphinx
odd sphinx
deft tartan
odd sphinx
#

true

hazy laurel
odd sphinx
#

interesting

hazy laurel
odd sphinx
#

wel the settings app did get an overhaul

deft tartan
# hazy laurel

having windows 11 is a good thing, but what about compatibility

hazy laurel
#

I'm pretty sure like 99% of apps work the same as they do on Windows 10

odd sphinx
#

yea

hazy laurel
#

I for one have not had any problems outside of settings being slow

#

the rest is ... "normal"

odd sphinx
#

settings is sometims slow

#

kinda cring

hazy laurel
#

Like PowerShell taking absolute ages to load up

odd sphinx
#

like

#

its a system app

deft tartan
#

minimum system requirements are abyssmally high

odd sphinx
#

they will probably change it

#

once everyone tests it out on their devices

hazy laurel
#

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

deft tartan
hazy laurel
#

especially with Windows 10 having support for 5 more years

deft tartan
#

some of us may be lucky blokes πŸ˜› but not everyone is

hazy laurel
odd sphinx
#

lol

deft tartan
hazy laurel
#

... yes?

#

Windows is not free

odd sphinx
#

yes

deft tartan
#

very different categories

hazy laurel
#

No, Windows is not free

#

It is proprietary, you have to pay for a license

odd sphinx
#

yes

hazy laurel
#

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

deft tartan
#

anyway back to the static noise

#

what would possibly cause it

hazy laurel
#

How are you turning off your mic

#

yes, but again... that's technically a violation against their EULA

echo fern
#

like, updates to win10 were literally forced on many win7 users

final sable
#

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

hazy laurel
final sable
#

maybe the interpreter has a different opinion on this code

#

because an output like this isn't supposed to happen

hazy laurel
echo fern
#

this looks like you draw many paths between an outer point and random inner points, then randomize the outer point and repeat

final sable
#

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

echo fern
#

not sure how the picture is different from what you describe

final sable
#

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

echo fern
#

if you increase that, you might get what you want

final sable
#

wait, really

dim root
final sable
#

oh....

#

I just realised what I did

hazy laurel
hazy laurel
#

one second

dim root
hazy laurel
#

hm. not sure I understand

dim root
#

and most of the deps of pyenv are already present or i installed like curl

hazy laurel
#

this stuff you have to manually to build Python

#

my grammar broke there

dim root
#

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)

tall temple
hazy laurel
dim root
#

yep i use apt

final sable
#

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

tall temple
final sable
#

fixed it

tall temple
#

Oh looks like fireworks on strings

hazy laurel
#

happy 7th of July

dusky cliff
#

very nice

gilded steeple
#

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.

keen burrow
#

Depends on what you consider an error

gilded steeple
#

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

keen burrow
#

hah, I can relate

woven hornet
#
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?
dusky cliff
#

yes

woven hornet
jade bolt
#

is this channel going to be
ot2-joe's-thursday-conspiracy-theory

#

oh no

hazy laurel
#

Ironically it is Wednesday

quiet depot
#

my dude

odd sphinx
#

my dudes*

jovial island
quiet depot
#

the airplane of the serve just flew over here

hazy laurel
#

of the who?

quiet depot
#

you don't know him yet

tranquil ridge
#

was this channel named manually

#

because today is wednesday

woven hornet
#
#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
echo fern
#

yeah, I believe it's normal to cast the pointer of the malloc to the right type

echo fern
#

so it's your job to cast that point to an (int*) one

woven hornet
round moss
#

you don't have to cast in C, you have to cast in C++

echo fern
#

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

jovial island
#
#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);
}
lime drum
#

@blazing quest gpl is the equivalent of software communism

blazing quest
#

okay ballmer

lime drum
#

While the concept is great, in practice it’s lacking on so many counts

viral hare
jovial island
#

yeah I'm not sure, but if it's just sum, i wouldn't bother with this much.

lime drum
#

Oh wait, they do

round moss
#

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

daring jay
#

I just never use GPL

#

Apache 2.0 or MIT is enough for what I do

#

Or "do whatever the fuck you want"

round moss
lime drum
#

Gpl and it’s derivatives are parasitic

round moss
#

yes, that's the point

#

and it is a useful property for some software

lime drum
#

For some shit

#

But definitely not for libraries

#

I could agree with fixes and modifications having to be made public

round moss
#

gpl only really makes sense for technically impressive projects

#

minor things companies can just write themselves

lime drum
#

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

round moss
#

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

viral hare
#

isnt that y ppl were freaking out about copilot cuz it violated the gpl terms

lime drum
#

But any dev that makes a library with gpl can gtfo

round moss
#

yeah, copilot with gpl is kind of questionable

viral hare
lime drum
#

Is it a library

round moss
#

Qt for example is GPL+commercial license

viral hare
#

essentially it kinda is

#

an api wrapper

lime drum
#

Then don’t make it gpl

viral hare
#

i guess u can call that a library

round moss
#

why would you GPL that?

viral hare
#

some weird policy

#

and i doubt anyone is gonna use it

#

outside of the ppl who told me to make it gpl

round moss
#

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

keen burrow
#

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

lime drum
#

What I can agree on is the fact that you should have to publicise fixes and modifications with a similar license

lime drum
keen burrow
#

LGPL is a good middle ground

lime drum
#

Eh

#

Mozilla does it better

keen burrow
#

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

lime drum
#

Without the aforementioned stupidity

keen burrow
#

I find it absolutely astonishing that one of the most popular license was written by someone with no legal background

lime drum
#

Most are

keen burrow
#

and you get flawed texts and everyone complains

lime drum
#

I’m not complaining I’m just advising against using said licenses

#

They are in the end just words which by themselves do nothing

keen burrow
#

Oh I do be complaining

#

I didn't mean complaining in a bad way

round ferry
#

hey can anyone tell me will ubuntu support ms teams rpm or deb

real forum
#

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

#

@round ferry ^

round ferry
#

thanks

real forum
#

Yw

cedar leaf
#

Teams is electron

fast wyvern
#

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.

junior moat
#

yeah it depends on the keyboard

wheat aurora
#

lmaooooo @storm birch this otname

storm birch
wheat aurora
#

wait, were you not there in voice chat that day?

storm birch
#

Possibly. I dont remember it. But I love it

hollow heart
#

i was dere

storm birch
#

is it because I did fizzbuzz in my interview? I no remember!

#

Oh maybe cuz I choked on everything else LOL

wheat aurora
#

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

storm birch
#

yeah yeah, I think I was there haha

fast wyvern
#

fizzbuzz?
me no understand

grim seal
#

the not joe constraint is gone

odd sphinx
#

πŸ˜”

unreal sigil
#

Now it's just a joe uno reverse card

woven hornet
supple pond
#

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 ...

β–Ά Play video
wheat rock
#

bruh

odd sphinx
#

nah

dim root
#

does anyone have ambv's image renderer in terminal gist link?

vague shadow
vague shadow
#

No worries, luckily we don't delete channels haha

#

So it was still in pixels

neat light
#

well, we don't archive them forever

#

apart from the memes channel

dusky cliff
#

the sacred texts

vague shadow
tribal tinsel
#

Czechs and their no-vowel words... :D

round moss
#

r is a vowel

dusky cliff
#

pfft

#

you're polish

#

you don't get to criticize weird spellings

tribal tinsel
odd sphinx
#

welsh people are real quiet rn

dusky cliff
#

SzczΔ™Ε›cie

tribal tinsel
#

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

dusky cliff
#

did you see any ΕΉdΕΊbΕ‚o πŸ™ƒ

odd sphinx
#

makes me think of that weatherman

round ferry
#

polish dosent has vowels?

round moss
#

it does

dusky cliff
tribal tinsel
round moss
#

most languages have vowels

odd sphinx
round moss
#

I want to come up with some long word with just the r and l vowels, but not many exist

round ferry
dusky cliff
#

reroller

round moss
#

yes, it's just 5 letter ones

vtrhl
skvrn
zmlkl
strhl
tribal tinsel
round moss
#

Syllabic consonants is apparently the proper term

tribal tinsel
#

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

round moss
#

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

odd sphinx
tribal tinsel
# dusky cliff SzczΔ™Ε›cie

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)

tribal tinsel
severe ice
#

@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

tribal tinsel
severe ice
#

yeah, but the settings are in ini, so doesnt look that I can add a code of ahk

tribal tinsel
vague shadow
#

I returned to the homeland yesterday

severe ice
tribal tinsel
severe ice
#

wow, I totally missed it, I l try to dig into it later, thanks!

tribal tinsel
woven hornet
#

hi for javascript, how do i add a new line

toadd.innerHTML = `Dear Sir, ${email.value}. Regards, ${sender.value}`; ```
#

a new line before Regards

odd sphinx
#

\n

woven hornet
#

i tried to use \n

odd sphinx
#

huh

#

oh wait

#

this is html

#

u are changing the html

woven hornet
#

yeah

odd sphinx
#

so u have to do <br>

#

which is the html tag for a line break

round moss
#

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

woven hornet
#

this worked

odd sphinx
#

damn

woven hornet
odd sphinx
#

yea a p tag would be better

woven hornet
#

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

round moss
#

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

woven hornet
#

okay

woven hornet
#

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

hazy laurel
odd sphinx
#

lol

#

haha

#

good one

hazy laurel
#

hehehe

tranquil ridge
#

lol

short cliff
#

I need to give JSX a real look over

#

Seems very powerful

hazy laurel
#

interesting

short cliff
#

Oh huh.

daring jay
#

JSX is great

short cliff
#

Apparently TS integrates with it

daring jay
#

Yup

#

TSX

#

It's because it's a specification, not a library

#

Great decision by FB

round moss
#

note that there is some TS that you can't do in TSX, but it has alternative syntax

dusky cliff
#

isn't jsx like html tags in js or something

round moss
#

pretty much

daring jay
daring jay
#

It's kinda like Jinja, in the sense that you can combine JS logic with HTML

dusky cliff
#

hm

daring jay
#

Like, you can stick JS variables in HTML

dusky cliff
#

i watched this react tutorial last year or so where i saw this stuff

daring jay
#
const name = "bob"

export default function app() {
  return <p>Hello {name}</p>;
}
#

That would return "Hello bob"

dusky cliff
#

interesting

#

what would be the type of this thingy

daring jay
#

Wdym thingy

#

What are you referring to

dusky cliff
#

the tag

#

the return type of the func

daring jay
#

Oh, the return type is JSX.Element iirc

dusky cliff
#

oh hmm

daring jay
#

I believe those are defined in @types/react under DefinitelyTyped

#

But I might be wrong

odd sphinx
#

u might be

daring jay
#

Or wait

#

React.ReactElement is defined in @types/react

#

But then where is JSX.Element from

dusky cliff
#

lol

odd sphinx
#

yes

jovial island
#

can i have nitro

steel eagle
#

It's available for everyone on discord iirc no countries have it blocked

wide totem
#

it doesn't even ask for payment anymore?

steel eagle
#

Subscribe implies payment

elder path
#

Super dead chat

viral hare
#

wait

#

its this dude again

elder path
#

😏

#

no escape πŸ‹

viral hare
#

u had one intresting childhood i guess

hazy laurel
#

me too

keen burrow
compact dagger
#

What do you mean?

keen burrow
#

Postgres' SQL quite literally is turning complete

compact dagger
#

I did call it a query language

tranquil ridge
keen burrow
#

lol

#

both

compact dagger
#

I was pointing out the fact that SQL is a whole language, while json is just a file type.

tranquil ridge
#

lol

keen burrow
#

aha

compact dagger
#

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.

jovial island
#

also json is love

keen burrow
#

lemon_eyes if you say so

compact dagger
#

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.

keen burrow
#

Right

#

Simple data sharing format can be useful though

tranquil ridge
#

is a json parser with simd a db

keen burrow
#

with.. simd?

compact dagger
#

Yeah. Its a great format for sharing.

round moss
#

why would simd make a difference?

tranquil ridge
#

hm

keen burrow
#

it is just more efficient

round moss
#

I do like json for what it is, a human redable data serialization format

compact dagger
keen burrow
#

I think JSON has a few flaws, but it is alright

compact dagger
#

Not efficient like sqlite, but it is possible.

round moss
#

yeah, there is no real law saying you cant write a horribly slow database

wild compass
#

oh i love using txt and individually parsing data

compact dagger
keen burrow
#

haha true, true

loud harbor
#

Parquet is really nice

undone linden
#

Hi, where can I speak/ask with a moderator?

rigid echo
#

@undone linden You should see @vapid maple

undone linden
#

Okay sure, thanks πŸ˜„

rigid echo
#

You have first send a message and then react with tick then you can talk with them @undone linden

#

If I am not wrong.

undone linden
#

Yea, I can, I just wanted to know, how someone can be considered as a helper

rigid echo
#

Hope you got this.

undone linden
#

Yup they sent me the link πŸ˜›

rigid echo
#

Smhh ok_handbutflipped

exotic hound
#

what da dog doin

odd sphinx
#

how da dog doin

rigid echo
#

How is da dogecoin doin

odd sphinx
#

ask elon

hazy laurel
#

don't ask Elon

#

he'll Tweet about it and prices will tank

rigid echo
#

Ok duh

median blade
#

@hazy laurelnvidia drivers successful

#

weird

#

i tried with YaST last time, killed openSUSE

rigid echo
median blade
#

opi is poggers

hazy laurel
#

uh you used opi?

median blade
#

nono heh

#

just said

#

opi poggers

hazy laurel
#

oh haha

#

yes. opi is nice

bright ridge
#

lemon is a godot game dev?
confusing

round moss
#

lemon enjoys gamedev in his spare time

bright ridge
#

oh

#

I'm a godot game dev too, nice to see lemon in godot server

sudden swallow
gentle shore
#

do you guys know where can i download win 11 for vmbox?

median blade
#

which is basically w10

#

so umm

#

i guess get windows 10, signup for insiders dev and then update

#

in the vm

median blade
#

there might be other ways but im quite sure they are not recommended

outer magnet
#

Anyone get a scam DM?

dusky cliff
#

DM it to @vapid maple

outer magnet
#

Okay

twilit horizon
#

timezones are a social construct, yes until we standardize a mondial time pulse we need them ...

odd sphinx
#

no

twilit horizon
#

And replacing by what ?

#

Swatch tried it but it didnt work ...

exotic hound
#

βœ…

quiet depot
#

what is the deal with that weird ?

tranquil ridge
#

condition ? if true: if not true

#

iirc

quiet depot
#

a ? inside a white square

odd sphinx
#

ever upgraded two operating systems at once?

quiet depot
#

while

jovial island
quiet depot
#

right

pliant trench
#

holy sheep

#

i had .8 seconds left

gloomy grail
#

how does one send a timestamp in a message

dusky cliff
#

<t:unixtimestamphere>

#

<t:0>

gloomy grail
#

ty

shy shadow
steel eagle
tidal dock
#

privacy and whatnot

grim seal
#

Good evening Python Discord

simple arch
daring jay
#

Good evening Joe

#

How are you?

grim seal
daring jay
#

Pretty good, thank you

grim seal
#

fact

daring jay
#

The PING event it says it'll send never works for me

#

I just commit to test it

#

Very nice

steel eagle
# tidal dock privacy and whatnot

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

ripe merlin
#

ouc

thorn eagle
#

hmmmm

pliant trench
steel eagle
#

well ya dun goofed

foggy cape
#

βœ…

pliant trench
lunar basin
#

@trim bison you shouldn't lie about your age

final crow
devout loom
#

@slow valve Also it's not explicitly prohibited in rules πŸ€”

slow valve
#

yea, it only says for paid work and unapproved advert

rigid echo
#

@naive finch I can fly as fast as Fly(insect)

round ferry
#

wait jake are you korean?

echo flower
#

which means

#

we now have to ask

#

who asked you this?

sharp spoke
#

also who is the korean here.... as mysterious as the havaiian lmao

round ferry
#

only jake knows who is kroean

#

Capitaine

#

is korean

sharp spoke
#

aight time to hunt for jake

rigid echo
severe ice
#

@velvet lichen if playerGuessInput[i] == colourRandom[i]:
playerGuessInput doesnt have an index higher than [0]

velvet lichen
#

Im sorry uhm i dont quite understand πŸ˜“

severe ice
#

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

velvet lichen
#

oh

#

so I have to make playerGuessInput to be able to check 4 different values?

severe ice
#

remove the index from the guess? or leave it as [0]?

velvet lichen
#

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

severe ice
#

ye, i didnt look that far

storm birch
#

Wait, I am the one who is Korean (allegedly)

daring jay
#

Woah

hollow heart
#

so won't the real kim korean please stand up

round ferry
#

and put one of those fingers in each hand up

#

its just the lyrics of the original song hehe

woeful fossil
#

Pbpt is my friends mc server name

fast wyvern
#

Bonsaye you here?

fervent lance
#

Hey so I'm reading Code by Charles petzold

fast wyvern
#

mhm

fervent lance
#

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

fast wyvern
#

NAND is AND with inverted output, not input

fervent lance
#

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

daring peak
#

by the way, about logic gates

#

have you ever wondered why the heck people made them using lambda calculus?

#

That's pointless...

fast wyvern
#

utterly.

daring peak
#

By the way, I think I said kind of a nonsense thing since it was intended to do this thing

#

But

fervent lance
#

That makes sense @fast wyvern

daring peak
#

I don't know, it's innatural

fervent lance
#

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

fast wyvern
#

mhm

fervent lance
#

So it's not the same?

fast wyvern
#

NAND and NOR are not the same

#

if you are talking about NAND with inverted inputs, then you need an OR to equal that

fervent lance
#

If you don't mind, is NAND the same as an AND with two inverted inputs?

fast wyvern
#

no

#

NAND is the same as AND with an verted output

fervent lance
#

Okay

dusky cliff
#

take input -> calculate and -> flip it -> you get nand

fervent lance
#

This page is saying that a AND with two inverted inputs is equal to a NOR

fast wyvern
#

yep

dusky cliff
#

de morgan moment

#

A'B' = (A+B)'

fervent lance
#

If they are the same shouldn't their truth tables be the same?

dusky cliff
#

they are

fervent lance
#

Hmm let me re-create

#

Quick question

fast wyvern
#

cya later

fervent lance
#

When you invert before a 'gate' versus after it, it confuses me so

#

Before if two inputs are inverted if you pass it a 0, 0

#

It'll invert both to 1,1