#ot1-perplexing-regexing
1 messages ยท Page 525 of 1
the code is linked above the gif
It used to on Android
lackluster markdown support
Nice
Colors are not final, I've yet to look into the branding thingie to check if I'm in the clear
too big
In comparison to the entire page, not really
i wouldnt even mind if i got rickroclled like that, its epic
I wouldnt mind getting rickrolled by any means
In fact, nobody rickrolls me ๐ฅฒ
wait it got deleted and its off topic as well
oh no
haha bot is working properly
lol
c'mon guys, I thought rickrolls were possible in off topic, I also said that what I sent is a rick roll, but message got deleted by bot
yeah it's automatic, it doesn't know what you mean lol.
hmm
We blacklisted it because people spam it
waoit so the rickroll link gets deleted?
oh
can I send link to u in dm
potential victims get to escape it
We have no exception for offtopic
its really a convincible rickroll
cause I got warning for sending that to python-general so I am now sending in ot
I see
๐ฅฒ
where?
can you link that message?
in relativity gravity is caused by motion of objects in time
@rough sapphire mind explaining what you mean by this ๐ง
hmm
wait
when space time is bend
why do objects follow that path
if no force is acting on them
what
geodescis
right, and how does time relate to that
what?
sure
ya
zeno would be proud
who is zeno
he had a bunch of weird ideas pertaining motion
as Edgar Allen poe
said
all physicist know that time is the only kind of space
there is
i must not be a physicist then
Neither
did poe even say that
Last I checked space and time were two separate things
eh, it's a bit complicated
I mean I know that they are essentially connected
But, saying time is the only kind of space
doesn't sound correct in my head
But then again I only recently got introduced to special relativity and time dilation and whatnot in my physics class, so I'm by no means well educated in this area
the spacetime metric is (3,1), and this is invariant with regards to transformations
which can be thought of as that no matter how you're choosing your coordinate system, one of your 4 basis vectors will not be like the other 3
I don't think it's true that you'll always have 1 timelike and 3 spacelike vectors, but something similar to that
...or maybe it is, actually, if you require the system to be ortonormal, hmm
!pypi pprint
!resources pprint
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
#bot-commands please, thank you
Ohk
WEBHOOK_URL={"your webhook url"} @shadow ridge
you would put this into an env file
and then in your main file you would call load_dotenv
so your env file would look like this
WEBHOOK_URL={your webhook url}
okay so nothing like os.environ to be included in it?
its just .env
is there something like os.getenv('<variableName>')
?


im gonna go to a help channel...
is it just me or does this documentation page https://p5js.org/reference/ have absolutely nothing on it
p5.js a JS client-side library for creating graphic and interactive experiences, based on the core principles of Processing.
@modest meteor it uses JS to load it's contents it seems and it takes a bit
I have it opened for hours and it never loaded ๐
there is an offline dl link once the page loads https://p5js.org/offline-reference/p5-reference.zip
.topic
Suggest more topics here!
Huhm.
lol
Eh
Joe glines
In my defense, I don't check chat histories
same
no
I didn't either, i just remember, but anyways
.topic :P
Suggest more topics here!
Ooooo that's a relevant question
Laptop, food, ER box
thts required
Ye
can i get help regarding JSON?
embed["description"] = get_description_photo(html)
To make this the footer, what do I do
I type footer instead of description isnt it
but its not working :/
in the same way, how do i add the author
and author icon
yes that is off topic
what context
d.js?
how do i setup my discord bot on a docker image?
The rules and guidelines that apply to this community can be found on our rules page. We expect all members of the community to have read and understood these.
!ban 661527334385483785 joining just to advertise is not allowed here.
:incoming_envelope: :ok_hand: applied ban to @tropic crown permanently.
.topic dead chat
white for life
nothing bc i'm on a diet
Dark chocolate
I concur
Gray milk
orange chocolate
Green eggs and ham milk and cookies
orange chocolate is really a thing though and tastes fantastic
Interesting
chunky milk
cw: chunky milk is exactly what you think it is. if that is likely to disturb you, don't watch :)
https://www.youtube.com/watch?v=k0hKMDMWYwU
Yeah I think I saw a version of it ina commercial before
With a green racoon fox thing
a far relative of casu martzu
cw: ||you might not want to know what it is|| ||it's cheese with worms, all the worms||
@bright ravine hello world in 4 characters then? 
You can do many things if you put your mind to them.
who deepfried the server icon 
it's pan african
You are not allowed to use that command here. Please use the #bot-commands channel instead.
!e ```py
print("who is nobody?")
.topic
Suggest more topics here!
what is embed
and by context i mean
what are you doing
what is the general project
which html.json
sending insta feed to discord
not sure i just found it on github
this thing works
i just wanna edit the embeds
?
im so close to implementing this on my server but it just isnt in the right form
elo
@carmine niche could you help me pls ๐ญ
what's the matter

how do i edit json embeds?
embed["description"] = get_description_photo(html)
To make this the footer, what do I do
I type footer instead of description isnt it
but its not working :/
in the same way, how do i add the author
and author icon
?
nvm
OK
aight
so
I have a 8-year old laptop
which has pirated windows for some reason
i'd like to completely annihilate windows from it
and get linux
because if there's anything i've learnt from here it's that linux is good shit
sooo
how does one get linux
sadly not for games haha but it's getting there
lol
u got linuxed i see
you download iso, flash it on a storage drive, and make magic
break what
then download iso
and once u cast a spell, youre a linux user!!
then flash onto usb
@acoustic moss install arch
suggest distro for linux n00b
no
ubuntu so u can go away from that
this is going to take time
or linux mint
ah yes, just what I wanted
conflicting answers
apt is fuckin' slow
yeah we know.
just go for linux mint then. for a windows feel to it
really apt autoremove removed gtk3 :/
why would u autoremove? thats your fault
these work on 32 bit right
who cares lol. use whatever u want
ยฏ_(ใ)_/ยฏ
how big are the iso files
thats the point of using linux
approx
usually with calamares installer, around 2GB
arch is 600M btw
damn that's smol
yea
a bare install is around 600MB to 1GB
but there isn't anything lol
just a prompt
no connection, lang, timezone, disk partitioning ...
Oj
installing graphic's shit
you talking about arch?
so arch gets a ๐ซ from me
???? lol idk man. tahts your problem not mine
arch is user centric so expect difficulty
unfortunately me n00b
thats the point of arch. minimal installs and you download what you need
rpm's are everywhere
youre missing the point
yea but i'm saying that he can't do all of stuff
what's an rpm
true
RedHat Package Manager
uh ok
start with the ez distros.
fedora or linux mint. your choice
hmmm
the point of using linux is to choose freely, yeah you may have biases over fedora but my point still stands, a new user should choose and try easy distros
does mint use deb?
yeah? it is debian/ubuntu based
dude... youre really missing the point here
you are
@acoustic moss Start with Ubuntu and u'll regret ur choice lol
finally u should use arch or fedora...
i'd prefer to not regret my choice
and i dont want to debate because it is obvious lol. goodluck
sometimes u will lol. it is a matter of preference of what things you will regret
if u like being minimalist
aight everyone just drop your distro suggestion and i'll random.choice on them
fedora | arch
random?
lol
that's not how it works
answer these question
tq
and u'll know how to choose a distro
dont use arch if youre new because it kinda be difficult for u
I said when he became a hero
goodluck installing :3
@acoustic moss Just a quick question, do you like having latest apps, or having a stable distro
do you like to wait months for a new release of an app?
but it's tested and they confirmed that it's stable
stable
so, u don't like rolling release
so, Use Redhat based and debian based distros
like Fedora and Ubuntu
the opposite of debian based is arch-based?
and debians are for newbies?
Manjaro, void, OpenSuse Tumbleweed, these are rolling release
gotcha
As, Linus Torvalds said: "Debian was always hard to install"
sad
He uses Fedora as the main distro too ๐
Yep!
nice
nah imma go with defaults on this one
there's too much stigma around different distros. if you are new to linux and afraid of the brave new world mint (a debian derivative) is a solid choice, as is ubuntu. arch is not good for a first time user. fedora is fine but i personally don't like it.
so mint/ubuntu/fedora, hmm
for a first time user i would definitely recommend mint or ubuntu
personally i would lean towards mint just because i like the look and feel of it better
mint with cinnamon desktop environment
that is
mint and ubuntu are both debian derivatives while fedora is a redhat derivative
imo debian derivatives have better online resources which makes them better for newcomers
https://distrochooser.de/en/ suggested
Lubuntu
Ubuntu MATE
Xubuntu
Zorin OS
PCLinuxOS
openSUSE
Fedora Workstation
Mageia
Linux Mint
openSUSE Tumbleweed
elementary OS
Ubuntu
Knoppix
Puppy Linux
Debian
if you want a good linux experience and are a newcomer i think that it really boils down to mint v. ubuntu
both of which are completely fine
i have some (very very limited) experience with ubuntu, in the sense that the computer lab at my school uses it
OWO
OwO*
there isn't really a difference between ubuntu and mint other than the look and feel of it
i'm leaning towards mint i think
option 1
then mint
just because it looks more like windows, lol
the only bad thing i have to say about mint is that google chrome is not the default search engine in firefox and it isn't the easiest thing in the world to make it so
but then again if you're a chrome user you should probably just download chromium and use it instead anyway so
i don't use chrome anyway
opera ftw
ye
Gaming browser nerd
meh
fnkjfbsdhyfksdbhgfksd
it's more for the vpn
the "gaming browser" cracked me the hell up
what the fuck is even a gaming browser
it make no sense
smh my head
mfw browser optimized to play papa's pizzeria with raytracing
i wrote a simple raycasting renderer in js once
You gotta run that coolmathgames on lowest latency, you know?
rip flash tho
lmfaoooo
the one thing that i didn't implement was that
i was too lazy to figure out how to implement the whole inverse square law thang
so it had a sort of fisheye effect on it
but that's fine lmao
ew
why ew
more ew
:/
ew > more ew imo
why ew
ew is better in this case
ok but why ew
cause ew
both are ew
what do you prefer then
Can't u read?
??
oh and
i think i understand how i get linux
how do i wipe windows
:/ It's literally on my name
ok
macOS and ubuntu had an illegitimate child and left it in a cardboard box on the sidewalk lookin as but go off
wait how does that work
GNOME 40 is coming soon
put it on a thumb stick
boot it up
install
and you will be able to partition your drive to be part linux part windows
yes, don't wipe windows
and then when you boot your computer you can choose which os to boot into
in case anything goes wrong
ouh
i would heavily advise against wiping windows in case anything goes wrong or if you don't like mint or whatever
that does sound like good advise because i'm 99% sure i'll mess up somewhere lol
i would also recommend to save anything super important because there is a slight chance that in partitioning some stuff could be corrupted
u won't
just a few clicks
also
mint installation is super smooth
yeah there's nothing important on this laptop, i wouldn't risk it haha
so you can poke around for a bit and see what you think
and then decide to install it or not
what if u can't even boot to mint ha?
and u don't have windows either
?
u be like dam i would never install linux again
fuck it all
fuck me u
..
interesting take
not a correct one
since in this unlikely scenario they would still have the live image on the stick
actually yea there's always a way
but an interesting take nonetheless
but that's a sad moment
it is a sad moment
aight so
i download linux mint iso on a pendrive
restart laptop
something pops up
i clickity clackity
and I have linux?
reminds me of when i installed kali the first time and it corrupted both partitions
F
lol yea
at 1 am when i had school the next day
oof
is this correct
- download mint
- download balenaEtcher or an equivalent flasher
- flash mint onto a pendrive
- reboot the computer but interrupt the normal boot process and boot it with the pendrive instead
- poke around a bit to see what you think
- if you like click the installer and it will guide you through
- reboot
- you have linux
and assuming that you decided to do a dual boot and partition the drive
when you boot it will give you an option between linux and windows
every time you boot
I still say u should try it on a vm
although it will default to linux if you don't pick one
how do i do step 3
with balenaEtcher it is super easy
open balenaEtcher
it asks for a iso file
you give it the one you downloaded
it asks for a pendrive
you select the one you plugged in
you click go
and it does the thing
but this involves downloading a virtualizer and setting up a vm ๐
ah, so I install mint and balenaetcher on mylaptop, not on my pendrive
which with all due respect i think is a level of effort our helpee is not interested in going to
well
yes
which does take a long time
:)
you download balenaEtcher and mint on the laptop
just a few mins
and then you use balenaEtcher to put linux onto the pendrive
and then balena does magic and puts it on pendirve
yes
got it
no
sigh
https://www.howtogeek.com/howto/linux/create-a-bootable-ubuntu-usb-flash-drive-the-easy-way/ there's also a web which has images
balenaEtcher does fine with linux and has a much friendlier user interface
this is not the "best of the best" guide
this is the "do it easy and do it right" guide
yea ik
i usually use balena just becase it is friendlier
ยฏ_(ใ)_/ยฏ
and honestly i don't give two shits what does it faster or better
I always tried Rufus
i just wanna do it
the only problem with balena is that it can't flash a windows iso
but
it's whatever
i've only been in a situation where i had no windows machines available twice
and it was fine
if i do have them available tho i use them to flash it since they can just run the M$ win 10 media creation tool โข๏ธยฎ๏ธยฉ๏ธ
so, mint is getting "the first linux distro badge" for @acoustic moss
yay
ahaha
i searched for what flashing meant without specifying computers
- cough cough *
inappopriate stuff popped up
smh my head
flashing has a more nsfw meaning in colloquial usage
shake my head my head?
haha
oh it is a sarcastic way of saying it
shaking my smh my head
similar to "how the turntables" is used instead of "how the tables turn"
although that example is slightly more understandable as it is a reference to something concrete instead of just a nonsensical phrase with little context
aight
will linux have to be installed on my c drive?
yes and no
you need to create free space first while on windows
nvm it's prolly smol enough to not matter
yeah
C:, which is a partition on the drive, will still contain only windows
but there will be a new partition with linux in it
eh I have like 50gb+ space on C:, hopefully won't matter
lol you need to partition first
i do
also dont wipe the boot efi partition from windows or else, no windows xD
i mean
dual boot just means i get to use windows later right
considering we are installing mint
it isn't a manual partitioning
you just drag a slider and click "next"
it means every time you boot the computer you can choose between linux and windows
i think i'll be able to do that
:)
yeah ic
they won't necessarily be connected tho
each will have its own little section apart from the other
which distro do you want?
we are installing mint
oh ok
shitty mint
bruh
lol
mint vs ubuntu
ee
manjaro ?
mint vs ubuntu ?
mint is like ubuntu but slicker
i see
manjaro was good but it's not really recommended
arch derivative
like arch
:)
it is difficult to determine what you are asking when your question is simply "?"
i run garuda atm
it's interesting that manjaro call it self a stable distro
which is wrong
they just hold arch's package for one week
and then...
that still constitutes the transition from rolling release to not rolling release
anywho
idk, i don't care rn
ok
all i care is arch and fedora
:/
imho ur being lowkey toxic and it's making me a tad uncomfortable ;-;
anyway i should probably go to sleep soon
it's just the whole "mint bad" repition etc n bein dogmatic about disliking certain distros
anywho
i'm off
cya
cya and thanks to everyone
big thumb up
true that. i am glad i am not the only one who noticed
ยฏ_(ใ)_/ยฏ
it is closer to arch than manjaro
breh
ooh the new indian made arch derivative distro. it is cool but i still wont use it
oof
the lead dev is indian
ah
ah
and that too
i abandoned kali
F
kali is an indian goddess
u no hecker anymore
it is pretty glitchy
hindu
ohi get by just fine
i can just blackarch
if i really want to claim the title of l33t hax0r
Anyone see that funny ass image that some government posted about hackers and kali Linux and whatnot?
blackarch is noice but i dont know pentesting so wahts the point lol
no
lmao
pls send
KDE is cool cuz Qt
every1 knows you need kali linux for the true hecker experience smh my head
the de is plasma
if only i have good laptop but my sister will buy me a macbook air soon :((
i tried it and it was less than ideal
wait, can someone show the output of lspci | grep "VGA\|3D" pls?
i tried to stick with it for a month or so but it was just buggy
byhsbdhkfbsdhkfvsdhgfksvdkh
this is beautiful
what government is this
lol, good one
Not sure
i dislike apple
discord hahahah
i with there were an equivalent of M$ for apple
to convey that you think they are capitalist ghouls
what is M$
no
lol
the problem with m1 is that it is ethically bad
how so
Oof
nah, an amd at the same price can give you so much more haha
mail id ends with police.uk
so
it's uk I guess
how much is the macbook air btw
yeah i will tell my sister to buy me all AMD
but she is dominant af so she probably wont budge lol
..
899 usd?? base spec?
256
ram?
8GB ram
I agree, although I disagree witht the message
my first point is not necessarily related but
the fact that the chip and macos are so closely intertwined means that it is incredibly hard to get other oses to run on it, to the point that there are some linux distros which simply cannot be run on it even through virtualization
for me that is just downright bad because i am a big dual booter and would not be able to stand being limited to macos
it is also an ethical problem because it is leading apple more in the direction of trying to leach money out of their customers by restricting their customers to only be able to use their products, which is a major part of their business model to begin with
and lastly it is bad for right to repair and shit
sarcasm
also basically all official apple products and official repair services are dramatically overpriced
yeah apple likes to integrate stuff and make it hard to customise stuff
yeah. imma convince my sister
also
till your wallet falls off
apple is BIG on the planned obsolescence shit
they devices are purposefully fragile
at an environmental stand point, it is pure waste
i would go for an asus, solid builds
AGREED
unibody metal <3
they seem quality on the outside because of the construction but the metal is soft and the soldering is often less than ideal making them vulnerable to, for lack of a better word, fall damage
how is apple so popular ๐ค
because capitalism
cool os?
because aesthetics, marketing and capitalism
for the average person
bye gn
gn
๐จ
apple juice
same
apple pie
no
yes
eating ice cream right now
ok
ok
macbook
Just leave it!
no problem
hmmhmm
aha no dude
I am still using cmd ๐ฅฒ
breh
I don't care 
fedora!
yep
how did u do dis
I'm confused as well. in the top it shows cmd.exe I thought cmd wasnt customizable ๐ค ? but the new windows terminal is
also that rgb line on the border of the terminal window is cool, I wonder how he did that
LOL thug life!
I am vey younger than you
I realised
you can never know what I think
I know what you are thinking now you are now reading my message
I think you mean "I know what you are doing now"
No you are thinking that what to reply?
Aha you are robot
So now on you are robo
sure.
Here's one way to blow up a Docker image
LOL isee
At least I don't have to go through the trouble of building everything from source
A service called cachix caches built dependencies for me
Cutting down build times by about half
Don't u guys have docker installed?
is it bad to install docker on arch ?
I'm getting confused
some one help
@tribal aurora Docker works fine on Arch, if that's what you're asking
Why not?
Well, yeah
@topaz aurora and why there isn't any doc on for installing docker on arch ?
You use Ubuntu for servers, not Arch, they have different purposes which are two different things
but that's not related to installing docker on arch
lol
I know i shouldn't use a rolling release distro on servers
and Arch being Arch isn't related to Docker being bad on it
that's right
Docker docs assumes that you're on a server distro
Those four are easily the most widely supported ones out there
Daily usage as in?
i mean how about those guys that want to use docker in their daily distro
like arch
The docs covers the most commonly used distro, Ubuntu, which is more than enough for the non-niche-distro population
Arch folks refer to the Arch wiki
Likewise, NixOS folks refer to the NixOS wiki
What a pain
I don't expect this to be done in less than 30 minutes
This is more of a one-off thing really
Hopefully by the next push that gets cut to 5 minutes
@rough sapphire in C++ there's a replacement for them
and that's what you should use
hey
hey
yes what about switch statements
i think they are good
i mean if we want to build a programming language
i love switch statements
that's diffrent
what you did was something ilke this cpp #define add(int a, int b) return a + b;
can u define a multline function?
wait what
ok but
no
do oyu see the problem with my add function there?
let me look
i did not even
read it
you have a semi
colon
that's not the point
but it does not really
what do you think will happen if i pass 5 and rand() ?
it will give a unexpected
,
it will call rand again, for a completly diffrent result
yeah
odn't think that's there
which is bad
that's what your implementation was like
because preprocessors run before we even run the program
RIGHT
yup
i was wondering why there was a problem there
the preprocessort runs before the compilation
so if u pass a functions result
even before the tokenizing
oh damn
if that's even a term
and it will give a warning too
which is fine in C for defining constants but in C++ they should be avoided
if not, it is now
it is
sweet
and it will give a unexpected ,
so it will not compile
there's const and constexp for that specific purpose in C++
yeah
so you ever make a programming language before
not a language but i have couple kernels lying around
nice
so you know assembly
a bit
.section
not a real expert
msg db ''
yeah
__asm__
yeah
greateast function ever in c
yeah
i have the holy book
can i flex with that?
what you mean by you have the holy book
"The C Programming Language"(first edition) signed by Dennis Ritchie
what nice
yeah i think you can
so that is how started
to learn c
and c++
I started with c++ but when i discovered C i dumped it in a matter of seconds
lol
because it is like the same syntax
but a better improved c
i always founded oop stupid
that's why i hate java
c++ is a extension of c
C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language, or "C with Classes". Wikipedia
restrict has joined the chat
i know but i don't like modern C++
yeah
it is basically c
Some people say oh yeah c++. c is shit. but in reality c++ is c
just better c
disagree
.
what is restrict
you should google it to see what it does, but basically it is a keyword in C you can't use in C++
used to
it was nice tbh


