#voice-chat-text-0

1 messages · Page 990 of 1

trail mural
#

what you gonna buy?

mild quartz
#

this will never go anywhere

trail mural
#

try and buy the win 🙂

somber heath
#

Not without a lot of kicking and screaming from some people.

trail mural
#

would you work to save yourself

#

to save a sibling

#

a friend?

wary meadow
somber heath
#

There it is.

umbral terrace
#

a = range(20)
print(a[15:10:-1])

cosmic lark
#

@somber heath mind telling me how i can store all functions of math module which needs two parameters in a list and call em one by one?

trail mural
#

thats a silly decision

#

Einstein is dead?

somber heath
formal meteor
trail mural
#

I'm not a politician

somber heath
umbral terrace
#

for i in range(20,15,-1):
print(i)

formal meteor
#

You gotta learn the distinction between arrays and for loops. Python kinda might obfuscate the details... if you don't learn the specifics...

somber heath
#
import math
functions = math.sin, math.cos, math.tan

for function in functions:
     ...```Sort of thing, but not with those, probably.
tidal shard
#

!e

for i in range(20,15,-1):
  print(i)
wise cargoBOT
#

@tidal shard :white_check_mark: Your eval job has completed with return code 0.

001 | 20
002 | 19
003 | 18
004 | 17
005 | 16
somber heath
#

Socialised healthcare is only going to be shit if it's underfunded and mismanaged, likely instigated at the behest of people who would prefer to grow fat off the suffering of other people.

formal meteor
tidal shard
#

!e

new_list = []
for i in range(20,15,-1):
  new_list.append(i)

print(new_list)
wise cargoBOT
#

@tidal shard :white_check_mark: Your eval job has completed with return code 0.

[20, 19, 18, 17, 16]
tidal shard
wary meadow
#

@umbral terrace , Pycharm is cool for Python + Terraform "relations", but if you're going to deal with integrated sql databases in Python (SQLite) go for Visual Studio Code

#

Visual studio code is also better if you need to manipulate json and csv files

keen sky
#

Part 2: Polymorphism (35 + 5 pts)

  1. Implement an Account class and two derived classes, Savings and Current: (35 pts)
  • A parent class named Account
    o A protected double member balance
    o public void Withdraw(double amount)
    o public void Deposit(double amount)
    o public void PrintBalance()
  • Then, there are two derived classes
    o Savings class
    ▪ Has a private member interestRate set to 0.8
    ▪ Withdraw(double amount) deducts the amount from balance with interestRate
    ▪ Deposit(double amount) adds amount in balance with interestRate
    ▪ PrintBalance() displays the balance in the account
    o Current class
    ▪ Withdraw(double amount) deducts amount from balance
    ▪ Deposit(double amount) add amount in balance
    ▪ PrintBalance() displays the balance in the account
  • Input:
    o In the Savings class, balance is set to 20000 in the parameterized constructor
    o In the current class, balance is set to 20000 in the parameterized constructor
  • Output
    o Balance before withdrawing from the savings account and balance after withdrawing
    from the savings account
    o Balance before withdrawing from the current account and balance after withdrawing
    from the current account
  • Write at least two Junit test cases.
  • Comment for each method and class to explain the functionality.
  1. Answer the below question and include in the end of the above Account class (5 pts)
  • Can we override the final method, True or False? and briefly explain the reason? - 5
umbral terrace
#

Why does this print a name?

formal meteor
#

The link doesn't include your code. It's blank.

formal meteor
#

zybooks

rugged tundra
umbral terrace
#

supplies = ['pens', 'staplers', 'flamethrowers', 'binders']

for i in range(len(supplies)):
... print('Index ' + str(i) + ' in supplies is: ' + supplies[i])

#

Index 0 in supplies is: pens
Index 1 in supplies is: staplers
Index 2 in supplies is: flamethrowers
Index 3 in supplies is: binders

rugged tundra
#

supplies[3] = 'geakjlhgkleajge'

light python
#

Hi

molten pewter
#

hi

unkempt magnet
#

call_me_man

light python
#

How can i see how many messages remains until i can talk in voice channel?

molten pewter
cunning lake
molten pewter
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

umbral terrace
#
  1. Which XXX will display one more than half of the smallest value of w1, w2, and w3?
    def min_value(a, b, c):
    if a <= b and a <= c:
    return a
    elif b <= a and b <=c:
    return b
    else:
    return c
    w1 = 7
    w2 = 3
    w3 = 12
    y = XXX
    print(y)
    A. min_value(w1, w2, w3)/2 + 1
    B. min_value(w1+1, w2+1, w3+3)/2
    C. min_value()/2 + 1, w1, w2, w3
    D. min_value: w1, w2, w3() /2 + 1
cunning lake
#

!voice

wise cargoBOT
#

Voice verification

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

cunning lake
#

#voice-verification

gritty orchid
tough oriole
#

.

#

oh

#

idk just saw you there

#

and then joined the vc

#

hm

austere crane
#

Hello

forest zodiac
#

parents?

woeful salmon
#

me too 🙂 i'm trying to create a visual of adding 2 waves and then separating them again using fourier transform 😄

#

just cuz i've never done that before

forest zodiac
#

i just learnt a new word thanks opal

#

incongruity

lavish heart
#

hi

dark sable
#

Oh thanks

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

dark sable
#

I just joined today

#

yeah np

#

i have a doubt in a problem can someone help me

#

LESSER OF TWO EVENS: Write a function that returns the lesser of two given numbers if both numbers are even, but returns the greater if one or both numbers are odd

somber heath
dark sable
#

so i basically split the two letter word and then made it a tuple

#

Oh im sorry , this is the wrong problem

#

ANIMAL CRACKERS: Write a function takes a two-word string and returns True if both words begin with same letter
animal_crackers('Levelheaded Llama') --> True
animal_crackers('Crazy Kangaroo') --> False

somber heath
#

!d str.split

wise cargoBOT
#

str.split(sep=None, maxsplit=- 1)```
Return a list of the words in the string, using *sep* as the delimiter string. If *maxsplit* is given, at most *maxsplit* splits are done (thus, the list will have at most `maxsplit+1` elements). If *maxsplit* is not specified or `-1`, then there is no limit on the number of splits (all possible splits are made).

If *sep* is given, consecutive delimiters are not grouped together and are deemed to delimit empty strings (for example, `'1,,2'.split(',')` returns `['1', '', '2']`). The *sep* argument may consist of multiple characters (for example, `'1<>2<>3'.split('<>')` returns `['1', '2', '3']`). Splitting an empty string with a specified separator returns `['']`.

For example:
somber heath
#

!e py text = "Hello World Domination" result = text.split(" ") print(result)

wise cargoBOT
#

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

['Hello', 'World', 'Domination']
dark sable
#

so i utilized that and wrote this :
new = tuple(enter.split())

#

yes,but then they are like two words so i was wondering if we have to perform tuple unpacking

#

then use index

woeful salmon
#

you can unpack lists just as well

sour imp
#

wrod1, word2 = text.split()

woeful salmon
#

!e

foo, bar = [1, 2]
print(foo)
print(bar)
dark sable
#

Can you show the code to do it direclty

somber heath
#

!e py text = "apple" print(text[0])

wise cargoBOT
#

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

a
woeful salmon
#

!e

text = "foo bar baz buz"

first, second, *_ = text.split()
print(first)
print(second)

^ how to ignore any more than 2 words

wise cargoBOT
#

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

001 | foo
002 | bar
dark sable
#

yes so i get the index part , just the part where i can split the words into two parts i am a bit confused

somber heath
dark sable
#

oh

woeful salmon
dark sable
#

so to specifiy which word i want then can i use index

forest zodiac
#

simple hint
print(string[0] == string_two[0])

woeful salmon
#

!e

text = "foo bar baz buz"

first, second, _ = text.split(maxsplit=2)
print(first)
print(second)
sour imp
#

!e

def animal_crackers(text):
    word1, word2 = text.split()
    return word1[0] == word2[0]
wise cargoBOT
#

@sour imp :warning: Your eval job has completed with return code 0.

[No output]
dark sable
#

one question i have is that the word is input by the user

sour imp
#

!e

def animal_crackers(text):
    word1, word2 = text.split()
    return word1[0] == word2[0]

print(animal_crackers('Levelheaded Llama'))
wise cargoBOT
#

@sour imp :white_check_mark: Your eval job has completed with return code 0.

True
somber heath
#

!d input

wise cargoBOT
#

input([prompt])```
If the *prompt* argument is present, it is written to standard output without a trailing newline. The function then reads a line from input, converts it to a string (stripping a trailing newline), and returns that. When EOF is read, [`EOFError`](https://docs.python.org/3/library/exceptions.html#EOFError "EOFError") is raised. Example:

```py
>>> s = input('--> ')  
--> Monty Python's Flying Circus
>>> s  
"Monty Python's Flying Circus"
```  If the [`readline`](https://docs.python.org/3/library/readline.html#module-readline "readline: GNU readline support for Python. (Unix)") module was loaded, then [`input()`](https://docs.python.org/3/library/functions.html#input "input") will use it to provide elaborate line editing and history features.

Raises an [auditing event](https://docs.python.org/3/library/sys.html#auditing) `builtins.input` with argument `prompt` before reading input...
dark sable
#

so then how do i mention it as two seperate parts

somber heath
#

str.split

#

Variable unpacking.

dark sable
#

is there any way i can communicate via voice since i am not able to explain it through text

somber heath
#

!e py a = ["thing", "thong"] b, c = a print(b) print(c)

wise cargoBOT
#

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

001 | thing
002 | thong
dark sable
#

ill try once again , thanks for your help

forest zodiac
frosty star
#

Oof 3blue1brown linear algebra is the best

#

Oh

#

Ok

#

Haha

forest zodiac
#

yeah he is good at explaining

woeful salmon
frosty star
#

Oh I’ve heard about fourier transform. But I’m also not smart enough to understand the hype 🥲

forest zodiac
#

what's your age? @woeful salmon

frosty star
#

😂

somber heath
#
>>> for a, b, c, d in itertools.product("13", ["blue", "brown"], "13", ["blue", "brown"]):
...     print(a,b,c,d)
...
1 blue 1 blue
1 blue 1 brown
1 blue 3 blue
1 blue 3 brown
1 brown 1 blue
1 brown 1 brown
1 brown 3 blue
1 brown 3 brown
3 blue 1 blue
3 blue 1 brown
3 blue 3 blue
3 blue 3 brown
3 brown 1 blue
3 brown 1 brown
3 brown 3 blue
3 brown 3 brown```
frosty star
#

Why are you a noodle reaper🤔

#

Oh i just noticed the profile picture

#

Oh the intro that’s another thing to think about. Youtubing is tough stuff

winter meadow
frosty star
#

Hah

#

Iwant it

#

Oh noooo

#

I love it tho

#

Has a nice ring to it

#

But you are indian

#

😮

woeful salmon
frosty star
#

Like scrubs

woeful salmon
frosty star
#

Im a cranky coder

#

😂

#

Oh u havent seen me coding in real life

#

Im also a cussing coder

#

Good point

#

I just got back from istanbul

#

R u still there

pastel linden
#

no i was there 2 months ago

frosty star
#

Ah it must’ve been rly cold then

pastel linden
#

it was

frosty star
#

Opal you never asked me my favourite food 🥺

pastel linden
#

Hinkali

frosty star
#

Ahh mandi

#

I love it. It’s either that or kabsa

#

Arabic rice is the best

pastel linden
#

agree!!!

frosty star
#

Pineapple on pizza is the best

#

Maybe it’s because I’m Malaysian it works for me because we’re used to having sweetness in savoury foods.

#

If the spicy food is not sweet it won’t sell here

#

Everybody’s just afraid of each other

#

It’s like war is a fact of life and humanity is sort of addicted to it? 🤔

#

It was a nice talk

#

Hope so 😂

#

Bye

#

Ola

#

Haaaaha

#

I have a lot

#

But recently I’ve discovered kaymak and I really loved that

#

Cant speak spanish 😦

#

I only know ola muchachos

#

Same

#

I code

#

Oohh C

#

I did a bit of C back in the days

#

Yeah

#

Its like butter but not really butter

#

It should be the other way round shouldnt it 🤔

#

Milky creamy kind of thing

#

I thought u were talking abt a milk product also

#

Haha

woeful salmon
#

@somber heath 😓 my code

def main() -> int:
    return 0

if __name__ == "__main__":
    edit(main())
frosty star
#

Lua?

#

Its the first time I’ve heard of Lua

#

My first language was I already forgot the name of

#

More control over the lower level huh

woeful salmon
#
print("hello")

print"hello"

^ both are valid in lua for example

#

lol

frosty star
#

Innnteresting

#

Mostly linux for coding

#

Windows for everything else

#

Pfft

#

Sasuga opal

#

Would love to stick around guys but its dinner time bbyyee

woeful salmon
storm nexus
#

hey

#

sorry

#

i'm in office

#

😅

#

thanks for letting me know

#

I need a help, i want to make API documentation in pdf format. can someone please share any good template?

#

okay

#

thanks

#

JavaScript for good for web related things

woeful salmon
storm nexus
#

lol

#

once a day😆😆

somber heath
#

Verboofourier transform.

woeful salmon
somber heath
#

Fauxier transform. Like a Fourier transform, but fake.

woeful salmon
#

lol

pallid hazel
#

the grape industry also

woeful salmon
#

@gentle flintit says upload

#

it has upload but not as a button but as a command you can run from the command palette or set a keybind for

gentle flint
#

yeah

#

I found out that I don't need it

#

I can just use the ESP-IDF extension

quasi condor
gentle flint
woeful salmon
#

i love my ability to just forget that i've been coding for 6 hours straight when i'm working on a project which is visually pleasing

#

i shall now go play video games for break

#

@quasi condorwait charlie you were not a mod? i swear i saw you with some kinda special role before

quasi condor
#

I used to have a Patreon role a very long time ago

woeful salmon
#

ooh 😮

quasi condor
#

but not anything special recently

woeful salmon
#

nice xD i was boosting this server the 2 months i actually bought nitro (to never use it) after which discord then gave away 3 months of nitro free to people who've never bought it...

quasi condor
frosty star
#

spite is good source of power

quasi condor
frosty star
#

I left for a week vacation and let my brother take care of my cat now she has skin problems 😦

quasi condor
#

(at least assuming Geoguessr hasn't lied to me)

quasi condor
#
Rightmove.co.uk

4 bedroom detached bungalow for sale in Common Lane, Selmeston, BN26 for £1,000,000. Marketed by Rowland Gorringe, Seaford

Rightmove.co.uk

4 bedroom house for sale in Hogarth Road, Hove, BN3 for £1,100,000. Marketed by Healy & Newsom, Hove

Rightmove.co.uk

5 bedroom detached house for sale in Littleworth Lane, Partridge Green, West Sussex, RH13 for £1,500,000. Marketed by Hamptons Sales, Horsham

Rightmove.co.uk

4 bedroom detached bungalow for sale in London Road, Uckfield, East Sussex, TN22 for £429,000. Marketed by Homewise, Worthing

gentle flint
quasi condor
frosty star
#

the eyes are different color

#

how do u know that

quasi condor
gentle flint
quasi condor
frosty star
#

do u guys kiss ur cat on the mouth

woeful salmon
#

@gentle flint i see you have traded your frames for 10 times better quality for your camera

#

xD

#

nvm its back to decent fps

#

nvm its gone again

gentle flint
#

that's just my internet

frosty star
#

I checked out better help one time their costs are pretty crazy.

#

therapy is so expensive tho 😦

#

I want to but I could only dare on the forehead 😦

#

You know if a beast would let you do that then you're one special human being

#

As I progress in my career therapy will definitely be part of the budget

#

just not now

frosty star
somber heath
#

I will snuggle cats to earth's end.

#

Kissing them on the mouth? No.

dark sable
#

Hi

#

are you'll in uni?

#

high school ?

#

I am currently learning python but i face difficulty in certain questions , is there anywhere you know where i can get good practice

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.

rugged root
dark sable
#

I mean free is great

#

also , i wanted to dwell a bit into machine learning later , but i feel the math will be a major hinderence

#

i dont think so

#

well they don't teach us that till maybe grade 11

frosty star
umbral terrace
#

D. new_list = [3, 4, 5, 6]
for i in range(len(new_list)):
if new_list[i] % 2 == 0:
new_list[i] = 'even'
else:
new_list[i] = 'odd'
print(new_list)

#

my_list = [['hey', 'hello', 'hi'], 'good morning']
new_list = [i + '!' for i in my_list[0]]

dense ibex
#

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

umbral terrace
#

my_list = [[10, 10], [100, 100], [500, 500, 1000]]
for val in my_list:
new_list = [i for i in val if i>10]

dense ibex
#

!e

wise cargoBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

umbral terrace
#

!eval my_list = [[10, 10], [100, 100], [500, 500, 1000]]
for val in my_list:
new_list = [i for i in val if i>10]

wise cargoBOT
#

@umbral terrace :warning: Your eval job has completed with return code 0.

[No output]
umbral terrace
#

D. [100, 100, 500, 500, 1000]

#
  1. Which branch structure is necessary if a program needs to output "Yes" if a variable's value is positive, or "No" otherwise?
    A. if
    B. else
    C. if-else
    D. if-elseif-else
#
  1. What is the value of x after the following code is executed? x = 7
    If x < 7
    x = x + 1
    x = x + 2
    A. 7
    B. 8
    C. 9
    D. 10
#

'''py x = 17
if x * 2 <= 34:
x = 0
else:
x = x + 1
x = x + 1 '''
A. 1
B. 18
C. 19
D. 35

wind raptor
#

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

umbral terrace
#
x = 17  
if x * 2 <= 34:  
   x = 0  
else:  
   x = x + 1  
x = x + 1  
rugged root
#

This looks like a multiple choice test

umbral terrace
#

Its a practice exam

rugged root
#

Gotcha gotcha

#

Sorry, it's my job to be suspicious

umbral terrace
#

Nah thats all good

#
  1. What is the output when the following code is executed?
    score = 65
    group = ''
    if score <= 60:
    group = group + 'A'
    if score <= 70:
    group = group + 'B'
    if score <= 80:
    group = group + 'C'
    else:
    group = group + 'D'
    print(group)
    A. C
    B. D
    C. AB
    D. BC
#

'''py

#
score = 65  
group = ''  
if score <= 60:  
 group = group + 'A'  
if score <= 70:  
 group = group + 'B'  
if score <= 80:  
 group = group + 'C'  
else:  
 group = group + 'D'  
print(group)  
rugged root
#

Which do you think?

umbral terrace
#

I think its B @rugged root

rugged root
#

Step through the if's one at a time

umbral terrace
#

But apearently thats wrong

#

but 65 isnt less than 60

rugged root
#

if score <= 60: Would that be true or false

#

Right

#

However, whenever you have if statements one after another, they all get checked

#

It's only when you have an if/elif/else chain that it can go to different parts of the chain

#

So the first 3 checks always happen

#

Regardless of whether or not they end up being false

lyric pawn
#

@woeful salmon why does it say youre name with 'jolly' after it in furyo's project?🤣

plain rose
#

i gotta go back to therapy again

#

cya

rugged root
#
def spam(pork):
#

spam(4)

undone idol
#

Hey why is Jake no longer helper?

umbral terrace
#

def get_stats(int_list):
result_sum = 0
result_min = int_list[0]
result_max = int_list[0]
for value in int_lits:
result_sum += value
if value < result_min:
result_min = value
if value > reslut_max:
result_max = value
return result_sum, result_min, result_max
values = [ 6, 4, 12, 8 ]
XXX
print('{}, {}, {}'.format(a, b, c))
A. a, b, c = get_stats(values)
B. c = get_stats(values)
a = get_stats(value)
b = get_stats(value)
C. result_min, result_max, result_sum = get_stats(values) D. c, a, b = get_stats(values)

tiny socket
umbral terrace
#
def get_stats(int_list):  
 result_sum = 0  
 result_min = int_list[0]  
 result_max = int_list[0]  
 for value in int_lits:  
 result_sum += value  
 if value < result_min:  
 result_min = value  
 if value > reslut_max:  
 result_max = value  

 return result_sum, result_min, result_max  
values = [ 6, 4, 12, 8 ]  
XXX  
print('{}, {}, {}'.format(a, b, c))  

A. a, b, c = get_stats(values)
B. c = get_stats(values)
a = get_stats(value)
b = get_stats(value)
C. result_min, result_max, result_sum = get_stats(values)
D. c, a, b = get_stats(values)

signal sand
#

it is equivalent to
(a, b, c) = (sum, min, max)

umbral terrace
#

Which statement would replace XXX so that the output is: 4, 12, 30?

woeful salmon
#

!e

def foo():
    return 1, 2, 3
print(type(foo()))

it returns a tuple of your values and tuples are ordered
you're unpacking those values then using str.format method to insert those values according the the position into the string

wise cargoBOT
#

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

<class 'tuple'>
signal sand
sweet lodge
#

!eval

a,b,c=1,2,3
print(b)
wise cargoBOT
#

@sweet lodge :white_check_mark: Your eval job has completed with return code 0.

2
umbral terrace
#
  1. Which statement assigns the string variable airport_code with the value JFK?
    A. airport_code = JFK
    B. 'JFK' = airport_code
    C. airport_code = 'JFK'
    D. JFK = 'airport_code'
sweet lodge
#

!eval airport_code = JFK

wise cargoBOT
#

@sweet lodge :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'JFK' is not defined
umbral terrace
#
  1. Which uses the concat() function to output: red fish blue fish?
    def concat(*args):
    s = ''
    for item in args:
    s += ' ' + item
    return s
    A. print(concat(['red, blue'], 'fish'))
    B. print(concat(red), concat(fish), concat(blue), concat(fish))
    C. print(concat('red', 'fish', 'blue', 'fish'))
    D. print(concat(red, fish, blue, fish))
    \
signal sand
#

strings are immutable... @umbral terrace so you can't append

#

And append only add one element... not bunch of elements...

rugged tundra
#

str1="Hello"
str2="World"
print ("String 1:",str1)
print ("String 2:",str2)
str=str1+str2
print("Concatenated two different strings:",str)

sweet lodge
#

!eval

def concat(*args):
  s = ''
  for item in args:
    s += ' ' + item
  return s

print(concat('red', 'fish', 'blue', 'fish'))
wise cargoBOT
#

@sweet lodge :white_check_mark: Your eval job has completed with return code 0.

 red fish blue fish
signal sand
#

string class

sweet lodge
#

I'm just saying don't overwrite builtins.
But that too

umbral terrace
#

def message1():
print('Message #1')
def message2():
print('Message #2')
message1 = message2
message2 = message1
message1()
message2()
A. Message #1
Message #1
B. Message #1
Message #2
C. Message #2
Message #1
D. Message #2
Message #2

this is A

sweet lodge
#

Are you sure?

signal sand
#

sorry D

#

m1 = m2
m2 = m1 , which is m2, so
m2 = m2

#

@umbral terrace let me save you couple of months... same thing happened to me...

when we say x = y... assign y to x

math = is "=="

umbral terrace
#

Thats exactlly what i said

#

ty

signal sand
#

x = x+1 don't make sense in math, does it...

sweet lodge
#

Soo...

>>> def message1(): ...
>>> def message2(): ...
>>> id(message1)
2048717472816
>>> id(message2)
2048717472384
>>> message2 = message1
>>> id(message1)
2048717472816
>>> id(message2)
2048717472816
#

Setting variables equal to each other does not give copy the value

#

It makes the two names point to the same item in memory

umbral terrace
#
  1. Which statement is true about the *args and **kwargs special arguments?
    A. Any single function definition can only define *args or **kwards, but never both.
    B. Both may be used in a single function call, but *args must appear before **kwargs in the argument list
    C. Both may be used in a single function definition, but **kwargs must appear before *args in the argument list.
    D. Both may be used in a single function definition, and *args and **kwargs may appear in any order in the argument list.
signal sand
#
def add(B):
  for i in range(len(B)):
    B[i] += 1
  return B

A = [ 1, 2, 3]
X = add(B)
print(A)

@umbral terrace what will be the output of this

sweet lodge
#

!eval

def func(**kwargs, *args):
 ...
func(number=21)
wise cargoBOT
#

@sweet lodge :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     def func(**kwargs, *args):
003 |                        ^
004 | SyntaxError: invalid syntax
sweet lodge
rugged root
#

pirate args

molten pewter
#

Arrrrgs

sweet lodge
#

!eval

def func(number1=1, 2)
  ...
wise cargoBOT
#

@sweet lodge :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     def func(number1=1, 2)
003 |                         ^
004 | SyntaxError: invalid syntax
rugged root
#

@inner island Two things. First, would you mind changing your nickname to not use invisible characters? See the #rules channel for our nickname policy. And with regards to speaking, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate

quasi condor
#

!e

def print_something(*args, **kwargs):
    if 'no' in args:
        print('go away')
    print(*args, **kwargs)

print_something('a', 'b', 2, sep=" - ")
print_something('no', end='haha')
wise cargoBOT
#

@quasi condor :white_check_mark: Your eval job has completed with return code 0.

a - b - 2
sweet lodge
#

!docs print

wise cargoBOT
#

print(*objects, sep=' ', end='\n', file=sys.stdout, flush=False)```
Print *objects* to the text stream *file*, separated by *sep* and followed by *end*. *sep*, *end*, *file*, and *flush*, if present, must be given as keyword arguments.

All non-keyword arguments are converted to strings like [`str()`](https://docs.python.org/3/library/stdtypes.html#str "str") does and written to the stream, separated by *sep* and followed by *end*. Both *sep* and *end* must be strings; they can also be `None`, which means to use the default values. If no *objects* are given, [`print()`](https://docs.python.org/3/library/functions.html#print "print") will just write *end*.

The *file* argument must be an object with a `write(string)` method; if it is not present or `None`, [`sys.stdout`](https://docs.python.org/3/library/sys.html#sys.stdout "sys.stdout") will be used. Since printed arguments are converted to text strings, [`print()`](https://docs.python.org/3/library/functions.html#print "print") cannot be used with binary mode file objects. For these, use `file.write(...)` instead.
quasi condor
#

!e

def print_something(*args, **kwargs):
    if 'no' in args:
        print('go away')
    print(*args, **kwargs)

print_something('a', 'b', 2, sep=" - ")
wise cargoBOT
#

@quasi condor :white_check_mark: Your eval job has completed with return code 0.

a - b - 2
sweet lodge
signal sand
#

Don't worry about memorizing... if you use it regularly, your brain will remember them...

umbral terrace
#

Which statement causes the face with 'x' characters for eyes to be printed?
def x_eyes():
print('x x')
def o_eyes():
print('o o')
def face(eyes):
eyes()
print(' > ')
print('----')
A. face(x_eyes())
B. face(x_eyes)
C. x_eyes()
face()
D. face('x')

quasi condor
#
def x_eyes():
 print('x x')
def o_eyes():
 print('o o')
def face(eyes):
 eyes()
 print(' > ')
 print('----')
A. face(x_eyes())
B. face(x_eyes)
C. x_eyes()
face()
D. face('x')
signal sand
#

B

#

when you use (), it will call the function

#

x_eyes is a variable name... you pass names to the function...

#

where as () call the function...

umbral terrace
#
  1. Which of the following statements has a syntax error? Assume age and years are variables that have already been defined.
    A. age = years - 2
    B. age + 2 = years
    C. age = 17 - 2
    D. age = -15
#

its a

signal sand
#

Why do you think it is A

#

tell the reason

#

Okay what about B?

#

So what is a syntax error?

#

You just told

#

!eval age + 2 = years

#

They are asking, which is syntax error...

summer ocean
#

I am taking the CS50 class by havard online it's fun 😊

worn bluff
#

How come I cannot talky in voice chat ?

summer ocean
umbral terrace
#
  1. What is the output?
    def find_sqr(a):
    t = a * a
    return t
signal sand
#

You've never seen sqr because there is no such thing

umbral terrace
#

def find_sqr(a):
t = a * a
return t
square = find_sqr(10)
print(square)
A. 0
B. 10
C. 100
D. (Nothing is output)
30. Function calc_sum(

signal sand
#

yep 100

#

you can do it a = a*a

#

didjn't get you

#

function are exactly like math functions... they take input and give output

molten pewter
#

anecdote

umbral terrace
#
  1. Which of the following types of constructs can be called to stop program execution?
    A. Use a pass statement
    B. Raise NotImplementedError
    C. Print a "FIXME" message and return -1
    D. return None @signal sand
#

@rugged root

#

is it A

#
  1. Which X and Y cause the program to print the final velocity in feet per second? Note that the distance and initial_velocity are given using meters instead of feet.
    def final_velocity(initial_velocity, distance, time):
    return 2 * distance / time - initial_velocity
    def meters_to_feet(distance_in_meters):
    return 3.28084 * distance_in_meters

display final velocity in feet per second

t = 35 # seconds
d = 7.2 # meters
v_i = 4.6 # meters / second
print('Final velocity: {:f} feet/s'.format(final_velocity(X, Y)))
A. X = meters_to_feet(v_i), Y = meters_to_feet(d)
B. X = v_i, Y = meters_to_feet(d)
C. X = meters_to_feet(v_i), Y = d
D. X = v_i, Y = d

quasi condor
#

!e

print(2+2*5)
wise cargoBOT
#

@quasi condor :white_check_mark: Your eval job has completed with return code 0.

12
woeful salmon
#

@rugged root lua supports both of these

print("hello")
print"hello"
#

also i shall go a few games and then sleep now gn

terse needle
#

nim is on another level

echo "hello"
echo("hello")
"hello".echo()
lyric pawn
#

@rugged root and @terse needle good convo right now

#

my bad, wrong chat🤣

terse needle
#
x <-|
  $0 10 eq -> $0 1 add OUTPUT x
  $0 1 add OUTPUT
#

the final line is a base case

plain rose
#

hello

#

Oh look, spiritual guy

#

@rugged tundra , hi

rugged tundra
plain rose
terse needle
misty nebula
#

hi

primal yacht
#

@misty nebula which is over here

#

!voice

wise cargoBOT
#

Voice verification

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

misty nebula
#

oh ok wait a sec

#

so I gotta be more active right?

#

seems alright..

#

i was wondering are you guys on codeforces ?

#

XD

#

I'll have to go..byee

loud karma
#

hello

#

phone voice chat lags :/

frosty star
#

Hayyyy

frosty star
woeful salmon
#

@blissful vine here

blissful vine
#
& : The term 'F:/Rudra/Python69/python.exe' is not recognized as the name of a cmdlet, function, script 
file, or operable program. Check the spelling of the name, or if a path was included, verify that the 
path is correct and try again.
At line:1 char:3
+ & F:/Rudra/Python69/python.exe "f:/Rudra/Carbon bot discprd/Main2.py"
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (F:/Rudra/Python69/python.exe:String) [], CommandNotFoundEx  
   ception
    + FullyQualifiedErrorId : CommandNotFoundException
cunning lake
#

birth_year = input('what year were you born?')

year = (1960)

woeful salmon
#

🤣 @somber heath i'm yellow now btw

zenith radish
#

Ayyy you earned enough helper coins

woeful salmon
#

oh hello LP 🙂

#

must be quite early in the morning

#

for you

zenith radish
#

hellolo

#

indeed

woeful salmon
#

goodmorning 🙂

zenith radish
#

hellooo

woeful salmon
#

ctrl + r

somber heath
#

@zenith radishHave you become a cat?

#

"I'm in, I want out. I'm out, I want in."

gleaming folio
#

No screensharing ?

#

:))

cunning lake
#

@gleaming folio how long are you in the server >

#

?

zenith radish
#
(map! :leader
      "r" #'+hydra/window-nav/body
)
gleaming folio
#

2 days

cunning lake
#

i seen you couple times ho you have 1 more day

#

and then you can speak

gleaming folio
#

I know still no mic

#

Okey

cunning lake
#

yes

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

zenith radish
#
;; Discord
(require 'elcord)
(elcord-mode)
(setq elcord-editor-icon 'emacs_material_icon)
gleaming folio
#

I guess I need to make some chats

cunning lake
#

\n

zenith radish
gentle flint
cunning lake
#

!e f

#

!e /f

#

!\f

wise cargoBOT
#
Did you mean ...

» floats
» foo
» sql-fstring
» faq
» string-formatting
» f-strings
» functions-are-objects
» local-file
» for-else

zenith radish
#

a gig of code

gentle flint
zenith radish
frosty star
zenith radish
#

CHILD

somber heath
#

Why Rust Batteries May Be the Future of Energy - Iron Air Battery Technology. Go to http://brilliant.org/Undecided to sign up for free. And also, the first 200 people will get 20% off their annual premium membership. While renewable energy sources like solar and wind have now become cheaper than fossil fuels, developing long-term energy storage ...

▶ Play video
gentle flint
woeful salmon
#

food break brb 🙂

summer ocean
#

Those Blue ones are super dangerous i accidentally shorted one and it blasted in-front of me 🥲

gentle flint
#

*they are super dangerous if you short them

summer ocean
#

What project are u making which involves these batteries ?

#

Just pres alt+f4hemlock

zenith radish
#

emacs users be like

somber heath
robust mesa
#

could you anyone help me

#

?

tidal shard
robust mesa
#

i need help on python

#

You know firebase with python

woeful salmon
frosty star
zenith radish
#

I'll be on in a bit

#

I'm compiling emacs with libgccjit

#

Been going for 1.5h already

#

Should be done soon enough

#

!xkcd 378

#

.xkcd 378

viscid lagoonBOT
#

Real programmers set the universal constants at the start such that the universe evolves to contain the disk with the data they want.

zenith radish
#

@woeful salmon

zenith radish
#

lsp-mode is i n s t a n t

terse needle
#

Solid

zenith radish
#

The find-file command works SO FAST

terse needle
#

Do it when I get home

zenith radish
#

Bless

#

Already got @woeful salmon on it

#

Seriously lads this is a gamechanger

#

Imma go to the store now but seriously this is the best emacs experience I've had over the three years of using it

whole rover
woeful salmon
zenith radish
whole rover
#

lol

zenith radish
#

there's enough of us to make it worth it

whole rover
#

once we roll out threads we can have an emacs thread in #editors-ides

zenith radish
#

aight that works

#

thanks babe

whole rover
#

actually i'll just make one now

frosty star
#

Opall

warm silo
#

i keep getting disconnected ;-;

frosty star
#

Show off

#

His oop tutorials are pretty good too

warm silo
#

brb somethings wrong with my connection

frosty star
#

None of us are

zenith radish
plain rose
#

ay, leave the hair follicles alone

swift valley
#

Evening

#

Yes I do

zenith radish
#

#Emacs Thread

swift valley
#

With native comp?

zenith radish
#

Yee

swift valley
#

Takes mine about 2 hours ish as well

somber heath
swift valley
#

1752642 lines of LISP code

#

468174 of C code

somber heath
rugged tundra
rugged root
#

Ohhhh yeah yeah yeah

cosmic lark
#

@woeful salmon man can i dm ya?

#

uwu

woeful salmon
#

sure but i can't vc rn

cosmic lark
woeful salmon
#

^

rugged root
#

Would this be considered Trig?

compact trout
#

shi- i can't talk

zenith radish
rugged root
compact trout
#

Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:

• You have sent less than 50 messages.
• You have been active for fewer than 3 ten-minute blocks.

#

:]

rugged root
#

Ah yeah you'll get there. Just hang out, join in on the convos here (if we're in voice chat we're almost always looking at the text channel) or what have you

wind raptor
#

Gonna head out and work on my bootcamp. Cheers!

compact trout
#

yoo 27

summer ocean
#

😂 😂

rugged tundra
plain rose
#

3 and a half decades

#

so around one mr.hemlock

whole bear
#

Hi there

#

Can u try my code?

rugged root
#

Damn it

#

As soon as I sit down I have to stand back up and take care of something

cosmic lark
wise cargoBOT
#

Hey @cosmic lark!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

cosmic lark
#

oops sad

cosmic lark
rugged tundra
old heart
#
Central Tibetan Administration

News Analysis, Epoch Times, 5 January 2020, Read original news here. Yang Jiechi, China’s top diplomat, recently made several stops in Africa to monitor Chinese interests and bolster bilateral relations on the continent. Yang, the director of the Office of Foreign Affairs and a member of the Chinese Communist Party (CCP) Politburo, also m...

amber raptor
rugged root
#

Still annoyed that we didn't get to be "Generation Y-bother"

sweet lodge
rugged root
#

Well yeah, but what's the point?

#

(see what I did there)

sweet lodge
#

You campaign for Weasel
What's the point in that?

rugged root
#

Because it's a hill worth dying on

rugged tundra
sweet lodge
#

And generational names aren't?

#

You're naming an entire generation

#

Seems like we should be putting some more thought into it

rugged root
#

Sure but Weasel is an open field

#

There hasn't been a word for WSL yet

#

Just the letters

sweet lodge
#

True

plain rose
#
<class 'universe.quantum.super_position'>``` this chat is keeps changing topic too much
sweet lodge
#

On this week's episode of "How much data can Excel hold"

plain rose
#

fuck, turns out these were warm ups and there are STILL quizzes

sweet lodge
#

These connections are actually using a standardized API format called ODATA, which is made by Microsoft. ODATA actually includes filters as part of the spec, which I would like to use to limit the amount of data I pull, so that I can keep the file size to slightly less ridiculous, but if I add a filter then Excel crashes.

It's... it's Microsoft's own format...

plain rose
#

right before march break

sweet lodge
#

Quizzes right before a break

plain rose
plain rose
#

and 3 warm ups

sweet lodge
#

Aren't those called finals?

plain rose
#

not finals

#

i think

#

😰

amber raptor
#

You don't have a clue about their HR process

old heart
#

“Today as always, men fall into two groups: slaves and free men. Whoever does not have two-thirds of his day for himself, is a slave, whatever he may be: a statesman, a businessman, an official, or a scholar.”

― Friedrich Nietzsche

mild quartz
#

get the job and work 35 hrs a week rest and vest

amber raptor
#

Also, GMail is littered with god awful decisions

cyan stirrup
amber raptor
#

but never a manager, I'm not useless

cyan stirrup
#

or combination of variables that you look for?

amber raptor
old heart
#

People who don't test well can also provide immense value to a company. Not all brains are the same. People who can regurgitate code may not be able to think outside of the box.

amber raptor
#

We test people on Azure DevOps pipelines as DevOps interview because guess what software we use for CI/CD

cyan stirrup
amber raptor
#

we no longer allowed to look at Github profiles for discrimination reason, it's actually been a better change

cyan stirrup
#

You think HR does a good job in that respect, then?

#

filtering out candidates?

amber raptor
#

No, HR does terrible job

#

but fixing that is too difficult

#

oh yea, we do have one take home test

cyan stirrup
#

loollll. Ok, so if someone gets past HR there's nothing else to filter other than testing in the interview process? I guess I don't know the ratio between applications, to what appears on the manager's desk to who actually gets the interview.

amber raptor
mild quartz
#

@old heart we are talking about standardized testing

#

essentially an iq test

#
  • time
cyan stirrup
amber raptor
amber raptor
rugged tundra
#

Can someone walk through this leetcode (hackerrank) solution (java). I can get the link to the problem too

#

public class Solution {

public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int n = in.nextInt();
    int k = in.nextInt();
    int[] height = new int[n];
    int max = 0;
    for(int height_i=0; height_i < n; height_i++){
        height[height_i] = in.nextInt();
        if ( height[height_i] > max){
            max = height[height_i] ;
        }
    }
    if(k >= max){
        System.out.println("0");
        
    }
    // y
    else{
            System.out.println(max-k);
     }

}
}

amber raptor
#

that was painful interview

cyan stirrup
rugged tundra
#

python

#

n,k = input().strip().split(' ')
n,k = [int(n),int(k)]
height = list(map(int, input().strip().split(' ')))
count=0
for i in height:
if i>k:
count+=i-k
k=i
print(count)

amber raptor
#

I don't know what happened with other 46, I just see numbers

#

I have Jobvite access that shows me numbers, it doesn't tell why or who

#

as tech lead, I don't get that access

cyan stirrup
amber raptor
#

just numbers and anyone I interview, what happened

#

so I don't know why other 46 were rejected, just that they were

cyan stirrup
#

Wouldn't it be better if you had full control over the hiring process (within legal params)?

amber raptor
#

I know why 1 out of 47 was rejected

cyan stirrup
#

Since it's YOUR team?

amber raptor
#

it's not my team, I have no one reporting to me officially in Workday

#

it's my bosses team

cyan stirrup
#

... ok so hypothetically isn't it in your boss's best interest? Or is the company small enough that your Boss is also CEO and doesn't have time to acquire a team?

amber raptor
#

my company is publically traded

#

so it's big

cyan stirrup
#

I feel like your boss, based on what you told me, would be more personally invested in acquisition if the demand is there. What am I missing?

amber raptor
#

acquisition is hard?

#

in US, IMO, we have ruined the tech pipeline

#

but our acquisition isn't because we dont' leetcode

#

it's just hard in general

cyan stirrup
#

My personal vested interest is 1) "Git gud" and 2) Get hired

#

any tips for getting through this shit pipeline once I complete step 1?

rugged root
#

I guess I'm a poor person to argue these points. I'm a hobbyist. These kinds of focuses feel like they take the fun and love out of coding

#

Coding is not my profession

gentle flint
#

@rugged root do you know anything about the Pine A64+?
in terms of reliability, compatibility etc

#

the raspberry pi is unobtainable for the next 9 months

rugged root
#

Not a thing, unfortunately

gentle flint
#

oh well

#

thanks anyway

rugged root
#

Sorry

gentle flint
#

that's fine

signal sand
#

oops

rugged root
#

Was wondering why people were responding to you and I wasn't seeing anything

#

I was confuzzled

#

I think I figured out my other beef

#

It's kind of a similar mentality of dismissing folks who would be picking up trades. These are still incredibly necessary skills that we take for granted

#

Plumbing, electrical, etc.

deft schooner
#

Hi everybody

rugged root
#

Yo

deft schooner
#

Programming is hard. Today I probably had the hardest time programming since I started to learn how to program 4 years ago

mild quartz
#

i have to go

#

but my advice @cyan stirrup is that there is an easy path and a hard path

deft schooner
#

But I'm pretty bad at programming in general

rugged root
#

Catch you later, brother

mild quartz
#

if you pass leetcode medium now

#

and get faang internship or equivalent

#

you have easy career and lots of leverage to do whatever

cyan stirrup
#

ahhh ok

mild quartz
#

its a metric you can solve and game

#

so take advantage of that

cyan stirrup
#

so go leetcode now. goti t

mild quartz
#

otherwise you can get genuinely good

#

its better to just solve the fucking test

rugged root
#

The fact that you can game it kind of makes it not a great system

mild quartz
#

and get good at a good company

rugged root
#

At least to me

#

But again, I'm not in the industry, take what I say with a grain of salt

cyan stirrup
#

is there a competitor for leetcode I should be aware of?

rugged root
#

Or a whole shaker

signal sand
#

leetcode aside, learning algorithms and data structures will make you better programmer @rugged root

rugged root
#

Depending on what you're doing

#

If all I'm doing is working on backend Springboot, probably not overly helpful

signal sand
#

"better programmer" in general...

#

you will understand "computers" in a better way... than people who don't

rugged root
#

Depending on the language you use, that's not always important

#

Higher level languages don't typically have to touch it

signal sand
#

even in higher level languages you need to know when to use"dictionary or list"

deft schooner
#

Sorry, I don't speak devops

signal sand
#

Low level things.... deal with constant factors of speed...

#

algorithms don't care about constant factors

rugged root
#

Don't they?

signal sand
#

They don't

#

10000000000000000 n < n^2 ... in algorithms..

rugged root
#

That is a constant, though

signal sand
#

yeah...

rugged root
#

It's a predictable, consistent thing

#

An algorithm is also a constant consistent thing

signal sand
#

n^2 is slower algorithms than 1000000000000000000000 n

rugged root
#

I think people can learn by experience that certain things would end up being slower and faster through, well, experience

signal sand
#

They can...

rugged root
#

Experience can teach these more finicky points

#

As can the job itself

signal sand
#

But learning algorithms and data structures give a consistent framework..

rugged root
#

Algorithms can be looked up

signal sand
#

to see... ah.. that's slower... ah that's faster

rugged root
#

Data structures come with learning the language and the syntax

signal sand
#

I'm not saying about leetcode

#

I'm not saying to remember bunch of algorithms

rugged root
#

Sure sure

rugged root
#

Sure sure

#

But sometimes you're just the dude using those existing frameworks

signal sand
#

That's true...

rugged root
#

I'm more saying that not everyone needs to be a rockstar

#

We need grunts to get shit done

#

That's what I am coming from a CIS degree

signal sand
rugged root
#

Right

#

And I have folks like you to do that for me

#

You guys make numpy, I just use it

signal sand
#

haha

rugged root
#

It's a team effort

amber raptor
#

BTW, my solution was find the first repeating character, I just split the string into arry, made empty array, foreach though the stringarry, tested it against the empty array and if there was match, returned that character, else add to array and moved on

quasi condor
#

In time/storage complexity analysis you ignore constant factors because as things tend to infinity, the constants have 0 effect. That's not the same as saying constant factors don't matter though.

dark sable
#

Hey i have a few problems in python , which i am unable to understand can someone help me

signal sand
#

It is like people saying... why learn math... you will not use them in real world... but math teach you problem solving... same this with this... learning algorithms tell you how to solve problems...

PS: This is not about leetcode, it is about college algorithms and data structures class

dark sable
#

My voice isn't verified though

rugged root
#

What's got you stuck, Pheno

dark sable
rugged root
#

I know, I'm reading it, Char

quasi condor
#

@molten pewter want to try out observablehq in 20m?

rugged root
#

Patience child

#

Okay, so maybe I'm not understanding the data structures part

#

What specifically are we referring to

molten pewter
rugged root
#

I think I've never understood that they mean about data structures. Is it data types? Is it forming data classes, is it the structure and types and what have you of arbitrary data you're getting?

cyan stirrup
# amber raptor BTW, my solution was find the first repeating character, I just split the string...

@rugged root I've got 437 days and roughly 10 hours a week to learn how to be useful in a devOp's / DevSecOps team. I haven't been coding since I was 11, I'm very new with only 9 months of university theory. I feel like I don't have time to learn via "trial by fire". I'm looking for the fastest roadmap to becoming a productive team member - tradesman route type curriculum.
If anyone has recommendations - I'm scrambling.

rugged root
#

I started coding when I was in college

#

@dark sable Just try explaining or showing code snippits of what you're needing help understanding

terse needle
#
ld: cannot find crtbeginS.o: No such file or directory
ld: cannot find -lgcc
ld: cannot find -lgcc
libgccjit.so: error: error invoking gcc driver
NULL result⏎                               
dark sable
#

Its not just a specific question , i wanted to identify the mistake in the logic i use when interpreting

summer ocean
#

Linux Mint ?

tidal shard
#

Happy Friday

#

Cheers ale

vivid compass
molten pewter
#

mint, is not so great

#

the Linux discord calls it Frankenstein Linux.

rugged root
#

Is there not a prompt you're trying to do to kind of give an example of what you'd want to step through?

#

Wow Hemlock, that sentence was so poorly phrased

old heart
#

I'm looking for advice on how to workflow a large project

dark sable
#

there is but i wanted to discuss it , i hope ill get verified by tommrow

#

like as i share so i can explain my logic better

rugged root
#

Hmm. Give me like.... 5 minutes and I can drag you down to code/help voice and we can discuss it

#

I can take the mute off temprorarily

#

Just have to do some stuff around the office real quick

dark sable
#

thanks !!

summer ocean
#

@dark sable wubba lubba dub dub

quasi condor
molten pewter
zenith radish
molten pewter
zenith radish
terse needle
zenith radish
sweet lodge
#

Did someone say Excel?

terse needle
#
configure: error: The installed libgccjit failed to compile and run a test program using
the libgccjit library; see config.log for the details of the failure.
The test program can be found here:
<https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html>.
You can try compiling it yourself to investigate the issues.
Please report the issue to your distribution if libgccjit was installed
through that.
You can find the instructions on how to compile and install libgccjit from
source on this site:
<https://gcc.gnu.org/wiki/JIT>.
molten pewter
#

Wasn't Microsoft involved in a class action lawsuit due to this behavoir?

sweet lodge
#

@rugged root - So.....
My idiot vendor shipped me a computer with their software preinstalled that breaks if I join the computer to my AD.
My idiot employee pressed "yes, please update me to Windows 11" after being told not to multiple times.
This software will break under Windows 11.

I can't join the computer to the domain, so I can't block the update through Group Policy.
Are there any ways left to block Windows Update for non domain joined computers? Last I heard Microsoft blocked all of the bypasses to force updates

rugged root
#

!stream 152515077512232960 1h

wise cargoBOT
#

✅ @quasi condor can now stream until <t:1647024793:f>.

zenith radish
#

@terse needle recompile libgccjit

mkdir build
mkdir install
PREFIX=$(pwd)/install
cd build
../src/configure \
   --enable-host-shared \
   --enable-languages=jit,c++ \
   --disable-bootstrap \
   --enable-checking=release \
   --prefix=$PREFIX
nice make -j4 # altering the "4" to however many cores you have
amber raptor
zenith radish
sweet lodge
#

GitHub apparently doesn't know what to put when you request a review from a team you're on

white shadow
zenith radish
#

--with-xwidgets

#
CFLAGS="$CFLAGS:-I#{libgccjit_dir}/include"
blissful vine
#

@rugged root can you please help

amber raptor
ivory stump
rugged root
blissful vine
blissful vine
blissful vine
#
import re
import string

separators = string.punctuation+string.digits+string.whitespace
excluded = string.ascii_letters

word = "badword"
formatted_word = f"[{separators}]*".join(list(word))
regex_true = re.compile(fr"{formatted_word}", re.IGNORECASE)
regex_false = re.compile(fr"([{excluded}]+{word})|({word}[{excluded}]+)", re.IGNORECASE)

profane = False
if regex_true.search(message.content) is not None\
    and regex_false.search(message.content) is None:
    profane = True
#

This is my code

#

Ik it has no error

#

But i can't fit in my previous code

#

I didn't get you 😳 your English is very very good

#

Fitting means

#

Like I can't put my code

#

Inside another code

#

Yeah

#

Right

#

I needs to share screen but i can't

#

Wait I will paste my another code

rugged root
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

blissful vine
#

My previous code is of 4k+ words

#

I can't even paste

zenith radish
#

--sysroot=/home/lz/olimex/gcc-4.3.3/

blissful vine
#

😕

wise cargoBOT
#

Hey @blissful vine! I noticed you posted a seemingly valid Discord API token in your message and have removed your message. This means that your token has been compromised. Please change your token immediately at: https://discordapp.com/developers/applications/me

Feel free to re-post it with the token removed. If you believe this was a mistake, please let us know!

blissful vine
#

I am going to refresh

summer ocean
#

Hey guys can i ask a general question

blissful vine
#

@rugged root this is my previous code i need to put another code in this code

terse needle
#

gcc-10.2.1pre1_3

blissful vine
#

Ohh sorry I have to go to sleep it's 4 AM here

smoky burrow
#

Hi, can you also avoid sharing bot invite links?

blissful vine
cloud kindle
#

@rugged root
Python being simple and easy language to learn; but sometime thinking it as simple we make our own assumption of the working of code neglecting the depth of the functionality so how can this depth be covered or this might be better to think of when we strike at that problem?

#

.
I wrote this with my philosophical mind i hope u get it right

rugged root
# cloud kindle <@98195144192331776> Python being simple and easy language to learn; but someti...

You do make a valid point. Because it's easy to pick up, people typically think of it as a stepping stone language. Much like how BASIC was back in the old days. However Python is indeed a powerful tool. May not always be the fastest for certain things, but what it lacks in runtime speed (again, can lack; it doesn't always) it makes up for with how fast you can develop a program. That's partly due to the language itself and the ecosystem that has evolved around it. Odds are good that if you need to do something, someone has made a library to make that task easier

terse needle
rugged root
woeful salmon
rugged root
sour imp
#

ayyyy rich is awesome been using it for a while now!

rugged root
#
woeful salmon
rugged root
woeful salmon
#

that lets you make a terminal selection menu thing

#

like he was saying

rugged root
#

Oh sick

zenith radish
#

@copper shard

terse needle
#

@vivid palm you stopped following me on spotify 🥲

uncut meteor
#

@terse needle get good spotifiifify

vivid palm
#

lolol

uncut meteor
#

blessed

#

rich

terse needle
terse needle
#

"vi vi vi... the editor of the beast..." - Saint Ignucious

rugged root
terse needle
uncut meteor
terse needle
#

gaben?

uncut meteor
#

gaben?

terse needle
#

gaben?

vivid palm
terse needle
vivid palm
#

yeah i don't see you

#

never added you DogeKek

#

oh i see you now

#

there

terse needle
#

I have no idea how that thing works

#

you were on my friend activity for a bit and I was convinced you both had to be friends but maybe not

woeful salmon
rugged root
#

This actually hurts me

woeful salmon
vivid palm
trail mural
#

🤮

terse needle
signal sand
woeful salmon
#

🤔 i'm personally slowly starting to just shift more and more towards tavern / country / sea shanty kinda music

uncut meteor
woeful salmon
#

no but i would look at it right now if you could tell me how its spelled 😮 @zenith radish

zenith radish
#
#
woeful salmon
#

👀 the first one is nice.. already bookmarked a few vids just from listening a part of it

#

looking at 2nd one now

woeful salmon
wise verge
#

can i speak?

woeful salmon
#

!voice

wise cargoBOT
#

Voice verification

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

uncut meteor
willow light
#

I'm going to make some jira tickets with clickbait titles.

vivid palm
unkempt magnet
#

hey

quasi condor
terse needle
#

imagine one of these buggers chasing you

sour imp
#

I imagined too hard and now I burned down my house thanks 😛

somber heath
#

Not sure where it got to.

terse needle
#

I wouldn't be able to sleep at night if I lost it

unkempt magnet
#

bash

hearty echo
#

GB
0:00 / 2:03
Demis Hassabis

native trellis
#

@somber heath i dont have access to speak

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

native trellis
#

india

unkempt magnet
#

@stoic juniper good pfp

native trellis
#

@somber heath bye bye

stoic juniper
#

korea

unkempt magnet
wise cargoBOT
#

Voice verification

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

stoic juniper
unkempt magnet
unkempt magnet
stoic juniper
hearty echo
unkempt magnet
stoic juniper
#

well, what is an arc?

unkempt magnet
somber heath
unkempt magnet
stoic juniper
stoic juniper
stoic juniper
#

jolly is from British?

#

👀

#

I am going to have lunch, bye guys~

hearty echo
#

KOK nice to meet my friend

unkempt magnet
#

see you later

somber heath
#

Wheaton's Law: Don't be a dick.

unkempt magnet
#

GN every one 💤

mortal crystal
#

this conversation is too english for me

#

have a nice 1 mates

hearty echo
#

rushi oahi

#

lond gmae

#

long tagme

#

rush dohi

ebon mist
#

yo

#

@hearty echo yo

#

y

#

help

#

its a lot

#

vs code

hearty echo
#

emac and vi

#

got for sinner 🙂

ebon mist
#

can you enabel my mic??

#

pliz

hexed sun
#

plz*

ebon mist
#

blue

#

7

hexed sun
#

3

ebon mist
#

game ing

hexed sun
#

i gtg... 33333

ebon mist
#

when i try to call name = input ('name')

#

autocomplete issues

#

???

#

help??

#

pliz

#

that 10??

#

@hearty echo ??

#

y

#

yy

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @ebon mist until <t:1647063066:f> (9 minutes and 59 seconds) (reason: burst rule: sent 8 messages in 10s).

chilly mountain
#

hi

cunning lake
#

hello

chilly mountain
#

why am i unable to unmute

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

chilly mountain
#

ok

#

thanks

#

a lot

cloud kindle
#

Like currently i wanna get feel about that thing

lethal thunder
#

!voice

#

#voice-verification

woeful salmon
#

<#channel-id>

lethal thunder
#

<#voice-verification>

woeful salmon
#

<#764802555427029012>

slim basin
#

@cunning lake got the feels