#ot2-the-original-pubsta

652 messages ยท Page 76 of 1

wide totem
#

I can flush any site from cloudflare too

#

just flushed google from google

keen burrow
#

Now I really want to setup my own nameserver, well done

wide totem
#

joe's already done that i think

keen burrow
#

Joe made his own internet

#

He doesn't count

wide totem
#

Joe is joe

#

that like

#

disqualifies him instantly

keen burrow
#

Ye

grim seal
#

yeah it's more a decentralised resolution system, it's just "keep trying until you get to the right result", you could infinitely return nameservers and add on a subdomains each time (up to 128 iirc)

keen burrow
#

lol

#

So do you walk one subdomain per nameserver or something

grim seal
#

Ask the roots, roots ask the TLDs (your registrar pushes that to the TLD), ask your root NS, if it knows it'll tell you otherwise it'll delegate to another NS and so on

#

not a bad idea

#

yeah you can walk anything you desire

wide totem
#

hm

keen burrow
#

So if I want to make my DNS server I just query the root server and let it do its thing?

wide totem
#

afk, working on documenting current features of modmail bot :)

#

tldr: currently loads plugins, very well

tribal tinsel
#

@grim seal since you're here... what do you want for your bd? ๐Ÿ˜„

grim seal
#

DNS is "I have the answer, or I know who does"

wide totem
#

so, Joe wants DNS.

tribal tinsel
#

Joe has DNS already :c

grim seal
#

mobile signal exploding

keen burrow
wide totem
#

joe wants all the DNS

grim seal
grim seal
#

wellll

#

if you are implementing a recursive resolver, yeah

keen burrow
#

I need to find a flowchart somewhere

grim seal
#

you presumably use something like 1.1.1.1 or 8.8.8.8 or 9.9.9.9 which does that recursion for you

keen burrow
#

What if I am 1.1.1.1 though

tribal tinsel
keen burrow
#

Once Joe started on networking you can't stop him

wide totem
#

yeah

wide totem
keen burrow
#

Who is doing it?

wide totem
#

and most domain registiars run their own DNS servers I think*

grim seal
#

hahah sorry Nicky my mobile signal is just awful

grim seal
#

so from a recursive resolver you'll never get a NS record (or... shouldn't hahaha)

#

generally resolvers use QNAME minimisation nowadays which means that instead of asking the root for PythonDiscord.com. you ask just for com. because privacy!!!

grim seal
grim seal
keen burrow
#

Assuming akarys.me is a custom ns and can't be served directly by me or some shit like that

keen burrow
#

That's cool

wide totem
#

huh

#

github actions are down

grim seal
#

sometimes companies run their own NSs like ns1.company.tld which uses glue which is so cool! but even more wild

wide totem
#

LOL

#

LOLOL

#

tomorrow: sunset

#

today: github actions fails to work

#

I think its related.

wide totem
keen burrow
#

Just give Joe a few months

#

and the ASN 69420 Python Discord will be operational

grim seal
wide totem
#

ask them for it

#

i'm sure they'll say "sure, we've unlocked it for you"

grim seal
#

lmfao

wide totem
#

and even offer "if you ever want access to our source code, let us know"

#

ooh

#

ian just fixed the other bug ๐Ÿ‘

nimble umbra
#

how to host python bot from repl it 24/7

lucid osprey
# nimble umbra how to host python bot from repl it 24/7

Learn how to code a Discord bot using Python and host it for free in the cloud using Repl.it. Along the way, you will learn to use Repl.it's built-in database and create a Discord bot that uses webhooks to connect with GitHub.

Need help with this tutorial? You can ask questions here: https://forum.freecodecamp.org/

This course was developed by...

โ–ถ Play video
pliant trench
#

this is a great feature

#

cuz you're too weak xD

#

jk

#

it's not available in this server/channel

jade bolt
#

probably not. i think you can switch to ipv6

tribal tinsel
#

there's no such thing as "machine ip address". machines don't have ip on their own, they have mac addresses (or rather their network cards have them), also called physical address.
IP is a property of a device in network, one device can have many ip addresses or none.
ipv4 is IP version 4

devout ingot
tribal tinsel
pliant trench
#

What's that

#

@tribal tinsel "Cisco CCNA materials"

lucid osprey
#

yay

#

naise

rigid echo
#

@languid osprey How can I save a init.vim file?

lucid osprey
tranquil ridge
#

could probably go NaN

lucid osprey
#

what

#

will it..slow down after a while or smth?

cedar turtle
lucid osprey
#

it will stop after a while right?

#

the movement of the pendulum

cedar turtle
#

no, there's no air friction

#

no less in kinetic energy

lucid osprey
#

but gravity..

#

tis not enough to slow it down and stop?

cedar turtle
#

conservation of mechanical energy mate

#

its not going to lose energy at all

tranquil ridge
#

yeah theres no damping, but its possible that angular acceleration goes out of control

cedar turtle
#

the ke is going to be converted into potential energy

dusky cliff
#

ye

lucid osprey
#

o

#

ic

wheat aurora
#

@jovial island Please don't post random memes here. This isn't the server for that.

sinful sun
#

a double pendulum

pliant trench
#

did you make it ?

tranquil ridge
#

yes

pliant trench
#

great

#

how

tranquil ridge
#

code? lol

pliant trench
#

ye

#

how

tranquil ridge
#

direct formula

pliant trench
#

I don't really understand that formula lol

tranquil ridge
#

the drawing is in raylib c++

pliant trench
#

oh not python?

tranquil ridge
#

nop

pliant trench
#

How did you import that formula in code

tranquil ridge
#
            double p1Acc = -g * (2.0 * m1 + m2) * sin(t1);
            p1Acc = p1Acc - g * m2 * sin(t1 - 2.0 * t2);
            p1Acc = p1Acc - 2.0 * m2 * v2 * v2 * l2 * sin(t1 - t2);
            p1Acc = p1Acc - m2 * v1 * v1 * l1 * sin(2.0 * (t1 - t2));
            p1Acc = p1Acc / (l1 * (2.0 * m1 + m2 - m2 * cos(2.0 * (t1 - t2))));

            double p2Acc = (m1 + m2) * l1 * v1 * v1;
            p2Acc = p2Acc + g * (m1 + m2) * cos(t1);
            p2Acc = p2Acc + v2 * v2 * l2 * m2 * cos(t1 - t2);
            p2Acc = p2Acc * 2.0 * sin(t1 - t2);
            p2Acc = p2Acc / (l2 * (2.0 * m1 + m2 - m2 * cos(2.0 * (t1 - t2))));```
pliant trench
#

lol

#

ok

#

What does this formula even do

tranquil ridge
#

calculates angular acceleration

#

you add that to angular velocity

#

which is added to the angle

#

and then that is converted into coordinates

#

and that would be the position of both the pendulums in the next frame

lucid osprey
#

damn

pliant trench
#

oh

jovial island
#

now spawn 100 with slightly different initial conditions

tranquil ridge
#

lol

dusky cliff
#

his laptop would probably die at 5

#

kekw

tranquil ridge
#

no

dusky cliff
#

ok

tranquil ridge
#

its not taking any cpu

#

:p

dusky cliff
#

ok

median blade
#

:p

median blade
#

:w

jade walrus
#

Out of context, this would sound really weird

rigid echo
#

neovim

median blade
#

bruh

languid osprey
#

:q is quite

#

:wq is save and quit

lunar basin
#

lol, classic

slate leaf
#

I think this is the first time I have seen "how to exit vim" in the wild

quasi spire
#

heh, already pulling out?

civic plank
#

how hard is that beat drop lemon_exploding_head

exotic hound
#

what is the purpose of swapping two variables?

lunar basin
#

sometimes you have to

exotic hound
#

๐Ÿค”

#

any examples?

lunar basin
#

sorting a list in place

lapis python
#

i love this version of paparazzi

civic plank
#

same lol. definitely great for a heavy lift

lapis python
#

highkey better than the original

#

plus it brings back awesome memories for me lmao

civic plank
#

the one i linked is the looped tiktok version, there is this full version

#

this one does contain a heavy metal part

#

its like a mix of heavy metal and pop

tawdry salmon
#

I love the misspell in the channel name lmao

steel eagle
#

now that's how you spell vivek's name

fresh reef
#

what

#

there isnt a prefix!!!!!

#

dark magic asf

rigid echo
vocal acorn
#

I love overengineering things

#

I turned

print(00000)
print(00000)

into

twodPrint = []
y = 0
xLen = 5
yLen = 2
printLine = ''

for i in range(yLen):
    twodPrint.append([])
    for x in range(xLen):
        twodPrint[i].append(0)



for x in twodPrint:
    for i in x:
        printLine += str(i)
    print(printLine)
    printLine = ''
sharp spoke
#

yall ever feel like if you had a topic to make something on it is easy... but if you are made to decide the topic it is harder

wheat rock
#

in 90% cases i have a plot

sharp spoke
wheat rock
#

so i just begin the process of how are we going to do this rather than what are we gonna do

sharp spoke
#

for cs

wheat rock
#

lmao

#

ok

#

then

#

tell me the maximum marks

sharp spoke
#

i have no clue what to make

wheat rock
#

using python right

sharp spoke
#

if just choosing topic was easy

sharp spoke
wheat rock
#

imports are allowed?

sharp spoke
#

most of the things i have made already are rule 5 grey area.. so not allowed ๐Ÿ˜”

sharp spoke
wheat rock
#

damn

#

sql

#

then do something relatable with databases

sharp spoke
#

as a fall out plan i might make library management system

wheat rock
#

lmao

#

and then append names

#

hmm

sharp spoke
#

library management isnt half bad

#

but its just everyone makes the same thing

wheat rock
#

make something which makes you different

#

but the constraint is sql

#

lol

sharp spoke
#

i mean anything with data storage

median blade
#

i would love to cancel vivek

sharp spoke
#

using csv is allowed too

wheat rock
#

๐Ÿ‘€ are gui allowed

#

using a gui to handle data

odd sphinx
sharp spoke
#

i am not in mood to learn GUI just for some project :/

wheat rock
#

end key + V I V E K

median blade
#

start with tkinter

wheat rock
#

10

sharp spoke
#

zee, dhz what class are you?

wheat rock
#

zee is 11

sharp spoke
wheat rock
#

dhz is 12 ++

median blade
#

yes

sharp spoke
wheat rock
#

yes

#

anyway

#

so 15 marks and what are we gonna do is on the console

sharp spoke
median blade
#

yes

wheat rock
#

100% sure

sharp spoke
somber belfry
median blade
#

where

median blade
wheat rock
somber belfry
median blade
#

Indeed!

somber belfry
#

reduced to atoms

rustic harborBOT
#

Make a banGER prOJeCT , ThIS is thE tIMe To show yoUR PyDiS eXperIencE SkIlLS

sharp spoke
wheat rock
#

wow thats too much

sharp spoke
wheat rock
#

you can learn a gui in maximum 3-4 days

#

as simple as thaT

sharp spoke
#

eh well i mean something like <1 hr a day

#

since i gotta do science projects too

wheat rock
#

wot they are asking for science as well

wheat rock
#

so i would also be asked to do these in 12th fuck

median blade
sharp spoke
median blade
#

i had no sci reports or whatever

sharp spoke
median blade
#

ah

#

those

#

only for chem and comp

sharp spoke
median blade
#

this year

north cedar
#

Is C the basis for all programming languages

sharp spoke
median blade
#

heh

wheat rock
#

schools reopening from 16th ๐Ÿ‘€

#

also not mandatory to go

sharp spoke
wheat rock
#

they hate him

#

because he speaks the truth

median blade
#

well comp is easy

wheat rock
#

/shrug

somber belfry
#

#CancekVivek yoda_pensive

median blade
#

chem i did some food adulteration bs

sharp spoke
wheat rock
#

lol

sharp spoke
wheat rock
#

i would go for a database handler with kivy

median blade
#

um for comp i did hospital database management or some shit heh

#

i was a total noob in py back then

wheat rock
#

learning py via school

median blade
wheat rock
#

weird days

sharp spoke
sharp spoke
median blade
#

ah

#

idk, saw some previous year projs, copied some stuff etc

#

worked out for me

sharp spoke
#

i honestly dont remember half the stuff they teachin us

wheat rock
sharp spoke
median blade
#

why do those chapters exist

wheat rock
#

to waste our productive

sharp spoke
#

i have a question of why does chem as a whole exist... but okay

sharp spoke
#

uh just in case if you have some prev yr projects.. could you send to refer?

median blade
#

all projects are in school

#

i did a study on chili, pepper, sugar, turmeric, oil adulteration

sharp spoke
#

ah okay

#

lesse how stuff goes sigh

jovial island
cedar turtle
#

we need to multiply 1/vivek with vivek

#

he will be cancelled succesfully

sharp spoke
#

vivekin sounds like a badass anakin copy from a poorly funded indian starwars

cedar turtle
#

lmao

median blade
#

lmao

dusky cliff
#

vivek-chan ๐Ÿ˜ณ

somber belfry
#

okay, what the fuck is going on

odd sphinx
#

yes

dusk ledge
#

this teach lead guy lmaooo

#

I wish he was just playing a character. Feels like it is a real guy

jade bolt
echo flower
#

you know

#

i want to test the invite protection

#

to see if it is idiot proof

#

anybody wanna be my guinea pig?

jade bolt
#

nah i have too many infractions. do it yourself

#

like i have 8

jade bolt
cedar turtle
#

i have 0 infractions im squeeky clean

jade bolt
#

thats bad

cedar turtle
#

mods pls infract me

jade bolt
#

everyone knows more infractions are better

cedar turtle
#

ye

dusky cliff
jade bolt
#

ask akarys how many infractions he had

daring jay
#

*he

cedar turtle
jade bolt
#

no

dusky cliff
#

no

tranquil ridge
#

no

cedar turtle
#

no

daring jay
#

akarys is male

dusky cliff
#

unless he has been lying to us ๐Ÿค”

jade bolt
#

its super keyboard super auto correction sorry about that

jade bolt
dusky cliff
#

fascinating

tranquil ridge
cedar turtle
#

Moderators, I am humbly requesting you to provide me with an infraction such that I no longer have 0 infractions and thus escaping the liability of being called a nerd by Lord HSP

echo flower
#

you know

#

i might test the infraction system

echo flower
#

to see if it's idiot proof

dusky cliff
#

wow did you just call me a random dude

#

that's a ban

cedar turtle
echo flower
#

LMAO

dusky cliff
#

bruh

echo flower
#

it's not idiot proof ๐Ÿคฃ

dusky cliff
#

dont try it

jade bolt
cedar turtle
#

fixed it

dusky cliff
echo flower
daring jay
#

It deletes all server invites, besides those that are whitelisted server ids

echo flower
#

it apparently isnt idiot proof

#

which is a shame

#

for idiots like me

jade bolt
daring jay
#

wdym?

jade bolt
#

like if an user used the eval command to

cedar turtle
jade bolt
echo flower
#

now I have one infraction ๐Ÿคฃ

cedar turtle
echo flower
#

yay

cedar turtle
#

how

jade bolt
cedar turtle
#

!user @echo flower

clever salmonBOT
#

You may not use this command on users other than yourself.

cedar turtle
#

bruh

wheat aurora
echo flower
#

hmmmm lmao

jade bolt
rustic harborBOT
wheat aurora
#

@jade bolt you do realize our own server is whitelisted and that we escape it, right?

cedar turtle
#

this might be useful

jade bolt
#

i wont use other server links to

cedar turtle
#

.randomcase python is such a slow language

rustic harborBOT
#

pYtHoN IS such A SLOw LAngUaGE

jade bolt
#

because thats risky

echo flower
wheat aurora
#

But like I said, intentionally trying to bypass our filters will result in an infraction.

cedar turtle
cedar turtle
#

and he's intentionally trying to get a infraction lol

jade bolt
daring jay
#

With your own instance of the bot? Sure

echo flower
#

no infraction yet ยฏ_(ใƒ„)_/ยฏ

#

cmon infract me

#

i need atleast one

#

then ill be a good boi

odd sphinx
#

bruh

#

just make a joke

#

a bad joke

echo flower
#

lmao

dusky cliff
odd sphinx
#

i do have infractions

dusky cliff
#

you'd have more

echo flower
odd sphinx
#

no i have enough

jade bolt
#

๐Ÿ˜ˆ

echo flower
cedar turtle
#

im going to make bad joke

#

!e ```py
women = object
print(women is object)

clever salmonBOT
#

@cedar turtle :white_check_mark: Your eval job has completed with return code 0.

True
cedar turtle
#

mods pls no ban jus joke

odd sphinx
#

that was a bad joke

cedar turtle
#

yes

dusky cliff
#

yeah

odd sphinx
#

like

jade bolt
#

wtf is object

tranquil ridge
odd sphinx
#

its just not laughable at

cedar turtle
#

!user

clever salmonBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

dusky cliff
cedar turtle
#

everything in python is object

tranquil ridge
#

btw guys i got advice for you

#

dont trust atoms, they make up everything

cedar turtle
#

literally everything

jade bolt
echo flower
#

ow my eyes

cedar turtle
jade bolt
#

idk that thing is in python

odd sphinx
#

its that easy

odd sphinx
#

nice one

echo flower
cedar turtle
clever salmonBOT
#

@cedar turtle :white_check_mark: Your eval job has completed with return code 0.

001 | <class 'type'>
002 | <class 'type'>
cedar turtle
#

bro cringe

jade bolt
#

no

dusky cliff
#

?

cedar turtle
#

no

jade bolt
cedar turtle
#

int is object

#

range is object

jade bolt
#

no

echo flower
#

Did you hear about Oxygen's and Potassium's date? It went O-K

cedar turtle
#

list is object

#

your classes are object

jade bolt
#

no

cedar turtle
#

modules are object

odd sphinx
#

when u do class Something: its actually class Something(object):

jade bolt
#

wtf is "object" in that code

odd sphinx
#

just a class

echo flower
#

lmao

dusky cliff
#

its a builtin

jade bolt
#

ok

#

!e object

clever salmonBOT
#

@jade bolt :warning: Your eval job has completed with return code 0.

[No output]
jade bolt
#

:( i know too few

tranquil ridge
#

t

cedar turtle
#

everything is an object

#

EVERYTHING

jade bolt
tranquil ridge
#

np bro

cedar turtle
#

EVERY SINGLE GODDAMN THING

jade bolt
cedar turtle
dusky cliff
clever salmonBOT
#

@dusky cliff :white_check_mark: Your eval job has completed with return code 0.

True
jade bolt
#

like i dont think if is object

cedar turtle
#

its a keyword

#

not a thing

#

thing is something you can do stuff with

jade bolt
#

i cant set keyword to object

cedar turtle
#

pass it into functions

#

do operations on it

#

its a thing

somber belfry
cedar turtle
#

for is not a thing

echo flower
cedar turtle
#

imagine having no infractions

somber belfry
#

I had no infractions

cedar turtle
#

you have no infractions??

#

impossible

#

yoda must be infracted now

echo flower
somber belfry
#

now I have 28

echo flower
cedar turtle
#

i was once the youngest person on this planet

jade bolt
#

i had more

#

than that

#

and all automutes are invalid

#

so uh

#

i only have 3 that are valid

somber belfry
#

automutes are infractions

jade bolt
#

;(

somber belfry
#

but we usually disregard them

#

depends on the context

dusky cliff
slate leaf
#

!user

clever salmonBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

slate leaf
#

No infractions for me (this is not a request for one btw)

echo flower
#

!user

clever salmonBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

elfin vine
#

Any tips what error to raise if neither of two optional are passed?

round moss
#

generally, ValueError

elfin vine
#

Yeah I feel like that's the closest match, but still doesn't feel quite perfect

#

Python raises a TypeError if you don't pass a required positional argument though

echo flower
#

so why not do that

#

to keep consistency

elfin vine
#

!e ```py
def test(arg1, arg2):
return None

test(1)

clever salmonBOT
#

@elfin vine :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 4, in <module>
003 | TypeError: test() missing 1 required positional argument: 'arg2'
elfin vine
sinful sun
#

Positional args arent optional tho?

echo flower
#

you could do function missing required optional argument: arg1 or arg2

elfin vine
#

Positional arguments can be optional though, just give it a default

round moss
#

IG typeerror could also work

#

the function's type is a union of the two signatures and all that

rotund python
#

@round moss new meme then

#

I think my python habits will travel to another language though

#

I wonder how would they look like in golang

round moss
#

but it is definitely a good language to know

rotund python
#

well, unix compatibility is not problem for me

#

i work in unix, I code for unix

round moss
#

yeah, it is not all that significant for backend work

rotund python
#

I mean, python with its nice try catch system... makes code essentially in a convinient way written...

#

...that makes logic really simple

#

we can just... jump straight to what we need, without making addiotional checks in advance. Better be sorry than over protecting

round moss
#

go can do that too

rotund python
#

really? cool.

round moss
#

just well, slightly verbose while doing it

#

and instead of getting an error, you get attempt to access nil

rotund python
#

I can catch different types of self made exceptions in golang too?

round moss
#

there are no exceptions

#

you return value, error tuples

#

if the error is non-null, sth went wrong

rotund python
#

well, I guess I'll try and see how it will go

round moss
#

go for it

#

I should write a graphQL framework for raku

rotund python
steel eagle
#

I hate go syntax so much lol

round moss
#

that's the part I kind of like

steel eagle
#

It's a good language objectively

#

But it's so ugly to me

rotund python
#

may be it will become better

#

Python 3.10 was not made from the start too

round moss
#

it might get better, yeah

#

well, we shall see

#

I do not bet on go, but it also here to stay

#

docker and kubernetes are in go

#

and those technologies have an infinite lifetime

#

(unless podman decides to stop simping for systemd and makes kubernetes 2)

steel eagle
#

Well it would be an entirely new language if they changed enough to make me like it

round moss
#

I feel like one of nim Dlang V Julia ponylang will end up really important in the future

#

but well, which one, who knows

#

maybe haxe will get outside of gamedev

#

the real question is will we have JS singularity at some point

#

TS is really really good, and well, can you really improve on sharing code between frontend and backend

rotund python
round moss
#

yes

rotund python
#

not the best looking assemble language.

#

but well, nothing stops it from being impossible

#

except for it being a bit bloating and slow

#

in its minimized state it takes not a lot of place I guess

#

or still a lot? hmm

clear gust
#

@round moss I think I might not use the Flex... seems like it will be difficult to get.
If over the next few days I can't get it I'll just go for the 1OCPU AMD one lemon_angrysad

round moss
#

fair enough

clear gust
#

I think it's a 'real' availability problem btw
(as in I don't think they are just somehow magically making life hard for always-free use)

#

I can't even use the maxed out 80OCPU version which isn't free, since I have trial credits

daring jay
#

because ts is essentially js

#

if you know ts, you know js

keen burrow
#

@jovial island i haven't cooled yet

odd sphinx
#

bro hes wildin ๐Ÿฅถ ๐Ÿฅถ ๐Ÿฅถ

dusky cliff
#

i need friends like that

odd sphinx
#

i remember when we were in 9th grade

#

and during talents day they were dancing to an epic song (epic at the time)

#

and the whole auditorium started shaking because we jumped in our seats in harmony

lucid osprey
#

damn

odd sphinx
#

fun times

lucid osprey
#

I wish my school was as enthusiastic

odd sphinx
#

well 50% started doing it then 99% started doing it

#

lol

lucid osprey
#

the only 'fun' we have is during the picnic

dusky cliff
lucid osprey
odd sphinx
#

:"(

lucid osprey
#

3 picnics gone

odd sphinx
#

bruh i found the song we were vibing to

#

lol

#

damn

#

why does this feel like it was 2 years ago

dusky cliff
#

missed opportunity for rickroll

odd sphinx
#

oh wait it was

odd sphinx
dusky cliff
#

ok

odd sphinx
#

too nostalgic rn bro PensiveFluent

lucid osprey
wide totem
#

Er just gotta click into it

lilac vale
#

@frosty shore but thats blue-

frosty shore
lilac vale
#

the box thingy around the python logo waitwhat

frosty shore
#

did oyu sample it fromt he discord logo

lilac vale
#

nope

#

ill send you the source

frosty shore
#

whats the hex code of it?

lilac vale
#

heres the color palette i used

frosty shore
#

bruh can you tell me the hex ๐Ÿ˜ญ

lilac vale
#

yeah one sec

frosty shore
#

sex lol funny

lilac vale
#

#4c69f6

lilac vale
frosty shore
#

WAIT GIVE ME THE PALLETE LINK

dusky cliff
#

epic branding @lilac vale

daring jay
#

^

lilac vale
#

thank you ๐Ÿ™Œ

pale nova
#

INDEPENDENCE DAY AFTER 2 DAYS

jovial island
median blade
#

hmm

daring jay
median blade
#

india

daring jay
#

Ah

jovial island
#

.so create stack

rustic harborBOT
#

Here are the top 5 results:

Regarding the usage of lock records in the implementation of thin-locks in HotSpot
Open stack Octavia quota exceeded for resources and failed
MySQL Query (Sub Queries + Composed Functions + JOIN operations) takes too long to run
node.js fastest way to decode hex string as utf-16
Creating stacked vertical bar graphs with bokeh, with dates as x
jovial island
#

wow nice

#

Nice one @hidden lintel !

hidden lintel
#

ty

shy shadow
#

this server image is best

bright ridge
odd sphinx
#

no

bright ridge
#

I mean tamil nadu

#

oh ok

shy shadow
jovial island
#

its a state in india

shy shadow
bright ridge
lucid osprey
#

guys!! 4 more days until my vacation starts

jade bolt
#

wish you have a good trip i guess

odd sphinx
#

ez

tribal tinsel
lilac vale
tribal tinsel
#

heart_xeno <- here's a small xenogender flag emote I have

lilac vale
#

ah i see

#

noice

tribal tinsel
civic lion
#

Oh so it's like they/them

rigid echo
#

@grim seal happy burrrday!

jade bolt
#

@grim seal happy bruhday!

grim seal
#

tyty

median blade
#

hmm

pallid violet
#

@grim seal happy birthday ๐Ÿฅณ ducky_party

grim seal
#

tyty

pastel nest
#

it's @grim seal's birthday? HAPPY BIRTHDAY JOE hyperlemonpy_guidolemon_hyperpleased!!

wide totem
#

@grim seal happy birthday!

dusty hedge
#

happy birthday joe

cyan crypt
#

happy birthday @grim seal

grim seal
#

tyty

wild compass
#

@grim seal happy birthday ping parade!

blissful coral
#

Happy B'day Joe ๐Ÿฅณ

#

he is replying "ty ty " everytime - definitely a bot ๐Ÿ˜… ๐Ÿคฃ

wild compass
#

yeah, he should be banned for botting

#

except banned tomorrow cuz todays his birthday XD

grim seal
#

lol

jovial island
#

#bot-commands

lime drum
#

@grim seal may i interest you in a damn cheap api i found

#

14 bucks a month for unlimited requests

grim seal
#

lmfao

lime drum
foggy flicker
#

Seems like m late, happy birthday joe

echo flower
#

45 requests per min seems like a good deal tho

jade bolt
#

tried to speedrun a game with a program.

#

at first i thought it uses mouse stuff to make movements

#

and the moment i log my mouse.

#

it's not.

#

๐Ÿ˜ฆ

#

two possibility,

  1. the game doesn't use mouse at all
  2. the game prevents user from logging mouse
#

most likely it's 1

#

btw the game is getting over it

jade bolt
#

should i mail bennet and ask how the game mechanics works

#

hope he'll share

median blade
#

@hazy laurel i now have to confess that i have switched to popOS

hazy laurel
#

poor you

median blade
#

with gnome

#

lol

hazy laurel
#

eugh

median blade
#

i gotta say, gnome has been smoother than KDE for me

hazy laurel
autumn hornet
#

ew gnome

#

kde all the way

lime drum
#

im probably gonna use the free tier at first

brave sparrow
#

you guys use DEs?

hazy laurel
brave sparrow
#

cringe.

hazy laurel
#

I only know of very few simps that only use WMs

#

and I'm glad I know nobody who uses TTY

brave sparrow
#

DEs are resource intensive and heavy

hazy laurel
#

um

#

Not really

#

KDE and Xfce are both pretty good in terms of resource usage

#

GNOME is where people start to complain

brave sparrow
#

and what about none?

hazy laurel
#

None what?

brave sparrow
#

no de

hazy laurel
#

um

#

No DE is just masochism at this point

round moss
#

while I would love to use a tty, there are no good tty implementations I have seen

hazy laurel
hazy laurel
#

cause tmux supports scrolling and stuff

#

tabs, etc

round moss
#

yeah, tmux helps

brave sparrow
#

but isnt enough (for me atleast)

round moss
#

but still, you need proper fonts, resolutions etc

hazy laurel
#

idk, the desktop is what I like about Linux

round moss
#

I do generally use a WM with dmenu, since all I need is "open application fullscreen and switch between them"

hazy laurel
#

speaking of which... I switched to Wayland incredibly painlessly

#

I mainly wanted to verify the scroll speed thing

round moss
#

that's so nice

#

only took a few years, but we got there

hazy laurel
#

Well, honestly... These past couple of years I've noticed a lot more hype when it comes to Linux

#

Things like Proton are kicking off, as well

round moss
#

yeah, problems are actually getting solved

#

which is wonderful

#

at this point I would be willing to have a non tech savvy person use ubuntu and wouldn't expect them to struggle too much (except maybe with libre)

hazy laurel
#

Yeah, I had my 12-year-old brother using Xubuntu

#

the only problem was some software he wanted would be annoying to install

#

so I put him on openSUSE Leap and taught him how to use the OBS

echo flower
hazy laurel
echo flower
#

deathadder

hazy laurel
#

It's been a good $15 mouse though ยฏ_(ใƒ„)_/ยฏ

echo flower
#

lmao

#

i use a cheap logitech mouse

#

or use none at all

steel eagle
#

It may or may not do what you need

#

Can use screen or tmux as a backend

#

I refuse to run a server without it

placid patrol
#

๐Ÿ™

daring jay
#

2021 stack overflow dev survey results are out

tribal tinsel
#

Poland in top 10 of respondents, lol

hazy laurel
#

Whoa, Linux is more used for devs than macOS is now

hollow heart
#

damn 92% respondents were men

hazy laurel
hazy laurel
daring jay
hazy laurel
#

Okay but like

#

nvm idk how to counter that

#

last year it was this close as well

#

Yet another year is Rust #1 on most loved haha

daring jay
#

Now that I have played with Rust, I can see why

languid osprey
#

Arch + rust

hazy laurel
#

ugh

#

lol I find it so funny to see Eclipse all the way at the bottom of the editor section

languid osprey
#

Yeah fuck eclipse

#

Intellij is superior

compact dagger
hollow heart
#

did you participate? (i'm not a dev :P)

compact dagger
#

Yes.

lunar basin
#

i don't remember this thing

compact dagger
#

Not fun to be reminded just how much of a sausage fest tech still is.

hazy laurel
#

whoops

steel eagle
#

Yeah that's an oof

odd sphinx
#

it's just what people are interested in lolz

pliant trench
pliant trench
#

wait, Clojure is loved more than TS??

steel eagle
#

Unsurprising

pliant trench
#

hmm

keen burrow
#

Hello @rotund python, please don't send random memes here

jade bolt
#

how to make <div> auto resizes to the browser's size set right now

rotund python
jade bolt
#

!ot

clever salmonBOT
jade bolt
#

read the last part.

#

you can only post meme that are related to the topic of the offtopic channel rn iirc

rotund python
#

sneaky.

#

there is actually a rule about it %

jovial island
#

anybody able help me setup jar file as classpath ?

lucid osprey
#

what's jar and what does it have to do about python? ๐Ÿ™‚

hidden lintel
jade bolt
#

idk what java have to do with python

#

jpython?

lucid osprey
#

hm

sinful sun
#

You should be using a build tool to help you manage dependencies in java

#

Instead of having to mess with classpath

spare vapor
#

afghan has fallen

median blade
#

yeah

lucid osprey
#

its now a global spectacle

#

every tv channel I goto..

daring jay
jade bolt
#

ok

#

thanks for correcting it

daring jay
#

What's a good pure FP language to try that paradigm out?

elfin vine
#

Scala?

cedar turtle
#

is it?

daring jay
#

Scala combines OOP and FP iirc

cedar turtle
#

isn't it supposed to be a mix of oop and fp

sinful sun
#

Jabbascript

cedar turtle
daring jay
elfin vine
#

Huh, I have a couple of friends in another server who are very FP who use it.

cedar turtle
elfin vine
#

I guess Elixir is as good as you can get with a new language?

sinful sun
#

Why not just use haskell

elfin vine
#

Otherwise go with Haskell?

sinful sun
#

Whats that one haskell book

#

Learn you a haskell something

daring jay
#

I am considering PureScript as well

#

Or maybe Haskell

cedar turtle
#

F# is a good enough fp lang to learn fp

#

i don't think its pure fp tho

dusky cliff
#

i mean a pure pure fp lang wouldn't even be able to print/take input right

daring jay
#

Not in a function, no

#

Because that would be a side effect

cedar turtle
#

how does haskell do IO then?

daring jay
#

In pure fp, a function can only take input data, do stuff with it, and return data

cedar turtle
#

don't hit me with the monoid in the category of endofunctors

#

the m-word

daring jay
#

monad?

cedar turtle
dusky cliff
daring jay
cedar turtle
round moss
cedar turtle
round moss
#

And you can merge commands together

daring jay
#

Hmm, I might try PureScript.

#

The fact that it can be used in frontend sounds interesting

cedar turtle
daring jay
#

PureFunctor? Yeah, he like PureScript

cedar turtle
round moss
#

Purescript is great

#

Better than haskell in some ways

#

@cedar turtle no, returning a command is not a side effect, you are just returning some value

#

The side effect is in the runtime itself which is not part of the code you write

daring jay
#

The function itself can't execute that code, but it can tell another something to execute it, correct?

round moss
#

But keep in mind a monadic function is pure in name only, and has almost none of the advantages of pure functions

#

@daring jay yes

daring jay
#

Ok, that makes more sense

#

I was wondering how you'd do repeated tasks without constantly writing the same code

round moss
#

(it's a bit more elaborate to facilitate 2 way communication, but that's the essence)

rigid echo
#

wept

jade bolt
#

i cleared my block list

#

new start

keen burrow
#

I think I have one blocked user

nova ember
keen burrow
#

Sigh, why this blocked user keeps appearing

nova ember
#

Sori akari ๐Ÿฅบ๐Ÿฅบ

keen burrow
#

Okay, now you deserve an actual block

odd sphinx
#

bruh

nova ember
#

Me sori. Me guna gib u kaindnes

keen burrow
keen burrow
#

@twilit crescent good luck moving!

dusky cliff
#

am i missing something

keen burrow
woven hornet
#

for this conditional expression (functions inc, increments its argument by 1, and dec, decrements its argument by 1)

//first function
function plus(a, b) {    
return a === 0 ? b : inc(plus(dec(a), b)); 
}
plus(4, 5); ```
does this equate to 
```js
//second function
function plus(a,b) {
  if (a === 0) {
    return b;
  }
  else {
    return a - 1 + b + 1;
  }
}```
i think it's different? because the first function follows a recursive process like 
```js
(+ 4 5)
(inc (+ 3 5))
(inc (inc (+ 2 5)))
(inc (inc (inc (+ 1 5))))
(inc (inc (inc (inc (+ 0 5)))))
(inc (inc (inc (inc 5))))
(inc (inc (inc 6)))
(inc (inc 7))
(inc 8)
9```
while the second function is 
```js
(+ 4 5)
(+ 3 5)
(+ 8 1)
9```
#

is that correct?

keen burrow
#

You have unbalanced parenthesis in the second function

#

But yes, it is different

#

Since the second function doesn't have the logic for plus()

woven hornet
keen burrow
#

Yeah

woven hornet
#

yeah cuz i was wondering how do we know whether to just stop once or until a === 0 but yup got it thanks

sharp spoke
jovial island
#

im trying create a class path and in the document it says Batch files (in directory in system PATH) antlr4.bat and grun.bat. I added it to where I presume is the path location and its runs on the cmd now , but its not functioning when I type commands in . Any suggestions ?

odd sphinx
#

lo

steel eagle
#

Tonight I'm going to do some work towards moving my shell automation/build system out of prototyping and into a pre alpha

jade bolt
unreal sigil
#

@jovial island In my experience, learning Python, my first programming language, was far far easier than learning a human language.

#

I think it being specific helps, there's less variety, less things to learn etc etc. The slang and whatnot of human languages makes that harder

#

But even then, that's just vocab, learning the structure and pronunciation of a human language is not easy

#

Comparatively I found it much easier in programming

#

Because I can visually see the structure and syntax of the language

#

Pronunciation and listening is the big one really, learning to read another human language isn't necessarily super hard, but learning to speak it well and listen well is another matter

#

I suppose it would depend on the language, but I still think that learning pronunciation and learning to listen to it are comparatively hard to just reading it

#

I think the same could be said for programming languages in a way, like I've learnt a lot in this server just by reading other peoples code and observing conversations. But I do agree that you can pick up on words in other languages just through listening to the way in which they're used

jade bolt
#

large text

#

whats the topic

unreal sigil
#

When I say learning a language, I mean at a point other than as a young child, because the same thing applies to human languages past a certain age. You won't have a clue what's going on

#

Well, won't often, depends on the language

#

Since some languages share root words

#

I could of course be biased, I'm very new to learning human languages, started learning Korean a few weeks ago, and it's wildly different from say the jump from English to Spanish

#

Like it's been extremely easy to learn how to read, though my vocabulary isn't large yet, the actual writing system is very elegant. But pronunciation and listening is another matter

upbeat sandal
unreal sigil
#

Yeah

upbeat sandal
#

there are some similarities, but the overall processes are not comparable.

unreal sigil
#

I think my conclusion was that programming languages are comparatively easy to learn, but harder to use. While natural languages are comparatively harder to learn, but easier to use.

upbeat sandal
#

I'm not sure I agree with that assessment.

#

the goal posts for complete mastery over a programming language and a natural language are different. True mastery of a natural language requires an extensive vocabulary--should a master Python developer have the API for the top 100 PyPI packages memorized?

#

Programming languages are also required to be free of ambiguity, whereas natural languages have tons of ambiguity, and the listener applies their knowledge about the world to disambiguate.

unreal sigil
#

That's fair, I guess at the end of the day they're just different things

upbeat sandal
#

Ye

#

There are some similarities, of course. Both have syntax and semantics

#

You can diagram the syntax of both natural and programming languages

#

And then as for the semantics... PeepoShrug

upbeat sandal
unreal sigil
#

I really like it

#

You can learn it in like an hour

upbeat sandal
#

Yay

#

The fact that the letter forms are not arbitrary is called "featural" and I have no idea what to do with that information

#

But I've been holding onto it for years.

unreal sigil
#

Featural, JIT-compiled, statically typed writing system

steel eagle
#

Hangul is in fact a wonderful writing system

#

Definitely one of my favorites

#

Up there with hiragana and Cyrillic

#

My conlang is loosely based off of it

odd sphinx
#

same

pliant trench
#

What app do you guys use to setup sound on linux

median blade
#

pulseaudio?

#

idk

novel wharf
#

the synthesizer uses midi

pliant trench
#

like the problem is that, linux doesn't detect my handsfree's mic

#

and idk why

novel wharf
pliant trench
#

why would I ?

novel wharf
#

lsusb lists all current usb connections

#

it will tell you if your mic is working

#

or being detected

pliant trench
#

but the output is working

#

I can hear from that

#

but no input from that

novel wharf
pliant trench
#

Currently, I booted into windows to check if it works at all, it works

pliant trench
novel wharf
pliant trench
#

I tried

#

it didn't work either

novel wharf
#

:/

pliant trench
#

yea so weird xd

novel wharf
pliant trench
#

Arch

#

and yea I should prolly do that, thanks for your time

novel wharf
#

np

jade bolt
#

blue chat\

hazy laurel
#

omg I noticed the same thing

pliant trench
#

blue.

#

@novel wharf hey, so I did lsusb and I saw nothing related to handsfree

jovial island
#

does anyone know about ciacdo 3301 - libra primus?

lucid osprey
#

4 chan shit

#

something something cryptographer recruiting puzzle

pliant trench
jovial island
pliant trench
#

where?

#

@jovial island

brisk musk
#

we made

pliant trench
#

which one ?

#

oh

#

ok

#

send me

brisk musk
#

sent

weary wolf
#

just wanted to know

#

is anybody here from or in Afghanistan?

jovial island
#

!e

import numpy as np
some_ = np.array([
    Fraction(1, 3),
    Fraction(1, 3),
    Fraction(1, 3),
])
print(np.linalg.norm(some_-some_))
clever salmonBOT
#

@jovial island :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 | NameError: name 'Fraction' is not defined
jovial island
#

why in the world we don't have Fraction in snekbox

jade bolt
#

!e
import numpy as np
from fractions import Fraction
some_ = np.array([
Fraction(1, 3),
Fraction(1, 3),
Fraction(1, 3),
])
print(np.linalg.norm(some_-some_))

clever salmonBOT
#

@jade bolt :x: Your eval job has completed with return code 1.

001 | AttributeError: 'Fraction' object has no attribute 'sqrt'
002 | 
003 | The above exception was the direct cause of the following exception:
004 | 
005 | Traceback (most recent call last):
006 |   File "<string>", line 8, in <module>
007 |   File "<__array_function__ internals>", line 5, in norm
008 |   File "/snekbox/user_base/lib/python3.9/site-packages/numpy/linalg/linalg.py", line 2530, in norm
009 |     ret = sqrt(sqnorm)
010 | TypeError: loop of ufunc does not support argument 0 of type Fraction which has no callable sqrt method
jade bolt
#

wtf

jade bolt
#

!e
from fractions import Fraction

clever salmonBOT
#

@jade bolt :warning: Your eval job has completed with return code 0.

[No output]
jade bolt
#

works