#ot1-perplexing-regexing

1 messages Β· Page 637 of 1

rough sapphire
#

hey yooo

#

yall got tips to learn coding faster

#

Am down bad broke too

calm dawn
#

Does anyone know of a Discord server for OpenCL programming?

distant hazel
#

@twin hearth contact @polar knoll if you want details on your mute

boreal zealot
#

you should look into that

distant hazel
#

your account seems brand new?

#

so dunno what you're on about

boreal zealot
#

yeah, like i said, i couldnt dm modmail

#

you muted me

distant hazel
#

you're apartment angels?

boreal zealot
#

yes

distant hazel
#

you have your DMs closed

#

hm

boreal zealot
#

i've only done this because modmail nor anyone else could get contact through the server

distant hazel
#

pls check your settings

rough sapphire
#

CAPS ON SORRY TEAM

#

LOL

hidden pebble
#

tfw you fix all the bugs except one and make a ton of new bugs in the process of fixing that one bug

#

πŸ₯΄

mild abyss
#

oh i made an ISSUE there before hmm

rough sapphire
acoustic moss
#

it also cannot contain #

#

which i learnt recently

gritty zinc
rough sapphire
opal trout
#

format!("{{}}", "foo") returns "{foo}"

#

I don't know how or why this confuses me so much

small coral
#

(and no i can't add backslashes to f-strings it's too complicated)

floral apex
#

!e

print(r"\")
royal lakeBOT
#

@floral apex :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print(r"\")
003 |           ^
004 | SyntaxError: unterminated string literal (detected at line 1)
floral apex
#

!e

print(r"\\")
royal lakeBOT
#

@floral apex :white_check_mark: Your eval job has completed with return code 0.

\\
rough sapphire
#

!e
print(f"\\")

royal lakeBOT
#

@rough sapphire :white_check_mark: Your eval job has completed with return code 0.

\
mild abyss
#

@acoustic moss arent u a core dev of python?

acoustic moss
#

definitely

small coral
#

i am definitely not a core dev

small coral
craggy crypt
#

oh shit, i didnt even notice, that snake is not hitting his head anywhere, he is slither.io approved

small coral
#

pretty sure you can bump overlap your tail in slither.io

gaunt burrow
#

i am not human

#

i am n||ever gonna give you up, ||ga

small coral
craggy crypt
small coral
craggy crypt
#

πŸ‘€πŸ‘€

#

oh shit u can

small coral
#

there's a difference between that snake game on google play and slither.io

#

also i dedicated this whole game just to prove you wrong

#

in the few seconds i was away posting this image i just went straight and didn't get killed by anyone

craggy crypt
#

lol

#

gj

elder steppe
#

!e
print(β€œHello World”)

royal lakeBOT
#

@elder steppe :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print(β€œHello World”)
003 |           ^
004 | SyntaxError: invalid character 'β€œ' (U+201C)
elder steppe
#

!e
x = 69
print(x)

royal lakeBOT
#

@elder steppe :white_check_mark: Your eval job has completed with return code 0.

69
elder steppe
#

!e
x = 69
y = 69**2
print(y)

royal lakeBOT
#

@elder steppe :white_check_mark: Your eval job has completed with return code 0.

4761
tardy rain
#

#bot-commands

dull shuttle
#

!e
x = 69
y = 69**2
print(y)

royal lakeBOT
#

@dull shuttle :white_check_mark: Your eval job has completed with return code 0.

4761
winged dust
clear acorn
split dust
#

print('no')

#

!e
print('no')

#

!e
import random
print(random.randint(0,100))
print('WHAT NUMBER U GOT')
a = int(input())

royal lakeBOT
#

@split dust :x: Your eval job has completed with return code 1.

001 | 64
002 | WHAT NUMBER U GOT
003 | Traceback (most recent call last):
004 |   File "<string>", line 4, in <module>
005 | EOFError: EOF when reading a line
clear acorn
craggy crypt
#

i am (not)? a core dev

steady thunder
#

hi

steady thunder
# craggy crypt i am (not)? a core dev

me on my test: Q 7,355,988,069,420,069,420) the earth flat? yes(n't) ... Teacher: You said the earth is flat- Me: No I wrote yesn't which means no Teacher: Oh ok.

summer horizon
#

@robust plaza saw your message re North Korea hackers, and just wanted to bring that chat into this off-topic channel! πŸ™‚

Nation state hackers are definitely interesting - for good and bad reasons. You should listen to some the Darknet Diaries podcast - the host has talked about the Lazarus group and some of their doings in a few episodes.

brittle sierra
#
function getRandomItem<T>(array: T[]): T {
  return array[Math.floor(Math.random() * array.length)]
}

function was generated by github copilot

const apparelLocation = ["HEAD", "TORSO", "ARMS", "LEGS"] as const
type TypeApparelLocation = typeof apparelLocation[number]
// ...
class Apparel {
   location: TypeApparelLocation

   constructor() {
      this.location = getRandomItem(apparelLocation)
   }
}

using the function gives error

"Argument of type 'readonly ["HEAD", "TORSO", "ARMS", "LEGS"]' is not assignable to parameter of type '("HEAD" | "TORSO" | "ARMS" | "LEGS")[]'.
  The type 'readonly ["HEAD", "TORSO", "ARMS", "LEGS"]' is 'readonly' and cannot be assigned to the mutable type '("HEAD" | "TORSO" | "ARMS" | "LEGS")[]'."

few "fixes" i found

  1. removing as const from the variable made it work but i can assign any value to location and not just those 4
  2. removing type annotation on the function and use a plain array: any also works but it's giving a warning

a bit new to typescript so apologies if it's an obvious mistake by me
is there a more solid fix?

#

so what i'm trying to do is

  1. create a variable containing an array with literal values
  2. create a type declaration (an union of literal) from that array
  3. use that type as an annotation on a class attribute

as to why i need the first reason is because i need do a loop somewhere else (in my case a .vue file)

distant hazel
#

@rough sapphire i got a false value when comparing column A1CF

#

in case that matters

distant hazel
#

but take a look at just pre_processed_df['A1CF'] == train_df['A1CF']

#
In [95]: df["A1CF"] == df2["A1CF"]
Out[95]:
0     True
1     True
2     True
3    False
4     True
5     True
6     True
7     True
8     True
9     True
Name: A1CF, dtype: bool```
#

i wasn't aware you could use in like that

#

are you sure that's how it works?

rough sapphire
#

it's a continuous value

#

continuous values are different between the two dataframes

#

and only the ones from pre_processed_df are kept

distant hazel
#

ok, it seemed you were trying to check if the column values matched from each df in order to check that their orders matched

rough sapphire
#

yea, only some of them should match

#

not all of them

distant hazel
#
In [106]: df[["A1CF"]]
Out[106]:
   A1CF
0   0.0
1   0.0
2   0.0
3   NaN
4   0.0
5   0.0
6   0.0
7   0.0
8   0.0
9   0.0

In [107]: df2[["A1CF"]]
Out[107]:
   A1CF
0   0.0
1   0.0
2   0.0
3   NaN
4   0.0
5   0.0
6   0.0
7   0.0
8   0.0
9   0.0```
tho it's interesting i would have expected these to be `True` all the way thru
#

apparently nan doesn't equal nan

rare surge
#

!e
print("Hello world!")

royal lakeBOT
#

@rare surge :white_check_mark: Your eval job has completed with return code 0.

Hello world!
rare surge
hollow vessel
#

Yo guys, idk where to ask
Do you think I can somehow extend my system disk space with this "unallocated" space?

#

(basically: can I merge last 2 partitions without wiping /dev/nvme0n1p5

surreal dawn
rough sapphire
#

@rough sapphire whats your problem?

#

yo

rough sapphire
#

smh

rough sapphire
#

i dont react cuz

rough sapphire
rough sapphire
#

:<

rough sapphire
#

u take it serious :<

#

@rough sapphire this is my main account 😭
@rough sapphire is the alt, which i dont use lol

rough sapphire
#

are u talking to kavya or saying that kavya is my main account?

rough sapphire
#

okk xD

#

sparky is shit?

#

..

#

lmao

tulip cedar
#

Wait, you the reptile boy, right?

tulip cedar
#

Yerl iirc

floral apex
#

Which Reptile

#

Confused Reptile?

gritty zinc
#

πŸ‘€

distant burrow
gritty zinc
#

noo, please don'tπŸ₯Ί

distant burrow
#

ok

#

now go little one, expllore the world with those eyes

floral apex
rough sapphire
#

out of energy

opal trout
obsidian plover
#

logo_stack_overflow why is there a stack overflow emoji

rough sapphire
hidden pebble
#

πŸ‘€

tulip cedar
#

Huh

hidden pebble
tulip cedar
#

Ah cool

rough sapphire
#

looks like you can speak portuguese

desert meadow
#

the channel is correct

#

all that's stopping a sudden fusion of metals is a white/yellow line and a mutual agreement not to play bumpercars

pure scarab
#

@rough sapphire

#

He got raided?

rough sapphire
#

nah im just joking lol

pure scarab
#

Robin sounds like a rage quitter ngl

rough sapphire
#

yo

pure scarab
#

Get raided 1 time and BOOM IM OUT

rough sapphire
#

i said 2

#

tf

#

fr hes bad

#

@grave cove stop dodging my friend rq

pure scarab
#

Yeah

calm hound
#

y'all bullying him

grave cove
rough sapphire
#

10

rough sapphire
grave cove
pure scarab
grave cove
#

lmao

rough sapphire
rough sapphire
grave cove
#

i placed 6th global last season is that not enough for you

calm hound
#

split gate πŸ’€

pure scarab
#

No

rough sapphire
pure scarab
#

1st

rough sapphire
#

i wouldve placed 1th for sure

rough sapphire
pure scarab
#

No point in playing if you cannot get first

grave cove
rough sapphire
calm hound
grave cove
#

me and my buddy were so good they thought we were cheating lol

calm hound
#

sheesh

rough sapphire
pure scarab
rough sapphire
rough sapphire
calm hound
#

ya got gaming pc Robin?

grave cove
#

ye

pure scarab
calm hound
#

pog champ

pure scarab
#

I'm good at it

rough sapphire
grave cove
pure scarab
#

LMAO

rough sapphire
#

bro

#

bro

grave cove
#

you got 25-3d

rough sapphire
grave cove
#

my what

calm hound
#

ayo

#

u guys good?

rough sapphire
#

WHO 😏

#

Robin isnt good

rough sapphire
#

me😳

grave cove
calm hound
rough sapphire
#

yo

grave cove
#

i should probably go to bed

rough sapphire
#

its jhonathon55 status

calm hound
#

of

rough sapphire
calm hound
#

didn't see tha

grave cove
rough sapphire
calm hound
#

..

grave cove
#

bro what

calm hound
#

u guys

#

are mad sus

rough sapphire
rough sapphire
#

status

grave cove
#

leave the guy be

rough sapphire
#

Jonathan running rn

calm hound
#

let Robin have peace

rough sapphire
calm hound
calm hound
rough sapphire
#

..

#

😳

grave cove
#

what in the world is going on here

#

bruh

#

I'm confused

thick osprey
#

And this is how channels loose the emote reaction permissions.

calm hound
#

frue

#

true

rough sapphire
grave cove
#

Not sure if it's ok in off topic

rough sapphire
#

im fast

pure scarab
pure scarab
rough sapphire
#

..

rough sapphire
#

@rough sapphire staph

#

oh shit

#

oh wow

#

no cooldown

#

nice

verbal trench
#

Wat

rough sapphire
#

lmao

#

i can spam

#

:")

#

lmaoo

#

:

#

why am i feeling like the convo ended

#

lol

rough sapphire
#

~~ to which one? ~~

verbal trench
rough sapphire
rough sapphire
#

πŸ’€ my friends will think i'm catfishing

#

on discord

#

LMAOO

verbal trench
rough sapphire
#

LKMAOOO WTFFFF

#

πŸ˜‚

verbal trench
#

He got caught after 1 message

rough sapphire
#

πŸ’€ πŸ˜‚

verbal trench
#

Ashley couldn't help kayya be more like a woman

rough sapphire
#

πŸ˜‚ i like that part "be more like a woman"

#

aye @rough sapphire

rough sapphire
rough sapphire
#

nvm

rough sapphire
#

xD

rough sapphire
#

l

calm apex
#

could someone try joining the minecraft server mc.innac.org I just need to test it out. java 1.18.2

pure scarab
verbal trench
pure scarab
#

I was sleeping then

dim pewter
tiny basalt
#

@soft violet

candid grotto
tiny basalt
#

i have sent you friend request

#

i cant talk

#

here

dim pewter
candid grotto
dim pewter
#

Good πŸ‘

distant hazel
#

@wraith nimbus hey, sorry we don't allow surveys

wraith nimbus
#

Alright I understand

distant hazel
#

why are corn flakes magical Thinking_chief

wraith nimbus
#

Wdym

#

why wouldn't they be

distant hazel
#

your username

#

ahaha

wraith nimbus
#

like ever had a bowl of cereal at 2:00 AM

distant hazel
#

yeah

wraith nimbus
#

yea can't say it wasn't magical

distant hazel
#

cereal is appropriate for all hours of the day

#

but my preference is,.. honey bunches of oats

wraith nimbus
#

like as in porridge?

distant hazel
#

WAT

wraith hound
wraith nimbus
#

idk I'm British

distant hazel
#

Honey Bunches of Oats is a breakfast cereal owned by Post Holdings and produced by its subsidiary Post Consumer Brands. Created by lifelong Post employee Vernon J. Herzing by mixing several of Post's cereals together and having his daughter taste them, Honey Bunches of Oats was introduced to markets in 1989 after three years of development. The ...

#

the honey clusters are the best

distant hazel
grave cove
#

The hard round things?

#

those are really good

wraith nimbus
#

I haven't had that

wraith nimbus
#

are they like Crunchy Nuts

wraith hound
distant hazel
#

do you have other post cereals?

wraith nimbus
wraith hound
#

me and my brother pick those out of the box while we eat

distant hazel
#

lmao

#

@wraith nimbus do you know what we americans call "crumpets"?

wraith nimbus
#

I know what I call crumpets

#

they're like fat pancakes i guess

distant hazel
#

we call them "english muffins"

wraith nimbus
#

if you cross pancakes with waffles

#

so what's a non-english muffin

#

this is a crumpet

#

this is a muffin

wraith hound
wraith nimbus
#

you call that crumpets??

distant hazel
#

no no

wraith hound
#

no that is a muffin

wraith hound
distant hazel
wraith nimbus
#

but we don't call that muffins

#

it's like calling Auschwitz a Polish concentration camp

wraith hound
#

okay but that's like saying "french fries come from france"

#

they don't but we say it anyway

distant hazel
#

idk why we do, but that's the brand i had growing up

wraith nimbus
#

that's why "french fries" is also incorrect

#

you say chips

distant hazel
#

incorrect, they're freedom fries

wraith hound
#

no you just say "fries"

#

lmfao

wraith nimbus
#

fish and chips

#

not fish and french fries

wraith hound
#

fish and fries just rolls off the tongue

distant hazel
#

ngl fish and chips sounds so unappetizing to me

wraith hound
#

not that I eat fish

distant hazel
#

burger and fries, sure

#

but why fish

wraith nimbus
acoustic moss
#

americans

wraith hound
wraith nimbus
#

5 guys

#

I've only been in one in the UAE

#

it looks so shit

#

went inside and immediately my hunger passed lmao

wraith hound
#

american fast food kinda sucks

distant hazel
#

idk if 5 guys counts as fast food like mcd or burger king

#

since they are actually cooking patties

tardy rain
#

I would call it premium fast food

#

5guys cajun fries are so good

distant hazel
#

see i was told that by college friends and just went with it

#

but the last time i had it again they didn't taste that good at all

#

i do like the vinegar tho

#

more places should do that

#

but really, can someone show me a typical fish and chips picture?

#

i love fish & seafood in general, so it's not that i dislike fish

#

like mussels & chips/fries is so good

tardy rain
#

Fish and chips is pretty basic to be called seafood tbh
Just a slab of cod and potatoes

floral apex
#

Literally toasted bread between two slices of bread

blazing steppe
lusty rune
thin cloak
blazing steppe
lusty rune
#

tf does that even prove

#

pLeAsE reSpEct tHe cOurTs tIme

blazing steppe
#

Yeah yeah I saw that and she was trying to depict it too fucking weird

#

Like if he kissed amber therefore he is perverted so therefore his testimony doesn't matter

lusty rune
#

she made it seem like greeting was a bad thing like tf

blazing steppe
distant hazel
#

please don't use ableist language here

#

i haven't watched these trial clips yet. worth?

#

i feel like they might just depress me lol

lusty rune
#

wouldn't call it depressing but it's just plain dumb when ambers lawyers start opening their mouth

#

it's just.. baffling

last mantle
#

Amber Heard pooping on their bed πŸ—Ώ

lusty rune
#

πŸ’€

#

she literally admitted to hitting johnny but the case is still somehow ongoing

#

reverse the roles and depp would be in jail

blazing steppe
blazing steppe
#

They have depp and back n forth with mr rottenburn

distant hazel
lusty rune
distant hazel
#

especially when it comes to legal stuff

#

so this is a defamation suit?

blazing steppe
lusty rune
hidden pebble
#

failed to compile assembly, fallback to C

craggy crypt
#

huh?

lusty rune
# craggy crypt huh?

she's basically pretending hard to make it seem like she was a victim of domestic violence

craggy crypt
#

πŸ‘€ πŸ‘€

wraith nimbus
blazing steppe
#

lemme cry some more so that people will side with me

#

nvm the tapes where I admit to hitting Johnny

#

but he had to grow up he is such a fuckin baby

jovial oriole
verbal trench
#

How many millions of years of evolution do we need as humans to get bone claws like wolverine

tardy rain
#

i hate k&r brackets so much

jovial oriole
true barn
verbal trench
#

Not adamantium

#

Also we would be fucked

#

No way we can moved that much weight with our body

jovial oriole
#

just get a bone formation issue at a young age!

verbal trench
jovial oriole
floral apex
jovial oriole
#

bone and muscle deformations are much more efficient

floral apex
jovial oriole
thin cloak
#

Lmao

jovial oriole
#

bone and muscle deformations are much cheaper

thin cloak
#

Get bitten by radioactive spider free lmao

hidden pebble
#

Or just become iron man

#

Watch a YouTube tutorial or something

rough sapphire
#

deleted last message....

rough sapphire
thin cloak
narrow pecan
#

I like that comparing trash can Emojis miight not be Something you’re all interested in lol

#

Realized*

rough sapphire
narrow pecan
#

@rough sapphire what trashcan emoji do you prefer?

rough sapphire
#

idk tbh

last mantle
#

i so want to superstarify you vester

narrow pecan
#

Lol

#

Why:(

#

I’m just an innocent Greek guy

last mantle
#

ah thats why you were showing emojis

#

nitro user

rough sapphire
narrow pecan
jovial oriole
#

i wish i can make adult jokes in situations that seem funny as much as real adults do

last mantle
#

are you not an adult

jovial oriole
#

speak for yourself

last mantle
#

im the F# simp*

narrow pecan
last mantle
#

hmm

narrow pecan
rough sapphire
floral apex
rough sapphire
narrow pecan
#

Not quite

lusty rune
narrow pecan
#

Emoji beard font! I haven't gotten the chance to use it in ages

rough sapphire
floral apex
#

P9WtEH'

narrow pecan
#

I made it

craggy crypt
#

πŸ‘€ πŸ‘€ nice

narrow pecan
#

Designed the emojis, and then made a script to tell me where to place the emojis to write things

craggy crypt
#

ah thats really cool

quick ledge
narrow pecan
quick ledge
#

sure

narrow pecan
#

Branding Bot emojis >>>>

rough sapphire
narrow pecan
fierce mirage
#

So for somereason my End and Home key on the keyboard are not working.

#

Plus some other weird stuff like my F5 lowers brightness without holding Fn

verbal trench
lost vortex
#

immigrant scholarship

#

all i did was write 2 mediocore essays about the challenges of moving to the US and my love for my major/field of study

#

maybe 7-8k will go to tuition and the rest is going straight to investments 🀣

young shoal
#

sheeeeeesh

young shoal
lost vortex
#

but ill email them to make sure

young shoal
#

very nice

lost vortex
#

yup. also i did receive smaller scholarships for around 2k last semester. 1k went to tuition and the other got refunded, hopefully this is the same aswell lol

distant burrow
#

basically, if i'm not mistaken

#

you ARE allowed to use whatever you don't use for education

#

but you won't GET it from them if you say you are

#

aka if you go upto them as say, "i'm going to buy a new car w/this" they won't give it to you

#

but if you say "i'm going to buy books/courses with it along with extra classes fees"

#

they'll hand the cash over

lusty rune
distant hazel
#

i watched the depp video from yesterday

#

i can't not like him

#
  • disclaimer idk any actual details of the case
fossil dune
#

hi people how are u doing?

#

are there HTML generators ?
who can work with python

fossil dune
lusty rune
floral apex
floral apex
fossil dune
#

are there som library

#

for that ?

floral apex
fossil dune
fossil dune
floral apex
#

No, he's an actor

fossil dune
dim pewter
#

If cpython converts python to c for faster running can't it compile into an exe???

floral apex
#

CPython doesn't do that

#

You're thinking of Cython

dim pewter
#

Oh

tulip cedar
#

@dim pewter look into nuitka
You will love that

runic wigeon
blazing steppe
#

Comments are killing me 🀣

lusty rune
#

fr 🀣

#

those are hearsay comments

blazing steppe
#

Any defendant begins to speak
Mr rottenborn : THAT'S HEARSAY !

lusty rune
#

i'm glad this hearing is public

blazing steppe
#

Yeah the public ought to know how twisted and incompetent Law can be

blazing steppe
#

I think there we can clearly see JD covering his head laughing after the Judge calls out with "but you asked the question"

#

team AH is falling apart

rough sapphire
#

that's actually really funny

late ether
#

I drunk too much. Its been three days and I am not able to recover from hangover

#

Please suggest something

tardy rain
#

go to the hospital

#

its been 3 days and your first instinct is to ask discord?

late ether
tardy rain
#

yes? wtf

#

i hope youre joking

runic wigeon
#

lmao

blazing steppe
#

make juize

unreal pasture
#

@rough sapphire explain this

#

explanation?

#

why they trash?

#

which one did you have?

rough sapphire
#

t450

#

it died.

#

That is this?

#

t450?

#

now me salty

unreal pasture
#

oh wow

#

wdym by died?

rough sapphire
#

and sadly i don't know if there's gonna be any fixing it

rough sapphire
#

i've tried a lot of stuff on google, reset pin under the laptop, clearing cmos, removing batteries

unreal pasture
#

why did you get it?

rough sapphire
#

mmmmmm it was on sale

unreal pasture
#

oh so you got it new?

rough sapphire
#

no used

#

it worked for a few years actually

#

i digress

unreal pasture
#

how much you get it for?

rough sapphire
#

$700 cad

#

it's upgraded a bit

#

8gb ram

#

i7 5600u

unreal pasture
#

700 can get you a lot more these days

rough sapphire
#

like what?

unreal pasture
#

you could get a t480 with that much

#

(wait not much more)

rough sapphire
#

;-;

#

are the specs any better?

unreal pasture
#

2.5 bay
2 slots

#

8650u

#

(quad core, 15w)

rough sapphire
#

oh wow

unreal pasture
#

you can upgrade the ram as well

rough sapphire
#

you're right

unreal pasture
#

up to 64gb

rough sapphire
#

what ._.

#

on a laptop

unreal pasture
#

2x32

rough sapphire
#

interesting

rough sapphire
unreal pasture
#

thank you

#

have a nice day

rough sapphire
#

thanks

narrow pecan
drifting snow
#

both would be cool :) really like it

#

also how did you design these emojis?

narrow pecan
#

The script is lost, somewhere deep within a backup of an old computer of mine lol

narrow pecan
narrow pecan
drifting snow
#

makes me wonder what other things you could create with emojis

narrow pecan
last mantle
narrow pecan
#

What are you even thinking about

runic wigeon
jovial oriole
#

(CANADIANS HAVE JOINED THE CHAT)

echo turret
lusty rune
#

hearsay

dapper dew
#

@tardy rain thanks for the heads up, went ahead and cleaned it out as well in case you notice the message is missing

tardy rain
#

Thanks frien

glass zinc
#

started following you 3 days ago catnitrogen

eager cliff
vestal quest
#

every compiled language has pointers

#

...more or less

eager cliff
#

what

vestal quest
#

...exactly

#

"it's too dangerous!"

eager cliff
#

let me see if i can cause a segfault

vestal quest
#

might be difficult

#

it has built in memory checking

eager cliff
#

i wonder if i can assign pointers to arbitrary memory locations like in C.

vestal quest
#

I seriously doubt it honestly

eager cliff
#

if not, this is not a systems programming language.

#

at the very least you should be able to have arbitrary memory locations.

vestal quest
#

(it's not)

eager cliff
#
void *x = (int *) 1
eager cliff
#

you Can

vestal quest
#

...without special loading

#

...and with a program that is burnt onto a ROM.

#

CEMT P SHUT I

eager cliff
#

hmm..

vestal quest
#

the build process better not be utter trash.

eager cliff
#

okay maybe it can be used as a systems programming language..

#

interesting

#

the more you know

vestal quest
#

well, all it does is objcopy magic

eager cliff
#

Linux moment

vestal quest
#

ugh, everybody's copying linux!

eager cliff
#

Linux's project layout is pretty good i imagine.

#

so i think it might be a good thing.

vestal quest
#

...I wish

#

if you've tried to forward-port ANYTHING to Linux...

eager cliff
#

honestly never actually looked into the Go build system.

vestal quest
#

look at blackbit's token ring hack for linux 5.17

wraith hound
#

compiled /= low level

vestal quest
#

...I sholda said "good compiled languages have them"

wraith hound
#

that's still not true

vestal quest
#

remember: good is subjective

#

but yeah, I can name a couple that lack 'em

wraith hound
#

fine, but I'd be wary before making such generalizations about languages you've never heard of

vestal quest
#

OS PL/I doesn't have 'em unless you explicitly enable 'em

#

but yeah you ain't gotta have em

small coral
#

so your point is invalid immediately

vestal quest
#

to a bytecode interpreter

#

I wanna see a physical python bytecode CPU

#

you can get physical jvm processors

#

when I say compiled, I mean something that makes a language that runs directly on a real processor, not an emulator πŸ˜‰

small coral
#

also python is gonna generate machine code sometime in python 3.12+

#

and still no plans for pointers

vestal quest
#

I'm not holding my breath

#

every language technically generates machine code... that's what a JIT is

#

but, it's not a "precooked binary!"

small coral
vestal quest
#

like, if a compiler only produces code that runs on a mythical machine... that's a language processor

vestal quest
small coral
#

no it isn't

vestal quest
#

unless you're on some weird system

small coral
#

PyPy is one but normal python isn't

vestal quest
#

correct

#

but yeah, I wanna see a retargetable python compiler for an inmos or something 🀣

#

I fully believe that one will exist Soon ℒ️

thick osprey
#

Anyone familiar enough with GitHub to answer this thoery:

This is the main branch URL of the document which will remain current to any pushes to main
https://github.com/PagerDuty/developer-docs/blob/main/docs/webhooks/11-Webhook-IPs.md

This is the static url of the document, but is branch agnostic meaning updates won't reflect here:
https://raw.githubusercontent.com/PagerDuty/developer-docs/bafbbd6c297bdaf05c2d7526b82081cc45797d3e/docs/webhooks/11-Webhook-IPs.md

I think that's how github/git references things. Branches are just floating reference points with a name. The ...797d3e ref is a single point in history.

#

My brain is mush. Somewhere in this haze I'm yelling at myself that I know this. But here we are, regardless.

dapper dew
#

Does that long number correspond to a certain commit? I'm not too familiar with how raw.githubusercontent works tbh

wraith hound
#

the long number is a commit hash iirc

#

I believe you are right about all of that, Preocts. You can have commits that are completely untied to any branch, too.

thick osprey
#

πŸ’œ Thanks for the second eyes on it.

#

I should not be doing this now... but can't sleep! smile02

thick osprey
#

Gather PagerDuty webhook IP safelist from their help documents repo

This is to replace an extremely useful endpoint they are removing for some reason that would provide a simple, programmatically consumable IP list. Smile.

is my snark showing yet?

wraith hound
#

it's coming through the "for some reason" and the "smile"

thick osprey
#

This is such an ugly hack I'm building. I love it.

thick osprey
viscid hemlock
acoustic moss
#

then its not a tree 😠

civic stag
#

Right it's a DAG

#

Although only merge commits have multiple parents AFAIK

young shoal
#

although technically it would be a forest

jovial oriole
#

so, i ran this code py exponents = lambda base, exp: (lambda b, e, x=1: [(print(x), x := b*x) for i in range(e)][-1])(base, exp) print(exponents(999999999, 999999999)), here is the output -

royal lakeBOT
#

Hey @jovial oriole!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

jovial oriole
#

i really hope this works

royal lakeBOT
jovial oriole
#

yup i give up

#

dm me if you want the output of the code

#

new record

tulip cedar
royal lakeBOT
#

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

jovial oriole
#

exceeds the char limit

#

and pastebin too

#

Β―_(ツ)_/Β―

tulip cedar
#

Sad

jovial oriole
#

sadge

vestal quest
#
bash-3.00$ uname -a
SunOS solaris10 5.10 Generic_118855-33 i86pc i386 i86pc
bash-3.00$ make
c99 -c  -DNDEBUG        -I. -I./Include    -DPy_BUILD_CORE -o Objects/dictobject.o Objects/dictobject.c
"Objects/dictobject.c", line 429: too many struct/union initializers
"Objects/dictobject.c", line 658: warning: statement not reached
"Objects/dictobject.c", line 797: warning: statement not reached
"Objects/dictobject.c", line 871: warning: statement not reached
"Objects/dictobject.c", line 936: warning: statement not reached
"Objects/dictobject.c", line 1003: warning: statement not reached
c99: acomp failed for Objects/dictobject.c
make: *** [Objects/dictobject.o] Error 2
bash-3.00$

this is gonna be fun

#

in theory cpython 3.6 ought to work on Solaris... right?

tulip cedar
#

Ah

vestal quest
#

why on EARTH are google links so long

#

what I'm trying to say is that there's a lot of good info online besides what I can explain in one sitting

tulip cedar
#

Oh damn that link does work

#

Breh what a coincidence

jovial oriole
#

python is horrible for the environment, it has a garbage collector but no recycler

graceful basin
#

python does actually recycle quite a few things, such as lists.

tardy rain
#

@weary moat pardon the ping but what is the UKPA about besides pycon uk

#

Your site looks really young

#

What other events do you have going on

#

Also what on earth is matrix lmao, why not use discord

weary moat
#

You ping me and use a phrase like lmao and seriously expect a polite response?!

tardy rain
#

Just wondering, not trying to be rude

#

If you want this to take off wouldnt it make more sense to use a more popular platform?

#

Also im more interested in your events really

#

Never mind i guess, i'll wait and see how it pans out

#

Or not

tardy rain
#

Im gonna need a postmortem on this interaction lol

calm dawn
#

lmao

lusty rune
#

🀣 mans really took offense to lmao

young shoal
#

it is what it is Β―_(ツ)_/Β―

#

lmao

lusty rune
#

🀣

ebon pier
#

Is anybody here Georgian? I am interested cuz I want to know a bit about your language (if you are Georgian)

viscid hemlock
jovial oriole
jovial oriole
ebon pier
#

no bro, i asked just for help

brittle sierra
#
import my_mod # is an empty file

setattr(my_mod, "foo", "bar")

print(my_mod.foo)

is there a way to do this kind of stuff for javascript?

craggy crypt
#

Segmentation fault πŸ˜”

jovial oriole
floral apex
#

!shadowrealm

hidden pebble
#
>>> sys.getsizeof(1)
28``` ![thinkmon](https://cdn.discordapp.com/emojis/436537420067110913.webp?size=128 "thinkmon")
#

In theory shouldn't 1 and 0 take only one bit?

#

same for booleans

acoustic moss
#

all python objects have some overhead

#

their refcount, a pointer to their type

#

ints in python arent just pure numeric data like in c or java, they're full fledged objects

distant burrow
#

i couldn't give the slighest shit if my code harms the enviornment

acoustic moss
#

also even lower level languages don't have just 1 bit for booleans, they use a full byte because thats the minimum amount of memory most platformss support allocating

distant burrow
#

i'll be dead before we see any change

graceful basin
#

not allocating, addressing. Generally, allocation happens in larger byte blocks (16B for GNU malloc, word size for some others afaik)

gritty zinc
#

whoops, wasn't meant as a reply

rough sapphire
#

not always

#

sometimes it's 1 bit

gritty zinc
#

Zig does supports ints of every size from 1 bit up, though.

#

ah right, packed or something.

graceful basin
#

I believe C++ does some template insanity to make std::vector<bool> bit packed

rough sapphire
#

is zig even a contender? compared to Rust/Nim?

graceful basin
#

C gets arbitrary sized ints with 23, but they just get padded if the platform cant support them

rough sapphire
#

is zig a strict superset of C++?

graceful basin
#

nope

#

it's one of the few languages not depending on libc at all

rough sapphire
#

what's it's selling point tho

#

it doesn't even offer macros

graceful basin
#

being better C than C

rough sapphire
#

isn't that V?

gritty zinc
#

zig has comptime blocks allowing arbitrary code execution at runtime
EDIT: fuck, compile time, of course.

graceful basin
#

nope, V has a runtime and a GC

#

zig is just C, but without decades of legacy cruft

#

and leveraging modern tooling

rough sapphire
gritty zinc
rough sapphire
#

so zig has no GC?

graceful basin
#

nope

rough sapphire
#

so it's memory unsafe?

graceful basin
#

yup

gritty zinc
graceful basin
#

it is closer to C in its memory model than anything else

rough sapphire
gritty zinc
#

oh lmao, I wrote it wrong

#

at compile time, of course, not runtime

rough sapphire
#

oh, then .h πŸ™‚

#

#include directive

graceful basin
#

that's just copy pasting stuff

#

not executing

rough sapphire
#

wait

#

but we said compile time include

#

runtime -> executing?

graceful basin
#

you can't do sth like C++ constexpr stuff

gritty zinc
#

suppose you have a compile-time constant array. How do you, in C, calculate at compile time how many elements in it are even?
In Zig it's as simple as a for-loop in a comptime block.

rough sapphire
#

compiletime offers almost nothing tho..?

#

what if we have dynamic data structure like list

#

that mutates during runtime

graceful basin
#

C++ also has constexpr, which does sth similar. Nim has this to an even greater degree

rough sapphire
#

the comptime evaluation would be meaningless then

graceful basin
#

yeah, it's more for precomputing stuff

rough sapphire
#

i believe rust has it too?

#

without the comptime keyword

#

it checks length of array

graceful basin
#

in rust it is afaik far weaker

#

though proc macros do exist

rough sapphire
#

then I'm missing the point

graceful basin
#

the idea is being able to run arbitrary code at build time

rough sapphire
#

isn't that what procmacros are?

#

or well, any macros, even lisp ones

graceful basin
#

ye, but I don't think you get full on arbitrary code with rust

#

but yes, the feature is getting more prominent

#

though lisp macros run at runtime just like anything else

gritty zinc
#

Rust does allow doing about anything in procmacros, but the problem is that it's annoying. You have to explicitly mark your crate as a procmacro crate, and then manually transform the syntax tree. In Zig, meanwhile, it's literally just writing normal code in a comptime block.

(and Rust's declarative macros are less powerful. Something as simple as counting elements in an array can only be done using recursion and is expensive)

graceful basin
#

you have #. to run things at read-time, but even reading happens at runtime in the very traditional lisp abstract machine

rough sapphire
#

is Rust really the only statically strongly typed language with powerful macros? 😳

gritty zinc
graceful basin
#

D macros (well, they are called templates, but they are mostly macros) are also quite powerful

#

and well, haxe has macros, and can run arbitrary code. As can nim

rough sapphire
#

cause there is tons of dynamically typed langs with powerful metaprogramming

#

ooh, nim

graceful basin
#

yeah, metaprogramming is way easier when you don't have a type system

#

it's why it took decades to get good macros outside of lisp

#

VHDL is kind of interesting in this regard, since it isn't really an executable language, so the only code you can run happens at synthesis time, everything else is vaguely declarative.

rough sapphire
#

😬

#

how do rust macros work, do you just invoke them as functions with exclamation mark or?

graceful basin
#

that or #[macro] afaik, though I didn't really mess with rust macros too much

gritty zinc
#

there's two fundamentally different kinds, procedural and declarative. The former are basically functions that get passed the syntax tree involved and can alter it arbitrarily, the latter are defined, well, declaratively, like

macro_rules! reversed{
    ($arg: expr, $fun: expr) => {$fun($arg)}
}
fn print<T: std::fmt::Display>(x:T){
    println!("{}", x);
}
fn main(){
    reversed!("yay",print)
}
rough sapphire
#

can procedural macro for example read from file and place the read string into the code? πŸ‘€

#

like ./something.txt and it has token1 written in it

#

and you'd just put that as part of the code?

gritty zinc
#

and an equivalent for including as raw bytes.

#

It's handy; I've used that before for loading shader files at compile-time.

#

but I think it's also possible for a custom proc macro.

graceful basin
#

where it gets really obnoxious is if you want to like.. parse JSON at build time.

rough sapphire
#

how come

graceful basin
#

because you need a json parser

#

in pure rust at that

#

in nim, the stdlib has a ton of pure nim parsers for most common text formats, so you can use those, but in rust, it gets more annoying

rough sapphire
#

so, nim good, zig terrible

#

πŸ™‚

graceful basin
#

eh, they serve different goals

floral apex
#

You could hypothetically use Zig as Nim's C compiler

graceful basin
#

nim has its insane matrix of backends and runtime dials, zig is just C but better

rough sapphire
#

the way i see it, they both apparently serve no goals 😦

graceful basin
#

zig aims to replace C, nim aims to be adopted in the finance industry levaraging its ada-like typesystem

rough sapphire
#

Nim has ada like types?

graceful basin
#

yup

rough sapphire
#

that's so nice

floral apex
graceful basin
#

you get all the ranges, newtypes, etc.

rough sapphire
#

and nim also compiles to JS

#

for whatever that's worth

#

(not a lot)

floral apex
#

Nitter and Godot-Nim

graceful basin
#

honestly, I have low hopes for nim

floral apex
#

Well at least Aph isn't here to hear that

graceful basin
#

the fact I found a compiler bug within like an hour of using it, after they made a 1.0, is just... sad

rough sapphire
#

i have low expectations from Nim/Zig

graceful basin
#

D templates take ast fragments and can manipulate them in arbitrary ways

#

that's a macro in my view

floral apex
#

I have decent expectations for Zig. Aims to be a C replacement, an improvement of it

#

Doesn't try to overshoot itself. Just tries to be a better C, that's all

last mantle
#

the string templates or whatever its called is cool

graceful basin
#

yeah, nim can do that too

floral apex
#

D never caught on, did it?

graceful basin
#

nope

#

it was mis-advertised

#

it is however not a bad language

#

but it is also not a systems programming language

last mantle
#

why not

graceful basin
#

GC for one

#

and overall, having a runtime

#

you can turn the runtime off, but most libraries don't work then

last mantle
#

ah

floral apex
#

Isn't Go also advertised as a systems programming language despite of those?

rough sapphire
#

but we already established GC doesn't mean it's NOT a system programming language

#

GC langs can be system programming language

graceful basin
#

hmm, that's fair

#

back when D started to exist that wasn't really the case

#

since GCs were still kind of bad

#

back in the era of "figure out what java GC an API is using by it's latency graph"

floral apex
#

@graceful basin Didn't you tell me about Pyramid before? The Python web framework

graceful basin
#

I did

floral apex
#

You said it never caught on, right?

graceful basin
#

to my knowledge, it didn't, yeah

floral apex
#

Do you have any guesses as to why?

graceful basin
#

I assume that most people think they know the scope of their project

last mantle
#

template in D is like the one in C++ right?

#

used for function overloading

graceful basin
#

it's vastly more powerful and easier to handle

#

but the idea is similar

last mantle
#

and those are called eponymous templates (ig) which are different from

T func(T)(T a) {}``` right?
graceful basin
#

ye, the main difference is that D templates get full names

#

whereas C++ templates just have the name of the single symbol they produce

last mantle
#

i see

opal trout
#

I would prefer generic types like in Haskell

#

but templates work too

open fern
#

!help shadowban

royal lakeBOT
#
Command Help

!shadow_ban <user> [reason]
Can also use: sban, shadowban

You cannot run this command.

Permanently ban a user for the given reason without notifying the user.

open fern
#

TIL.

tame terrace
# open fern TIL.

used mostly for raids. Sending a DM to 10,000 users gets us rate limited, so we need a way to ban a whole botnet without sending ten thousand DMs.

floral apex
rough sapphire
#

anyone else who got this?

distant hazel
#

yeah

#

but doesn't work... yet

floral apex
#

They've been using threads to do what the Forum Channels feature does

distant hazel
#

rust community server has had forum channels live for quite a while now

distant hazel
# distant hazel

I got this popup on my private server. dumb that I don't actually have the ability yet

rough sapphire
#

and they said, that it was an accidental pop-up

vapid nymph
#

yeah

#

they also popped up automod

rough sapphire
#

hlo can anyone donate ur old account dated before 2019 to me i badly want to flex plsss

jovial oriole
#

time to see what this forums thing is all about

#

huh, can't create one, same error at mina

tame terrace
#

but, yes, ratelimiting is a real risk when dealing with raids.

#

but we've made those mistakes and learned from them

small coral
#

@drowsy pumice you can always do the same thing in rust

drowsy pumice
#

the _ => bullshit too

small coral
edgy pelican
#

yuh

drowsy pumice
#

but the _ is used to catch an error

small coral
drowsy pumice
#

_ => {print!("fucky wucky happened")}

small coral
#

rust looks kinda nice

drowsy pumice
#

its bad imo

#

i understand c better than rust