#ot1-perplexing-regexing
1 messages ยท Page 80 of 1
he burnt popcorn
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
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
oh damn
Wikipedia I think has gotten extensions the past
The extent of the insomniac leaks is insane
what are those
He is leaking with insomnia
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
lol
well, i'm confused, what's insomnia?
a movie studio?
wait no, movie studio?
It's a game studio, ratchet and clank ? Spider man ?
ratchet and clank? oh shit
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
naw
Meh I donโt like PS Games
I donโt like PS period
I like Nintendo
๐ฅธ
Cuz Pokรฉmon
How can you not like GTA ._.
ew pokemon
It's like a household name of the industry
But fr I didn't know leaks of this magnitude were possible
ew pokemon x2
Lol
What games do you play
i play the ew pokemon series
Lmao what
๐
Do you play Battlefield
Destiny
COD
@pulsar heart what do you play
Boyfriend Simulator?
๐
it's a parody series of the pokemon series
Really?
i have been known to play it, was a bit confusing tho
naw
I donโt like shooters
yes, lately CODM
I don't play shooters much, but battlefield 4 is great.
Oooo, any specific sim you really enjoy?
I haven't got into it fully, but I really like racing sim.
Cities Skylines
ew cities skylines
Not for me, but it is cool to build a city without it being a literal catastrophic mess(speaking from experience). ๐
I don't play simulators, don't get the appeal of the genre
My fav story game is last of us, quite impressive
Simulators are great because they can be catered a specific subgenre that you like, for example I am sucker for milsim, and racing sim.
So I would look into games with this subgenre, which gives it variety.
I really liked tlou as well.
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
Oh you're definitely gonna like portal then.
Gta for ex is known for pushing boundaries
Haven't played it
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.
I'll give them a try for sure
there's an old game i used to play on PS that's like that, i forget the name tho
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
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
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
it's fun while it lasts
Play Fortnite, lasts forever
me and some friends have actually been having a great time on fortnite for the last month of so
Not sure if it help, but I tried some new genres of games I never played, and it was fun, but still got addicted to new vegas so there's that...
I think I'm just gonna go for Fortnite, I used to like playing it
tickle tickle
๐
my phone charges faster from my laptop than anything else
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
lol
bruh wannacry was in 2017??
@reef geyser today I learned Kat is a vr treadmill... Did you know that?
Too real
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
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
working at 14 does not sound fun
but if that's what you wanna do you do you
well that is highly unfortunate
you should drink more water
Do you consume other beverages @small coral
I love your pfp @dapper dew
Is it from Kerbal Space Program
nope
yes
I heard the second game is not as good as the first one @dapper dew
my name jeff
false
No
g
RAM?
space
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
do you have previous medical histories on this?
best to ask a doctor really, if i say any more it's just gonna be misinformation
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
@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
There's monads that have nothing to do with side effects
๐ค really?
List is a monad for instance
Sure, but it's not about that. You can return a new list
What makes monads special is being able to sequencing dependent computations
In functional programming, a monad is a structure that combines program fragments (functions) and wraps their return values in a type with additional computation.
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
ye i see
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 ๐คท
i made a compiler in haskell, and i don't think i had the right understanding about monads the whole time
whoops
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
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
picsart pro with a moth? sounds strange... but okay
good idea
hold up
party animals FTY9SKHMSV
picsart pro discord2-5mmm-AzOq-wK7E-rm
they expire tmr
ahah xd
Does anyone have the invite to the java server
adding to the chain
1 month Midjourney: d-59c19125
cool thanks
Here's more
picsart discord2-8xeD-UDFt-u6wv-Ob
midjourney wants cc so d-5a091c12
no clue what party animals is but RWKUWY3SDJ
@next vessel what is your great grandmother's maiden name
Hm
kinda question is that
it's one that asks what your great grandmother's maiden name is
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
bruh
that will literally kill someone
At the very least hurt someone
that's like the one thing we were taught not to do at chipotle ๐ฉ
i do not
formatting my beloved
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
uwu
uwu
uwu
UwU
@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
what do you mean there's a cult right here
technojesus
who the heww suggested t-this channyew nyame
Bard trying to iterate over struct Datatype in C++
Anyone know wats the history of Aliexpress?
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...
love posty
thewes a c-cuwt out t-thewe somewhewe
.uwuify i use debian btw
i use debian btw
.uwuify i use arch btw
i use awch btw
Lmaoooo
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???
That looks like cardioid @jovial oriole
Brain fart
it is
found the problem, as it zooms in, it performs more iterations/pixel to keep getting a clearer image. this however changes the brightness of the pixels
fixed it tho
can't you add an operation to the struct to allow the iteratioon
or is that the point, that it missed it
which symbol in particular
ohhhhh
has something to do with combinatorics
is this the case with the one on the right as well
yes
can u write the one on the right with the same factorial way
err yeah one moment
okii
.latex $\frac{(p-s \cdot k-1)!}{(p-s \cdot k-n)! ; \cdot ; (p-s \cdot k-1 - p-s \cdot k-n))!)}$
something like that
are s and k multiplied or is p-s multiplied to k-1
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 ?
wtf is this python
its accepted
leetcode stuff
damn
to people that wear headphones, check your head
my head has a noticeable indentation :(
crazy how it hasn't thrown an IndentationError yet
anyway you should probably get earphones
seems fine
except for my hair
don't like them :(
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?'
if it takes you 2 hours, double check if it follows the SRP โ
(suggested retail price)
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
Payment processor
@drowsy rose are you responsible
horrible
imagine having a bug and suddenly you're in $500,000 worth of debt
make sure it's PCI compliant (optional, no one will find out :)))
!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.
wasnt there someone trying to make their own implementation of ChaCha20 in rust not too long ago
another ping for @drowsy rose
cha cha dance
20 times
cryptography stuff
what?
maybe
i think discord uses websockets and some crazy ass functional programming magic
FP sucks โ Use OOP Instead โ
everything in real life is an object not a function
functional programmers are a lie
i think that's me
sexnine probably
Just learn from them ๐
hello moaz here
WOW
If a security issue occours, do open source projects release patched versions before updating their repositories publicly?
Generally, yeah
GitHub has released some stuff in the last few months to help facilitate that process
https://docs.github.com/en/code-security/security-advisories/working-with-repository-security-advisories/collaborating-in-a-temporary-private-fork-to-resolve-a-repository-security-vulnerability
blud thinks hes the slow mo guys
No
well he broke the ice
Are you in Japan @rough sapphire
!d dict.setdefault
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`.
#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.
e
e
e
...was cancelled
I'd be lying if I said I didn't do this before
I am interested and concerned
This was a product of me getting annoyed at not finding a sane SSG
I did write a makefile that makes this somewhat usable
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
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
wtf

Also tried polar exponential
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
I'll ask my research advisor. He likes to work on these random types of problems
Yo
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
yeah, I would say don't bother with bases <0
it's messy at best, just plain ill defined at worst
i share the same birthday day with the man the legend
https://vxtwitter.com/itsfoss2/status/1740274094598131969?s=20
lol
php as a c preprocessor as a html preprocessor
I mean, that's just PHP at that point
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
reddit or twitter
well if any1 wants to try out my incredibly unfun "game" here's the github: github.com/dcjvliet/Duotrigordle
eat my mac n cheese meat
he had bad food?
Irritable Bowel Syndrome @rough sapphire
Rice or Pasta

oh my fucking god
HOLY SHIT SKIBIDI TOILET
you must really like skibidi toilets 
the children yearn for source film maker
that and the mines
I fucking love fstrings
I want to fucking interpolate strings as fstrings
You're already in it
the fstringest
fstring = "f\"fstring\""
print(f"{fstring=}")
Femboy strings?
..
@reef geyser @thick osprey
fr tho
lmao
how the fuck am i supposed to know
no im not even driving age yet
noooo
chase logo
This admin ๐ญ
Ive only ever seen 1 linux user irl
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.
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)||
Implement it yourself
I can drive at 14
YOOO TUMBLEWEED
was thinking of that, but the goal is to make some api, which I want to implement the api. instead of falling into another project
the api is not fully implemented for the websocket, but the api must be tested on a websocket
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!
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
I had a CS teacher that told us about Unix history and the development of Linux. If he was still in my school I would ask him for some sauces to give you...
hulp. How do I turn off win defender. 5 seconds aint enough time
there's a switch in the settings app
somewhere
it kept turning on again after like 5 seconds
for some reason its fixed
ofc, all things fix magically when you ak for help
That's me
Boost asio
Hey Bit
sometimes i wonder why microsoft isn't in FAANG
earlier you missed someone about calling cybersecurity major a scam @foggy jungle
I was about to hit the roof
Jokes on them, I think most cybersecurity degrees are a scam.
really?
Really really.
dang
I've been researching prompt injections for about three days now. I also haven't stopped giggling for three days. These may or may not be related. 6/8 highly recommend.
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.
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.
tfw your grandma reads you a story about building a homemade nuclear reactor in your backyard for a bedtime story
I knew a guy that did that โthe nuclear Boy Scoutโ is what they called him after that
that's is the the problem, I can't make it work.
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
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
thanks, I realized the mistake I was doing.
Which is?
I was using it directly
not sure how dumb this could sounds like
Well I prefer having newer software
I donโt
I prefer newer software
I do (openSUSE has a less updates distro too)
beans
Ummm??? That is clearly a cat??
Beans
suspiciously small beans for a paw that chungus
@karmic gust was this otn Code Jam team name related?
Do you have opinions on adjectives and team names?? Come help us figure out team names in โ #Unknown
2022!
That's a big number
source?
eh, most numbers are bigger
actually less numbers are bigger than 2022
crap Temu product
same
How?
@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.
wait what
er
Jack's first otn.
oh lmao
Sorry, are you not getting pelted with the rain at the moment?
I am ๐ do you live in melbourne as well?
Yah. Northeast bushy suburbs.
Southwest of Yarra Glen, which the radar was black for.
what's a radar
Radio detection and ranging. Fire energy pew pews along the sky to see what bounces off in terms of aircraft, birds, bats, water, etc.
I didn't know radar is used for rain
Itโs called weather radar @jaunty wraith
yep that's rain
@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
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
mouse
@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
OK, thanks!
Discord sucks at formatting
monospaced text with a link isโฆ not monospaced
typing.ParamSpec
on mobile
on desktop
L mobile
Discord L
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
!d 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...
awesome
there is one builtin
thanks ryuga ๐
fuck my entire editor is frozen
Py docs have some snippets you can use too btw
How big is it
15 mb
I was recently trying to parse some xml to grab words from a corpus and it was a huge invalid xml file ๐ฉ
of fitness data
no sorry the size is
285 mb
on my disk
according to my get info
w my mac
just use vim
!d xml.etree.ElementTree should definitely load it anyway
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.
Don't you just love dealing with deeply nested dependency issues?
https://github.com/inocan-group/brilliant-errors/issues/3
@mossy blade tf u calling me out for. tf i did to u
Tifu?
tofu?
What is up with the channel names
!off-topic-names
There are three off-topic channels:
The channel names change every night at midnight UTC and are often fun meta references to jokes or conversations that happened on the server.
See our off-topic etiquette page for more guidance on how the channels should be used.
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.
Have they noticed they don't understand the units or have they convinced themselves they do?
I don't think they are aware the units can even be helpful for figuring this out
I did my best to fix this
Ah, that's awesome of ya. Yeah... that's the fundamentals crumbling under your feet after you didn't connect their importance.
My guy this is literally longer than a day
6 of those hours are ads
Not if you play it at sufficient >1x speed.
Dad advice time: pick a project today from kindling, and finish it by end of month. Repeat.
Iโm doing a leetcode problem a day lmfap
is this coming from an actual dad
this is 2/3 the length of a university course, not saving much time really outside of taking attendance and homework lol
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
I believe creating a google docs document on your gdrive and giving other people editor access lets you do that
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
@mighty relic 4 courses so far and this is my pile
@foggy jungleYOOOO
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.
if you can pass without the index, power to you
my old brain just cant absorb, need a quick reference
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.
its also about speed, index helps you answer fast
99 on GFACT, 93 on GISF. GSEC might be a little tougher.
Oof.
but I got serious
Yeah if I fail a test I also fail the course unfortunately.
that was like business school for me
Our test score is 60% of our grade.
But if we fail the cert test, we get a 0 for that 60%.
jesus
Yikes.
It's not been bad so far; I think it helps to maintain prestige of the institution.
SANS gives practical knowledge you can apppy directly to work
For sure, I also do a little Cybersecurity gig on the side and a lot of it applies directly.
its immediately applicable
Yep!
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
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.
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
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.
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
I was going to go to a brick and mortar for school and it was pathetic.
he broke out into a sweat
Oof. That sounds like someone followed a tutorial and used that as resume fodder without internalizing any of the information from the tutorial.
even a half triangle would suffice
yep
and then I asked him to make a regex to find an ip address
If those are the quality of applicants you're receiving I'm feeling fairly confident in my skillset lol.
didnt mean to flummox him so bad, I felt for him but told him he should revisit why he wants to persue cybersec
surprisingly difficult if you want to conform to spec
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
but a re.findall for digits.digits.digits would do
missing an octet there ๐ฉ
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'
there doesn't even have to be . i think. i'm pretty sure a single number would work
you'd have to parse numbers in many forms for parsing IP addresses

@spare oriole
hmmm
i don't think that's it
change type checking from off to on
no problem, just keep in mind python itself doesn't enforce type hints, that's why they're called type hints
but you can use tools like pylance which do what i showed you
It sure is annoying tho
Accidentally turned it on for a day in aoc and it was so terribly bothersome
and yeah, this is a big reason why we have technical interviews
even a super basic question will filter a lot of people
it was kinda blissful to do the aoc roulette without any linters in the random langs
and then last day was python and ruff was screaming at me
Sounds ruff
Lol
At work we basically have no linting/formatting/typechecks/whatever so im kinda used to it
sounds fun
๐
I have it to strict all the time ๐
reeee
Sorting visualizer in Minecraft.
Inspired by:
"15 Sorting Algorithms in 6 Minutes" by Timo Bingmann
https://www.youtube.com/watch?v=kPRA0W1kECg
GitHub:
https://github.com/TheCymaera/minecraft-sort-visualizer
A web-based sorting algorithm visualizer I made:
https://heledron.com/misc/sorting-algorithm-visualizer/
All my links:
https://heledron...
Why
why not
someone please explain what a quantum number is
what is all that 
I'd explain it to you, but that would change its definition.
I actually don't know. Let's look it up together.
Lmao
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.
aint this the stuff from highschool chemistry
I have no consciousness in highscholl
Must have missed it
yea
oh yes lovely i love tkinter
those are books o.o
they're what we read before ipads and mobile phones were invented.
i cannot click the book
Why are you pink
๐
๐คจ
I just woke up, I'm not all here yet.
what do they do tho
They contain words!
about what
Cybersecurity
Nope, they're my textbooks lol
oh
I thought those were notes
do u print out ur textbooks instead of buying them?
Si.
fk ofc it's cybersec
Hello \o/
There's a handful of us floating around with bastardized ConfusedReptile names lol
bunch of reptiled confusees I see
RefusedConptile
no it's one and a half months ๐
lol, someone who've ive competed against at clash of code has appeared at programming warcrimes
I host a number of guest operating systems on my computer, many of which can be up and running at any given time.
And occasionally those guest operating systems will in turn be virtualizing their own guest OS's depending on the specific guest OS.
how many levels of virtualization are you on
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

python has one of those
any practical use or just for fun?
I do a lot of Cybersecurity work.
i see
@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))
You guys uh... need a mascot?
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...
hire me!
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. 
I was recently asked if I fancied working somewhere because "you give good strop"
I took this as a compliment
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?
what is "strop"
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."
What was?
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
getters and setters in python is amusing
'sea breeze'
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
Im pretty sure the manufacturer icon replacement is a BIOS thing
Oh so it would be doing this no matter what?
Because itโs still on the getting ready screen and if itโs not for windows Iโm not sure what itโs doing
Yeah. But the installing manuf. bloat depends on the bios settings and how good the manufacuter is
Asus
Give it a bit
I was hoping USB install would prevent it
Alright thanks
If it rebooted without errors you should be safe
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
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?
Ehhhh... fuck it, worst that"ll happen is you'll have to reinstall again. Try it
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
huh sounds like me /hj
nice ad
@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
"object" in C doesn't mean the same as "object" in python
true
what does it mean in C
object
hm
a C object is roughly space in memory of a type that has some size
assuming VLAs aren't real
c programmers: ^
c99: boo
vaha linky aoo
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 ๐
they need to store your cookie preference in a cookie
But when I accept, it takes no time.. it can't take 3 minutes for cookies to be saved, can it?
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
very useful editorial for a guy wanting to learn segment trees
Tell them to add node_modules to their .gitignore
no need to push node_modules
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.
I don't remember the soft revert command
Hmmm
git reset HEAD~ iirc
Okay so run that
after you've gitignored the node_modules folder
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)
!res
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
usually we suggest automate the boring stuff with python and a byte of python
they're both books but they have free online versions
fluent python is a fun read once you got the basics down
Thanks, I really appreciate your advice!! ๐
vs professional? like visual studio?
i would recommend fluent python when you want to know more about python beyond what you can find as tutorials online
yeah
i've been trying out C# so i had the chance to use it
i thought it was a mid ide
@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
what was it?
networks
oh dang
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
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)
Honestly, writing code on paper is not as bad as people make it out to be.
It's things like describe, compare and contrast SPF and DKIM as methods for providing security in online mail
ye
what's spf lmao
oh
probably
sounds reasonable
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
||butt|| computing
oh
seems like there is another issue in javascript world, now with npm and doing "*" on dependency version
Which you shouldn't be doing anyway. Ever.
I don't even know why it's an option
ESPECIALLY in javashit
I use it all the time in rust ๐
I live in arch btw
yes
why is everyone confused
blame @foggy jungle
my gender is definitely "strongly disagree"
coding spaces full of queers and trans people my beloved
ยปi have no idea what the fuck i amยซ vibes
it's true though, rust made me trans /hj
thanks i hate it
I've been thinking about learning rust
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
sounds about right
Unfortunately he is hibernating @wraith hound
Oh he woke up
Go back to sleep little reptile
gradle is nice though
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
.
Cool story bro, tell it again
.
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...
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
but humans do the same thing, you take in data from your surroundings
Humans constantly learn, AI learns only in training
your environment is your training data
humans arent AI however
in a way we are, ai neurons are modelled after the human brain
Not really
I mean that article seems to claim otherwise
human neurons can hold a charge, weak or very strong. Its a spectrum
An AI neuron is either set to one or zero
this sounds very, uhhhhhhh, vague? 
where do you draw the line?
No its not
Ai learns when you run py train.py humans never stop
you could run the training in a loop...
i dont think that this si true?
Sure
Some feedback models work that way
what about a regressive neural network? or are you talking about something else entirely
?
DNN
But eventually you want to use just feedback from the AI
what stops it from having a continuous distribution as a result, as opposed to ones and zeroes?

The neurons actually have floating values, but when passed, they are compared to a bias and are set to either zero or one
you mean the outputs, right?
they get put into the activation function and it spits 1 or 0 out, eh?
not necessarily
Not always, but they are compared to a bias which directly affected the next layer
idk im gonna drop this argument for being too philosophical
Wrong*

