#ot2-the-original-pubsta

652 messages Β· Page 41 of 1

echo fern
#

time for some attractive balls

lucid osprey
#

I live in ot0 srslly

jovial island
#

talking about data intensifies

grim seal
#

for the most part, stats like that are the extent of what we can pull out of metricity

#

and I think it's pretty nice that way!

jovial island
lucid osprey
#

ok time to goto sleep its 10:30... πŸ₯²

dusky cliff
echo fern
#

this is almost like a star forming

grim seal
#

because those charts are fairly non-invasive, are quite fun to look at and provide an insight that discord can not grant you (well, not easily)

#

so giving users access to those would be neat!

jovial island
#

@echo fern can I view the source code for this?

grim seal
#

conversely, we like using those to pull out things like "oh, which topical channels are high/low on activity?"

jovial island
#

ok

echo fern
#

I haven't been posting it

jovial island
#

discord has built in server insights right?

echo fern
#

it's running on ggez and some handwritten physics

grim seal
#

it does, but they're fairly generic, slow to process and have fairly bad retention

jovial island
#

could you shwo them?

echo fern
#

wow, the formation of a stuck together ball of balls actually seems like a rare event

#

I can't get another video of the same

grim seal
jovial island
#

nice

echo fern
#
Warning: a tick of dt=0.017 took 18928ΞΌs, 1.14x the target!
#

it looks like 500 balls is about my limit, for O(n^2) physics

jovial island
#

what lib did you use for the video?

#

@echo fern

echo fern
#

none

#

that's an OBS recording

#

and then I ffmpegged it into mp4

dusky cliff
#

can't you remux it to mp4 in obs itself

echo fern
#

I've spent like a day trying to figure out how to record videos directly from Rust for another project, gave up and ended up writing each frame as a png and then making ffmpeg make a video from them 😩

echo fern
jovial island
#

ok

echo fern
#

for context, I was using opencv

#

and it turned out it has some years-old problems with some users

#

like, I've found threads of it dating back to 2015

#

and none of the fixes worked for me

wide totem
#

!teleport 2015

echo fern
#

the images->png->mp4 via ffmpeg route actually worked pretty well

#

but I don't want to follow the same route for 60FPS videos πŸ˜…

jovial island
#

how did you make the images

echo fern
#

directly, pixel by pixel

wide totem
echo fern
#

passed a Vec<u8> of RGB values to image::png

#

aww

#

Custom Cargo profiles are a nightly feature πŸ˜”

#

that's a big sad

#

I wanted

[profile.final]
inherits = "release"
lto = "fat"
jovial island
#

get nightly :P

echo fern
#

is it worth it just for this?

jovial island
#

idk :P

echo fern
#

oh wait

#

I think I have it already

#

but wait, won't that mean I'd have to build for nightly too...

wide totem
#

nooooooooo guys

#

hurry

#

we must beat the rush

#

m!stats

grim seal
#

literally just this line

wide totem
#

pydis privacy policy > all others

echo fern
#

hmm, I'm running out of ideas about what to do with my balls

round moss
#

Newtonian orbits

#

or did you do that already?

#

also boids

echo fern
#

not in this project, but I've done it before

wide totem
echo fern
#

oh, I know, maybe

#

add a periodic force and see how they behave

echo fern
#

I also implemented pausing, lol

hazy laurel
#

pop rocks lmfao

#

why it shift up and down, though

wide totem
#

@echo fern stop playing with your balls smh

echo fern
hazy laurel
#

ohh

echo fern
#

hmm, maybe I can simulate an asteroid field

median blade
#

yus

wide totem
#

this channel died sadly

#

we failed

jovial island
#

yert discord's api is weird

for any activities where the use or failure of the APIs could lead to death, personal injury, or environmental damage (such as the operation of nuclear facilities, air traffic control, or life support systems);
echo fern
#

welp

#

guess it's time to implement spatial hashing or something 😩

#

1000 balls is weak

#

I need better-than-O(n^2) collisions

echo fern
#

holy shit

#

spatial hashing is amazing

#

I went from being able to simulate 2000 balls at 0.5x speed to being able to simulate them using only 6% of the tick time

#

and that's using an inefficient algorithm where I recalculate the spatial hash each tick

#

oh wait, I messed up 😩

jovial island
#

@languid osprey i require your help

languid osprey
#

Sure lol

echo fern
#

I've achieved working spatial hashing.

jovial island
#

Nice

jovial island
hazy laurel
#

more like colliding octogons :/

echo fern
#

that's just me using a high tolerance for their rendering

#

the physics is proper

wide totem
#

@grim seal

grim seal
#

I have done something fantastic

wide totem
#

But can ns jail have a virtual desktop?

#

That's why it uses docker

#

.gh repo onerandomusername/CloudAHK

rustic harborBOT
grim seal
#

this is great

grim seal
#

there is another thing for that sort of stuff

wide totem
#

Which is like ns jail but has desktops?

#

Hm....

#

Gotta try it

grim seal
#

sort of? worth reading the page

wide totem
#

Because ideally this wouldn't use docker

#

So it could instead be deployed within docker

#

And not interested in making it nest docker containers if that's even possible

grim seal
#

sandboxing desktops is difficult

wide totem
grim seal
wide totem
wide totem
grim seal
#

lol

#

nice

wide totem
#

It runs autohotkey code and returns an image as a result

#

Eventually anyhow

#

Cool thing is it took that screenshot with autohotkey ablobjoy

#

I didn't write that code

#

But moving it to fire jail does seem possible kinda.

#

Hmmmm

echo fern
#

hmm

#

how would a regex to detect strings that look like regexes look like?

hardy prairie
#

@echo fern

#

You would need AI to do that

#

regexes just contain characters

#

and a computer can't tell a regex apart from a normal string unless it is told already

#

which is which

echo fern
#

regexes most certainly don't look like most other strings

hardy prairie
#

to us

#

cuz we are humans

#

we know

echo fern
#

for example, you can do things like detect "one of range" patterns like [a-z]

#

those are very indicative

#

also anchors and lookbehind/aheads, they have a distinctive syntax

#

the main problem is doing that via a regexp, which is why that's a challenge πŸ˜›

hardy prairie
#

remember computers are just 0s and 1s

#

they have no way of telling if a string contains the answer to the universe

#

or a string that roasts you

#

it is easy because we are humans

#

and our brains just know its a regex

echo fern
#

sure, but they have plenty of ways of telling if a string contains certain patterns indicative of regexpes, as I outlined above πŸ˜›

#

you seem to think like I believe there's a magic "find regexp" button somewhere

hardy prairie
#

liek in python

#

the re module

#

or in javascript

#

the 2 slashes

#

/regex boi/

echo fern
#

I don't think you get my original question

hardy prairie
#

techincally you could

#

you could make a regex to listen for characters that regexes use

#

but regexes don't contain all the symbols

#

they are used interchangeably

#

and regexes can't deal with that

echo fern
#

suppose you have a ton of strings. Some of them are regexpes, and some aren't. Detect, with as much accuracy as you can, the ones that are - and the massive limitation is that you need to do so via a regexp that matches the regexpes.

hardy prairie
#

see my point above

#

regexes don't even have to have symbols

#

they can just be a word

#

"match this work pls ty"

echo fern
#

yeah, simple string literals are valid regexp

hardy prairie
#

and all the symbols are interchangable

#

which means you can't just listen for one

#

you have to listen to all of them

#

and some are used in common english

echo fern
hardy prairie
#

for example the $ sign

echo fern
hardy prairie
#

it appears often in formal literals

hardy prairie
#

the regex .+

#

is just as valid as some 700 character behemoth

#

there is too much variation in the symbols, the length, and the difference

#

you would need something that works like a human brain to pick it out

#

computers don't really understand context

#

so you need one that does

#

in short, AI

echo fern
#

you seem to be trying to argue "this task is hard" as if it means "this task is silly and impossible".

hardy prairie
#

it can be done

#

but you wouldn't be able to use regexes

#

which is what your question requires

echo fern
#

in fact, watch me:

r"[^A-Za-z\s]"
#

matches any special char. Already better than random chance at detecting regexpes πŸ˜›

hardy prairie
#

true

echo fern
#

proceed further to exclude combinations of special chars that are common in normal text, include ones that are common in regexpes...

hardy prairie
#

that would kind of work

#

but not really

#

the % sign, $ sign, and & sign all appear often

#

in normal english

#

all are valid regex characters

jovial island
#

About the dollar sign, you could see if they appear at the end

echo fern
#

not in the same context as in regexps

hardy prairie
echo fern
#

look, you're trying to argue that there's no way to distinguish regexps from normal strings

hardy prairie
#

we need to tell the program specifically this is a regex

hardy prairie
#

with the r string

echo fern
#

yet for some reason I suspect that you can, in fact, distinguish that [^A-Za-z\s] is far more likely to be part of a regexp than of a normal string πŸ˜›

hardy prairie
# echo fern So?

in the context of generic strings there is no way to distinguish each other

#

if you removed the r and made it a normal string you would have nothing special about it

echo fern
#

you do realize that this is a best-accuracy task, not a "theoretically perfect" task, right?

hardy prairie
#

but i suppose this is as close as you could get

echo fern
#

I'm not claiming that regular expressions and "normal strings" are disjoint subsets πŸ˜…

hardy prairie
#

well i have one last argument

#

what about invalid regexes

#

@echo fern

#

like the regex

#

%&4984\s\d\h^&

#

or something

#

idk im no regex master

#

the point is that this is not a valid regex and could not work if used

echo fern
#

syntax errors that make the regex invalid are probably even easier to detect than most signs of a regex

hardy prairie
#

but how would you

#

you said yourself

wide totem
#

@grim seal fire jail runs the wine desktop on my own desktop

#

Oh wait I think I missed something

hardy prairie
#

so you have no way to detect syntax errors if you were to try and use the regex

wicked hollow
#

"*" isn't, for instance

blissful coral
#

in short, AI
how does AI fit into this?

wicked hollow
#

You can't make a regex that matches regexes, because regexes can't match arbitrarily nested parentheses.

#

That is, the grammar of a regular expression is not itself a regular language, and so it cannot be validated with a regular expression.

echo fern
#

oh, I hate this a lot

wide totem
echo fern
#

I don't

#

and decided to torture you people with a question

scarlet totem
echo fern
#

not quite what the comic mentions, but... so, how'd you write a regexp to find files that look like regexpes? πŸ˜›

jovial island
languid osprey
#

eyy

jovial island
#

were at half of ot0 hahaha

languid osprey
#

Lol

daring jay
#

Is eivl's lawn nice?

#

Or nah

jovial island
#

Very, I haven't seen it though

languid osprey
daring jay
#

Really?

languid osprey
#

best lawn ever

daring jay
#

That's good.

echo fern
#

otn a who cuts eivl's lavn

languid osprey
#

Lol

jovial island
#

God

daring jay
#

eivl cut's eivl's lawn

languid osprey
#

does he though?

daring jay
#

Deleted to send it to message-logs

#

My message was so weird

#

Since I didn't finish typing.

languid osprey
#

Lol

wide totem
#

Eivl has the best lawn SmirkingThinking

echo fern
#

message logs go so fast no one will notice that I am

wide totem
#

Agreed

jovial island
#

cya in a bit have to go install kde on arch

daring jay
#

Ik. But I still had to mention it because my message was so screwed up.

languid osprey
daring jay
#

Dang, only 2 online mods (mod only)

languid osprey
#

Lol

echo fern
#

Mods are asleep, post pics of eivl's lawn

languid osprey
#

Pretty

daring jay
#

Pretty sure this is what you mean

languid osprey
#

yes

#

Eivls lawn best lawn

unreal sigil
#

Where's the ram garden?

languid osprey
daring jay
#

Ram garden?

unreal sigil
#

Where eivl grows his ram

languid osprey
#

Duh

daring jay
#

I see.

scarlet totem
wide totem
full marlin
wide totem
#

Ikr

#

So, what do you wanna meme talk about

full marlin
#

my economics paper 😦

#

killing me inside

#

all I do is copy paste

languid osprey
full marlin
languid osprey
#

PFFT

full marlin
#

it was funny

languid osprey
#

MEME

atomic mantle
#

memeys

upbeat sandal
#

@sturdy relic guess where I'm pitching my tent tonight

daring jay
jovial island
#

aw fuck i broke arch ill have to install again tomorrow

daring jay
#

Can I join you all out there?

jovial island
#

of course theres enough room on the lawn

daring jay
#

One question. Is the grass fluffy?

#

Enough to comfortably sleep on?

jovial island
#

hell yeah it is

daring jay
#

Pog

jovial island
#

@sturdy relic ive pitched my tent

wide totem
#

How would you know

#

Unless

jovial island
lucid osprey
#

damn xithrius is an admin now?

#

πŸ‘ lemon_fingerguns_shades

median blade
#

Chris too

#

how can you forget Chris lemon_sentimental

lucid osprey
#

I never forgot.

#

.

median blade
#

delete that

#

dont shame me

#

:(

tranquil ridge
#

..

lucid osprey
lucid osprey
#

.topic

rustic harborBOT
#
**What is your earliest memory of Easter?**

Suggest more topics here!

lucid osprey
#

No.

rugged portal
#

Is the new codeblock comming to the python server? I asked this bout a week ago any plans of implementing it?

mint phoenix
#

you mean text file embedded previews?

rugged portal
#

Yes.

mint phoenix
#

it was here and then it wasn't

#

it's a moderation hazard so it was disabled

rugged portal
#

Oh so we won't be seeing it again?

mint phoenix
#

at least i think that's how it went pithink

#

the bot doesn't filter it's contents the same way codeblocks are, so it was an easy way to bypass them.

#

the botto would have to download every previewed attachment i think in order to do it

rugged portal
#

I see what you mean you'd actually have to open the file as bot the scan it.

mint phoenix
#

yep

rugged portal
#

That would be pretty much stuff for the bot to do.

mint phoenix
#

that's a fair bit of bandwidth, but we could probably manage it. but then it's possibly a point of weakness to the bot that could cost us money lol

rugged portal
#

Yeah i get what you mean, thanks for your time man.

mint phoenix
#

no probs! to clarify though, i dunno if it's a forever thing, you never know what happens later on

#

feel free to ask anything else later on if you want too πŸ™‚

lucid osprey
#

Hi.

hollow crystal
#

@sturdy relic this is your land are you happy

north reef
#

do people still use x86 assembly?

hazy laurel
#

Do people still use assembly?

north reef
#

do people use assembly?

hazy laurel
#

I doubt any sane person does

north reef
#

python:
print(such_and_such)

#

assembly::
ererrwweijepoijip:{
mowjfowjfof
{
cwpoijoiweemp
}}
{
Xo4{
whateveryahyahyah
dothis and that read here 0x5a whatever that number means
}
}

hazy laurel
#

yes

north reef
#

yes

hollow crystal
#

plz

hazy laurel
#

no

hollow crystal
#

if u join leave a msg

lucid osprey
#

what is this game btw?

hollow crystal
lucid osprey
#

yeah what is it?

#

about

hollow crystal
#

no download

#

needed

lucid osprey
#

I'll pass.

hollow crystal
hollow crystal
#

OOOF

wide totem
#

the irony

daring jay
#

I liked Akarys's green.

#

Now it's gone.

#

From both him and Xithrius.

dusky cliff
#

i didn't like it

#

messed with the smooth gradient in the member list

daring jay
#

Nah

#

Now the Admins part is too big on my screen.

keen burrow
#

Haha

wide totem
daring jay
#

I can barely see the mods.

wide totem
#

there's now more admins than moderators online at any given time

keen burrow
#

I mean as I said ealier in ot0 if I could keep just the color, I would

wide totem
nova ember
#

I love messing up the staff gradient

daring jay
wide totem
nova ember
#

He's really been putting some serious effort into this community

lucid osprey
#

ye he's cool.

wide totem
lucid osprey
#

yeah haha.

nova ember
#

πŸ‘€

wide totem
#

i don't want that to happen

#

because his name is Chris

dusky cliff
#

alphabetical

wide totem
#

and it would destroy joe being at the top

jovial island
north reef
#

indeed

jovial island
#

hello

daring jay
#

@keen burrow Just curious, why did you step down from Open-Source Lead?

keen burrow
#

Long story short, I don’t think I’m the right fit for this role right now

#

It is better for the organisation itself that someone else take the role in my opinion

lucid osprey
#

you're so humble and modest dude.

daring jay
#

^

lucid osprey
#

you earned my respect.

daring jay
#

#RespectAkarys

keen burrow
#

Haha, thanks, that means a lot

lucid osprey
#

I mean.. agreeing and stepping down because he thinks that someone else would do a better job at something even tho he is really good at it himself. salute

daring jay
#

Yeah, that's very respectable.

lucid osprey
#

.bm 832611584521797653 make the glasses black to look cooler.

echo fern
median blade
keen burrow
echo fern
#

two mods in a trenchcoat

keen burrow
#

But for real, we will be rolling soon a system to opt into mod pings

#

That will require two roles

rugged portal
#

yeah "off-duty"

echo fern
#

Moderator and Moderator* πŸ˜›

atomic mantle
#

eivl lawn

#

uwu im in eivl lawn

languid osprey
#

lmao

atomic mantle
#

morning aboo

languid osprey
#

eivl's lawn best lawn

atomic mantle
#

breakfast?

languid osprey
languid osprey
atomic mantle
#

ah true

#

people do be religious in this fasting time

atomic mantle
jovial island
median blade
#

@languid osprey so

#

that arch distro

#

what was it

#

that you use

gleaming pendant
#

does anyone know C# here?

languid osprey
median blade
#

ah yes

#

so , WM's show GUI right?

languid osprey
#

Yes

#

WM's just, handle windows

#

Without any of the bloat of DE's

#

So no panel, dock, or anything

median blade
#

ok so what is the advantage of archcraft over arch

languid osprey
#

All that is seperately installed

languid osprey
#

Archcraft is somewhat easier to install, and it gives you a really nice config out of the box, and its really lightweight, a 100mb of ram while IDLE, but its a very new distro, and you won't find much documentation or support on it

hazy laurel
#

oh no

#

nvm I'm not even gonna read

#

y'all have fun

median blade
median blade
#

cuz i dont wanna waste time ricing

languid osprey
#

Archcraft is very well riced out of the box

#

Completely usable

median blade
#

uh

#

lemme check their site

hazy laurel
#

Ricing is overrated

#

nvm why am I here

#

I gotta find other communities

languid osprey
hazy laurel
#

am I wrong?

languid osprey
#

ricing is one of the best things about linux

languid osprey
hazy laurel
#

I mean you go to *nix porn on Reddit and you see all these nice looking but completely unusable setups

languid osprey
#

My setup is usable

#

Tbf its also ugly, but yeah

hazy laurel
#

then I don't think it qualifies as a rice

languid osprey
#

I'm not quite finished

hazy laurel
#

there's customization... then there's ricing

#

which is on a whole other scale imo

languid osprey
#

I need to add widgets, a sidebar, remodel the config for my bar

#

do the config for my picom

#

And I'm deciding on whether to have a dock

hazy laurel
#

always see people out here getting TWMs, loading up neofetch to flex that they've got Arch

#

sheesh lmfao

languid osprey
#

I can't seem to figure out how to config my widgets lol

hazy laurel
#

If I ever configure anything, it's 100% out of QOL or it's generally handy

languid osprey
#

I'm ricing till the day I die

hazy laurel
#

or... I install a couple things because honestly KDE looks great with minimal configuration

languid osprey
#

KDE is very easy to config

#

I liked using it for a long time because of that

hazy laurel
#

Meanwhile you have people needing to create git repositories

languid osprey
#

I like git repositories

#

I have loads of em

hazy laurel
#

for what purpose, though

languid osprey
#

git

#

lol

#

I mean, I have a lot of projects

median blade
hazy laurel
#

huh?

median blade
#

nvm

hazy laurel
#

People need to create repositories for their configuration files

#

dunno why, honestly... but they are tons

median blade
#

ok so, WM's are lighter than DE's yeah?

#

how light is minimal KDE

hazy laurel
#

no, WMs are DEs without the DEs

languid osprey
#

WM's are lighter

hazy laurel
#

but they're not comparable

languid osprey
#

Yes

hazy laurel
#

I mean of course a WM is lighter because a "DE" is a DE + WM

hazy laurel
#

but it can be made much lower

median blade
#

RAM?

hazy laurel
#

yes

median blade
#

what about storage

#

RAM is not a issue

#

storage is the issue

hazy laurel
#

Storage isn't enough to matter

#

I know the whole of my Arch install was just 10 Gb

#

if you can install Windows, you can install KDE

median blade
#

no, its a dual boot

#

i wanna give arch like 30GB's

hazy laurel
#

You barely need anything for Linux

#

and that's a general thing

median blade
#

hmm tbh WM's will take more time to learn/configure

#

Arch KDE it is

hazy laurel
#

I wouldn't suggest Arch if you're barely getting into Linux

languid osprey
#

^

#

Are you new to linux?

median blade
#

i have been in garuda and i dont mind if it fails

languid osprey
#

If so, I wholeheartedly recommend something from Ubuntu

median blade
#

been like 3-4 months in linux now

languid osprey
#

Ah, ok

hazy laurel
#

Well, I would still suggest something else

languid osprey
#

Give arch a try, and if it doesn't work out, switch

median blade
#

Arch docs, Arch forums exist

hazy laurel
#

Honestly, what it is it that you really want from Arch

median blade
#

light OS

hazy laurel
#

yes but any distribution can be just as light

median blade
#

hmm

hazy laurel
#

Again, KDE on just about any distribution will be about the same

#

900 Mb - 1Gb

median blade
#

why do you do dis πŸ˜”

hazy laurel
#

and if you're worried about storage... don't pick Arch

median blade
#

a week ago you wanted me to pick arch and now ...

#

πŸ˜”

#

ok, so which is the lightest on storage

hazy laurel
#

If you have to choose between Arch or an Arch derivative, Arch 100%

hazy laurel
#

or if you want really light... Xubuntu is probably perfect

#

Simplicity of Ubuntu but light because of XFCE

#

and if you ever go with Ubuntu, you always want LTS

#

Non-LTS becomes a huge pain sometimes

hollow crystal
#

@sturdy relic do u have a big lawn??

#

can u print all ot2 messages and put them on ur lawn

wide totem
#

Lmao

hollow crystal
#

all todays ot 2 messages

#

@median blade what .jl

median blade
#

i am practicing plots

hollow crystal
#

oooh math

hollow crystal
median blade
#

@hollow crystal

hollow crystal
#

ooh

#

colored lines

hollow crystal
median blade
#

ye

hollow crystal
#

ur coding colored lines

#

πŸ‘

median blade
#

umm

hollow crystal
#

u coded colored lines for 8 hours

median blade
#

lol

#

copy paste

jovial island
hazy laurel
#

It's like my 5th

#

Probably gonna switch eventually, though

jovial island
#

i really like it

#

were getting there

wide totem
#

@keen burrow why the pfp change zoomEyes

#

also yes

#

yes & yes

#

ot2 is best ot

languid osprey
#

Mhm

wide totem
#

hey hey

wide totem
jovial island
#

nani

wide totem
#

we surpassed it for a little bit yesterday πŸ˜„

keen burrow
#

Because I think it is better to stop hiding behind a character

wide totem
#

but

#

but

#

it means we gotta remake all of the emotes

#

😭

keen burrow
#

Why would you

wide totem
keen burrow
#

Dr. Akarys is still a thing

jovial island
keen burrow
#

Even better now

wide totem
#

Β―_(ツ)_/Β―

#

i legit did not recognise you today

jovial island
#

can confirm

daring jay
wide totem
#

i woke up and the account of @keen burrow was rebranded and everything

median blade
#

aww

wide totem
#

totally rebranded

#

gone

keen burrow
#

I don't have nitro but otherwise I'd totally use the Dr. Akarys emotes

wide totem
#

THERE USED TO BE LEADS AND THEY BECAME ADMINS

#

ADHJFALSKDFHALKSDJF

keen burrow
#

Best emotes ever

wide totem
#

now vester is like the only lead there and he isn't even a moderator

keen burrow
#

Hmm true

daring jay
#

And restrict sizes afaik

wide totem
jovial island
wide totem
keen burrow
#

Yeah, vester is the only top role lead

wide totem
#

#ot2-emoji-spam

daring jay
#

It worked

wide totem
#

lel

daring jay
#

https://cdn.discordapp.com/emojis/829261628570730516.png?size=64

wide totem
#

πŸ˜›

languid osprey
#

so much akarys emojis

wide totem
#

SO SAD

#

THE CHARACTER STEPPED DOWN

#

meanwhile some guy with the same name @keen burrow became a moderator

#

congrats @keen burrow

languid osprey
#

Lmao

keen burrow
#

lol

wide totem
#

lmfao

jovial island
#

can we get an akarys heart pydis emoji??

languid osprey
#

yes pls

hazy laurel
jovial island
#

steal it from gurkult

languid osprey
#

lmao

hazy laurel
#

lmfao I hate the lemon_long emoji... why it look like that

dusky cliff
#

lemon long more like lemon wrong

wide totem
languid osprey
#

lmao

hazy laurel
#

Change the colors of it and you've got something completely different

languid osprey
#

i hate llvm

wide totem
languid osprey
#

its been compiling for 20 minutes now

languid osprey
#

Lmao

hazy laurel
#

what are you compiling

languid osprey
#

LLVM

#

I would be writing my JIT if I hadn't spent two hours figuring out how to compile this

jovial island
#

:blobpain:

hazy laurel
jovial island
#

i haven't even started my lang rewrite

#

:blobpain:

languid osprey
#

lol

jovial island
#

time to use rply

#

what do you use for your lexer @languid osprey ?

languid osprey
#

Im not making my lang in python

odd sphinx
#

rusters

#

rustin

languid osprey
jovial island
#

no, in rust

#

what did you use for the lexer

languid osprey
#

logos

#

I wrapped it

#

It basically gives you a base lexer

#

Then you can write your own

#

around it

#

I made the parser from scratch

jovial island
#

ok

languid osprey
#

I recommend writing the parser from scratch

jovial island
#

why?

#

@languid osprey

languid osprey
#

You get more control over the errors

#

And other things

#

You get more control and less limitations than using a parser generator

#

A parser generator is fine for a first language though

jovial island
#

mhm

#

ok

median blade
#

@languid osprey what book/resource do you suggest for making this stuff

#

lexers/parsers etc

jovial island
#

craftinginterpreters

odd sphinx
#

i felt so smart when i did

median blade
#

lol i saw that

languid osprey
#

wrong book

#

lmao

median blade
#

thanks

languid osprey
#

It's in C, but the concepts are universal

hazy laurel
#

Why's everyone here obsessed with writing their own interpreters

languid osprey
#

It's fun

hazy laurel
#

lmfao I don't think I'm gonna find myself a project I wanna do

wide totem
#

dies

hazy laurel
#

I think I might give up

#

no programming for me

full marlin
#

no cypheriel

#

join the leetcode army

wide totem
#

hey

#

difference between @staticmethod and @classmeth?

dusky cliff
#

@classmethod takes cls parameter

#

which is a reference to the class itself

odd sphinx
dusky cliff
#

i've never had to use classmethod but eh

odd sphinx
#

but with staticmethod u can just reference the class urself

hazy laurel
full marlin
#

don't actually do that

hazy laurel
#

idek what that is

#

._.

full marlin
#

a joke?

hazy laurel
#

Well if it's a joke, there's an implication that it's... real

#

I'm confused

#

wtf is leetcode army

dusky cliff
#

a failed joke apparently πŸ˜”

hazy laurel
#

...

odd sphinx
#

dot dot dot

hazy laurel
#

…

jovial island
full marlin
#

the people who are addicted to leetcode

#

and the only thing they ever do is leetcode

hazy laurel
#

wtf is leetcode

odd sphinx
#

elite code

hazy laurel
#

what makes it elite .-.

dusky cliff
#

for programming questions

#

apparently very hard

#

i've never even tried

full marlin
#

leetcode is designed for people to plug and chug coding problems

hazy laurel
#

I want to throw up

#

I ate some bread last night

#

and... I looked at it this morning

#

it has mold on it

#

like... all over it

odd sphinx
#

oh no

daring jay
#

Ewww

dusky cliff
#

oh no

#

maybe the mold grew overnight and you're fine πŸ€—

hazy laurel
#

no

odd sphinx
#

no

hazy laurel
#

I checked the other breads

odd sphinx
#

the mold grows a lot before actually showing up

hazy laurel
#

I am disgusted

dusky cliff
#

its been fun knowing you Cypheriel

odd sphinx
#

the colour comes last

hazy laurel
#

That is so disgusting

odd sphinx
#

i think im making things worse

hazy laurel
#

I'm never eating bread ever again

odd sphinx
#

expired*

dusky cliff
#

I'm expired

odd sphinx
#

bruh

hazy laurel
#

My God how can this happen

#

I looked at the bread and it was dotted with green spots

odd sphinx
#

ahhhhhhhhhhh

#

ew

dusky cliff
#

interesting

hazy laurel
#

I think I somehow blame Wal-Mart

odd sphinx
#

wait apparently it wont do much harm

hazy laurel
#

Even the bread we had that hasn't been touched had the green spots

hazy laurel
odd sphinx
#

yes but its stil better than dying of food poisoning

#

imo

dusky cliff
#

you'll get there

#

poioning

#

poioing

odd sphinx
#

yes

hazy laurel
#

I'd rather die of food poisoning

odd sphinx
#

bruh

dusky cliff
#

bruh

hazy laurel
#

lmfao just thinking about it

#

I wish I'd throw up rn

odd sphinx
#

both mushroom and mold are fungi

#

therefore they are both safe πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘

dusky cliff
#

yeet

#

*yeast

odd sphinx
#

yeast too

dusky cliff
#

ywest

hazy laurel
#

no

dusky cliff
#

ynorth

odd sphinx
#

ok

dusky cliff
#

ysouth

odd sphinx
#

ysouth

#

moment

hazy laurel
#

if mold was good, people wouldn't care if it was on their bread

odd sphinx
#

well if mold is on ur bread thats a sign that its old right?

hazy laurel
#

it's not like an overripe banana

dusky cliff
#

mold >>>> overripe banana

#

fuck overripe banana

hazy laurel
#

Ugh I hate overripe bananas

#

but I'd rather not eat fucking FUNGUS

#

You know it feels like if someone told me their ants escaped into my room

#

I no longer feel comfortable in my own skin

odd sphinx
#

bro

#

im not saying u should eat mold

#

but

hazy laurel
#

mushrooms. don't grow on bread

dusky cliff
#

mold is gold

odd sphinx
#

well they could

#

if u let them

#

but that would be quite disgusting

#

and smell horrible

#

i assume

hazy laurel
#

apparently smelling moldy bread can be harmful

odd sphinx
#

bruh

hazy laurel
#

cause you can inhale spores

odd sphinx
#

well u didnt smell it u only ate it πŸ‘

hazy laurel
#

I smelled it

#

I like the smell of bread :/

odd sphinx
#

damn u did bnoth

hazy laurel
#

YES AND I HATE IT

odd sphinx
#

i assume

hazy laurel
#

yes I'm never again eating fucking bread

#

I stg

#

never ever

odd sphinx
#

jeez

hazy laurel
#

I don't trust myself enough anymore

#

I've got bread PTSD

odd sphinx
#

ez solution:

#

make a robot to detect mold

#

and inject it into ur bread

jovial island
#

ok

odd sphinx
#

c# can slice strings ⁉️

#

instead of using : (like in python) its ..

median blade
#

bruh why lol

echo fern
#

ah, same as in Rust

echo fern
languid osprey
#

Lol

hazy laurel
echo fern
#

oh lol

hazy laurel
#

I ate it and later realized it had mold on it

echo fern
#

was the taste really the same

hazy laurel
#

yes

#

well... no

#

welp. is there's a fear of bread, I now have it

#

ok. I have artophobia

languid osprey
#

pfft

lucid girder
#

most up to date branch is the development branch

#

still a bit messy and incomplete though. I'll get it done eventually.

tawdry fog
#

Yea I just looked @ the code for a few seconds it does look tedious lmao.

echo fern
#

Here is my Spectre-Based Meltdown proof of concept **in just 99 lines **
lol

hazy laurel
#

lmfao why am I so proud of this part

#

the numbers link to each other and everything

atomic mantle
#

im stepping on eivl lawn

#

now punish me eivl

languid osprey
#

pffft

hazy laurel
#

uh

#

that's awkward

wide totem
languid osprey
#

Cool

wide totem
#

wait i gotta try it

#

!e print('you work here now?')

clever salmonBOT
#

@wide totem :white_check_mark: Your eval job has completed with return code 0.

you work here now?
wide totem
languid osprey
#

oh wow

native cobalt
#

The magic of permissionsℒ️

jovial island
#

!e print('you work here now?')

clever salmonBOT
#

@jovial island :white_check_mark: Your eval job has completed with return code 0.

you work here now?
languid osprey
#

@jovial island discord broke?

jovial island
#

what?

languid osprey
#

I cant type in that channel now

jovial island
#

what channel

#

no

languid osprey
#

SM is stuck on 5

#

In ot0

jovial island
#

oh

languid osprey
#

Anyways

#

My llvm install worked

jovial island
#

ok

languid osprey
#

i am happy :D

jovial island
#

can I use it for python :roothink:

languid osprey
#

llvm?

#

yeah

jovial island
#

ok

#

@languid osprey i decided my first project in rust will be my language

#

i'm not writing it in python

languid osprey
#

Cool

#

I recommend making a stack based interpreter

#

Don't jump straight into compilers yet

#

Get some background first

jovial island
#

ok

#

i'm gonna make interpreter

#

@languid osprey what lexer you use

languid osprey
#

Its fast

jovial island
#

ok

languid osprey
#

Make the parser on your own

native cobalt
#

Rust libraries are called "crates" ?

jovial island
#

yes

native cobalt
#

That's... both stupid yet genius.

#

Also slightly funny.

radiant socket
#

well it's because cargo

native cobalt
#

cargo being...?

#

The source code itself?

radiant socket
#

rust's dependency manager

native cobalt
#

Oh.

#

Darn, that's thematically appropriate; I can't bash the name anymore.

sinful sun
#

Rust shouldnt have gone with a fucking crab for its mascot

native cobalt
#

What should've been the mascot then?

sinful sun
#

Idk but i feel like they should have stuck with the rusty/metallic theme

full marlin
#

πŸ¦€

languid osprey
native cobalt
#

the more you knowℒ️

#

I mean... why not just give the crab a rusty metallic shell?

languid osprey
#

Lol

native cobalt
#

A rusty, robotic crab that runs on Rust. Doesn't sound too bad.

radiant socket
#

rustacean πŸ₯Ί

sinful sun
#

The mascot's name is Ferris, as in ferrous

sinful sun
#

They picked the crab because rust is contained in crustacean

#

Im sorry but just pick a fucking lane

radiant socket
#

yeah but like, a lump of metal is not a very good mascot

full marlin
sinful sun
#

Lmao but iron ingots are pretty cool

radiant socket
#

hell yeah

#

iron ingot mascot

radiant socket
#

i want that sticker

languid osprey
#

yes

#

me

#

want

daring jay
full marlin
daring jay
dim root
#

@soft quiver sorr for the πŸ“ but do you know any nice place to learn fast api?

storm birch
soft quiver
#

^ this

dusky cliff
#

god i love good documentation

soft quiver
#

i usually learn stuff by kinda deciding that I want to do something and then just frantically googling and making random stuff until i'm at the required skill level to make it

dusky cliff
#

the praw/asyncpraw docs are so nice

dim root
#

converting commands of sir lancebot into a api

#

i am out of ideas, so just did that

median blade
warped arrow
#

When the code is half copied from stackoverflow and you do the other half

north reef
#

anyone see the mint mobile ad with satan in it

#

makes me not wanna go to mint mobile

lucid osprey
#

but for some apparent reason, I get errors.

#

my $meme command doesn't work now lemon_angrysad

dusky cliff
#

sad

#

what error?

lucid osprey
#

wait lemme find it.

#

something something invalid

#

and then starts working all of a sudden again.

#

lemme open that shitty website to find the error.

#

fuck, I just opened 4 tabs of chrome because when I clicked it the first 3 times.. it didn't open.

lucid osprey
#

how do I copy text from repl.it console?

lucid osprey
#

got it.

#

!paste

clever salmonBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

lucid osprey
dusky cliff
#

code

lucid osprey
#

gimme a min.

lucid osprey
#

did it reach?

#

it was not red so I got confused.

dusky cliff
#

yes

#

are you sure the client_id and client_secret are correct

lucid osprey
#

actually I need to rewrite my bot and make the commands inside decors.. now I'm using the on_message listener and calling functions based on the first word of each message.

lucid osprey
dusky cliff
lucid osprey
#

ah.

lucid osprey
#

yes ik the bot is slow.