#ot1-perplexing-regexing

1 messages Β· Page 646 of 1

north hazel
#

ok.

rough sapphire
#

Bro.

toxic skiff
#

Β―_(ツ)_/Β―

#

||Lol||

#

Anyone who can join voice chat?

hidden pebble
#

finished implementing basic bit manipulation

wary jasper
hidden pebble
#

thanks, and yeah that was out of context lemon_sweat

oblique falcon
#

!int

#

!int

#

!print

#

!e print

royal lakeBOT
#

@oblique falcon :warning: Your eval job has completed with return code 0.

[No output]
oblique falcon
#

!DOCS

royal lakeBOT
tardy rain
#

Do you need help my guy

jovial oriole
#

#bot-commands

jovial oriole
#

boutta remotely block my brother's nintendo switch internet access because he just cost me a victory royale

#

regular sibling stuff

mild abyss
#

now get some ice cream

floral apex
#

Ouya moment

jaunty wraith
#

yabm = yet another bourne movie

worldly grail
#

oh my god, it's json bourne

jovial oriole
tardy rain
#

uh

#

can i refactor my submission after it passes or is this it

#

why on earth did i ask here

#

poggers

acoustic moss
#

thanks

scarlet wind
#

What

jovial oriole
#

πŸ—Ώ

#

confuse 100

sterile sapphire
#

tanks

tardy rain
#

hsp did you have anything to do with this year's code jam?

acoustic moss
#

nope

tardy rain
#

sad

runic wigeon
#

I just realized hsp is just psh but reverse

floral apex
#

PowerShell

jaunty wraith
#

llehsrewop

runic wigeon
#

@acoustic moss, we've uncovered all your secrets

#

you better hide now

acoustic moss
#

okay looc era sniugnep

jaunty wraith
#

yako?

runic wigeon
acoustic moss
#

.reverse you fool

median domeBOT
#

loof uoy

runic wigeon
#

.reverse Wtf I never knew this existed

median domeBOT
#

detsixe siht wenk reven I ftW

tardy rain
#

.reverse .reverse

median domeBOT
#

esrever.

runic wigeon
#

my birthday is a palindrome

#

no effect on that

#

.reverse 061106

median domeBOT
#

601160

runic wigeon
#

oh no

#

.reverse 6116

median domeBOT
#

6116

runic wigeon
#

yeah that's how we do it

#

DD/MM/YY btw

tardy rain
#

bad

#

%Y/%m/%d is the superior date format

jaunty wraith
#

%s is the one true format

runic wigeon
#

I got a new nick @tardy rain

tardy rain
#

all this hate but you know im right

runic wigeon
#

no

#

DD/MM/YY is way superior

#

gtg

#

classes time

jaunty wraith
#

03/09/12

runic wigeon
#

06/11/06 either way

jaunty wraith
#

no it's not

runic wigeon
#

it is?

jaunty wraith
#

6 Nov or 11 Jun

runic wigeon
#

6 nov 2006

jaunty wraith
#

unnecessary ambiguity

runic wigeon
#

oh yeah

#

no wait

#

it's same

runic wigeon
#

and DD/MM/YY

#

anyways bye gtg

floral apex
gritty zinc
#

I am not fitting things right I see πŸ‘€

gritty zinc
#

okay, statistics question. Suppose I have a noisy dataset, and the noise on point y is:

y*rng.normal(loc=1.0, scale=noise_rel) + rng.normal(scale=noise_abs)
#

and then y_noisy = y + noise, say.

#

then, to fit a function to such a dataset, what weight should I take a point (x, y_noisy) with?

#

I tried w=1/(abs_noise + np.abs(rel_noise*Y)) and that's how I got that horrifying graph where the error gets worse with high n

distant hazel
#

@hallow notch hi, sorry i saw you were typing as i closed the channel

gritty zinc
#

A-ha, figured it out. It has to be 1/np.hypot(abs_noise, rel_noise*Y), or the weights is too low when the two factors are about equal.

#

but the results are still worse for some reason 😩

hallow notch
lusty rune
mild abyss
#

so DD/MM/YYYY is more superior :P

latent scaffold
latent scaffold
#

huh?

mild abyss
#

of your response

latent scaffold
#

about what

#

I'm just saying that YY isn't always that ambiguous

mild abyss
#

a historian may see that as 2009

latent scaffold
#

because I know that 27 doesn't mean my credit card credit card expired 100 years ago or 100 years from today

mild abyss
rough sapphire
#

@tulip cedar do you actually own a private jet

#

yeah he does

#

i live with him lol

#

:o

tulip cedar
runic wigeon
#

lies

#

test successful

tulip cedar
runic wigeon
#

πŸ˜”

craggy crypt
#

it had ur name written and ur discord pfp was on empennage

solemn leaf
gritty zinc
# lusty rune whatchu workin on?

some polynomial approximation stuff. Figuring how to correctly approximate when on different points isn't distributed equally.

#

oh hey, that's a me-related ot name πŸ₯΄

acoustic moss
#

you're famous

young shoal
sacred rover
#

nothing belongs in a museum accept art period!!!!!

uneven pine
#

Accept art period?

#

I'm pretty sure the vast majority of people accept the fact that there are distinct periods of artwork

rough sapphire
#

They probably mean "nothing belongs in a museum except art, period"

#

…I'm not sure how that relates to Tesla, though

gritty zinc
#

gpt-2 wrote this message

scarlet wind
#

Ok

surreal otter
#

Anyone have any experience hosting git on windows?

#

I have no idea what I'm doing wrong, it works on the pi, but not on the windows

#

I just want to use the windows laptop instead of github

rugged echo
#

also gpt-4 when

#

github copilot 2 when

#

dall.e 3 when

rough sapphire
craggy crypt
jovial oriole
winter sentinel
flint basin
#

tru

winter sentinel
mild abyss
#

snails and slugs in a nutshell

craggy crypt
winter sentinel
obsidian plover
#

on vacay rn

#

what do i do next

jovial oriole
#

memedumping smh

obsidian plover
#

how dare me have fun

winter sentinel
surreal otter
winter sentinel
carmine apex
#

@next vessel concerning money = float('inf') (not int, btw): i was gonna say you've now got inflation, meaning each piece of money is worthless, but infinity * 1/infinity is undefined. is undefined money rich, poor, in the middle, or something else entirely?

next vessel
young shoal
#

well, infinity / infinity isn't undefined, it's indeterminate

carmine apex
next vessel
#

So you'd end up on Google's hit list?

carmine apex
small coral
bold moat
elfin holly
#

some infinities are bigger than others

#

there are infinite numbers between 0 to 1

#

but there is a bigger infinity of numbers between 0 and 2

young shoal
#

no there isn't

young shoal
runic wigeon
#

well, this is debatable

#

.topic

median domeBOT
#
**What are your hobbies other than programming?**

Suggest more topics here!

runic wigeon
young shoal
runic wigeon
#

but you can't say anything cause infinity is not something which is defined

#

most of the things about something which is not defined is debatable

young shoal
#

just consider the function f(x) = 2x. you take any number from the set [0, 1], and it will be in [0, 2] (after applying the function)

runic wigeon
young shoal
#

literally the next message

elfin holly
#

ye my bad

#

so you say that if I double the a number from the first set I get the number in the second set ?

young shoal
#

yes, more or less

elfin holly
#

what if I have sets [0,1] and [23,25]

young shoal
#

sure, you can create a function that would do that

elfin holly
#

and how is that function proving that the first infinity is equal to the second

young shoal
#

by definition?

#

if there's a 1-1 mapping, then the number of elements is equal

runic wigeon
#

and how do you say there's a 1-1 mapping?

young shoal
#

by creating one?

elfin holly
#

what about irrational numbers?

young shoal
#

what about them

runic wigeon
#

for me, they're incomparable

young shoal
#

well, set theory begs to differ

elfin holly
runic wigeon
#

you can compare something which is limited, not something which is uncountable

young shoal
gritty zinc
young shoal
elfin holly
runic wigeon
young shoal
elfin holly
#

any sets can prove that an infinity is bigger than other

#

as long as the sets are infinite

young shoal
#

well, sure, some can. but the ones you chose weren't lmao

elfin holly
#

well true, I wanted to keep it simple

young shoal
#

that's...not how examples work

#

you don't say "this is true" then show an example where it's not true

odd jasper
gritty zinc
#

yes? g(x) = x/2.

odd jasper
#

yeah, I should have thought harder about that one lemon_clown

acoustic moss
#

you can map any [a, b] to any [c, d]

#

real a b c d blah blah

young shoal
jovial oriole
craggy crypt
scarlet wind
#

What

winter sentinel
rough sapphire
#

😳

astral sedge
#

Fr is anyone here greej

#

Greek

tardy rain
#

Why

jovial oriole
#

I swear after i spend just a few minutes helping people out with basic problems i get 5 dm's going along the lines of
"Hey, looking for dev to do [] i will provide [] and provide payment too, tell me if you're interested"
im just here to volunteer
smh

opaque bronze
#

and pretty sure half of them are scams

#

most of them never pay

thin cloak
#

Report to mods i did report one

soft violet
#

I just turn my DMs off.

#

Have turned them off.

#

If people really need to DM me, they can state their case for it.

uneven pine
#

I leave my DMs open because having to constantly add people to DM them then remembered to remove them is annoying as hell

#

I just report actual issues to mods

thick osprey
#

Yes... give us your issues. We hunger.

uneven pine
#

Or explain how unsolicited DMs are quite rude and bad etiquette otherwise

#

I've learned a lot of people that way.

#

Doing my part to make the Internet a better place

#

Though some people don't take that message well

#

They get choice words and a block

uneven pine
# bold moat how are they rude

The short answer is that it's basic etiquette that is a bring-over from IRC which the platform takes much inspiration from

#

The long answer is that while most people have most notifications disabled, DMs will push though, and many people will leave DMs open for convenience or out of necessity, but that doesn't mean they WANT you too DM them.

Consider this, if you were at a coffee shop minding your business and eating breakfast, you wouldn't want someone to randomly sit down in a chair beside you and start asking questions about a conversation you had with your friend yesterday, simply because they walked past and overheard said conversation.

bold moat
#

if you dont want any friends i can understand

#

besides discord isnt something to be taken so seriously that there's serious etiquette that everyone - including immature kids who just hit age 13 are supposed to know

thin cloak
bold moat
solemn leaf
#

blade :(

uneven pine
#

Takes 5 seconds to ask someone to DM before doing it.

#

And they can respond when reasonable for them.

soft violet
uneven pine
#

And I disagree with your disagreement.

soft violet
#

A friend messaging a friend concerning a mutual interest is not inherently rude.

#

Politely requesting help is not rude, though it may be misplaced.

#

Unwelcomed is not the same as rude.

uneven pine
#

Friends messaging each other is different than messaging someone you don't know

#

We've asking someone for help in their DMs without asking them to DM them is rude.

#

Actually, that's the biggest one I experienced.

soft violet
#

I'll say it again. Unwelcomed does not equal rude.

uneven pine
#

"how do I do this?"
How do you use the help channels in the server your just messaged me from?
How to you use Google?
How do you at the very least ask if I kind you DMing me?

soft violet
#

Often it is rude. No doubt.

uneven pine
#

End of discussion.

soft violet
#

Does that always work out?

#

Saying "End of discussion."?

bold moat
#

oh well

#

you could just say its rude for you

#

not objectively rude

uneven pine
#

There's no other point to be made. Whether you agree with me or not. I'm not a fan of circular discussions, and I have better things to do (getting ready for work) than continue it.

bold moat
#

then you better go do those things

soft violet
#

But people are wrong on the internet.

#

(I'm guilty of this, too.)

bold moat
soft violet
#

Much of it is misplaced frustration, in my case at least.

#

People the world over are afraid and hurting and it hurts.

#

So let's go argue with strangers with wrong opinions on the internet. That'll make us all feel better.

#

I'd like to be zen about things, but...

#

How many shit things are we supposed to accept and still be expected to not be shitty because of them?

#

Let's say 7.

#

Oop, nevermind, we just hit a delta of 70 per minute.

bold moat
#

hah

jovial oriole
jovial oriole
bold moat
#

exactly

steady thunder
bold moat
#

amogus

clear plume
#

Ohh it's monke

#

I have them blocked

#

But of course the discord block feature sucks so

rough sapphire
bold moat
rough sapphire
#

πŸ—Ώ

craggy crypt
#

no

#

lol

craggy crypt
#

BRUH

rough sapphire
craggy crypt
rough sapphire
craggy crypt
tardy rain
#

Pretty sure if you google CBT capybaras would be the last thing you see

soft violet
#

Though yes. Point well taken.

bold moat
rough sapphire
bold moat
#

yeah a nic eone

jovial oriole
#

just asking for a bit of advice, i wanna complete my 40 hs volunteer hours this summer, but i don't know where i should i volunteer

#

i thought someplace like the library might be good, or as a lifeguard

#

but those spots are already taken

#

since they're pretty easy, don't require much work, and the administration is the local government too, which makes the paperwork a bit easier.

honest star
#

Do you have a list of provided options or do you have to go out and find something?

jovial oriole
rough sapphire
#

How to write your text to the 2nd line of the file?

distant hazel
#

so i have a customer that is purchasing a computer from us

#

pretty standard fare

#

this should be a taxable sale. all hardware and even canned software is considered tangible personal property in the state of ny, and thus are taxable

dapper dew
#

So they are purchasing a physical component in conjunction with your companies service

distant hazel
#

i have 1000s of customers in ny but no one has ever cited this bullet point to me before

#

omg lady transferred me and i was on hold

#

i heard smth and they disconnected

#

anyway this ST-120 form is to be used if you're a reseller. buy stuff, don't pay tax, but in turn you have to collect sales tax when you sell the item to the end user and have the certificate of authority to do so, be registered and all that

#

i'm a reseller of computers, my customers aren't

#

they're retail stores

dapper dew
#

How are retailers not resellers

distant hazel
#

but i can't really refute this customer's claim, it seems valid

#

they're not resellers of what i'm selling them (computers)

dapper dew
#

Ah, they are not selling the computers to customers

distant hazel
#

no, but they keep the computers in their stores and use it in their course of business

dapper dew
#

Huh.

#

Yeah I'd ask around for a sales tax expert lol

honest star
#

@jovial oriole it does become a lot when you get like.... 48 of them though

latent scaffold
#

At least we have emoji in the category names at least

distant hazel
#

you can visit the autohotkey server for all your food and food emoji needs!

rough sapphire
#

Just watched a movie for the 7th time, and cried for the 7th time watching it

#

Very emotional

jovial oriole
#

difference between, PUT, POST, PATCH requests?

sweet blade
lusty rune
rough sapphire
#

Any good VSCode themes?

rough sapphire
#

.bm

median domeBOT
#
Do you mind?

Your input was invalid: You must either provide a valid message to bookmark, or reply to one.

The lookup strategy for a message is as follows (in order):

  1. Lookup by '{channel ID}-{message ID}' (retrieved by shift-clicking on 'Copy ID')
  2. Lookup by message ID (the message must be in the context channel)
  3. Lookup by message URL

Usage:```
.bookmark [target_message] [title=Bookmark]

lusty rune
#

that freecodecamp backend api development course taught me that

#

i only thought there were just get requests and post requests

#

turns out there's a lot more

rough sapphire
#

nice

#

isn't pull one

lusty rune
jovial oriole
#

pull request

rough sapphire
#

hello github

jovial oriole
#

I AM THE PHYSICAL PERSONIFICATION OF GITHUB ITSELF

rough sapphire
#

thought so

jovial oriole
#

and even I want to switch to gitlab

rough sapphire
#

:o

low chasm
#

Some false copyright thing

rough sapphire
#

πŸ˜”

thick osprey
jovial oriole
#

successfully did a trickery

vast drift
#

does anyone know what "acceptance" means when selecting a problem on leetcode?

lusty rune
#

green submissions/total submissions i suppose

#

by green i mean passing all test cases

vast drift
#

interesting, i wonder if theres a way to tell how many people completed it regardless of the amount of attempts theyve made

lusty rune
vast drift
#

why not?

lusty rune
#

I mean acceptance %tells you exactly that

#

if i see 98% I'll think its a breeze

vast drift
#

oh i thought you could make multiple submissions?

lusty rune
#

if i see 70, that's going to be a long night for me

#

yeah you can

vast drift
#

then acceptance wouldnt be the same as the % of people that outright couldnt complete it

#

it could definitely be a ball park though, to estimate its difficulty

lusty rune
#

if a user passes it with any submission, it is considered, no more considerations after that

#

if you pass then welcome to the acceptance % club

#

you can do whatever you want after that

vast drift
#

yeah but if every user took 10 tries, and every user also completed it then acceptance would be 10% but completion % would be 100%, which is just why im curious to see how the statistics compare

#

if it doesnt have the feature then oh well, idrc

lusty rune
#

ah I see

#

yeah there isn't

floral apex
#

The Markiplier cat

graceful basin
#

java moment

craggy crypt
#

D:

uneven pine
latent scaffold
#

shotgunned lemon_pensive

craggy crypt
uneven pine
#

The bot should auto detect if you post a duplicate message in more than one channel within say, 6 hours, and if so, ban you for say, 6 days.

craggy crypt
#

why πŸ₯Ί

uneven pine
#

Literally spamming

craggy crypt
#

Β―_(ツ)_/Β―

latent scaffold
uneven pine
#

Good to know it's in there

#

Should be 3 at maximum

#

Since the most common form of spamming is just multiposting all the OTs

latent scaffold
#

I guess in fairness, it's not as disruptive as it could be

#

Well... aside from the fact that in this case, they were gifs

#

which I would agree, is quite annoying

rapid thunder
#

can anyone please send me the id of this guild

#

just for testing purposes

dapper dew
#

Can't you right click on the server icon and copy ID?

rapid thunder
#

Nvm

#

Just quick question

#

Can I access how many people are in this guild without my bot being here?

dapper dew
#

!server

royal lakeBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 98
Member status: status_online 48,961 status_offline 302,549

Members: 351,512

Helpers: 149
Moderation Team: 40
Admins: 15
Owners: 3
Contributors: 41
Leads: 10

Channels: 268

Category: 32
News: 9
Staff: 72
Stage_Voice: 2
Text: 143
Voice: 10

rapid thunder
#

Not this server specifically

dapper dew
#

Might ask the good people in #discord-bots , they generally know more about that stuff than I do

rapid thunder
bold moat
#

use ctrl + k and type discord-bots

rough sapphire
#

that looks so cursed for some reason

ruby fox
#

<t:2147483647:F>

#

<t:2147483647:R>

craggy crypt
lusty rune
young shoal
#

thumbnail dumb, do_something.map(|x| do_something_else(x))

jovial oriole
#

im giving out autographs

low chasm
#

its hard to make design decisions, so I'll ask here :p for my language, I have a keyword type you can use to construct product and sum types ocaml type Foo = A or B or C type Bar = a: int and b: int and c: int I also have traits, and types can derive them ocaml !derives(Eq) type Bar = a: int and b: int and c: int or implement them ocaml type Foo = do A or B or C implements Eq do func equals(self, other: Eq) -> bool do match (self, other) do (Eq.A, Eq.A) -> true (Eq.B, Eq.B) -> true (Eq.C, Eq.C) -> true _ -> false end end end end now I also have classes, which are, well, classes. inheritance, constructors, all that stuff. Now, with product types, I'm not sure whether I should have classes in the first place, and instead just somehow incorporate stuff like inheritance and defining methods into type. Maybe thats a bad idea, I dunno

wraith hound
#

My take will always be that inheritance is bad

#

But I definitely think types should have methods

#

And I don't think you need classes if you have tagged product types with methods

#

Assuming you mean classes as in Python classes and not typeclasses ofc

low chasm
#

python classes, yeah

#

If I let go of class, I'll do something like ```ocaml
type Foo = do
from SomeBaseClass // if inheritance
a: int
b: int
c: int

func init(self, a: int, b: int, c: int) do
self.a = a
self.b = b
self.c = c
end
end

#

and then maybe some syntax sugar to be able to do ```ocaml
type Foo of SomeBaseClass do
a: int
b: int
c: int

func init(self, a: int, b: int, c: int) do
self.a = a
self.b = b
self.c = c
end
end

#

right, sounds good

#

thanks :D

flint basin
#

looks cool

jovial oriole
#

what have you done to my aboo

quiet tusk
#

@low chasm

#

❀️

austere hull
#

a πŸ‘»

scarlet wind
#

@low chasm change profile πŸ”« also now you have the colour of banana congrats aboonana

graceful basin
#

oh wow, github copilot knows jvm bytecode

acoustic moss
#

you paid for copilot?

graceful basin
#

I am a student

#

so I get it for free

acoustic moss
#

ah

graceful basin
#

it can generate the class body here correctly

solemn leaf
#

gh is fascinating , its like it reads our mind lol

graceful basin
#

honestly, even in this project where I am just rewriting a spec which exists hundreds of times in its memory, it failed in so many places

#

it doesn't know the tags for the constant pool at all

#

it doesn't know the sizes of the constants in the constant pool

#

but every once in a while you find something it is good at

solemn leaf
#

when it fails it fails miserably

#

but some recommendations are godly

graceful basin
#

it is also really good at making graphviz graphs

graceful lily
#

.

ruby fox
#

..

runic wigeon
#

...

grand forum
#

hey sorry for offtopic thing but its just take 1 minute ,, i bought earbuds and on that it says use only 5v adapter so i have pocco x3pro fast charger adapter can i use that or how should i see a charger of 5v ? pls help

young shoal
#

" ... python sucks do x instead ... "
@terse heron

young shoal
bold moat
#

saying x language is better than y language is such a πŸ€“ thing to do

terse heron
#

Like "C# is better than Python for game development because you have loads of tools like Unity and Unreal Engine to make development easier"

#

That's a very practical and reasonable point

bold moat
terse heron
bold moat
#

yeah

#

whatever it is, most people who've seen code are πŸ€“ anyway

terse heron
#

Lol

jovial oriole
#

πŸ₯Ί does anyone consider me a regular pydis member

acoustic moss
#

yes

lusty rune
#

regular role when

quiet tusk
#

Hiiiiii people

#

I was hoping to borrow some brain power

#

The separation of ParentNode from Node seems exceedingly arbitrary. I think its done just to prevent a handful of attributes and methods from appearing on certain concrete implementations of Node

#

With the exception of querySelector, all the methods and attributes on ParentNode already have slightly different equivalents on Node, rendering any design impact of breaking the two apart pretty much moot

#

Moreover, there are a few attributes on Node which make no sense without the existence of ParentNode.children on the node in the first place

#

TL;DR, if I were reimplementing this, is there any reason I couldn't role these two classes together into one?

jovial oriole
#

im buying one ticket to pydis, costing me around $400, hope to see joe there!

rough sapphire
#

@craggy crypt hes coming to get you because you stole my heart in gotham πŸ˜΅β€πŸ’« 😡

jovial oriole
#

how come my mom is getting all of my discord notifs on her phone? i checked the discord app installed and discord in chrome, neither are signed in as me. and she is still getting notifs from my account

rough sapphire
distant hazel
austere hull
#

rice as entertainment :hmm:

graceful basin
#

anyone know something like ocaml-mdx, but like... not ocaml. I just care about the sh script running
https://github.com/realworldocaml/mdx

`\``sh
$ python compile.py <<<  '(print (+ 10 (+ 8 8)))' && java MyClass -cp .
26
`\``
```this is the kinda thing I want to do
found https://bitheap.org/cram/
#

but if I want to use this in a collaborative project, I would need to convince people to install opam specifically to install mdx, which is certainly overkill for running shell scripts as tests

thin cloak
austere hull
#

nice

thin cloak
lusty rune
#

hell yeah thats the OG mochi pounding video

#

it was lit when i first saw it, its still lit

brazen ingot
#

@acoustic moss jee main result?

#

From our city we had 40 students who scored above 99 per

acoustic moss
floral apex
#

@thin cloak Sometimes I'm concerned how you can eat so much

mild abyss
#

hate me now

bold moat
lusty rune
mild abyss
#

except from that one MMD artist

lusty rune
#

yeah me neither but this one was really nice

mild abyss
#

i wont tell. he is mine

lusty rune
#

i didn't want this to be true 😭

mild abyss
#

now time for me to sleep

lusty rune
last mantle
uneven pine
#

I don't understand what's happening here

tulip cedar
#

What is happening here

rough sapphire
#

i need help can someone malware check a folder for me plsa

plucky ridge
#

2 hours and 10 minutes with QuickBooks support and counting

#

This has been an exhausting day thus far

open fern
#

being on the phone with support in general sucks, do it for two hours is just ducky_australia

vale raven
jovial oriole
#

!$ python -m pip uninstall pure

#

no more pure

thin cloak
topaz aurora
#

@wraith hound @low chasm How do y'all handle errors in your compilers? I'm thinking of just having an Error enum per crate and then have whatever consumers compose them, so something like:

enum LexerError { ... }
enum ParserError { ... }
enum CompilerError {
  LexerError(LexerError),
  ParserError(ParserError),
}
#

I mean something along those lines

wraith hound
#

That's roughly what I do

#

But I have From<ErrorEnum> for Diagnostic impls where Diagnostic handles all the actual reporting

low chasm
#

My error trait specifies functions that errors need to implement in order to create reports, since I use ariadne

#

I don't explicitly handle errors in my lexer, I store the related information in an Error token and pass it along to the parser

#

I guess thinking back on it, it might be a tad bit overcomplicated

#

But whatever

topaz aurora
#

I use error tokens for the lexer as well, although my LexerError is more of an API thing

austere hull
#

unpure

brazen ingot
#

OOO abboo pfp 🧐

mild abyss
#

hmmmm

runic wigeon
#

aboo has changed a lot ever since he has become yellow

dapper dew
#

Has he?

mild abyss
#

pee should be pee

floral apex
#

Uncomfy gets it

#

Aboo == pee

#

True

runic wigeon
#

guy straight up spitting facts

lusty rune
#

πŸ“ 

jaunty wraith
#

πŸ–¨οΈ

bold moat
lusty rune
#

https://www.youtube.com/watch?v=bSs0o7DrHeg my god what an adventure, was on the edge the whole time

Our first activewear clothing collection!! Check it out here: ⚑️ SEEK DISCOMFORT: http://seek-discomfort.com/yes-theory

πŸ™πŸΌ Thank you for making these videos possible through your support of Seek Discomfort

Liked the visuals? Cory's JUST LAUNCHED HIS CHANNEL. You have to see his cinematic cut of this: https://www.youtube.com/watch?v=KGWc4z6TTg...

β–Ά Play video
tulip cedar
#

Huh

floral apex
#

Hallucinatory honey hmmmm

ancient dune
#

I just burned my finger on a soldering iron 😐

rough sapphire
#

sometimes i'm sure it's funny to be a firefighter in this country

dense thicket
#

That lookes dangerous and stupid

rough sapphire
#

That guy literally locked himself in the locker

#

The bill will make him remember that day

jaunty wraith
#

you have to pay the firefighters?

lusty rune
ancient dune
floral apex
ancient dune
#

The tip's inprint is in my finger now.

rough sapphire
#

Basic health insurance reimburses half of the cost either way

jaunty wraith
#

isn't the fire dept. a public service? that you fund via taxes?

rough sapphire
#

Again, not always free

#

Depends for what

ancient dune
#

And what country

#

Here you only get fined if you called without a valid reason.

rough sapphire
#

Yeah that's my point

#

If you call because your cat went on a "big" tree but ends up being a 2m tree and you have a ladder

#

You get fined

#

In the case of the locker, I'd guess the train station has a double of the key

#

Believe it's not a physical key either

#

Though there are these reasons for you to be fined:
a. the rescue of people or animals in difficulty,
b. the release of people trapped in an elevator,
c. people search,
d. flooding for technical reasons or resulting from negligence or fault maintenance

#

Though there are always exceptions, welcome to laws

#

Someone once called the firefighters to rescue a pigeon, should be fined according to laws but didn't got fined

#

Here it's basically usually free but there are some rare exceptions where it's paid, exceptions that nobody can even list

lusty rune
#

last one idk but the rest?

rough sapphire
#

Yeah but again

#

There are like always exceptions

#

In the end you never get fined, it's just that they can fine you for that

#

If they see a valid reason

craggy crypt
#

pip-uninstall-pure
hail OOP

weary moat
#

Just been asked what kind of peas I want with my fish and chips.

There is only one possible answer to this question. Why ask it?

worldly grail
#

boiled ? there are other options ?

weary moat
#

Mushy. Only mushy peas are acceptable here!

#

Anything else is an affront to the harmony of the universe and all life within it.

#

(it's possible i may have extreme views on this subject and could benefit from some sort of relaxation)

#

Ah. Beer with the fish and chips. Relaxation time. Now I don't care so much!

uneven pine
#

Overcooked peas

#

Yucky

weary moat
uneven pine
#

Yes overcooked peas are blasphemy

gritty zinc
#

i'm reading a statistics textbook right now, to determine how the hell to do an idea I have
so far:

  • I don't understand anything
  • the latex is pretty bad in places, like come on:
#

who the fuck uses a giant / where a \frac would make it look very well

#

I think I found the formula I need. Now, if only I understood what all of the terms meant...

#

or maybe this one which is even worse

#

depending on what shape I want my indifference region to be, which is not a question I particularly have an opinion on

#

wow it's a fucking matryoshka of symbols I don't know, isn't it

jovial oriole
gritty zinc
#

sideways what?

#

oh, the sums? that's an uppercase epsilon (greek E, basically) technically.

#

and sure, this is a sum over this thing as l goes over some range.

carmine apex
gritty zinc
#

oh right, I'm a dumbass

#

greeks sure do love symbols that look nothing alike lower- and uppercase

median domeBOT
gritty zinc
#

.latex $\alpha \beta \gamma \Gamma \delta \Delta \sigma \Sigma$

median domeBOT
gritty zinc
#

there

lusty rune
#

.latex $\pi \Pi$

median domeBOT
lusty rune
#

relational algebra in dbms was not fun

young shoal
median domeBOT
gritty zinc
#

.latex $\sum \Big/ \sum$

median domeBOT
young shoal
#

bruh

gritty zinc
#

or \Bigg if that's too small

lusty rune
#

.latex $\sum \Bigg/ \sum$

median domeBOT
young shoal
#

wow

lusty rune
#

damn that's big

young shoal
#

that's what ur mom said

lusty rune
#

only seen it on paper πŸ₯΄

carmine apex
#

.latex $a\Biggg/a$ looks like just 2 gs

median domeBOT
young shoal
#

thereos \Huge iirc

#

and \Large

gritty zinc
#

yikes, C doesn't even have a bool

young shoal
#

yeah it does, more recent versions

gritty zinc
#

you need to do #include <stdbool.h>

#

and it's a enum

jovial oriole
#

smh

tardy rain
#

Arent they just macros

#

That expand to 0 and 1

gritty zinc
gritty zinc
graceful basin
#

to be fair, C started out as a very complicated assembler for PDP-11

#

so expecting something like bool which is not part of the PDP-11 is not reasonable /s

shell void
#

there are a lot of channels in this server

#

It takes me some time to find a specific channel lol

#

I wonder if they could just combine some channels related to the same topic

distant hazel
#

once you become familiar with the topical channels you are interested in, you can mute and hide the ones you don't care about

#

also take advantage of muting categories so that you can collapse them and hide all the channels within them

#

handy for things like the dormant help channel category at the bottom

#

as for combining channels.. are there any you think that could be combined?

shell void
#

Well what if we combined all the off topic channels?

#

Oh wait nvm it would be too spammy if you did that

#

disregard my last question

jovial oriole
main schooner
#

are there any massochists here that wanna deobfuscate some js with me hahhahehehehahehe

#

help

#

😳

shell void
#

NUKE???

ancient narwhal
#

Is there a name for the "psychological effect" where people will try to earn points, even if the points are meaningless? (reddit karma, SO reputation, likes, etc)

#

can't find it

lusty rune
gritty zinc
#
// I'm so sorry
#[allow(clippy::cognitive_complexity)]
warped sentinel
ancient narwhal
#

yeah it's possible there's no term. Wife thought there was

wild yoke
#

Aha

#

W

topaz aurora
#

@wild yoke Please don't spam emoji

wild yoke
#

Oh ok

#

Sorry

topaz aurora
#

All good

wild yoke
#

Nice

topaz aurora
#

There's #bot-commands if you like

wild yoke
#

K

bold moat
#

what does the channel name mean today

#

andrew tate?

#

love that guy

floral apex
#

Literally focused on her nose

tulip cedar
acoustic moss
#

it was @trail juniper

#

scaleios is great

craggy crypt
#

good ol tate limit

trail juniper
#

Actually it was @frozen coral πŸ‘€

#

He copied my PR body which had that, but it’s 100% Chris

craggy crypt
#

blame game πŸ‘€

trail juniper
#

It’s how you stay successful, always blame Chris

#

It’s worked so far

frozen coral
#

Agree agree

subtle violet
#

What do you guys prefer
Lvm set up or raid (specifically raid 0) set up
Just for homelabs

rough sapphire
#

@rough sapphire

tidal bluff
rough sapphire
rough sapphire
rough sapphire
rough sapphire
rough sapphire
lusty rune
#

get a room u 2

rough sapphire
#

ill pass

#

dont wanna be a pedophile

lusty rune
#

excuse me what

rough sapphire
lusty rune
#

i am so confused

rough sapphire
#

capybaras is all i need

#

πŸ™

twilit temple
#

well this conversation turned around quickly lemon_eyes

rough sapphire
#

Capybaras are all I need.*

wise kestrel
#

I've got an ethical question for you guys
many people are addicted to youtube
so is it ethical to contribute to a site that encourages and causes this addiction?

twilit temple
lusty rune
#

the way you word it makes it seem like youtube is the big bad evil guy

#

but content in there can be very informative

#

just because someone is addicted to books doesn't mean you shouldn't publish a book(if you were to)

wise kestrel
twilit temple
# lusty rune but content in there can be very informative

agreed. while we cant portray youtube as this neutral innocent entity (theyve certainly done some sketchy things), i think creators who purposefully make addictive content (look up "minecraft" and scroll down past the first 20 results) are also partly to blame. in other words, no one party here can be declared at fault

#

then there is also the argument that if someone is addicted to youtube, its mainly their own problem, since ultimately only they can deal with their addiction (or their parents if the person in question is a child under parental guardianship)

warped sentinel
# wise kestrel I've got an ethical question for you guys many people are addicted to youtube so...

I think the word "addiction" is thrown in a bit too freely.
By definition, every business, website and even store will strive to maximize their revenue and customer satisfaction. So yeah, they will want to make you watch more videos because it means you are satisfied with what you see and it makes them more revenue. Amazon will maximize the amount of money you spend on them and so will walmart in their physical stores. Even discord's valuation is tied to how much money they make and how many users participate daily/monthly.
Where it crosses the lines is if it specifically targets vulnerable classes (ex: kids) that can't necessarily make decisions

karmic gust
#

im not sure the fact that every business tries to addict their customers makes it not a bad thing

#

also i think addicts are definitionally vulnerable

warped sentinel
#

why not? A happy customer is a customer who will come back

#

You do hear a lot about devoted customers and other words thrown in

karmic gust
#

the fact that they're coming back doesnt necessarily mean they're happy though

warped sentinel
#

Indeed. You could get into monopoly and such.
But that's also why I don't like the word "addiction" used so freely and broadly

#

And I am also all for declaring the apple brand as toxic

simple plume
tardy rain
#

i think this definitely falls under the responsibility of the individual
there's nothing inherently wrong or unethical about making videos, unlike contributing to some tobacco company's products
we need to teach people that society isnt out here playing mommy and daddy for them

bold moat
#

it is the person's problem

#

think youtube is bad? dont watch youtube. i bet you would though.

tardy rain
#

youtube is bad but that doesnt mean the individual isnt to blame at all

#

we give corpos their power

bold moat
#

yeah the problem's solved if you dont watch youtube. as for the others? i dont get why one should care about the others in this regard

uneven pine
#

What's your GitHub use her name?

rough sapphire
#

Which I feel is kinda similar to discussion about depression/mental disorders in general or drug addiction (which is more connected to 'YouTube addiction')

simple plume
# bold moat it is the person's problem

As much as this falls under the person responsibility, this doesn't mean that the product itself isn't bad, as wnb just mentioned, it would be similar to drug addiction, drug is bad and addicting, but it's the person can choose to use it or not

rough sapphire
#

Sorry, force of habit

#

I'll do next time

bold moat
#

yeah no prob its just that i dont see it immediately

bold moat
rough sapphire
#

But then you could say that, since they sincerely believe it's not addicting, it's not entirely their fault

bold moat
#

they should know better by the time theyre like 13

#

because when i was younger than 13, my parents restricted my internet usage anyway so i didnt get addicted

simple plume
bold moat
#

its not good

#

but it makes money for many

#

and it should be pretty obvious that youre addicted once you keep instinctually watching for hours which hinders your other tasks

#

what should one do then?

#

stop watching videos, and begin making videos

#

and addicitng others

#

and make a profit

#

and more people should keep on being enlightened or else this system doesnt work

#

morally at least

simple plume
#

I don't get your point, it almost seems that you are okay with all of this...

bold moat
#

them as in youtubers

#

or

#

just

#

leave youtube

#

or

#

just

#

be unbothered

#

idk

lusty rune
#

i think it's time to bury this convo

rough sapphire
#

Can I get a last mention? I'm slow at typing

#

I kinda mentioned mental disorders in my previous reply because the recent discussion kinda sounds like "just don't be depressed"

#

But yeah, it might be better to bury the conversation now

tardy rain
#

I dont think the comparison between actual drugs and videos is valid

#

Theyre just videos lol, nothing about a video makes it addictive

#

Something something gets your brain to release endorphins or whatever, still not the same

rough sapphire
#

I kinda agree; I kinda used it more as "there might be outside factors in YouTube addiction, in the same way that there might be outside factors in drug addiction"

tardy rain
#

Besides, there's worse things to work for or contribute to

bold moat
tardy rain
#

My next job is at a gambling services company

#

I had a very brief pause about taking the job and then i got a bill in the mail

#

So that pause went away as soon as it arrived

bold moat
#

hmmmmm

jovial oriole
bold moat
#

hmmm so solutions?
cut out youtube
limit youytube
make youtube

#

there's a lot of money in social media if the game's played right

uneven pine
#

It's not identity theft that you know my use her name is local wolfgirl

jovial oriole
#

username or use her name?

uneven pine
jovial oriole
#

br spelling matters

uneven pine
#

I don't care about spelling in Brazil

young shoal
tardy rain
#

Lockheed is cool, what about them

#

Just cause they make rockets?

young shoal
#

personally i'd be fine, but some people would think "i help program missiles" -> "i kill people" Β―_(ツ)_/Β―

tardy rain
#

The need to survive outweighs whatever randos on the internet think

young shoal
#

no i mean, the person with the job might think that

tardy rain
#

Oh, well why take it in the first place, surely you know what lockheed does or you find out before you accept

#

Isnt it like the one thing to do before an interview

young shoal
#

idk? Β―_(ツ)_/Β―

#

like you said, if you need the money and you don't have other choices, you might just have to take the job

tardy rain
#

I'll take the cash if they feel so bad about it

karmic gust
#

i dont think anyone's choosing between Lockheed Martin and starving

young shoal
#

it could happen Β―_(ツ)_/Β―

tardy rain
#

Not at the point in life where I get to pick and choose like this

honest star
tardy rain
#

That doesnt sound like a choice, lockheed people can probably get into whatever company they want

#

Just sounds like theyre reaching for validation

#

Stop lying to yourself and accept the cushy job at the missile making company

honest star
tardy rain
#

Maybe i should apply to Lockheed then
Get paid the bug bucks

#

Big*

young shoal
#

i think it would be interesting tbh. a lot of cool stuff goes into letting the missile know where it is, and where it isn't

karmic gust
#

kinda simple, just subtract where it is from where it isn't, or where it isn't from where it is (whichever is greater)

young shoal
#
def deviation():
whichever is greater {
  where it is - where it isn't
} {
where it isn't - where it is
}
jaunty wraith
#

awaiting million dollar cheque

tardy rain
#

Lockheed doesnt pay as much as I would like turns out

#

Very sad

#

Glassdoor has them lower than what I'm about to make

young shoal
#

really?

tardy rain
#

Software engineer @ 40220 GBP average

#

Might just be that UK salaries are trash

young shoal
#

oh do they have jobs over there? yeah probably lol

tardy rain
#

Fucking sucks paying London prices with shit UK wages

uneven pine
#

40k seems... Awful for a software engineer

young shoal
#

US 😀 πŸ¦… πŸ”«

#

pretty average

uneven pine
#

Like junior dev jobs often pay ~60k a year

#

I had a friend making that straight out of college lol

young shoal
#

it's much higher nowadays, even more than 100k

bold moat
uneven pine
#

I'm not awake I swear

#

I just almost stepped into the shower fully clothed

graceful basin
#

I got offered 20k here in the czech republic with no negotiation for an internship and our cost of living is far lower than the UK

rough sapphire
#
    if(is.nan(beta_1)){
      beta_1 <- 0
      p <- 1
    }else{
      p <- summary(modelo)$coefficients[2,4]
      if(is.nan(p)) p <- 1
    }
    return(p)
#

Anyone know what language is that

acoustic moss
#

R? pithink

rough sapphire
#

I guess?

#
  prog()
  f <- purrr::possibly(download_arquivos, "")
  f(url, dir)
}

# Rodando com a barra de progresso
progressr::with_progress({
  prog <- progressr::progressor(along = links)
  furrr::future_map2(links, files_csv, 
                     maybe_download_nasa_prog, prog=prog)
})
acoustic moss
#

yeah im fairly sure thats R

rough sapphire
#

Thanks

#

R was written in Python

#

Right

jaunty wraith
#

nope. C

brazen ingot
#

Sup nreds 🧐

rough sapphire
#

Sup

wild yoke
#

IMPOTOR ‼️

#

DICORD ‼️

eager trout
#

damn

rough sapphire
small coral
jovial oriole
#

i'm all for the environment and protecting it, but fuck this

eager trout
#

Unless they meant that he aimlessly moved from place to place for no reason

small coral
scenic blaze
#

@edgy ravine Wash your clothes. There are usually unhelpful chemicals and stuff on new clothes.

edgy ravine
#

I just don’t want them to allready start shrinking

#

Each shirt was like $50

#

And I have 6

thick osprey
#

For *most general fabrics wash in cold, don't over dry. Be sure to look at the tags. Those symbols on them explain how to wash them.

edgy ravine
#

Well I kinda allready washed in hot

#

Uh oh lol

royal lakeBOT
#

Hey @rough sapphire!

It looks like you tried to attach file type(s) that we do not allow (.exe). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.

Feel free to ask in #community-meta if you think this is a mistake.

floral lagoon
#

Rat ?

royal sierra
#

alright people of this discord server...

#

i need help please

#

so I need to put in my phone number to publish right

#

but my phone number is already used for a different account

#

and I can't log into that account because if forgot my password for that email

#

basically what I'm saying is i either need a way to log into my gmail that has the fiverr account that has my phone number in it, or find a way to get a new phone number

#

and I don't want to change my phone number

rough sapphire
lusty rune
#

wtf

rough sapphire
#

πŸ₯΅

craggy crypt
rough sapphire
craggy crypt
rough sapphire
floral apex
#

Sir

#

That is clearly a dog

#

Even the video says it

pure phoenix
#

im clearly a dog

#

🐢

#

πŸ‘…

floral apex
#

No you're grass

thin cloak
thin cloak
craggy crypt
floral apex
craggy crypt
#

yey, im going to make an army of ducks now

#

we will eliminate 🧒 y's from this world

glacial owl
#

I'm getting into a rabbit hole of IdeaVim. There's so much potential (even compared to plain vim, with various refactorings and structural editing) and so much to fidde around.
The configs (both on Vim's end and on Pycharm's end) to accommodate all options would be damn huge.
And maybe I'll start remapping Vim mappings themselves to be more ergonomic, e.g H and L for start/end line motions.

floral apex
#

Is Hugo pronounced Hug-o or Hue-goh

glacial owl
#

I pronounce it like huge, but o

jaunty wraith
#

hue-go

#

"huge, but o" would be hue-joe

floral apex
#

Is JPEG, Joint Photographic Experts Group, pronounced jay-feg or jay-peg

jaunty wraith
#

jay-pee-ee-gee

rich hazel
#

Jaypeepeee

bronze dawn
#

I feel that professional gaming should be in the olympics

#

As a category

#

Where each game could be a sport of sub category

frozen coral
#

esports is part of the Commonwealth games this year

#

I think the Olympic committee are looking at Esports

#

mostly due to the money involved in the big games these days

grave cove
craggy crypt
#

we need to get rid of them

bold moat
jovial oriole
mild abyss
frozen coral
#

Of course, anyone who thinks otherwise is naive

#

All for-profit companies at the end of the day only care about profits.

mild abyss
#

u cant

open cliff
#

@hushed drum the channel closed, so I couldn't ping you.

Anyways, I summarized the conversation into a single answer -

Assuming that each answer is within a single line, has an equals sign(=) at the start, and a linebreak(\n) at the end.
e.g.

... something something definition ```

We can split on the `=` character, then split on the downline(`\n`) character.
Separating each definition from its answer. While the answer would be at the 0th index, in the next element.

Resulting in a nested list like this -
```py
[ ["card 1's definition", ""],
  ["Card 1's answer", "card 2's", "definition"],
  ["Card 2's answer", "card 3's definition"]
  ...
]

Example code -

def get_data(text: str) -> list:
   # splitting
   data = [i.split("\n") for i in text.split("=")]
   # joining the definitions(i[1:]) together,
   # while leaving the answers(i[0]) behind.
   data = [ [i[0], " ".join(i[1:])] for i in data]
   
   return data

   
def match_answers(data: list) -> list:
   data[0].insert(0, "") # fixing the first element. 
   data = [(i[1], v[0]) for i, v in zip(data[:-1], data[1:])]
   
   return data

def main() -> None:
   with open(...) as file:
      text = file.read()
   
   d = match_answers( get_data(text) )

   print(d)

if __name__ == "__main__":
   main()
```**Please dont mind the indentation, writing this on the phone.

Also, note that this probably can be simplified even further. A quick fix could be to return the statements directly, without reassigning. _(I left it this way in order to separate the steps)_.
bronze dawn
quiet tusk
#

PEMDAS may be the of powerhouse of the maths

#

But the mitochondria is the powerhouse of the cell

#

So there :3

solemn leaf
#

biology intensifies

mild abyss
#

I study microbiology. It's god that powers the cell

floral apex
#

What powers powers

runic wigeon
mild abyss
#

WTF

raw trail
#

it's bodmas, not pemdas 😠

bold moat
thin cloak
lusty rune
runic wigeon
lusty rune
runic wigeon
#

like unisex shirts can be worn by both male and female

lusty rune
#

yeah

#

isn't that what nonbinary means?

#

"not gender specific"?

runic wigeon
#

yeah it does

lusty rune
#

got me confused for a second there 😠

runic wigeon
#

I was confused too yeah lol

tardy rain
#

Pick the best fit and ignore what that fit is called?

floral apex
#

While non binary is neither male or female

lusty rune
floral apex
#

Hmmm yeah but then again, !unisex could also mean either (without an n) male or female

#

As well as neither

jaunty wraith
#

why are we applying boolean math to this?

runic wigeon
#

I guess it's time to drop this topic

#

way too confusing

lusty rune
jaunty wraith
#

s/a/e

runic wigeon