#ot1-perplexing-regexing
1 messages ยท Page 624 of 1
I'm probably biased since I've had prior experience with html
But yeah, writing xaml by hand is just easier and faster for me
ยฏ\_(ใ)_/ยฏ
If getting my laptop fixed , should I be concerned for my privacy if asked for my password ? is there any precautions I should take before handing it in ?
if the drive is an HDD, there is some amount of speed that will be lost
Depends on if you do anything illegal supposedly, but I'm sure most of the tech repairs would not look at your files and would just fix the laptop.
@whole python I would always check computer repair store ratings to make sure they are doing what they are doing.
I doubt the competency of our local repair shops
One tried to tell me I didn't have an SSD
(I had an SSD)
there was a news of a celebrity's r18 pics got leaked because he took his laptop to fix
that happens a lot
lol
I saw one from an Apple repair store
i wonder how much money will i get if i leak those
that's bad.
yep, then that guy disappeared
people are crazy nowadays ngl, I don't trust businesses anymore in what they are doing supposedly "correctly"
it was an old news
right, again, people are crazy and no longer care.
yeah. i really dont give a fuck with those, they can leak anything of mine. im not someone who requires positive image. not like celebrities
sure
I never took any r18 photos and never will after seeing this. Probably a good thing. Dating is just stupid in my personal opinion.
you can see my face there
I am not mentioning anything else on that topic btw
send me your address. im going to mail to there
lmao
\๐
P.O. Box 1337
those sd card have a sticker on it. you can solve puzzles :)
should i do it?
What if they sold your info
Does anyone notice any stuttering here?
Do you think they're the only people who sell your data?
No
Im here with a public service announcement
Everyone go watch Futurama right now
Is that on D+
D+ is surprisingly the cheapest sub we have
Its like ยฃ5, prime is 7-8 and netflix is 9
why now? what season/episode are you talking about?
I was just watching clips on youtube, no particular episode or season
since this server is full of smart people. whats a good way to obfuscate a .js file ๐
damn
sadness and humiliation ensue
thank you
who has the right of way here?
my road test is next week, and i was in a situation like this yesterday while practicing and i hesitated and let the top car go before me
I'd think the top is stopped, there's no way it'd have the right of way there lmao
that'd lead to a terrible disaster
problem is when i was in the situation, the guy clearly saw me coming with my left signal on, but he still charged at me, so i had to yield to him
nyc drivers are the worst
just hoping i dont get those people on the road during my road test
Both should go at the same time and avoid each other such that each driver has the other car on right, at least that's how it works here
interesting.. I am gonna take about 3 more driving lessons and gonna try to do it again with a instructor present
@shadow lily since #community-meta isn't the best place for continued discussion on matt parker's christmas tree, I love the math aspect and it makes me actually want to go back and learn more math ;-;
@vapid nymph good idea
the best part would have been the photogrammetry part but he didn't shared it this year ๐ฆ
like, the idea of being able to throw a string of lights on a tree where the only requirement is every LED is individually controllable in order of how they are on the string, which surprisingly seems simple enough espcially when coding it any other way would be annoying...
thats me every year
i dont really care about my info
if they can get it, they win
but i wont leak my personal info
What are you going to do, stop them from selling it lol
true
i know like 2 people who use it and they both like it
is it fast โ๏ธ
lol
for c++
can I pass an array into a function?
it says
int len = sizeof(arr)/ sizeof(arr[0]);```
this is my function
```c++
void functionA(int arr[]) {
int len = sizeof(arr)/ sizeof(arr[0]);
int first = arr[0];
for (int i = 1; i < len; i++) {
arr[i - 1] = arr[i];
}
arr[len - 1] = first;
}```
im trying to make it like [1, 2, 3, 4] => [2, 3, 4, 1]
this page says there r three methods tho
Only one erlang fan i know.. works in Telecom
interesting
Np
I have messed with it a little
Not bad
The concurrency model is interesting although I haven't played much with it
That fact that Discord does message sending stuff using that model should speak for itself, though
That's a lot of messages
To a lot of people
actor model, right?
I should try making something with actix, it looks really nice and doesn't involve erlang
ikr
yes
hmm I wonder if I could use actix for this dead simple chat thing I'm making
would be fun
one of the examples for actix is a dead simple client-server chat
they even have an example of a Python alternative client for it
o really
thank you sir
I was going to go with Rocket, but the fact that it hasn't been committed to since late August concerns me
I like it more, but idk
i should probably do something with actix just to wet my limbs in networking
what, tho
what da cat doin
i want to tweak code in my repo but i need both the original and tweaked version. I do not want to make a new repo for it. do i make a new branch and continue?
yeah make a new branch
what would master contain
the original, which presumably has code that currently works
alright thanc
halu, can i get an answer from my question that "How on earth can you switch your operating system from windows 11 to ubuntu in BIOS settings, not virtual OS"
You'll have to clarify what you're asking
You shouldn't have much to do with the BIOS
You let GRUB handle booting
boot?
that's literally like its only job
welp i was almost getting it but this happens.....
Trying to Dual Boot?
iirc, you have to partition your drive and have the Ubuntu boot media saved on the partition to boot from, or on an external USB that you can boot & install from
You must've modified your boot order in your BIOS
i have the iso file
and i create another hard drive for ubuntu
which means 1TB - 500 GB for ubuntu
i use half of my storage
not sure, but i followed this guy tutorial
https://www.youtube.com/watch?v=T5wElGrnUiI&t=235s
In this videos, I am going to show how to install ubuntu 18 04 4 on windows 10 without usb. Install any ubuntu and linux base os on your windows 10 pc without cd, dvd and usb. Just watch and enjoy!
#Ubuntu
Subscribe and press bell icon for more videos.
Music Credit:
''''''''''''''''''''''''''''''''''''''''''''''''
Track: Altrรธx - Summer [NCN ...
uhhh
Two words of advice
- Don't listen to YouTube for information regarding Linux
guides like this are usually filled with some form of BS
scam tutorial?
- You're asking for a stupid amount of pain trying to install without an external medium
not necessarily, they're just like never reliable and full of misinformation or subpar in general
If you don't have an external storage medium, don't try to install a Linux OS
i have many USB here but i cant use them because its where i save my important files
No offense, but I don't think I'd trust you (or even myself) to not mess up your computer's current partition scheme
Simply transfer the files to your Windows partition temporarily
or use Ventoy, which allows you to store files along with bootable .isos
Installing without a storage medium is the worst way
and nobody ever does it, for good reason
sure i gues il use virtualbox crap, its a rip or RAM
you'll have to reinstall the Windows boot manager
Or get a USB
Even SD cards work
I installed openSUSE Leap with my Switch's microSD in an SD adapter once
so its better to use a USB?
marginally better
I'm a fan of USB
You probably already borked something with your Windows setup
crap
I strongly agree I can format my whole laptop I can save my files via account
cloudstorage*
nice
Once Ventoy's setup, all you do is drag and drop the isos into the folder
and you can boot into them
ho- how
gross. Kali
send him my condolences
the one that says Windows, yes
Btw is ventoy supported to older generation of operating system of windows? like xp,7,8
operating system does not matter
ventoy doesn't operate on any software
right, il change my win xp OS later
class time in 10 mins see you later or tomorrow
yup
@young shoal where would I start with competitive programming?
uhh, codechef has competitions like weekly
you can also try usaco which is more serious
also Google ones
Also, what exactly do you do in competitive programming?
Is it just... programming fast?
I am going back to the Star Trek convention next year and is hopefully getting an autograph from William Shatner ๐
it will be on a painting though
.bm for a start in competitive programming
Live long and Prosper...
You too
You will always be my friend fellow trekkie lol
mina should teach me english speaking
@distant hazel ๐ฅบ
english yuck
@distant hazel can you read and edit my collage essay next year or whenever I get around to doing it ๐๐
haha yeah sure!
i might be out of touch though on what schools want
writing was my weakest point
Haha me too, I hate it.
just sayin, your school teachers will probably be much better
not that mina will be bad, just they will be better
I know I was originally joking
xd
wow pub
Although, I probably will let you still proof read it and everything if you want ^^
the irony is pub asked for my review on one of his statements
Smh the hypocrisy
after asking my real teachers
ot channels name bullying mods ;-;
That's what I planned on doing first anyways
Is 66wpm okay?
Okayish
Wow mina so you. English. Help too?
Now I know why. I see all the pro typers using all of there fingers without moving their hands, anyone else only use their index finger?
vi or vim
Yes but do you use only one finger or all
all
Man
How did you learn to do with all of your fingers? I cap out at 70wpm with only one finger from both the hands
did you start typing with all of your fingers?
I remeber a prof forcing students to use vi and I was his teaching assistant in a graduate course that used gcc
Many had trauma lol
Thats a good thing because I can never force myself
And they had to do numerical simulation with gcc
Woah. My max is like 80 with all.
A few actually cried to the prof and it was a graduate level thing these were adults lol
really?
Yeah I'm a slow typer
Now I know my bottle neck but how do I transition to all fingers
how dare you?!??! coders should not be slow typers!?!??!?!?!
use something like typing club that teaches you how to use the home row and what not
You will never make it in competitive programming smh
the people in comp are too good though, i was watching one of them for AOC and they were just typing seamlessly
Just looked at an image of someone doing it and I have tiny fingers, not sure if I can do with all
well I have tiny fingers too, I can do all of them just fine
I also have tiny fingers but I have a 60% board so
whats that?
I think there are also a few things that you can do to type faster
actually nvm I have kinda long fingers
Ctrl+Backspace deletes the whole current word
Oh, hey, I killed the conversation
I was trying it
lol
Oh
I think we were typing about typing foward like in type racer
til
Nice
Ayy I just positioned my char and keyboard and this was the result frm only one finger, my pb
with 0 mistakes
Oh, that's quite nice
where is this game?
time to add some animations to her :)
that miku was from shimeji
ยฉ๏ธ 2009 Yuki Yamada (aka not me)
nice bro
ty
yo where is paimon
i can't draw :(
i didnt lol
lol
there, i think they drew it
it is just under their license, i don't know if they drew it though
:)
not sure but as long as the account exists , it does store
btw does it work?
it does
hmm what does it do tho :\
eating trash
basically interactive recycle bin
i can add more functions if i like :)
boring(can you convert it into exe and gibe me :D)
i haven't finish it yet
but you will see it later on
https://github.com/aphkyle/DWaifus
as supposedly
the repo doesn't exist yet
type racer
!ban 925528239697440799 crypto spammer
:incoming_envelope: :ok_hand: applied ban to @pliant isle permanently.
Theres this red button named "Leave server" you can use
Aight, just making sure
I decided to try learning SQLAlchemy again
I literally do not understand how anyone can understand these stupid docs
it just gives you a fat ass chunk of code and pretends you know what you're doing
iILoveCoding
:incoming_envelope: :ok_hand: applied mute to @rough stag until <t:1640825438:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
I literally do not understand any of what's happening
other than the syntax reminds me of aiohttp
literally like all of it beyond the first 5 lines
sus
that really doesn't help
I mean I can guess, based off of like... session in HTTP
what exactly does this mean
@dapper dewMilano red looking beautiful ๐ฏ
Thanks! I've been trying to use the .color command every day to get a new color set
That command came out awesome
Haha it was a big one, thanks for the reviews on that by the way
:faint:
the tomb raider trilogy is going to be free on epic games launcher tonight, tmr and the next day after tmr
grrr, I feel like I've made progress with SQLModel... but I'm very confused
and the documentation on this is like next to none lol
post = Posts(id=0, title='foo', body='bar', publish_date=datetime.datetime(2021, 12, 29, 20, 44, 6, 580507))
/home/cypheriel/.cache/pypoetry/virtualenvs/fastapi_sample-dWGrA7jw-py3.10/lib/python3.10/site-packages/sqlmodel/orm/session.py:60: SAWarning: Class SelectOfScalar will not make use of SQL compilation caching as it does not set the 'inherit_cache' attribute to ``True``. This can have significant performance implications including some performance degradations in comparison to prior SQLAlchemy versions. Set this attribute to True if this object can make use of the cache key generated by the superclass. Alternatively, this attribute may be set to False which will disable this warning. (Background on this error at: https://sqlalche.me/e/14/cprf)
results = super().execute(
post2 = None
this is an example of what happens when I run this code
anybody use tasker?
.colour
interesting name
That sounds french
I know vert is green and I think gris is gray?
so it's something like "gray green"
I think I will hang out in this channel today
thank you Bald Bearded Bread Bard Brad
you are welcome, would you like some Bald Bearded Bard Brad's Bread?
I would indeed like some of Bald Bearded Bard Brad's Bread
Well, you are going to need to get on Bald Bearded Bread Bard Brad's Bakery Backlog
!otn s brad
โข brad-hacked-the-bot
โข old-man-brad
โข send-๐ฒeb-๐กald-๐กearded-๐กard-๐กradโs-๐กread
didnt we have another one about bald brad bread bard bird or whatever? did this one replace it?
I have no idea, but I like that I have 3 otns
that is 3 more than me 
!otn a hsp's-seconds
โข hspโs-pineapply๏ผ
You're referring to Bald Bearded Bread Bard Brad's Bakery's Backlog's Bald Bearded Bread Bard, correct?
Yes I am
Why does the backlog have bald bearded bread bard? Unless there's a backlog of the bald bearded bread bard of the backlog
Not, sure! Gonna have to ask whoever is running Brad's Bald Bearded Bread Bard Bakery, and what all they have on the Bald Bearded Bread Bard Brad's Bakery's Backlog
Does the Bald Bearded Bread Bard Brad's Bakery's Backlog have a picture of the Bald Bearded Bread Bard Brad or just the name of the Bald Bearded Bread Bard Brad?
Bald Bearded Bard Brad's Bread Boasts Being Better Bread But it isnt
did you just insult bald bearded bard brad's bread bakery??
Burp. Bald Bearded Bard Brad's Biscuits Better
lmao i remember this
Bald Bearded Bread Bard Brad's Bakery has photos of the Bald Bearded Bread Bard himself, Brad, as well as the Bread of Bald Bearded Bread Bard Brad. Bread for proof:
lovely loaf
put mustard on it
it could be Spanish too
but Google says it's French
i mean that should apply to a lot of roman languages I think
It is French yes haha
@steep vigil
Yeah, that's been around for a while. https://www.jetbrains.com/help/pycharm/configuring-remote-interpreters-via-ssh.html#ssh
pretty sure that's something else
Getting started with remote development
Sign up for the github codespace preview
These are biscuits if you are English, snikerdoodle cookies if you are American, but damn tasty no matter where you are from
YUUUUUUUUUUUUUUUUUUUUUMMMMMMM
why do i keep seeing meta in these ots in the new year?
meta
the meta "meta"
Meta
#community-metaverse o_o
!
this otn is amazing I love it
feel we're going to too many twos
why is it mad at me?
It can't print the sum function
it's telling you it can't find a way to show a value of type [Integer] -> Integer
If you just care about the type of something, use :t sum
yum -y
Which admin renamed this channel to this
don't make me ping all of you until I get answers.
plz update if you get answers
Tf
Plz ping them. What was the name before?
We didn't rename it
this was pulled from the pool
The pool was just at 2 otns left yesterday, so we took the oppertunity
Opportunity*
next otn
more like twenty twnety two done
Thoughts on the ender 3 v2 printer?
I'm the culprit, and I did it all without permissions too ||except asking zig to do a database query||
i don't know how did i manage to even make that with tkinter
Could someone help me with some ping spikes?
Why does every dev Iโve seen use Linux with edge beta
At least if you use edge use regular lmao
I actually love the cold
Lol I started preparing myself and chose my career 2 years ago
That's why I try to prepare myself the maximum possible
Also I'm younger the everyone in my class by 1 year
I'm 14, will be 15 in March
What does the last word mean
All the age is _
Wait is University and high school the same thing?
If not then I'm currently in high school
In french I'm in "Lycรฉe"
I do lol that's my first language I just didn't understand the last word
Ye so I'm in high school
Ohhhh
I find it easier to read arabic when it is written in English letters
But I rarely write arabic, I just speak it reguraly
I hope so
Ok thanks
@neon sluice where are you from?
who wants to play: Come play Smash Karts
Room: usw69398
https://smashkarts.io/join/QecG
im bored
pls
hey ppl
lol house husband ๐
I think there are some of those
ahh
is that different from General Intelligence?
it didn't really seem like it, to me
still with the colonization
lol ig I'm not smart enough for this convo
๐ป
Happy new year pydis!! ๐ ๐
happy new year apple! 
happy new year ๐
Forgot to mention I'm wearing a t-shirt you gave me a while ago, just to celebrate
it's a good t-shirt, I think it got ironed pretty badly once so the corners of the design are starting to disappear:(
happy new year! ๐
hi im new
I was about to say welcome, but is that accurate?
there's a great song with the same name as this OT channel
just randomly thought of it lol
yo so how does one get their first clients?
do we need like a portfolio type thing and if so how do we promote it?
thank you SOO much for all of your advice!! im a 14 year old in the US who has a bank account that i pay taxes on (i invest w/ fidelity and make a good bit of money via amc)
so iโve definitely heard of upwork before, but there are so many people on there, how does one stand out from the crowd to get their first review?
im also really curious as to how freelance work will change the way in which i pay taxes and such
@rough sapphire your status isnt quite up to date with the soon o_0
running late 
https://stackoverflow.com/questions/63148639/create-dependencies-between-jobs-in-github-actions
I've seen this before but never done it
I know this is a python server but is there anyway to concatonate ints and strings in C++?
tysm
thanks for advising us
but iam from yemen
and my country in war and our education system is fuocked , in sum i cant build my future so its a good idea to sign in lottrey and applying for scholarships
iam 19 years
Does anyone know bootstrap?
Bootstrap.js?
@ember ermine you can share lyrics here
im sorry but i was not aware that sharing lyrics was a type of advertising
alright got it
#python-discussion is not regular general, it's specifically python-general :)
lol
on such a winters dayy
yeah im loving that song
all the leaves are brown and the sky gray
great song
is this a kpop thing or a tswift thing
S M H
well??
ah my favourite rapper, Lil Swiftie
hell yeah
https://gist.github.com/Akarys42/cf88a85cfa8bd691bc8928546fcd8129#file-quiltmc-md I've acquired fancy data
that feeling when you play in the snow, and your gloves are 1cm too short, so snow gets stuck in your wrists and you can feel your hand turning purple cuz of frostbite while playing outside.
Can anyone relate to that or is it just me?
no. we don't ever get snow
kids these days smh the best rapper is clearly MJ
burn your hands
cornelius fudge
รรร
im trying to make a js calculator
it works but only the keyboard handler part doesnt work
window.addEventListener('keydown', keyboard);
function keyboard(x) {
if (x.key >= 0 && x.key <= 9) {
console.log(x.key);
shownum(x.key);
} else if (x.key === '=' || x.key === 'Enter') {
evaluate();
} else if (x.key === 'Backspace') {
del();
} else if (x.key === '+' || x.key === '-' || x.key === '*' || x.key === '/') {
setoperator(x.key);
} else {
return true;
}
}```
on the console it keeps showing undefined
I don't think that code causes your undefined logs
Your only .log there is behind two conditions, both false assuming x.key === undefined
undefined >= 0 === false, undefined <= 9 === false
@latent scaffold do u have any recommendations of android emulator
i need to make a bot
u can make one with android studio's android emulator tools
that
Is it by Jetbrains
Yes, partnered with Google
xd
I was just using Android Studio for the NDK
hehehe
If you're wondering, this is a cv2 window with my phone's screen mirrored onto it
hows it
this is going to be a really important decision for me so i need someone random to choose
yes or no
no
no
If my website has a subdomain do I have to host it on another hosting?
No. You just have to properly configure whatever serves your website. Eg nginx
I choose no
I went from "no" to "I choose no"
to be explicit about what I meant
i see
๐ค
Hmmm
that's only the launcher
ok
good question... I actually have no idea
That's not too bad
yes
Valorant supposedly takes up 10 Ts of storage
ugh
how am i supposed to download the 14gb update btw
With that being said, I only have 1T of storage
:|
I need to uninstall that stupid game
lol
its anticheat is absolutely crazy
Modern video games be like

bruh
it is so easy, aiming is not as difficult as csgo lmao
nope
my friends even commented on that. spray patterns is not as difficult
we are talking about aim..
aim is not as difficult
u need to remember there is some recoil in csgo in bursts
plus rng jesus
by aim you mean recoil? if so, then yes csgo has more recoil
although valo randomises recoil
haha
my legs smell like cookies
Hahah brilliant
But very cursed
pog
tell that to your SO
supervising officer or stackoverflow
your significant other that does not exist
lmao,don't have one
Stackoverflow > Significant Other
I wonder where Supervising Officer is in that hierarchy
Superb Olive
StackOfficer... StackOther... SignificantFlow... SignificantOfficer
Singing....... Olaf
So cute
Super Otter ...with cute powers
haha... SO cute
is there a way, in rust, to create a type with only certain values from another type? say i wanted to have a type with only values 1u8..=13u8 (maybe for a card game ๐) is that possible?
Yus (S)uper (O)tter cute = SO cute
My rust is a bit rusty too so not sure
Like an enum?
Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust concepts and standard libraries.
I don't think so. That already requires dependent typing to some degree.
I could write up something in Idris later-ish
Any programming games you like playing?
infinifactory is great
So I inhereted a puzzle and wanted ti see who here was good at solving these
Ive gotten this before but thats not st all what it is
Lol
vodka
no need
u just need a large bottle of beer and a random stranger
Amogus
rip str.startswith
sussy baka
You weren't trying to get to that as your goal right?
and this was all by mistake
Weird lol
Maybe the double indentation?
Line 2?
2 and 3
should only be indented once
But it is also weird your terminal is so small
Is there anything that is compressing your terminal to the left like that?
Try scrolling down in that window
Or pressing the trashcan on the right to kill that instance and try again
Ok dope
Why isn't it printing hello world tho
Ah
I think I got it!
Thanks so much
Now enjoy VS Code and its (simpler in my opinion but not that one guy) ease of use
They were starting out with PyCharm, I recommended VS Code
Someone strongly disagreed with me ยฏ_(ใ)_/ยฏ
Just the right ones lol
Anyways, I gotta go
i have to say while pycharm is simply bloated with features
it's ui is simple to understand
vscode needs some practice to get
those "bloated features" are incredibly useful
ikr
Really? I find it rather intuitive.
yes but to a beginner doesnt really make sense
also i have a potatopc and clicking any button just takes 1-2 seconds to complete
which is slowwwwwwwwwwwww
it is intuitive but it's menacing (i forgot the word for scary) for beginners
daunting
mhm
I need to pay an invoice and upload some files to a website I can't access where I'm currently living. I'm thinking about using a VPN. Is it fairly safe to use a big-name VPN like Nord VPN to do something like paying a bill online?
kek
The problem is in your query. This doesn't like id passing for some reason (I don't deal with pure sql queries in my code, so idk why).
Second thing shows error with [] and not the query itself because query is not executed if you don't tell it to fetch.
Oh, I think I know. Try changing
.execute(query, id) into .execute(query, (id,)) - all examples show that parameters argument is a tuple, so you need a one-element tuple here (hence comma after id - (id) is just id, but (id,) is a tuple)
ohh
my error was i forgot to do db.commit()
so the database wasnt updated
Oh. Lol
but yeah it was
.fetchall()[0]
this worked
?
Odd way to enter the chat, but hello
how are u mr hemlock
I'm fine, how about yourself
More or less alright. Just working currently
seems like u and i arent working mr Hemlock
im sorry to say
but im gonna start being very distant soon.
goodbye mr Hemlock
it was lovely chatting with you
say goodbye to the kids
and goodbye to yourself.
Yeah I think I can live with this
mista hemlock i love ur pfp
In the french Spongebob, Squidward is called "Carlo"
I just wanted everyone to know
lmao what about the other names?
the rest are similar enough
with a bit of french zhuzh
I thought it was Carlos when I first heard it
which I thought was quite funny considering it sounded hispanic
can bytes per sector be higher than 512
what?
What do you guys use, "a ! prefix" or "an ! prefix"?
More of a random question than anything
"a prefix of !" maybe 
That kinda sounds okay, too
"a exclamation mark prefix" "an exclamation mark prefix"
id go with the latter
That's one of the things that I was thinking
The thing is, "a ! prefix" doesn't look all that incorrect for me, and I don't know why
that's probably reading style
if you say it out loud, it'll sound wrong
but when you (well, me) read in my head, I understand what it is without saying the sounds
Yeah, that's also the case for me
I guess I'm curious whether someone that reads the phrase 'a !' in their head and "imaginarily sounding" the phrase out would think it looks incorrect or not
I found this, if anyone else is curious: https://english.stackexchange.com/q/184993
!!!
interesting
bang bang
kapow
:incoming_envelope: :ok_hand: applied mute to @rough sapphire until <t:1641548481:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
hey guys
I have a question regarding the Python bot
if I put some banned word(or code without ```) in my message, then I get a message
from the bot
If I update my message according to the rules, then bot deletes its message.
How does that work?
!src
we delete messages if we find a non-allowed invite link, a blocked url, or an everyone/here ping
We do this by listening for message & message_edit events from the Discord websocket
No. I was not talking about that. For example if I do
print("hello world")
๐ค Well, the bot generally gives a message like "Seems like you pasted a code..."
idk why its not giving it now
AH, that's if you're adding lots of code it'll delete and suggest you use a paste server
there's also one if you don't use python code highlighting
That is also using message and message_edit events fromt he websocket
oh
The logic for that is here https://github.com/python-discord/bot/tree/main/bot/exts/info/codeblock
It can be read as bang (think shebang #!, apparently the name bang comes from 50s, there's also interrobang -?!, or more specifically โฝ). So yes, "a bang prefix" is correct.
With @, it's "an" only from me because there are no alternative forms how to read it (I haven't read the linked stack yet)
Okay, the stack says basically the same thing - that if it has multiple reading methods, then both may be correct. But at is at, so an at
shebang
!
How can you enter Boot Menu on Asus without going on BIOS settings because I just installed the Ubuntu OS on my USB Drive
Shebang is #! line. Sometimes called hashbang but shebang is more used for it
yes
Hold F8 after getting to Bios? https://www.asus.com/support/FAQ/1013017/ Not sure off the top of my head
after you turn on your computer, i saw in YT vid pressed Esc button and went to boot menu but mine just continuesly boot to my main OS ๐ฆ
let me try the link you send ๐
be right back
ยฏ_(ใ)_/ยฏ Could be a different hot key based on manufacturer
it can also be f10 sometimes
depends on ur laptop model
As a pro-tip, avoid Linux tutorials on YouTube. They're usually very outdated, carry misinformation, or generally just terrible quality
hello mr hemlock
long time no see
how are the kids.
and how is yourself doing.
aswell
That's also true; From my experience, DuckDuckGo uses the ! character as a prefix for their bangs feature, so yeah
there's also โผ๏ธ and โ๏ธ lol
the latter is interrobang
I mentioned interrobang already
I just mean the emoji names back it up
bang
Hi guys im back, I got the ubuntu now ๐ but BAD NEWS ๐ฆ
My windows 11 OS is deleted from the bios settings, when i was doing the setup installation on ubuntu ๐ฆ
I was almost done
but
this damn installation counter
....
got me
It was my first time using ubuntu
anyone?
your USB might've disconnected or something
or if you're using an HDD perhaps it's corrupted
;-;
my usb limits upto 10 GB
crap, i gues i need a big storage of USB
rip moneh moneh
or
Il format my Hard drive (windows hard drive)
that should be fine
did you delete the /efi partition?
if so, rip windows
Used to do dual boot Linux Win but now do VM
hey
How do I make a shell prompt?
like starship?
ping me if someone replies๐
Are you trying to make your own or are you trying to use one
yep ๐ฆ
ALL MY USB ARE CORRUPTED BUT BIG STORAGE
yeah i dont think you are getting windows back again
idk tho check the net
there is Ubuntu LTS I was trying to install, and that makes it installation counter
is it fine not to install the LTS?
Theres a way to get windows, but im just old at it, so i moved to linux
I am trying to make my own in C
uh... you wouldn't really make much in C, it depends mostly on your PS1 var
You'll eventually have more problems on non-LTS
did you tick the "Install additional software" box during install
it installs drivers
yea. But prompts like starship can also show the git branch and all. How do I do that?
Are you writing this for fun or for practicality
not sure
For fun, mostly for getting more familiar with C
well C will probably end up being one of the worse languages for doing this
why?
since like 99% of prompts are written in sh
screw it, Il move to kali
bruh
uh... that's now how that works
is kali more difficult?
What's your reason for installing Linux, again?
wow this is the first time i have heard you say this
Welp im getting old at windows, and the first time i move to ubuntu linux, i have more problems because installed the "LTS" ISO when im still on windows 11, so yea, il try kali
thats like an everyday thing for me. I have to unplug and plug again. I think its a gnome issue because it didnt't happen in Manjaro KDE
social engineering
I myself would probably suggest just using something like Powerlevel10k and customizing it... as I'm not sure how you're meant to go about writing a prompt in C, since most of it has to be controlled by shell scripting... The most you might be able to do is use C to generate the PS1 for you, but you'll have to export it with a shell
I see
lol. I'm not helping you
Okay i dont mind
i see. Any project ideas in C which I could use in my day to day life?
I have a feeling C isn't all that handy in writing such day-to-day programs... I guess it depends on what you're doing
I use PopOS a variation of Ubuntu LTS 20(Pretty much a reskin). Is there a way to change the default text manager into Atom?
hmmm
LTS doesn't have anything to do with it, and unless you're a professional Kali will be useless for you. Kali is also not intended to be installed as a daily driver, you either use it in a VM or in a live environment
Like an OS emulator?
I was just going to move to linux for coding and programming
since windows slowing my crap
FYI, Pop!_OS isn't really a reskin. It's a ripoff made by noncooperative developers... That being said, though... It should be the same process as any other GNOME distro, in finding the "default applications" setting
Then Kali will be terrible for you
f
but I also have no interest in helping you "socially engineer" or whatever
because I'm 99.99% sure you're trying to do so in a context that breaks this servers rules
Thats why im here for answer's how to fix this crap like the set up crap
I don't think we're allowed to help you, now knowing your intent
okay
The only thing I like with PopOS is the easy Program Download manager. (U can pretty much do them on terminal ofc). With "Stable" Steam support. While it is true ergonomically it still has some noticeable issues
is this the "stable Steam support" that uninstalled users DEs?
also what is "Program download manager"
I forgot the name so I just called it in general term. But its pretty much easy installation for apps that is found on windows. Like Discord, or Steam or Osu and or even drivers.
I haven't heard of that yet. What is that
About a month ago, Pop!_OS had this almost hilarious issue where installing Steam would uninstall your entire DE
the bug lasted for about a week or two, I think
it became a bit of a meme after Linus from LTT tried using Pop!_OS and broke his entire install by trying to install Steam
Oh crap is that the issue on their new PopOS 21? Or the Version 20 LTS?
I have the Version 20 LTS but mightve dodged a bullet by not installing steam yet
No clue. I'd hope it wasn't a problem with LTS, and I largely disagree with their push of non-LTS
It's since been fixed
idk, not that much of an advantage in my opinion. Most "app stores" aren't really that good, and installing Discord and Steam aren't that difficult on Ubuntu and such. In the case of Discord, the install process is nearly identical to that of Windows
with Steam, you enable 32-bit libraries and then just sudo apt install steam
No clue about Osu, I've never touched it
.debs are helpful, though. You don't need to touch the command-line to install them, they're basically like .msis
Oh don't worry about it. Its just a windows only game that needs wine to run windows dlls. Wine is a pain to setup correctly however whatever distro you are.
Well, I'd advise against using plain old WINE for games
I'm sure Osu is on Lutris
But in terms of working environment I highly prefer any unix systems (Ubuntu for me). Windows is a pain with their weird powershell
a friend had to manually configure some wine stuff to get osu to run well
Last I checked audio latency was terrible
but that was about a year ago, maybe it's less bad now
Still an issue
but yeah, audio on linux is.... a thing
I'm sure you could force Osu to use Proton (GE?)
The audio is like a stuttery mess. Sometimes it plays too fast, too slow or does not sync at all
I've heard (although I don't entirely believe) that PipeWire is supposed to be better with audio latency in general
it's like the xorg vs wayland issue, except you don't get backwards compat, and there are even more compteting options
Had to do some Wine configuration to fix it. (Not entirely)
I really do wish I could just tell people to install linux, but the usability is not there yet.
It depends on what you're doing
For a fair number of casual users, you could 100% get by without too much of an issue
I don't know many people who just live in the browser
Stability wise, windows is prefferable.
But programming, I prefer unix system due to their simple Terminal commands. (I heavily despise the windows powershell)
In my experience, Linux has been a lot more stable than Windows. (Excluding Arch)
it is vastly better than pretty much any linux shell in a number of objective capabilities
At least with Linux I don't have to periodically get a fresh Windows install
I find that browsers (firefox) run greater on linux(less ram less cpu)
Has to do with caching, no?
I've found mostly everything runs better on Linux if you can get it to work
yeah, if you need a browser machine, linux does make sense
speaking mostly in the regard of games here
linux gets unstable once you have to leave the package manager
I don't understand
though statically linking everything gets you quite far
but once you have to install things from elsewhere or start compiling by hand, you are on your own
Bandaging every flaws can be quite straining true.
maybe, but again, most people don't just use a computer as a browser machine
they have their phone for that
it's mostly copying and pasting if you ever have to do it
I wouldn't expect a grandma to ever have the need to manually compile something
I have my 13-year-old and 10-year-old brothers on Linux and they've never complained about much
yeah, if you need a browser machine, you could probably use openBSD and be happy.
but idk, a browser machine just isn't an attractive prospect
Linux has far less broader online guides if the subject is not too known
well, my 13-year-old brother is using KDE Neon for learning Python
although I do admit I had to install stuff for him, but I did try to have him try stuff on his own
and he seems to be fine with it
I am glad linux finally figured out a way to not have to package the world
because that's never going to work
on Ubuntu, you just click the .deb
.deb is lifesaver
windows and mac do probably win in localisation and accessibility
I feel like as of recently, things have been getting a lot better, though
it's the DE's responsibility most of the time
It is. The linux distros got more and more stable compared back on 2016
yeah, it's getting better, thankfully
Idk if it is just me or the window on linux has no minimize button.(But I could just drag it to do so)
I really just want to be able to tell people to install linux without having to babysit them for the next few months
Bluetooth rarely works on my laptop, though I don't really have good reason to use Bluetooth
Speaking of it, dual booting sometimes messess up the Wifi hardware. Windows detects it but doesnt know what to do and the same for the Ubuntu. So I have to replug it do fix the issue
yeah, also the whole clock breaking in windows upon reboot
there are some lovely issues with dual booting
There is a fix for that

yes