#ot2-the-original-pubsta

652 messages ยท Page 135 of 1

rich crater
#

rust is the new kid on the block with some interesting concepts

#

it will be fun and interesting to learn

cosmic cape
#

hmm okay thanks

#

how is Rust's memory management?

rich crater
#

(and also part of the point to it)

dusky cliff
#

smh not you too

cosmic cape
#

is a function of ```rust
fn main() {
println!("hello world");
}

supposed to take this long? `[Done] exited with code=0 in 0.705 seconds`
rich crater
daring jay
#

I/O may take a while

daring jay
cosmic cape
dusky cliff
daring jay
#

uhh idk, i always use cargo build or cargo run

rich crater
dusky cliff
#

hm

cosmic cape
daring jay
cosmic cape
#

uhh

daring jay
#

iirc they talk about in chapter 1.3 or chapter 2

cosmic cape
#

what book?

daring jay
#

it is the book

rich crater
#

there was also something like rust in 30min for people who already know other languages. It was pretty neat

dusky cliff
#

does anyone start with rust as their first language :P

daring jay
#

the hardest parts of learning rust are the
a) correctness; and
b) getting used to the borrowck.

dusky cliff
#

i'm still in the "if it doesn't work throw a .clone() at it" phase

rich crater
daring jay
#

lmfao we all are

daring jay
rich crater
#

That means it does not wake me up at 4am on my week ends

cosmic cape
#

how can I make the intergrated terminal allow me to type in commands?

#

right now it's only "read-only"

remote widget
#

That's the Output tab

#

The terminal one is next to it

cosmic cape
#

whoops

cosmic cape
#

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?

willow plinth
cosmic cape
#

vscode

#

do you know how I do it?

willow plinth
#

type auto save in the settings

cosmic cape
#

thanks

cedar turtle
gray plover
#

Guys look

#

plz don't hurt me

#

i'm switching to rust lover

#

๐Ÿฆ€

willow plinth
grim beacon
grim beacon
#

mainly because of static linking and monomorphism

#

a hello world binary can be decently "large" also because of that

limber pollen
#

But rustc is generally fast nowadays

cosmic cape
grim beacon
#

cargo run

limber pollen
#

Do you know of cargo yet?

grim beacon
#

cargo build if you just want to build

cosmic cape
#

I just know that I installed the cargo

limber pollen
#

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

grim beacon
#

You should read the rust book

#

It goes over basic Cargo stuff at the start

limber pollen
grim beacon
#

They also have a dedicated cargo book too

willow plinth
#

I like that guide, its well put together

cosmic cape
grim beacon
#

yes you need to have a cargo package

#

have you ran cargo new proj_name

cosmic cape
#

yes

grim beacon
#

can you show

cosmic cape
#

it made these

grim beacon
#

cd into testing

cosmic cape
#

oh okay

#

thanks

#

yeah I just saw the book

grim beacon
#

๐Ÿ‘

cosmic cape
#

once i restart vscode, do I have to cd into testing again?

grim beacon
#

if you were in it last session, no

cosmic cape
#

is there a shortcut method to run the file instead of doing cargo run each time?

grim beacon
#

install rust-analyzer

#

extension

#

it should add a run button on top of main

cosmic cape
#

you mean the arrow on the right top?

grim beacon
#

look above fn main

cosmic cape
#

oh okay

#

is that a shortcut method to cargo run? Or is it running under vscode

grim beacon
#

press the run above fn main

cosmic cape
#

yeah, i saw that

willow plinth
#

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

cosmic cape
#

so is there a shortcut method to running the whole file?

willow plinth
cosmic cape
#

i'm not sure you're understanding

grim beacon
#

are you asking how to run the whole project?

#

if so, that is what cargo run does

cosmic cape
#

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?

grim beacon
#

press the run button on top of main...

#

if your terminal/shell allows, you can press up arrow to go to previously executed commands

cosmic cape
#

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?

grim beacon
#

i thought it should put you where you left off last time

#

it does that for me

cosmic cape
#

weird maybe there's a setting

radiant socket
#

just use clion ๐Ÿ˜ฉ

grim beacon
willow plinth
foggy flicker
#

ms paint

willow plinth
patent elbow
#

@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

steel eagle
#

Who are you talking to

#

There's nobody responding

#

Yet you talk like you're answering things

mental idol
#

I've been known to do the same rooDerp1

#

Microsoft Teams recently gave us the ability to DM ourselves. "Now you can talk to yourself!" was the selling line.

radiant socket
brisk edge
#

you don't need Teams to talk to yourself

radiant socket
brisk edge
mental idol
winter cove
cedar leaf
#

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.

frail grove
south skiff
#

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

jovial island
#

iq

south skiff
#

?

jovial island
#

what i said is not related to whatever u said

wicked hollow
#

@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.

jovial island
#

i would say high iq people just have better education

wicked hollow
#

I don't think so - IQ usually peaks somewhere around elementary school, IIRC

#

adults' IQs fall throughout their lifetime

jovial island
#

hmm interesting

#

countries with better education tend to have higher average iq
(see europe compared to africa and south asia)

wicked hollow
#

yes, but also better nutrition and more leisure time

jovial island
#

yes

wicked hollow
#

and lower rates of childhood diseases

jovial island
#

quality of life in general stare

wicked hollow
#

and lower levels of environmental lead

#

there's a ton of confounding factors.

#

IQ tests analyze pattern recognition more than anything else

jovial island
#

more or less yeah

wicked hollow
#

and spatial reasoning, to some degree

#

and amount of education doesn't really correlate with either of those.

jovial island
#

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

south skiff
#

i thought about intelligence alot and i don't think that there is any equal measurement on intelligence tbh

south skiff
south skiff
#

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 ๐Ÿ™

wicked hollow
#

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.

south skiff
#

but someone can get better iq test result after learning the "patterns" in the tests.

wicked hollow
#

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.

south skiff
#

i see, so in the end the question would be what it is that iq is measuring?

#

would it be logical reasoning?

south skiff
wicked hollow
#

"intelligence" is pretty well defined, psychologically speaking, but it's not terribly clear if IQ tests measure intelligence.

south skiff
#

ah i see

#

do you think IQ test is more related to pattern recognition and logical reasoning than "intelligence"?

wicked hollow
#

Wikipedia has some context on the debate over what exactly it is that IQ tests are measuring

south skiff
#

thank you

wicked hollow
#

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.

south skiff
#

yeah

south skiff
wicked hollow
#

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.

south skiff
#

i'm sorry for taking your time. it was a very good discussion. thank you ๐Ÿ™

wicked hollow
#

๐Ÿ‘

jovial island
#
[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?

thorny sierra
#

hey

swift cobalt
#

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

hazy laurel
#
*meow meow*
_meow meow_
**meow meow**

__meow meow__
~~meow meow~~

I lied... maybe only italicize and bolden

clever salmonBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

woven cape
#

thanks, useful bot

swift cobalt
#

***italics and bold***

#

italics and bold

willow plinth
#

***```py
print('Bold italic code block')

soft nymph
sharp bronze
#

You could use a for loop to initialize the ldvel dict

#

Level*

#

Also the ext is .py not .yp

soft nymph
#

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?

jolly egret
#

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?

soft nymph
#

ctrl+shift+escape work?

sharp bronze
#

So something like
for i in range(x):
levels[x] = x*b

jolly egret
soft nymph
#

right fair, but id need to remember how to do algebraic curves again i believe

jolly egret
sharp bronze
#

Huh

#

Not really

#

A for is just a for each item in x iterator

#

So pointless imo

jolly egret
#

Can someone help me please?

soft nymph
#

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...

โ–ถ Play video
hazy laurel
#

meow

woven cape
#

roar

foggy flicker
#

bleat

sharp bronze
#

uwu

willow plinth
#

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

versed wigeon
#

i can't visualize that but ok

lofty loom
tranquil sleet
woven cape
#

im minger now

wheat rock
#

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

woven cape
wheat rock
#

typing without thinking about typing is what i need

woven cape
#

๐Ÿ˜ˆ

wheat rock
#

nice

#

my atb is 116 ๐Ÿฅด

woven cape
#

my graph makes no sense

woven cape
wheat rock
#

all time best

wheat rock
woven cape
willow plinth
lofty loom
#

๐Ÿ‘‰๐Ÿ‘ˆ

foggy flicker
#

๐Ÿฆถ ๐Ÿฆถ

zealous hazel
foggy flicker
#

we'll have yours then

woven cape
jovial island
#

How to write your text to the 2nd line of the file?

swift cobalt
zealous hazel
fleet moth
#

guys how do i do the home thingy in discord server

bitter breach
#

It is in beta and not available to everyone yet, wait for discord to roll it out

fleet moth
#

oh ok

reef mauve
#

how do i make it so when i left click a file it says edit with software as an option

bitter breach
#

U need to add add a entry to context menu via regedit

reef mauve
bitter breach
#

Yes

reef mauve
#

thanks

bitter breach
reef mauve
bitter breach
#

๐Ÿ˜‚

reef mauve
#

guess i dont know my directions

coral lantern
bitter breach
steel eagle
simple river
zealous hazel
#

yes yes

#

i can confirm

wheat rock
willow plinth
#

D::

zealous hazel
#

and

#

I FEEL ALIVE

foggy flicker
#

monkes are just big monkeys

formal hound
#

Who is the ass?
A: pydis_nope_py
B: ๐Ÿ—ฟ
C: pydis_dye
D: logo_vscode

fathom halo
#

D

formal hound
#

Bro even the dice begin with a 0 ๐Ÿ’€

brazen jacinth
#

@grim seal you have obviously taken bike stealing courses, mind giving me some tips?

grim seal
#

don't get caught

wheat rock
#

get don't caught

slow valve
#

everything is legal until you get caught

tranquil sleet
dim panther
#

Sooo

#

What's the idea behind naming off topic channels in this server ?

#

Just names I guess ?

slate leaf
#

!otnames

#

!off-topic-names

clever salmonBOT
dim panther
#

Ah ah

#

Thanks

slate leaf
#

They are just mods, admins and owners being silly

dim panther
#

Oh got it

#

Let's talk some shit then and make fun of java developers

#

๐Ÿž

slate leaf
#

They just haven't seen the light yet

dim panther
#

They are busy making coffee

#

Hot coffee

#

In a cup

simple river
#

Dear Joe

#

I would love to learn bike-stealing from you

#

Sincerely Kermit

dim panther
#

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 ?

brazen jacinth
tranquil sleet
#

something along those lines

brazen jacinth
tranquil sleet
#

he looks so happy lemon_happy

simple river
#

Hmm

#

I don't know if I should respond

tranquil sleet
# jovial island

oh man you didn't have to make me homesick that way ๐Ÿ˜ญ

jovial island
#

hey rusty !

#

lmao

tranquil sleet
#

jeddah โค๏ธ ๐Ÿ˜ญ

jovial island
#

wait what

#

thats crazy tbhtbhtbht

#

i was just trying to get those files on my phone

tranquil sleet
#

lol

jovial island
#

so i figured i'd send them here then save them

tranquil sleet
#

yeah figured

jovial island
#

jeddah is pretty cool thotho

tranquil sleet
#

god i miss it so much

jovial island
#

been there once or twice

#

i live in Riyadh rn

tranquil sleet
#

must've had albaik then

#

ah

jovial island
#

was great for sure

tranquil sleet
#

no fried chicken beats it

jovial island
#

ong ong

#

their sauces

#

hits dif

tranquil sleet
#

been 2 years god damn heckin covid

jovial island
#

well hope that the place you're living in now is better

tranquil sleet
#

india couldn't be any worse

#

electricity could go out any minute now ๐Ÿ’€

jovial island
#

oh damn

tranquil sleet
#

it's so pretttttttttyyyyyyyyy

rare moat
#

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.

lofty loom
#

I agree that coding isn't really as important as reading and writing skills

rich crater
#

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

rare moat
#

hm

lofty loom
rare moat
#

well i will admit, computers are undeniably an important part of society. probably one of the most important parts of it.

#

*modern society

lofty loom
#

And if they're really interested, they can like pursue Computer Science once they're into it

rich crater
#

Even a simple case like doing your budget on a spreadsheet is out of reach of most people outside of this discord

rare moat
#

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.

rich crater
#

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)

lofty loom
rare moat
#

๐Ÿคฃ WE BRINGING BACK VB BOYS

rich crater
#

VB and delphi were aweome

rare moat
#

wait was Delphi taught in schools?!?

rich crater
#

I recommend to check out lazarus even

lofty loom
#

I couldn't be bothered writing scripts in MS Office

#

Since I don't use it often enough

rare moat
#

do you use MS Of- yeah

rich crater
# rare moat wait was Delphi taught in schools?!?

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

rare moat
#

i could not be bothered writing Makefiles for DOS- wait bad example.

lofty loom
#

Honestly I'm pretty annoyed that the Alt accessibility key makes Alt + Tabbing pretty annoying in MS Office

rare moat
#

we were changing the Dreambox website (hats off if you remember that site) all the time.

#

instead of doing our damn math work. ๐Ÿคฃ

rich crater
#

curiosity is the mother of invention

lofty loom
rare moat
#

and that is how i met your mother

#

er, how i met C.

rich crater
rare moat
#

did she actually not know about minimizing a window? demonicgrowl

lofty loom
#

When was this?

rare moat
#

she must have been an epic tiling window manager user. \s

rich crater
#

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

rare moat
#

true, important to put things in perspective.

rich crater
#

actually more than that

rare moat
#

wait what? you are >20?

#

i thought you were like 19

rich crater
#

I could probably be a parent of most kids here

rare moat
#

there is a disturbing theme of me underestimating the ages of people here.

rare moat
lofty loom
#

I'd be genuinely still surprised if people didn't know how to minimize windows in 2002

lofty loom
rare moat
#

you do not act 17

#

wait

#

forget i said that sorry

rich crater
lofty loom
#

Ah yes, printers

#

Why aren't you working this time

rare moat
#

printors

#

i hate printers.

#

my papa's printer breaks all the damn time and i have to fix it.

lofty loom
#

Why do printers decide to not work when I actually need to print something

#

I have to use HP's repair software often

rare moat
#

because the people who designed the printers were sadists

#

plain and simple

lofty loom
#

Even the scanner which is a part of the printer decides to not work when I need to scan

rare moat
#

who scans stuff anymore

#

just take a Picture. ๐Ÿคช

lofty loom
#

I still scan documents

rare moat
#

for what

lofty loom
#

To scan documents

#

Because the scanner is already there

rare moat
#

no no no nolike

lofty loom
#

And I also don't like the quality of photos

rare moat
#

what are you scanning them for.

lofty loom
#

School related stuff

rich crater
#

scanners are useful for all the paperwork

rare moat
#

oh ok i will accept that.

rich crater
#

then you can index it

rare moat
#

index the paper work demonicgrowl

#

put it in a database

lofty loom
rare moat
#

put the phone on the paper ๐Ÿฅด

#

you can probably move your phone's legs out to stand on.

lofty loom
rare moat
#

consider emitting photons

lofty loom
#

But I will attract m o t h S

#

ng
Immediately I thought of Angular

rare moat
#

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.

rare moat
rare moat
#

wgat did paper do to you

lofty loom
rich crater
lofty loom
#

I need to eat lunch

rare moat
#

can i have lunch

lofty loom
#

๐Ÿ”

rare moat
lofty loom
rare moat
#

going to Red Lobster

lofty loom
#

And eat VM Overlord crabs

rich crater
rare moat
#

wow that is

#

morbid ๐Ÿคฃ

#

we have stipes

rich crater
rare moat
#

how does it feel to be covered in stripes

lofty loom
rare moat
#

eye of a tigr

lofty loom
#

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

rare moat
#

you know, speaking of crabs

#

this is how Rust works

#

you are crib

lofty loom
rare moat
#

CRAB

lofty loom
#

๐Ÿ˜ณ

#

I am not a house

rare moat
#

why does my cat

#

sleep with her face literally burrowed into the bed

#

like

#

how does she fucking breath

#

cat pictures

lofty loom
rare moat
#

WHAT

#

i am in a real pickle right now.

lofty loom
#

Pickle C creature

rare moat
#

Yeah so

#

for some reason

#

__CHASH_NEXT_SIZE fails on UNIXWare..

#

OH WAIT

#

THATS PROBABLY NOT IT. ITS PROBABLY THE THRESHOLD CODE.

lofty loom
#

@rare moat Hmm,do you run NextStep on your VM?

rare moat
#

i need to get around to installing it. why?

lofty loom
#

Just curious

#

What about IRIX?

round moss
#

why the double underscores?

rare moat
round moss
#

makes sense

rare moat
#

the most esoteric UNIXes i have are:

#
  • ULTRIX
  • Version 7 UNIX
  • UNIXWare
#

currently, neither ULTRIX nor V7U are running right now, though.

lofty loom
#

Hmm, one last question

rare moat
#

shoot

lofty loom
#

Do you have Microsoft's Unix? Xenix

rare moat
#

now that.

round moss
#

do you have the most used operating system in the world - MINIX 3?

rare moat
#

is something i do not have

rare moat
round moss
#

fair enough

rare moat
#

cannot believe they actually do that.

round moss
#

actually, now that intel is losing market share, it may be less than android

rare moat
#

i was shocked when i learned they do that.

rare moat
#

if so i might actually give a shot at installing it right now.

#
#

awesome, you can.

round moss
#

glad to see it is still running strong

rare moat
#

๐Ÿคฃ 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.

lofty loom
#

Tru64 Unix

rare moat
#

NO

#

STOP RIGHT THERE

#

if you do want a list of every VM i am running right now, though:

lofty loom
#

DEC VMS

rare moat
#

oh fun fact

#

VMS is coming to x86 soon.

rare moat
# rare moat if you do want a list of every VM i am running right now, though:
(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.

lofty loom
#

Try running the PlayStation 3's OS :)

rare moat
#

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

lofty loom
#

Best Nix OS is obviously Hannah Montannah Linux

rare moat
#

obviously

round moss
#

GamerOS - Ubisoft's new competitor to steamOS

rare moat
#

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..

rare moat
#

here we go

simple river
#

UHHHHHHHHHHHHHHHH

#

Is uhhhhhhhhhhhh

#

This uhhhhhhhhhhhhh

timber mango
#

uhhhh its true

brisk edge
#

when the uhhhh

radiant socket
#

aughhhhhhhhhhhhhhhhhhh

timber mango
#

uhhhh i dont know

foggy flicker
#

uhhhhh

rustic harborBOT
#

uhhhhhhhhhhhhhh

clever salmonBOT
#

uhhhhhhhh

lofty loom
#

uhhhhhhhwwwuuuu

real wing
#

ehHHH? #timallen

foggy flicker
#

more uhhhhhhhhhhh

brisk edge
#

uh uh

lofty loom
jovial island
#

the uhh

brazen jacinth
#

pydis lore confirmed?

brisk edge
#

that's just part 1

#

wait for the sequels

brazen jacinth
fast trench
#

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

jovial island
#

anyone here watch python videos because the girl is too cute?

dusky cliff
remote widget
#

@brisk edge congrats on Helper!

rotund python
#

Finally ideal python package importing

jovial island
#
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

willow plinth
#

jack the repr ๐Ÿ‘€

tranquil ridge
#

lol

normal veldt
lofty loom
remote widget
real wing
#

hahahaha jack the repr. Oh Python Discord, you are too punny sometimes.

lofty loom
remote widget
#

Lmao

jovial island
#

v

#

i need help can someone malware check a folder for me plsa

vale spire
#

hey guys, what are the coolest gadgets in a budget of around 250$

jovial island
#

Guido van Rossum

steel eagle
#

Virustotal exists

jovial island
native cobalt
#

lol

#

I just love how dead serious he is after he gets off the slide

jovial island
#

crimes are a serious matter๐Ÿง

native cobalt
#

shut

#

hooliganry

jovial island
native cobalt
remote widget
steel eagle
#

Literally already responded to

#

Twice

jovial island
#

XD

radiant socket
#

the serif font in the discord

steel eagle
#

Wow it's been a long time since I've seen a worsershitcord screenshot

remote widget
dim panther
#

Is this legit?

#

Tried checking bat file and looks ok

slate leaf
#

Even if it is what it says it is, its an illegal copy of MS Office

dim panther
#

I agree

#

And nobody should use illegal copies

#

Of course

#

It's illegal!

slate leaf
#

Sweet, so you will remove the link then?

dim panther
#

Yup

wheat aurora
#

@heavy canopy so that errored out for me. /svc and /v can't be used together it seems

heavy canopy
#

like tasklist /svc /v

wheat aurora
heavy canopy
#

then i guess the micosoft docs are wrong

#

just do /svc

wheat aurora
#

that lists all the processes I'm running and their PID

heavy canopy
#

can I see the format

wheat aurora
heavy canopy
#

thx

errant wharf
#

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

coarse wagon
# wheat aurora

yo wait do you know anything about parsec? and is it safe?

winter cove
rich crater
#

!rule 8

clever salmonBOT
#

8. Do not help with ongoing exams. When helping with homework, help people learn how to do the assignment without doing it for them.

compact moth
#

what's java? never heard of it ๐Ÿ

finite plinth
rapid void
wheat aurora
radiant socket
#

๐Ÿ‘€

#

it's p good

lofty loom
mental idol
#

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)
fluid plank
#

what that

mental idol
#

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.

bitter breach
lofty loom
#

@graceful rampart hello creatura

graceful rampart
lofty loom
#

hi

coarse wagon
lofty loom
#

I'm a bit doubtful of Parsec's safety too ever since that merger Unity announced

formal hound
#

E

digital bane
digital bane
#

Ate dinner at home normal portions ....not full so I probably snacc later onli feel full at eat all you can restos

knotty heart
#

had to make the colour gradient myself manually

fluid plank
#

hmm familiar otn

coarse wagon
lofty loom
# coarse wagon 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)

mental idol
# bitter breach I gave up to making such things, now i just use loguru everywhere

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. :)

brazen jacinth
#

hurt 100

steel eagle
#

"windows" doesn't just "do" that though

#

What did you do to get to that point

brazen jacinth
#

now im here

coarse wagon
fluid plank
nimble ivy
wheat rock
edgy apex
#

i said "f*ck" 69 times in this server ๐ŸŽ‰

wheat rock
#

70

twilit sundial
#

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

brazen jacinth
nimble ivy
jovial island
#

"Doesn't matter how many pieces u left with"

willow plinth
#

69 ๐Ÿ‘€

daring copper
#

ummm... nice

frail grove
jovial island
#

rate my fit guys

frail grove
#

personally, i think a longer skirt would fit better. but, it's up to you, not us

jovial island
#

i like it like this i think its the perfect size

frail grove
#

then rock it then

deft portal
#

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?
deft portal
tranquil sleet
errant seal
#

Bash is very odd, and spaces matter. In this case, assignments need to be in the form dir=$(pwd).

mental idol
#

Actually just starting on it.

steel eagle
#

Y'all ever just get hungry enough to order a full pounder from McDonald's?

tranquil sleet
#

how do you even eat that

steel eagle
#

I surprisedly can fit my mouth around it

#

Just barely enough to get a full bite

tranquil sleet
#

as expected

#

i'm gonna stick to my shawarmas

#

boorgirs that big are nono

digital bane
tranquil sleet
#

๐Ÿ‘€

digital bane
steel eagle
#

See I feel better now

tranquil sleet
#

lol

digital bane
tranquil sleet
#

ya'll have huge appetite ๐Ÿ—ฟ

digital bane
tranquil sleet
#

1 burger and i'm good for a day

#

can't eat 2 tbh that'd be overkill

#

(in one sitting that is)

steel eagle
#

I mean mentally I feel better

#

Physically I'm full AF

digital bane
#

Can relate

#

Altho im hungry almost all the time except when I go to eat all you can resto

mental idol
#

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!" rooDerp1
https://github.com/Preocts/runtime-yolk/pull/8/files

tranquil sleet
mental idol
#

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)
tranquil sleet
#

it honestly looks pretty good

mental idol
#

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.

radiant socket
#

Updtes

tranquil sleet
#

very readable imo

mental idol
#

I'll fix it tomorrow. Already nuked the vm.

radiant socket
#

no docker?

tranquil sleet
#

logo_docker sad

mental idol
mental idol
#

I hope to be in bed by then. rooSleep

radiant socket
#

๐Ÿ˜ฌ 15 minutes bruh

tranquil sleet
#

oh boy

mental idol
#

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!

jovial island
#

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

frail grove
jovial island
tranquil sleet
jovial island
#

get what ?!

tranquil sleet
#

is it comp or standard?

jovial island
median blade
jovial island
jovial island
jovial island
jovial island
tranquil sleet
#

competizone or the usual one

jovial island
#

whats the games name? ive never seen it before lol

tranquil sleet
#

assetto corsa

jovial island
#

mhm nice

zealous hazel
#

i hate toasters

#

i like my bread soft and sweet

jovial island
#

@foggy flicker

#

Hi

weary epoch
#

going to leave this here

jovial island
weary epoch
brazen jacinth
grim beacon
jovial island
fluid plank
fervent fiber
jovial island
#

hello everyone

abstract wing
jovial island
#

hru

abstract wing
#

so where are you from?

jovial island
#

russia

abstract wing
#

how are the bears : )

#

huh. i think he get mad ?

#

it was a joke...

jovial island
#

sorry

#

iโ€™m watching a series

#

iโ€™m not mad xD

frail grove
weary epoch
#

notepad++

restive remnant
#

I take personal offense to this otn

dusky cliff
#

working as intended

foggy flicker
#

Helpers have skill issue

tranquil sleet
brisk edge
#

no u

woven cape
#

penguins dont

willow plinth
#

penguins are epic

foggy flicker
#

I see some highly intelligent ppl here

lofty loom
#

Helpers are server monkeys

brisk edge
#

come again ๐ŸŽ™๏ธ

woven cape
#

some servers' helpers are server monkeys

lofty loom
#

Pee monkeys

brazen jacinth
zealous hazel
# tranquil sleet

hah thats a clip of me and my homies back in 1699, in the jungles of the middle east. good times bro

willow plinth
#

dayum

remote widget
twilit sundial
#

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

radiant socket
#

in multithreading?

twilit sundial
#

But main code is asynchronous

#

I'll write to general chat

brazen jacinth
fluid plank
brazen jacinth
#

!rule 9 sorry bud

clever salmonBOT
#

9. Do not offer or ask for paid work of any kind.

fallow veldt
#

whoops sorry, thank you though

jovial island
#

how much plastic would a plastic chuck chuck if a plastic chuck could chuck plastic

#

r705

#

actually

#

border-radius: 10px; sounds like good guess

mental idol
#

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?

restive remnant
#

I was staring at GitHub going all the commits are right here

mental idol
#

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.

restive remnant
#

Happy to help

mental idol
#

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. rooHappy1

rapid void
#

@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

tranquil sleet
#

oh man, the luck of the draw

rapid void
#

yeah, an odd connection for sure

tranquil sleet
#

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

rapid void
#

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.

tranquil sleet
#

๐Ÿ˜ญ same! I should probably stop stressing out needlessly(though I'm job hunting so I can let some stress slide)

tranquil sleet
rapid void
#

I very much believe it's harder for those starting out now than it was for me. Hope the hunting goes well.

tranquil sleet
#

yeah it's quite a tough field to land first job but oh well can't really complain

rapid void
tranquil sleet
#

oh wow

#

was this back in the 90s or quite recent?

rapid void
#

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

tranquil sleet
#

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

rapid void
tranquil sleet
#

aye

rapid void
#

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

tranquil sleet
#

I'll save this one for tonight when i'm delivering cargos across europe

#

definitely not in euro truck simulator

rapid void
#

well, good luck waiting in the queues for Dover if you're going anywhere near this country!

tranquil sleet
#

๐Ÿคฃ

#

i believe that was my destination about 2 deliveries ago and i must say, they did the traffic really well ๐Ÿคฃ

rapid void
#

not a realistic simulator, then?!

tranquil sleet
#

wait Dover isn't jam packed with traffic?!

rapid void
#

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

tranquil sleet
#

๐Ÿ˜ญ

sudden heron
#

https://youtube.com/shorts/r-iL_pCzBHc?feature=share
automated rubber ducking, anyone? ducky_bike

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://...

โ–ถ Play video
lofty loom
#

Wait, am I hearing this right? A 15/16 year old in university?

tranquil sleet
plush garden
#

I dont have potatoes now

mental idol
#

I .. the amount of work that went into parsing that into a list and then associating level with the index of that list is impressive.

#

"How do I override just level 100?"
....
.....
darn