#ot1-perplexing-regexing

1 messages · Page 541 of 1

acoustic moss
#

:)

carmine niche
#

that's bad

#

like as a thing that exists

#

it takes too much work to parse

acoustic moss
#

yes

#

i agree tbh

carmine niche
#

what happened to python liking simple things

#

😔

acoustic moss
#

you can also put elses with try-excepts btw

carmine niche
#

what happened to there only being one way to do it

edgy crest
carmine niche
#

?

#

i don't like complex things

#

simple things are pog

edgy crest
#

haskell? dekubruh

acoustic moss
#

69 + 420j

edgy crest
#

yes

#

very nice

carmine niche
#

haskell is pretty simple tbh

#

it is really not all that it's hyped up to be

#

most of its image comes from academic elitism i would say

#

well

#

let me correctr

#

i don't like useless complex things

#

and i prefer a useful simple thing to an equivalent useful complex thing

#

but that doesn't mean i dogmatically despise complex things

acoustic moss
#

what would be your simple alternative to the prime thing

#

a boolean flag?

carmine niche
#

but i stand by what i said about haskell not being that complicated

#

yes

acoustic moss
#

same

carmine niche
#

in fact i have used a boolean flag in the past

#

when i did my primes thing

#
p, c = [], 2
while True:
    f = True
    for x in p:
        if p ** .5 > c:
            break
        elif c % p == 0:
            f = False
            break
    if f:
        p.append(c)
        print(c)
    c += 1
harsh tundra
#

I sometimes do things like using a loop only to search for some thing but I don't think I ever used else

carmine niche
#

discord has so many little ui quirks that they are just too fucking lazy to fix

#

god i hate discord the company so much

gritty zinc
#

I've done prime sieves in Python, but I don't know how infinite ones work

carmine niche
#

ms can't buy them soon enough

gritty zinc
#

something something modification to the algorithm...

carmine niche
#

i mean afaik what i've done is as good as it gets if you're looking in something sieve-like that generates an infinite list

#

ofc you could make it better by implementing more efficient prime checking algorithms

gritty zinc
#

huh, really?

tardy rain
#

Doubtful things will improve if ms buys tho

carmine niche
#

why

gritty zinc
carmine niche
#

that is what i was referring to as well

tardy rain
#

Why would there be improvements

#

Skype sucks

#

Teams sucks

#

X msft product sucks

carmine niche
#

skype is a different platform from a different time that was bought by ms under different leadership

#

look what ms did to github

gritty zinc
#

...that does resonate with me, Skype went to absolute shit about when MS bought it.

gritty zinc
sterile sapphire
#

Skype 🥴

carmine niche
sterile sapphire
#

everyone uses Zoom

#

Zoom is going to make less money soon bc of the vaccines

gritty zinc
#

Zoom isn't equivalent to Skype, so that's not a fair comparison...

#

...but it's hard to see why people don't use https://meet.jit.si/ instead of zoom

graceful basin
#

I quite like skype tbh

carmine niche
#

with very few exceptions you can't survive just by having a good product alone

tardy rain
#

Idk wouldnt hold my breath for some megacorp to do nice things

gritty zinc
#

fair enough, I also didn't until I found a mention of it as an opensource zoom alternative

#

(jitsi itself is opensource, not sure about the meet.jit.si service provided by 8x8, but that's still a whole lot better than a Chinese company lol)

carmine niche
acoustic moss
#

discord is dying? 🤔

tardy rain
#

Personally tho, not an xbox gamer so i dont care about all that noise and something better or at least equally good takes time to be propped up to the point discord is

carmine niche
#

they keep adding new half-baked features that they stole from someone's youtube project instead of fixing bugs, adding support, increasing performance, responding to customer complaints..

#

yes i'm eyeing you, stages

tardy rain
#

DISCORD STORIES WHEN

sterile sapphire
#

yeah I saw they stole something from Ben Awad

carmine niche
#

i mean ben awad didn't actually accuse them of stealing it but like

#

come on

#

come on

sterile sapphire
#

🥴

carmine niche
#

you can't tell me they didn't steal it

inland wolf
#

well

sterile sapphire
#

they "borrowed" it

#

every thing in software is stolen

inland wolf
#

as he says they both solve a different problem

sterile sapphire
#

or a combination of things you already know

inland wolf
#

discord is more private

#

dogehouse allows people to gain a following

carmine niche
inland wolf
#

yes

#

but this happens all the time

#

YouTube and Instagram have tiktok clones

#

reels is a tiktok clome right?

carmine niche
#

i mean yeah basically

#

but like

inland wolf
#

yes

carmine niche
#

those things are also pretty stolen

#

so i don't see your argument

inland wolf
#

whats my argument

carmine niche
#

idek

inland wolf
#

same

#

was there an argument?

#

hm

carmine niche
#

you started off with it isn't stolen bc they do different things and then you said something about how it happens all the time

#

and i was like yeah i don't see your point bc yes, people steal software all the time that doesn't make it not stealing

inland wolf
#

well i didnt say that they didnt steal it

#

i just told what ben told

carmine niche
#

idk man

inland wolf
#

also isnt clubhouse the same thing

#

?

carmine niche
#

from my perspective he seems to be implying they stole it, just that it doesn't matter to the survival of the project

inland wolf
#

its only on iPhone tho ri

carmine niche
#

like the "it isn't a copy because the bg color is different" is totally a sardonic, plausibly deniable way of saying "yes, they stole my idea"

inland wolf
#

yea lol

#

that was good

carmine niche
#

reminds me of ice ice baby

acoustic moss
#

have y'all watched tom scott's video on copyright

#

its' 40 mins+ long

#

but its Tom Scott so it doesnt matter

carmine niche
#

yes i have

acoustic moss
#

ok

inland wolf
acoustic moss
#

ok

#

continue watching from the halfway mark

inland wolf
#

lol

winged sparrow
#

i need help

#

i'm trying to install mods and stuff for a mc server and it keeps saying two things

#

i have literally no idea how to fix it i have tried everything

harsh tundra
#

Try disabling your antivirus software for the time of installing it. I had problems with Avast literally snatching one file from steam game and breaking it. Had to whitelist the file

#

Also, before installing, go to file's properties and unlock the file. Windows does something to downloaded files.

molten stag
#

I am confused why os is made in c language while the native code generated in c is read by the os itself

inland wolf
#

because its not only the os that reads the code

sterile sapphire
#

I'm getting very naruto and sasuke vibes

#

and I don't quite like it

#

it feels very lazy

molten stag
inland wolf
#

machine reads machine code

#

but to edit that code its easier to read it when it's in c

#

since its not just 1s and 0s

molten stag
#

c > native code > is read by os.
but the os is written in c? this is chicken and egg problem

#

i dont understand

graceful basin
#

a very small part of the OS is written in assembly

#

that part loads other things and sets things up such that compiled C works

molten stag
graceful basin
#

assembly is just a different representation of machine code

#

since reading raw bytes is inefficient

molten stag
#

i still dont get it

#

but thanks for your answer

acoustic moss
#

Compiler magic
-pip install *, 4/4/2021

sterile sapphire
#

Compiler magic
@west zephyr

#

oh no it pinged you

#

sorry

last mantle
#

Hi

gritty zinc
#

otn a compiler magic

inland wolf
#

that would be a good otn

small perch
#

should i install kali or linux?

harsh tundra
small perch
#

i mean, kali still an os, right?

harsh tundra
#

yes. as I said, kali is a linux distro

#

so "kali or linux" is like saying "square or rectangle". squares are rectangles

tardy rain
#

Ubuntu or bust

low chasm
#

Lol

vague hatch
low chasm
#

Ubuntu is nice

#

i use archcraft

vague hatch
#

Ubuntu made my Laptop better btw

#

Faster

low chasm
#

Yeah linux tends to do that

#

Its lightweight on system resources

#

Main reason I installed archcraft on my laptop

rich moon
#

when windows itself is 30gb or sth

low chasm
#

Lol

mild abyss
#

so

#

who are the feudal lords?

harsh tundra
tardy rain
#

The ones in japan like 500 years ago

halcyon bone
#

what are your views on paid linux distros

#

(that don't provide a free download alternative)

vapid nymph
#

typically don't do it

halcyon bone
#

i hate them imo

#

i know linux is open source and allows copying for commercial usage

#

but still, i don't understand making people pay for them

sterile sapphire
#

holy shit I can't watch mr robot in front of my parents

#

I didn't know the show was this graphic

mild abyss
mild abyss
halcyon bone
#

they should still allow free downloads

#

imo

uneven oak
#

imagine copyrighting latters

sinful mantle
#

@vapid nymph lets not interrupt the other channel

vapid nymph
#

oh uh

#

i didn't remove the legacy link stuff

sinful mantle
#

acutally

sinful mantle
#

thats a neat idea, being able to get the source of a command

vapid nymph
#

but from github*

#

!src src

royal lakeBOT
#
Command: source

Display information and a GitHub link to the source code of a command, tag, or cog.

Source Code
vapid nymph
#

rather than parsing its own source

#

it parses github

#

so when i'm updating commands and stuff isn't always matching the main branch in github, as long as its in the same file with the correct name, it will get the correct source

sinful mantle
#

yeah thats a fair concern

#

hence the neat idea

#

could expand that to search any repo, possibly

vapid nymph
#

Yeah

sinful mantle
#

or well, just any code file

vapid nymph
#

Exactly

#

My bot has like 3 commands right now but it does all of it better.

#

An eval command, an invite command, and a source command ablobjoy

sinful mantle
#

eval better than jishaku? no way

vapid nymph
#

Yes, you can view the source of any 2 commands with the source command

#

Better than [most bots]

sinful mantle
#

lol fair

vapid nymph
#

No idea what jishaku is lol

sinful mantle
#

!pypi jishaku

royal lakeBOT
vapid nymph
#

Big specific of the eval command

#

No textwrap

#

None.

sinful mantle
#

lol

vapid nymph
#

Unlike the bot I originally took the eval command from

#

I ended up totally rewriting it

#

Viewing jishaku

#

Interesting....

#

Might use it for my next bot...

#

I'm having enough fun with building the entire framework

#

And I think I'm learning more too by doing just about all of it

sinful mantle
#

hey, if its fun more power to you

vapid nymph
#

I'll put "fun" this way..

#

Typically I write a bunch of code

#

Then do some Google search or ask some question and then replace it with a much shorter thing using a different library

#

In the upside, I'm learning a whole lot of string manipulation methods

sinful mantle
#

heh

vapid nymph
#

And also learning about a lot of fun libraries

#

In the downside, my diffs typically are add
Add
Add
Add
WHOA remove a while bunch replace with little bit

sinful mantle
#

kinda like me wanting to make my own ebook renderer for a epaper display, and then deciding fuck it, ill just use LaTeX

#

because yea

#

rendering ebooks is not easy just with pillow

vapid nymph
#

Oof

#

I've never used pillow

sinful mantle
#

its decent

#

just

#

not a xhtml renderer

#

so instead of rendering xhtml i decided to transcribe it to LaTeX

vapid nymph
#

Latex is a different language iirc?

sinful mantle
#

oh

#

oooh

#

latex

#

is a entire thing

brazen ingot
#

Yes

sinful mantle
#

almost every research paper is made in latex

brazen ingot
#

Its preety cool

sinful mantle
#

LaTeX ( LAH-tekh or LAY-tekh, often stylized as LaTeX) is a software system for document preparation. When writing, the writer uses plain text as opposed to the formatted text found in "What You See Is What You Get" word processors like Microsoft Word, LibreOffice Writer and Apple Pages. The writer uses markup tagging conventions to define the ...

brazen ingot
#

The way you write code is latex too in discord

sinful mantle
#

nope

#

discord has no latex support

#

that is markdown

#

a entirely diferent beast

#

and so so so much smaller than latex

#
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}

\usepackage{minted}

\begin{document}
\begin{minted}{python}
def a():
    print("a")
\end{minted}
\end{document}
brazen ingot
#

Oof lol

sinful mantle
#

thats a simple python code rendered in latex using minted

brazen ingot
#

Yes

#

Exactly

sinful mantle
#

thats not exactly how discord works

#

discord uses the ``` markdown syntax

brazen ingot
#

I used to put links in text they appeard blue

sinful mantle
#

im really confused what you're talking about

brazen ingot
#

I mean do you see that blue links over text in wikipedia's articles

sinful mantle
#

thats a entirely different markup language

vapid nymph
#

^

sterile sapphire
#

Latex is used for resumes too

#

I think

sinful mantle
#

it can be used for a lot of things

#

what started this whole conversation was me rendering ebooks using it

#

which its also used for commonly, (e)books

vapid nymph
#

I believe Wikipedia and discord use markdown

rough sapphire
#

eivl why the FRICK do you have a RAM garden

sinful mantle
#

wikipedia doesnt use markdown

#

wikipedia uses wikitext

#

Wikitext, also known as Wiki markup or Wikicode, consists of the syntax and keywords used by the MediaWiki software to format a page. To learn how to see this hypertext markup, and to save an edit, see Help:Editing. Generally, coding can be copied and pasted, without writing new code. There is a short list of markup and tips at Help:Cheatsheet.
...

tardy rain
#

Where else would you grow your RAM lmao

sinful mantle
#

@viral parrot explain channel name please (eivl's-RAM-garden)

#

there

#

i did it

vapid nymph
#

Lol

shrewd ledge
#
<if><conditional type=equals><list><li>5</li><li>5</li></list></conditional><then>
  <p>5 = 5!</p>
</then>
</if>
```hypertext programming language
sterile sapphire
#

Did you even tag him

#

it doesn’t look like it highlighted

#

oh

#

yeah that’s probably good

shrewd ledge
#

@viral parrot 😔 i have less than 2 kb ram

#

OOP-

#

SO SORRY

#

IT DIDNT SHOW I SWEAR

sinful mantle
#

yeah i mean its kind on the offtopic channel name bingo card to get pinged if your name is in the title

vapid nymph
#

Laundmo

#

Laundmo

#

self bot, boys we gottem

#

Laundmo

#

@sinful mantle uh.

#

OK.

sinful mantle
#

...

vapid nymph
#

Hi

sinful mantle
#

whats up?

vapid nymph
#

It's always satisfying when nothing has exploded or caught on fire after making a change and stepping away Pepe_joyLaughLOL

vapid nymph
#

HA YES

#

@sinful mantle so i ported that command over to a bot that i cloned

#

it works flawlessly

#

again, the only requirement is that the function name and file are the same

inland wolf
#

eivl is a good ram gardener

latent plume
#

Can someone help me on a simple matlab script?

#
clear all
close all
clc


B = 3*10^19; % sec^-1
E = 347.8; % kj/kg
Tk = 293:240:6739; % kelvin
R = 8.314; % j/k*mol
p = 2200; % kg/m^3
t = 24:240:2400; %secs


w = 2200 .* B .* exp((-E) ./ (R .* Tk))

plot(w,t)
#

im just trying to plot this against time

#

but its saying that the vectors arent the same legnth even though they are

last mantle
#

eivl has a server which has like 64 gigs of RAM afaik

#

for minecraft

inland wolf
#

bruh

vapid nymph
#

@sinful mantle is hot-reload on pypi

sinful mantle
mellow spire
#

<@&267629731250176001>

sinful mantle
#

hold on

#

i initially reacted with the emojis

#

i have nitro

#

@mellow spire not a selfbot, that was literally me

mellow spire
#

oh welp, sorry for the ping then

sinful mantle
#

yeah i was messing with them a bit

#

probably shouldnt have in hindsight but yeah, definitely noone selfbotting there

#

just bananarotat_SPEED

sterile sapphire
#

What is that

mellow spire
#

banananananana

sterile sapphire
#

Are those spinning bananas

#

yeah I thought so

#

Lmao

#

Really fast spinning banana

sinful mantle
sterile sapphire
#

🥴

vapid nymph
edgy crest
sinful mantle
vapid nymph
#

yeah i figured

#

because of the lag

sinful mantle
#

you legit thought that was a selfbot?

vapid nymph
#

but wasn't sure because you reacted to the first one after not a long delay

edgy crest
#

i didnt cause you have used that emoji a lot of times before

vapid nymph
#

which is unexpected because there were no messages for a while

honest star
#

Out of curiosity, what made you think laundmo doesn't have nitro?

vapid nymph
#

nothing

sinful mantle
mellow spire
honest star
#

Ah

low chasm
#

Hi :D

sinful mantle
#

this definitely caused more chaos than i planned

#

oh well

acoustic moss
#

bananarotat

#

speeeeed

low chasm
#

Whoah

#

Banana

sterile sapphire
#

Aboo hates bananas

#

He thinks they’re cold and slimy

acoustic moss
#

its the only emote that has ever made me even want to get nitro

low chasm
#

Bananas suck

acoustic moss
#

bananarotat
slow

edgy crest
#

well yes

#

but these are banana models

sterile sapphire
#

bananas are amazing

edgy crest
#

not actually bananas

low chasm
#

Mhm, they taste bad, and are slimy

edgy crest
#

yes

sterile sapphire
#

they don’t taste bad

low chasm
#

Just no

sterile sapphire
#

I don’t know what experience you had

acoustic moss
#

duel it to the death

low chasm
#

Lol

#

Bananas suck

sinful mantle
#

banana

low chasm
#

No banana

vapid nymph
#

ducky ninja no banana

honest star
#

Let's not with the reaction spam pls

sinful mantle
#

but im literally banana colored

edgy crest
sterile sapphire
#

Did you choke on a banana chunk 🥴

edgy crest
#

found it

sterile sapphire
#

Is that why you’re like this

low chasm
edgy crest
#

banana duckie when

sinful mantle
#

lol out of context

sterile sapphire
#

a nice ripe banana is so good

low chasm
acoustic moss
#

lol

low chasm
edgy crest
#

loL

low chasm
#

Ripe bananas are the best worst

sterile sapphire
#

What did bananas do to you

sinful mantle
#

rotat

acoustic moss
#

exist

low chasm
#

They just suck

#

Just eww

low chasm
#

Slimy

sterile sapphire
#

Sounds like a problem for your tastebuds 🥴

#

not mine

inland wolf
#

🍌👍

edgy crest
#

woah

#

banana emoji has green

#

booger

low chasm
acoustic moss
#

wot

inland wolf
#

bruh

low chasm
#

Banana bad

sterile sapphire
#

Banana good

acoustic moss
#

Banana rotat

inland wolf
low chasm
sterile sapphire
#

Yes

low chasm
#

No

acoustic moss
#

ok

sterile sapphire
#

Yes

low chasm
#

Banana slimy bad and horrible

sterile sapphire
#

Banana excellent

carmine niche
#

hey we had this conversation the other day

low chasm
#

No

carmine niche
#

personally i dislike bananas but i like banana bread

low chasm
#

Yes

sterile sapphire
#

Banana good

edgy crest
#

booger? noobthink

acoustic moss
#

banana starts with b
bad starts with b
convinced yet sheeple!?!?

inland wolf
edgy crest
#

wtf

inland wolf
#

hes got the banana gun

low chasm
#

Oh no please

#

Bananas suck

sterile sapphire
#

They’re amazing

inland wolf
#

no

#

yes

low chasm
#

No

edgy crest
low chasm
#

No please

sterile sapphire
#

Aboo eats lemons over bananas 🥴

acoustic moss
#

lemon pog

low chasm
#

Lemons are SO much better

carmine niche
#

lemons are pog

sterile sapphire
#

What

carmine niche
low chasm
#

Lemos pog

sterile sapphire
#

They’re so sour

acoustic moss
#

yes

sterile sapphire
#

Bananas are amazing

acoustic moss
#

that's the point

low chasm
#

That's the point

#

Oh lol

acoustic moss
#

jinc

sterile sapphire
#

bananas are sweet

acoustic moss
#

x

low chasm
#

Rip spelling

acoustic moss
#

lol

inland wolf
#

bruh gow do u eT lemozn

low chasm
#

Suck

inland wolf
#

how* eat* lemons*

acoustic moss
#

bruh gow do u eT lemozn

inland wolf
#

but they are sour

sterile sapphire
#

God knowd

inland wolf
#

lol

sterile sapphire
#

they’re so sour

#

Terribly sour

inland wolf
low chasm
inland wolf
#

lemonade is good

acoustic moss
#

yes

low chasm
#

Yeah

inland wolf
#

oh u like sour stuff

sterile sapphire
#

Banana are amazing

acoustic moss
#

no

low chasm
#

No

#

Bananas suck

inland wolf
#

yes

#

banana >>>>

mellow spire
#

!otn a laundmo's banana garden

low chasm
#

Lol

inland wolf
#

laundmos rotato bananas

low chasm
#

Bananas are horrible

sterile sapphire
#

!otn aboo is wrong about bananas

low chasm
#

No I'm right

acoustic moss
#

yes

sterile sapphire
#

wrong

low chasm
#

Right

inland wolf
#

what kind of bananas have u been eating

sterile sapphire
#

Wrong

low chasm
edgy crest
#

i sometimes pluck some half sliced lemons in my mouth ¯_(ツ)_/¯

low chasm
#

Yes

edgy crest
#

in summer

low chasm
#

Delicious

acoustic moss
#

yes

inland wolf
sterile sapphire
#

Bad for your teeth 🥴

inland wolf
#

ikr

acoustic moss
#

good for your soul

low chasm
#

Yes

sterile sapphire
#

but bad for your teeth

acoustic moss
#

soul > teeth

inland wolf
#

no point of soul without teeth

low chasm
#

My inner spirit must be fed

acoustic moss
#

no point of teeth without soul

sterile sapphire
#

Yeah you say that when you damage your teeth 🥴

low chasm
#

Mhm

inland wolf
#

well

sterile sapphire
#

And can’t eat

inland wolf
#

u can use it for fertilizer

acoustic moss
#

use what

inland wolf
#

cant use souls for fertilizers can you?

low chasm
#

I just absorb the lemon

edgy crest
#

ur soul

sterile sapphire
#

🥴

acoustic moss
#

you can't use teeth for fertilizers

edgy crest
#

soul fertilizers amirite

inland wolf
#

exactly

low chasm
#

Lol

inland wolf
#

no u can

acoustic moss
#

no

sterile sapphire
#

Bananas don’t damage your teeth

inland wolf
#

yes

sterile sapphire
#

Bananas are good

edgy crest
#

they damage your stomach

acoustic moss
solemn leaf
#

Morning

low chasm
#

Bananas damage your soal

acoustic moss
#

yes

inland wolf
#

no

low chasm
inland wolf
#

they don't

low chasm
#

Yes they do

inland wolf
edgy crest
#

just eat watermelons, grapes and mangoes

sterile sapphire
#

Banana don’t damage your soul 🥴

low chasm
#

bad bananas bad

inland wolf
#

banana is good

sterile sapphire
#

Bananas are good

inland wolf
#

high potassium

sterile sapphire
#

muscles

inland wolf
#

great of potassium lovers

acoustic moss
#

K

inland wolf
#

for*

edgy crest
#

grapes are the best

inland wolf
#

no

edgy crest
#

yes

acoustic moss
#

my pun tho

inland wolf
#

grapes are round

edgy crest
#

juicy

acoustic moss
#

cmon

low chasm
#

Bananas suck

#

Grapes are good tho

edgy crest
#

and sweet

sterile sapphire
#

bananas are amazing

solemn leaf
#

Banana + salt + spice + one fork is fine

inland wolf
#

banana is bananan shaped

edgy crest
#

watermelons and mangoes are great

acoustic moss
#

lemon is ball

inland wolf
#

its so cool it has its own shape

edgy crest
#

juciy

acoustic moss
#

no

edgy crest
#

and sweet

acoustic moss
#

it's cucumber shape

inland wolf
#

no

low chasm
#

Lol

acoustic moss
#

yes

edgy crest
#

if banana had water in it i would eat it

acoustic moss
#

what

low chasm
#

Cucumbers are good

inland wolf
#

cucumber is an impostor

#

when the cucumber is sus

low chasm
#

Pfft

inland wolf
#

otn that

#

plz

solemn leaf
#

Banana chipsss

inland wolf
#

lol

edgy crest
inland wolf
#

banana chips

acoustic moss
#

banana chips is acceptable

inland wolf
#

i bet u don't have grape chips

edgy crest
#

yeah those are nice

inland wolf
#

ha

edgy crest
#

who needs them

#

ew

low chasm
#

Lol

acoustic moss
#

potato cool

inland wolf
#

exactly

#

who needs grapes

edgy crest
#

potato chips supreme

sterile sapphire
low chasm
#

Potatoes are nice

sterile sapphire
#

Get refuted 🥴

acoustic moss
#

bruh

edgy crest
#

save water guys

#

eat fruits

#

dont drink water

#

like me

low chasm
#

Watermelons are pog

inland wolf
#

we share 50% of our dna with bananas

low chasm
#

Watermelons are delicious

solemn leaf
low chasm
inland wolf
#

wtf

#

bruh

inland wolf
#

lol

solemn leaf
#

Xd

#

Oh beat saber

low chasm
#

Lol

inland wolf
#

FRUIT NINJA

solemn leaf
#

That's french fries

inland wolf
#

NOT BEAT SABER

#

omg

solemn leaf
#

Fruit ninja on VR

inland wolf
#

bruhhh

edgy crest
#

omg

#

bruhh

#

its fruit ninja

#

yes

inland wolf
#

ikr

solemn leaf
#

I ain't getting the name lol

inland wolf
solemn leaf
#

B4uh

edgy crest
#

back when fruit ninja was the sole entertainment source

solemn leaf
#

Subway

#

Surfers

edgy crest
#

hmm

solemn leaf
#

Temple run

#

Talking tom

#

🥴

inland wolf
#

man

#

now it's Fortnite

solemn leaf
#

For keeds

#

Thank God my childhood was spent with GTA

inland wolf
#

ol

acoustic moss
#

vIOlenCe

inland wolf
#

ikr

edgy crest
#

thank god my childhood was spent with tom and jerry

acoustic moss
#

same

#

kids these days amirite

low chasm
#

Lol

inland wolf
#

ikr

#

uncultured

edgy crest
#

yes

#

ikr

low chasm
#

I'm 14

acoustic moss
#

fucking teenage boomers

solemn leaf
#

Yes

acoustic moss
#

Yes

inland wolf
#

lol

low chasm
#

Lmao

solemn leaf
#

+Spongebob

edgy crest
#

hmm

solemn leaf
#

😩

inland wolf
#

man

#

the creator died :'(

edgy crest
#

:'(

#

tom and jerry ended sadly too

solemn leaf
#

Yep

#

Btw

#

Warner Bros were making a remake

#

Ikr

edgy crest
#

no thanks

#

dont ruin

#

it

solemn leaf
#

Lol

#

That Tom and Jerry and today's won't make sense

#

Xd

#

If it were to be made

inland wolf
acoustic moss
#

sadly

inland wolf
#

ok

edgy crest
#

very sadly

solemn leaf
#

Remember smthin?

#

🤣

#

Scariest kids cartoon be like

edgy crest
shrewd ledge
#
<assign name="variable" type="string">
  <form action="return">
    <label for="input">Code example: Enter a string</label><br>
    <input type="text" id="input" name="input" value="example"><br>
    <input type="submit">
  </form>
</assign>

<p><variable name="variable"></p>
```htpl
edgy crest
#

ikr

#

:'(

acoustic moss
#

dog

#

and weird old people

solemn leaf
#

yems

#

yes

acoustic moss
#

yeah i was too scared to watch that

edgy crest
#

pink doggo

#

amirite

acoustic moss
#

i think so

solemn leaf
#

Ikr

tribal aurora
#

lol i accidentally typed "do a barrel roll" in google lol

edgy crest
#

"accidently"

tribal aurora
#

?

edgy crest
#

why would someone accidently type do a barrel roll

tribal aurora
#

arrows

edgy crest
#

thats way too specific for google's easter egg

#

o reccomendation

tribal aurora
#

yes

#

just pressed down arrow twice and that's what happened

solemn leaf
#

Hm

inland wolf
#

true

keen wigeon
#

Sometimes i feel some people in the server are jumping ahead of themselves into very complicated stuff for themselves

#

Mostly in game development where people just come in and straight up ask how to "start making a game" or "how to use/learn pygame/arcade/panda/etc." Without any previous experience

#

What im trying to say is that it looks like too many people outside of programming think that making a game is easy and come and ask these questions like it wasnt a big deal

#

Many of these people just ask for a quick fix in their codes and i just cant take the time to really tell them that they need some more knowledge to do what they want to achieve

#

Look im nobody to judge how people learn but the other day a guy asked to fix his pygame code and after a while of helping him i got to know that he doest even know about list and indexes.

#

Btw he was trying to do a lot in pygame

#

I dont know about you but i thinl lists and indexes is something very simple

#

End of rant

gritty zinc
wise schooner
#

the first thing ppl do to learn python is make a discord bot 🙃

keen wigeon
#

Look i dont want to sound bad or mean but sometimes i will like to have like some type of dedicated channels for newbies and for not so newbies

wise schooner
#

they will just enter the not-so-newbies channel to do their games lol

keen wigeon
#

I feel like there is a diference between learning python for the first time and upgrading your python knowledge

wise schooner
#

inb4 i wanna do machine learning to start with python.

keen wigeon
#

I know a lot about pygame and i will like to ask some serious questions about game dev but when i get to the game dev channel it always seems to be full of newbies asking their stuff. And feels like the channel revolves around begginer learning

gritty zinc
#

though math background probably helps a lot in programming in general

gritty zinc
#

I'd say so, machine learning is a very mathy area

#

it's pretty weird in general for someone to get a math education without ever have done programming, though

wise schooner
#

i never tried machine learning myself... what topics do you need from maths?

#

i dunno linalg lemon_angrysad

gritty zinc
#

linear algebra for even the basics

wise schooner
#

lol

gritty zinc
#

this xkcd is basically literally true

wise schooner
#

damn

#

i gotta read up on them soon...

#

they are taught in uni, right?

#

we just have basic matrices, determinants and vectors in our current syllabus :(

gritty zinc
#

yeah, it's taught in uni

#

for just understanding forward and backpropagation, though, you just need to know how matrices multiply

#

and be able to calculate derivatives, for backpropagation

wise schooner
#

well... i know derivatives and how matrices multiply pithink

gritty zinc
#

really liked this course, as does everyone, apparently

#

it's not in Python, though.

#

but it's mostly concepts and math, so...

inland wolf
#

4 million students

wise schooner
#

yeah, any language works lol

gritty zinc
#

yeah, it's a super popular intro course

inland wolf
#

4.9 rating DAMN

wise schooner
last mantle
#

ok so

#

CBSE?

wise schooner
#

yeah lol

last mantle
#

C++ or python?

wise schooner
#

python

#

they don't teach c++ properly anyways

#

(nor python but who cares)

last mantle
#

but you said the other day that you dont have data structs in syllabus 😔

inland wolf
last mantle
#

what

latent scaffold
#

It's always either Python or Java

last mantle
#

how

wise schooner
#

stacks and queues are not counted lol

last mantle
#

ah ok

#

lol

#

i got real confused there

wise schooner
#

those are like... the extreme basics

last mantle
#

ye

latent scaffold
#
#include <stdio.h>
#include <string.h>

int main(void) {
    const char *s = "Hello, world!\n";
    char c[strlen(s)];
    strcpy(c, s);
    printf("%s", c);
    return 0;
}

Oh wow, I'm so clever

inland wolf
#

no

gritty zinc
#

wow, you need to declare a no-argument function as (void) in C? that's wild

latent scaffold
#

It's not necessary, but there is a difference between doing so and not

acoustic moss
#

i don't think it's necessary

latent scaffold
#

I think it's mostly for prototypes

#

but can't hurt to put them anywhere, I guess

graceful basin
#
int fun() {}
int main(void) {
    fun(1, 3, 4, 5);
}
```is valid C
fresh basalt
#

@latent scaffold If you're going to write C you should get into the habit of using strncpy instead of strcpy.

graceful basin
#

when using a VLA, it is fine to use strcpy, but yeah, ncpy is better in the general case

inland wolf
#

whats the difference

graceful basin
#

strcpying a 1000 long into a 1000long array is a bug

#

so actually, that is a bug

latent scaffold
#

I'm confused

graceful basin
#

all strings must end in 0

inland wolf
#

\0 right

#

nul

#

?

graceful basin
#

yeah, \0 is the char, 0 is the int

inland wolf
#

right

graceful basin
#

(well, '\0' is also an int, but shhhh)

latent scaffold
#
#include <stdio.h>
#include <string.h>

int main(void) {
    const char *s = "Hello, world!\n";
    char c[strlen(s) + 1];
    strcpy(c, s);
    c[-1] = '\x00';
    printf("%s", c);
    return 0;
}

Can't you just do this?

graceful basin
#

strcpy will put the null there. So that is fine

#

but strncpy is more safe, since you actually have to think about how much space is in the destination

latent scaffold
#

oh. strncpy wouldn't

graceful basin
#

strncpy also would. All the string function keep that correctly

fresh basalt
#

sorry I'm not awake yet I meant to suggest strlcpy or strlcat

latent scaffold
fresh basalt
#

those are less shoot-yourself-in-the-foot-y

graceful basin
#

they are posix

fresh basalt
#

lol you're right

#

I shouldn't give advice right after I wake up

graceful basin
fresh basalt
#

the point is you're going to overwrite your buffer or someone else is

latent scaffold
#

lol I'm so confused

fresh basalt
#

Then they will nop-sled into RCE

#

ho ho ho

graceful basin
#
#include <stdio.h>
#include <string.h>

int main(void) {
    const char *s = "Hello, world!\n";
    int x = '3';
    int l = 1;
    char c[l];
    int y = '3';
    strcpy(c, s);
    printf("%s %s %c %c", c, s, x, y);
    return 0;
}
```I wonder VLAs get compiled such that this works
latent scaffold
#

oh yes. int x = '3'

graceful basin
#

'3' is an int

inland wolf
#

yes

#

it will be the character code

#

right

graceful basin
#

it's only a char in c++

latent scaffold
#

wack

#

I guess that'd be like the C equivalent of '3' as u8 in Rust

fresh basalt
#

aleph one's seminal "smashing the stack for fun and profit" touches on str[n]cpy

#

we've come a long way since then but it's good to read at least for historical purposes

graceful basin
#

fun fact, if you don't use a VLA to allocate the buffer and just use a normal compile time array, the y will get overriden with the 0 it can't put into the char[14]

#include <stdio.h>
#include <string.h>

int main(void) {
    const char *s = "Hello, world!\n";
    int l = 1;
    int x = 1;
    char c[14];
    int y = 1;
    strcpy(c, s);
    printf("%s %s %d %d", c, s, x, y);
    return 0;
}
fresh basalt
#

I love C

#

I appreciate this environment. Thanks guysandgalsandnonbinarypals.

#

I think I like this Discord server for the most part.

latent scaffold
#

My brain hurts

fresh basalt
#

lol that means it's working

latent scaffold
#

not for long

fresh basalt
#

What's pithink meant to imply?

wise schooner
fresh basalt
#

I don't know the names of everybody.

wise schooner
#

discord names

fresh basalt
#

That's a lot to name and I don't think I can name all of the people who have made me feel welcome so far.

#

But what does pithink mean?

wise schooner
latent scaffold
#

I've come across illegal C

wise schooner
#

an objectively better version of 🤔

latent scaffold
#

С

#

What is С... why is it weird

fresh basalt
#

I've come across unethical C.

wise schooner
#

umm, no, i was talking abt pithink lol

fresh basalt
#

@wise schooner Thank you.

graceful basin
#

C is in this weird dychotomy where it is somewhat high level, but still exposes low level details more most high level languages

fresh basalt
#

C gives you freedom to do what you want, even if that is to metaphorically run through a plate glass window.

wise schooner
#

which language doesn't allow you that?

graceful basin
#

python

#

I can't get a buffer overflow with python (unless you start calling into C)

fresh basalt
#

A lot of modern languages are designed with safety in mind.

wise schooner
#

you can't exploit the C api/ctypes etc to do low level stuff?

#

ah

latent scaffold
#
#include <stdio.h>
#include <string.h>

int main(void) {
    char *c = "С";
    for (int i = 0; i < strlen(c); i++) {
        printf("%i", (int) c[i]);
    }

}
#

Why's this gotta print -48-95 D:

#

This С is illegal

fresh basalt
#

What do you mean illegal?

latent scaffold
#

I understand now

wise schooner
#

there's legal C too?

latent scaffold
#

С

#

vs C

#

Why on Earth do we need multiple Cs

#

I replace the С with C and it prints 67

gritty zinc
#

!charinfo СC

royal lakeBOT
graceful basin
#

C doesn't like string literals with non ASCII characters

gritty zinc
#

congrats, you met our russian С

latent scaffold
#

Why on Earth

#

what makes a C Russian

gritty zinc
#

heh, that'd be a nice name for a C successor. С.

fresh basalt
#

vodka

latent scaffold
#

lol

graceful basin
#

unicode has duplicate characters in order to make sure that the russian alphabet is contiguous in codepoints and on a single codepage

gritty zinc
latent scaffold
#

Y'all out here programming in C. I program in С

fresh basalt
#

Unicode is like a dark and scary forest.

gritty zinc
#

so I have many times forgotten to switch the language and injected a cyrillic С into my unsuspecting code 😩

latent scaffold
#

How messy

fresh basalt
#

Welcome to i18n

graceful basin
#

Unicode has so many pitfalls

#

.lower in turkish does something different from .lower everywhere else

latent scaffold
#

Gotta feel bad for the people who can't install Python because they've got an illegal С in their Windows username

graceful basin
#

python handles unicode really well

fresh basalt
#

yes

graceful basin
#

it has issues with unix filepaths, which aren't valid unicode though

latent scaffold
#

Does it? I always see people who can't install Python because they've got funky Windows usernames

graceful basin
#

really? That seems like an odd issue

gritty zinc
#

I have a folder D:\PROGRAM_FILES in addition to my D:\Program Files. One guess what it's for.

latent scaffold
#

funky as in... symbols from their language

fresh basalt
#

@gritty zinc Program files?

latent scaffold
#

lol

fresh basalt
#

:D

inland wolf
#

ha

graceful basin
#

fascinating, that seems like a pretty severe flaw that really should've been fixed a while back

gritty zinc
inland wolf
#

lol

fresh basalt
#

What is this, DOS?

gritty zinc
#

you fucking wish

acoustic moss
#

C > С
change my mind

gritty zinc
#

2021 and some programs still can't do spaces

#

The folder of shame.

graceful basin
#

didn't have that issue yet

fresh basalt
#

We're not a very advanced species, give us a break.

graceful basin
#

but I also use 0 of those programs

latent scaffold
fresh basalt
#

hey, strawberry

wise schooner
fresh basalt
#

strawberry is great

acoustic moss
#

@wise schooner i disagree

inland wolf
#

ok

gritty zinc
#

!e

print(sorted(["C","С"]))
royal lakeBOT
#

@gritty zinc :white_check_mark: Your eval job has completed with return code 0.

['C', 'С']
inland wolf
#

lol

acoustic moss
#

told you so

wise schooner
latent scaffold
#

What've I started lol

acoustic moss
#

i still don't C your point

graceful basin
#

!e

C = 'C'
С = 'C'
print(sorted([С, C]))
royal lakeBOT
#

@graceful basin :white_check_mark: Your eval job has completed with return code 0.

['C', 'C']
latent scaffold
#

wait that's cheating

#

wait

#

is that cheating

inland wolf
#

lol

wise schooner
#

yes

latent scaffold
#

I can't tell if that's cheating

fresh basalt
#

what even is cheating?

wise schooner
#

that's the wrong C smh

inland wolf
#

guys its not cheating!!

wise schooner
#

yes

#

С is ahead of C 😎

latent scaffold
#

next gen obfuscation

#

just swap out random Cs

acoustic moss
#

evil

graceful basin
#

fun fact: python normalizes that, so you can do that in a python program and it should mostly just work

inland wolf
#

are there people who do this?

gritty zinc
#

hmmmm

graceful basin
inland wolf
#

yea

gritty zinc
#

is there a table mapping ascii chars to similar-looking unicode chars anywhere?

wise schooner
#

if can't be in their native language, right? 👀

inland wolf
#

dont think so

#

it doesnt translate

graceful basin
#

no, but it helps to have variables at least

inland wolf
#

yea

latent scaffold
#

programming itself is probably foreign to even native English speakers

fresh basalt
#

Someone's probably written something like that to convert text to leetspeak or whatever @gritty zinc

gritty zinc
#

the problem is the translation table

#

could use OCR to autogenerate it, lmao

#

...but I can't use tesseract

fresh basalt
#

I've seen all types of code filters.

wise schooner
#

i have never seen one

gritty zinc
#

muahahahaha

#

okay, I'm doing this

#

time to do evil

fresh basalt
#

That's cool.

latent scaffold
#

sounds about right

fresh basalt
#

Have fun.

acoustic moss
#

softly don't

fresh basalt
#

I'm not surprised in the slightest that you found that on their site.

#

Hah, apparently for the low, low price of $100 you too can adopt a unicode character.

latent scaffold
#

ⲤCꓚ𐊢

#

oh no

#

there are so many

fresh basalt
#

There are lots of languages.

latent scaffold
#

ⲤCꓚ𐊢𝖢Ⅽ

#

o_o