#voice-chat-text-0

1 messages Β· Page 928 of 1

fresh python
#

For the input above, your program should return 5 because that is the value of the node that is the LCA of the two nodes with values 6 and 4. You can assume the two nodes you are searching for in the tree will exist somewhere in the tree.

#

Input: ["[5, 2, 6, 1, #, 8, #]", "2", "6"]
Output: 5
Input: ["[5, 2, 6, 1, #, 8, 12, #, #, #, #, #, #, 3, #]", "3", "12"]
Output: 12

robust pivot
#

no thanks

#

πŸ˜Άβ€πŸŒ«οΈ

fresh python
#

dayum =\

tiny socket
#

@dense ibex alive?

viral stirrup
#

hi @wind raptor

#

do you remember me

wind raptor
#

Hey

#

Vaguely

junior kayak
#

uhhh

#

can someone help me

#

i'm tryying to excecute this line of code

#

and getting this

#

@somber heath i hard u were really good

#

heard

somber heath
#

!e py number_as_text = "5" #type str number_as_int = int(number_as_text) print(number_as_int)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

5
somber heath
#

!e py num = "5.5" num = float(num) print(num)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

5.5
somber heath
#

!e py print(type("5")) print(type(5)) print(type(5.0))

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

001 | <class 'str'>
002 | <class 'int'>
003 | <class 'float'>
robust pivot
#

anyone wanna play discord gold with me

sinful igloo
#

Hey

gentle flint
sinful igloo
#

Guys

#

Hello

#

I made a code

#

Which has 100 lines of code

#

And I am facing tab error

somber heath
#

!indent

wise cargoBOT
#

Indentation

Indentation is leading whitespace (spaces and tabs) at the beginning of a line of code. In the case of Python, they are used to determine the grouping of statements.

Spaces should be preferred over tabs. To be clear, this is in reference to the character itself, not the keys on a keyboard. Your editor/IDE should be configured to insert spaces when the TAB key is pressed. The amount of spaces should be a multiple of 4, except optionally in the case of continuation lines.

Example

def foo():
    bar = 'baz'  # indented one level
    if bar == 'baz':
        print('ham')  # indented two levels
    return bar  # indented one level

The first line is not indented. The next two lines are indented to be inside of the function definition. They will only run when the function is called. The fourth line is indented to be inside the if statement, and will only run if the if statement evaluates to True. The fifth and last line is like the 2nd and 3rd and will always run when the function is called. It effectively closes the if statement above as no more lines can be inside the if statement below that line.

Indentation is used after:
1. Compound statements (eg. if, while, for, try, with, def, class, and their counterparts)
2. Continuation lines

More Info
1. Indentation style guide
2. Tabs or Spaces?
3. Official docs on indentation

somber heath
#

Use space characters or tab characters for indentation. Never both in the one module.

gentle flint
#

laptop guard

brave steppe
#

What am I looking at?

gentle flint
#

carpeting

#

I want a rug which matches

#

and which is not a floral design belonging to a boomer

wise cargoBOT
#

Hey @mystic lily!

It looks like you tried to attach file type(s) that we do not allow (). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a.

Feel free to ask in #community-meta if you think this is a mistake.

gentle flint
mystic lily
gentle flint
mystic lily
#

πŸ‘

#

πŸ‘

gentle flint
#

PC died

#

brb

sinful igloo
#

Hey

#

Hello there!

#

How you doing

gentle flint
#

no memory left

#

so it crashed

sinful igloo
gentle flint
#

it is very sad

sinful igloo
#

Yea

#

But mine

#

Is broken

#

From the inside

gentle flint
#

now I have restarted

sinful igloo
#

Keyboard won’t work

#

It takes half an hour to log in

woeful salmon
#

get more swap?

sinful igloo
#

Your is so much better than mine

#

LOL

#

Actually

#

I need help

gentle flint
#
eli@parsley:~$ neofetch
       _,met$$$$$gg.          eli@parsley 
    ,g$$$$$$$$$$$$$$$P.       ----------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 11 (bullseye) x86_64 
 ,$$P'              `$$$.     Host: OptiPlex 3020 01 
',$$P       ,ggs.     `$$b:   Kernel: 5.10.0-9-amd64 
`d$$'     ,$P"'   .    $$$    Uptime: 45 secs 
 $$P      d$'     ,    $$P    Packages: 2823 (dpkg) 
 $$:      $$.   -    ,d$$'    Shell: bash 5.1.4 
 $$;      Y$b._   _,d$P'      Resolution: 1920x1080, 1680x1050 
 Y$$.    `.`"Y$$$$P"'         WM: i3 
 `$$b      "-.__              Theme: Arc-Dark [GTK2/3] 
  `Y$$                        Icons: Papirus [GTK2/3] 
   `Y$$.                      Terminal: gnome-terminal 
     `$$b.                    CPU: Intel i5-4570 (4) @ 3.600GHz 
       `Y$$b.                 GPU: NVIDIA GeForce GT 740 
          `"Y$b._             Memory: 1027MiB / 7909MiB 
              `"""
sinful igloo
#

I making a multiplayer Porject

wheat needle
gentle flint
#

no thx

sinful igloo
#

As an website app

wheat needle
#

I like fedora πŸ™‚

sinful igloo
#

LOL

#

Who wanna join my Porject of making an app

#

GUI

#

For android and IOS

wheat needle
#

dnf update -y && dnf upgrade -y && dnf autoremove -y πŸ™‚

sinful igloo
#

Anyone

#

Whihc is best frame work for apps

wheat needle
#

I like pyqt5 πŸ™‚

sinful igloo
#

What you mean

#

Pyqt5

wheat needle
somber heath
#

!e print(5 > 6)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

False
sinful igloo
#

Ok

gentle flint
mystic lily
#

scopwick

#

current_price >= sellprice:

woeful salmon
#
(>= current_price 
    sellprice)
gentle flint
woeful salmon
#

!e

print(float("3.14"))
print(float(" 3.14 ")) 
wise cargoBOT
#

@woeful salmon :white_check_mark: Your eval job has completed with return code 0.

001 | 3.14
002 | 3.14
woeful salmon
#

!e

print(float("3.14.1"))
wise cargoBOT
#

@woeful salmon :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ValueError: could not convert string to float: '3.14.1'
mystic lily
#

0.000000342

gentle flint
woeful salmon
pulsar helm
#

here?

#

Any of you worked with RASA??

pulsar helm
#

Why can't I speak :sad:

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

pulsar helm
#

I need to chat 50 times to be able to speak???

gentle flint
#

50 messages, and 3 days in the server

pulsar helm
#

OOOOOOO

gentle flint
#

also spamming makes it take 2 weeks longer

#

cuz the bot autodetects it

pulsar helm
#

oh, so no spam, decent messages for 3 days then

gentle flint
#

yeah

pulsar helm
#

I will try

gentle flint
#

you got it

#

dw, we all had to go through this

pulsar helm
#

but do any of you know RASA?? Im in need of desperate help

gentle flint
#

what's RASA?

pulsar helm
#

RASA Chatbots

#

The Framework

gentle flint
#

niver have I hearrrd of it, me lad

pulsar helm
#

Yeh, I guess it isnt famous, Very low resources

gentle flint
pulsar helm
#

Yes

#

RASA

#

I am having trouble deploying it over Heroku

gentle flint
#

sorry, never heard of it

#

also I never used heroku

primal yacht
primal yacht
woeful salmon
#

i'm learning Emacs Lisp

#

and i'm confused

#

how the hell do you type a single slash

primal yacht
pulsar helm
#

what is EMACS LISP?

primal yacht
#

maybe try to use the equivalent to print() ?

woeful salmon
#

i'm using emacs now so learning it but

#

that is weird behavior

#

lol

primal yacht
woeful salmon
#

well

gentle flint
pulsar helm
#

does consecutive messages count as individual messages or just 1 block of messages?

gentle flint
woeful salmon
pulsar helm
#

oh

#

then

gentle flint
#

yeah

pulsar helm
#

i

gentle flint
#

do not spam

#

stop

pulsar helm
#

okay stopped

gentle flint
#

the bot will catch you at number 4

#

there's a reason I only did 3

woeful salmon
#

Wow

earnest grove
#

Accidentally hit voice chat there in case you're wondering haha...

gentle flint
earnest grove
#

Ahhh don't do this to me

gentle flint
#

lol

primal yacht
#
i:before {
    content: '\A';
}
woeful salmon
primal yacht
#
<style>
.style-display:after {
    white-space: pre;
    content: '\00000A\00003C/style\00003E';
}
</style>
<!-- ... -->
<pre class="style-display">* {
    box-sizing: border-box;
}</pre>
#

</style>

pulsar helm
#

I just need 9 more messages

#

Now 8

#

From 2019 when I started my university

#

2019- Started, Not like continuous python only

primal yacht
#

@regal agate is it pronounced "e-z" or '"ease" ?

regal agate
#

e-z lol

woeful salmon
rugged root
#

What have you done

woeful salmon
#

i didn't do anything

primal yacht
#

w<

#

restart Emacs

woeful salmon
#

in lisp you use t or nil instead of true or false

#

its not broken

rugged root
#

Why

primal yacht
#

ah

rugged root
#

Just

#

Why

woeful salmon
#

idk lol

rugged root
#

That's so unintuitive

woeful salmon
#

i mean

regal agate
#

restart

woeful salmon
#

nil kinda makes sense

primal yacht
#

but not t

woeful salmon
#

nil is already falsy why have an extra singleton

#

yeah

#

t is weird indeed

sinful igloo
#

Hey

#

I would like to ask an question about English

rugged root
#

Shoot

regal agate
rugged root
#

Still feels weird compared to every other language out there

sinful igloo
#

I would like to learn family friendly English

rugged root
#

You seem to already have a good grasp on it

#

What's tripping you up?

sinful igloo
#

Umm

#

I need to replace some words such as

#

K1LL

#

Or

#

F*ck

woeful salmon
#

also functions with a p prefix are predicate and return true or false (t or nil)

regal agate
#

huh what?

woeful salmon
#

so booleanp returns t when the argument given is a boolean for example

whole bear
sinful igloo
#

Ooh

#

Ok

rugged root
#

Why would booleanp nil return t then?

sinful igloo
#

When Mumbo

#

Said it is bosh

woeful salmon
woeful salmon
#

in lisp

rugged root
#

Ohhhhh

#

Right, no I get it now

#

It's type comparison

sinful igloo
#

Yea

#

IA m living Tamilnadu it is rainy

wispy gull
#

Is there a site where I can look for programmers to help build software?

sinful igloo
#

Bcuz there is. Freaking Styron

whole bear
primal yacht
#

hay, hay, hay bale

sinful igloo
woeful salmon
sinful igloo
#

Is there any from British

primal yacht
sinful igloo
#

Pls no

primal yacht
#

?

sinful igloo
primal yacht
#

my happy face is ..... ...... *sniffle*

sinful igloo
#

Werid

#

Ig

#

πŸ™‚

#

πŸ˜‰

#

Happy face and blinks face

#

Bcuz of that

primal yacht
#

i am literally starting to cry irl so you know

rugged root
sinful igloo
#

Bcuz of my school pressure

#

I got mad at you

#

Sorry

#

@primal yacht

#

Really sorry

sinful igloo
primal yacht
#

.... thank ...*sniffle* .... thank you ... it will be a bit before i can calm down

sinful igloo
#

I am kinda

rugged root
#

!stream 766969827113697310

wise cargoBOT
#

βœ… @zenith peak can now stream until <t:1636640690:f>.

whole bear
rugged root
somber heath
#

I think the rain is screwing my connection.

sinful igloo
#

It is fine for me

woeful salmon
#

πŸ‘€ they did inspect element on top of an already made for april fools pep

somber heath
#

As I said. My connection.

wispy gull
sinful igloo
rugged root
#

Happy to. Sorry I couldn't be more helpful

sinful igloo
somber heath
sinful igloo
#

I am use dumb wifi

wispy gull
sinful igloo
#

Right now

rugged root
#

Would be best if this was taken to DMs in this case

sinful igloo
#

Yea

whole bear
mystic lily
#
print('Enter your name:')
x = input()
print('Hello, ' + x)
sinful igloo
#

It have smallest wifi

whole bear
somber heath
#

It's the wired connection interacting with the water, I fear.

woeful salmon
#

!e

class Ξ‘:
    def __str__(self):
        return type(self).__name__

print(A())
wise cargoBOT
#

@woeful salmon :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 5, in <module>
003 | NameError: name 'A' is not defined
woeful salmon
#

@rugged root help

#

😦

somber heath
#

Not radio attenuation.

regal agate
#

how do you run code here?

sinful igloo
#

This is how small

mystic lily
#
print('Enter your age:')
x = input()
print(f'bob is {x} years old')
whole bear
somber heath
sinful igloo
#

I like banana

whole bear
rugged root
#

!e

class Ξ‘:
    def __str__(self):
        return type(self).__name__

print(A)
wise cargoBOT
#

@rugged root :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 5, in <module>
003 | NameError: name 'A' is not defined
sinful igloo
#

Ok, But I code in replit

rugged root
#

For which bot sorry?

#

Oh right right

#

.charinfo

#

!charinfo Ξ‘

wise cargoBOT
#

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

sinful igloo
rugged root
#

!charinfo A

wise cargoBOT
whole bear
somber heath
sinful igloo
rugged root
#

I should have seen that coming, Reap

woeful salmon
#

now imagine someone contributing code with that in one of the class names

#

you will never know

sinful igloo
#

For 30GB DAta

whole bear
#

wht

somber heath
#

@sinful igloo What is considered friendly or polite in one situation could be considered inappropriate in another.

sinful igloo
#

Yea

wispy gull
sinful igloo
#

I am playing Smash Hit

rugged root
#

He's talking about this site

wispy gull
#

oh

#

ok , thanks i will look for that now 🌺

rugged root
#

Remote Server returned '552 5.6.0 Headers too large (32768 max)(at END OF DATA)'

pulsar helm
#

I think this marks 50 messages ,atleast

wispy gull
rugged root
#

It would make it public unless you pay for private

#

Which in that case, you'd probably be better keeping your private code in GitHub, as they provide private repos for free

wispy gull
woeful salmon
#

πŸ€·β€β™‚οΈ and you can press . on a github repo to get a vs code instance in your browser

#

and commit your changes to your code from right there

rugged root
#

Wait

#

It's that simple to bring it up?

sweet lodge
#

Yep

woeful salmon
#

yeah

sweet lodge
leaden comet
wispy gull
#

1-how many years its take to learn programing and coding software ?

2-And are there educational centers on the Internet that provide a teacher to teach and answer inquiries and guidance?

somber heath
#

Watermelon gas.

rugged root
#

OH

#

Wait it looks like Nerf bullets

sleek brook
#

can somebody help me for my assignment?

woeful salmon
sweet lodge
woeful salmon
#

ah yeah i saw that they made a teasing video for it what other sites it may support in future

#

so it might extend to bitbucket and gitlab repos as well in the future

#

who knows

sleek brook
#

can you do binary to ascii in python?

somber heath
#

You can do binary to decimal to ascii.

sinful igloo
#

Hey

somber heath
#

You can to bytes to things.

woeful salmon
#

!e

print(chr(int("01000000", 2)))
wise cargoBOT
#

@woeful salmon :white_check_mark: Your eval job has completed with return code 0.

@
sinful igloo
#

Have you ever played

sleek brook
#

I just finish binary to decimal

sinful igloo
#

Smash Hit Gake

#

It is mobile game

#

Where you should reach 12 checkpoints

sleek brook
#

the problem is I don't know how to start in converting the decimal into ascii

sinful igloo
#

I reached 4 checkpoints

sweet lodge
#

Fancy fancy

rugged root
#

!stream 604009849298223126

wise cargoBOT
#

βœ… @mystic lily can now stream until <t:1636642124:f>.

sleek brook
sinful igloo
#

Hemlock

sweet lodge
#

It is annoying how Microsoft can't seem to make up their mind though.
They replaced Visual Studio Online with GitHub Codespaces, and now they're very proud to announce vscode.dev as a complement to GitHub Codespaces

frosty star
sleek brook
slate peak
#

@mystic lily you're supposed to buy high and sell low

somber heath
#

Don't use bare excepts or Barry the Bare Exception Bear will get you.

woeful salmon
sinful igloo
#

Is there any website will help me learning te comparing

woeful salmon
#

names are confusing

sleek brook
#

do you guys available for dm?

rugged root
#

What're you needing?

woeful salmon
#

you can manually create a dictionary mapping each letter to its ascii value
cuz if you're now allowed to use chr then i'm guessing you can't import other things from standard lib either

sinful igloo
#

Can I stream my pain code

somber heath
#

Programming professors be like: "Do the thing. You are not allowed to use anything to achieve this."

leaden comet
#
candlestick_patterns = ["A", "B" ...]

for pattern in candlestick_patterns:
    talib_method = getattr(talib, f"prefix{pattern}")
    df_csv[pattern] = talib_method(low, high, whatever)
sinful igloo
#

Paint Code

#

It is has 100 lines of code

#

Written by me for hours

woeful salmon
sinful igloo
#

Pls

leaden comet
sinful igloo
#

Who wanna check it out

regal agate
#

can someone help me with linked lists

rugged root
woeful salmon
#

oh nvm

sweet lodge
woeful salmon
#

rather than just the editor

sweet lodge
#

Fair

somber heath
sweet lodge
regal agate
# somber heath I'm not available for a full-scale help session right now, but have you written ...

how do you sort the linked list by miles?

from dataclasses import dataclass
from typing import Sized, Union

@dataclass
class TrainCar:
    content:str
    station:str
    mile:int
    next:Union[None, 'train']

@dataclass
class train:
    size:int
    speed: int
    next: Union[None, TrainCar]

one = TrainCar("Bears","DC",550,None)
two = TrainCar("Bears","New York",251,one)
three = TrainCar("Bagels","Boston",109,two)

trains = train(size=3, speed=0,next=three)



#user input
lst= ['Tea', 'Boston',351]
content = lst[0]
station =  lst[1]
distance = lst[2]

somber heath
rugged root
leaden comet
woeful salmon
#

πŸ˜“ that sounded kinda weird to me

leaden comet
#

yes it's very much a work in progress still. it's not quite passable yet

woeful salmon
#

no like you can stick it into reaper sounded weird to me

#

xD

#

the above song itself kinda sounds like an old emo song's instrumentation o-o

rugged root
somber heath
#

Quayboard. The surfboard's lesser-known sibling.

gentle flint
whole bear
#

Γ‘

gentle flint
#

Kowloon Walled City was an ungoverned and densely populated de jure Chinese enclave within the boundaries of Kowloon City, British Hong Kong. Originally a Chinese military fort, the walled city became an enclave after the New Territories were leased to the United Kingdom by China in 1898. Its population increased dramatically following the Japan...

primal yacht
torn grove
primal yacht
vivid palm
#

lol katie if you're talking i'm not ignoring

#

client wont connect

glass forge
#

ah

#

@vivid palm try restarting Discord completely. failing that, restart the device from the normal power off menu option (next to power off / shutdown)

vivid palm
#

tried reinstalling but squirrelupdate or w/e got mad bc it couldn't delete the folder

#

took a reboot

rugged root
vivid palm
#

mm

#

Β―_(ツ)_/Β―

#

yes and checked task mgr

#

well rebooting machine seems to have fixed it

#

discord auto launches and it must have reinstalled itself

#

windows does that all the time so annoying

#

all my settings are back to their original

rugged root
#

Is that good?

vivid palm
#

it's fine

#

first thing i do is

#

turn off all the sound notifications lol

gentle flint
#
The Africa Report.com

Conflict between Afrinic and Cloud Innovation has fleshed out a major issue: who has the right to allocate IP addresses to Africa?

AP NEWS

KAMPALA, Uganda (AP) β€” Outsiders have long profited from Africa’s riches of gold, diamonds, and even people.β€―Digital resources have proven no different. Millions of internet addresses assigned to Africa have been waylaid, some fraudulently, including through insider machinations linked to a former top employee of the nonprofit that assigns the ...

vivid palm
#

no i did what i wanted to do

#

refresh makes discord a blank gray screen

#

restarting discord process/app didn't fix the vc connection

#

@rugged root have you used sharepoint sites yet?

#

i like

#

except for when files sometimes don't sync.. but other than that

rugged root
#

It's on my list to do so, but haven't yet. I was originally going to back when I first re-wrote the Excel plugin

vivid palm
#

who makes awful cars? did you say japan? lol

#

chips were

#

until

#

fairly recently

pulsar helm
#

What am I listening to?

rugged root
#

I'm not sure either. I just chime in from time to time

pulsar helm
#

Is it like a podcast ?

rugged root
#

Just us having a conversation

gentle flint
#

we chat in voice

pulsar helm
#

wait, but i dont see anyone glowing up when you talk

gentle flint
#

try reloading your client

pulsar helm
#

i thought this was like a recording or something

gentle flint
#

no lol

vivid palm
#

bug

pulsar helm
vivid palm
#

you'll also see sometimes users are listed in vc even tho they're not there. and vice versa

wind cobalt
jovial nexus
#

we always talk about clothes in here 🀣

vivid palm
#

SOCKS

#

oof lol

#

no

jovial nexus
#

its @gentle flint fault

wind cobalt
#

shoe,shoe, sock,sock

#

in that order

rugged root
#

I can't wait until I'm old enough to justify wearing black socks with sandals, just to drive people insane

wind cobalt
#

Sigma male grindset

gentle flint
jovial nexus
#

i accidentally called him john elton to my dad a few years back, we kept calling him that ever since

sweet lodge
vivid palm
#

hiiiiiiii

#

my sharepoint

#

microsoft guru

rugged root
#

@amber raptor Still doing good?

sweet lodge
#

πŸ‘‹

vivid palm
#

the bottom folder and its contents are synced

#

but not the top one

rugged root
#

It'd be in a separate folder right?

#

Those names don't match

amber raptor
#

Is that your personal one drive on the bottom?

vivid palm
#

these are the corresponding buttons in web ui

#

no it's onedrive for business, or smth similar

#

Accounting is the sharepoint site name, AR is the name of the folder within

amber raptor
#

Are both hidden names Sharepoint libraries or is one your personal OneDrive?

vivid palm
#

windows is just displaying them differently

sweet lodge
#

Bottom one is "normal" OneDrive

vivid palm
#

top is sharepoint synced folders, bottom is business onedrive, not personal

sweet lodge
#

Top one is a synced SharePoint library

vivid palm
#

i have a personal one too, below

jovial nexus
#

@wind cobalt where you from john elton?

amber raptor
#

By personal I meant your individual one drive account

#

vs a sharepoint shared library

#

I would get AR - Accounting out your personal One Drive Account and only use library one

vivid palm
#

notice the folder displayed as AR - Accounting is a shortcut, not an actual folder

#

the library one isn't syncing

#

since 11/1

sweet lodge
#

What happens if you click sync again?

vivid palm
#

whereas when i access the folder from the shortcut in the onedrive folder, all contents are synced

amber raptor
#

Right Click, close it and setup sync again

vivid palm
amber raptor
#

well, that explains it

vivid palm
#

so i deleted all the shortcuts

#

and tried again

#

lemme do again

jovial nexus
#

is gradle not similar to aws, azure, docker all those other things?

amber raptor
#

gradle is build process

vivid palm
#

shen/rab wanna help me in another vc?

amber raptor
#

I don't know enough about OneDrive any more except throw it all out when starts misbehaving

jovial nexus
#

@rugged root dont trust him...he dosent have the best reputation.

#

its your reputation on the line

scenic wind
jovial nexus
#

🀣

sweet lodge
rugged root
#
#

@scenic wind This'll probably make your life a whole lot easier

coarse cape
#

heyyy

primal yacht
#

Spook-ity!

rugged root
scenic wind
#

ok thankyou

jovial nexus
#

i got one

rugged root
sweet lodge
#

Ouch

jovial nexus
#

you guys good with vi editor/vim?

sweet lodge
#

hides Arch Linux in corner

amber raptor
#

Linux community could do with supporting only a few distros

wind cobalt
#

under the rug

amber raptor
#

because how much work is time wasted dealing with different distros

sweet lodge
#

Arch Linux is best

primal yacht
#

Is it how to exit vi / vim ?

jovial nexus
#

sandwich *

sweet lodge
#

Don't use snap

primal yacht
wind cobalt
red umbra
#

hey hey hey

primal yacht
#

hay, hay, hay bale

jovial nexus
#

im familiar with the insert mode and the other mode for commands

#

just a few questions when playing with it id like to answer to complete my knowledge

#

ill post as soon as im done eating

vivid palm
#

nope

#

i use 32-bit machine

#

for that application

#

dos box never worked with our app

amber raptor
#

But apparently FoxPro still runs on Windows 11

#

which is shocking

vivid palm
#

yes

#

it's 1994

primal yacht
vivid palm
#

yes bc it works on win10 so i see no reason it wouldn't on win11

wind cobalt
#

foxpro?

vivid palm
#

yes

amber raptor
#

FoxPro was a text-based procedurally oriented programming language and database management system (DBMS), and it was also an object-oriented programming language, originally published by Fox Software and later by Microsoft, for MS-DOS, Windows, Macintosh, and UNIX. The final published release of FoxPro was 2.6. Development continued under the V...

#

Visual FoxPro was a Microsoft data-centric procedural programming language that subsequently became object-oriented.
It was derived from FoxPro (originally known as FoxBASE) which was developed by Fox Software beginning in 1984. Fox Technologies merged with Microsoft in 1992, after which the software acquired further features and the prefix "Vis...

vivid palm
#

🦊

jovial nexus
#

ok guys im back, in vi editor i press n inside of it and i get no previous regular expression in red at the bottom, what is this used for?(n)

#

@sweet lodge

sweet lodge
#

One moment please

#

I'm getting my sandwich

primal yacht
rugged root
#

Dear god this bag is friggin huge

sweet lodge
#

You haven't specified what you're searching for

jovial nexus
sweet lodge
#

After you search for something, you can press n to go the next result (and the next one and the next one and so on...)

#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

jovial nexus
#

makes sense. Ill practice this later

#

ok next question might be a little more complicated because im using an online unix terminal(webinal-i know i could just use a VM since im on windows, but maybe its the vi editor itself so i thought id ask). Why sometimes when i press h and my cursor is over and highlighting the letter(in this instance the h, for hello inside of the file) and i hold the button in it goes to select(at the bottom, where insert would show if you were in insert mode), types a whole bunch of h's and, when they go in turns the select at the bottom to Insert

#

this is when im not in insert mode...so i shouldnt be able to put in any text

#

@sweet lodge

#

should this get me into select and insert? Or is it a problem with what im using?

#

i thought the only way to get into insert mode was by pressing i

sweet lodge
#

I'm not sure
h is supposed to be "move the cursor left one character"

I can't get into insert mode by holding h on my computer (Ubuntu WSL)
Might be something different with your version of vim

#

@rugged root - What's in the bag?

jovial nexus
#

good to know, probabaly an error with what im using

sweet lodge
#

What food?

jovial nexus
#

looks like sandwiches/bread

#

Sounds good

primal yacht
sweet lodge
#

It is

#

But he managed to get into insert mode by pressing h

gentle flint
#

wtf

jovial nexus
#

alright guys when i press v, it puts at the bottom, 'visual' instead of inset, i dont think this is a mode because theirs only command mode and insert mode, but what is this for/why would you use this?

sweet lodge
jovial nexus
#

insert*

primal yacht
#

If using Vim, have it closed and run this in bash (or whatever, using the appropriate shell conventions)

mv -i ~/.vimrc ~/.vimrc.original
#

Reopening vim should then use the defaults

jovial nexus
#

i dont think its vim, but its a online vi editor, i know all the commands are the same though

primal yacht
#

Ah ...

jovial nexus
#

ok so you think this visual stuff is broke?

#

or is this a thing?

#

does anyone know what im talking about?

primal yacht
#

what site?

jovial nexus
#

why would we need visual with this interface?πŸ˜†

#

webinal

#

you need an account though

#

it takes an email

primal yacht
#

Visual mode is for highlighting multiple characters at once. Great for yanking (copying), deleting, etc. and knowing what you are selecting.

sweet lodge
#

Almost like accounting is a monthly thing

jovial nexus
#

ill try and get some practice with it

primal yacht
jovial nexus
#

it blocks ads on malware on most sites

vivid palm
jovial nexus
#

but i dont really know/havent got really strict into it(understand fully)

vivid palm
jovial nexus
#

@primal yacht what are buffers for with vi editor? what situation could i use them in/would it be useful?

primal yacht
#
="404"
sweet lodge
#

Since when do we allow multiple decimal points in accounting?

vivid palm
#

who said it's accounting hmmmmmmmmm?

sweet lodge
#

fair enough

vivid palm
#

ugh the empty lines ; ~ :

honest pier
#

πŸ‘€

primal yacht
gentle flint
#

these are the receipts I gotta work through

vivid palm
#

centered text

#

does libre office not have a table feature?

honest pier
#

not using Excel?

rugged root
#

Wait

jovial nexus
gentle flint
#

yes
it does
but I never found out how to use it

rugged root
#

Is total totaal?

gentle flint
#

yes

rugged root
#

Fair enough

gentle flint
#

Datum is date

jovial nexus
#

@raw carbon is my dad

gentle flint
#

Winkel is shop

#

Uitgegeven bedrag is spent sum of money

jovial nexus
#

@raw carbon is 22 but talks like he has the life experience of a 53 year old

#

🀣

primal yacht
jovial nexus
#

Thank you @primal yacht

honest pier
#

you can also just open one file and grep open stuff

#

these days I just use tabs for multiple files

primal yacht
jovial nexus
#

@raw carbon do you see the toilet roll?

#

@gentle flint is a pharmacist

primal yacht
honest pier
#

of course

primal yacht
#

without custom ~/.vimrc ?

honest pier
#

you can use :e with a glob

primal yacht
#

for making a new buffer?

honest pier
#

yeah?

primal yacht
#

So, @jovial nexus, try :e NEW_OR_EXISTING_FILENAME_HERE then after that, try the :bX stuff

#

Also, :help / :help HELP_KEY (like :help :set) and :helpgrep SEARCH_TERM_HERE might be of use

jovial nexus
#

is their any other commands/keys ont he keyboard apart from the obvious quit/save, ones i should try out?

#

and situations theyre good/useful for?

primal yacht
primal yacht
#

:w !python is same as this bash ... kinda

cat <<"EOF" | python -
CONTENT_OF_THE_CURRENT_BUFFER_WINDOW
GETS_PLACED_HERE
EVEN_IF_IT_IS_NOT_SAVED
IT_IS_THE_CURRENT_STATE_OF_THAT_BUFFER
EOF
jovial nexus
#

is their ones i havent mentioned

#

like ive tried all the keys on the keyboard

#

and what in general is vim good for..ive only ever used this to put text on a https:// site after getting a certificate for a text file

primal yacht
jovial nexus
#

i dont have it at home

primal yacht
#

Windows 10 / 11 with WSL?
A Linux distro?

#

@jovial nexus .... Linux might have vimtutor already installed if you have vim installed, but if not, it probably is also with the same package manager that you get vim from

#

Windows 10 / 11 with WSL, same applies for getting vimtutor installed.

For Windows (I assume Win7+), there is also GVim you can install that provides better mouse support as well as system clipboard support.

gentle flint
#

also for linux

unborn storm
gentle flint
rugged root
jovial nexus
rugged root
jovial nexus
#

does anyone know how to use it

rugged root
rugged root
unborn storm
#

idk

#

maybe man ss

#

i don't even have it installed

jovial nexus
#

i get this as my output

#

i am on a private network on it though (college) not home...

#

is this normal?

honest pier
#

@amber raptor doesn't msft own your soul

unborn storm
#

no idea

jovial nexus
unborn storm
jovial nexus
#

can you give me reasonable complex unix commands i can use and try that that i get an otput with

#

that are useful

#

outside of ls, cd, find

#

like good ones

unborn storm
#

mhhhh

sweet lodge
#

What do you consider good?

jovial nexus
unborn storm
#

cowsay is not really usefull...

jovial nexus
amber raptor
jovial nexus
#

ones*

#

that*

honest pier
#

grep

unborn storm
#

maybe tr

rugged root
#

We can like something but hate parts of it

unborn storm
jovial nexus
unborn storm
#

ok

jovial nexus
honest pier
#

man grep

#

man tr

gentle flint
unborn storm
#

you can try ls | grep "py$" in a folder containing python files

sweet lodge
#

awk and sed

jovial nexus
unborn storm
jovial nexus
sweet lodge
#

@rugged root - are PDF attachments allowed here?

jovial nexus
#

yea i kind of dont want to take up too much of everyones time

#

i just want plain english terms for what they do, and something i can type in and see an output to kind of get used to this whole thing

sweet lodge
#

Awk and sed are for searching and/or editing text

unborn storm
#

so you can imagine them as vim command mode

#

but optimized for text manipulation

#

and with a different syntax

honest pier
#

sed is stream editor, like the :s/x/y command in vim

jovial nexus
#

so theirs nothing really i can type in now which is quite complex without having some python files or something else, right now i only have a few directories i made and a few txt files 🀣

unborn storm
#

you would do something like command_with_output | awk "here an awk program" and that would operate on the command output, to extract some marts, to modify them etc.

jovial nexus
#

i did man grep and got like a whole bunch of information

gentle flint
#

MuseScore is a scorewriter for Windows, macOS, and Linux supporting a wide variety of file formats and input methods. It is released as free and open-source software under the GNU General Public License. MuseScore is accompanied by a freemium mobile score viewer and playback app, and an online score sharing platform.

unborn storm
honest pier
#

mhm

unborn storm
#

it is called guitar pro

#

if i remember well

gentle flint
#

that's only for guitar

#

I play low whistle
it's a non-fretted instrument

unborn storm
#

wait

#

ok, so in fact guitar pro is not only for guitar

gentle flint
unborn storm
gentle flint
#

which a low whistle is not

unborn storm
#

no

#

it is for any music

#

just google image the name

gentle flint
#

that's guitar

unborn storm
#

yes but you can put any sound

#

believe me, my father uses it

#

and i ensure you that it can play any music with almost any instrument

#

like even drums

gentle flint
#

regardless, since I'm on Linux, it hardly matters
thanks for the recommendation tho

unborn storm
#

yes

#

or you can maybe have a hack that makes it work

gentle flint
#

The term fipple specifies a variety of end-blown flute that includes the tin whistle and the recorder. The Hornbostel–Sachs system for classifying musical instruments places this group under the heading "Flutes with duct or duct flutes." The label "fipple flute" is frequently applied to members of the subgroup but there is no general agreement a...

gentle flint
unborn storm
#

sure or shure ?

gentle flint
#

sure

unborn storm
#

sure !

#

sorry ^_^

sweet lodge
#

Don't use jbutton

jovial nexus
#

@unborn storm when you use the ss command what is your output in the terminal?

sweet lodge
#

Use ybutton

gentle flint
unborn storm
scenic wind
#
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class Gui implements ActionListener {

    private int count = 0;
    private JLabel label;
    private JFrame frame;
    private JPanel panel;
    private JButton button;

    public Gui() {

        frame = new JFrame();

        button = new JButton("Launch");
        button.addActionListener(this);
        button.setPreferredSize(new Dimension(100, 100));

        label = new JLabel("Number of clicks: 0");

        panel = new JPanel();
        panel.setBorder(BorderFactory.createEmptyBorder(30, 30, 10, 30));
        panel.setLayout(new GridLayout(0, 1));
        panel.add(button);
        panel.add(label);

        frame.add(panel, BorderLayout.CENTER);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setResizable(false);
        frame.setTitle("Our Gui");
        frame.pack();
        frame.setVisible(true);
        frame.setSize(1152, 720);
        frame.setLocationRelativeTo(null);
    }

    public static void main(String[] args){
        new Gui();

    }

    @Override
    public void actionPerformed(ActionEvent e) {
        count++;
        label.setText("Number of clicks: " + count);
    }
}
unborn storm
#

because i haven't installed it

#

and idk what it does

scenic wind
jovial nexus
#

i need more cool unix commands, i only have ran 1...🀣

gentle flint
#

grep?

#

chmod?

#

chown?

unborn storm
#

yes

sweet lodge
#

ss
Socket Statistics. Shows information similar to netstat, ss can display more TCP and state information than other tools.

jovial nexus
#

have you ran it before @sweet lodge

sweet lodge
#

A long time ago

jovial nexus
#

how about chmod, can i run that? and can someone explain it to me in plain enlgish what its used for? I always hear about it

sweet lodge
#

chmod changes permissions for a file

jovial nexus
#

chmod <filename.txt.> ?

unborn storm
#

ex : chmod +w file

#

that allows you to write on a file

jovial nexus
#

+w = for write in file?

unborn storm
#

yes

jovial nexus
#

ok let me try

unborn storm
#

also chmod +x program

unborn storm
jovial nexus
#

it did nothing...

unborn storm
sweet lodge
#

I forgot
How do I specify user/group/all with chmod?

unborn storm
jovial nexus
#

i did ls before to try and see the file i was trying to change the permissions of

unborn storm
#

echo "#!/usr/bin/python\nprint("hello, world!")" > hello_world.py

jovial nexus
#

oskar this vim stuff is going to be the end of me

unborn storm
#

then ls -l. you'll see that the file you created has r (you are allowed to read) and w (also to write)

rugged root
#

@whole bear If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know

unborn storm
jovial nexus
#

ls -l showed a bunch of stuff

unborn storm
#

this just writes the file containing :

 
#!/usr/bin/python
print("hello, world!")
jovial nexus
#

atleast im getting some output

unborn storm
#

what output ?

jovial nexus
#

it jut shows me all my files /directories lmao

unborn storm
#

yes

jovial nexus
#

and the number i have

unborn storm
#

that is the purpose of ls -l

sweet lodge
sweet lodge
unborn storm
#

then, if you try to run ./hello_world it will fail

#

because that file has no premission to be executed

jovial nexus
#

should i go to the help voice chat?

#

i didnt know this would take up so much room

unborn storm
#

ok but fast i dont have much time

jovial nexus
twilit fog
#

does anybody know anything about O(n) notation?

#

I need to figure out how to find the O(n) notation from looking a few lines of code

#

does anybody got a resource

#

hello sirsss

rugged root
twilit fog
#

TYVM sirrr

twilit fog
#

@rugged root u a goddd i been looking for resources like these

rugged root
#

Hope it helps!

twilit fog
#

it is already helpingggg

#

im absorbing the ideasss

terse needle
#

<link>

pseudo nebula
#

hello

mystic lily
#

*** ii***

rugged root
#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

terse needle
#

Spam
Spam
Spam
eggs

#

!e

from __future__ import braces
wise cargoBOT
#

@terse needle :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 | SyntaxError: not a chance
rugged root
rugged root
#

More or less

#

The Wii U is slightly fuzzier

#

But not enough for it to matter

terse needle
rugged root
amber raptor
rugged root
#

@whole bear Lovefest was for our Valentine's event

whole bear
#

oh

rugged root
whole bear
rugged root
gentle flint
rugged root
whole bear
gentle flint
#

I recorded the top one
the bottom one was me experimenting with the reverb filter

whole bear
#

ok

#

whats the official javascript server?

spice oracle
#

hello

rugged root
spice oracle
#

😳

#

what does it do πŸ€”

#

hmm

#

why is it called "eggBOT" ?

#

where does the BOT comes from 🀣

rugged root
#

It's a robot

#

It does robot things

spice oracle
#

as far as i heard, it's just puts engraves stuff on the egg

whole bear
spice oracle
rugged root
terse needle
rugged root
#

Oh hush

gentle flint
#

I love keyboard lights

whole bear
#

is computer science degree hard?

#

hemlock do you have a degree

junior kayak
#

:

flat sentinel
#

Ubuntu idk i use arch

rugged root
#

Damn it, as soon as I sit down....

molten pewter
#

gtg

gentle flint
#

split the 03:00 AM time into 03:00 and AM
call the 03:00 time and the AM time_of_day
split time on the colon, into hours and minutes
if time_of_day is PM, then add 12 to the hours
now you have 24-hour time

#

combine hours and minutes into a single number, called time_concatenated or smth like that; in this case, 0300
check if time_concatenated is larger than or equal to 3 am (0300) and smaller than or equal to 8:30 am (0830)

#

if so, execute your code

#

@junior kayak

flat sentinel
#

s

sinful igloo
#

Hey

#

How are you guys

#

What is going on

wild thorn
sinful igloo
#

Ooh

#

Ok

somber heath
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

somber heath
#

Corey Schafer, Youtuber. Playlists for Python.

#

Sentdex.

#

Socratica.

#

Tech with Tim.

somber heath
#

@regal agate Bard?

#

Or bot?

regal agate
#

bot

somber heath
#

Ah.

wind raptor
#

I like that @somber heath !!

somber heath
#

Mm. I do, too. Gaudy, but...it kind of works.

wind raptor
#

and the title

sleek brook
#

I cant talk looks like the mod force turn my mic off

#

how to verify?

#

awts see you in two days bro hahaha

whole bear
#
def getting_classes_from_cur_cenerio(cur_class_OR_module: str, core_module: str):
    regex = r"\w+"
    if sys.platform == "win32":
        cmd = [
            "python",
            "-c",
            'import {},inspect; print([x[0] for x in inspect.getmembers(eval("{}")) if'
            ' inspect.isclass(x[1])])'.format(core_module, cur_class_OR_module),
        ]
    else:
        cmd = [
            "python3",
            "-c",
            'import {},inspect; print([x[0] for x in inspect.getmembers(eval("{}")) if'
            ' inspect.isclass(x[1])])'.format(core_module, cur_class_OR_module),
        ]

    if (
        cur_class_OR_module != ''
    ):  # reason being for instance we are writing a call that has no `cur_class_OR_module`
        # for that also it would `like print` go and get the results by running `shell_cmd`.
        if core_module in [x for x in sys.modules]:
            try:
                a = importlib.import_module(core_module)
                globals()[core_module] = a
                main_command = [
                    x[0]
                    for x in getmembers(eval('{}'.format(cur_class_OR_module)))
                    if isclass(x[1])
                ]
                return main_command

            except Exception:
                pass
        else:
            main_results = subprocess.run(cmd, capture_output=True).stdout.decode(
                "utf-8"
            )
            print(main_results)
            attribute = re.findall(re.compile(regex), main_results)
            return attribute
#

os.path

willow lynx
#

My internet is slow today

whole bear
somber heath
#

Early childhood, primary school, secondary school, vocational, adult, migrant and higher education in the state of New South Wales, Australia.

#
#

Etc.

#

So there may be disbursements available from the government, and disbursements available from the educational institutions themselves.

#

Though I wouldn't put it past this government to be contemptuous toward anything that means they have to pay anyone.

#

Or letting you in through the door at all, for that matter.

woeful salmon
#

@somber heath i was asking gaming

somber heath
#

Given the fascist we have governing that side of things.

#

Genuine covid considerations aside.

chrome aspen
#

@somber heathCant unmute

#

Server muted

#

Alrighty, thanks

silent cedar
#

ey emloke : )

rugged root
#

Day going well?

silent cedar
#

hmmm

#

not really

#

as u can see by name

woeful salmon
#

having a hard time trying to make windows look nice