#voice-chat-text-0

1 messages · Page 670 of 1

amber raptor
#

send message to modmail

whole bear
#

@cloud rover

#

hey

#

hey @queen shard

queen shard
#

hey

cloud rover
#

gtg'

somber heath
#

En passant

#

Castling

#

Promotion (Not always to Queen)

vagrant skiff
#

lol

#

why would you even do that

#

lol

cloud rover
#

@somber heath hey ho

#

my parents told me to go to sleep but i snuck my laptop so im just here chillin C:

#

C:

#

i was bored so i also made a sneaker webscraper c; using pyautogui as the gui cuz i to lazy to use tkinter

#

want me to send u the code for u test it

#

c;

#

XD

#

@somber heath are you good at open cv

#

im trying to make a program that detects the ridges and lines on a roof

#

my laptop sucks so it wont pick up my audio i ussaly use my headphones but i left it downstairs

#

o wait

#

lemechack

#

check

somber heath
cloud rover
#

lol

#

he look like he saw you sleeping and thought that because he saw you sleeping ur now friends type weirdo

minor drum
#

hi need some help with a piece of code for python:

  • i have a list that contains a dot but then i need to iterate to a sequence of number (0,10) and the replace the dot with 1 number and then run it to a function again
    can someone help me out ?
    much appreciated!
severe elm
icy belfry
#

hey

#

i dont have voice verification so 😄

#

oh

#

ok

severe elm
#

thats fine

#

just be active in the server ^^

somber heath
#

buildozer

#

kivy

whole bear
solid atlas
#

it has been a while my friends

somber heath
#
from kivy.app import App
from kivy.lang import Builder

class MyApp(App):
    def build(self):
        return Builder.load_string('''
Label:
    text: 'Hello, world.'
''')

MyApp().run()```
#

kivy showcase

stoic ore
#

Hi @ALL

next fox
#

hi

#

if you see aime you can get @somber heath

#

i mean anime

whole bear
next fox
#

@whole bear bro are a indian?

#

are you a indian?

#

ah i am not verified just trying to text randomly

somber heath
next fox
#

@somber heath i have been searching a good explanation for classes in python if dont mind can you explain meh

somber heath
#

If it's not a keyword or a comment, or some other syntactic symbol, it's usually a class.

#

So, classes are like blueprints.

next fox
#

you can just talk in voice channel im i making you uncomfortable

somber heath
#

From these blueprints, you can build separate instances of the thing that the class describes.

solid atlas
#

do you guys use the walrus operator

lusty marsh
#

no

solid atlas
#

it's kinda saucy

somber heath
#

It's not you. I can't think and type and field questions from others in my ear at the same time, @next fox.

solid atlas
#

opal i love you

lusty marsh
#
translation += (padding * 3) + translated[0] + ";\n"
somber heath
lusty marsh
#
        monotonic = time.time()
        translation = cs_microprogram % self.siz
        i = 0

        for letter in self.src:
            try:
                i += 1
                translated = cshooks[letter]
            except KeyError:
                raise SystemExit(f"SyntaxError: incorrect syntax: \"{letter}\" is not a keyword. In letter: \"{i}\" ")

            translation += (padding * 3) + translated[0] + ";\n"
            padding = updatepadding(translated[1])
somber heath
#

@next fox Classes come each with their own functionality, as defined by the classes from which they inherit, or by you.

next fox
#

@whole bear i am learning android too

whole bear
#

That's cool

rugged root
#

Opal what have you done

solid atlas
#

@somber heath

somber heath
#

@next fox If you've been using python, you've already been using classes and their instances.

next fox
#

@somber heath i am learning python

somber heath
#

str, strings, are a class. int, integers, are a class.

lusty marsh
#
using System;

public class Program()
{
    public static void Main()
    {
        
int i = 0;
int[] ram = new int[4096];


    }
}
somber heath
#

@next fox lists are a class.

#

Or, rather, instances thereof.

next fox
#

@somber heath thanx

lusty marsh
#
ADD 1 TO x
ADD 1, a, b TO x ROUNDED, y, z ROUNDED

ADD a, b TO c
    ON SIZE ERROR
        DISPLAY "Error"
END-ADD

ADD a TO b
    NOT SIZE ERROR
        DISPLAY "No error"
    ON SIZE ERROR
        DISPLAY "Error"
rugged root
#

@whole bear I love the hat

stoic ore
#

Hii

rugged root
#

Yo

stoic ore
#

How re u

next fox
#

hello

whole bear
#

I love the hat
@rugged root and so do i :)
Your hat is cool too

rugged root
#

I have kutiekat to thank for it

whole bear
#

😄

next fox
#

when my messages are going to cross 50

#

dam

#

ya

somber heath
#

You're at 26.

next fox
#

how you know that ?is there any way i can know instead of counting ?

somber heath
#

Discord search tool.

whole bear
#

how you know that ?is there any way i can know instead of counting ?
@next fox from: usernamehere

amber raptor
#

spamming for message is generally frowned upon

stoic ore
#

@rugged root I said I was excited about @somber heath opal's voice

pulsar yacht
rugged root
#

Ahhh, okay

#

That makes sense

lusty marsh
#

!e

s = "he\r"
s += "l"
print(s)
wise cargoBOT
#

@lusty marsh :white_check_mark: Your eval job has completed with return code 0.

001 | he
002 | l
next fox
#

!e

rugged root
lusty marsh
#

!e

s = "he\f"
s += "l"
print(s)
wise cargoBOT
#

@lusty marsh :white_check_mark: Your eval job has completed with return code 0.

hel
whole bear
#

im unable to install python and pycharm can someone help me

#

i can screen share

stoic ore
#

Bias'es

rugged root
#

What's the error it's giving you?

stoic ore
#

biases

next fox
#

biases?

whole bear
#

nope

#

its a diffrent thing

#

i could only tqlk and explain that

#

but i dont have vc perms as im new

next fox
#

@whole bear you can just see some tutorials out there for ya

whole bear
#

ya ive seen those

#

couldnt we share screens any channel

next fox
#

we need to be verfied to do that

whole bear
#

yea

lusty marsh
#
translation += default + padding + translated[0] + (";\n" if translated[1] != indenting else "\n")
next fox
#

what the heck when i do ctrl + z in text box "j " is getting in the way

#

17 more to talk

lusty marsh
#

!e

print([x for x in range(100)])
wise cargoBOT
#

@lusty marsh :white_check_mark: Your eval job has completed with return code 0.

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99]
next fox
#

guys whats the difference between normal python intrepreter and conda ?

rugged root
#

Mainly just how it handles packages

stoic ore
#

thank about biases its helped me lot

next fox
#

!e print("so this is how it works)

wise cargoBOT
#

@next fox :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print("so this is how it works)
003 |                                   ^
004 | SyntaxError: EOL while scanning string literal
stoic ore
#

Will be AFK for several hours

lusty marsh
#
ram = {x: x-x for x in range(4096)}
next fox
#

!e print('haha now this works')

wise cargoBOT
#

@next fox :white_check_mark: Your eval job has completed with return code 0.

haha now this works
next fox
#

'' or "" which is better

#

' ' or " " what is better and is there any difference

stuck furnace
#

Nope, they're just different ways to do the same thing.

#

You might want to use " for longer English-language sentences as they are likely to contain apostrophes.

#

And use ' for short strings as it's easier to type 😄

next fox
#

yeah thanx

#

kivy or kivymd

somber heath
#

kivy

next fox
#

what is kivymd is somewhat materialic right?

#

hmm

#

8 more

#

7 more

#

6 more

#

5 more

somber heath
#

If you need to reskin kivy or create your own widgets, you don't need to use kivymd.

#

Stop...

lusty marsh
#
"".join([" " for x in range(indenting)])
next fox
#

!e a = [5 , 4, 3 ,2 ,1]
for i in a :
print(str(i) + ' more')

wise cargoBOT
#

@next fox :white_check_mark: Your eval job has completed with return code 0.

001 | 5 more
002 | 4 more
003 | 3 more
004 | 2 more
005 | 1 more
next fox
#

1

#

2

#

3

somber heath
#

No...

next fox
#

i am verified now

#

what the hell why i cant turn now now

somber heath
#

Leave and join.

next fox
#

still its not working

#

i did

#

yeah still red

lusty marsh
#

!user @lusty marsh

wise cargoBOT
#

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

somber heath
#
class MyClass:
    def check(self, v):
        print((v is self))
instance = MyClass()
instance.check(instance)```
lusty marsh
#

!e

class MyClass:
    def check(self, v):
        print(isinstance(v, type(self)))
instance = MyClass()
instance.check(instance)
wise cargoBOT
#

@lusty marsh :white_check_mark: Your eval job has completed with return code 0.

True
lusty marsh
#

!e

class Dog:
  def __init__(self, name):
    self.name = name


dog = Dog("martin")
print(isinstance(dog, Dog))
print(dog.name)
wise cargoBOT
#

@lusty marsh :white_check_mark: Your eval job has completed with return code 0.

martin
lusty marsh
#

!e

class Dog:
  def __init__(self, name):
    self.name = name


class Martin(Dog):
  def __init__(self):
      Dog.__init__(self, "martin")

dog = Martin()
print(isinstance(dog, Dog))
print(dog.name)
wise cargoBOT
#

@lusty marsh :white_check_mark: Your eval job has completed with return code 0.

001 | True
002 | martin
lusty marsh
#

!e

[].__init__([])
wise cargoBOT
#

@lusty marsh :warning: Your eval job has completed with return code 0.

[No output]
lusty marsh
#

!e

class Dog:
  def __init__(self, name):
    self.name = name


class Martin(Dog):
  def __init__(self):
      Dog.__init__(self, "martin")

dog = Martin()
print(isinstance(dog, Dog))
print(dog.name)
wise cargoBOT
#

@lusty marsh :white_check_mark: Your eval job has completed with return code 0.

001 | True
002 | martin
pure path
#

i have many advantages

#

oh u understood me?

#

😄

lusty marsh
#

!e

class Dog:
  def __init__(self, name):
    self.name = name


class Martin(Dog):
  def __init__(self):
      Dog.__init__(self, "martin")


class MartinsPuppy(Martin, Dog):
    def __init__(self):
        Matrin.__init__(self)


puppy = MartinsPuppy()
wise cargoBOT
#

@lusty marsh :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 16, in <module>
003 |   File "<string>", line 13, in __init__
004 | TypeError: __init__() takes 1 positional argument but 2 were given
lusty marsh
#

!e

!e
class Dog:
  def __init__(self, name):
    self.name = name


class Martin(Dog):
  def __init__(self):
      Dog.__init__(self, "martin")


class MartinsPuppy(Martin, Dog):
    def __init__(self):
        Matrin.__init__(self)


puppy = MartinsPuppy()
print(puppy.name)
wise cargoBOT
#

@lusty marsh :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     !e
003 |     ^
004 | SyntaxError: invalid syntax
lusty marsh
#

!e

class Dog:
  def __init__(self, name):
    self.name = name


class Martin(Dog):
  def __init__(self):
      Dog.__init__(self, "martin")


class MartinsPuppy(Martin):
    def __init__(self):
        Matrin.__init__(self)


puppy = MartinsPuppy()
print(puppy.name)
wise cargoBOT
#

@lusty marsh :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 16, in <module>
003 |   File "<string>", line 13, in __init__
004 | NameError: name 'Matrin' is not defined
lusty marsh
#

!e

class Dog:
  def __init__(self, name):
    self.name = name


class Martin(Dog):
  def __init__(self):
      Dog.__init__(self, "martin")


class MartinsPuppy(Martin):
    def __init__(self):
        Martin.__init__(self)


puppy = MartinsPuppy()
print(puppy.name)
wise cargoBOT
#

@lusty marsh :white_check_mark: Your eval job has completed with return code 0.

martin
next fox
#

bye guys !!

rugged root
#
class StudentBase:
    def __init__(self, name, age):
        self.name = name
        self.age = age

class IntroduceMixin:
    def introduce(self):
        print(f"Hi!  I'm {self.name}!  I am {self.age} years old!")

class IntroducedFavoriteStudent(StudentBase, IntroduceMixin):
    def __init__(self, favorite_subject="science", **kwargs):
        super().__init__(**kwargs)
        self.favorite_subject = favorite_subject

    def favorite(self):
        print(f"My favorite subject is {self.favorite_subject}.")

sally = IntroducedFavoriteStudent(favorite_subject="math", age=5, name="Sally")
billy = StudentBase(age=3, name="Billy")

sally.introduce()
sally.favorite()

oak sorrel
#

heya Py server 😄

hushed elm
#

why is your head christmas @rugged root ?

swift valley
#

Evening

pure path
#

string doesn't have remove?

#

ohh they are immutable

#

that explains it

rugged root
#

!e

spam = "ham"
spam[1] = "b"
wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | TypeError: 'str' object does not support item assignment
oak sorrel
#

you can convert it into a list and then run remove haha

pure path
#

mhm

oak sorrel
#

then convert it back into a string :p

lusty marsh
#

!e

print(list("['a', 'b', 'c']"))
wise cargoBOT
#

@lusty marsh :white_check_mark: Your eval job has completed with return code 0.

['[', "'", 'a', "'", ',', ' ', "'", 'b', "'", ',', ' ', "'", 'c', "'", ']']
oak sorrel
#

but that seems like a lot of extra legwork haha

pure path
#

oh ye nedbat said it in one of his talks that strings are immutable, i just forgo

lusty marsh
#

!e

print([x for x in "['a', 'b', 'c']"])
wise cargoBOT
#

@lusty marsh :white_check_mark: Your eval job has completed with return code 0.

['[', "'", 'a', "'", ',', ' ', "'", 'b', "'", ',', ' ', "'", 'c', "'", ']']
pure path
#

@rugged root that guy has more experience with python more than my age

hushed elm
#

nedbat

#

@calm flume james

pure path
scarlet drift
#

hey wsup guys

hushed elm
#

hey guys speaking of words that sounds bad

scarlet drift
#

I was actually typing in the wrong channel LMFAO

#

That

#

That's great @rugged root

#

yeah I get it, I had depression as well, got help and now I'm better

swift valley
#

@rugged root Mid-20s honestly lol

scarlet drift
#

yeah MId-20's

lusty marsh
#

!e

print(2020-30)
wise cargoBOT
#

@lusty marsh :white_check_mark: Your eval job has completed with return code 0.

1990
swift valley
#

imagine being born at exactly the Unix epoch

hushed elm
#

the supreme dev

lusty marsh
#

trigonometry

scarlet drift
#

hahahahhaha

neat skiff
swift valley
#

I tend to forget whether I've already taken vitamins minutes after taking em

scarlet drift
#

I tend to forget whether I've already taken vitamins minutes after taking em
@swift valley same

#

@rugged root Meds are bad man

#

oh man

#

I mean generally

oak sorrel
#

What is the best way to search a list of dicts for a particular value belonging to a particular key?

rugged root
#

Can you show an example of the list/dict structure you'd be looking through?

scarlet drift
#

list comprehensions?

#

with lamda?

oak sorrel
#

this is the relevant code snippet for generating the dicts in the list:

#
movies = []

def adder():
    title = input('Enter name of Movie: ')
    director = input('Enter name of Director: ')
    year = input('Enter year of release: ')

    movies.append({
        'title': title,
        'director': director,
        'year': year
    })
rugged root
#
for movie in movies:
  if movie["title"] == "Mighty Joe Young":
scarlet drift
#

@lusty marsh your room sounds like my room lmao

oak sorrel
#

let me try that, I tried something similar but returned type error, 'builtin_function_or_method' object is not iterable

#

oooh nice! Thank you Hemlock ❤️

rugged root
#

It's what I do

oak sorrel
#

so it's literally just dict[key] == value

#

good to know 🙂 thank you!

rugged root
#

Yeppers!

#

Oh another option

#

If you're unsure whether or not a key will be there, you can use the .get() dictionary method

#

So say you aren't sure if "title" will be there:

for movie in movies:
    if movie.get("title"):
```By default, if there isn't a key called "title" in this case, get will return `None`.  Otherwise it'll return the value that "title" points to
#

Helps prevent KeyErrors

oak sorrel
#

ooooh nice! I like that!

#

I'll link the entire script, it's an assignment for a coding course I am doing so you can see what I came up with LUL

crystal fox
oak sorrel
#
MENU_PROMPT = f"\n ____________________________ \n | Welcome to MovieSelector!| \n |__________________________| \n Enter 'a' to add a Movie \n 'l' to see your movies \n 'f' to find a movie by title \n 'q' to quit: "
movies = []

def adder():
    title = input('Enter name of Movie: ')
    director = input('Enter name of Director: ')
    year = input('Enter year of release: ')

    movies.append({
        'title': title,
        'director': director,
        'year': year
    })

def lister():
    for movie in movies:
        print(movie)

def finder():
    search = input('Enter exact title of film: ')
    for movie in movies:
        if movie["title"] == search:
            print(f"Match found! {movie['title']} is in your list! This was released in {movie['year']} and was directed by {movie['director']}.")


selection = input(MENU_PROMPT)

while selection != 'q':
    if selection == 'a':
        adder()
        print('\n Thank you for adding a movie!')
    elif selection == 'l':
        lister()
    elif selection == 'f':
        finder()
    elif selection == 'q':
        '\n Thank you for using MovieSelector! \n Goodbye!'
        break
    else:
        print(' \n Unknown command. Please try again.')
    selection = input(MENU_PROMPT)
pure path
#

that's some motivation

crystal fox
#

it's called rum

lusty marsh
#

09041970-666

#

1109420A420

oak sorrel
#

69966996

somber heath
#
xkbset exp =m```
Boom. Numpad mouse.
lusty marsh
#

!e

_='_=%r;print (_%%_)';print (_%_)
wise cargoBOT
#

@lusty marsh :white_check_mark: Your eval job has completed with return code 0.

_='_=%r;print (_%%_)';print (_%_)
cloud rover
#

reee woo

#

is making a bot for a game a rule on a this discord

lusty marsh
#
+[-.],
#

^

#
^
#
~
#

/

#

using System;

public class Program()
{
    public static void Main()
    {
        
        int i = 0;
        int[] ram = new int[4096];

        i += 1;
        while(ram[i] >= 0) {

            Console.Write(ram[i]);
            ram[i] += 1;
        };

    }
}

#

<>

#

u

#

n

#

|

#

:

#

r

#

[]

#

^

#

{}

#

$

#
python bsintaller.py build <filename> <memsize> <compilertype>
#

quiet

#

run

#

cs py

#

4096

#
python bsinstaller.py ui
 
#

.bullshit.zip

cloud rover
#

!e ```py
list = ["hi", "ho"]
for item in list:
print(item)
for letter in item:
print(letter)

wise cargoBOT
#

@cloud rover :white_check_mark: Your eval job has completed with return code 0.

001 | hi
002 | h
003 | i
004 | ho
005 | h
006 | o
cloud rover
#

im bored

potent urchin
#

Come join voice chat

#

And use the bullshit programming language

cloud rover
#

my parents are in the kitchen and im in the dining room i cant ;c

#

lol

lusty marsh
#

+++++: +++++ +++++

potent urchin
#

Sounds amazing

lusty marsh
#

++:

#

|

cloud rover
#

!e ```py
names = ["God", "samimies", "Baron X", "Rupesh", "MEE5"]
new_names = []
for name in names:
name = name[::-1]
new_names.append(name)

print(new_names)

wise cargoBOT
#

@cloud rover :white_check_mark: Your eval job has completed with return code 0.

['doG', 'seimimas', 'X noraB', 'hsepuR', '5EEM']
cloud rover
#

C:

lusty marsh
#

+++++:

#

^

cloud rover
#

lol

#

!e ```py
names = ["God", "samimies", "Baron X", "Rupesh", "MEE5"]
for name in names:
print(name)
print(name[::-1])
for letter in name:
print(letter)
print(letter[::-1])

#

!e ```py
names = ["God", "samimies", "Baron X", "Rupesh", "MEE5"]
for name in names:
print("Forwards")
print(name)
print("Backwards")
print(name[::-1])

wise cargoBOT
#

@cloud rover :white_check_mark: Your eval job has completed with return code 0.

001 | Forwards
002 | God
003 | Backwards
004 | doG
005 | Forwards
006 | samimies
007 | Backwards
008 | seimimas
009 | Forwards
010 | Baron X
011 | Backwards
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/etifalanug.txt

cloud rover
#

!e ```py
names = ["God", "samimies", "Baron X", "MEE5"]
for name in names:
print(name)
print(name[::-1])

wise cargoBOT
#

@cloud rover :white_check_mark: Your eval job has completed with return code 0.

001 | God
002 | doG
003 | samimies
004 | seimimas
005 | Baron X
006 | X noraB
007 | MEE5
008 | 5EEM
cloud rover
#

kk

lusty marsh
#
> = move cursor to the right
< = move cursor to the left
+ = increment currect memslot
- = decrement currect memslot
. = print
, = input
| = print unicode
: = double value
r = reset value
n = ord value
u = unicode convert
[ = enter loop
] = exit loop
{ = enter function
} = exit function
$ = call function
#
[]
#

while ram[i] >= 0:

#

+[|.+]

potent urchin
#

Bye guys nice hearing you two talk

#

Your programming language is interesting

#

Yeah yeah

#

I know i know

#

Alright! Bye guys

lusty marsh
#

96
a
97
b
98
c
99
d
100
e
101
f
102
g
103
h
104
i
105
j
106
k
107
l
108
m
109
n
110
o
111
p
112
q
113
r
114
s
115
t
116
u
117
v
118
w
119
x
120
y
121
z
122

oak sorrel
#

~grab

#

~grab

rugged root
iron idol
#

Im trying to type over 50 message to get verified voice xD

whole bear
#

Ah

rugged root
#

Yeah it can feel like it takes a bit. But just hang out, have conversations, maybe ask a help in the help channels or give help in them, check out the Topical channels and see if there's one that you're interested in

whole bear
#

Yes I did not realize that one had to be verified

#

Guess being a lurker doens't help

#

Yeah, it did, thats when I realized.

iron idol
#

That was the nice one

whole bear
#

python anywhere maybe?

#

Its a computer, why shouldn't you 😄

#

No

#

SSH

#

Well, if it works, I'll just type out 50 messages here real quick

rugged root
#

It won't, actually

#

Spamming will result in a mute, and the 50 messages need to be over three 10 minute blocks

whole bear
#

The only problem with using Arduinos for IoT like that is the price overhead

#

If all i need is a bluetooth receiver that toggles a servo, the arduino is just a little too bruteforce-y

lusty marsh
#
# bullshit hello world program
# equivelant to print("".join([x+"\n" for x in "hello world"]))


# character definition

+++ ++ : ^ ++++>
+++ ++ : ^ +>
+++ ++ : ^ ++++ ++++>
+++ ++ : ^ +++++ +++++ +>
+++ ++ : ^ +++++ +++++ +++ +++ +++>
+++ ++ : ^>
+++ ++ : ^ +++++ +++++ ++++>


<<< <<<< | > | > || > | > | < | >>> | <<<< | >>> | # print sequence
#
> = move cursor to the right
< = move cursor to the left
+ = increment currect memslot
- = decrement currect memslot
. = print
, = input
| = print unicode
: = double value
r = reset value
n = ord value
u = unicode convert
[ = enter loop
] = exit loop
{ = enter function
} = exit function
$ = call function
whole bear
#

brainfuck?

lusty marsh
#

bullshit

tame jackal
whole bear
#

Aha, I was just asking about how it related to the brainfuck language

#

Since it seems very similar syntactically

#

I've been getting into that field of systems programming lately, currently battling compiler-development myself

rugged root
#

Oh solid. What kind of projects specifically? If you don't mind me asking

tame jackal
#

so why doesn't it print??

whole bear
#

I've found that many new languages are just made because people want to make a language

iron idol
#

Ah

whole bear
#

sure, Jai is great!

lusty marsh
#

@tame jackal

+++ ++ : ^ ++++>
+++ ++ : ^ +>
+++ ++ : ^ ++++ ++++>
+++ ++ : ^ +++++ +++++ +>
+++ ++ : ^ +++++ +++++ +++ +++ +++>
+++ ++ : ^>
+++ ++ : ^ +++++ +++++ ++++>


<<< <<<< | > | > || > | > | < | >>> | <<<< | >>> | 
tame jackal
#

ee??

lusty marsh
#

use this for hello world

tame jackal
#

wdym?

whole bear
#

yeps, but percentage-wise

tame jackal
#

oh

whole bear
#

actually, brainfuck has some real use within metaheuristics as a research object

rugged root
#

Huh, I'd never even heard of Jai before

#

Interesting

whole bear
#

Jai is Jonathan Blows language (creater of some pretty known games)

#

Its kind of like a more polished C / C++ member

#

C++ without the mess caused by wanting to be backwards compatible

#

Also afaik Jai is one of the fastest compiling languages currently tested * that is in real use

lusty marsh
#
var str x = "hello world";
whole bear
#

^ most new languages are just because people want to make one

#

How is there zero value in creating a language?

rugged root
#

It's not that there's no value in the concept...

whole bear
#

Sure, my only point was that being the developer of a language has merit even if the language doens't as it takes a lot of pratice

#

and you learn alot

rugged root
#

It's more that... It's a transpiler in this case

#

It's not really compiling anything

whole bear
#

That is the first step to learning about more complex matters

rugged root
#

Sure

whole bear
#

have fun
yea

#

Thats not true, a transpiler could be pitched on your resume

#

for an entry-level job

#

Its better than "Oh look at this calculator I've made" which is 90% of all the CVs I've read

#

I got all of my first jobs purely from portfolio and technical interviews. No education

#

Its about how you pitch it

#

You're selling your project as a representation of your skillset

#

hmn, I disagree for a simple entry-level job where most peoples portfolios are school projects or websites for their local hairdresser?

#

My experience was different, in every interview I've been in they've specifically asked me into one of the three projects I've put on my CV

#

I cannot agree with that explanation of the process

#

atleast not in my experience.

#

Man I wish I could participate in the voice-chat, I feel like this could be interesting.

rugged root
#

I'll give you a temp pass

whole bear
#

Ah thank you.

rugged root
#

Note, it'll reapply the mute if you leave the channel. Just how the system works

whole bear
#

Yeps, all good.

rugged root
#

@hushed elm Hey bud

iron idol
#

:v

hushed elm
#

hey big boy

#

:D:D

rugged root
#

It's getting intense

hushed elm
#

yeah seems like it

#

i've also had great experience with my CV containing personal projects i've worked on

#

getting a recommendation is huge too

rugged root
#

I can't really speak on this, unfortunately

iron idol
#

T_T

rugged root
#

I'm not in the industry

hushed elm
#

yeah

#

recently found a job where the interviewers were interested in what's the web app i've built, because it was a full-stack job

rugged root
#

I'm only giving him the temp permissions because it's an educational discussion

hushed elm
#

yess

rugged root
#

The differing views are important

iron idol
#

Yep

rugged root
#

@iron idol I just didn't want you to think I was playing favorites

#

That's not my intention

hushed elm
#

transpiler

iron idol
#

No no,its okay

hushed elm
#

i'm making pasta when i write my code

#

spaghetti all dayeveryday

#

hhhh

iron idol
#

Im smooking when i write code

hushed elm
#

that's unhealthy

#

i usually run 1km per 10 lines of code i write

#

that way i also keep my health in tip top shape

#

haha

rugged root
#

So much smook

hushed elm
#

smooch

iron idol
#

XD

rugged root
#

I just like silly words

hushed elm
#

kotlin to the java

#

to the windoooow

#

to the wall

rugged root
#

(to the wall)

hushed elm
#

eyy

#

i forgot the rest of the lyrics :((

rugged root
#

Probably for the best

hushed elm
#

true

rugged root
#

Yeah it's not.... super server safe

hushed elm
#

check out this mushroom i found

rugged root
#

Ooooo

#

What kind is that?

hushed elm
#

edible, unsure the english word for it

rugged root
#

The purple color is pretty

hushed elm
#

in romanian it's pâinică

#

this one is also edible but you can't drink alcohol if you ate

#

they look poisonous though

rugged root
#

Yeah that does look a little scary

hushed elm
#

they both have their uses, i like paper for quickly prototyping UI or writing something really fast

rugged root
#

Because it looks hairy

hushed elm
#

it's all gooey when it's older, let me post a pic

loud moon
#

hi

hushed elm
rugged root
#

We all get gooey when we're older, macro

hushed elm
#

:((

rugged root
#

Wait, THAT'S edible?

hushed elm
#

hi @loud moon i love cheese

#

yes it is, suprinsingly enough

loud moon
rugged root
#

Welcome, Cheese

hushed elm
#

i thought it was toxic at first

rugged root
#

Yeah no kidding

#

That's terrifying

hushed elm
loud moon
#

ew

hushed elm
#

It can be eaten but is poisonous when consumed with alcohol

loud moon
#

thats... odd

north jackal
#

Hello guys

loud moon
#

hi

north jackal
#

I am having a issue in Python code

rugged root
#

What's the issue?

north jackal
#

I am trying do some audio noise removal things. Can you pls enable my vc mic

loud moon
#

I am not very good at python so i am just going to try ands learn from the server

north jackal
#

So I can tell you the exactly what I am trying to do.

iron idol
#

It can be eaten but is poisonous when consumed with alcohol
@hushed elm its look delicious

hushed elm
#

no u

#

hah

loud moon
#

I dont have any macros

hushed elm
#

well i've got plenty of cheese

rugged root
#

Fox, would be easier to explain what you're wanting to do in text

hushed elm
#

cheddar cheese my fav

rugged root
#

It may be that it'll be easier to get help in a particular channel

loud moon
#

I want one for closing tabs

north jackal
#

Yeah

hushed elm
#

chrome tabs?

north jackal
#

So can pls come to any Code/Help channel

loud moon
#

but I have a mac and razer hates macs so I need a PC

iron idol
#

Do u like mashrom so much? @hushed elm

loud moon
#

cheese is so godly

rugged root
#

mac and razer
Doesn't sound as tasty as mac and cheese

hushed elm
#

brooo going with a friend in the forest to look for mushrooms is the best

#

like holy sheet i didn't know it was so much fun

whole bear
north jackal
#

@rugged root @loud moon Can you guys please come to code/help vc

iron idol
#

brooo going with a friend in the forest to look for mushrooms is the best
@hushed elm ahh i see

north jackal
#

?

loud moon
#

I am bad at coding I probably couldent halp you

hushed elm
#

and identifying mushrooms is a great process, i like learning about the different mushrooms around

north jackal
#

I am bad at coding I probably couldent halp you
@loud moon Oka
what? @north jackal
@loud moon No I was just trying to reply you

hushed elm
#

i'm happy when i see a different species of Amanita Muscaria in my forest, that i didn't know about

#

feelsgood

loud moon
#

what? @north jackal

#

couldn't help

#

ooh

#

gtg

#

ttyl

hushed elm
#

haha

#

ty

lusty marsh
native ravine
#

what's the subject?

north jackal
#

@rugged root bro Okay I am telling you my issue here in text

hushed elm
#

angery rabbit

iron idol
#

Lol :v

north jackal
#

can you please help me?

hushed elm
#

i do understand his attitude

lusty marsh
#

@north jackal can i help

hushed elm
#

your biggest

#

largest

#

thiccest

#

girthiest

#

code

rugged root
#

I can't at the moment, I'm at work, I'm just telling you the best way to get help

whole bear
#

are links allowed?

hushed elm
#

yes

lusty marsh
#

yes

hushed elm
#

yes

whole bear
hushed elm
#

yes

north jackal
#

@lusty marsh Yeah yeah sure. I forgate about you.

hushed elm
#

nice readme @whole bear

iron idol
#

This is getting intense :v

rigid nest
hushed elm
#

if i don't commit broken code is that wrong?

whole bear
#

no

hushed elm
#

phew

#

angery rabbett

whole bear
#

hello boys ❤️

#

what programs should a beginner programmer learn how to make straight away @amber raptor

#

@whole bear ndo?

#

ndo?

#

i must have misheard u

hushed elm
#

team snekk

#

rocket league is the best

whole bear
#

my friend changed his pfp to this

#

it looks so ||hot||

hushed elm
#

flippy snekks

whole bear
#

hipoty hopity your snek is my proprerty

hushed elm
#

hah i like u

whole bear
#

i dont know how to code pytgon

whole bear
#

i dont knwo how to do py im to bored to learn

hushed elm
#

cutie

rugged root
#

@whole bear Just to let you know, you're only a handful of messages away from being verifiable.

whole bear
#

aha

#

how

#

many

#

exactly?

rugged root
#

Try now

foggy tulip
#

soup tier list

rugged root
foggy tulip
#

reddish brown

#

@rugged root Java is orange and white

amber raptor
foggy tulip
#

^

#

People actually think we are nerds

normal hinge
#

do i need to have 50 messages

#

in the sever?

foggy tulip
#

@amber raptor imagine being paid to just google for help most of the time

rugged root
#

Yes. 50 non-deleted messages over three 10 minute blocks starting from..... I think September 28th?

normal hinge
#

oh

foggy tulip
#

@rugged root Have you ever encountered the "Hall of tortured souls" secret?

normal hinge
#
           print("hey ! homie")
foggy tulip
normal hinge
#

hemlock u need to make a bot that read my chat 😆

foggy tulip
#

Video to prove how much pain the windows developers had when making the operating system

normal hinge
#

oh

#

guys what u think about julia language???

#

people are saying that it will replace python

#

in future

#

sometime i feel like i don't belong here

#

it is hard for me to speak

#

i try but

#

still

#

i can understand mr.hemlock

#

very clearly

foggy tulip
#

@rugged root There are Polyglots too, people that speak sometimes 12 to 21 languages

normal hinge
#

i have CNS exam

foggy tulip
#

Central Nervous System exam?

normal hinge
#

no lol

rugged root
#

@foggy tulip Those people are absolutely bananas

foggy tulip
#

oh

normal hinge
#

it is cryptography network security

whole bear
#

Essential Skills / Experience

Commercial experience in OOP using Java, C# or similar
SQL
Full Lifecycle experience in Full-stack software development
Strong communication skills and ability to liaise with clients
2.1 Degree or above in STEM subject
normal hinge
#

do they ask ds ?

whole bear
#

ds?

normal hinge
#

data structures

whole bear
#

I mean, maybe? I don't know them

normal hinge
#

can u show ur resume?

whole bear
#

y

normal hinge
#

i mean in final year of btech

#

i'm trying to built a good resume

#

In India they are asking ds

#

and also aptitude

#

mr.hemlock you need coffee to your head

#

may be u should take rest

#

it is week end right

rugged root
#

Will be yeah

normal hinge
#

good sleep helps

rigid nest
#

what do you guys think of this?

stuck furnace
#

Guido works at Dropbox py_guido

dire folio
#

not anymore

stuck furnace
#

Or did work...

scarlet drift
#

worked*

dire folio
#

now he works at MS

stuck furnace
#

This is definitely valuable feedback 👍

dire folio
#

it is

scarlet drift
#

yep

stuck furnace
#

Will we discuss this suggestion in the meeting?

#

Erm, I was only half-listening. You're suggesting small voice channels where people can screen-share? @rigid nest

rigid nest
#

that's correct, locked to limit individuals to small groups

scarlet drift
#

more or less yeah

rigid nest
#

off-topic for me acts like a hub where i can voice an issue and then often times

scarlet drift
#

so instead of mr hemlock or another admin coming in to grant access

rigid nest
#

get people super happy to help but

scarlet drift
#

it would be much easier on both ends

rigid nest
#

they're not eager to jump on private calls with me

#

which i totally appreciate

#

however with the facility to just jump across, quickly see what i'm talking about

#

and someones even ask others to join in

#

that'd be amazing really

#

or we'd be talking about a specific topic with programming

#

"hey, look at this piece of code, oh wait let's all go into bot commands and spam !e"

#

when actually i'd just get those ppl to jump into the locked channel

#

talk about the thing, then go back

stuck furnace
#

I've got CLRS on my desk. Not sure what that says about me 😄

dire folio
normal hinge
scarlet drift
#

{}

#

@worldly ruin

stuck furnace
#

Different situation in the UK 😄

worldly ruin
#

👺 ernnnn hmhhh

stuck furnace
#

That was Wagner

whole bear
#

Hi stelercus

#

my english speaking is poor

#

@tidal salmon I don't know much english

#

thanks

#

you good person

tidal salmon
#

@whole bear I see that you are gone. Have a great day!

whole bear
#

I'm learning english

#

hindi

#

you too 🙂

#

Oh

livid marlin
#

I'm learning english too

#

Where you from?

whole bear
#

I like python

random stag
#

I'd like to talk but I don't have voice verification role

whole bear
#

yeah they have some requirments

#

functional programming in python

#

I like the in-bulit methods because they help you to solve certain problems and makes your code cooler

#

What do you like about python

tidal salmon
#

@whole bear the data model

#

you can decide what different operators do

whole bear
#

does anyone know how to find the terminal size of the terminal that im using

#

oh

#

lol

#

yea

#

im using curses

rigid nest
#

shutil

whole bear
#

thx

rigid nest
#

yo dawg, we heard you liked terminals so we put in a terminal in yo terminal to terminal yo terminal

whole bear
#

the meta terminal

#

ahhh symmetry

restive geyser
#

lol pycharm

whole bear
#

is pycharm cringe @restive geyser

restive geyser
#

nah

rigid nest
#

shutil?

#

ye

#

super cringe

restive geyser
#

@rigid nest is super cringe

silver flint
#

the voice verification was a step backward

hallow warren
#

@analog finch why are you deafened in voice?

somber heath
#

@fiery hearth o/

#

🤷‍♂️

fiery hearth
#

how are you today Opal?

somber heath
#

As above, so below.

#

Hoy Dhruv.

#

What version of python are you running???

fiery hearth
#

3.9

somber heath
#

Perhaps go for 3.8.

fiery hearth
#

doing it now mate

somber heath
#

Yup.

#

You can use try and except wherever you expect something to raise an exception and you want that to not be something that kills your program.

#

So you can choose to have behavior that's triggered when an exception is raised

#

or, in some cases, to completely ignore the exception

#

Yeah.

#

Well, say if you wanted to have an input that always, after processing, was an int.

#

You could have int(input()) somewhere in your code

#

But, oh no

#

All user input is evil

#

and the user types in letters

#

So int throws an exception

#

So you could use try and except as part of a solution which handles that eventuality

#

"It is better to ask forgiveness than permission"

#

It is often considered better to use try and except, forgiveness, than to use if, asking permission.

#

and, where I've used try and except, the code tends to be cleaner

#

Weak vs strong equality? Would that be like Python's == and is, respectively? Equality vs identity.

rigid nest
#
letters = "hello there"
int(letters)
#

"18" == 18

somber heath
#

I don't know what weak vs strong equality is.

rigid nest
#

return

#

true

#

"18" === 18

#

false

#

"17" == 18

#

false

somber heath
#

Right, because in Python, you've got the str, "18" vs the int, 18.

#

Are you expecting letters to be an object without a length?

fiery hearth
#
letters = "hello there"
int(letters)
try:
    len(letters)
except:
    raise Exception ('Should be int')
somber heath
#

It's best to be as specific as possible with the exception type as possible.

#

Your code will result in an uncaught exception.

#

len(letters) will result in a TypeError if letters has no length.

#

As opposed to positive or zero length.

#

Integers, for example, don't work in len

rigid nest
#
letters = "hello there"
try:
  print(len(letters))
except:
  print('exception')
wise cargoBOT
#

Hey @rigid nest!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

rigid nest
somber heath
#
def input_number(prompt=''):
    while True:
        num = input(prompt)
        try:
            num = float(num)
        except ValueError:
            print('Input needs to be a valid number.')
            continue
        return num


value = input_number('Input value. >')
print(f'The value is equal to {value}.)
#

In case you want to change it.

#

In case you want to change it.

#

Within the rest of the code outside of the function.

#

Think of this function as a standin for input, but only for number values.

#

No, because otherwise it would expect a value.

rigid nest
#

''

somber heath
#

and if you want to give it no prompt parameter

#

Then it will still work

#

input_number(): works. input_number('>'): also works.

#

Just like input.

#

If there is an error, continue will send the flow up to the top of the loop to try again

#

If, however, an exception is not triggered, break will break the loop and it'll reach return

#

But I could shorten it and just have return num instead of break

#

I'm slightly abusing the while loop, here, really.

#

I'm only using it for the ability to use continue

#

I'll change the break.

#

It won't raise an uncaught exception, yes.

#

I'm fairly sure that whatever you give input will always raise a ValueError if float can't interpret it.

#

Pardon?

#

Yep.

#

I'm also guessing, but I'm not certain, that if you're doing a whole lot of processing, if you're using if all the time where you could use try/except, it's going to be slower due to the time/processing cost of if vs try/except.

#

Like if you have a whole bunch of one vs the other.

fiery hearth
#

ohh okay

somber heath
#

As I understand it, if does speculative processing. The computer tries to complete both outcomes of if.

#

Then only implements the branch that succeeds.

#

and discards the other

#

This happens at a really low level, though.

fiery hearth
#

yeah, it has to go through so many steps

#

until the condition is met

somber heath
#

Normally, that all happened transparently, and wasn't an issue...then we got meltdown/spectre/heartbleed or whichever the fuck one of them was taking advantage of that mechanism

fiery hearth
#

will go through it

somber heath
#

It's generally not important for most people to know about, outside of keeping your system updated.

rigid nest
#

7th kyu

#

8th kyu

worldly ruin
#

@rigid nest

rigid nest
#
function getAverage(marks){
  let n = marks.length;
  let total = 0;
  marks.forEach((value) => {
    total += value;
  })
  return Math.floor(total/n)
}
#
function getAverage(marks){
  return Math.floor(marks.reduce((sum, x) => sum + x) / marks.length);
}
hallow warren
rigid nest
#

1

#

length of marks, what is it?

worldly ruin
#

3

somber heath
#

@worldly ruin I hear you. Thus, in some fashion, you exist.

worldly ruin
#

Test.describe("get_average")

Test.it("works for some examples")
Test.assert_equals(get_average([2, 2, 2, 2]), 2, "didn't work for [2, 2, 2, 2]")
Test.assert_equals(get_average([1, 5, 87, 45, 8, 8]), 25, "didn't work for [1, 5, 87, 45, 8, 8]")
Test.assert_equals(get_average([2,5,13,20,16,16,10]), 11, "didn't work for [2,5,13,20,16,16,10]")
Test.assert_equals(get_average([1,2,15,15,17,11,12,17,17,14,13,15,6,11,8,7]), 11, "didn't work for [1,2,15,15,17,11,12,17,17,14,13,15,6,11,8,7]")

rigid nest
#

Test Results:
Log
4
Expected: 2, instead got: undefined
Log
5
Expected: 3, instead got: undefined
Log
8
Expected: 1, instead got: undefined

#

function getAverage(marks){
console.log(marks.length)
}

worldly ruin
#

👺 ernnnnnnnnnnnne eeeeeeeeeeeeeeeeeeeeherrrrrrrrrr

somber heath
#

Oh, look. A channel name.

hallow warren
rigid nest
#
def getAverage(marks):
  n = length(marks)
  total = 0
  for i in marks:
    total += i
  return total//n
#

total += i

#

total = total + i

somber heath
#

Incrementation.

#

Incrementing?

hallow warren
#

l = [15, 18, 2, 36, 12, 78, 5, 6, 9]

import statistics

print(statistics.mean(l))```
rigid nest
#

mean(marks)

worldly ruin
#

angry

somber heath
#

Also good for shits and giggles: -=, /=, *=.

worldly ruin
#

print

hallow warren
worldly ruin
#

print ("i cry")

#

this is prob incorret still

#

i suck

rigid nest
whole bear
#

help

somber heath
#

@hallow warren Have I given you, at any point during each of our conversations, in each of which I've repeatedly turned you down, any indication that I might be the slightest bit interested?

hallow warren
#

@somber heath you've not said yes or no

somber heath
#

Yes I have. I've said no.

#

For the sake of being explicitly clear, the answer to this iteration of the questioning is also no.

hallow warren
#

Thanks for letting me know, I don't remember you having said anything near no. Last I remember is you were going to think about it. Thank you for the closure.

wise cargoBOT
#

Hey @hallow warren!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

rigid nest
somber heath
#

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

somber heath
#

Javascript isn't a language of mine, nor is, alas, C++.

hallow warren
somber heath
#

It's fine until sites start tracking you from one site to the next.

rigid nest
#

MINIX INSIDE

#

RING 0

#

BAN INTEL

#

AMD IS JUST AS BAD

somber heath
#

One site needn't know that I visit some other site.

rigid nest
#

BAN ARM

whole bear
#

ban intel

#

bc

#

idk

#

lmao

rigid nest
#

nah because they're running an os on their cpus

#

WHICH IS STILL ON WHEN THE COMPUTER IS OFF

#

BAN MINIX

whole bear
#

i wonder what would happen if i bred a jellyfish with a chicken

#

still don't have 50 messages

#

transparent aquatic dino bio

hallow warren
whole bear
#

nerd

#

lmao

#

jk

somber heath
whole bear
#

👌

somber heath
#

Yeah, sorry. There's only a few seconds of actual chicken butt plunger footage.

whole bear
#

i am running out of things to say

#

still not at 50 messages

somber heath
#

How did you come by your username?

whole bear
#

me?

somber heath
#

Yes.

whole bear
#

random word generaator

somber heath
#

I think that most people who come to this server would be good at computers, or, at the very least, somewhat computer literate.

#

For the purpose of the algorithm translation?

whole bear
#

v

#

quality

#

quality music

#

👌

#

Ikr

#

5 min

shrewd nest
#

Who can help me with imgui?

rigid nest
#

we can barely help ourselves here

whole bear
somber heath
#

@shrewd nest What's the issue you're having, specifically?

#

Aha. I see it's a C++ library.

hallow warren
#

"birds do share a lot of similarities with certain dinosaurs"

somber heath
#

I'm listening.

#

I'm just not talking.

shrewd nest
#

I need to use ImGui for External chea... script. I have not seen information on this on the Internet.

whole bear
#

i have !voiceverify inmy clipboaard

shrewd nest
#

Aha. I see it's a C++ library.
@somber heath Yeah, thats right

whole bear
#

everyone get out of the vc

somber heath
#

Not knowing C++, myself, the only real advice I could offer would be to suggest you find a C++ place to seek guidance.

whole bear
#

he's about to play monsters ink earrape

hallow warren
#

Impostor syndrome (also known as impostor phenomenon, impostorism, fraud syndrome or the impostor experience) is a psychological pattern in which an individual doubts their skills, talents or accomplishments and has a persistent internalized fear of being exposed as a "fraud"....

shrewd nest
#

@rigid nest what?

rigid nest
shrewd nest
#

@rigid nest What is the problem?

rigid nest
#
 // create first class == 0
        cout << "\narray c, equivalence classes" << endl;
        c[p[0]] = 0; // value of p[0], this is like f(g(x)) call f with the result of g on x
        for (int i = 1; i < n; i++) {
            // if value is the same as previous, assign same class
            if (a[i].first == a[i - 1].first) {
                c[p[i]] = c[p[i - 1]];
                cout << "--a[i] == a[i - 1]--" << endl;
                cout << "iteration " << i << endl;
                cout << "a is at " << a[i].first << endl;
                cout << "a-1 is at " << a[i - 1].first << endl;
                cout << "c[p[i - 1]] is at " << c[p[i-1]] << endl;
                cout << "c[p[i]] is " << c[p[i]] << endl;
                cout << "p i-1 is at " << p[i - 1] << endl;
                cout << "p is at " << p[i] << endl;
                for (int i = 1; i < n; i++) cout << c[i];
                cout << "\n\n";
            } else { // assign the next class if different
                c[p[i]] = c[p[i - 1]] + 1;
                cout << "--a[i] != a[i - 1]--" << endl;
                cout << "iteration " << i << endl;
                cout << "a is at " << a[i].first << endl;
                cout << "a-1 is at " << a[i - 1].first << endl;
                cout << "c[p[i - 1]] + 1 is at " << c[p[i-1]] + 1 << endl;
                cout << "c[p[i]] is " << c[p[i]] << endl;
                cout << "p i-1 is at " << p[i - 1] << endl;
                cout << "p is at " << p[i] << endl;
                for (int i = 1; i < n; i++) cout << c[i];
                cout << "\n\n";
            }
        }
#

there's 3 concurrent arrays

shrewd nest
#

Ah

rigid nest
#

ok, what can you tell me about it?

#

what i'm struggling to understand is

somber heath
#

Someone is speaking through their pillow.

rigid nest
#

well, there's two things

shrewd nest
#

where header.h?

rigid nest
#

array c is shorter than it should be

#

it's length 5, not 6 as expected.

#

and the three loops going concurrently is breaking my brain

#

i do not know how to move forwards with this issue

shrewd nest
#

@rigid nest where did u take sort(a.begin(), a.end());

rigid nest
#

what do you mean by that?

#

where did i take it?

shrewd nest
#

ah, i can't show my screen

#

sort(a.begin(), a.end()); wtf is that?

rigid nest
#

so what we're doing is

hallow warren
rigid nest
#

this algorithm optimises sorting suffixes

#

so at k = 0

#

we are sorting, alphabetically each suffix (individual character)

shrewd nest
#

at this .cpp file u need to include <vector> and <iostream> to make it work at all

rigid nest
#

the code works without it bro

shrewd nest
#

So, who can help me with imgui?

#

Yo, @verbal hemlock , ur voice looks like Jimmy De Santa at GTA 5

hallow warren
#

yes puts [sumDigits 10101 2] -> 3

verbal hemlock
#

@shrewd nest LOOL

whole bear
#

hi!

somber heath
#

Any language that is Turing complete can, at least in theory if not in practice, emulate anything.

#

Caveats applicable.

hallow warren
#

@rigid nest looking through https://alexabeyondvoice.devpost.com/rules trying to figure out what LICENSE to use

vi. Financial or Preferential Support: A Skill must not have been developed, or derived from a Skill developed, with financial or preferential support from the Poster or Administrator. Such Skills include, but are not limited to, those that received funding or investment for their development, were developed under contract, or received a commercial license, from the Poster or Administrator any time prior to the end of Submission Period. This includes Skills that have been funded or co-developed by Amazon, including skills that earn money through licensing. The Administrator, at their sole discretion, may disqualify a Submission, if awarding a prize to the Submission or Maker would create a real or apparent conflict of interest.

rigid nest
#

Submission Period: September 24, 2020 (3:00pm Eastern Time, USA) – November 17, 2020 (5:00pm Eastern Time, USA) (the “Submission Period”)

#

dude 3 days?

#

2*

hallow warren
#

yeah

mellow flower
mellow flower
#

.īõ0Ü˂˖8ˤ΋“(͞ľėΚ–ɋÿ̫ͤǛ˴¥ˬƧªϗ΃ϛNJė|Džȅŷ½ͧƄȘǽ_ɺˆȾϮʕ˃vMǝ°ȹƺϰƘϽ͊‹ϱƖÇÜįʑLJØʆΞ%ͨɶøƽƱȤϣĻ˟ƈǹØǥ!ȔĤǜǙǨ£̴ǀ=ŪɘɭϪýŋnjǚΙl̩σŢˑ&΃ô<ˉȸɃ˹ʟßƟϰǰΰʅϡĖȪÍƶʋȉ̲͖ɆÒ²ˤǏˡʵͩǥζϞF" á͊˯ljΆ\Ⱦ˵ő̢ŻŽΈŃɆŲqƨʰ͸ŶƘνϹ͟ƌ̦ǢƣȯgQŪDZźĚƷȋɑ ɵŘ²˞ÅhͩȿéIɞýŨͧĜōϵȒàȸœʹ̰q&ΦɸĩʞǏλ˖ǜňŰŞ̀ġͱȞηΕʣ±—üçɫЀʩ̝Fײ͸̱Ƥķ˔™òBɷʹŽĶÓ

hallow warren
#

@mellow flower LsSrw7Uww5zLgsuWOMukzovCkyjNnsS+xJfOmsKWyYvDv82kzKsVx5vLtMKly6zGp8Kqz5fOg8+bx4rElx58x4XIhcW3wr3Np8aEyJjHvV/JusuGyL7PrsqVy4N2TcedwrDIuca6z7DGmM+9zYrCi8+xxpbDh8OcxK/KkceHw5jKhs6eJc2oybbDuMa9xrHIpM+jxLvLn8aIx7nDmMelIciUxKTHnMeZx6jCo8y0x4A9xarJmMmtz6rDvcWLx4zHms6ZbMypz4PFosuRJs6Dw7Q8y4nIuMmDy7nKn8Ofxp/PsMewzrDKhc+hxJbIqsONxrbKi8iJzLLNlsmGw5LCssukx4/Locq1zanHpc62z55GIiDDoc2Ky6/Hic6GyL7LtcWRzKLFu8KOzojFg8mGxbJxxqjKsM24xbbGmM69z7nNn8aMzKbHosajyK9nUcWqx7HFusSaxrfIi8mRIMm1xZjCssuew4VozanIv8OpScmew73FqM2nxJzFjc+1yJLDoMi4xZPNtMywwp1xJs6mybjEqcqex4/Ou8uWx5zFiMWwxZ7MgMShzbHIns63zpXKo8KxwpfDvBfDp8mr0IDKqcydRsOXy5vNuMyxxqTEt8uUwpnDskLJt820xb3EtsOT

candid venture
#
echo "string" > file.txt
rigid nest
#

<header>

#

<html>

#

<script>

#

text/javascript

#

information about authjor

#

and site

#

is a filetype

#

LOL

mellow flower
#

a = 2

rigid nest
#

by

#

"by:"

#

"for"

#

"table"

mellow flower
#

back to questions

#

what does error_reporting(0) do in php

severe elm
#

i will ban

#

i will tell mods

mellow flower
#

what is $_POST

severe elm
#

you lost bro

mellow flower
#

ok boomer

severe elm
#

||prepare to be banned||

#

just joking

mellow flower
#

$_POST['username']

#

<input type="text" name="username">

#

out = inp[:-1]

rigid nest
#
c = [0,0,0,0,0,0]
p = [1,2,3,4,5,6]

c[p[0]] = 1
#

f(g(x))

#

p[0] = 6

#

c[6]

mellow flower
#

,>,,>++++++++[<------<------>>-]
<<[>[>+>+<<-]>>[<<+>>-]<<<-]

++++++[<++++++++>-],<.>.

hallow warren
low stratus
#

hello

mellow flower
#

SET SQL_SAFE_UPDATES = 0;

#

DELETE FROM Table;

#

SET SQL_SAFE_UPDATES = 1;

#

elias

#

it was told me that you code in python

#

if yes, write all the keywords

rigid nest
#

do you mean

mellow flower
#

we all live in a simulation

rigid nest
#

all functions too?

mellow flower
#

keywords

rigid nest
#

like built in functions

#

ok

mellow flower
#

like

#

if for etc

rigid nest
#

but technically range is a function

#

for example

#

if for in try except int str while

#

uhhhhhhh

#

flosat

#

float

mellow flower
#

technically str is a built-in class

rigid nest
#

yea this is confusing

mellow flower
#

wait

#

False await else import pass
None break except in raise
True class finally is return
and continue for lambda try
as def from nonlocal while
assert del global not with
async elif if or yield

rigid nest
#

god i am stupid

#

yield, or OBVIOUSLY

#

lambda

#

ffsss

#

CONTINUE

#

god damn