#ot1-perplexing-regexing

1 messages Ā· Page 615 of 1

wraith hound
#

seems risky, yeah

gritty zinc
#

minecraft mod that downloads all of its code from the internet - no updating needed
haha jk, surely curseforge wouldn't allow that... right?

acoustic moss
gritty zinc
#

this is why I lately think C# (and Java, I guess) is pretty much the best language to write a game in

#

because it's extensible. oh boy is it

#

even the stuff that's supposedly-private, you can trivially access via reflection

#

nothing is sacred

#

if someone wants to mod your C# game, they can, even if you never planned for that

wraith hound
#

private things should be truly private

#

as much as is reasonable

gritty zinc
#

Well, in an ideal world, developers wouldn't make private things that someone might one day need to access šŸ˜›

#

but that's not the world we live in, so reflection going brr is the only thing allowing, say, minecraft modding to exist

#

(minecraft is really bad at exposing stuff tbh; so many classes that are protected for no reason)

wraith hound
#

ah

#

this is making me question the decision in a language I'm working on implementing to have true privacy

gritty zinc
acoustic moss
#

lmao

gritty zinc
#

java as top answer

acoustic moss
#

hah i just clicked on that before you sent it

#

the following haskell solution is
um
anticlimactic

gritty zinc
#

lol

gritty zinc
#

I don't really have an opinion yet on whether functional languages are good for games

#

it seems to me from a first thought that the very paradigm of, say, defaulting to immutable values isn't very compatible with performance

gritty zinc
#

sure, I suppose, but what's left of the functional stuff then?

last mantle
#

hmm?

remote citrus
#

this is from the rust website, does this mean that everything is built-in in rust and modules do not exist?

gritty zinc
last mantle
#

easier to write and less noise

gritty zinc
last mantle
#

easier depends on person

#

but less noise surely

gritty zinc
#

rust very much does have crates, but they get included into the binary when compiling, so you don't need to install them to run a compiled one.

remote citrus
last mantle
#

brackets, semicolons

remote citrus
#

that's amazing

#

There we go!

gritty zinc
#

I should check out F#, but have no idea what to do with it

last mantle
#

you can use it as a C# alternative if you want

#

its general purpose after all

gritty zinc
#

hmm, can I include F# stuff into a C# project?

last mantle
#

idk exactly

#

but for a WPF project for example

#

you can write the business logic in F# and call the XAML stuff using C#

#

not that you would want to cuz FsXAML exists

gritty zinc
last mantle
#

but if you want to use the designer app ig it only supports C#? not sure

gritty zinc
#

(though this is a 4 year old post)

last mantle
#

yeah idk C# so i have not really tried anything of the sort

#

see the 2nd one

wraith hound
#

That should make it not too complicated

#

I think

last mantle
#

you can call stuff written for C# in F# i guess. I used raylibcs in F# and it worked perfectly

gritty zinc
#

either way, it seems one could in theory, say, write a rimworld mod in F#

#

maybe I'd check that out one day

vapid nymph
#

@gritty zinc @solid elbow thanks šŸ˜›

gritty zinc
#

wait, what did you change tho

solid elbow
#

It's syntax highlighted

#

nice šŸ™‚

rough sapphire
#

It's like I fit into Discord dark mode now.

#

Goodbye, light mode~

#

(lol)

#

Rule 1: No humor. (lol)

round rose
gritty zinc
#

mildly annoying that you can't mix-and-match completely like you can with, say, Kotlin and Java

round rose
#

I haven't tried that yet, can you just have both alongside each other?

gritty zinc
#

yup, you can have kotlin classes in a mainly-java project

#

kotlin does magic to make things callable from java

#

vice versa is of course even easier

round rose
#

It's not much different then, I guess

mild abyss
#

Thanks for watching!

Credit
Song : ćƒˆć‚­ćƒ”ć‚­ć®éŸ³ē¬¦ć«ćŖć£ć¦ Tokimeki no Onpu ni Natte

Model : HuTao(胔ꔃ, ćƒ•ćƒ¼ć‚æć‚Ŗ) - åŽŸē„ž(miHoYo), č§‚ęµ·/Dn_P

Motion : Bandai Namco, Seto, Chizukimo, Chips

Stage : Shengqu Games & Dan1024

Effect : Rui, beamman, sayappa, HariganeP, jabulleta, 恊恟悂悓, ikeno, ćƒ“ćƒ¼ćƒ ćƒ­ćƒ€2

Subtitle source : earthship地球船

#GenshinImpact #MMD #HuTao #胔ꔃ ...

ā–¶ Play video
latent scaffold
#

Oh no

mild abyss
#

@fossil solar you too u hu tao simp

latent scaffold
#

My brother has become one of those

#

I like her for her damage 😩

gritty zinc
#

what

solemn leaf
#

the
fuck

latent scaffold
solemn leaf
#

thats why he said what, extremely concise

gritty zinc
#

I think I was concise enough

solemn leaf
#

1.76 k simps \🄓 , how do they animate

shut ermine
#

what

latent scaffold
solemn leaf
#

what

latent scaffold
solemn leaf
#

ok

mild abyss
#

what

dire siren
#

what

mild abyss
#

what

dire siren
#

šŸ˜”

mild abyss
#

so i always forget you are playing genshin

mild abyss
#

go to bilibili

#

watch Childe and Zhongli having a date

thin swallow
#

Quick question, what is the following called:

You are connected to a network
While you are on that network, if you attempt to access a particular site,
it will serve you a local version of that site hosted on a different device
(Note: this will only happen when you are connected to that network)

harsh tundra
thin swallow
#

hmm kk ty

thin swallow
harsh tundra
thin swallow
#

thank you!
been searching for a while but probably using some incorrect keywords

harsh tundra
#

Your question above was suggesting attack, as you mentioned 'if you attempt to access a particular site, it will server you a local version hosted on a different device' :P

lofty dirge
past cosmos
inland wolf
#

not true

#

first of all

#

captchas dont show that

acoustic moss
#

whats the second of all

inland wolf
#

there is only one

acoustic moss
#

hm ok

past cosmos
versed saffron
#

Ok so someone at my old hs sent out a mass email to all students

#

This one guy is claiming he did it

#

But I’m calling cap and other than calling atom an IDE I can’t figure out why it’s cap

#

Like there’s no shot this is real

#

Right?

#

That just looks like a stress test to me that they emailed to everyone

rough sapphire
#

declare war and email everyone in the school in response

#

when internet security people get involved begin pulling very smart tactics and continue to do so

versed saffron
#

like they can see the email it was sent from idk how stupid you have to be

#

also im like 95% sure there's an 'account' that sends out a mass email if you send something to it

#

the debug shit doesnt look related at all

#

also yknow considering it says 13 users emailed?

tardy rain
#

How does a large scale stress test only email 13 people

versed saffron
#

right?

#

thats why im thinking its not a stress test on the email servers

acoustic moss
#

lmfao

narrow pecan
#

There’s actually something called ā€œkebabpizzaā€ in Sweden

#

It’s like kebab, but a pizza

#

It basically looks like this

graceful basin
#

that seems messy to eat

narrow pecan
#

It is, sometimes

#

But it’s fairly manageable and tasted delicious (in my opinion). I’ve made it with vegan kebab a few times

viscid hemlock
#

It's soooooo goood

#

Lots of red onions on it and nice sallad

narrow pecan
# dapper dew If you have a recipe, do share

Not quite, but I’ll share how I usually make it: It’s just a regular pizza bottom with tomato sauce, topped with kebab. Once it’s out of the oven, you add the lettuce, sliced tomato, cubed cucumber, sliced onions, kebab sauce (and optionally pfefferoni).

narrow pecan
dapper dew
#

Is the vegan kebab like sliced seitan / tempeh / tofu?

viscid hemlock
narrow pecan
#

There is this thing that I quite like. I thinkkk it’s seitan

viscid hemlock
dapper dew
viscid hemlock
#

Oh, that I really have no idea how it's made

narrow pecan
dapper dew
#

Seitan is made from gluten

low chasm
#

Hm

#

Hm

dapper dew
#

Hm?

narrow pecan
#

I’ll try sleeping again. If I can’t sleep, I might return to the kebab pizza conversation later on

low chasm
#

It's sending things twice

versed saffron
#

donair pizza also slaps

shut ermine
low chasm
#

hm!!??!?!

odd sluice
#

hm

distant hazel
#

hah i like this otn

young shoal
distant hazel
#

idk it's just funny

young shoal
#

ur that dude in the programming discord

modest anvil
#

hi

#

anyone really good at assembly language?

tribal aurora
#

avery knows something

uneven pine
#

The developer of rollercoaster tycoon, for example

#

Lots of games made for very old consoles were also made in flat assembly

#

Meant microcontrollers are programmed using assembly as well

mild abyss
noble atlas
#

Ah I know I know, I have searched on google

royal tartan
dire siren
#

ctrl w is another thing

#

task manager is another thing

mellow spire
#

exit terminal is another thing

royal tartan
#

-_-

round rose
#

format c is another thing

inland wolf
#

the power cable/battery is another thing

acoustic moss
#

throwing the computer in a volcano is another thing

round rose
#

so is the big c r o n c h

round rose
#

i need to get back into that game

#

that was the most fun idler, esp the achievements. just gotta remember the title though

solemn leaf
royal tartan
round rose
#

i found it

#

antimatter dimensions

#

new obsession for the next couple of weeks located

gritty zinc
#

one thing I want to do is to automate idle games

#

this is actually non-trivial if you want to do it properly, because it isn't at all clear to me what the algorithm is to, say, optimize towards generating the maximal total after some time

#

the naive solution is to always buy/save towards the building with the highest production to cost ratio, but I doubt it's optimal.

gritty zinc
# round rose antimatter dimensions

the code of it... could be better.

    if (player.infinityPoints.equals(0)){
        document.getElementById("infi11").className = "infinistorebtnlocked"
        document.getElementById("infi12").className = "infinistorebtnlocked"
        document.getElementById("infi13").className = "infinistorebtnlocked"
        document.getElementById("infi14").className = "infinistorebtnlocked"
        document.getElementById("infi21").className = "infinistorebtnlocked"
        document.getElementById("infi22").className = "infinistorebtnlocked"
        document.getElementById("infi23").className = "infinistorebtnlocked"
        document.getElementById("infi24").className = "infinistorebtnlocked"
        document.getElementById("infi31").className = "infinistorebtnlocked"
        document.getElementById("infi32").className = "infinistorebtnlocked"
        document.getElementById("infi33").className = "infinistorebtnlocked"
        document.getElementById("infi34").className = "infinistorebtnlocked"
        document.getElementById("infi41").className = "infinistorebtnlocked"
        document.getElementById("infi42").className = "infinistorebtnlocked"
        document.getElementById("infi43").className = "infinistorebtnlocked"
        document.getElementById("infi44").className = "infinistorebtnlocked"
        document.getElementById("infiMult").className = "infinistorebtnlocked"

    }
wraith hound
#

wtf

round rose
#

yandere dev moment

acoustic moss
#

lmfao

round rose
#

I've never played the web version tbh

#

only the android port

dapper dew
#

Ahhh shit, here we go again

#

I had forgotten the game too

gritty zinc
#

you can also definitely see layers of development

#

because the infinity dimensions are in an array, as a sane person would do

#

but normal ones? Well:

    firstCost: new Decimal(10),
    secondCost: new Decimal(100),
    thirdCost: new Decimal(10000),
    fourthCost: new Decimal(1000000),
    fifthCost: new Decimal(1e9),
    sixthCost: new Decimal(1e13),
    seventhCost: new Decimal(1e18),
    eightCost: new Decimal(1e24),
    firstAmount: new Decimal(0),
    secondAmount: new Decimal(0),
    thirdAmount: new Decimal(0),
    fourthAmount: new Decimal(0),
    firstBought: 0,
    secondBought: 0,
    thirdBought: 0,
    fourthBought: 0,
    fifthAmount: new Decimal(0),
    sixthAmount: new Decimal(0),
    seventhAmount: new Decimal(0),
    eightAmount: new Decimal(0),
    fifthBought: 0,
    sixthBought: 0,
    seventhBought: 0,
    eightBought: 0,
    firstPow: new Decimal(1),
    secondPow: new Decimal(1),
    thirdPow: new Decimal(1),
    fourthPow: new Decimal(1),
    fifthPow: new Decimal(1),
    sixthPow: new Decimal(1),
    seventhPow: new Decimal(1),
    eightPow: new Decimal(1),
#

naturally, there's an array mapping indexes to names, to reference all these attributes by index.

round rose
#

incremental development

gritty zinc
#

indeed

#

Also, there's a function called getDimensionProductionPerSecond, which is nice. One problem: it's not really per second. I need to divide it by either 100 or 10, depending on which tier, to get the actual per-second values.

acoustic moss
#

lmao

gritty zinc
#

interestingly, this game uses a custom way of representing numbers, as an object with a mantissa and exponenta - homebrew BigDecimal, basically. that's pretty nice

inland wolf
last mantle
#

reminds me of john xina for some reason

round rose
#

That's part of where the game's gags come from

quartz wing
rough sapphire
#

Guys I have a question. So my Microsoft defender said that a potentially unwanted app has been blocked on jan 2021 but I don't remember installing anything. Could it be a false-positive?

rough sapphire
#

it said pua 32 installcore

#

but in my recycle bin there's nothing

#

and I'm paranoid

inland wolf
#

well its blocked

#

but it should also show u the file path

wanton lake
#

is exe danger? depends, mainly if you built a exe on your own it sometimes isn't proper in defender or any anti-virus program's eye

rough sapphire
#

Oh it shows a recycle bin with weird signs

inland wolf
#

can u send an sc

rough sapphire
#

not on my pc atm but soon will do

wanton lake
#

you should show a image

rough sapphire
#

alr

#

I'll send it here when ready

glad spade
#

unicode character penis ā“¶

#

(it's not)

worn cave
#

@rough sapphire why do you have he/him in bio?

harsh tundra
honest star
#

I have she/her in mine, to complete the common pronouns collection

worn cave
harsh tundra
worn cave
#

"Normal" being he/him/she/her

harsh tundra
#

as to why not "normal" ones... I do use they/them, don't I?

harsh tundra
#

*What's the deal with pronouns?

Pronouns are those words that we use instead of calling someone by their name every time we mention them. Most people use ā€œhe/himā€ and ā€œshe/herā€, so we automatically assume which one to call them based on someone's looks. But it's actually not that simple…

Gender is complicated. Some people ā€œdon't look likeā€ their gender. Some prefer being called in a different way from what you'd assume. Some people don't fit into the boxes of ā€œmaleā€ or ā€œfemaleā€ and prefer more neutral language.

This tool lets you share a link to your pronouns, with example sentences, so that you can show people how you like to be called.

Why does it matter? Because of simple human decency. You wouldn't call Ashley ā€œSamanthaā€ just because you like that name more or because ā€œshe looks like a Samantha to youā€. Or even if she does have the name ā€œSamanthaā€ in her birth certificate but she absolutely hates it and prefers to use ā€œAshleyā€. And it's the exact same story with pronouns – if you don't want to be rude towards someone, please address them properly. The only difference is that we usually know names, but not pronouns. We introduce ourselves with a name, but not pronouns. Let's change that!*
https://en.pronouns.page/

Pronouns.page

Usage examples of personal pronouns and gender neutral language.

worn cave
harsh tundra
harsh tundra
worn cave
dapper dew
#

I won't speak for others, but it is usually something that people feel, not as much as a decision per se

#

My pronouns are he/him for what its worth

harsh tundra
#

Are you unhappy with the gender you were born with?
no, I'm happy with my gender.
I'm unhappy with what people assumed I were because of my certain parts I had between my legs at birth. and then how they treated me because of that.

[we're always our gender, we just sometimes don't realise that it's not the same as sex we were assigned at birth]

worn cave
dapper dew
#

It seems like a good choice as any, it is a pronoun that is neither he nor she

#

Therefore: xe

worn cave
#

Ok, yes

worn cave
fervent lance
rough sapphire
fervent lance
dapper dew
royal lakeBOT
#

6. Do not post unapproved advertising.

worn cave
#

!rule 34

royal lakeBOT
#

:x: Invalid rule indices: 34

sterile grail
#

Correct me if I’m wrong

#

btw

rough sapphire
#

They/them is not necessarily singular. Other people can be confused whether you are talking about a single person in a gender-neutral way or a group of people, which I think is a/the purpose of a neopronoun. I might be wrong though, or at least have incomplete information

dapper dew
harsh tundra
# worn cave But who came up with xe/xem? How can you feel like a xe?

there's etymology on the linked page as well
there's even more info on Wiktionary/Wikipedia - https://en.wiktionary.org/wiki/xe#English "Apparently independently invented by several people, including Don Rickter (the pronoun appeared in the Unitarian Universalist publication UU World on 1 May 1973 and Mario Pei gave Rickter credit on page 145 of his 1978 book Weasel Words)."
https://en.wikipedia.org/wiki/Neopronoun "Attempts to create additional English-language pronouns date back centuries with more than 200 different gender-neutral pronouns introduced since the 1300s.[1]"
https://en.wikipedia.org/wiki/Gender_neutrality_in_languages_with_gendered_third-person_pronouns#Historical,_regional,_and_proposed_gender-neutral_singular_pronouns "Historically, there were two gender-neutral pronouns native to English dialects, ou[pronunciation?] and (h)a.[45] According to Dennis Baron's Grammar and Gender:[46]"

Neopronouns are a category of neologistic English third-person personal pronouns beyond "she", "he", and "they", as well as "one" and "it". Neopronouns are preferred by some non-binary individuals, as they may feel that neopronouns provide more options to reflect their gender identity more accurately than any conventional pronoun.Neopronouns can...

xe

A third-person pronoun is a pronoun that refers to an entity other than the speaker or listener.
The English pronouns he and she are third-person personal pronouns specific to the gender of the person (not to be confused with grammatical gender).
The English pronoun they is an epicene (gender-neutral) third-person pronoun that can refer to plura...

worn cave
sterile grail
#

Because some people might feel comfortable being called something else

dapper dew
#

he/him, she/her, xe/xem, they/them? Is that what you are referring to?

sterile grail
#

Think they’re referring to other neopronouns, like em/eir, etc.

rough sapphire
#

I also think either of them are not widely used, unlike they/them, which again, is vague when it comes to number

worn cave
#

How du you get uncomfortable when someone calls you for example "he"

harsh tundra
dapper dew
sterile grail
worn cave
harsh tundra
sterile grail
rough sapphire
harsh tundra
dapper dew
# worn cave Yes i understand. But how can one become triggered by such a small thing

The same way someone can be triggered when ignoring their requests, regardless of what it is. Having the pronouns visible is one way to tell people what their preference is, and in reality there will be many cases where you won't know their preference before speaking to them. That is when it is important to communicate clearly and respectively.

#

For example, if I was unsure and assumed a pronoun and was corrected, it would be extremely rude of me to not use that corrected pronoun

sterile grail
#

Respecting people’s pronouns is a matter of respect imo, if you try your best to respect it I think most people would just correct you if you accidentally got it wrong and they wouldn’t be rude about it.

harsh tundra
#

This is a nice view of how "triggered snowflakes" works. Who gets more heated about referring properly to someone

sterile grail
#

That’s a good comic, gonna save that

shut ermine
#

yeeee this convo is bait pithink

rough sapphire
#

@sterile grail @harsh tundra @dapper dew very well said guys. iloveyou iloveyou

harsh tundra
#

I hate the term "triggered" because it originally comes from psychiatry, meaning trauma trigger. And yes, repeated misgendering might trigger trauma responses. But right-wing/queerphobes made it look like any simple correction is being "triggered" and that it's aggressive (trauma responses are rarely lashing out on someone else, unless you're repeating and piling on and on the triggers)

sterile grail
shut ermine
#

yee my trauma responses just make me sad lol would be funny if anyone felt threatened by that pithink

harsh tundra
worn cave
#

What gender are you guys?

sterile grail
rough sapphire
harsh tundra
#

back to "triggered" and real triggered
e.g. I'm triggered (literally) by visuals or graphic mentions of physical abuse. that's deeply rooted trauma and I get reminded of it with some scenes in media etc.
I'm not "triggered" (nor triggered) by misgendering. I simply try to mention I use something else. if it's not respected, I'm annoyed, not triggered. because I'm used to it.
although I'm triggered by transphobic/queerphobic "jokes" around me - because they remind me I'm not safe in this country and that I had a middleaged guy literally yell to my face that "Hitler should've taken care of you all"...

sterile grail
worn cave
#

Between leg gender*. Idk what to call it

harsh tundra
# worn cave What gender are you guys?

in general, I use the term nonbinary because it's easy to explain.
but nonbinary is a big umbrella of all identities that are not simply "man" or simply a "woman"

rough sapphire
harsh tundra
rough sapphire
acoustic moss
#

sex is the word youre looking for

uneven pine
#

Dear Christ this is a show

shut ermine
worn cave
rough sapphire
#

This is a bit inappropriate

dapper dew
harsh tundra
uneven pine
#

Fwiw I hate neopronouns because if you have to explain to someone what your pronouns are and what they mean, then they're failing at their job.

harsh tundra
dapper dew
harsh tundra
rough sapphire
#

kekgiggle kekgiggle this is nsfe

#

nsfw

shut ermine
rough sapphire
#

nsfw talk*

rough sapphire
harsh tundra
worn cave
rough sapphire
#

This seems like a VERY left-leaning server imo

shut ermine
harsh tundra
worn cave
#

Well, everyone knows python tho

dapper dew
#

I mean, its not a political server

rough sapphire
#

true

dapper dew
#

We are an inclusive community

rough sapphire
#

It kinda doesn't help that inclusivity can be political

dapper dew
#

The alternative is an intolerant community, which isn't a good environment for people to learn

harsh tundra
#

Literally beginning of PyDis Code of Conduct:

We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or other similar characteristic.

worn cave
harsh tundra
rough sapphire
#

True

rough sapphire
tardy rain
#

Pedantic but rights arent given, they are intrinsic

dapper dew
#

No, yeah, that is a good distinction to make

shut ermine
harsh tundra
harsh tundra
rough sapphire
#

What country are you in?

dapper dew
#

Not sure why it matters, but the USA

harsh tundra
# worn cave How tf u write so stupidly fast

✨ magic ✨
but really, I started it earlier, but decided to reply to another message, so I ctrl+a, ctrl+c, wrote reply to that another message, then ctr+v and continued with this :3

shut ermine
#

magic is when u press the ctrl key

harsh tundra
worn cave
#

Can i send gif?

worn cave
uneven pine
#

And I certainly hope that wasn't a bite at me.

dapper dew
#

I don't think that was directed to you

worn cave
harsh tundra
# harsh tundra in my case: Poland which is really weird how middleaged guy was basically praisi...

it wouldn't be that bad if not for the fact that I had police officers next to me. I tried to tell them basically "ugh, excuse me, this guy here is breaking the law" and even though police is legally required to take any report (even if they later drop it), the officer was like "yeeeah? which one" and basically wanted me to list exact paragraph from codex which the guy broke (I'd say publicly praising illegal action as it has its own paragraph and promoting totalitatian/nazi ideology as he was basically praising Hitler)
because that's when I realised even though police is there with us, they're not there to really protect us - if they could turn the blind eye, they would...

harsh tundra
harsh tundra
shut ermine
worn cave
harsh tundra
harsh tundra
harsh tundra
worn cave
#

Yes

harsh tundra
#

because right now here we have an open furry using she/her and me (with furry pfp but never stating whether I'm a furry or not) using xe/xyr and they/them
didn't you say she/her was "normal"?

worn cave
#

But xe and xer

#

Is odd

harsh tundra
#

but what does it have to do with my pfp?

#

I already provided resources about pronouns

worn cave
#

I do not want to tead through a whole website

#

Read*

harsh tundra
#

I literally quoted stuff when I gave links...

uneven pine
harsh tundra
#

and now you somehow decided to make it about my pfp instead of everything I said about gender, gendered language, and my identity?

#

as if my pfp being an animalistic character had anything to do with my gender?

worn cave
#

I understand, your rightšŸ‘šŸ»

harsh tundra
#

if someone uses Buggs Bunny or Micky Mouse in their pfp, would you ask how it ties to their pronouns as well?

#

those are animal characters with human-like features as well...

uneven pine
#

Quite an ignorant take

harsh tundra
shut ermine
worn cave
#

Because im waffle/waffles

#

Those are mye new prounouns

harsh tundra
#

nounself pronouns, okay

#

I need to use notes to remember to refer to you using them

#

dammit, accidentally DMed you instead of making a note XD

uneven pine
#

Well that's one of the ....... exchanges I've seen in a while

worn cave
uneven pine
#

It's just turned into shitposting now

rough sapphire
#

This is probably bait now

dapper dew
#

Yeah we had a good run there for a little while

shut ermine
dapper dew
#

Let's move on shall we? Try to end it on a neutral note before everything sours

harsh tundra
#

I also think that waffle is trolling us, but I'm gonna respect waffle's pronouns because I'm not like waffle

uneven pine
#

Now you're just shitposting 100% nicky

harsh tundra
rough sapphire
#

I think we should .topic

uneven pine
#

Put it to rest buddy.

worn cave
harsh tundra
#

nounself pronouns exist, although they are usually shorter. I'm not gonna judge, if waffle's trolling, then waffle will either get annoyed or drop it

uneven pine
#

No. No. Put it to rest. End it

#

Seriously

shut ermine
uneven pine
#

Next word on it gets modmailed

worn cave
honest star
#

Some people I know don't use pronouns, and that's fascinating to me. Not as hard as you'd think to talk and construct sentences

rough sapphire
rough sapphire
#

gotcha

worn cave
#

Triggered

harsh tundra
# uneven pine Seriously

the thing is... many nonbinary people get pinned as trolls because they use nonstandard pronouns.
yes, this is trolling on Panakko's part but not because of those 'pronouns' on their own, but because of context in which they were put
but I'm refusing to show any "hypocrisy" by not respecting those

harsh tundra
# worn cave Triggered

okay... <@&831776746206265384> it was fun when it lasted, but the troll finally came out clean. also misgender just above, when they already know Wolfgirl uses she/her pronouns

rough sapphire
#

Yeah, I agree

shut ermine
rough sapphire
#

Tbf I agree with @harsh tundra here

sterile grail
#

Also continuous behavior ^ people were trying to explain to them earlier about pronouns in an educating way but they were too adamant

worn cave
#

I had fun. Everything comes to an endšŸ™

solid pollen
#

!silence

royal lakeBOT
#

āœ… silenced current channel for 10 minute(s).

solid pollen
#

!mute 375722057385771009 3d Trolling and on purpose misgendering won't stand here. Please re-read our #rules and #code-of-conduct.

royal lakeBOT
#

:incoming_envelope: :ok_hand: applied mute to @worn cave until <t:1636829990:f> (2 days and 23 hours).

solid pollen
#

Also I would appreciate if that kind of stuff could be directly reported to modmail instead of flaimebating

#

!u silence

royal lakeBOT
#
silence#8537

hypesquad_balance

User information

Created: <t:1532228575:R>
Profile: @blazing wraith
ID: 470425483096358922

Member information

Joined: <t:1617425125:R>
Roles: None

Infractions

Total: 0
Active: 0

solid pollen
#

...

#

!unsilence

royal lakeBOT
#

āœ… unsilenced current channel.

dapper dew
#

Thanks Akarys

inland wolf
sterile grail
#

What does the term flamebaiting mean btw?

dapper dew
#

For what its worth we had a relatively good convo for a little while, I learned some new things

honest star
sterile grail
#

Ah, thanks

dapper dew
solid pollen
#

When I add a ":)" it is that I truly mean it and don't want my message to sound ironical ;-;

harsh tundra
# solid pollen Also I would appreciate if that kind of stuff could be directly reported to modm...

well, it was education before. it wasn't malicious from the start. when they asked about "gender between legs" it could've been blamed on ignorance and they dropped it... it only became more open trolling recently (trying to tie my pfp with pronouns) and then the message I replied to was finally them not acting as not trolling, hence I called "coming out clean" as they finally dropped the mask of politeness/ignorance

solid pollen
#

Lemme re-read the last few messages

honest star
#

(tbh I don't think it was flamebaiting)

rough sapphire
#

@solid pollen thank you! iloveyou iloveyou

solid pollen
#

Yeah, okay, it seems pretty fine

rough sapphire
#

Yeah, I think ignorance should be assumed before malice, but it doesn't help that actually malicious people can hide under the veil of that presumption of ignorance

#

Oh well

solid pollen
#

It was only the last few messages that went sour

sterile grail
#

On another note, how’s the weather today?

#

For everyone

stark prawn
#

acceptable

dapper dew
#

Weirdly warm after a cold snap last week

honest star
#

Too warm for it being November ;_;

sterile grail
#

It’s pretty nice and breezy here

#

Can’t wait for the sharp cold next week

#

I need winter and snow

rough sapphire
#

I can't wait for december

#

Christmas!

sterile grail
dapper dew
#

I'm ok for the snow to hold off, I want to do more mountain biking

stark prawn
#

Like it was not raining but still so moist in the air that it felt kinda wet.

rough sapphire
#

It's okay for me

#

plus my mom's birthday is in dec

sterile grail
honest star
#

This warm weather is going to outright kill all the plants I'm overwintering/putting into the ground now

stark prawn
#

Yeah

#

There were too few ducks at the park today though 😦

#

I like it when the pond is full of ducks.

solid pollen
#

Mediterranean problems

shut ermine
#

imagine having any animal that isnt rock doves rats and roaches

sterile grail
solid pollen
#

Around the Mediterranean sea, yeah

sterile grail
solid pollen
#

Rest of the France is pretty used to raining

stark prawn
#

Luckily there's roofs to block that.

sterile grail
#

Honestly, winter is the best season up here - there’s winter sports, Winter Olympics on some years, and there’s snow

dapper dew
solid pollen
#

"roofs"

#

Engineering at its finest

#

(it is my university building)

stark prawn
#

Is there a lid on that bucket or is that just the lightning?

sterile grail
solid pollen
#

Just lighting

sterile grail
#

I only like rain when sleeping

dapper dew
#

We get more rain per year than Seattle...so when it rains it rains hard

stark prawn
#

I only like rain when people I don't like are outside.

sterile grail
dapper dew
#

Nah, 0.25" and people lose their minds

sterile grail
#

0.25ā€ only? Takes like 5-6ā€ here for people to go crazy, 2ā€ tp cancel school

#

2-3ā€*

dapper dew
#

Atlanta snow 2014
Six years ago Tuesday, ice and two inches of snow brought the city of Atlanta to a complete standstill. The snow started falling at 12:30 p.m. on January 28, 2014. In just a matter of hours, Atlanta's winding highways had transformed into icy parking lots. The hilly side streets were even worse
Relevant ^

#

It shut the highway down for over 8 hours

sterile grail
stark prawn
dapper dew
#

Its the South...what did you really expect lol

sterile grail
#

I’m very sorry for said places

#

Winters here have been trashy recently

#

Because we’re just south of the mason Dixon line and all the big shows happen up north

#

Snows*

#

Like nearly every snow event cuts off at the line

halcyon ginkgo
solid elbow
#

Places in the American south don't have adequate infrastructure to manage snow. Roads don't get treated in advance of a storm, not enough plows available to clear roads in parallel, drivers who are not used to snow and much more likely to wreck than in places that regularly get snow (putting strain on first responders) etc

dapper dew
#

Sounds about right

honest star
halcyon ginkgo
solid elbow
#

I'm in Philadelphia, just slightly north of the Mason Dixon line, and it takes at least 3 inches of snow before people start considering closing businesses

karmic gust
honest star
#

I think from a yearly budget perspective, it doesn't make sense for very southern places to prep for snow if there hasn't been historical evidence for it. Obviously with climate change that changes thing up a bit, but it's hard to justify "we need to set aside money to salt the roads" when for most people's lives they've never had to deal with it

karmic gust
solid elbow
halcyon ginkgo
dapper dew
halcyon ginkgo
dapper dew
#

No but really, huh?

rough sapphire
#

Those pronouns look oddly familiar

honest star
halcyon ginkgo
#

Yes

#

Imma prank my friends

#

Bye

dapper dew
#

That was strange. Time to add another blocked user I guess

halcyon ginkgo
#

Snowflakes

rough sapphire
#

Yeah, seems to be a mute evasion account

dapper dew
#

I tend to block trolls, sorry not sorry

#

Plus it is interesting what happens when their ego isn't fed any attention

rough sapphire
#

True

sterile grail
#

Speaking of, there are quite a few people on the east coast in PyDis

#

5 in DMV from what I’ve counted, and a few others on the east coast

stark prawn
#

We have hundreds of thousands of people in pydis, there's bound to be some east coast people.

solid elbow
#

DMV - Delaware/Maryland/Virginia?

sterile grail
sterile grail
#

DC*

#

Delaware Maryland Virginia is known as Delmarva

#

DC Maryland Virginia is known as the DMV

#

Pretty confusing haha

stark prawn
#

Run DMV

dapper dew
#

DMV is also the Department of Motor Vehicles, aka the 7th ring of hell

solid elbow
#

Delmarva refers to a peninsula that is partially territory of Delaware, partly Maryland, and partly Virgina

#

I haven't heard it used to refer to the 3 states as a whole, just to the region that's split up across 3 States

sterile grail
#

On a second thought I think I’ve heard both

solid elbow
#

I'm in the southeastern corner of PA, under half an hour from Delaware

#

And under 10 minutes from New Jersey

stark prawn
#

It would take me weeks.

dapper dew
#

I guess it depends on your chosen method of transport

solid elbow
#

There has been, on and off for a long time, proposals to make Delmarva its own state.

stark prawn
#

The biggest problem is getting into the country with corona rulings.

dapper dew
#

Ahhh I see

sterile grail
#

The eastern shore is not very close to the rest of MD tbb

#

tbh

solid elbow
#

It's unlikely to ever happen, but yeah. The argument is that the "mainland" part of MD and VA does a poor job of understanding and representing the needs of the peninsula

sterile grail
#

and the revenue it brings back

raw oyster
#

Completely off topic but what’s the question asking for?

stark prawn
#

The amount of interest that was earning in m months

rough sapphire
#

I think it's an equation they want you to give

raw oyster
#

So I have to find m and r?

#

And make an expression to find them

rough sapphire
#

Not really; I might be wrong but I don't think there's enough information to find either of them

stark prawn
#

You'll have to find the expression for I, m and r are variables in it.

#

You don't have to find actual values for I m and r

raw oyster
#

Oh ok!

#

So changing the subjects to be m and r?

stark prawn
#

I'm not sure what that means.

raw oyster
#

Like

#

(1 + r)^m = P / I

#

That’s not right though

stark prawn
#

I think it's looking for I = expression

raw oyster
#

This is confusing-

#

I = p * r * m

#

So you bring the p to the other side
I / p = r * m

#

Is that it?

rough sapphire
#

Not really; I think the answer is something like I = (some expression that uses all given variables other than I)

raw oyster
#

I think the sleep deprivation is getting to me

#

How do you do that again?

rough sapphire
rough sapphire
raw oyster
#

Just gotta do my Math hw and practice for English, I’ll probably be done in like 30 mins

#

Yeah, I = PRT

rough sapphire
#

You can base off that and then use the given details in the question

raw oyster
#

So uh

#

I / RT = P?

#

Sorry for the unnecessary confusion, thanks for helping me

rough sapphire
#

Not really; there is something given in the question that is not a variable

harsh tundra
raw oyster
#

Wait so how to you get the (m, r)

harsh tundra
#

this is like f(x) - it's function f that is dependent on variable x
m, r are both variables

#

you can just write l=, giving variables in parentheses is more formal and will be needed in higher levels of maths (where some things will be dependent on one thing, some on two, some on one but different than previously...)

raw oyster
#

Oh ok!

#

So
I = 240(r/1200)^m

harsh tundra
#

not ^

#

why ^m?

#

it was said to be simple interest

raw oyster
#

Oh right sorry

#

Confused simple and compound

#

I = 240(r/1200)*m

harsh tundra
#

and cumulative/compound would need to be 1-(1+r/100)^m to work
because 1.1*1.1 == 1.21 and 0.1*0.1 == 0.01 - we don't have growth if we're removing the base 1 šŸ˜›

harsh tundra
raw oyster
#

I = 120(r/100)*m

#

Right?

harsh tundra
#

no

#

240 = 2*120 but 1200 is not 2*100

#

so you couldn't have simplified by dividing both by the same number because one was divided by 2 and the other one was divided by 12

raw oyster
#

I = 20(r/100)*m?

#

And even more

#

I = 5(r/20)*m

#

Yeah?

#

I won’t write it down on my nb yet but I’ll put it somewhere online for now

#

Thank you all!

harsh tundra
#

first get rid of the same number of 0s in both

raw oyster
#

Oh yeah it can be simplified even more

harsh tundra
raw oyster
#

I = 1(r/5)*m?

harsh tundra
#

yes

raw oyster
#

So

#

I = (r/5)*m

harsh tundra
#

how did you get that?

#

r was not given

raw oyster
#

Sorry pulled down on the key

#

Thanks!

scenic blaze
#

Did you ever start reviewing a research paper, think "Okay, I think I can do this" then realize you only covered the first two pages of 50?

hard dove
scenic blaze
#

Maybe. Me as well

#

I'm at page 6 now

royal lakeBOT
#

:incoming_envelope: :ok_hand: applied mute to @sour elm until <t:1636593179:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

remote citrus
#

is Rust good for ML?

edgy crest
#

idts

#

totally depends on what library support it has i think ĀÆ_(惄)_/ĀÆ

remote citrus
#

hmm yep

tranquil orchid
#

I don't think there's much out there in the way of ML libs for rust, so probably not the greatest option quite yet

#

Although that's not going to stop me from trying to write the neural net for my current project in it šŸ‘€

hybrid pivot
distant hazel
#

anchor?

rough sapphire
hybrid pivot
#

damn

#

those have a name

rough sapphire
#

Yeah, though I've seen some other site just call it "fragment"

#

I also thought "anchor", so that's probably also not too uncommon of a name for it

hybrid pivot
rough sapphire
#

I mention it not being too uncommon since you probably shouldn't worry about using common names that aren't the "technical" names of those things

#

Others probably know what you're talking about when you talk about an "anchor" in the context of a URL

hybrid pivot
#

yeah

#

there are people who know everything about urls and webdevelopment

rough sapphire
#

Also they are handy for navigations

marsh field
#

Should I learn java first or javascript?

#

I think the syntax would be similar? (like C and C++)?

latent scaffold
#

only similarity is "Java" in "JavaScript"

#

that and some.. C-like syntax

marsh field
#

So...

#

how do I decide?

latent scaffold
#

What do you want to do?

marsh field
#

which is used commonly

latent scaffold
#

I mean... you're in a Python Discord server

#

so why not Python?

marsh field
#

What are they for?

marsh field
latent scaffold
#

JavaScript is used mostly for web dev... IMO it shouldn't be used anywhere else

#

Java...
...

#

it...

#

uh...

latent scaffold
#

you...

marsh field
#

Just say it.. I can handle the truth

latent scaffold
#

idk does anyone even use Java anymore except for old software

#

I genuinely can't think of anything Java would really excel at

marsh field
#

ohk

latent scaffold
#

maybe someone will hop in and give an example

#

but tbh I'd probably stay away from both

#

and I don't think I'd advise learning a language for the sake of it

marsh field
latent scaffold
#

but Java tbh is probably a bit useless for the most part as of now

#

if you wanna do game dev, maybe hop onto C++ or C#

marsh field
#

k

#

thanks for the help

acoustic moss
#

android apps, backend dev with spring, minecraft mods

latent scaffold
#

aside from Minecraft mods

#

since mixins need to be programmed in Java

acoustic moss
#

idk about "more"

#

java is still massively popular

gritty zinc
latent scaffold
#

yeah

#

Even Kotlin mods need to have Java mixins

gritty zinc
latent scaffold
latent scaffold
#

Mixins are a powerful and important tool used in the Fabric ecosystem. Their primary use case is modifying existing code in the base game, whether it be through injecting custom logic, removing mechanics, or modifying values. Note that mixins must be written in Java, even if you use Kotlin or another language.

latent scaffold
shut ermine
#

I'm bored i think i might send some random person a text that only says "we need to talk"

shut ermine
acoustic moss
#

k

tardy rain
#

3 sextrillion devices

dire siren
#

hi

#

how do i make wt run a command

#

with a command

#

i want to run that command on launch with wt

latent scaffold
#

reasons why I abandoned Windows Terminal

#

configuration too weak

#

embrace Alacritty

dire siren
latent scaffold
#

only problem is that you can't really set it as the default terminal

#

(Thanks Windows -_-)

dire siren
#

oh time to mess with registry and fail

#

wait this name sounds familiar

latent scaffold
#

I'm never willingly messing with it ever again

dire siren
latent scaffold
#

hate whoever designed it

dire siren
#

ty, i'll look around

#

it just really looks like a warning

#

is it wrong to get a help message

wraith hound
#

Honestly a gui help message is stupid

#

If it's meant to be used in the terminal, put it there

bitter zenith
#

Who knows C#?

latent scaffold
# bitter zenith Who knows C#?

Could you maybe spare us and ask your question \😩 you'll get answers far more quicky if you ask your question directly

bitter zenith
#

Who can teach me C#? all I know is ```cs
Console.WriteLine("Hello Python");

latent scaffold
latent scaffold
#

If you ever come across any more specific lines of inquiry, I'm sure someone could point you in the right direction

#

but it's a lot to ask for someone to teach you something when there's plenty of (probably better worded) resources out there

wraith hound
#

@rough sapphire with your question from #python-discussion, you'll need a package like node-fetch or axios

#

There might be the XMLHTTPRequest thing, but I've never figured that out

rough sapphire
#

yeah I saw on so but didn't get anything :(

dire siren
#

@shadow jetty hope that i won't bother you much, i have a doubt on the raycaster example, how do i rotate given angle? i don't understand how the np.pi things work, is that radian?

#

thanks

shadow jetty
#

yes it's radians

dire siren
#

wow sounds like easier now

#

thanks

shadow jetty
#

np

narrow pecan
#

I did lemon_smile

#

Maybe I shouldn’t joke about as serious things as that horrendous design

mild abyss
dire siren
#

meanwhile me checking wt's repo

inland wolf
#

to make an exe file not open a console window when it runs, run the command:

editbin.exe /subsystem:windows foo.exe
``` needs (msvc)
vapid nymph
#

;-;

#

i'm about to ask a question which know is possible, so make it easier, i need someone to say "yes"

#

is running x11 behind nsjail in docker possible? I don't need to see the x11 server myself, just run it in nsjail in docker

dire siren
#

@shadow jetty sorry for ping,

Traceback (most recent call last):
  File "C:\Users\user\OneDrive\Documents\cool_tuis\gurkshin_impact\game.py", line 147, in <module>
    MyApp().run()
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\nurses_2\app.py", line 51, in run
    asyncio.run(self._run_async())
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete
    return future.result()
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\nurses_2\app.py", line 119, in _run_async
    await asyncio.gather(
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\nurses_2\app.py", line 116, in auto_render
    render()
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\nurses_2\widgets\_root.py", line 126, in render
    child.render(canvas[dest_slice], colors[dest_slice], child_rect)
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\nurses_2\widgets\raycaster\raycaster.py", line 356, in render
    cast_ray(column)
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\nurses_2\widgets\raycaster\raycaster.py", line 130, in cast_ray
    - camera_pos[side]
IndexError: invalid index to scalar variable.

what does this mean? what did i do wrong

dire siren
#

sowory for the ping

rough sapphire
#

yo

#

channel after xithrius

#

who is not streaming today

#

: (

latent scaffold
#

oh yep

#

this reeks of salt-die

graceful basin
honest star
#

mmmmmmmmm, this program I use at work is fundamentally broken for what I want to do because it was recompiled with a modern compiler and nobody double checked functionality. Do... do I just write my own in not Fortran?

graceful basin
#

I would assume any excuse to write sth in not-fortran is good one

honest star
#

Now the big question, what do I attempt the rewrite in?

tardy rain
#

fivetran

honest star
#

It needs to be fast computationally, so def not python and similar

graceful basin
#

julia would be my suggestion, but idk if you care to learn julia.

honest star
#

Oooh, julia wouldn't be a bad choice

viscid hemlock
tardy rain
#

was about to say

#

first time someone asks for a lang recommendation and its not rust

viscid hemlock
#

I mean, maybe Go?

honest star
#

I will never willingly write anything in Go

#

a

graceful basin
#

could try V

#

I hear it's good now

#

someone wrote a full kernel in it

viscid hemlock
#

Is that the "compile in an instant" language?

graceful basin
#

yes

#

if it's doing arrays, odin is meant to be good at that, but it's very much an obscure thing

viscid hemlock
#

What other languages are used at your work Kat?

It'd be weird to have like one Rust, V, or any other option across your whole organization

acoustic moss
#

julia is a prettier name than V i rest my case

honest star
acoustic moss
#

pythong 😳

viscid hemlock
#

I mean, wouldn't Python with NumPy, SciPy, Pandas and that whole area be fast enough?

honest star
#

Nah, not for this

viscid hemlock
#

Though they only make sense if you're looping, which I guess you may not always be

honest star
#

I'm doing hard numerical computations and many of them

#

Numba can only do so much

graceful basin
#

so more or less C++, rust, julia or a wackier LLVM language

viscid hemlock
graceful basin
#

cython seems a bit pointless when you are just writing C

viscid hemlock
graceful basin
#

ye

#

it's supposed to be really fast, though it can be hard to replicate

#

since it has a slow runtime

#

but the actual math is native speed

viscid hemlock
graceful basin
#

I mean, if you are dealing with C semantics anyway, may as well just use C and get easier tooling

viscid hemlock
#

In what way?

graceful basin
#

I can't really imagine Cython being a better environment for C programming than y'know, C

plucky ridge
#

You still have to properly work the Cython syntax to make it do that, and even then it's debatable whether it'd hit the max speed compared to doing it in raw C

#

A lot of faith has to be put into the Cython compiler

graceful basin
#

and I mean, there are better languages for doing fast computation than C

plucky ridge
#

True

frozen coral
#

fortran nicelmao

honest star
#

I would rather not considering the current problems are because we switched fortran compilers ;_;

wispy garnet
#

What operations are you doing?

#

Does GPU provide a substantial speed up?

#

Also, off-topic but does anyone have a preferred flow diagram maker?

honest star
shut ermine
#

I'm sad 2021 sucks

rough sapphire
#

how the hell did you get a capital letter in the channel name

#

i copy pasted the letter

#

into google

#

and it shows the same results as if i just typed the letter X

#

inspect element

royal lakeBOT
#

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

rough sapphire
#

interesting

#

so google is being stupid

broken dew
#

Or maybe smart. Google knows that if you type a MATHEMATICAL SANS-SERIF CAPITAL X you probably mean the same thing as a regular X

rough sapphire
#

ok

brazen steeple
#

Hi

rough sapphire
#

redesigning the train network

ancient dune
#

Not so much for my sleep schedule though

rough sapphire
#

it is 3:30am lmao

rough sapphire
#

let's gooo

vapid nymph
#

ugh help me

#

i need to know how to tell that my program is running inside an x-server environment

#

literally just trying to see how xservers work lmao

#

@rough sapphire gibe ideas.

#

i just realised this is pydis and not your server

rough sapphire
#

nope

timid frigate
#

:)

modest meteor
#

LOL 86% dislike already

#

it must be those targeted attacks they're talking about rather than the creators disagreeing 😈

inland wolf
#

lol

quick ledge
royal lakeBOT
dire siren
#

you can also grab some fullwidth char, but it wouldn't look as great

#

ļ½†ļ½ļ½’ć€€ļ½…ļ½˜ļ½ļ½ļ½ļ½Œļ½…ć€€ļ½Œļ½‰ļ½‹ļ½…ć€€ļ½”ļ½ˆļ½‰ļ½“

#

ļ¼Ŗļ½•ļ½“ļ½”ć€€ļ½”ļ½ˆļ½ļ½”ć€€ļ½‰ļ½”ć€€ļ½„ļ½ļ½…ļ½“ļ½Žļ¼‡ļ½”ć€€ļ½Œļ½ļ½ļ½‹ć€€ļ½ļ½“ć€€ļ½‡ļ½ļ½ļ½„ć€€ļ½ļ½“ć€€ļ½”ļ½ˆļ½ļ½”ć€€ļ½ļ½Žļ½…ć€€ļ½ļ½Žć€€ļ½”ļ½ļ½

solemn leaf
#

su s

latent scaffold
solemn leaf
#

um no they are full width

#

!charinfo s

royal lakeBOT
#

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

solemn leaf
#

hm ok

quick ledge
#

!charinfo s

royal lakeBOT
shut ermine
#

i think i have a dangerous high pressure or something I'm scared of getting up uhhhhhhh wat do

dire siren
#

@shadow jetty Hello again, sorry for ping,
the following log is the camera's pos attribute.

[LOG] [2.5 2.5] [TIME:1636797587.1866782]
[LOG] [2.5 3.5] [TIME:1636797588.1085587]
[LOG] [3.34210526 4.18421053] [TIME:1636797588.733552]
[LOG] [4.18421053 5.18421053] [TIME:1636797589.514804]
[LOG] [5.18421053 6.18421053] [TIME:1636797590.1866817]
[LOG] [6.02631579 6.86842105] [TIME:1636797590.7804291]
[LOG] [6.20360111 6.41412742] [TIME:1636797590.952308]
[LOG] [6.24792244 6.45844875] [TIME:1636797591.1398075]
[LOG] [6.28116343 6.43905817] [TIME:1636797591.2804294]
[LOG] [6.31440443 6.52493075] [TIME:1636797591.452303]

I only ran

class AutoSizeCaster(AutoSizeBehavior, RayCaster):
    def on_press(self, key_press_event):
        x, y = self.camera.pos
        match key_press_event.key:
            case "t":
                asyncio.create_task(self.camera.move((x, x), (y, y+1)))

Why did and how did x change? I didn't change it in any form, and if so how do i fix this issue?

#

Thanks

tight granite
#

!charinfo sus

royal lakeBOT
#

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

tight granite
#

D:

shut ermine
#

damn i lived... i mean good

rough sapphire
#

sup

#

im razor face 27

shadow jetty
dire siren
#

thank you

dire siren
#

hmm english translation on genshin is kinda special, in liyue it follows mandarin to do transliteration, in inazuma it followed japanese i think?

rough sapphire
#

Anyone wanna participate a chess tournament?

distant hazel
#

@verbal wren yo yo

verbal wren
#

oyoyoyooy

#

oyoyoyo

distant hazel
#

sup

rough sapphire
verbal wren
#

meeeeee saddddd

#

examssssss

#

ruined my life

#

me sadddddddd

#

so muchhhhh

#

#sedlife

rugged echo
solemn leaf
rough sapphire
#

I have a question how to display this color in the python console?

opal atlas
green pecan
#

Escape sequences are fun cos you print one and it does something else instead of displaying, for example print the following text green, or in the top left corner of the terminal, or toggle highlighted text

#

But they're a bit unappealing to look at in the code, hence modules like rich

rough sapphire
#

hi

#

windows 10

latent scaffold
broken dew
#

To test out the C I've been learning, I made a mini physics simulation with points and sticks connected to form pendulums (like in that Sebastian Lague video about the AI's video game idea). Originally this was going to be just a quick demo, so I made the terrible design decision of having a global array of all points that I would ever need to render, and another one for all the sticks.

The issue is that now I want to make the simulation more complex, and I keep getting bugs because of those global arrays—I keep accidentally accessing the uninitialised points and sticks. This is a real pain, so I'd like to hear if anyone has an idea of how to better structure the system?

gritty zinc
#

I'm not sure why this design is bad

broken dew
#

Maybe it's just me. I've found that whenever something goes wrong, I can usually trace it back to accidentally uninitialising a point. But since I don't know exactly where I did that, it takes a long time to track down the offending function.

In Python, if I accidentally set something to None to uninitialise it for example, I would get a traceback saying where I'm trying to access an attribute of None which doesn't exist. But with my array, I have to make everything be of type Point, so if I set the initialised attribute of a point to be false, it still has the position attribute, meaning that it gets rendered without errors.

gritty zinc
#

So do you have, like, a sparse array where all the points live, but some of them are uninitialized and don't count as points anymore?

broken dew
#

Yeah

round rose
#

You could have an array of pointers

#

Then NULL will be a pretty clear indication that a point is uninitialized

#

Or you could have a flag in your struct

broken dew
#

So I'm currently using an initialised attribute in my struct, but it doesn't appear to be as foolproof as I originally thought it would be. Perhaps I'm just not used to this style of code

#

If I had an array of pointers, where would they point to? Another array storing the actual structs?

round rose
#

malloc'd structs

#

Dynamic allocation baybeeee

#

You could also just have a secondary array instead of a flag, I assume there wouldn't be much difference in terms of memory usage

#

Just make sure to zero it instead of leaving garbage afloat

broken dew
#

Ok, thanks for the advice! I’ll have a think about each of the options šŸ

graceful basin
#

@broken deware you using valgrind or asan

#

that should give you almost exceptions

#

including tracebacks

broken dew
graceful basin
#

well, that won't give you an error for accessing uninitialised memory, right?

#

try passing -fsanitize=address,undefined when compiling

broken dew
#

Ah ok thanks!

latent scaffold
next locust
#

He doesn't want ubuntu he wants linux

latent scaffold
#

uh

#

but Ubuntu is Linux

wraith hound
#

I think that's the joke

latent scaffold
#

._.

inland wolf
shut ermine
#

same i don't want Ubuntu i want Linux lemon_angrysad

low chasm
#

@eager cliff

eager cliff
#

hi

low chasm
#

hello

eager cliff
#

what up

low chasm
#

I remember saying you wanted to help us write meow

eager cliff
#

i do recall this

low chasm
#

we're starting now, are you still up for it?

eager cliff
#

hmm.

low chasm
#

If your down, I'll invite you to the server

eager cliff
#

i do not think so anymore sorry lol

low chasm
#

ok

#

also, another question

eager cliff
#

if you need general help with C or something let me know though.

#

hi

low chasm
#

should projects use C11 or c99

#

for something like this

#

Didn't you say c11 has less suport

#

i dont mak etypos

eager cliff
#

i would suggest C99. yeah, C11 has less support and it is unlikely you will need anything in C11.

low chasm
#

great

eager cliff
#

nah

#

bad idea.

low chasm
#

I mean, the differences are minimal, right

eager cliff
#

talking to hsp v4.

eager cliff
low chasm
#

ok

#

what new ones

eager cliff
#

functionally for most of what you will do, very minimal difference.

#

let me grab them.

#

The C standard library or libc is the standard library for the C programming language, as specified in the ISO C standard. Starting from the original ANSI C standard, it was developed at the same time as the C library POSIX specification, which is a superset of it. Since ANSI C was adopted by the International Organization for Standardization, t...

#

you can see which headers were added in which version by sorting it.

#

here:

#

unless you want to deal with atomic operations, you are fine.

low chasm
#

ok thanks :D

mild abyss
#

im part of the standard lib

rough sapphire
#

In C and C++ are non zero integers truthy? i.e. can you do if (n) instead of if (n != 0) pithink

young shoal
#

yes

latent scaffold
broken dew
#

In C aren’t true and false just macros for 1 and 0

latent scaffold
#

I believe so

#

but you have to import them from stdbool

broken dew
#

Also @solid pollen what is this otn?

latent scaffold
#

I think it was 10 years before we had stdbool, though

mild abyss
latent scaffold
#

yeah

mild abyss
#

just have a uterus and give birth to it. ez

latent scaffold
#
#typedef true 1
#typedef false 0
mild abyss
opaque bronze
latent scaffold
#

maybe I should've done #typedefine \😩

opaque bronze
#
#typedefine (bool)true (int)1
``` typedefine++
latent scaffold
#

:faint:

mild abyss
#

šŸ¤” stop typing :((

opaque bronze
#

ok

solid pollen
acoustic moss
#

the earth is the blender donut

solid pollen
#

Yes

latent scaffold
#

now I want donuts

rough sapphire
latent scaffold
#

er

#

no.