#ot2-the-original-pubsta
652 messages ยท Page 135 of 1
it's worth learning about
(and also part of the point to it)
smh not you too
is a function of ```rust
fn main() {
println!("hello world");
}
supposed to take this long? `[Done] exited with code=0 in 0.705 seconds`
java number one, scala number two, rust number 3 for me
depends on your system
I/O may take a while
v cool
i'm currently running it on VSCODE. Does the extension that I use affect the speed?
where would you rank kotlin relative to java
uhh idk, i always use cargo build or cargo run
I have no need for kotlin
hm
what does this do?
have you read the book?
uhh
iirc they talk about in chapter 1.3 or chapter 2
what book?
there was also something like rust in 30min for people who already know other languages. It was pretty neat
does anyone start with rust as their first language :P
the hardest parts of learning rust are the
a) correctness; and
b) getting used to the borrowck.
i'm still in the "if it doesn't work throw a .clone() at it" phase
I am an ass about pre/post conditions. So a) is very attractive to me
lmfao we all are
yeah, the entire language/stdlib is designed to make you do things right, no matter how annoying it may be
I want a boring code base
That means it does not wake me up at 4am on my week ends
how can I make the intergrated terminal allow me to type in commands?
right now it's only "read-only"
whoops
When running rust code, I have to save my file before each time I run it. Is there a way to make it that when I press run, before it runs it automatically saves the file?
there must be an option in ur IDE which saves the file everytime you edit it
type auto save in the settings
thanks
I get brain does not live long enough errors :(
๐
well, it takes a bit to build and run Rust
mainly because of static linking and monomorphism
a hello world binary can be decently "large" also because of that
A systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.
Assuming that you're running that under VSCode as well it would have some overhead
But rustc is generally fast nowadays
what's the command to run?
cargo run
Do you know of cargo yet?
cargo build if you just want to build
I just know that I installed the cargo
I see, since you're still playing around the language I recommend doing cargo new project_name, which should create a new project for you
This would give you access to cargo run
They also have a dedicated cargo book too
I like that guide, its well put together
it says ```
error: could not find Cargo.toml in C:\Users\tenuk\Desktop\Coding\Rust or any parent directory
yes
can you show
cd into testing
๐
once i restart vscode, do I have to cd into testing again?
if you were in it last session, no
is there a shortcut method to run the file instead of doing cargo run each time?
look above fn main
press the run above fn main
yeah, i saw that
cargo run runs the main.rs file of your project
that run button on top of the main function just runs the main function of that file you are in
so is there a shortcut method to running the whole file?
that run should run the whole file, the main function is like an entry point to your file
i'm not sure you're understanding
yes, but instead of typing cargo run every time, is there a way to trigger that, or just something related to terminal that repeats the last command done?
press the run button on top of main...
if your terminal/shell allows, you can press up arrow to go to previously executed commands
ah yes. Exactly what i was looking for
thank you
so i closed and opened vscode and i needed to cd again for cargo run to work. on my previous session, i already cd'd. Why?
weird maybe there's a setting
just use clion ๐ฉ
thanks for reminding me lol
nvim
ms paint
you are a man of culture
@jovial island hihi
yes
Window manager or desktop environment
bro like gnome, xfce etc what
What the fuck do you have installed which shows graphics and let's you open/close windows
The gui stuff
Where did you go
Fucking hell
Kali comes with xfce by default ig you have that
Who are you talking to
There's nobody responding
Yet you talk like you're answering things
I've been known to do the same 
Microsoft Teams recently gave us the ability to DM ourselves. "Now you can talk to yourself!" was the selling line.
deleted messages
you don't need Teams to talk to yourself
probably was like a 3 line code change tbh
(I had a joke but I forgot it ๐ฑ)
One would think. However, with MS Teams I'm betting it was a quarter long feature.
The developers have been working really hard on this one
You would be shocked. Remember, 5 years ago someone was working on the backend and went "People don't need to talk to themselves" and 4.5 years later and shit ton of assumptions made in the code later, allowing you to talk to yourself because OneNote is broken was 6 month project.
I'm currently dealing with a script that loses it shit about 3rd Azure Region because at the time "We will never not be in US West 2 or West Central"
like it checks for X/Y region or makes sure there is only 2 regions in code.
3 line code change can be exhausting if you been working on a code for so long tbh
will tech-related proprietary content (software/algorithm/etc) be open source once the license and copyright session ended? for example like old literature books, classical music copyright etc that has termination date 70 years after the creator dies. would that be the same for tech and software related work/creation?
for example like .rar file format by eugene roshal, will it be open source many many years later?
oh nevermind, it's licensed under a company, they will keep updating the license then
iq
?
what i said is not related to whatever u said
@jovial island well, IQ does seem to measure something, but no one can really agree on what it is that it's measuring.
which is pretty similar to Myers-Briggs Type Indicators, actually - they're measuring something, because they're repeatable for the same person over time, but no one is exactly sure what it is that they're measuring.
i would say high iq people just have better education
I don't think so - IQ usually peaks somewhere around elementary school, IIRC
adults' IQs fall throughout their lifetime
hmm interesting
countries with better education tend to have higher average iq
(see europe compared to africa and south asia)
yes, but also better nutrition and more leisure time
yes
and lower rates of childhood diseases
quality of life in general 
and lower levels of environmental lead
there's a ton of confounding factors.
IQ tests analyze pattern recognition more than anything else
more or less yeah
and spatial reasoning, to some degree
and amount of education doesn't really correlate with either of those.
hmmmmmmm
lemme see if i can find that one interesting post from a user i saw long ago
likely wont find it
but it had nice metrics on why current iq tests dont actually measure stuff properly
this gonna take a while aaa
i thought about intelligence alot and i don't think that there is any equal measurement on intelligence tbh
would you read it if i send you my thoughts on intelligence and would you form an opinion on whether you agree with it or not? it's composed of few long paragraphs..
sure
i wrote this like a week ago, honestly i am very afraid since this is a public server. but i hope you don't mind, and also i am very open to criticism.
I believe that the most reasonable measure for intelligence is actually time. the time that it takes for someone to be able to understand a concept he/she had never came across in the past. but it is very tricky to measure someone's intelligence with time, that's because it's not possible to accurately predict how much time someone had spent on learning a similar concept or a concept that's supporting the understanding of the main concept that's being asked while measuring intelligence.
It's not possible to equally measure intelligence of two people coming from a different background (someone who grew up wealthy in US will definitely have the upper ground and advantage compared to someone who grew up poor in Africa.) I wanted to add quantity and quality of resources for learning in addition as a parameter for measuring intelligence but I realized quantity and quality of resources in the end is related to time. Because we're actually measuring the time that it takes for them to get the same quality and quantity of learning materials and knowledge.
complexity of thoughts might matter in the effort of measuring intelligence but complex concepts are actually made out of many simple concepts combined together therefore it is related to time as well. The time that it takes for someone to learn/comprehend those smaller concepts that supports the main concept.
definitely the measurement of intelligence should not be valid if the people being tested didn't have the same quantity and quality of learning resources or information, and if they didn't reach the same complexity of thoughts by the time they take the test.
in order to measure intelligence that is close to accuracy, the people being tested needs to have a very similar life, experiencing similar situations in life, most importantly having the same quantity and quality of learning materials that's given to them at the same time.
adding to that, in order to precisely and accurately measure people's intelligence they have to always be in the same spot, doing the same thing, eating the same thing, and having the same chemical reactions in their brain. basically you have to live the same life and be the same person. therefore the concept of who's more intelligence can't ever be accurate. it's just measuring the time someone had spent on learning/understanding about logical reasoning. the more time they spent on improving their logic, the better score they will get. but people will definitely argue to this because "intelligence is not just logical reasoning". therefore intelligence test can't ever be valid unless they change the title to "measurement of the time people spent on understanding/learning a certain subject"
also, another topic i'd like to discuss is the fact that people are born with different chemical substances and hormones that regulates how they think and behave. you can't expect someone with down syndrome to score as well as normal people in iq tests or just academic tests in general. even viewing angles and distances in classroom affects how well a student can understand/comprehend the subject being taught by the teacher.
actually, just drop it if you don't find it interesting, sorry ๐
It's not possible to equally measure intelligence of two people coming from a different background (someone who grew up wealthy in US will definitely have the upper ground and advantage compared to someone who grew up poor in Africa.)
Why is it necessarily impossible to measure whether a rich person in the US learns faster or slower than a poor person in Africa?
Because we're actually measuring the time that it takes for them to get the same quality and quantity of learning materials and knowledge.
definitely the measurement of intelligence should not be valid if the people being tested didn't have the same quantity and quality of learning resources or information, and if they didn't reach the same complexity of thoughts by the time they take the test.
That's generally not what intelligence tests measure, for what it's worth, and that's exactly why they're - well, maybe "valid" is too strong a claim, but "reproducible". They're designed in a way that tries to account for prior knowledge. If an intelligence test works, a person should have relatively consistent results on it throughout their lifetime - they shouldn't start doing better because they have more prior knowledge.
but someone can get better iq test result after learning the "patterns" in the tests.
Sure. But that's just cheating. That's not becoming more intelligent.
if you take the same test twice, you'll do better the second time, of course. But that's a confounding factor to testing, not an intrinsic quality of the tests.
therefore intelligence test can't ever be valid unless they change the title to "measurement of the time people spent on understanding/learning a certain subject"
That's exactly what "intelligence" means, for what it's worth. We define intelligence based on rate of learning.
i see, so in the end the question would be what it is that iq is measuring?
would it be logical reasoning?
yes, that's what I meant by 
in your opinion what would it be?
"intelligence" is pretty well defined, psychologically speaking, but it's not terribly clear if IQ tests measure intelligence.
ah i see
do you think IQ test is more related to pattern recognition and logical reasoning than "intelligence"?
Wikipedia has some context on the debate over what exactly it is that IQ tests are measuring
thank you
the section above the one I linked to - "Reliability" - confirms that IQ tests measure something.
the fact that tests give consistent results over time shows that they're not purely random, and they are actually measuring something.
but there's a fair bit of debate over what they're measuring, and whether it's intelligence or not. Or whether it's only one specific type of intelligence. Etc.
yeah
i just want to know what do you think it is that iq test is measuring, it doesn't have to be from a well-respected information source. just your opinion..
I think pattern recognition is the biggest thing. And I think that probably does correlate with "intelligence" as in "rate of learning", because I think that people who can identify patterns can correlate and categorize new information more quickly.
i see, that makes a lot of sense. i pretty much agree with that.
i'm sorry for taking your time. it was a very good discussion. thank you ๐
๐
[cyan](orange)
[cyan][orange]
# blue
* bullet point
1. numbered list
/* orange text *
> grey text
< yellow text >
< yellow
multiline >
<blue>
<blue yellow>
<blue yellow="cyan">
# blue
blue above dashes
--------
blue above equals signs
=====
123
the yellow text does not show as yellow anymore? (line 8-10)
basically those lines used to show as yellow, not sure if discord changed them?
hey
Good lord
I'm feeling majorly depressed these days
-_- Its terrifying seeing the US crumble the way it is, and hearing the drumming of the march to civil war
And I've been doing a bunch of mock interviews, resume assignments, and the like, which are making me realize not just how hopelessly unqualified I am
But also how deeply, entirely fed up I am with the bullshit rat race that I'm expected to run
I'm all out of fucks. And I'm not sure I can even squeeze one more out, even for an interview for a good job
you can also italicize, bold, and underline
*meow meow*
_meow meow_
**meow meow**
__meow meow__
~~meow meow~~
I lied... maybe only italicize and bolden
!raw
You are not allowed to use that command here. Please use the #bot-commands channel instead.
thanks, useful bot
***```py
print('Bold italic code block')
i was told i coudl post silly projects here if no one minds
https://github.com/reinkdesigns/rpg-thingy/blob/main/rpg.yp
a small RPG thingy i have been working on at work
You could use a for loop to initialize the ldvel dict
Level*
Also the ext is .py not .yp
I KNOW ๐ข it wouldnt let me change it
i cant fighre out how to rename it in github lol
how would you use a for loop in this manner?
or would i need to math out a curve for that to work?
Hey guys
I'm trying to open my task manager but it seems to close automatically
I'm currently using windows 11
Could anyone please help me fix this?
ctrl+shift+escape work?
So something like
for i in range(x):
levels[x] = x*b
right fair, but id need to remember how to do algebraic curves again i believe
No that doesn't work
Can someone help me please?
FFS im back at work... did you try turning it off and back on again? lol
https://www.youtube.com/watch?v=Jn-652FTKJ8 try this maybe, idk i dont ahve windows 11
Task Manager Not Opening Windows 11 solution
But it may happen that one fine day you find that your Task Manager will not open. In such a case you will have to find out the reason โ whether the Task Manager has been disabled by your Administrator or whether it is due to some other reason.
Issues resolved in this tutorial:
task manager not ope...
Meow
meow
roar
bleat
uwu
i tried to open the cooker to get the rice out, one side got stuck so the side from which i was opening threw all the steam out and now i have a burnt finger, great
i can't visualize that but ok
We're having your finger for dinner
we elden ringers now
im minger now
getting some 100+ but i get nervous when i am typing too consistent within first few seconds with decent speed so i end up committing a mistake lmfao
@wheat rock and I've beaten you at the same time #ot0-fear-of-python
typing without thinking about typing is what i need
lol
๐
my graph makes no sense
wats atb
all time best
bruh
oh nice
๐ฅบ
๐๐
๐ฆถ ๐ฆถ
too less calories
we'll have yours then
everyone knows my dad like feet now?
How to write your text to the 2nd line of the file?
Go backwards to Monke, or forwards to Crab?
@slim forge taking this off topic, there are quite a few interesting results:
- https://github.com/search?o=desc&q=license%3Aagpl-3.0&s=stars&type=Repositories -> agpl
- https://github.com/search?o=desc&q=license%3Agpl-3.0&s=stars&type=Repositories -> gplv3
- https://github.com/search?o=desc&q=license%3Agpl-2.0&s=stars&type=Repositories -> gplv2
- https://github.com/search?q=license%3Aapache-2.0&type=Repositories&ref=advsearch&l=&l= -> ASLv2
hm interesting 
backwards
guys how do i do the home thingy in discord server
It is in beta and not available to everyone yet, wait for discord to roll it out
oh ok
how do i make it so when i left click a file it says edit with software as an option
U need to add add a entry to context menu via regedit
is this answering my question?
Yes
thanks
The left click? U meant the right click ?
wait it is right click, i even double checked
๐
guess i dont know my directions
ARTIST/LYRICS - Emiway Bantai
MUSIC - Pendo46 & lejJA
VIDEO - HAPPY AND V BREAK
Abe is ka kya kre ga yha pe ?
Nai na wu wru wre to pho ka?!!!??
you have already completed your journey
D::
monkes are just big monkeys
Who is the ass?
A: 
B: ๐ฟ
C: 
D: 
D
@grim seal you have obviously taken bike stealing courses, mind giving me some tips?
don't get caught
get don't caught
everything is legal until you get caught
E
true that
Sooo
What's the idea behind naming off topic channels in this server ?
Just names I guess ?
Off-topic channels
There are three off-topic channels:
โข #ot0-fear-of-python
โข #ot1-this-regex-is-impossible
โข #ot2-the-original-pubsta
The channel names change every night at midnight UTC and are often fun meta references to jokes or conversations that happened on the server.
See our off-topic etiquette page for more guidance on how the channels should be used.
They are just mods, admins and owners being silly
They just haven't seen the light yet
Let's see what other people thinkin
When people ask you on interview how you think diversity in team helps work
What the f is the right answer ?
Like idgaf about colors,sex, disability -- work is work ?
what are the cops gonna do when i they find i don't pay taxes, have committed several heinous felonies, warcrimes and have never followed the geneva conventions? Arrest me?
i would pull out the denzel washington's "it's not color it's culture" card
It's Deep. #shorts #joerogan #denzelwashington
Our main Channel: https://www.youtube.com/c/cycasmotivation
Speaker: Denzel Washington
Credit: SiriusXM
something along those lines
SHOOT YOU
:uno_reverse:
wish that were me ๐
he looks so happy 
oh man you didn't have to make me homesick that way ๐ญ
jeddah โค๏ธ ๐ญ
wait what
thats crazy tbhtbhtbht
i was just trying to get those files on my phone
lol
so i figured i'd send them here then save them
yeah figured
that was some map in tokyo
jeddah is pretty cool thotho
god i miss it so much
was great for sure
no fried chicken beats it
been 2 years god damn heckin covid
well hope that the place you're living in now is better
oh damn
The moment we've been working towards for the past two years is finally here and we can't help but be proud! #VR
Kayak VR: Mirage is out now on Steam: https://t.co/bPX1Gtrvt9
1256
205
it's so pretttttttttyyyyyyyyy
https://twitter.com/MrmoTarius/status/1546931303102259202 welp that was quick
I got inspired by today's JWST image reveal, and made a nebula shader :D
It's SDF-based and relies on some fairly heavy postprocessing; the scene consists of a single sphere with the shader material applied.
1079
170
No one tried to compare one to the other or said one should be learned at the cost of the other.
But that would be getting a bit off topic. I am free to hop on an off topic channel if you wish
i mean if someone says "coding is the new literacy" that strikes me as a comparison in importance TBH.
I agree that coding isn't really as important as reading and writing skills
It is typically meant that it is is one of the new life skills to navigate this brand new world
Sure, not everyone is meant to build the next startup, but at the very least, they get to understand that it is not just magic and give them the ability to automate and help themselves in their daily lives
hm
Yeah, this is like the kind of stance I think is good
well i will admit, computers are undeniably an important part of society. probably one of the most important parts of it.
*modern society
And if they're really interested, they can like pursue Computer Science once they're into it
Even a simple case like doing your budget on a spreadsheet is out of reach of most people outside of this discord
i have said in the past that if anything were to be taught, it should probably be basic automation. stuff like shell scripts, macros for your spreadsheet tool, etc.
Plus there is also the whole philosophical aspect about how the Internet has changed from having a lot of active participants to being a passive consumption channel (see youtube, netflix, twitter/tiktok)
Schools teaching Visual Basic
๐คฃ WE BRINGING BACK VB BOYS
VB and delphi were aweome
wait was Delphi taught in schools?!?
I recommend to check out lazarus even
I couldn't be bothered writing scripts in MS Office
Since I don't use it often enough
do you use MS Of- yeah
depends on the school. I can tall you a story where my TECHNOLOGY teacher freaked out when I minimized a windowd and I had to show her that no, I was not hacking the system or breaking things and brought the window back
i could not be bothered writing Makefiles for DOS- wait bad example.
Honestly I'm pretty annoyed that the Alt accessibility key makes Alt + Tabbing pretty annoying in MS Office
that gives me vibes of when i was in elementary school and me and my friends found out about inspect element.
we were changing the Dreambox website (hats off if you remember that site) all the time.
instead of doing our damn math work. ๐คฃ
curiosity is the mother of invention
How and why was she freaking out over the simple act of minimizing a window?
she didn't know about it...
did she actually not know about minimizing a window? 
When was this?
she must have been an epic tiling window manager user. \s
Remember that this discord is a self selected zone
In the real world, people are a lot less knowledgeable
Also my story happens like 20 years ago
true, important to put things in perspective.
actually more than that
I could probably be a parent of most kids here
there is a disturbing theme of me underestimating the ages of people here.
you are 18 right?
I'd be genuinely still surprised if people didn't know how to minimize windows in 2002
17
even as an educated engineer I still curse at my printer ๐
printors
i hate printers.
my papa's printer breaks all the damn time and i have to fix it.
Why do printers decide to not work when I actually need to print something
I have to use HP's repair software often
Even the scanner which is a part of the printer decides to not work when I need to scan
I still scan documents
no no no nolike
And I also don't like the quality of photos
what are you scanning them for.
School related stuff
scanners are useful for all the paperwork
oh ok i will accept that.
then you can index it
It's like I can't get the lighting right and I can't get it flat
put the phone on the paper ๐ฅด
you can probably move your phone's legs out to stand on.
Dumb human hands making a shadow and also not level
consider emitting photons
Paper is a nightmare. Environmental issues aside, thereโs no excuse for it in the 21st century. It takes up space, collects dust, doesnโt support any form of a search feature, indexing is tedious, itโs heavy and prone to damage & loss.
moths are bros
stop the paper hate
wgat did paper do to you
Oh it is an Angular app
save the planet and save space
I need to eat lunch
can i have lunch
๐
fuk the planet
You are lunch
Eat yourself
And eat VM Overlord crabs
that's fine, you are the younger one inheriting the planet. I will be dead by then
recurse? oooh
and I will do it again
how does it feel to be covered in stripes
You're a tiger
eye of a tigr
You are the tiger shrimp
Orithyia sinica, sometimes called tiger crab or the tiger face crab, is a "singularly unusual" species of crab, whose characteristics warrant its separation into a separate genus, family and even superfamily, having previously been included in the Dorippoidea or Leucosioidea. Its larvae, for instance, are unlike those of any other crab.
You are the tiger crab
CRAB
why does my cat
sleep with her face literally burrowed into the bed
like
how does she fucking breath
cat pictures
Ostrich cat
Pickle C creature
Yeah so
for some reason
__CHASH_NEXT_SIZE fails on UNIXWare..

OH WAIT
THATS PROBABLY NOT IT. ITS PROBABLY THE THRESHOLD CODE.
@rare moat Hmm,do you run NextStep on your VM?
i need to get around to installing it. why?
why the double underscores?
that is in a macro, so it is to avoid any name collisions with existing variables.
makes sense
TBH, i lack a few older UNIXes.
the most esoteric UNIXes i have are:
- ULTRIX
- Version 7 UNIX
- UNIXWare
currently, neither ULTRIX nor V7U are running right now, though.
Hmm, one last question
shoot
Do you have Microsoft's Unix? Xenix
now that.
do you have the most used operating system in the world - MINIX 3?
is something i do not have
i have an computer with an Intel CPU, so yeah. ๐คช
fair enough
cannot believe they actually do that.
actually, now that intel is losing market share, it may be less than android
i was shocked when i learned they do that.
i wonder if you can even get Xenix anymore..
if so i might actually give a shot at installing it right now.
Xenix was the variant of UNIX originally published by Microsoft, later sold to SCO. It added a variety of technical enhancements over System V Unix, including a menu-driven business shell. It was ported to many different platforms from a PDP-11 including the Altos 8600 (First x86 port), IBM PC, Intel System 86, TRS-80 Model 16, SCP Gazelle II, a...
awesome, you can.
glad to see it is still running strong
๐คฃ yeah me too.
honestly i am shocked 51 people even know of it.
What.
oh, it was sold to SCO.

those people have enough UNIXes.
- OpenServer
- UNIXWare
- Xenix
they need to Stop.
Tru64 Unix
NO
STOP RIGHT THERE
if you do want a list of every VM i am running right now, though:
DEC VMS
(examples) >>= vmctl_list
Currently active virtual machines (TAPs):
TAP Name IP Alias PID
tap_debi11_2 debian11_2_0 663
tap_obsd7_0 openbsd7_0 664
tap_mint20_3 linuxmint20_3 665
tap_ssol10 sunsolaris10 666
tap_nbsd9_2 netbsd9_2 667
tap_osol10 oraclesolaris10 668
tap_fbsd13_0 freebsd13_0 669
(examples) >>=
on my current machine, and on my other computer:
- UNIXWare 7.1.4
- OS/2 Warp 4.52
- DragonflyBSD
i think i might have a problem.

Try running the PlayStation 3's OS :)
interesting, it is a BSD.
The PlayStation 3 system software, is the updatable firmware and operating system of the PlayStation 3. The base operating system used by Sony for the PlayStation 3 is a fork of both FreeBSD and NetBSD known internally as CellOS or GameOS.[4][1] It uses XrossMediaBar as its graphical shell.
G A M E O S
GamerOS
Best Nix OS is obviously Hannah Montannah Linux
obviously
GamerOS - Ubisoft's new competitor to steamOS
it runs on the Gamer architecture
and its battery runs on GFuel
OH MY GOD ITS A TARBOMB.

or i guess in this case, a 7zbomb
alright lets get this guy started..
uhhhh its true
when the uhhhh
aughhhhhhhhhhhhhhhhhhh
uhhhh i dont know
uhhhhh
uhhhhhhhhhhhhhh
uhhhhhhhh
uhhhhhhhwwwuuuu
more uhhhhhhhhhhh
uh uh
"UHHH..." time card from SpongeBob episode "Rock-a-Bye Bivalve" in Season 3. (03/29/2002)
http://www.nick.com/
the uhh
pydis lore confirmed?
.bm pydis lore confirmed
Guys i got a new iPhone with those new jacks and i got some earphones (wired) but when I plug them in it asks me to connect? Anyone care to explain this ๐ญ the iPhone is the iPhone 11
anyone here watch python videos because the girl is too cute?
no and that's a weird thing to say
tf
@brisk edge congrats on Helper!
Good code that you were not able to write before, brings satisfaction. https://www.youtube.com/watch?v=a0fkNdPiIL4
Benny's ladies demonstrate the operation and function of heavy-duty tools and machinery, such as the battery drill, belt sander, and angle grinder. Instructional text is also displayed to assist you in the lesson.
Finally ideal python package importing
i am a sentence
say I have the words "i am" selected, what can I do in Vim to deselect that and select the rest of the line?
it's just for vimium in chrome, i want to easily select specific text on a page
jack the repr ๐
lol
print(@unreal sigil.__repr__)
How did u ping inside the ``?
hahahaha jack the repr. Oh Python Discord, you are too punny sometimes.
Hint: ||I didn't||
Lmao
hey guys, what are the coolest gadgets in a budget of around 250$
Guido van Rossum
1: don't multipost
2: why can't you do it yourself?
Virustotal exists
@native cobalt did you say gotham?????
crimes are a serious matter๐ง


virus total bro
VirusTotal
the serif font in the discord
Wow it's been a long time since I've seen a worsershitcord screenshot
Modded Discord Client ๐
What do you mean by legit?
Even if it is what it says it is, its an illegal copy of MS Office
Sweet, so you will remove the link then?
Yup
@heavy canopy so that errored out for me. /svc and /v can't be used together it seems
try it reversed
like tasklist /svc /v
same error, looks like you need to choose between /svc, /v, or /m
that lists all the processes I'm running and their PID
can I see the format
thx
this isn't a python question
hello, i have been trying to connect my windows 7 to my tv to extend screen
but I can't
i literally tried every video in yt
such as add a device and chrome browser to cast
yo wait do you know anything about parsec? and is it safe?
My god, the font ๐คฎ
!rule 8
8. Do not help with ongoing exams. When helping with homework, help people learn how to do the assignment without doing it for them.
what's java? never heard of it ๐
Nothing, leave it
Coffee bean. Often used in the generation of Python code
If anyone wants to vibe to a fucking jam of an alt-poprock song: https://www.youtube.com/watch?v=XbvoLAK7fIs
Provided to YouTube by pretty havoc.
ATOM BOMB ยท pretty havoc. ยท Kellin Quinn
ATOM BOMB
โ 2022 pretty havoc.
Released on: 2022-06-17
Auto-generated by YouTube.
It's owned by Unity, the people who make the game engine and may merge with a malware company called ironSource
Victory... I'm so tired. This single method took me almost an hour to figure out. ๐ฅด
def add_logging(self, level: str | int | None = None) -> None:
"""
Set the root log level for stderr output. If empty, config level is used.
Args:
level: String or Int representing logging level. (e.g.: "DEBUG", 10)
"""
level = level.upper() if isinstance(level, str) else level
config_level = self.config.get("DEFAULT", "logging_level", fallback="DEBUG")
config_fmt = self.config.get("DEFAULT", "logging_format", fallback="")
# Create our handler for root logger, don't touch existing handlers
handler = logging.StreamHandler()
handler.set_name("yolk_core")
handler.setFormatter(logging.Formatter(config_fmt))
logging.getLogger().addHandler(handler)
# Apply desired level to root logger
logging.getLogger().setLevel(level if level is not None else config_level)
what that
A piece of a larger project to unify all the usual steps I do in a run-time initialization.
Working on getting logging tucked away in the main class. Add logging at given level. Probably a set_format() to allow custom formatting. Maybe as far as add_handlers() to allow file/stream handlers.
I'm basic with logging though so trying not to over build. xD
Hmmm. .add_logging(level), .get_logger(name), .add_log_file(filepath, level) Maybe.
I gave up to making such things, now i just use loguru everywhere
@graceful rampart hello creatura
hell o
hi
Uh ? Iโm talking about the remote work desk thing
Yes, and Unity owns it
I'm a bit doubtful of Parsec's safety too ever since that merger Unity announced
Hi im so hungry cant wait for dinner
Ate dinner at home normal portions ....not full so I probably snacc later onli feel full at eat all you can restos
took me too long to make. tkinter + mathplotlib
had to make the colour gradient myself manually
hmm familiar otn
I virus totaled it it seems fine
The merger's a recent event so of course ironSource's influence hasn't started yet
But I'm still wary given the sudden shift from Unity Technologies's higher ups (especially John Riccitielo)
While I do like loguru it does involve yet another package to put into requirements and sometimes that is a pain point. Standard library logging works for me, I don't need it to be fancy. The idea of runtime-yolk is to just run Yolk() and you're done. In the odd case I need a file output, a different config loaded, or a remove .env loaded there are little helper functions for that. :)
hurt 100
i restarted the computer (tbh i dunno what happened then), then i tried to fix the registry by using sfc and dism, then i checked the disk with diskpart.
now im here
Yea same thing happend to me I just reset it a few times and it re loaded all of my users
cool
did windows also eject the C:\ drive?
what the font
i said "f*ck" 69 times in this server ๐
yo
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int cnt,num,task,temp,minn,maxx,mid,help,leftt;
int num_worker[10000];
int main()
{
cin>>cnt;
for(int i = 0;i<cnt;i++){
cout<<" ow";
cin>>num;
printf("num");
cin>>task;
printf("task");
for(int j = 0;j<task;j++){
num_worker[j]++;
}
cout<<"here";
leftt = 0;
help = 0;
minn = 1;
maxx = task*2;
while(minn<=maxx){
mid=(task+minn)/2;
for(int j=0;j<task;j++){
if(num_worker[j]>mid){
leftt+=(num_worker[j]-mid);
help+=0;
}
else if(num_worker[j] == mid){
leftt+=0;
help+=0;
}
else{
leftt+=0;
help+=((mid-num_worker[j])/2);
}
}
if(help>=leftt){
maxx = mid;
}
else{
minn = mid+1;
}
}
cout<<mid;
}
return 0;
}
```why it takes unlimited input after task?
line 14
Apparently yes, because the boot sector can't be found
now you f--ked it up
69 ๐
ummm... nice
I dislike it when project would take so long
rate my fit guys
personally, i think a longer skirt would fit better. but, it's up to you, not us
i like it like this i think its the perfect size
then rock it then
Hi... I know it's a python server but I have literally two lines of bash code that don't work...
echo "$dir"```
**Here's the error:**
```dir: cannot access '=': No such file or directory
*directory I'm currently in:
*files in the directory```
does anybody spot the error?
somehow it works if I remove the spaces in the first line
yes, that's the problem
Bash is very odd, and spaces matter. In this case, assignments need to be in the form dir=$(pwd).
It's taken me longer to get the cli piece done too T_T
Actually just starting on it.
how do you even eat that
Yep and actually ate 10 Big Macs and 10 large fries in one sitting several times in the past...Still can
๐
Moar patties
See I feel better now
lol
Blink your eyes and fud disappear like magic
ya'll have huge appetite ๐ฟ
Yeah I eat to feel better
1 burger and i'm good for a day
can't eat 2 tbh that'd be overkill
(in one sitting that is)
Can relate
Altho im hungry almost all the time except when I go to eat all you can resto
blarg... most of the work done before I need to retreat and gather strength for work. Took me nearly an hour of trying to juggle converting a string to a list to key:pairs and back while maintaining comments before I went "Oh snap, regex solves this in three lines!" 
https://github.com/Preocts/runtime-yolk/pull/8/files
regex moment, it's such a powerful tool yet one of the hardest to git gud at
We won't talk about how ugly this function (and its two helper functions) was before I remembered patterns exist.
def _update_key(key: str, value: str, contents: str) -> str:
"""Updtes key=value, returns contents. Raises KeyError if key is missing."""
key_pattern = re.compile(rf"{key.upper()}(\s+)?=")
sub_pattern = re.compile(rf"{key.upper()}(\s+)?=.+")
match = key_pattern.search(contents)
if not match:
raise KeyError("Key to update was not found in file.")
return sub_pattern.sub(f"{key.upper()}={value}", contents)
it honestly looks pretty good
and I still think I'm doing more work than needed. Pretty sure I can have one pattern that matches the key:value in a group and then just sub the value from that pattern.
Updtes
very readable imo
no docker?
sad
https://github.com/Preocts/runtime-yolk/commit/e75a672b10eb3372b99426c77f194482a06fc3c4 Oh yeah, GitHub lets you edit things.
No, I just use wsl2. But I just nuked it and the rebuild script is still running. Usually takes 15 minutes.
I hope to be in bed by then. 
๐ฌ 15 minutes bruh
oh boy
blame ms store for their fantastic download speeds.
One day I'll get vm virtualbox working and have images to just click and boot.
something something my AMD chipset doesn't like some rogue setting and just freezes the vm.
goodnight!
u could put match inline with if statement since u do not use it elsewhere. also sub pattern is the key pattern for use u have
depending on what u do to call the entire thing could be just sub pattern return one line. if raise is not value that is
n
o
I feel ya. I'm still not done with a 2000 lines project. Ugh. Definitely taking a break after that
fine i'll get it ๐ฟ
get what ?!
the honda civic at 3am๐ณ
do this in beamNG 
just casual driving
its not a civic but sure lmao
will try to
i know im just joking lolll
no i mean the game
competizone or the usual one
whats the games name? ive never seen it before lol
assetto corsa
mhm nice
going to leave this here
delete this

๐ซ goodbye
this makes me want to play Forza
interesting
how is this allowed
thats so pretty
That's very classy
hello everyone
hello
hru
so where are you from?
russia
arabia saudi
how are the bears : )
huh. i think he get mad ?
it was a joke...
oh what
sorry
iโm watching a series
iโm not mad xD
looks cursed. i do wonder what text editor was used.
notepad++
I take personal offense to this otn
working as intended
Helpers have skill issue
no u
penguins are epic
I see some highly intelligent ppl here
Helpers are server monkeys
come again ๐๏ธ
some servers' helpers are server monkeys
.bm skill issue moment
hah thats a clip of me and my homies back in 1699, in the jungles of the middle east. good times bro
dayum
penguins are uncool
guys is there any wait until command in python?
For example wait until list is not empty
List is empty, wait until there is at least one element in list
in multithreading?
no the function I want to use it is synronous. But an another threading function affects the list.
But main code is asynchronous
I'll write to general chat
While len(list) > 0:pass
u no
!rule 9 sorry bud
whoops sorry, thank you though
how much plastic would a plastic chuck chuck if a plastic chuck could chuck plastic
r705
actually
border-radius: 10px; sounds like good guess
Ya ever have a moment that you're installing your library from git and just can't figure out why your changes are doing nothing? Only to understand that you haven't pushed the changes?
No, but I have had that moment where I realized that my changes aren't showing up because I forgot to push a new release to PyPi
I was staring at GitHub going all the commits are right here
Yeeeup
Holy heck success...
(venv) preocts @ Preocts ~/python-src-template (preocts-20220720)
โโโถ $ ls vendor/module_name/sample_data/
__init__.py __pycache__ sample.csv
sample.csv is finally included
Thank you @restive remnant , your links once again proved super helpful.
Happy to help
I was in the middle of a "small" restructure last night, pulled in my handy template, was readjusting the tests to run on more agreeable terms, and then realized I wasn't getting the single datafile in the mix. Dinked with it for 30 minutes and finally just cut the json template out of the data file and tossed it in a .py file for import.
Now I can go back and make that right. 
@tranquil sleet My eldest son went off to study maths at University. He reckoned I'd get on well with one of his lecturers who he said was kicking off an open source mathematics research project and I should take a look.
So I did, and disappeared down a rabbit hole from which I'm yet to emerge!
I used it as part of teaching his younger brother Python!
for a while, he had the highest scoring strategy in the project. And then machine learning people found it
oh man, the luck of the draw
yeah, an odd connection for sure
honestly hearing how things started for you is such a stress relief for me because I've been stressing myself out for no reason because I haven't been... lucky enough to land on things that I am passionate about
i haven't touched python in a week! been drawing a little and i've been far more relaxed than i've ever been
If I look back, every single opportunity that has worked out for me has been something that I could not have predicted. I try to work hard, learn stuff, help people, stick to my word, deliver what I promised and, over time, stuff finds me via word of mouth.
When people ask what my plan was/is, I just laugh. There has never been one and never will.
๐ญ same! I should probably stop stressing out needlessly(though I'm job hunting so I can let some stress slide)
this just puts a smile on my face, OSS is truly fascinating, someone with no good educational background can be just as good/knowledgeable as those PhD holders
I very much believe it's harder for those starting out now than it was for me. Hope the hunting goes well.
yeah it's quite a tough field to land first job but oh well can't really complain
Yeah, he was 15 or 16 at the time. It was hugely entertaining!
he realised that some of the tools we'd build in the library (plots that we output) hadn't been available when the original tournaments happened and he could use those to create strategies that were better
no, this started in 2015
neato, those repo hunters are modern day archeologists
finding a gem of a repo with little to no stars on github can be super duper exciting
There's a great talk by Daniele Procida on that subject. Let me find it...
aye
All about how power and influence is lying around waiting to be grabbed in the OSS world, unlike pretty much any other field of human endeavour
I'll save this one for tonight when i'm delivering cargos across europe
definitely not in euro truck simulator
well, good luck waiting in the queues for Dover if you're going anywhere near this country!
๐คฃ
i believe that was my destination about 2 deliveries ago and i must say, they did the traffic really well ๐คฃ
not a realistic simulator, then?!
wait Dover isn't jam packed with traffic?!
ah! I see. You mean they accurately simulated parking you on the M3 for days at a time?!!
whilst slinging bottles of driver tizer out of the window
๐ญ
https://youtube.com/shorts/r-iL_pCzBHc?feature=share
automated rubber ducking, anyone? 
GitHub Copilot can help you understand your code by explaining it in plain English, long form English, explaining the syntax, and showing examples of the code's output.
Read more about GitHub Copilot: https://copilot.github.com/
Read more about GitHub Copilot Labs: https://next.github.com/projects/copilot-labs/
Download GitHub Copilot: https://...
Wait, am I hearing this right? A 15/16 year old in university?
"younger brother"
nani?
.bm explaining code
I dont have potatoes now
๐
Look at what these game devs are trying to pass off as an .ini file
https://pingperfect.com/index.php/knowledgebase/971/Ark-Survival-Evolved--How-to-change-Engram-Points-Earned.html



