#ot1-perplexing-regexing
1 messages Β· Page 503 of 1
yeah, if you plan on having multiple posts/a changing website, you will want a backend and a way to create new posts.
I usually use django with react personally
I guess I have to figure out how to create new posts without coding it lol
lol, if you use django, that is ridiculously easy
but you would probably also need to make an api for that, it would get heavy fast
I will figure it out later lol.
lol nice
Dang I had something to say but I forgot
lol
So basically, my navbar has a logo, home, blog, and "subscribe". What else should I add?
logout?
login system would be cool

some sort of counter.
number of crimes committed: but then just always leave it at zero
Idk if I should do something like this project as a CS major lol. I think web development is my passion.
days sense a crime was committed.
yeah, i really regret not doing cs in college.
not that I would use it a ton, but I really would have liked to have that knowledge and I am not motivated to pursue it myself
that login button looks like I might get hurt if I click it
I am trying to customize a form in django and I honestly have no idea how and it is making me want to use react, but that will set me back a few days lol
What's it called combining Django + react? I can't imagine it lol.
whats it called?
djaract? lolol, idk.
it is just called fullstack
Ofc. so obvious lol.
I'm just getting started with the file structures. Like modules, build, src, etc. you know what I'm saying?
Oh right I can ask you this.
If I used ReactDOM.render(element, document.getElementById('root')); in src/index.js. Why did it target in another directory, public/index.html? I don't get how this works.
because your root id is in your index.html file, which is in public.
Ya. I thought root id should be in html file somehow in current directory?
you still have your index.html file, it is where all your components and js is combined.
there is no html file in the src directory by default. So when you document.getElementById('root'), you are accessing root in your index.html file.
If I can figure out how to combine these. Then i can create smth like blog.js and use it to render HTML blog.html
im not 100% sure what your question is doe
You did answer my question. Tho I don't get how they are linked
they are linked in the build, since all your code is compiled at build. everything is ran from index.html, just like in any other website, your index.html just happens to have tons of JS that was compiled from your react code
you would create a blog component, then render it in your App.js π
Do I have to use App.js? I kinda deleted it and other stuffs that I thought I don't need lol.
I thought it was App.js messing with my inline style. Turned out, it should've been style={{}} instead of style="" lol
you do not necessarily need it to be named App.js but you definitely need a file that behaves as App.js, by convention you should use the file they give you
Oh well. I can create another one. No big deal.
Tyty
time to create a repo for advent of code solutions that are inefficient xD
it is better to keep solutions of problems to remind your future you how noob you were back then
lol always
lol
I was a bit cringy reading my old codes with a lot of comments.
Thanks to Fisher. I learnt to reduce them a lot in the future.
lolol, I cringe at my code every day.
im cringing now at css
Ive been on the same css for like 3 hours now............ and I am just doing this so I can get my backend working
lmao. is css rly that hard
i should start making the landing page more informative
cool, I just finished custom login and registration forms for friendo, hopefully tomorrow I can add account verification with discord oauth2, it is almost implemented π
wow, that took an embarrassing amount of time... And it is not using react, so that will come to bite me later π
That must have been hard. For me, at least.
it was not as much hard as it was tedious, I am not super happy with it either, but it is working.
but now I am even more powerful with django 
Weird. I cannot use npx create-react-app anymore
Must've been after the package update..
hmm, that is odd. it may be due to unsupported node.js version
or it just got yeeted when something updated
hmm, idk. I would just reinstall because I am too lazy to debug JS in any form
Fisher I'm mad, I had what I guess was the start of the worst migraine 8ve ever had. Started last night. Caused me to drop my phone and other the screen protector cracked or the screen did. I got to take it down tomorrow to find out. And I missed work today because of the stupid migraine
I think it's just the protector that is because I don't notice w distrustion in touch on the screen
Oh dang, that is a triple bummer.
You feeling better now, or still migraining?
Still a bit of a migraine but I can look at some light now without it killing me
I went to the prompt care Sunday morn and they sent me to the ER for a "migraine mixer" what they called it. Took 4 damn hours hooked up to IV.
I think they were more worried that I was sitting at like 167/85 bp and that's rare for me.
I'm afraid to take the protector off till I get to the cell store, just in case x.x
Okay so I went on a limb, the top right corner crack is the protector
So I am guessing only the protector got damaged
Yeah, leave it on. It will do SOMETHING at least haha.
I broke my last phone like 3 weeks after buying it. And it damaged the actual display :P I was so bummed.
Ya especially when it's like 125 to fix it even under protection plan
Dude that is crazy. Sounds like an absolute bummer of a day.
At least the screen is probably fine though.
I'm hoping! Plus side,my PCP said she will sign paperwork for me that not ally takes a different doctor. And I can get better medicine after she does
Ohh, that is good at least.
My sister gets really bad migraines, seems awful.
First I've had in a long time, and legit the worst. I couldn't drive hardly last night and almost got I to 3 accidents, 2 not my fault. One was a toss up. And this morning I couldn't hardly open my eyes because it hurt.
Ever smack your head hard on something? Felt like that, but centered over my eyes just to the outside of them.
And it lasted hours
Oof, I will definitely consider myself lucky I have never had to deal with that O.o
They uh didn't like my millennial humor though when I answered them about "can we do anything else to help?"
I'm sure you could probably surmise what it entailed. Bad time to use a joke I guess
Lol, no, that is the PERFECT time to joke.
Except when they are legally obligated to report what you joke about LOL
Ya xD
My head is still throbbing off and in, but pain went from like 8 down to 2-3
But anyways, what have you been up to?
I feel you... When I get a migraine I have to go to the ER, if not treated immediately
Yeah I think that was my mistake was not going at 2am when it was getting bad
Else I become a danger to myself because I will do anything to stop the pain
Lol, I have been up to very little.
3d print stuff, programming, and walked my dog.
OH, I made pasta from scratch. I semi-succeeded... it was edible at least
It started around 2000hrs, and got worse till Sunday morning
Ooh you gotta show off your work some time! I love seeing 3d printed stuff
Lol, well, I am just printing off a 3d file a paid for xD it is a mandalorian helmet, but it is coming along very well.
Nice! Like wearable one?
Other than that, I just 3d model garbage.
And yes, the helmet will be wearable :D it might be a bit small for me though. We shall see
I just finished the last part today actually, 4 days of printing later
Daaamn
That's a long time. Did the extruder clog at all? Be surprised if it didn't
Lol, I ran out of filament during one part and a few layers got messed up at like the 12 hour mark, so I just repaired the layers with wood filler.
No clogs or anything.
The first print failed after like 3 hours because I was using my new print bed.
It was printed in parts ~20 hours each
Oof, that's still kinda nuts tho. I so wanna see if once you finish it all lol
I still need to get a 3d printer. But I would end up printing off stupid shit all the time lol
Of course xD I will flex that thing so hard.
I should hopefullyβ’οΈ have it primers by Tuesday
Print off something like the Gurkan logo or something lol
Lel, there is a lot of stupid stuff i want to print that I could not share here LOL
And omg, I should do that
I am tempted to buy a much larger printer now. But like... I shouldn't LOL
Lies! You can but not here :p
migraine is like instead of bashed by a bat from the outside, you get bashed from the inside
also @eternal wing, is it fine to take screenshots of our commands and add it to the landing page or???
Yeah, that could be cool.
I think that would be better off in an info/about page though. The landing page should be simple and appealing, no room to clutter it with commands @mild abyss
maybe have a commands page
Is this for Gurkan?
Yeah, there will be a guide as well probably
no, i dont think so
No :c this is for friendo bot
i see. okay me will wait if there already is an about page hmmmm
Aww
gurkult.com is on hold i guess :((
Feel free to mske an about page. Just follow the setup of index, it would be pretty easy. Just extend from base.html
Damn covid, making everything ok hold
Gurkult is on hold because only I was contributing LOL
yeah i cant contribute since idk react yet
I don't know how xD
Yeah, that is fair.
You guys should learn react xD
I probably should. Expand my portfolio!
React is practically a buzzword now too.
You def should start with basic web dev first though, if you haven't yet
Actually, friendo is more important. Everyone stop contributing to gurkult, only friendo xD
oh fisher i think i have a delay contributing to the friendo site,, i got .... tons of assignments just announced today lmao
I dont think that is necessary, web dev is pretty straight forward. Probably not worth it to take formal classes
You would be better off taking design specific courses than web dev specific
Kk!
Lol, no worries at all haha. Just contribute if you want to and have time.
I'm about to finish discord oauth2 so we can store data on a user's profile
okay thanks.. damn physiology class trying to kill me :((
Well make time!!! No excuses!!!!!
Lol jk, yeah it is all nice an open source so there is never any pressure :D
I'm focused on the backend for the site now, not doing much with the actual bot atm
Lol, we can add it to the repo
Python based web browser written with pyqt
Actuslly, that would be a cool project
To advance for my blood
It I want to do it now tho..right after I finish my graphing stuff
You can contribute to friendo :D haha, ok in going to stop plugging my own repos
I was wondering where you were going with that Akarys
Wondering if anybody has any idea how I'd go about white box testing my Android app?
I'm guessing you'd only look into code that isn't strictly related to building the GUI?
E.g. sections like this:
val ipInput = textfieldIP.text.toString()
val portInput = textfieldPort.text.toString().toDoubleOrNull()
val ipResult = ipPat.matches(ipInput)
var nextActivity = true
val view = findViewById<View>(R.id.connectConstraint)
if(ipInput == ""){ // Checking if a value was entered for the IP
generateSnack(view, "Enter an IP Address")
nextActivity = false
}else if (!ipResult) { // Checking if IP address is valid
generateSnack(view, "Invalid IP Address")
nextActivity = false
}
if(portInput == null){ // Checking if a value was entered for the port
generateSnack(view, "Enter a Port number")
nextActivity = false
} else if(portInput > 65536){ // Checking if port number is valid
generateSnack(view, "Invalid Port")
nextActivity = false
}
Okay, why am I blurry, I really wanna know haha
lol, i pixelated you
But why haha
i was jut testing the pixelate command in the bot
D:
hewwo

If you have muted this server react with a thumbs up!
i muted it partially
yeah i muted it partially
You could just turn off the notification for Discord, can't you?
A challenge would be to unmute the server and set notification to all messages
I like not having it muted
because then my dock indicator lights up when I get pings and message
like, if there is a channel or server I do not need to have unmuted
it is not unmuted
all ot channels here are muted, so is every public channel pretty much
Anyone have recommendations for png editing software?
Something free
To turn part of an image transparent, lol
I hate being tasked with something I don't know anything about, lol
whatever. Learning is good, ig
Yeah, gimp looks legit for this
It's embarassing how little idea I have of what I'm doing, lol
If I were in your position it would be the same
I am not good at these designing stuff and all
Yeah, it's all black magic to me
Yay! It's live!
What is?
Python Discord
lol
did i say something wrong
I'm confused as to what "live" means
like, it is always updated
αβΜ€ααΆ Even Mr. Micey thinks so. And I think I really the names of the off topic channels.
/βββγ½
γ γ /~Β΄γγγο½βγ½
γγ (γ /βββγ½ γ )
γγ( οΌ / ΒΊΰΈ±γ ΒΊΰΈ± γ½οΌ )
γ (γ γο½€γκγγοΌ΅γγ)
γγ(γγγ½ββγ€γγ) γγ
γγ(γγγγγγγγ) γ
γγγβγβββοΌ΅β
Mr. Sheepy thinks so too.
β³β³ Mr. Cat is a bit shy today, but I ensure that he will be more
(:βΌ:)βΊ nice in the future.
Great I just can't get it to work
Mr sheepy's head seems to have fallen off a little bit π¦
You are right.
Mr. Cat was better, and Mr. Micey.
β³β³
(:βΌ:)βΊ
Wow, Mr. cat took up so much designing!
I like the tail
This: //\ did not work.
Yeah, since I didn't have a cat tail, I just used an arrow
Like a demon's tail
sort of
parentheses also wouldn't work
I wonder if I should enter the Advent of Code.
Might as well give it a try :)
I was almost halfway through UCode python, but I got stuck and then I stopped taking those classes.
Now I do R coding language.
https://hastebin.com/levuwerale.xml xslt is really fun
expiration
Joe was my off channel topic names accepted? π
@mild abyss Do you still use i3? Just curious as something doesn't seem right with my current config, specifically with launching Discord
i do? what happened?
Basically, launching Discord through dmenu causes the cursor to go to the "spinning" state for a while, have you resolve something along the lines of that problem?
lemme exit discord and try to reproduce it
well opening discord through dmenu works fine for me
Try switching to another workspace and check your cursor
It stopped after a minute
it does happen to me sometimes
Not sure what causes it, but it's a bit ergh
but did discord open?
It did
idk what causes it but it does go after a while
A minor annoyance if anything, but it's an imperfection so 
Currently trying out other TWMs today
what twm are you on?
I'm currently on i3-gaps
i see cool cool
i prefer you try xmonad
since youre a haskell boi
but configuring it is very
hard and takes time
I think I should be able to manage
i am sticking to i3-gaps since idk about much haskell. it might be a fun experience for you
I'm not too fond of Arch's official binaries for GHC, I might have to install xmonad manually in this case
But aside from the loading cursor quirk, I'm fine with i3
i3 the CPU?
using window manager makes cursor spinning without a reason too
so I hide the cursor after few seconds
lol what

lol
i am not verry sorry for what i did
what
haha
NO WAY
the wifi equivalent of Task failed successfully.
what did you do?
connect to a phone wifi with connect automatically on
let the phone die
activate phone then activate phone wifi
look at wifi
it says module not found
what module?
wait
claim a help channel
aight
I don't think we should pollute these pristine channels
this ot channel name is based on??
snek
ducks
Me?
yikes
Ono
thats a great sentence

Any free help chanells
for u to help, or for you to ask for help
I actually get why that error would be there, I actually did a commit to make my linter happy about that on my repo yesterday.
completely unrelated but while I was configuring things another convo started in ot0
I have created a fully cross-platform setup for development, and I'm loving it
Shell: Powershell 7
Addons: Oh my posh v3
Terminal: TBD, experimenting with Wez's Terminal, Terminus, and ExtraTerm
Editor/IDE: VS Code
Editor/Terminal: Centaur Emacs
Browser: Microsoft Edge
I can run the same setup of apps on Windows, MacOS, Linux, just about anything.
it's taken me many years, but finally, I have figured out the answer to cross platform stability
and it's apparently microsoft.
thanks to PS7 and oh my posh, I can replace zshell on my linux didstros and not be missing much (I never really got into the super advanced zsh scripting anyway)
a nice pretty cross platform terminal emulator means I can run the same config across all 3 as well. VS Code is a no rainer, Emacs has replaced vim for me and I've been loving it, and Microsoft Edge being available on Linux now makes me double happy
Powershell 7 is such a huge improvement over the original powershell that's been included with windows for eons
can i set posh as a default shell or hmmm
yes but be wary on Linux if you're doing manual install, there are still some gotas sometimes
I bricked my WSL because of an environment variable issue
LOL
i see what does gotas mean?
gotyas*
are you on dual boot?
Yeah
I've got Windows 10 Pro and OpenSUSE Tumbleweed dual booted
and an OpenSUSE Tumbleweed for WSL2 on my windows
nice nice. i wish i can get a new laptop soon and try dual boot
most of the pcs i use, i wipe out windows completely
because pc is so old like 7 yrs old
I'm a gamer, and I rely far too much on windows software
we have the same idea then haha
some is available on MacOS
but that's far worse than windows
that being said I actually very much like windows
i plan to play genshin impact next year so i gotta wait for January to March 2021 because i am saving up for a 1660Ti which is enough for genshin like more than enough
π©
genshin oofpact
i mean i still love windows.
my bud tried to get me to play that
but the sensitivity vertical is different from the sensitivity horizontal
I cannot deal with that, severe motion sickness
no way to change it
idk if csgo plays well with 1660Ti or should i still play csgo hmmm

oh lol desktop is way better for csgo nvm
CSGO needs CPU not GPU
I've got a GTX 1070 and it's way more than fast enough
you'd be fine with like, a 1050
but you need high single core performance, so an 8th gen+ desktop i7, or a Ryzen 7/9 3000 series
going from an i5-6600 to the 8700k on the same 1070 I went from 120 to 300fps
I mean honestly though, who needs over like 80 fps
And you would easily hit 100fps in csgo with like a 1660ti and a ryzen 5 2600
some benchmark I found for ryzen 5 2600 and a 1660ti
At ultra settings 1080p
pretty much 190fps
literally anyone playing a competitive game. Especially FPS
fair enough I guess
Also, CS:GO benchmarks are notoriously bad
must benchmarks don't take into account playing in a real scenario, offline with bots doesn't work the same way a server does
issue is it's not reproducible, but I can almost guarantee a 2600 will not keep up with a normal match
they have good mutlithreading, but Ryzen really still struggled with AMD syndrome until the 3000 series
I am a little bit too familiar with the source engine, after 6000+ hours of counter-strike
eh? why such a bad card :0
not for MSFS it isnt :))
1660Ti ain't that bad
yes - for the turing generation
for ampere its meh
i expect really good budget cards coming out next year
nono
i dont think genshin is that heavy
its a waste of money is what im saying
i see
anyway i already decided to buy a laptop anyway haha
hmm
which laptop?
yeah specs?
probably a dell g5 SE or an HP Omen (if i have a budget for this one)
wait imma search again haha i already added it to my list of "Dreams" xD
heh
yeah cause im gonna trust you over the min specs by the company
is
ok elitist
yes cuz i have the game
ohh thats real nice
how is that a cheap gaming laptop lol
this is actually pretty good
it is "cheap" because of its price range
hmm
it goes around 1000USD i guess
oh
and sometimes it dips
a VA display
when are you buying it?
and if you look at the design, uh it is like looking at a laptop in the early 2000s
around January to March 2021 i guess
i just need a working laptop because mine is so old and it is dying
worth considering them too
yeah i have an eye for them as well
i just want to stay on budget thats all
yeah
i have this permission off for this role, but they are stilll able to change their name how?
very confused
do they have a different role that allows them to change it?
change their nickname or just their name?
cause anyone can still just change their actual name all the time
also that, yeah
they do have a role which allows them to change their nickname but the role that doesn't is higher than the role that does allow it
IIRC that's the issue, removing that permission from a higher role doesn't remove their right to change the nickname, it just doesn't grant it either
huh
Having a permission on/off on a role determines whether or not that role grants said permission to the user
If any of the roles a user has grants a certain permission to the user, they will have it
but what if the higher role doesn't grant a permisson but a lower one does
it doesnt matter they get it from the lower role
oh
A higher doesn't grant it, but it doesn't remove it either
the thing here is that they dont allow you to set a role 'level'
every single role has to be above and below, you cant have two at the same level
which means roles cant 'remove' permissions because if they did you couldnt have role A give x and role B give y, and then assign both A and B to someone to give both
cause A would remove y and B would remove x
any 1 know cisco configurations
Very cool
And you can double or nothing maximum 5 times by reactig either heart or spades and message gets deleted after you react
So the bot edits its current message with the new output or it removes the old one and does a fresh one?
Removes and sends a new one
you should make it edit, it would be cleaner
Agreed. You can have the bot remove the user's reaction and edit the message, that way the user can still react again if they want to keep it up
But it's still really cool!
i wonder where this otn came from
I am not a fan of gambling at all haven' t gambled ever on my money but since some online classes are borring I am building a classroom's little casino for when we are bored
lemon's ping?
What does otn mean?
gambling is fine until you get addicted
Off-topic name
which is definitely a bad thing to happen
I agree
Nah it isn't is just for fun my teacher wouldn't like the topic at all
yeah
.... right?
maybe 
Also i have made profiles with money experience level and so on and a shop
hey are you betting actual money?
No it isn't but if someones runs out of money... i mean... i am open to offers :)) jk
it would be good to make something to introduce people how money really works in the real world with virtual money i guess, a lot of people lack financial knowledge
Nono you get a free daily of 50 and also 50 per level up
Yeah, it sounds harmless and fun
i don't think gambling is how you acquire financial knowledge vinam
i didnt mean gambling
Ah fair point
And also it has a kick_random function it is like the russian roulette
its fun to make rpg bots imo, you get to know about db's a lot
True
I think this is my 4th or 5th python script don't really like python i struggle a bit but i have a strong foundation in C and everything i do is overcomplicate stuff in C like style :(
Mr. Hemlock are you doing AOC?
Maybe. I tend to lag behind on it
And write tens of lines that can be resumed in one so it's also nice for me that i take a look at other programming languages
okay back to writing a script that I want to complete today
i should learn a language other than python now too 
what is it about
Kind of depends on what you want to do
learning more languages is useless unless the language teaches a different way of programming
take a sreenshot and then upload it to imgur and get the link
for markdown images
learn rust with me pls

Yea i agree i don t like php at all
I think if you know C you can learn everything
sexpistol would be proud
Yes and no, Just
what?
It won't help you with functional style languages like the Lisp family and Haskell
i am just bored
Also Rust's memory management is very different compared to the C's
Never heard of Lisp in what is it used?
its a functional lang
i really dont have any usecase for programming yet, so i am just doing this as a hobby
i cant stay in 1 lang forever reee
Common Lisp (CL) is a dialect of the Lisp programming language, published in ANSI standard document ANSI INCITS 226-1994 [S2008] (formerly X3.226-1994 (R1999)). The Common Lisp HyperSpec, a hyperlinked HTML version, has been derived from the ANSI Common Lisp standard.The Common Lisp language was developed as a standardized and improved successor...
hey how you doing
hi
youve been silent like forever
busy
Lots and lots of stuff that need to be done efficiently
school nd interested in lang design
i may become silent as well probably in summer. summer is best time for productivity!!!
The benefit of a functional language is that for a given function, the same input will always give you the same output. It focuses on function purity and avoiding side effects
i started to go in discord less when i stopped art and started doing coding again after all these years
you know, i will start rust right now 
Which makes things incredibly optimized and incredibly fast
weekend lets do it
stopped art? that sounds like me
no wonder pure is pure
purefunctor
could've been code but yikes
You know it

i kinda miss drawing but i cant get back to it at all
i dont need to worry about python cuz its learning curve..even if i change lang i can get back to python
i cant forget it
this is how simple python is
lets learn js at the same time haha
nooo
oh yeh
i hate web dev 
you dont like web dev
yeah
thats fine i can do it on my own haha
i need to make projects to master creating responsive web designs
maybe making tons of templates hmmmm
goodnight

hmmm??
LISP can be functional, but most implementations are imperative
yea
rust got installed when I installed Nerd Font
omfg I just realized one thing @edgy crest
yes?
I was in a Rust (game) server and asking Rust (programming) question lmao
it was already installed for me
what you run
nothing
ok let me see
skip the installation step if you get a conflict error i guess
like maybe rust got installed when i was installing something as a dependancy
joys of FF
starship i guess, as it uses rust
I'm so tired of it happening, Mozilla needs to get their shit right
ok bruh lol
i mean firefox has really good ram management for me 
@scarlet wind did u compile it
did u create the file?
did you write the code?
One tab of Imgur, Reddit, Gmail, State Medical Marijuana Licensing site, Provisional License pdf.
My cpu is at 1% or 4% usage for firefox
That is all I had open
not true for me
@ancient stream bruh that shouldnt make it that big
somethings wrong
@edgy crest I did nothing
Well it did, must be an extension
@scarlet wind then why do you expect it to print it lol
idk I am dumb
create a .rs file and create a main function, and print hello world there
then compile it
rustc filename.rs
time to go brrrrrr
then ./filename
Ya it has to be an extension causing it, because FF safe mode with 2 tabs is only sitting at 114mb
is this seriously hello world?
fn main() {
println!("Hello, world!");
}
lol @solid pollen I am not used to that syntax
i wanted to learn a C based lang
I was shocked lol
Never used C or C++
Python is my first lang
I have tried Java but then got mad
let's goo
who?
u got mad or java got mad?
i plan on learning c++ a year later
lol
what's so funny?
rustc learning.rs && ./learning will compile and execute in one command, it is easier to use when spamming the up key btw
I was anwsering to the ping
oh my bad then
I will && my brain
haha
like for linux it is ./learning and for win it is .\learning
so?

The guy who saying who uses space in their files lol
??
I should probably keep my hands away from this chat omg
also it would be .\learning.exe on windows
fn main() {
println!("Hello World!")
}
```equivalent of this would be
```py
def main():
print("Hello World!")
```right
println! yikes
cuz its a macro
console.log("Hello world")
java?
console.Writeline("Hello world")
js
bruh
c#
system.out.println()
yea lol
./target/debug/hello_world
bash: ./target/debug/hello_world: No such file or directory
target/debug has hello_world
nvm I am dumb and I was in wrong dir
bruh
nice lol
write in a few bugs
I saw a devilish intentional bug the other day
Something like if random() < 0.1: True = False
Chuck in some sleeps to allow for optimization in the future
I said probably smh
How was I supposed to know theyβd announce it literally a day before releasing it
I think you used to be able to do that in python 2 iirc, but not any more
I'd love to know if that change broke anything lol
Well, you can probably do the equivalent of swapping true and false in python with some ctypes magic...
I start all my programs off with true, false = True, False
hey guys
i need ur help
a bit psychology
my classmate and his mom doesn't want to get GitHub
because the account is not 'private'
we are doing a project
and thing is so hard to collaborate on without github
report his mom to the teacher and get your classmate off of the project
no
i mean not for school of course
like we are doing a coding project
and you know
something that may be useful is... GitHub so we can share our code
its not affiliated whatsoever to our school (1.) We are not learning Computer this year (2.) They teach Scratch until 8th Grade
ok
but he doesn't have an account
ok
ill make him an account
then make it private
then tell him that he has one now
and its private
and secure
Aww it's so nice to know someone wants to eat drink me
i thought github has private acct option
how many py files are too much for a bot?
im considering making a py file only for help command hehe
None actually
?
react-router is rly useful.
that's cool domain.
5G so fast
Nice fonts for the url.
Oh ya it took some work to get custom fonts on this thing lol
fayafox?
idk how to change the font in i3wm
i mean the firefox browser
let secret_number = rand::thread_rng().gen_range(1,101);
secret_number = random.randint(1,101)
ok bruh
guess time to eat those notes
@edgy crest how did you make disable.py
like how do i disable commands
by disabling cogs?
what?
oh
i just contribute to it, its fisher's
oooooh
you can unload cogs
unload_extension('path to the cog file in dot notation')
hmm
one thing tho
will it unload in all servers?
that might be a problem
@quick ledge
yes it will
it basically "unimports" the file
perhaps you are better of creating a check
thanks :))
no problem :)
Hey @gentle moss, my school just said that you need technical knowledge to be a manager, what do you think?
Iβve heard the one at your work is very skilled
google for instance at least wont hire engineering managers unless you know just as much technical knowledge as the engineers under you. they still do all the dsa interview questions and such
depends
my boss worked for over a decade in tech before buying the company he's now boss of
it's helpful for sure as he knows wtf is going on
however his managerial skills are not exactly the best, because he's never been a manager
there are some managers who aint got a fuckin clue about who / what they're managing
and have somehow failed upwards
probably because they can cause less damage up there
There wasnβt a dumb manager at your work who had no tech knowledge?
sometimes there's a lot of paperwork bullshit that some people just aren't suited to too.
yes, he was a fucking moron in general
he tried to use the company as his retirement fund by selling it off
but ended up cocking absolutely everything up because he had no managerial skills and no technical skills
waste of fucking space
Aaah, sounds like the one
wow
Hi :D
theyre both correct
well thats not what google says : |
its like colour vs color
american english uses canceled, british english uses cancelled
welp i guess : ||
well on the bright side, i have the fastest internet in the world : P
lol
how cold can freezers get?
if it is domestic, it would not be colder than -20 C
Yay I'm back
yayyy!
yay
did kwzard leave?
@mellow spire #community-meta message
oh sad, they were a core dev.
the second one looks cleaner
thank you @manic bloom
np
Hey guys, I have been learning python for a while now and I have decided that I want to learn a second language
I want something that is easy to use on any operating system, compiled, and provides the quickest development possible
I've been looking at Java because its so well supported but are there better options?
and yes I know I am probably going to get 1000 dissenting opinions on this
dude
I had the same thing
today
like 2.5 hours ago
I decided to just go with java
Javascript
You already know a backend language now go learn frontend
Or if you prefer a mobile deployment over web, java works, or swift I think is apples, or whatever
I'm not a CS guy, my projects are normally data manipulation and graphing (python is perfect for them) but I routinely have project ideas that python isnt great for
@manic bloom anything in particular that made you go with java?
I have looked at rust and go but they just seem like a lot more work
ive had CS majors tell me C is where its at but this is not my job or anything and C seems like there is a huge learning curve
idk
just seemed good
honestly, IDK
if u decide to do a differnt lang, pls DM me, I'm still not sure on what to learn
I have messed with java a bit and even though I really can't quantify this, I just didn't enjoy using the language
What project ideas that you'd do with java that can't be made with python, for example?
@rough sapphire a media server, garmin apps(I know they have their own thing), games (I know pygame exists)
Making standalone executables isn't great (pyinstaller always shows up as a virus so I can never distribute things I make to other people)
I do have a ton of ideas, I am sure development will be slow since this is just a hobby but it is also just for fun
I think game development with java is also not a good choice
If you want to gamedev, C# (unity) or C++ (unreal) might be good languages, since you can use the engine on your projects
I haven't looked into that very much at all (game dev is probably the lowest priority project for me) but I would like to try it sometime
C# is still hard to port to linux right? and C++ has manual memory management?
also a media server that just serve files can be easily done with python
i'd reccomend you take a look at node.js / typescript (optional). You can design some nice web apps with it fastly, due to the existent frameworks
well, no. Since you already building an huge engine framework, lots of things get simplified on development
Unity can easily compile projects to multiple platforms
@rough sapphire I essentially want to copy plex/jellyfin but without all the adds on plex and compatibility issues on jellyfin
ahh gotcha, I actually have a friend who keeps telling me to try C# but I was just scared that its a waste because of linux support
and to be fair, I do use windows 90% of the time anymore
also I think you might be right for the server but I think a different language will be necessary for clients on the devices, but at the same time I think there are better options than trying to write clients for all these things myself
maybe modifying jellyfin is my best bet and actually I have one TV that doesnt support it and it's my room mates not mine
thats just because their schools taught them c and c++ and nothing else,
and theres a ton of programmers who went to school and just stuck w/ what they learned and didnt explore on their own
my take at least
also yes please pr jellyfin
help make it better
That could definitely be the case, I see the same thing in my field where people just refuse to branch out and learn anything on their own
i mean im not hating on the c++ it obviously has its uses and is huge, but from what ive seen everyone i know who codes in it learned it during school and just stuck with it
then you have your self taught people or people who just wanted to do and learn way more and they are in things like rust/go/python/etc
theres a ton of money in c++ development though, shit lets go even worse go cobol, youll be set for life making big money if you learn that
ive actually worked in facilities that still use systems running tape drives with software written in COBOL
very gross
D:
Probably an excellent opportunity for someone but not useful for my field
Hmm what about rust or go did you look at those
Very briefly, I decided against rust because of the memory management, cant remember specifically what I didnt like about Go
I see I don't know both lol
No rush to figure this out or anything, I'm still exploring and seeing whats out there
But asking people who are in industry gives me a lot of perspective that I wouldnt have otherwise
I will learn these languages, python c/c++ perl lisp
All for work? isn't there an excessive amount of overlap for the higher level languages or is that expected in a professional environment?
No I mean they are different type of programming
In professional environments in established companies they have their workflows and you're expected to adopt whatever workflow that is.
If that's "you program part a in python and part b in C++" that's what you do
So is the goal for aspiring programmers to end up with a skillset that will land them in an industry that uses a workflow they are familiar with?
I'd say so. However, if you have most of the skillset or experience with most of the workflow, they're probably okay teaching you the part you don't know
That makes sense, lots of people i work around will learn specific parts of geology and maybe be particularly attracted to a specialized field or type of job and very often they don't understand that you have to learn more to make yourself a more desirable employee
which might not make much sense but there are as many types of geology as there are programming languages and very often the specialties need to be used together how programmers need to know more than one language
That makes sense, actually. A lot of fields are like that, general knowledge is good but you're more desirable if you have domain specific knowledge in an area
Is there any way to quantify which language is 'faster' to develop in?
Like we all know developing in python is faster than C but how do I compare C# and Java for example
you could always time yourself xD
you could also perhaps consider number of lines/characters written to be comparable to "ease/speed of development"
Yeah, I supposed another thing I am struggling with it the "Why isn't this more like python.." even though I know why in at least some of the cases
You could probably quantify it, just not easily
Look at the number of lines of code, the appearance of runtime vs compiletime errors
For instance, C++ is strict in compiletime, so most of your errors will be there. Python is the opposite
why the languages choose to do things differently than python?
well a lot of the way python is written and interpreted is not done with optimization as the highest priority. Python is slow to execute, but fast to write. The simplicity of the language comes at a cost to what is happening under the hood.
Some people wish python was more like other languages
I really like the idea of Cython but I tried messing with it and got exactly nowhere
I think it's fair. There are aspects of Python I like, aspects I don't like. There isn't a language I can think of that has everything I need.
Odd question, how are languages used 'together'?
Two ways I can think of. Different aspects that need to interface with eachother, or one language that wraps another and uses something else under the hood
The fast parts of python use C, for instance
I mean like I don't understand logically how they are used together, does the python tell the c program to start or does the code coexist in one file and the compiler or interpreter runs them together
there's probably whole articles or tutorials on this exact question
I wish I could have taken some CS classes, would be nice to know more about it
how do i blacklist a word using my bot if i can blacklist regex
like how do i turn a word into regex form and then blacklist it?
i cant find an online regex converter
@rough sapphire I just disrespected you as a CEO, what are you gonna do
Wat

Why you ping bruh
look in the fucking video
That video is old
shush
Don't shush me
@warped raptor but the contents of the if statement won't get executed if the condition is false
the variable wish2 is not defined until the code inside the if statement executes
so if that code doesn't execute, the variable isn't defined when you try to access it

if the condition was true it would be, but it was false so you got an error
got it
@rough sapphire please don't ping me with reposts. Also,
cant take a joke do u bud?
!tempmute @rough sapphire 24H please try to treat our members with respect. We don't shush them, swear at them, and call them kiddo.
:incoming_envelope: :ok_hand: applied mute to @rough sapphire until 2020-12-04 10:35 (23 hours and 59 minutes).
can't take a joke? no, don't get me wrong, the video is hilarious. But it's also super old news and not really worth pinging me over. I saw it when it was first made and I shared it with pretty much everyone.
your attitude still sucks, though, so maybe work on that.
lmao never piss off the owner
@tame terrace
you the owbner of discord
or the language
oh no owner typing
time to get banned π¦
you must be new.
u could check when he joined !user 652576380722348042
not active cause i quit python cause of my depression
thanks, I helped write that command so I do know how it works
but im back now yay
well, you must be new if you think we ban people for asking us questions. we're not that kind of community.
yeah, I'm just one of the owners of this community
oohh
the PSF manages the Python language, nobody really owns it
!server
Server information
Created: 3 years, 10 months and 24 days ago
Voice region: europe
Features: WELCOME_SCREEN_ENABLED, COMMUNITY, PREVIEW_ENABLED, ANIMATED_ICON, DISCOVERABLE, NEWS, INVITE_SPLASH, PARTNERED, RELAY_ENABLED, VIP_REGIONS, VANITY_URL, MEMBER_VERIFICATION_GATE_ENABLED, BANNER
Channel counts
Category channels: 33
News channels: 8
Text channels: 190
Voice channels: 12
Staff channels: 76
Member counts
Members: 114,929
Staff members: 89
Roles: 76
Member statuses
27,433
87,496
that other guy also didn't piss me off. I just thought they were rude to @scarlet wind and I didn't like it.
and yeah, we're gonna be 4 years old soon
yay
I've been here for about three and a half.
petition for 4th birthday party
we did something like that last year.. I think we gave away a t-shirt, maybe
we've coded many apps for people that are running in this community. We've made most of the bots, our website, the code evaluation service, multiple packages on PyPI..
well bye owner guy i have a shit ton of homework due in 15 minutes
sounds like you should focus on that
i should be doiung it
bye!
byeee
hey lemon
cya
rip
what packages?
I just wanna say nice to see you
django-simple-bulma and async-rediscache are two that we're currently maintaining, and flake8-annotations originated here as well
django-simple-bulma.
oh
yes, mostly me and a guy called @hidden imp
feel free to @ nice guy β€οΈ
yes, he's an excellent guy
was flake8-annotations a thing with ELA (taylor swift lol)?
@rough sapphire lol
That video is hilarious lol
Yeah, ELA managed this project, it was transfered to his GitHub account
okay
kinda offtopic:
can squid handle traffic for something like database connection or game server?
i mean i have a database on my home-pc (public ip example: HOME_IP, port forwarding set), but i dont want to give my collegues HOME_IP so i bought a VPS (with VPS_IP)
so how can i configure squid on my VPS for database connection VPS_IP:5440 to route it to HOME_IP:5440?
A pizza is basically a real time pie chart of how much pizza is left

π±
hold on, wait a minute
not always
(pls don't ban me @Moderators )
i just want a async tkinter package heh
???
?????
you can use async with tkinter
The CEO wants to meet with me today, help what do I do
tell them you have a job interview
rofl





