#ot1-perplexing-regexing

1 messages ยท Page 80 of 1

civic pasture
#

lol

#

Did he fart?

green pelican
#

he burnt popcorn

thick ore
#

wikipedia is not a company so no

#

an open source project

#

my science essays

#

every essay I do for school should have at least 1 wikipedia reference ๐Ÿฅด

#

yea

#

for some reason tho my english teacher doesn't like it

#

wikipedia does not make profit

#

donations

#

either people donate more, or the site shuts down

#

which probably will not happen anyway, it's 99% text

#

what

soft violet
#

School: Your paper must contain primary research you've conducted yourself.
Student: Nuclear physics it is!

#

School: I didn't think this through, did I?
Student: Roentgen intensifies

thick ore
#

oh damn

thick ore
#

maybe

spare oriole
#

Wikipedia I think has gotten extensions the past

pulsar heart
#

The extent of the insomniac leaks is insane

spare oriole
civic pasture
#

He is leaking with insomnia

pulsar heart
# spare oriole what are those

1.67T of the game studio private data was leaked, incluiding playable game builds for future releases, roadmaps up to 2030, developers passports

#

Financial details of the deal with Marvel

#

Everything

civic pasture
#

lol

spare oriole
#

a movie studio?

#

wait no, movie studio?

pulsar heart
spare oriole
#

ratchet and clank? oh shit

civic pasture
#

Are you ratchet? @spare oriole

#

.wiki ratchet

median domeBOT
#
Wikipedia Search Results

Ratchet & Clank (2016 video game)
Ratchet & Clank is a 2016 platform video game developed by Insomniac Games and published by Sony Interactive Entertainment for the PlayStation 4. The

Ratchet (slang)
Ratchet is a slang term in American hip hop culture that, in its original sense, was a derogatory term used to refer to an uncouth woman, and may be a

spare oriole
civic pasture
#

Meh I donโ€™t like PS Games

#

I donโ€™t like PS period

#

I like Nintendo

#

๐Ÿฅธ

#

Cuz Pokรฉmon

pulsar heart
spare oriole
#

ew pokemon

pulsar heart
#

It's like a household name of the industry

#

But fr I didn't know leaks of this magnitude were possible

civic pasture
#

I play GTA on pc

#

How dare you @spare oriole

spare oriole
#

ew pokemon x2

civic pasture
#

Lol

civic pasture
spare oriole
civic pasture
#

Lmao what

#

๐Ÿ˜‚

#

Do you play Battlefield

#

Destiny

#

COD

#

@pulsar heart what do you play

#

Boyfriend Simulator?

#

๐Ÿ˜

spare oriole
civic pasture
#

Really?

spare oriole
spare oriole
civic pasture
#

I donโ€™t like shooters

spare oriole
lucid hamlet
#

I don't play shooters much, but battlefield 4 is great.

civic pasture
#

๐Ÿ˜‡

#

I like simulation

lucid hamlet
civic pasture
#

Cities Skylines

spare oriole
#

ew cities skylines

lucid hamlet
#

Not for me, but it is cool to build a city without it being a literal catastrophic mess(speaking from experience). ๐Ÿ’€

pulsar heart
#

My fav story game is last of us, quite impressive

lucid hamlet
#

I really liked tlou as well.

pulsar heart
#

If you like it that's awesome, just doesn't tickle me in the same way.

#

I like stuff that either chalanges me, or has an interesting story or is technically impressive

lucid hamlet
#

Oh you're definitely gonna like portal then.

pulsar heart
#

Gta for ex is known for pushing boundaries

pulsar heart
lucid hamlet
#

It is a fantastic puzzle game with great story, and man....

Some of the puzzles are impressive, and shit while I'm at it, give half life a try as well, both of them are equally great games.

pulsar heart
#

I'll give them a try for sure

spare oriole
pulsar heart
#

Ooh, there's this game I loved as a kid, "Kya the dark lineage", super unknown, but for some reason the world captured my imagination

#

I don't think the story is good, it ends so badly

grave cove
#

y'all ever buy a new game, do nothing but play it for a week, and then you're mad bored again ๐Ÿ˜”

#

Me rn with AC6

pulsar heart
#

I don't play as much as I used to. Tbh I think it would do me good to get addicted to some game again

grave cove
#

it's fun while it lasts

pulsar heart
#

Play Fortnite, lasts forever

grave cove
#

me and some friends have actually been having a great time on fortnite for the last month of so

lucid hamlet
pulsar heart
civic pasture
#

๐Ÿ˜„

stiff siren
#

my phone charges faster from my laptop than anything else

uneven pine
#

For me it's my car

#

C-C fast charging

#

10% to 80% in like 20 minutes

#

Faster than the wall outlet fast charger I have

acoustic moss
#

lol

thick ore
#

bruh wannacry was in 2017??

eternal depot
#

@reef geyser today I learned Kat is a vr treadmill... Did you know that?

jovial oriole
#

Too real

grave cove
#

sure

#

that's what one of my friends does at jewel

wraith hound
#

depending on the actual job (e.g. in food or retail), these are often the times of greatest load because they're the times when folks who work 9-5s don't have work, so there's definitely a chance

low chasm
#

how old are you?

#

it varies state to state Iโ€™m fairly sure, but in VA, you donโ€™t need a work permit once youโ€™re 16

grave cove
#

working at 14 does not sound fun

#

but if that's what you wanna do you do you

#

well that is highly unfortunate

small coral
#

i haven't drunk water for like 9 hours

#

how come my mouth still feels okay

low chasm
#

you should drink more water

civic pasture
#

Do you consume other beverages @small coral

#

I love your pfp @dapper dew

#

Is it from Kerbal Space Program

lament cairn
dapper dew
civic pasture
#

I heard the second game is not as good as the first one @dapper dew

heavy trench
#

my name jeff

brazen ingot
#

false

small coral
uneven pine
#

No

rough sapphire
#

g

thick ore
#

hell yea

#

from 11GB to 4GB

wanton delta
#

RAM?

thick ore
#

space

small coral
#

is there any correlation with chocolate craving and constipation

#

because they kinda appeared at the same time for me

#

not only chocolate cravings actually

#

anything sweet

wanton delta
#

best to ask a doctor really, if i say any more it's just gonna be misinformation

tardy rain
#

Google says chocolate cravings could indicate need for magnesium and also that magnesium helps keep more water around in your guts that help with shids

rough sapphire
#

@spiral zephyr the way i see monads is as a sort of side effect

#

so when you write IO () means that you're gonna do an IO operation (which is a side effect) and return an empty tuple

spiral zephyr
rough sapphire
#

๐Ÿค” really?

spiral zephyr
#

List is a monad for instance

rough sapphire
#

i mean a list also has a side effect

#

appending/popping

spiral zephyr
#

Sure, but it's not about that. You can return a new list

#

What makes monads special is being able to sequencing dependent computations

rough sapphire
#

In functional programming, a monad is a structure that combines program fragments (functions) and wraps their return values in a type with additional computation.

spiral zephyr
#

The additional computation doesn't need to be a side effect

#

For instance Option or Maybe (in Haskell) is about optionality, a value can be either present or not present

rough sapphire
#

ye i see

spiral zephyr
#

Monads have an operation call flatMap aka bind that is as follows: I have an Option[A] and I do something with it that may return another Option. I can "sequence" them

#

Yeah, this is hard to explain I guess ๐Ÿคท

rough sapphire
#

i made a compiler in haskell, and i don't think i had the right understanding about monads the whole time

#

whoops

spiral zephyr
#

An esoteric insight is that you're always working within the Identity monad in Python

#

Basically, flatMap is about things you do and after each you add an "extra computation"

#

idk if it's all that important to understand

dim solstice
#

got nitro trial and i don't need these gifts so posting them here

picsart gold 1 month discord2-QmCK-SMiq-1Quc-VC
picsart pro 1 month discord2-ED3z-jXZv-9Fsy-UB
party animals nemo bundle NLWFCQKH7C

thick ore
#

picsart pro with a moth? sounds strange... but okay

frigid condor
#

hold up

#

party animals FTY9SKHMSV
picsart pro discord2-5mmm-AzOq-wK7E-rm

#

they expire tmr

dim solstice
reef goblet
#

Does anyone have the invite to the java server

lament cairn
next vessel
stiff siren
#

@next vessel what is your great grandmother's maiden name

limpid canopy
#

Hm

grave cove
#

kinda question is that

thick ore
#

it's one that asks what your great grandmother's maiden name is

sterile sapphire
#

....

#

you tryna get someone's bank details or something? lmao

uneven pine
#

It's funny I'm used to finding knives and blades in the dish water at work

#

Today I found broken glass in the drain while I was cleaning it

#

That was a new one

young shoal
#

that will literally kill someone

uneven pine
#

At the very least hurt someone

young shoal
#

that's like the one thing we were taught not to do at chipotle ๐Ÿ˜ฉ

civic pasture
#

Omg you work at chipotle @young shoal

#

I want some

young shoal
#

i do not

abstract marlin
cinder laurel
#

how can you put cereal before the milk

#

if you put the cereal first 0% will be crunchy or sweet, the sugar will be absorbed into the milk and it will not have a strong taste (diluted)

#

if you put the milk first then 50% will be crunchy

#

perfectly balanced, as all things should be

lament cairn
#

thats why you mix it

#

so the order doesnt matter

cinder laurel
#

MIX

#

THAT MAKES THE 0% CRUNCHY AS WELL

drowsy rose
#

uwu

small coral
#

uwu

grave cove
#

uwu

drowsy rose
#

nEW ANSWER IN PROGRESS VIDOEKOIEAHRGUHEIGBODAFHODJF

#

very hype

civic pasture
#

UwU

median domeBOT
#

uwu

#

bwah

#

bwah

civic pasture
#

@rough sapphire

#

My aim is to resurrect Jesus using ML

#

Python shall guide me

#

Yup

#

Python prays for me

#

Python thinks for me

#

Works for me

#

Therefore Python will be the religion of 21st century

#

And Jesus will be the living proof of it when I resurrect him with ML

wanton delta
#

what do you mean there's a cult right here

lament cairn
#

technojesus

blissful moth
#

who the hell suggested this channel name

#

it's so cursed

median domeBOT
#

who the heww suggested t-this channyew nyame

maiden prairie
#

Bard trying to iterate over struct Datatype in C++

rough sapphire
#

Anyone know wats the history of Aliexpress?

sterile sapphire
#

Official audio by Post Malone performing โ€œTake What You Wantโ€ featuring Ozzy Osbourne and Travis Scott โ€“ off his new album 'Hollywood's Bleedingโ€™ available now: https://PostMalone.lnk.to/hollywoodsbleedingYD

โ–บSubscribe to Post Malone: https://PostMalone.lnk.to/SubscribeYD

โ–บGet tickets to the Runaway tour here: http://www.postmalone.com/

โ–บExcl...

โ–ถ Play video
#

love posty

jovial oriole
#

What

cerulean wadi
#

i use uwuntu ....

#

jk

cerulean wadi
#

.uwuify

median domeBOT
#

thewes a c-cuwt out t-thewe somewhewe

fathom musk
#

.uwuify i use debian btw

median domeBOT
#

i use debian btw

fathom musk
#

.uwuify i use arch btw

median domeBOT
#

i use awch btw

fathom musk
#

Lmaoooo

jovial oriole
#

can anyone explain this??
i am doing a mandelbrot zoom, writing frames using imagio in grayscale, but the points within the set are going changing from white to black???

civic pasture
#

That looks like cardioid @jovial oriole

jovial oriole
jovial oriole
#

fixed it tho

wanton delta
#

or is that the point, that it missed it

rough sapphire
#

test

#

help me understand the symbolism in this formula fellas

grave cove
#

which symbol in particular

rough sapphire
#

(n k)

#

nd the one to the right of (n k)

grave cove
#

its binomial coefficient iirc

#

n!/k!(n-k)!

rough sapphire
#

ohhhhh

grave cove
#

has something to do with combinatorics

rough sapphire
#

is this the case with the one on the right as well

grave cove
#

yes

rough sapphire
grave cove
#

err yeah one moment

rough sapphire
#

okii

grave cove
#

.latex $\frac{(p-s \cdot k-1)!}{(p-s \cdot k-n)! ; \cdot ; (p-s \cdot k-1 - p-s \cdot k-n))!)}$

median domeBOT
grave cove
#

something like that

rough sapphire
#

oh pkkki

#

thanks brah @grave cove merry christmas

rough sapphire
#
class Solution:
    def numRollsToTarget(self, n: int, s: int, p: int) -> int:

        k=math.floor((p-n)/s)

        def fact(num):
            m=1
            for i in range(1,num+1):
                m=m*i
            return m

        ans=0
        for i in range(math.floor(k)+1):
            ans=ans+math.pow(-1,k)*fact(n)/(fact(k)*fact(n-k))*fact(p-s*k-1)/(fact(p-s*k-n)*fact(p-s*k-1-p-s*k-n))
        
        return ans%pow(10,9)+7
        ``` am i implementing the formula correctly ?
rough sapphire
#

its accepted

gilded cloud
#

why are you creating a Solution class

rough sapphire
gilded cloud
#

damn

civic pasture
thick ore
#

to people that wear headphones, check your head

grave cove
thick ore
#

crazy how it hasn't thrown an IndentationError yet

#

anyway you should probably get earphones

lament cairn
small coral
#

except for my hair

grave cove
verbal sail
#

is anyone here having a problem with productivity just like me?

#

like you sit down and it takes hours to do a thing that is very easy?'

thick ore
#

if it takes you 2 hours, double check if it follows the SRP โŒ

#

(suggested retail price)

thick ore
#
Enter your name: baker
Enter your age: 14
Your name is baker and you are 14 years old
#

most complex program i've ever written

#

try doing it

#

pause???

#

is someone running your messages through an uwuifier right now

lament cairn
#

Payment processor

thick ore
#

@drowsy rose are you responsible

thick ore
#

imagine having a bug and suddenly you're in $500,000 worth of debt

lament cairn
thick ore
#

!projects

royal lakeBOT
#
Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

lament cairn
#

wasnt there someone trying to make their own implementation of ChaCha20 in rust not too long ago

thick ore
#

cha cha dance

#

20 times

lament cairn
#

cryptography stuff

thick ore
#

what?

lament cairn
#

maybe

#

i think discord uses websockets and some crazy ass functional programming magic

thick ore
#

FP sucks โŒ Use OOP Instead โœ…

#

everything in real life is an object not a function

#

functional programmers are a lie

drowsy rose
drowsy rose
wanton delta
#

Just learn from them ๐Ÿ˜‰

oak stratus
#

hello moaz here

left kindle
#

WOW

lament cairn
#

If a security issue occours, do open source projects release patched versions before updating their repositories publicly?

jovial oriole
ionic bane
jovial oriole
#

No

wanton delta
#

well he broke the ice

rough sapphire
civic pasture
#

Are you in Japan @rough sapphire

bright grove
#

!d dict.setdefault

royal lakeBOT
#

setdefault(key[, default])```
If *key* is in the dictionary, return its value. If not, insert *key* with a value of *default* and return *default*. *default* defaults to `None`.
graceful basin
#
#include "header.html"
<ul>
<li> 1 </li>
<li> 2 </li>
</ul>
#include "footer.html"

How is it that the C preprocessor is the most CLI-friendly templating library.

civic pasture
wintry mulch
#

e

signal scroll
#

e

wintry mulch
#

e

carmine apex
#

...was cancelled

uneven pine
graceful basin
#

This was a product of me getting annoyed at not finding a sane SSG

#

I did write a makefile that makes this somewhat usable

uneven pine
#

It was for xml configuration files

#

It worked better than you might think? And it was only a temporary solution until it was replaced with a python script

graceful basin
#

Interesting, surely XML of all things has tooling for whatever operation your heart may desire

#

but IG cpp -CC -P is a bit less effort than figuring out xsl

jovial oriole
dire sable
grave cove
#

It might be set to real

dire sable
#

First thing I checked

grave cove
dire sable
#

Also tried polar exponential

grave cove
#

curious

#

strange you got a complex answer for the other one tho

#

and it's basically just the same thing

#

@dire sable i am stumped but please let me know if you figure out the solution as I'm curious :p

dire sable
knotty cloak
#

Yo

crystal spruce
# dire sable

might have to do with how the calculator interprets a^b for non-integer rational b

#

if it treats a^(p/q) as (a^p)^(1/q), then that'd explain those results

#

i'm curious how it handles (-2)^e or (-2)^pi

#

exponentiation with a negative real base is a messy thing to define so curious how it does it

#

if at all

solemn tulip
#

yeah, I would say don't bother with bases <0

#

it's messy at best, just plain ill defined at worst

wanton delta
dim solstice
#

php as a c preprocessor as a html preprocessor

graceful basin
#

I mean, that's just PHP at that point

fast idol
#

any1 know a place to get feedback on ur code. i made a game and i wanna see if ppl will play it and give feedback

cerulean grotto
fast idol
dreamy field
#

eat my mac n cheese meat

civic pasture
#

aweee

#

chewwy

civic pasture
#

he had bad food?

civic pasture
#

awee

#

IBS @rough sapphire

civic pasture
#

Irritable Bowel Syndrome @rough sapphire

heavy trench
#

Rice or Pasta

lament cairn
rough sapphire
lament cairn
#

oh my fucking god

thick ore
#

HOLY SHIT SKIBIDI TOILET

glossy niche
#

the children yearn for source film maker

wanton delta
glossy niche
frozen crane
#

I fucking love fstrings
I want to fucking interpolate strings as fstrings

acoustic fern
#

F strings are the best

#

Where do I join this club

frozen crane
wanton delta
#

the fstringest

naive igloo
rough sapphire
#

Femboy strings?

wanton delta
#

..

gaunt basalt
#

@reef geyser @thick osprey

abstract marlin
rough sapphire
#

fr tho

drowsy rose
civic pasture
#

is this weird for a highway interchange @drowsy rose

drowsy rose
civic pasture
#

๐Ÿ˜„

#

dont you drive

drowsy rose
#

no im not even driving age yet

civic pasture
#

oh my

#

no city building games for you until 16 @drowsy rose

drowsy rose
#

noooo

rough sapphire
#

chase logo?

lament cairn
#

chase logo

thick ore
rough sapphire
#

This admin ๐Ÿ˜ญ

jovial oriole
#

So im in robotics club, writing java for the robot.

This guy no ones ever seen comes in, takes out a huge laptop boots it up.
The fans go crazy and the sound is heard from the other room.
He screen loads into a terminal and starts typing before coming to a discord tab in his TOR browser.

He looks at the school laptop im using and asks me to show him the code ive written.
He looks at the editor before complaining that my code is too simple and i need more classes.

He left and never returned.

swift portal
#

does anyone knows any good websocket library for C++? simple to setup and fulfilled the purpose of being server? ||(on windows, if it supports linux that would be great)||

spice helm
#

I can drive at 14

spice helm
swift portal
#

the api is not fully implemented for the websocket, but the api must be tested on a websocket

reef goblet
#

I'm researching UNIX right now and can't find any news articles/statistics on its growth. If anyone has any resources, they would be greatly appreciated!

deep dawn
#

I gotta love windows man. I saw the memes but this is my first time seeing it in person. Build fail error due to false positive of win defender

deep dawn
deep dawn
wicked haven
#

somewhere

deep dawn
#

it kept turning on again after like 5 seconds

#

for some reason its fixed

#

ofc, all things fix magically when you ak for help

signal scroll
thick ore
#

sometimes i wonder why microsoft isn't in FAANG

spice helm
#

Nothing beats Debian tho

civic pasture
#

earlier you missed someone about calling cybersecurity major a scam @foggy jungle

#

I was about to hit the roof

foggy jungle
civic pasture
#

really?

foggy jungle
#

Really really.

civic pasture
#

dang

thick osprey
foggy jungle
#

Prompt injection shenanigans is always fun. There was that Gandalf challenge awhile back by some LLM security company that nerdsniped me for a good 20 minutes.

#

My personal favorite is grandma telling you a bed time story about how to make illegal substances.

thick osprey
#

Gandalf! That's the name of the one that opened the rabbit hole in my interest.

#

I'm going to have a fun time during my focus breaks at work. Nothing like a little on the job training.

grave cove
#

tfw your grandma reads you a story about building a homemade nuclear reactor in your backyard for a bedtime story

rough sapphire
#

I knew a guy that did that โ€˜the nuclear Boy Scoutโ€™ is what they called him after that

swift portal
wanton delta
#

your money, your problem :d

#

its not a stupid question
im just unsure where do you find value, mine is -> if it works and i like it, i'll buy/support it

#

this sentiment was once backed up and widely supported by gov in my city, nothing happens

#

people just buy and use what they find valuable

#

most people would buy mainstream audio stuff from samsung, apple, sony, i on the other hand buy chi-fi

something like that

rough sapphire
# swift portal that's is the the problem, I can't make it work.

Whatโ€™s the system you on ? This should work anywhere as long as you have cmake and make

https://stackoverflow.com/questions/72566306/unable-to-find-boost-libraries-with-cmake-and-vcpkg

swift portal
rough sapphire
swift portal
#

not sure how dumb this could sounds like

signal scroll
spice helm
civic pasture
#

I prefer ancient software @signal scroll

#

I use Windows Vista

signal scroll
signal scroll
lament cairn
grave cove
thick ore
#

Ummm??? That is clearly a cat??

thick osprey
#

beans

uneven pine
#

Beans

wanton delta
honest star
#

@karmic gust was this otn Code Jam team name related?

karmic gust
#

Do you have opinions on adjectives and team names?? Come help us figure out team names in โ #Unknown
2022!

young shoal
karmic gust
#

eh, most numbers are bigger

thick ore
#

actually less numbers are bigger than 2022

rough sapphire
#

crap Temu product

solemn tulip
jovial oriole
elfin scarab
soft violet
#

@tranquil orchid This is better than last week. This week the light fittings aren't pouring water into the kitchen.

Also, hey. Happy room day.

tranquil orchid
#

wait what

jaunty wraith
#

er

soft violet
#

I'm not joking. That happened.

#

They were floodlights.

#

Now I'm joking.

tranquil orchid
#

I'm very confused

#

happy room day? ๐Ÿ‘€

soft violet
#

Jack's first otn.

tranquil orchid
#

oh lmao

soft violet
#

Sorry, are you not getting pelted with the rain at the moment?

tranquil orchid
#

I am ๐Ÿ‘€ do you live in melbourne as well?

soft violet
#

Yah. Northeast bushy suburbs.

#

Southwest of Yarra Glen, which the radar was black for.

jaunty wraith
#

what's a radar

soft violet
#

Radio detection and ranging. Fire energy pew pews along the sky to see what bounces off in terms of aircraft, birds, bats, water, etc.

jaunty wraith
#

I didn't know radar is used for rain

civic pasture
#

Itโ€™s called weather radar @jaunty wraith

tranquil orchid
#

yep that's rain

civic pasture
#

@tranquil orchid don't drown

#

Oh no I think the rain swept him to Tazmania where the Tazmanian Devil saved him

#

He has no reception

#

@soft violet

soft violet
#

They're super cute, devils.

solemn tulip
# elfin scarab How?

Same cardinality, much like the set of positive integers and the set of positive even integers are the same size

#

I can make a 1:1 mapping from elements in one to the other in both cases

#

infinity is fun like that

crystal spruce
#

@oak crypt hi, I was looking at your help thread on type hinting a decorator, and was going to tell you this, but the thread closed before I could, so I'm pinging you here about it
if you want to type hint a decorator like that, which takes a large variety of Callables as input, you might want to look at typing.ParamSpec
the example under the docs for that is very similar to what you're trying to do I think, so you can just replicate that
if you're <3.12, then just look at the docs for prior versions to see how to use it before 3.12

oak crypt
#

OK, thanks!

jaunty wraith
#

typing.ParamSpec

#

on mobile

naive igloo
#

does it work on pc

#

i dont recall

jaunty wraith
#

on desktop

naive igloo
jaunty wraith
#

Discord L

sterile sapphire
#

dumb question

#

but there are libraries for parsing xml files in python, right?

#

i downloaded fitness data from my apple watch

#

and i'd like to create a dashboard from it

craggy crypt
#

!d xml

royal lakeBOT
#
xml

Source code: Lib/xml/

Pythonโ€™s interfaces for processing XML are grouped in the xml package.

Warning

The XML modules are not secure against erroneous or maliciously constructed data. If you need to parse untrusted or unauthenticated data see the XML vulnerabilities and The defusedxml Package sections.

It is important to note that modules in the xml package require that there be at least one SAX-compliant XML parser available. The Expat parser is included with Python, so the xml.parsers.expat module will always be available.

The documentation for the xml.dom and xml.sax packages are the definition of the Python bindings for the DOM and SAX interfaces...

sterile sapphire
#

awesome

craggy crypt
#

there is one builtin

sterile sapphire
#

thanks ryuga ๐Ÿ™‚

sterile sapphire
#

fuck my entire editor is frozen

tardy rain
#

Py docs have some snippets you can use too btw

sterile sapphire
#

thonny ain't built for xml

#

like

#

it crashes

#

like crazy

tardy rain
#

How big is it

sterile sapphire
#

15 mb

tardy rain
#

I was recently trying to parse some xml to grab words from a corpus and it was a huge invalid xml file ๐Ÿ˜ฉ

sterile sapphire
#

of fitness data

#

no sorry the size is

#

285 mb

#

on my disk

#

according to my get info

#

w my mac

tardy rain
#

Maybe its too big for thonny

#

Try vscode

sterile sapphire
#

will do that rn

#

thanks mar

solemn tulip
#

just use vim

tardy rain
#

!d xml.etree.ElementTree should definitely load it anyway

royal lakeBOT
#

Source code: Lib/xml/etree/ElementTree.py

The xml.etree.ElementTree module implements a simple and efficient API for parsing and creating XML data.

Changed in version 3.3: This module will use a fast implementation whenever available.

Deprecated since version 3.3: The xml.etree.cElementTree module is deprecated.

Warning

The xml.etree.ElementTree module is not secure against maliciously constructed data. If you need to parse untrusted or unauthenticated data see XML vulnerabilities.

tardy rain
#

Unless its malformed

#

It do be like that sometimes

sterile sapphire
#

mine is

#

seemingly

#

yay

#

i fixed it

cobalt remnant
rough sapphire
#

@mossy blade tf u calling me out for. tf i did to u

uneven pine
#

Tifu?

rough sapphire
#

tofu?

heavy trench
#

What is up with the channel names

dapper dew
#

!off-topic-names

royal lakeBOT
graceful basin
#

I am incredibly amused watching my classmates struggle with computing the power consumption of an MCU because they don't know what the physical units mean.

#

is the current consumed given per second or per CPU clock cycle kinda stuff.

thick osprey
graceful basin
#

I don't think they are aware the units can even be helpful for figuring this out

#

I did my best to fix this

thick osprey
tardy rain
#

My guy this is literally longer than a day

spare oriole
soft violet
granite tree
#

Dad advice time: pick a project today from kindling, and finish it by end of month. Repeat.

reef goblet
#

Iโ€™m doing a leetcode problem a day lmfap

thick ore
glossy niche
fair summit
#

Is there a simple way to share text file? Like maybe with google or ms or their account so i and others could just connect via browser and look/edit

lament cairn
solemn tulip
#

or code in python in sheets for the lolz

#

export as tsv then run

glossy niche
#

I have a technical presentation at work about a machine learning thing and I'm struggling with it

#

I'm done with the presentation and I'm proud of it, but I can't figure out a way to sneak in a floppa meme into the slides

foggy jungle
#

@mighty relic 4 courses so far and this is my pile

sour garden
#

@foggy jungleYOOOO

mighty relic
#

lol

#

what an exam

foggy jungle
#

Oh yikes.

#

Yeah I've seen a lot of those index thingies floating around.

#

My printer crapped out on uhh...

#

GISF

#

and I had to take it without notes.

mighty relic
#

if you can pass without the index, power to you

#

my old brain just cant absorb, need a quick reference

foggy jungle
#

I mean it would definitely be easier with some sort of structured index.

#

I take my first practice test without notes, see what I need to study, then take my second one with notes (to ensure a high score since it's 20% of my grade)

#

I've managed to score higher on my final tests (so far) than any of my pretests.

mighty relic
#

its also about speed, index helps you answer fast

foggy jungle
#

99 on GFACT, 93 on GISF. GSEC might be a little tougher.

mighty relic
#

thats awesome

#

I failed my first gpyc by 1%

#

nailed the second attempt

foggy jungle
#

Oof.

mighty relic
#

but I got serious

foggy jungle
#

Yeah if I fail a test I also fail the course unfortunately.

mighty relic
#

that was like business school for me

foggy jungle
#

Our test score is 60% of our grade.

mighty relic
#

I had to appeal

#

when I failed a calc course

foggy jungle
#

But if we fail the cert test, we get a 0 for that 60%.

mighty relic
#

jesus

foggy jungle
#

Yikes.

mighty relic
#

thats tough

#

you are getting some amazing instruction though

foggy jungle
#

It's not been bad so far; I think it helps to maintain prestige of the institution.

mighty relic
#

SANS gives practical knowledge you can apppy directly to work

foggy jungle
#

For sure, I also do a little Cybersecurity gig on the side and a lot of it applies directly.

mighty relic
#

its immediately applicable

foggy jungle
#

Yep!

mighty relic
#

im literally a cybersec VP, and I love taking their courses

#

I return to work with some fire

#

if I saw a candidate applying from sans Id put them top of the pile

#

and I see a ton of resume

foggy jungle
#

That's good news haha.

#

I think job-seeking wise I'm probably on a pretty good trajectory right now. With SANS certificates and education and the projects that I work on, I don't think I'm going to struggle too much to find a job.

mighty relic
#

the space is tough right now, its very competitive, but being more involved in interviews recently, Im seeing a worrying trend

#

stretching the truth or outright lying

foggy jungle
#

Yeah-- I think that's an issue across the board. I think a lot of Cybersecurity institutions don't really do due dilligence in properly educating either.

mighty relic
#

we had an applicant that had performed a machine learning gig using pytorch and I asked him to draw an ascii pyramid in the repl

foggy jungle
#

I was going to go to a brick and mortar for school and it was pathetic.

mighty relic
#

he broke out into a sweat

foggy jungle
#

Oof. That sounds like someone followed a tutorial and used that as resume fodder without internalizing any of the information from the tutorial.

mighty relic
#

even a half triangle would suffice

#

yep

#

and then I asked him to make a regex to find an ip address

foggy jungle
#

If those are the quality of applicants you're receiving I'm feeling fairly confident in my skillset lol.

mighty relic
#

didnt mean to flummox him so bad, I felt for him but told him he should revisit why he wants to persue cybersec

young shoal
mighty relic
#

no we still get some incredible applicants

#

@young shoal im just looking for their approach most of the time

#

to spec, yeah, it can be really tricky

#

if you need to account for ip conventions and such

young shoal
#

like, did you know that 127.1 is valid?

#

and 126.65530 is valid?

mighty relic
#

but a re.findall for digits.digits.digits would do

young shoal
#

missing an octet there ๐Ÿ˜ฉ

mighty relic
#

sure but you know what I mean

#

Im dont try and trip up applicants with really difficult or trick questions

#

I mostly look for people who have a passion for it and willing to learn, if they dont know the answer they just say 'ill google it'

young shoal
#

there doesn't even have to be . i think. i'm pretty sure a single number would work

jaunty wraith
#

you'd have to parse numbers in many forms for parsing IP addresses

civic pasture
sour garden
#

@spare oriole

spare oriole
#

i don't think that's it

#

change type checking from off to on

sour garden
#

that is now it works

#

thanks a lot mate

spare oriole
#

but you can use tools like pylance which do what i showed you

tardy rain
#

It sure is annoying tho

#

Accidentally turned it on for a day in aoc and it was so terribly bothersome

solemn tulip
#

even a super basic question will filter a lot of people

solemn tulip
#

and then last day was python and ruff was screaming at me

tardy rain
#

Sounds ruff

#

Lol

#

At work we basically have no linting/formatting/typechecks/whatever so im kinda used to it

tardy rain
#

๐Ÿ˜”

low chasm
civic pasture
#

reeee

cursive salmon
jovial oriole
#

Why

cursive salmon
#

why not

thick ore
#

someone please explain what a quantum number is

glossy niche
soft violet
#

I actually don't know. Let's look it up together.

wanton delta
#

Lmao

soft violet
#

In quantum physics and chemistry, quantum numbers describe values of conserved quantities in the dynamics of a quantum system. Quantum numbers correspond to eigenvalues of operators that commute with the Hamiltonianโ€”quantities that can be known with precision at the same time as the system's energyโ€”and their corresponding eigenspaces. Together,...

#

So, basically, there's words and stuff.

#

That's about as much as I got from the first paragraph.

glossy niche
#

aint this the stuff from highschool chemistry

wanton delta
#

I have no consciousness in highscholl
Must have missed it

stone belfry
#

oh yes lovely i love tkinter

foggy jungle
#

they're what we read before ipads and mobile phones were invented.

young shoal
#

i cannot click the book

foggy jungle
#

Why are you pink

young shoal
#

๐ŸŽ„

foggy jungle
#

Ah

#

I don't know if I'd call what you did completion.

#

|| //s ||

young shoal
#

๐Ÿคจ

foggy jungle
#

I just woke up, I'm not all here yet.

glossy niche
foggy jungle
#

They contain words!

glossy niche
#

about what

foggy jungle
#

Cybersecurity

glossy niche
#

notes?

#

or textbooks ?

foggy jungle
#

Nope, they're my textbooks lol

glossy niche
#

oh

#

I thought those were notes

#

do u print out ur textbooks instead of buying them?

foggy jungle
#

Nah, they mail them to me.

#

They're included with my tuition.

glossy niche
#

o ic

#

oh wait it's rem

foggy jungle
#

Si.

glossy niche
#

fk ofc it's cybersec

foggy jungle
#

Hello \o/

glossy niche
#

I thought u were the reptile (the confused one to be precise)

foggy jungle
crystal spruce
#

wdym bastardized

#

we're all just confused

glossy niche
#

bunch of reptiled confusees I see

solemn tulip
#

RefusedConptile

sick shadow
#

1,5 months clean off of league of legends, but i still get cravings

uneven pine
#

That's a weird way to say half a year

#

"one and five months"

sick shadow
#

no it's one and a half months ๐Ÿ˜„

cursive salmon
#

lol, someone who've ive competed against at clash of code has appeared at programming warcrimes

sick shadow
#

what do you need 64 GB of RAM for btw? @foggy jungle

#

๐Ÿ‘€

foggy jungle
#

And occasionally those guest operating systems will in turn be virtualizing their own guest OS's depending on the specific guest OS.

jaunty wraith
#

how many levels of virtualization are you on

foggy jungle
#

It's virtualization all the way down.

#

Cuckoo will spin up VBox vm's as necessary on one of my Mint distros

#

So... three?

#

HyperV -> VMWare Workstation -> VBox

jaunty wraith
foggy jungle
young shoal
#

python has one of those

foggy jungle
#

Python has abstraction?

#

You don't say.

sick shadow
foggy jungle
#

I do a lot of Cybersecurity work.

sick shadow
#

i see

jovial oriole
#

Its super windy when you're over water

civic pasture
#

Hi @foggy jungle

#

Watch for the Kraken @jovial oriole

thick osprey
#

@vale raven Thought you'd get a kick out of this. It was proposed today that my team and our network operations team form a new, single team. The name? Team Shenanigans.

((Team Angry Mob was also suggested but shot down))

thick osprey
#

We need a software dev, a system's engineer, at least six additional network operations specialists so that team doesn't need to run on a skeleton crew, and a few others.... the moment hiring reqs are available again my friend. the moment...

young shoal
#

hire me!

thick osprey
# weary moat Kaiser Chiefs fans?!

Yes, but it's also that we're just a bunch of angry people ready to kick down doors and drag other teams kicking and screaming into properly monitoring their freaking deployments. yarrSip

weary moat
#

I was recently asked if I fancied working somewhere because "you give good strop"

#

I took this as a compliment

thick osprey
#

It's a fine balance, throwing a good strop. You have to follow it up with forward momentum. Tantrum and drag the progress forward. Who's going to stop you?

young shoal
#

what is "strop"

soft violet
#

An intemperate contension.

#

To be stroppy is to be angry and argumentative.

#

I could say, "Don't get stroppy with me, you little shit." or I could say, "I got really stroppy with them and gave them a piece of my mind."

civic pasture
#

omggggg

#

this was so confusing guys

soft violet
#

What was?

civic pasture
#
import Node
import LinkedList

def swap_nodes(input_list, val1, val2):
  print(f'Swapping {val1} with {val2}')

  node1_prev = None
  node2_prev = None
  node1 = input_list.head_node
  node2 = input_list.head_node

  if val1 == val2:
    print("Elements are the same - no swap needed")
    return

  while node1 is not None:
    if node1.get_value() == val1:
      break
    node1_prev = node1
    node1 = node1.get_next_node()

  while node2 is not None:
    if node2.get_value() == val2:
      break
    node2_prev = node2
    node2 = node2.get_next_node()

  if (node1 is None or node2 is None):
    print("Swap not possible - one or more element is not in the list")
    return

  if node1_prev is None:
    input_list.head_node = node2
  else:
    node1_prev.set_next_node(node2)

  if node2_prev is None:
    input_list.head_node = node1
  else:
    node2_prev.set_next_node(node1)

  temp = node1.get_next_node()
  node1.set_next_node(node2.get_next_node())
  node2.set_next_node(temp)
#

this

young shoal
#

getters and setters in python is amusing

civic pasture
#

i think I just had a brain damage

#

by trying to understand this

brazen ingot
severe laurel
#

I started reinstalling windows from USB, it self-restarted, showed โ€œpick an OSโ€ like I have multiple operating systems when it shouldโ€™ve overwritten, and before I could choose it restarted and now itโ€™s on the manufacturer(not windows) screen saying โ€œGetting Readyโ€ ๐Ÿค”

I hope itโ€™s not installing the manufacturer bloatware. I dunno what to do itโ€™s not giving me any info lol

lament cairn
severe laurel
#

Because itโ€™s still on the getting ready screen and if itโ€™s not for windows Iโ€™m not sure what itโ€™s doing

lament cairn
#

Yeah. But the installing manuf. bloat depends on the bios settings and how good the manufacuter is

severe laurel
#

Asus

severe laurel
#

I was hoping USB install would prevent it

severe laurel
lament cairn
#

If it rebooted without errors you should be safe

severe laurel
#

Alright. When it restarted it was still prioritizing boot from usb though, I didnโ€™t really have a chance to change that

#

So idk if that would impact

severe laurel
# lament cairn Give it a bit

An hour later itโ€™s still on the same screen, not even windows setup

Should I force restart it, change bios from usb boot, and see how it goes?

lament cairn
#

Ehhhh... fuck it, worst that"ll happen is you'll have to reinstall again. Try it

severe laurel
#

Alright cool

#

Ooh it seems to have automatically changed from usb boot

#

Looks like it got angry but itโ€™s going to retry

#

Ah ok so going thru the usb stuff again it gives me the option to format which I didnโ€™t do before so it probably caused those issues

#

@lament cairn it appears to be working now, thanks

thick ore
#

nice ad

graceful basin
#

@dusky turret sadly, no, malloc always creates space for one object. While you can malloc an array type ala sizeof (int[10]), you still can't actually rescale that array type, it will be a pointer to an array of 10 elements. Why exactly this works when accessing it as multiple contiguous objects I leave as an excercise to the reader since I do not have energy to dig through standardese

young shoal
#

"object" in C doesn't mean the same as "object" in python

graceful basin
#

true

acoustic moss
#

what does it mean in C

jaunty wraith
#

object

graceful basin
acoustic moss
#

hm

graceful basin
#

a C object is roughly space in memory of a type that has some size

#

assuming VLAs aren't real

jaunty wraith
#

VLAs aren't real

#

they can't hurt you

gritty zinc
#

c programmers: ^
c99: boo

grave cove
vestal fog
#

pointers f them

#

who made them > einstein

tardy rain
#

You can't even point at who invented the concept?

#

They must have you shook

paper sequoia
#

Do some sites when I decline of cookies just to annoy me say "this may take few minutes to process your cookie preference", why would it actually take any time, can't even zap the element on mobile ๐Ÿ˜”

young shoal
#

they need to store your cookie preference in a cookie

paper sequoia
tardy rain
#

Theyre trolling you

#

mfw notion even refreshes the page to "change cookies"

paper sequoia
# tardy rain mfw notion even refreshes the page to "change cookies"

Ye, I noticed that to happen. I clicked link which just took to additional details just to have the prompt again, and surprise, another 3minutes. The dialogue does have option to accept all cookies while you are waiting them to "process" the changes. That gets instantly applied

rugged echo
#

very useful editorial for a guy wanting to learn segment trees

thick ore
#

Why is debian reading the changelogs

#

like dude just give me my upgrade

split heart
wicked haven
gaunt basalt
#

no need to push node_modules

wicked haven
#

And unstage the node_modules directory

#

Oh wait that's already committed

low chasm
# split heart

so the problem here is that you're trying to push a file that's too large for GitHub, this file is inside the node_modules folder. Generally, you don't want to commit this folder - you can avoid doing so by sticking it in a .gitignore file.

wicked haven
#

I don't remember the soft revert command

split heart
#

Hmmm

gaunt basalt
#

git reset HEAD~ iirc

split heart
#

Okay so run that

low chasm
split heart
#

Okay okay

#

After git reset HEAD what r the next steps?

eager galleon
#

Hello,
I want to become a software developer and thus, I decided to get into programming. I was advised to start from Python as my first programming language. Then I am planning on extending to other programming languages. I would really appreciate it if anyone can give me genuine advise and examples of specific and free resources to learn Python. (feel free to @ mention me)

wanton delta
#

!res

royal lakeBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

ionic moth
#

yo

#

vs professional is cool

#

like real cool

#

got to try it cuz student licenses

ionic moth
#

they're both books but they have free online versions

#

fluent python is a fun read once you got the basics down

eager galleon
wanton delta
wanton delta
ionic moth
#

i've been trying out C# so i had the chance to use it

#

i thought it was a mid ide

river sleet
#

sup

#

:)

graceful basin
#

@rough sapphire procrastinating exams, wbu

#

when else am I going to study, I mean

#

It's an exam, then of course, the day-long mental health break after the exam, then the day to study, then the next exam

#

yeah, I am 3 exams away still

#

I had 5, but I already wrote 2 of them

#

It is quite luck based, surprisingly. The differences between whether you get group A or group B can be quite severe

#

compared to my past exams, quite bad, but it is also by far the hardest exam of my degree.

#

I should pass unless the grading is much harsher than is typical

graceful basin
#

networks

ionic moth
#

oh dang

graceful basin
#

I get 3 attempts per exam, so I wouldn't drop out over this no matter what

#

no, I show up and write text on paper.

#

I have two exams where we get to write code on paper as well

#

can't wait to write HTML on paper

graceful basin
# graceful basin networks

It's not too hard to understand, there are just a lot of different kinds of services and we have to know all of them (that were deemed valuable enough to be included in the subject)

graceful basin
#

It's things like describe, compare and contrast SPF and DKIM as methods for providing security in online mail

#

ye

ionic moth
#

what's spf lmao

graceful basin
#

Sender Policy Framework

#

you say "emails from 10.0.0.0/8 are trustworthy"

ionic moth
#

oh

graceful basin
#

probably

ionic moth
#

sounds reasonable

graceful basin
#

this was one of the questions I probably got wrong

#

those were used for the labs

#

I don't know, I would expect CCNA to be more focused on low-level network stuff (how networks work), which was the previous subject. This one is network application, IOW why do we bother having these networks

#

Bachelors of Information Technology

#

Yeah, it's very broad

#

though missing bit of a theoretical informatics

#

which is only present in the following master degree specializations

#

There are electives for business stuff, marketing etc

#

even for things like effective management

#

Not mandatory, since quite a few students truly have zero interest in joining the rat race that is startups, and convincing academics that there will be more students that need this than quite a few other subjects is futile.

#

I didn't take them

#

I mostly just take interesting things, rather than practical things

#

I know how to to system administration on IBM Z-series mainframes, for instance

#

no

#

that is actually just straight up not in curriculum

#

which is an interesting omission

#

but it's not much of a surprise, cloud computing is primarily a webdev thing, and those tend to not be academics

#

gl to you as well

solemn tulip
#

||butt|| computing

vale raven
#

Hello

#

Why is everyone red?

civic pasture
#

no one is red @vale raven

#

are you okay sir

civic pasture
#

oh

wanton delta
#

seems like there is another issue in javascript world, now with npm and doing "*" on dependency version

uneven pine
#

Which you shouldn't be doing anyway. Ever.

#

I don't even know why it's an option

#

ESPECIALLY in javashit

solemn tulip
#

I use it all the time in rust ๐Ÿ˜‡

thick ore
#

chat should i rent

#

i wonder if they have a debian guest house

solemn tulip
drowsy rose
drowsy rose
sonic willow
#

why is everyone confused

digital oracle
#

blame @foggy jungle

mossy blade
#

my gender is definitely "strongly disagree"

wraith hound
#

based

#

gender abolitionism my beloved

mossy blade
#

coding spaces full of queers and trans people my beloved

wraith hound
#

ยปi have no idea what the fuck i amยซ vibes

#

it's true though, rust made me trans /hj

mossy blade
#

no but yeah

#

dark souls transed my gender

#

this is evil, how do you reverse it

wraith hound
#

thanks i hate it

mossy blade
#

I've been thinking about learning rust

wraith hound
#

do it

#

at the very least, you'll learn to despise all other language tooling in existence

#

that's like... most of the reason i use rust over any other more interesting language

#

@gritty zinc am i wrong? :p

gritty zinc
#

sounds about right

civic pasture
#

Unfortunately he is hibernating @wraith hound

#

Oh he woke up

#

Go back to sleep little reptile

young shoal
#

gradle is nice though

deft spade
#

Story time!

#

I remember when I helped skids.

#

I was in one server, and one guy asked for help with python
He asked how to use proxies in requests module

#

And I just told him how to do that
Also he had other bugs in the code

#

He asked me how to fix those bugs (bro forgot brackets and quotes)

#

He doesn't know Python, he was just copy pasting code from github

#

After he showed me the code, I realized he was making a discord nuking bot
Actually a nuking self bot

#

Then I stopped helping him, left the server and blocked him

white jasper
#

.

uneven pine
#

Cool story bro, tell it again

jovial oriole
#

.

lament snow
#

I have an interesting story that happened recently, I tried to tell someone that AI image generation generates kind of similar to how a human brain would, by blurring an image together they insisted AI couldn't "Learn", only steal, asked me if I was a nueroscientist and then blocked me...

jovial oriole
#

They're right

#

AI only knows what its been trained on

#

Everything it outputs is some variation of that

#

it cant learn anything its training data does not have

lament snow
#

but humans do the same thing, you take in data from your surroundings

jovial oriole
#

Humans constantly learn, AI learns only in training

lament snow
#

your environment is your training data

jovial oriole
#

humans arent AI however

lament snow
#

in a way we are, ai neurons are modelled after the human brain

jovial oriole
#

Not really

lament snow
#

I mean that article seems to claim otherwise

jovial oriole
#

human neurons can hold a charge, weak or very strong. Its a spectrum

#

An AI neuron is either set to one or zero

glossy niche
#

where do you draw the line?

jovial oriole
#

No its not

jovial oriole
lament snow
#

you could run the training in a loop...

glossy niche
jovial oriole
#

Some feedback models work that way

glossy niche
#

what about a regressive neural network? or are you talking about something else entirely
?

jovial oriole
glossy niche
#

what stops it from having a continuous distribution as a result, as opposed to ones and zeroes?

jovial oriole
glossy niche
#

you mean the outputs, right?

jovial oriole
#

Not always

#

The outputs can be floating point as well

glossy niche
#

they get put into the activation function and it spits 1 or 0 out, eh?

#

not necessarily

jovial oriole
glossy niche
#

not sure what you referring to still

#

the only biases im familiar with are those

jovial oriole
#

Let me see

#

I got it weong

glossy niche
#

idk im gonna drop this argument for being too philosophical

jovial oriole
#

Wrong*