#ot2-the-original-pubsta
652 messages · Page 102 of 1
Cool
😳
Lmao same
Fox looks like a racoon
Shapeshifter fox
My guy shapeshifter
They have a lot of animals
Ouu
Rescue animals
Why is it a fox
They used to have one fox, then two... Then they moved into bigger home and now they have like 5,i think???
Or 6
This dog looks like a fox to u 👁️ 👄 👁️ ?
Friends cat
Cutieeeeee
Awwww
👄
My catto
And this one
Awwwww
Blue one is Czika (read like chica), and the ginger one is called Rudy/Rutek and variations (rudy means ginger XD not a creative name XD)
The ladybug plushie is not a cat :P
I mean the grey one and the orange one
I know that's a stuff toy:0
What's the name of these two cats?
Yep. That shade of grey fur is called blue
Ouu
Here are the names
Not really unique if you know Polish XD calling a ginger cat literally ginger is not unique XD
Fat cat
😳 😳 So cute like a little munchkin
She's fat but she doesn't always look fat :3
Well, cats groom themselves
😬 Ouu
With their tongue
Didn't you know that cats clean themselves? :o
Purrfect oval
https://youtu.be/wQHJ3nI3Dk8 even big cattos do that
Two male Lions busy with a grooming session. So relaxed and trust in his brother. This was seen a while back in the Kruger National Park.
From local cat cafe~ cute
🤡 I guess cats work on the logic that
If thier head goes inside thier entire body can go inside too
Kinda. Their whiskers help them measure the width
And in general cats like contained spaces. That's why they like boxes. But also hiding under stuff. Contained spaces feel more safe for them
Hmm
Box kitty
Awww
pin
no no
@rocky nebula
don't mind me but, do you follow undertale?
Your pfp looks like a variation of sans.
discord server?
yes
||game nope but|| sans yes
ja
!lemoncount
There is currently 1 lemon on the server.
I had a cuter box photo but I cannot find it
This is still not the photo I was thinking of but still cute
:o 🐈 🐈 🥺
this is so critical that it's on bot
I love it
!lemoncount
Why not both?
:l
u know that when u already multiple times editing ur question and refining ur grammar but it still shows this message is midlyinfruitating
who would u support in a cat vs snek fight
yea agreed, very nice command
definitely exists
!lemoncount
There are currently 3 lemons on the server.
they've multiplied
that's a decent amount of latency on that command
they needed time to reproduce
I think Python just has issues counting above 1
maybe tomorrow there'll be 5
I'm guessing 9 by tomorrow
!lemoncount
@real forum no stop
Idk, iTs pYtHon sO tHaTs nOt ToO bAd
i knew it was gonna be bad 
well that says more about you than it does about me doesnt it? ¯_(ツ)_/¯
bruh
Focus & Concentration
(Minimum Vocals)
📌 SHORT DESCRIPTION
Modern VIBE can be definitely felt here. This one is one of the best. Enjoy deep vibes bros. No more to say. Have a great productive day :)
🚫 WATCH WITHOUT ADS
Brave Browser: https://bit.ly/filfar_brave (the most secured browser & blocking ads)
LBRY Channel: https://bit.ly/filfar_lbry...
Programming intensifies
Hey, I was told to go here to ask my question. Would there be any way to keep track of user data on TikTok (Followers, User names, Videos, Trending Videos, etc) ?
question: how do you pronounce ln(x) (natural log function)
LN(small pause) X
Lol
ah yes. ln(degeneres)
I see a concerning amount of awful OSes
Alan x
yeah thank you guys for the answers
el en ex internally and el en of ex out loud
I liked my ln(degeneres) joke :(
degeneres reminds me of degenerate orbitals , chem smh
why did you have to remind me of that
lol
n+l
never heard of it sir
odisha's language
how do you say “flick me off” in your mother tongue
i have no clue what the word for flick is
lol
i only know basic convo sentences etc
like what are you eating, i am doing this etc
also me
how do you say “I tried a cockroach soup last night” in your mother tongue
but i’d like to improve my english to try a job in other country
DAMN wait
kali rathe, mu asarapa tarkari khaitli
"Yesterday night, I ate cockroach soup"
that goes straight into my profile status, dank u
damn
bro it’s really there
damn
cockroach good or not?
he really did eat cockroach soup
i dont eat it
bruh, it’s full of protein with a lot of nutritious ingredients for your health
damn cool
so im gonna look for some, i need to heal from covid
help my java spring program wont run its tell me this 'Many To One' attribute type should not be 'Persistence Entity'
Sounds like life in a dystopia... cockroach farmng lol
I think the last Blade Runner had a scene with that
Hello
i spend money on aid vaccines
What
so when i read code i dont get aids
its very easy to contract code-born viruses
ive seen many cases of chlamydia, cancer, the whole shit show
Experienced programmer
experienced with dealing with the viruses
if you see bad code you have to rewrite it so you are cleansed
of the bad aura
so so true xD

oh so that's why people say their dora in spanish
2/3 diseases you mentioned are not viral.
thats the point
You could've mentioned like... HPV (which can cause cancer but is a virus) and herpes instead of chlamydia.
Pandora the Greek Explorer with her famous box ...
huh
Legend is there of a box that contained evil stuff like probably sickness etc, Pandora opened it
The name is pan - all dora - gift... wonder if dora the explorer is named after pandora
Pandora myth is a kind of theodicy, addressing the question of why there is evil in the world, according to which, Pandora opened a jar (pithos) (commonly referred to as "Pandora's box") releasing all the evils of humanity.
So covid is there because of Pandora lol if greeks are to be believed
(Parts taken from wikipedia)
Pretty much, yeah
it's an... interesting myth
the world was basically a frat party
and then gods went like "nah they got it too easy, let's spice things up"
so they create the first woman ever and send her down
and they gave the pithos as an accompanying gift that was not to be opened at any circumstance, because somebody just wanted to see the world burn
and when Pandora eventually opened it out of curiosity, things like death and illness that didn't really exist much before were let out of it
there's a lot of arguments about interpretations and such though
and iirc the original version was much different, with Pandora being a goddess herself that would only gift good things to humanity
isn't there a moral about hope being the last remaining thing in the jar, and hope is what finally allows all of humanity to face the evils ?
@clever cedar, @sonic thicket and @chilly hedge. Just to also confirm in server, that was me that just DMed you. If you right-click my name and click Message it will take you directly to our DM conversation.
oh, so no one else gets std's when they review bad code without protection?
so it's not just me, okaaaaaaaaaaay.
no pandora open the box in December of 2019
you can't change my mind
yup thankyou so much :D
my bet is on 2012
You mean December 29th, 2011?
Maybe, I don't remember exactly
I'm talking about the whole "The world is going to end on Dec 2Xth 2012 because Mayan calendar n shit"
On one hand, yeah, the world didn't end, quite predictably
On the other, has anyone really felt alive since then
EVEr sINCE THOsE DAmN iphoNes BeCaUSe popUlAr
*became
2020s are just the last seasons of a show that way overstayed its welcome
so the writers had to turn everything up to 11 just because they ran out of ideas but it still brings money in
With the way omicron is looking, it doesn't seem like it's ending at 11 either
oh wow. so cool, so confusing
Happy new year's eve!
Yes.... and without hope things do look bleak...it has to be there
nom
Om nom nom
ahhh nice!
guys i need a month of not working so i can just learn/practice coding again 
so many things i want to explore
I'm abusing the fact that I'm on winter break
haven't done anything programming wise in months
On hibernate mode then lol
meanwhile I only got like 4 hours of sleep over 30+ hours because I just wanted to code
@wide totem #advent-of-code message
the spoilered word is memoization
basically what functools.cache does
cache the value returned by the function if the same args are given
Lol dont look and sound desperate and be interesting
Here
umm may ik why?
It's lonely
I cent you a friend request
o.O
:incoming_envelope: :ok_hand: applied mute to @ebon raptor until <t:1640965295:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
this mf sent me an invite to his gaming server with 2 people in it
jesus christ what has this server come to x.x
lmao
!mute @ebon raptor 1d Don't spam-ping people
:incoming_envelope: :ok_hand: applied mute to @ebon raptor until <t:1641051478:f> (23 hours and 59 minutes).
Who wants easy cupcake recipe for today? Vegan
https://cakecrumbs.me/2020/02/12/sweet-hearts-cupcakes/
This thing, but do what author says before the recipe - put everything in one bowl and mix it.
I premix it without vinegar and add it when my oven is ready (vinegar activates the bicarbonate soda, so we want to have it baking as soon as it activates)
That recipe also works as muffins (although without muffin top), as in: no toppings needed.
the problem with getting into cooking is that even supposedly easy recipes are often like 20 ingredients some of which you haven't heard of
caster sugar
what if I only have fighter sugar
paladin sugar
the trick to cooking is to have a healthy amount of disrespect for the recipe
in baking though?
just gotta have good instincts
ic
I didn't even notice that, I have priest sugar
But it works
Yep. But even if you don't have that skill, this recipe works. I know because I don't have this skill XD
I only lower sugar to 3/4 cup
I cannot cook at all but this still works, sooo
ooh those look good
make some goodies with the kids
As I said, this is easy recipe if you just put everything together in one bowl XD
brad convinced me to make peanut butter cookies today
I already mixed another batch (without vinegar, as I said) to put in later :3 (the amounts in the recipe work perfectly for 12)
just grind sugar in a blender lol
I can't tell if that's a joke or not
it isn't, castor sugar is literally smaller sugar granules
I'll be watching your career with great interest
bruh
bruh
honestly caster sugar is pog
though it has the downside of being harder to distinguish from finely ground salt
Could someone help me with some ping spikes?
I tried a new recipe today 
I made some moelleux au chocolat this week
I think I might try making some sticky toffee puddings for New Year’s Eve tonight
y’all slacc in 2021 while I’m flexin in 2022 already
from __future__ import 2022
Huh... I just used normal granulated sugar for the recipe. It works fine for those cupcakes
We don't have caster sugar around here, it's either powder or granulated... Or cubes :P
Still from future for me. Less than hour to go :3
bruh
it's 4 PM here smh
@rare moat https://github.com/psf/black/blob/4f5268af4f0939fbc0d5ec4fd3d113b40a4c92e9/tox.ini#L15-L32
i fucking love that
hmm, the image is cropped
that is so cool
haha, thanks, pretty sure Łukasz Langa made it ^^
wait so is Black endorsed by the PSF? o_O
well no, but we do technically have access to PSF's services, say if we ever had to deal with legal stuff
eyy
o_O
makes you wonder about python/mypy LOL
🍻
yeah, not specifically for us or anything, but for the organisation and the cpython project and friends. The move of black under the psf GitHub organisation was mostly just to prevent the project from going into disrepair if Łukasz ever disappeared
@tribal tinsel Your profile icon and banner are adorable. I like foxes. Just maybe not so much around where I live. Feral foxes and wildlife aren't a good combo.
That and their leavings smell like they deuced a carton of off milk.
Just joined--am I allowed to post to the help channels? I made a post but so far no one has said anything so I wasn't sure if there was a situation where being new = messages aren't sent or something.
it's more likely the server is not super active right now due to new years
Ah ok, makes sense. Just making sure it wasn't a "new users have to wait X amount of time" situation and I was secretly waiting in vain haha
I took a look, maaaaaaybe mention your channel under #data-science-and-ml? with brief mention of what your question is about
My current pfp is Juniper Fox. https://instagram.com/juniperfoxx?utm_medium=copy_link Juni is a main 'face' for the profile, but they currently have several rescue foxes and other rescue animals. I really recommend checking the profile for some silly animals and some educational materials :3
Mm. I am peripherally familiar.
@potent ledge don't send fake nitro rickrolls
sad
Happy new year
Awwooolf
Hapoy new years PST
could this idiot stop coming in my recommended im sure i did "dont recommend this channel again"
ez, stop watching utube
quit youtube :)
you can write a web extension btw
as a coding challenge
that also can remove the annoying youtuber if you don't want him to show up
hmm interesting
prob need some web scrapping knowledge
i've never written one ¯_(ツ)_/¯
me copies adblocker extensions and replace the element to connor pugs
that'd work?
oh that looks cool thanks
Happy new year scrape responsibly
some of the stories are actually....'interesting' though
the draw your story type channels?
those are cursed
come to think of it its been like 2 years since ive seen one lemme see if they are still cursed
year
they are more cursed now than they were 2 years ago
nah it's just some 14 year olds dream
every. single. damned vid
he actually posted normal content before
thats why i was subbed to him too
then that repetitive thing
i unsubbed
Repetitive like the days simce covid lol
.topic
ah yes friut
uh huh
help my mouse disappeared
due to my beautiful skills with the keyboard
ok its back
wait
why the hell
does it not light up
it makes the sound when
i
plug it in
and remove it
but it does nothigng
and then the light stops
a few seconds after plugging it in
bro help
i tried another mouse
same thing
happened
my keyboard skills are all i have
nop i tried
both front and back ports
where is your trackpad?
😩
i suggest clean reboot
i was just doing normal computer stuff and then i hear disconnect sound
jk
and then my cursor disappears
get some battery
or is that not wireless
its wired my guy
does anyone know how to take a snip without a mouse?
like the entire thing?>
@jovial island do ya think i should uninstall driver?
jk dont
yes
press prntscrn
windows + prtscrn
takes full screenshot
nice
hi does anyone have api endpoint ideas
what are the ideas needed for, what is the context for the api?
What is the api about? Because I have ideas, I just need to know the topic or what you already have. (Eg if you have some data stored, there are several endpoints to play with those, and more stuff if you have relational data...)
And if the question is, "who the fleep would do such a braindead thing?" Here you go! https://www.bleepingcomputer.com/news/microsoft/microsoft-exchange-year-2022-bug-in-fip-fs-breaks-email-delivery/
... why would they store it as an int
use a fucking iso8601 compliant library goddamn it
and serialize it as a string
It's an impressive train wreck
Like, there's not just one or two bad decisions that got them there. And they apparently don't test future dates.. yeah, pretty impressive
Microsoft doesn't test Exchange on premise at all
since they don't want anyone using it
here are the docs :
https://api.dhravya.me
I'm aware that people prefer not to click links, so I'll just give a short description here
It has QR code generation, Meme fetcher from reddit (put in any topic and youll get a meme about it)
Meme maker, questions like would you rather, facts, jokes, etc. OCR, minecraft server status checker
Y2022 lol echoes of Y2k
cat, dog, fox - will be easy to fetch from reddit as well 😛 /r/foxes is mostly about photos or art depicting foxes
oh damn, thanks !
You can have subcategories of cats, from different subreddits like /r/catculations https://www.reddit.com/r/Catculations?utm_medium=android_app&utm_source=share
https://www.reddit.com/r/Catculations/comments/rsym4e/like_a_glove/?utm_medium=android_app&utm_source=share for example...
Ah, no preview
cats own us
rip important work document
why is this part in msi afterburner greyed out? the fan and the voltage
pls send help as i just crashed
and i have no idea what i'm doing
Don't you have a profile selected? Or an available one?
wat
wdym?
How'd you overclock it if the sliders are disabled
So you just increased the core clock without increasing the voltage, temp limit or fanspeed 🤦
yes
ah it dose
yes.
done, but now what?
sick skin
enable what? the fan and voltage?

yeah
Leave the last one disabled
wokay
i, still can't change anything
Don't tell me you didn't click apply
i, might have after clicking on this this thing thinking that it would enable the fan control
and then i reset everything
Just enable the settings, don't make me install afterburner, my pc doesn't like it
I told you to look for the other settings
And enable them
I can't hold your hand throughout this
uhm i can't find any ither setting in here
is it in an different panel or something?
i can't seem to find any other setting regarding the fan and the voltage control except the one in the general tab where only the voltage control is enabled
hmm
But they are there

Lmao forget about overclocking then
You're just going to fry it alive
I pray you won't fall into the "tech" youtube tutorials rabbit hole
It's infested with clickbait padded out tutorials that regurgitate misinformation.
XD
That cracked me up
But for real though
Something that always gets me worked up
Is how they suggest clearing the cache will make your pc faster
I'm sure you've heard of it right?
yeah
It's total bollocks
The os?
but like a coupple of months ago it was fine
Windows moment
With a sarcrificall ritual, jk. Although you probably don't want to switch since it seems you play games on your laptop
And let's say the chances they can run on linux are slim
Thank you very very much! I've implemented all that in the API!!
i don't play ga🇪mes as much tho it's just that i like how beautiful war thunder looks
Dont forget to subscribe and click on notifications lol...after sponored in content ad.
lmao
Well then if you want to switch, no one will stop you
Choice paralysis moment
XD
Its not the distro its how you use it
wdym?
-Ghandi, probably
lmao
Kali for info sec Ubuntu for most
i used to run windows on a 100GB ssd just fine
lmao typo, ima leave it there
bruh
The more the merrier .. Vm great
both of them are kali btw
Install linux and run windows in a virtual machine
Though it might be a bit taxing
that's fine i just use windows for discord youtube and school
Disocrd is available on linux and youtube is just a website
hmm, yeah
It'd be bad if you couldn't browse the internet on linux
i'm not the smartest
so do i just install kali on it and call it a day or do i need to do something with the existing data?
ight guess that's for another time as i need to go fulfill child labour assinged by my school
Cya
😔
!unmute 925161302018641981
:incoming_envelope: :ok_hand: pardoned infraction mute for @jovial island.
!unmute 546012380237135878
:incoming_envelope: :ok_hand: pardoned infraction mute for @jovial island.
!unmute 905600131737485353
:incoming_envelope: :ok_hand: pardoned infraction mute for @jovial island.
lol thanks for the unmute
I was just about to answer the python topic 🤣
bc it has play store
and the play store has many games and programming stuff
@tough dome here
ᵃˡˢᵒ ᵇᵉᶜᵃᵘˢᵉ ᶦᵗ'ˢ ᵇᵃˢᵉᵈ ᵒⁿ ˡᶦⁿᵘˣ ᵃⁿᵈ ᵗʰᵉ ˡᶦⁿᵘˣ ᵏᵉʳⁿᵉˡ ᶦˢ ˢᵘᵖᵉʳ ˢᵃᶠᵉ ᵇʸ ᶦᵗˢᵉˡᶠ
the linux kernel has had a ton of various security flaws historically
but they have been fixed
doesn't it also severely limit range of functionality ?
yeah
yayies
linux is mostly secure because targetting malware at linux is not profitable
can you play games on chromeOS? popular ones?
can you even put wine on that thing
small percentage of users, and they tend to be the kind of users that won't get malware anyways
yuh
ah cool
ʷʰᶦᶜʰ ᶦˢ ᵒⁿ ᵗʰᵉ ᵖˡᵃʸ ˢᵗᵒʳᵉ ᵗᵒᵒ
ANYWAYS
of course you can do stuff with it
it's an OS after all
what about microsoft365 desktop applications?
however, that depends on the chromebook model
there are a lot of chromebooks that are missing play store support
and with play store support comes many minor bugs
No but Mobile versions somewhat work
what up
My bank doesn't have enough ATMs where I can deposit cash
I don't want to have cash.
who uses cash, what is this the 1930s?
exactly
I only want ATMs to exist inasfar as I can upload my cash to my checking account
i just scan my brain implant
what
what
how does having a brain implant let you upload cash?
idk, jeff bezos made it
it's stuck in my head
open your head
i'm too closeminded
racist
D:
im too closeminded lmao
imagine being racist in 2022
I thought you only went after kidneys
I don't limit myself to that, no.
You arent going to get my brain implants...*hides
zombie arc?
Thanks for reminding me i need to go to the bank to deposit cash too.....* continues dash away from brain implant seeking being
You think you can escape me? Ha!
I still have my kidneys so yes
don't be so sure.
*puts a magic leaf on my head and shapeshifts then disappear into the forest.... Tanuki are strange japanese critters in legend able to do that
You hear the voices of people
But the IRL tanuki cute
I’m not sure what else you’re expecting
anxiety, or at least that happens for me when talking to complete strangers on the internet 
no like, the effects of it?
the anxiety, trauma
bc i can't handle talking 2 ppl irl or w/ vc
You don’t have to chat in there if your anxiety is that bad, it’s only an option
Yes
Although there are certain times of day when they are more active
I have social anxeity more IRL than online. Here i feel more free to talk
sameeeeee
i avoid ppl, eye contact and cars for this exact reason
why cars?
bc there are ppl in them and i have to make eye contact w/ them when i cross the road
o ok
Probably introvert like me..
read my bio
I dont like eye contact but have no issue with cars lol ok i will
Oh my we are alike in social life and friends
his account was probably taken over or something
phishing !
13 year olds be 5 foot 8 these days smh
i can't tell if thats good or bad
I'm calling cap
is that good or bad
plz context
so is that good or bad
im snacking on whey protein isolate during classes
tastes like nothing, but im addicted
I’d like to be taller but I’m average height
are you working out?
And yes, you tall
yes
same
this keeps giving me errors brb
what did this guy even think will happen?
theres 6 1 ppl at my school 😔
im a middle schooler.
yikes
i think one of them is 6 3
lmao im still 5 5
but my friends r also 4 11 or so so like im alright
at least im above average
steroids
idk man
they're putting steroids in the water 😔
is it:
Yo apartamento es perfecto
or Tu apartamento es perfecto
its -o so wont it be Yo?
Some use lasers and the speed of light
there once was a guy ik him irl, he was a dick so we mocked him for being fat and he didn't come out to hang out with the guys that liked him and us so we would come to see him at least once a day, and a week later the guy came back out and this time he just ballooned up like a foot taller than before that week, idk what he was doin' in that week, maybe he was just sitin' there eating boxes and boxes of baking soda and just put himself in an oven
but being like a foot taller than me did not stop me from bullying him
hey what do you guys think of 'white hat jr.'
horrible, 0/10, do not recommend
100% marketing 0/10 score
its ass
there's a lot of scam exposed on yt , teacher teaching python while only having the qualification of qbasic in resume lol
QBasic lol.. Scam is everywhere thou
Ah yes qbasic so qualified
just fuckin' youtube it
don't even bother with things like these
because i got scammed
the marketing got my parents and they bought one of the other branded course called byju's premium for like a 100000 inr
and it's just youtube for math and science except that it's much worse
Scam. Don't ever buy it.
yeah lol i just asked to see how bad everyone whos an actual programmer thinks about it
apparently in one of their courses you become a "certified game developer" in only 8 classes
like sure i'll just skip college and go to 8 classes of this absolute garbage
The teachers takes info from children about how good their parents' wealth is and then they steal.
Exactly. You become a gold developer in a nutshell. Cheats.
@jovial island can you add me? 👼
Indeed
meaniee
add meee
i need to say important messages
of the utmost concern

your name reminds me

@jovial island do you actually pay for winrar 👀
Who doesn't 
i have both installed but in practice i use peazip which just uses 7zip behind the scenes
@jovial island if i buy winrar will you add me 
bruh

winrar licence digging 😑
bruh
Lol win rawr
OwO what is this
If there is pep8, was there also pep7, 6, so on and so forth? Or is it like big hero 6, where they just decided to name it with a random letter
!pep 7
@real forum ^
Ohh
in general it doesnt go sequentially though
:incoming_envelope: :ok_hand: applied mute to @jovial island until <t:1641268704:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
lmao that name tho
lol
nothing
you can continue to use winRAR but it will keep nagging you
to buy a license
dont know a single code
im alone
not catched up with anything
- This sounds like a weird scam
- What
- Don't. See the rules
I actually forgot to check the rules, sorry. I usually make sure I don't post anything that's against the rules. It's really you usual basic NFT and nothing else. But NFTs in itself are a pump and dump scheme, so. Gonna read the rules and if it violates em, gonna delete the msg.
!rule 6
I guess it falls under ad
yes
kk
give me a stake, i give u my love
It does? Although there are some special ranges.. the majority of times it's just an increment
but iso tho, so many of those 😩
here's a stake
google translate should be able to take in code like python, c, c++ and java and convert it into plain english so that non-programmers can understand the code
change my mind
ah yes, I'm sure non-programmers would understand how mergesort works if only you explain it in english
Yeah but those are in a special range
8000 is governing PEPs
O
now pierce my heart
💔
you were just cold hearted thats why
get heartbroken by getting a cheating partner
no i meant that cold things break and crack
same
.
what would be my gpa if my grades are the following ```
Chemistry Honors A
English 2 Honors A
AP Seminar A
Band (regular credit) A
AP World A
Web Honors A
Geometry Honors B+ ```
nice, straight As, and a B+
probably like 3.9 or something
AP is advanced placement
College level course
right
I strongly suggest taking AP courses if you can
imagine
advanced placement
they're supposed to be college level courses you can take in hs that you can get college credit for
in practice, they're usually much easier and not many schools take credit for them
lol
admin + mod = sus
🤔
modmin
behold
no
/*
* Appends a value into the array. If the STACK option is set to true, and
* the array is FULL, then an error is rasied and the program exits with the
* value assigned to DM4_ARRAY_EXIT_CODE.
*
* $1: the array to append to
* $2: the value to append
* $3: the array settings
*/
define(`dm4_array_append', `
if($1->logical_size == $1->physical_size) {
ifelse(m4_index_list($3, 3), false,
$1->physical_size = $1->physical_size + DM4_ARRAY_NEXT_SIZE;
$1->contents = realloc($1->contents, sizeof(*($1->contents)) * $1->physical_size);
,
ifelse(substr($2, 0, 1), ",
fprintf(stderr, "array_append: attempt to append value \"%s\" into full array.\n", $2);
,
fprintf(stderr, "array_append: attempt to append value \"%s\" into full array.\n", "$2");
)
exit(DM4_ARRAY_EXIT_CODE);
)
}
$1->contents[$1->logical_size] = $2;
$1->logical_size++;
')
this is my attempt to make m4 macros look somewhat structured.
Is that Assembly's brother?
you think that looks anywhere as unreadable as Assembly? 🥴
No i can read it lol
hrmph.
more like unholy child of bash and C
to be fair to m4, it is absolutely ancient
bro
is there any serverl for bash just like there is for python ?
like i just wrote python in community search and got here , but i cant find same for bash
and can anyone help me in bash script
i am noob , just a small dobt
What is in your script?
n=1
while [ $n -le 10 ]
do
echo " $n "
n=$((n++))
done
when i write this i get output 1 printed infinty times ,
n=1
while [ $n -le 10 ]
do
echo " $n "
n=$((n+1))
done
when i run this get output as 1 2 3 4 5 6 7 8 9 10
why ?
n++ vs n+1
Is it the same?
It like saying n = n + 1 vs n + 1
One is going to increment based on the previous value of n, where the other is sort of a one time operation
#! /bin/bash
n=1
while [ $n -le 10 ]
do
echo " $n "
n=$((++x))
done
bro why is this even working , i haven't even declared x anywhere
it prints 1 1 2 3 4 5 6 7 8 9 10
btw is bash just a language to like see deeper into your computers folders without needing the gui or is it more than that ?
Bash is a language for manipulating the shell (think command line commands)
cd, dir, cls, tree, mkdir, rm and others are common ones
does bash have cls??
iirc it has only clear
Ah. You are probably right
It does now!
alias cls="clear"
😄

one of my favourites is
alias jfdi='sudo $(fc -ln -1)'
equivalent to sudo !! (run last command as sudo).
I'll leave it to the reader to work out what jfdi is 😄
Also seen a few other choice words for that one
a colleague in another life had theirs as "please" 🙂
hi guys can someone help with understanding how a script works? i guess i'm dumb but want to get the logic behind it. and can't find any community where anyone would answer. kinda desperate
do you mean a specific script or just how in general does evaluation of a script work?
specific script
https://paste.pythondiscord.com/ upload it here and ask away
i tried a lot of telegram chats and asked on stackoverflow but i guess explanation can take some minutes
not sure if i'm using this correctly
maybe someone knows a community where guys can give some clarifications to each other
hi
yo
so we dont disturb em in there
lol
nope haha
was just bored
i made better ones tho
wgere you can change sens and pov
foc
fov
well its good way to learn keep it simple n go from there n advance
Hey @late jolt!
It looks like you tried to attach file type(s) that we do not allow (.exe). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.
Feel free to ask in #community-meta if you think this is a mistake.
o
and math!!! (fuck making games) lol
virus 😄
if you link the leetcode problem, this is a great question for #algos-and-data-structs
oh thanks mate. i'll try
scripts are self-contained, meaning they actually define stuff and execute it
what you pasted is a class and method definition. it doesn't do anything unless it's executed.
the task is actually interesting. I like that Solution's method is named nicely so I can actually understand it without the task itself
dfs is normally used in graphs and similar stuff because it means depth-first search. it usually involves recursion to go "down"
if I understand the code correctly, it only gives how many binary digits are lighted up and you have to provide all good times that can be written with those.
so this person basically checks all the combinations. for i in range(idx, 10) - i is the digit they currently thing whether it can be turned on, idx is minimum digit we want to check (that's why recursive call goes with i+1 as new idx - so we don't repeat ourselves). i<4 means one of hour digits, and they add them to the result by using binary or | (current hours/minutes value doesn't have the digit we want to add, so it works as +) and binary shift <<
1 << i == 2**(i-1)
first thing when we go "down" is actually cut off times that are already invalid (too big hours or too big minutes), and we add everything that reached 0 digits left (if not n == if n == 0) to our results list
yea the guy who wrote that is a clever dev it seems. methods names are defined by the tasks creators i guess tho
i don't get it why i goes from 0 to 9. and i know binary operators but how it works here i can't get.
maybe i'm just too dumb for programming. but thanks for a long explanation. i asked lot of people and you are the first one who actually helped
doesn't the task specify that there are 10 binary digits on the clock total?
and even if not: 4 digits for hours (0-15), 6 for minutes (0-63)
apparently. so everytime dfs is called, the loop is repeated 9 - idx times.
dfs is called for hours. n reduced by 1. something binary happens to hours, minutes are same, idx is i + 1
dfs called for minutes, hours are the same, something bitwise happens to minutes, idx is the same as for hours
black magic be like
it's basically
"I have n lights to turn on, let's try first (i = 0). this will turn on hour to 1 (whatever hour was, which was 0 + 1<<0)
now I have n-1 lights to turn on (recursion goes deeper), and I will try from i=1 - that makes hours=3 (1 + 1<<1)
now I have n-2 lights to turn on (recursion goes deeper), and I will try from i=2 - that makes hours=7 (3+ 1<<2)"
now I have n-3 lights to turn on (recursion goes deeper), and I will try from i=3 - that makes hours=15 (7+ 1<<3)
now I have n-4 lights to turn on... oh, wait, our hours is <12, let's get back (that's how
okay, so we have hours=7, we already checked i=3, so now i=4... it will fall into else because it's minutes digit. so hours=7, minutes = 1 (old minutes, which is 0 +1<<(4-4))
now I have n-4 lights to turn on, and I will try from i=5 (idx = what we checked last +1)..."
and so on. it goes deeper and deeper until we get a broken value or n==0 (in which case we add our time to result list) - then it goes back and the loop checks next digit (here we had 7 hours and adding hour digit was bad, so we escaped and the loop moved to i=4 which will add to minutes... and so on
actually... let me write this as nesting
(n, 0, 0, 0) -> I have n lights to turn on, let's try first (i = 0). this will turn on hour to 1 (whatever hour was, which was 0 + 1<<0)
- (n-1, 1, 0, 1) -> now I have n-1 lights to turn on (recursion goes deeper), and I will try from i=1 - that makes hours=3 (1 + 1<<1)
- (n-2, 3, 0, 2) -> now I have n-2 lights to turn on (recursion goes deeper), and I will try from i=2 - that makes hours=7 (3+ 1<<2)"
- (n-3, 7, 0, 3) -> now I have n-3 lights to turn on (recursion goes deeper), and I will try from i=3 - that makes hours=15 (7+ 1<<3)
- (n-4, 15, 0, 4) -> now I have n-4 lights to turn on... oh, wait, our hours is <12, let's get back
i goes further - okay, so we have hours=7, we already checked i=3, so now i=4... it will fall into else because it's minutes digit. so hours=7, minutes = 1 (old minutes, which is 0 +1<<(4-4))
- (n-4, 7, 1, 5) -> now I have n-4 lights to turn on, and I will try from i=5 (idx = what we checked last +1)...
...
...
i goes further - i=5, now our minutes will be 0+1<<(5-4)
- (n-4, 7, 2, 6) -> now I have n-4 lights to turn on, and I will try from i=6 (idx = what we checked last +1)...
...
...
nesting shows pretty well where we enter recursion and where we escape it - and what happens when we escape it (function just goes on - in our case, increases i and enters recursion gain)
looks detailed but my brain is useless, i'll read again in the morning. not sure why it was necessary to use bitwise or if it's just for addition. weird
i don't know how to thank you. i sent it to a few russian and global python groups but was ignored everywhere
or told it's obvious. maybe they were right.
anyway thanks again. hope i didn't waste much of your time with my stupidity. have a cool day
I'd like to hear this explanation regardless @rare moat
o_O how to do subprocess magic in C?
Mhm.
hey
so basically, the most common functions you will probably use for it are:
fork(), pipe(), and the exec* family.
so i want to run a system command right
so which one can i use
and is more basic
well i will get to that.
fork ❤️
what fork does is it 'duplicates' the process. the child process created by it starts executing code at the spot that fork was called. so for example:
it does not entirely duplicate it though.
but.. for the sake of this explanation, yeah.
yeah i love fork haha
No example?
Oh yeah, take your time.
#include <unistd.h>
int main(void) {
int child_pid = fork();
if(child_pid == 0) {
/* Code that runs in the child process */
} else {
/* Code that runs in the parent process */
}
return 0;
}
so like i said, the child process executes code from the point fork is called, and onwards.
I used to fork in python
Oh shit.
can i use a command?
That is hella cool.
so this means that any code before that will not be executed in the child process.
like for example like subprocess.run("start chrome")
hmm
you can do that yeah, but we will cross that bridge when we get there.
so, hypothetically, let us say that we want to run a shell command in our child process.
yeah
to do that, we get to use these beautiful functions.
they all do the same thing but in slightly different ways.
so i dont want to execute a file,i want to enter start chrome,for example
what i will use for this example is the execl function, since it is the most simple.
yeah sure go ahead
just so you know i am also explaining this for @native cobalt
yeah no probs


