#ot1-perplexing-regexing

1 messages · Page 490 of 1

mild abyss
#

supa fast

#

hmm

edgy crest
#

nah edge was slow for

#

me

mild abyss
#

chromium has trouble loading

#

nah edge was slow for
@edgy crest nah it aint

edgy crest
#

🤷‍♂️

mild abyss
#

idk i might switch back to firefox next month again

#

xD

#

december

edgy crest
#

nah fire fox is heavy

dreamy wharf
#

nah fire fox is heavy
@edgy crest not as heavy as chrome tabs

mild abyss
#

wow edge has a stable build now for linux but it is not released yet

quick scroll
#

guys, if there was going to be a new programming language created today? what features would you really want it to have

#

also if you want to, just type some code which you wan't the language to look like

#

just doing some research : )

shell raptor
#

p a t t e r n m a t c h i n g

mild abyss
#

easy packaging when making packages.

quick scroll
#

lol @shell raptor would you mind elaborating as these are features that i am trying to integrate

topaz aurora
#

P A T M A

quick scroll
#

@mild abyss point taken : )

topaz aurora
#

Jokes aside, pattern matching in arguments

shell raptor
#

@quick scroll have you seen pattern matching in other languages?

quick scroll
#

@shell raptor sadly, no, would you mind showing an example : )

#

i have worked with Python, Dart, JavaScript, HTML, CSS and a bit of Rust

shell raptor
#

Rust has pattern matching like that

topaz aurora
#

In Rust,

    let x = Some(5);
    let y = 10;

    match x {
        Some(50) => println!("Got 50"),
        Some(y) => println!("Matched, y = {:?}", y),
        _ => println!("Default case, x = {:?}", x),
    }
mild abyss
#

@quick scroll your pfp says you should learn swift...

quick scroll
#

@mild abyss lmao that too

topaz aurora
#

Also @shell raptor I'm curious how you implemented that lemon_eyes

quick scroll
#

ooh lol you mean that? yes absolutely that is possible

#

well guys any more suggestions?

#

functional or OOP

shell raptor
#

@topaz aurora

  1. Context managers can swallow exceptions (like contextlib.suppress)
  2. If tuple unpacking in with throws an exception, it's treated as if it's inside the with block
#

@quick scroll both 🙂

#

Well, you can replicate OO stuff in Haskell/Rust to a certain degree

quick scroll
#

would you prefer readability or speed of development?

shell raptor
#

can you have one without the other?

#

if the code is unreadable, it slows you down

mild abyss
#

man ot2 wants me to learn rust like "PLEASE WAIT I HAVE RESEARCH PAPERS TO FINISH"

#

would you prefer readability or speed of development?
@quick scroll depends on the situation. i think some programmers use python as a template before transforming it into another implementation of a language. it is because it is easier to read.

quick scroll
#

which code below do you like better
1.

fn dosmth():
  mys = "hello"
  mys.rp('a', '') # replace occurences of `a` with ``

dosmth()

pb cl MyCl: # class decleration
  fn hello():
    o('hi')

if val | smth:
  o('val is equal to smth')

rt # return
function dosmth() -> string:
  mystring = 'hello'
  mystring.replace-occurences-of(value : 'a', with : '')

public class MyClass:
  function hello():
    printout('hi')

if val equals exactly smth:
  print('WER')
low chasm
#

2 looks better

#

Are you designing a language? @quick scroll

quick scroll
#

@low chasm updated the code

low chasm
#

Ooh, thats cool

#

@quick scroll Are you writing a language?

shell raptor
#

@quick scroll R y shrt n vwls s wll?

#

Lk C fnctn nms

low chasm
#

The first one has everything shortened

shell raptor
#

and the second one is too verbose

low chasm
#

equals exactly is different yeah

shell raptor
#

I don't think typing speed impacts development speed a lot

low chasm
#

Yeah, i think it depends on how you compile/interpret the code

topaz aurora
#

Honestly though full words for identifiers/keywords is a bit better

low chasm
#

Designing a language is frustrating though

topaz aurora
#

or at least truncated versions of them

low chasm
#

I've switched parsers like eight times

#

Lol

shell raptor
#

until coming to the right one 🇱 🇦 🇷 🇰

topaz aurora
#

e.g. func > function > fn if, it's a keyword, not some magic meta function like I have for my LISP

low chasm
#

Yeah, lark was nice

#

is nice

shell raptor
#

always has been

low chasm
#

Lol

quick scroll
#

@topaz aurora @low chasm so you prefer readibility to compile and execution times?

#

i'm just asking, not implying that i am for or against anything

shell raptor
#

Are those mutually exclusive? 👀

quick scroll
#

lmao

low chasm
#

@quick scroll So are you going with compiler or interpreter?

quick scroll
#

well readibility comes at a big cost

#

interpreted

low chasm
#

Cool, compiling is a bit hard

quick scroll
#

yeah well you'l probably have to us LVVM or smth

#

for compiler

low chasm
#

I figured I would make my lang interpreted, and wait till I got better in language design before I made a compiler

quick scroll
#

lmao

#

so here's what i see people want

#
  1. Easy packaging while creating packages
#
  1. Pattern matching in arguments
#
  1. OOP and Functional Programming
low chasm
#

Im focusing on making my lang work first

#

then make it faster

#

then make it pretty

shell raptor
#

or uglier!

quick scroll
#
  1. Readability is prioritized over speed and interpretation and exectution times
low chasm
#

Lol

#

Have u decided on where to start with your lang?

edgy crest
#

ooo, how are u making ur lang

#

C ?

low chasm
#

Im using lark

quick scroll
#

you guys sure you wan't something as verbose as option 2?

low chasm
#

Python

edgy crest
#

-__-

low chasm
#

im coding it in python yeah

edgy crest
#

ima head out

low chasm
#

@quick scroll No not really

#

Lol

quick scroll
#

@low chasm well so i am confused now lol what do you prefer?

low chasm
#

I don't want something too verbose, but not something like option one

#

instead of exactly equals do ==

#

But yeah, do whatever feels good for you

quick scroll
#

alright but that makes it look a bit like python

#

?

low chasm
#

Most langs use ==

quick scroll
#

correct lol

low chasm
#

My lang looks a bit like python, but with brackets

#

You'll have to start with a parser and lexer

#

I would reccomend Lark

#

its powerful and easy enough to use

quick scroll
#

hmm

#

thanks

#

anymore suggestions guys?

#

would really appreciate if you could suggest a few more things you would like in a next generation language

low chasm
#

Well, focus on getting the syntax for the language figured out first

#

And after that, don't focus on speed or anything, focus on making it work

#

after that, tweak it for speed and readability if you want

#

And after that, you should focus on making it pretty and have good formatting rules

#

Get the general structure of the language out first

#

focus on the fundamentals like control flow and the basics like print and input

shell raptor
#

Depending on the use case, speed might not matter at all

low chasm
#

Well yeah, it may not

#

I would prefer for my lang to be fast though

viral parrot
#

this channel name... cant even remember when it was made 😄

low chasm
#

Lol

viral parrot
low chasm
#

Lmao

shell raptor
#

I got three ransom emails with the same content

low chasm
#

wait ransom

shell raptor
#

🤔

#

I mean, not ransom ransom

low chasm
#

Lol

shell raptor
#

more like "haha I know how to use anonymous mail"

low chasm
#

Lmao

topaz aurora
#

I never got spam emails in my personal one

low chasm
#

I've never gotten spam email

shell raptor
#

It threatened me to pay $650 in bitcoin in 60 hours, but the deadline has long been over for the first two emails!

low chasm
#

but my phone number used to belong to his guy named alex

topaz aurora
#

Although if I did, I probably would've scammed the scammer

low chasm
#

And these random people keep texting me calling me alex

topaz aurora
#

Alex is tormenting you for stealing their number

low chasm
#

Lol

#

Its like two or three a day

#

apparently alex signed up for this thing

#

with his phone number

#

and now im getting the texts

#

But having small talk with these people is fun

#

it takes away my lonelyness

shell raptor
#

@topaz aurora I wanted to point out various grammar errors in the text, but sadly it's from anonymous email.

low chasm
#

Lol

#

This one person called me and asked me if I was their father

shell raptor
#

you could've answered:

NOOOOOOO

low chasm
#

Lmao

#

I said hi

#

and then they started talking in a different language

#

I replied with who are you

#

they then promptly hang up

edgy crest
#

lol i always have some fun if i get wrong number calls

#

like yes i am your late late ancestor, and i am hiding here cuz i am immortal and i dont want other people to steal it from me

low chasm
#

Lol

#

Yeah, thats usually fun

quick scroll
#

would appreciate your input here : )

low chasm
#

Sure, ill check it out

quick scroll
#

thanks

low chasm
#

Have you decided on what parser to use?

#

Make a github as well, version control would be important

#

Two people voted for everything

#

lol

#

My lang uses more brackets and semicolons

quick scroll
#

perplexed == true

low chasm
#

Ooh

#

I liked chose the second option

#

Do you have a name yet?

high verge
#

what fresh hell is this

low chasm
#

Hes making a lang

high verge
#

and high performance doesn't mean short words

low chasm
#

we r providing him suggestions

high verge
#

which seems to be the only difference between the two

low chasm
#

Yeah, hes asking us on the syntax

#

My syntax is sort of python similar, but with brackets

high verge
#

the syntax is the same but with shorter words

low chasm
#
if 5 == 5 {
  print("TRUE");
}
high verge
#

why not just c-like

low chasm
#

I want it to be readable

high verge
#

seems to be pretty popular and universally understandable

#

that is basically c-like

low chasm
#

No, not really

quick scroll
#

lol c++ is the last thing from readable

high verge
#

i disagree

#

if you've only ever used python then maybe

quick scroll
#

@low chasm that is very similar to swift LMAO

#

i've done c++, js, html, dart, swift, css, rust

low chasm
#
x = 10;
m = 10;

y = x + m;

if y == x {
  print("TRUE");
}else {
  print("FALSE");
}
``` its like this
high verge
#

that's almost exactly C

#

except you don't have static typing for variables

low chasm
#

No? not really, c is in a main class

#

this isn't

high verge
#

that's a tiny difference

#

in terms of readability

low chasm
#

Well, its pretty readable

quick scroll
#

yep i agree

low chasm
#

C doesn't have print

quick scroll
#

@low chasm is correct

high verge
#

well we were talking about syntax you said

#

cout << or printf or whatever

quick scroll
#

well tell me this is readable cout<<''<<

low chasm
#

I use simple print and input

#

I dont have <<

quick scroll
#

not readable

#

exactly

low chasm
#

I was considering using spit for print and swallow for input

high verge
#

it's fine if you know what it means lol

quick scroll
#

LMAOOOOOO @low chasm

low chasm
#

Lol

high verge
#

if it's a quirky language then it doesn't have to make too much sense anyway so i wouldn't worry about that too much

low chasm
#

I have minimal experience with C

high verge
#

i can tell

low chasm
#

Lol

#

Functions are defined different from C as well

#
function myfunc() {
  print("FUNC");
}
#

Well, sort of

quick scroll
#

while I hate both == true

low chasm
#

Lmao

low chasm
#

XD

high verge
#

but the syntax in those two was identical really

quick scroll
#

oof people really aren't nice

high verge
#

the words are different

quick scroll
#

correct

low chasm
#

yeah

quick scroll
#

to type they were diff

high verge
#

but there's no reason to choose the less readable option because it's not going to make it run faster

quick scroll
#

well i think i found a pretty good balance

#

actually there is, its a huge bit faster to write

low chasm
#

Something in between would be nice

#

You also need to decide on a parser

high verge
#

fn to define functions is readable

#

but single letter functions isn't great imo

#

and you're not going to use replace often enough to justify shortening it massively

low chasm
#

Im using Lark, which is pretty powerful

#

PLY is a bit outdated

#

What are you writing your lang in?

#

python?

#

or something else

#

pythons pretty decent for designing languages

quick scroll
#
import in, out

name = in('What is your name : ')
# they could also declare while stating the type
str name = in('What is your name : ')
# calling methods
int_name = name.convertInt()

if name exists {
  out('Your name is !!name')
}
if name does not exist {
  out('Bruh')
}
#

i also thought about this

low chasm
#

Thats cool yeah

#

What language are you using to write your language?

quick scroll
#
import in, out

name = in<'What is your name : '>
# they could also declare while stating the type
str name = in<'What is your name : '>
# calling methods
int_name = name.convertInt()

if name exists {
  out<'Your name is !!name'>
}
if name does not exist {
  out<'Bruh'>
}
#

which one do you like better?

low chasm
#

I like the first one

quick scroll
#

I'm writing it in the language the next oft says noone uses lol

low chasm
#

Hm?

#

Wdym

high verge
#

why are you standard input and output functions libraries you import

quick scroll
#

Rust

low chasm
#

Ooh cool

high verge
#

and they're each a separate module

low chasm
#

Rust is nice

quick scroll
#

@high verge lol bro just some kinda representation

high verge
#

sure

quick scroll
#

btw you like the syntax

#

any suggestions

#

?

low chasm
#

Yeah the syntax is nice

#

The first one

quick scroll
#

well i thought baout this tooo

low chasm
#

I didn't like the <> much

quick scroll
#
# want to access the size of the text
text = in('Enter some text : ')
size = text<size>
#

and instead of dunder methods we can use the <>

low chasm
#

Yeah thats nice

quick scroll
#

this is really coming together! thanks for all your inputs : )

low chasm
#

I like that idea, its unique

#

No problem, keep me updated

high verge
#

hmm the idea of how to implement dunders is interesting

quick scroll
#

thanks : )

#

guys would you like switch cases or match statements?

high verge
#

like with pattern matching?

quick scroll
#

yes pattern matching

#

or both lol

low chasm
#

Maybe both, i dunno

quick scroll
#

however, doesn't matching essentially do the same thing?

#

Am I the only person who hates python error output?

#

I feel like it has way too much information

#

And the trace back is a bit too much

low chasm
#

Really? I find it useful

#

The way too much information leads to better debugging

quick scroll
#

Yeah I find it way too long

low chasm
#

but then again im biased

#

soo

quick scroll
#

lol

low chasm
#

lol

high verge
#

i don't really see how it could have less information

#

and most of the time when you have a really overlong traceback it's because the library you're using is doing things wrong

quick scroll
#

lol

#

well i guess

low chasm
#

Hey

fresh kayak
#

ez question

#

but how do you add files to python

#

such as gifs

#

i forgot

austere forum
#

but how do you add files to python
@fresh kayak what do you mean by python ?

fresh kayak
#

python

#

as in

#

add files

#

to the code

#

e.g

austere forum
#

like read and write files ?

fresh kayak
#

actually

#

for example

low chasm
#

Wdym?

#

You read the files

fresh kayak
#

i wanna get a file

#

and post it

low chasm
#

From where?

fresh kayak
#

on a social media platform

#

A file from my system

low chasm
#

To they allow it using automated scripts?

fresh kayak
#

and post it w/o a link

#

yeas

low chasm
#

Alright

#

You open the file

#

You have the file location/

austere forum
#
with open("file_name","r") as f:
  data = f.read()

# what evere
low chasm
#

mhmm

fresh kayak
#

oh

#

cool

low chasm
#

if you want a link

#

you can use OS

fresh kayak
#

yea

low chasm
#

Not to open files

#

to interact with them further

#

os.path.exists for example

fresh kayak
#
def essays():
 thiswonttweet = True
 while thiswonttweet:
    mediaid2 = code.gif
    mediaid1 = proofread.gif
    mediaid3 = seovertake.gif
    copywrite = api.update_status("coochie man", [mediaid3] + str(currentrends))
    tweets = api.home_timeline(count=1)
    tweet = tweets[0]
    time.sleep(6000)
    api.destroy_status(copywrite)
    api.destroy_status(bot)
    api.destroy_status(seo)
essays()```
#

there's a ton more

#

this is just abridged

shell raptor
#

Am I the only person who hates python error output?

#

nope

#

!e

xs = [1, 2, 3]
xs[5]
royal lakeBOT
#

@shell raptor :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | IndexError: list index out of range
shell raptor
#

It could print [1, 2, 3]: index (5) out of bounds [0; 2]

#

but hey, why not just print "list index out of range"

edgy crest
#

oh we can convert it to a list ez

shell raptor
#

I mean... just split the number into digits by dividing it by 10

edgy crest
#

nah i will convert it in a list

shell raptor
#

can you link the kata?

edgy crest
#

sure

shell raptor
#

But how do you convert it back to string? 🙂

#

you can't use join

edgy crest
#

*

shell raptor
#

and then...?

edgy crest
#

print(*_list)

shell raptor
#

but you have to return it, not print

edgy crest
#

oh fudge

shell raptor
#

🙂

edgy crest
#

.<

shell raptor
#

Of course you can do that with ctypes

#

probably

#

Either way, you don't really benefit from cicrumventing codewars

edgy crest
#

wdym?

#

there is a better way to practice?

#

i mean yeah, code wars wont allow it xD

#

do you have an idea how will i do this then?

#

i didnt quite get what you meant by dviding it by 10

rough sapphire
#

either convert it to string and return the reverse of it or do math

edgy crest
#

you cant convert it to string

#

it is written in the question

rough sapphire
#

then do math

edgy crest
#

well yeah what kind of math >.<

rough sapphire
#

ok how do you get the last digit?

edgy crest
#

wdym?

rich moon
#

the divide 10 is to capture each digit

#

and then u can do a sum of them all

edgy crest
#

how will that capture each digit

rich moon
#

u mod10 at first

#

that grabs the last digit

rough sapphire
#

yeah you need to use % 10

rich moon
#

divide 10 to get rid of the last digit

rough sapphire
#

thats it

edgy crest
#

🥴

rich moon
#

so then u mod10 the second last (which is now the last)

edgy crest
#

i mean yeah, % 10 will give the last digit, but what good will that do?

rough sapphire
#

ok lemme show you

1234
  1234 % 10 == 4
  1234 // 10 == 123
  123 % 10 == 3
  123 // 10 == 12
  12 % 10 == 2
  12 // 10 == 1
  1 % 10 == 1
  1 // 10 == 0
  STOP
#

you are getting each digit in the reverse order

rich moon
#

dividing 10 removes the last digit

edgy crest
#

oooh

rich moon
#

so u can loop through the entire number

#

grabbing each digit

edgy crest
#

how will i loop through the entire num

rich moon
#

some while loop

rough sapphire
#

do this until the number becomes zero

rich moon
#

or sth

edgy crest
#

oh

#

ok thanks i will try

rich moon
#

lmao is this a leetcode question

#

cuz i swear i saw this on there

edgy crest
#

wdym?

#

whats leetcode

#

its a code war question, if thats what you mean

rich moon
#

lmao those websites prob copy from each other lol

#

literal no originallity

edgy crest
#

oh lol

reef orchid
#

holy cow i haven't been here in 2 years and almost everything has changed

low chasm
#

Lol

edgy crest
#

@rich moon but how will i create a total?

#

i mean they arent strings, so if i add them it will give the sum rather than the numbers

#

@rough sapphire do you know ?..

rough sapphire
#

I am willing to write a code but I am hesitating

#

because you need to learn this on your own

#

I can give you the idea tho

edgy crest
#

i just want to know how can i join ints

#

i figured out the logic

rough sapphire
#

ok you are getting individiual digits right?

edgy crest
#

yeah

rough sapphire
#

now lets say the number starts at 0

#

num = 0

edgy crest
#

like i am setting n % 10 to a var, and then i am setting n to n // 10

rough sapphire
#

ok now see the following

edgy crest
#
    while n > 0:
        b = n % 10
        n //= 10```
rough sapphire
#

yeah good!

edgy crest
#

now i need to get the total

rough sapphire
#
this is for 1234
num = 0
num = num * 10 + 4    ->    num is now 4
num = num * 10 + 3    ->    num is now __
num = num * 10 + 2    ->    num is now __
num = num * 10 + 1    ->    num is now __
finally what is num?
#

fill these

edgy crest
#

wait a sec

#

4321

#

4
3
2
1

rough sapphire
#

nope think again

edgy crest
#

its 0, then we add 4 to it

#

oh wait

rough sapphire
#

yeah so num is now 4

edgy crest
#

ooooohhh

#

43
432
4321

rough sapphire
#

voila!

#

number reversed

#

so all you need to do is add a simple step in that while loop you showed me

edgy crest
#
    a = 0
    while n > 0:
        b = n % 10
        n //= 10 
        a = (a * 10) + b
    return a```
#

thanks

rough sapphire
#

which case it fails?

edgy crest
#

it failed at attempt

#

so idk whats the number

rough sapphire
#

hmm 🤔

#

I dont see any problem in this

edgy crest
#

yeh

#

i will just skip i got the solution anyway

shell raptor
#

@edgy crest Can you show the code?

#

maybe you have 'os' inside a name, and it's unhappy

rough sapphire
#

I think the grader is borked

#

no the grader gave that error

edgy crest
#
    a = 0
    while n > 0:
        b = n % 10
        n //= 10 
        a = (a * 10) + b
    return a```
#

and also comments on top which were already there

rough sapphire
#

I am 120% sure this is correct

edgy crest
#

yeah

#

oof i need to get good at maths :(

rough sapphire
#

simple do more math

winter terrace
#
    a = 0
    while n > 0:
        b = n % 10
        n //= 10 
        a = (a * 10) + b
    return a```

@edgy crest are you just trying to create n from n?

edgy crest
#

wut?

winter terrace
#

Oh

#

You’re reversing the number

edgy crest
#

yes sir

fresh kayak
#

hey guys

#

anyone here uses tweepy?

austere forum
#

nah, not me

winter terrace
#

@edgy crest you can just convert it to a string, reverse the string, and then convert it to an int

#

theres an inbuilt reverse function thats probably faster than yours

#

or reversed is the name for it

quick ledge
#

I guess converting to a string is not allowed in the particular question

winter terrace
#

actually, converting to a string and back might take more time than just reversing the integer

quick ledge
#

maybe

shell raptor
#

!e

import lark
print(dir(lark))
royal lakeBOT
#

@shell raptor :white_check_mark: Your eval job has completed with return code 0.

['Discard', 'GrammarError', 'InlineTransformer', 'Lark', 'LarkError', 'LexError', 'ParseError', 'Token', 'Transformer', 'Transformer_NonRecursive', 'Tree', 'UnexpectedCharacters', 'UnexpectedInput', 'UnexpectedToken', 'Visitor', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', 'common', 'exceptions', 'grammar', 'inline_args', 'lark', 'lexer', 'load_grammar', 'logger', 'parse_tree_builder', 'parser_frontends', 'parsers', 'tree', 'utils', 'v_args', 'visitors']
shell raptor
rough sapphire
#

anyone here able help me with haskell ?

rich moon
#

the main rule of haskell

#

trust the natural recursion

scenic blaze
narrow pecan
#

HAhahh

meager lion
#

what are polymers and how are they formed
someone here is smart enough to know what that is, im studying for my yearly exams

#

ping me if any of u have an answer

fresh kayak
scenic blaze
#

@meager lion Polymers are substances created of similar large blocks of molecules bonded together. Think of a creation of legos. They're designed in a certain way to have certain properties.

meager lion
#

thank you

#

appreaciate that is a very good defintiona

fresh kayak
#

wait

#

polymers?

#

oh

scenic blaze
#

To the best of my knowledge they are created in two ways, either by adding legos one at a time to an existing lego or having a bunch of legos and then having them all bond together at once

fresh kayak
#

polymers are easy to understand

#

hard to remember

scenic blaze
#

(addition versus condensation)

narrow pecan
#

@fresh kayak I'd recommend focusing more on emotion and what the people actually get from it. Purely seeing price cuts won't get anyone interested

rich moon
#

looks like a scam

fresh kayak
#

what do you think'd get emotion on it?

meager lion
#

LMAO IT DOES

rich moon
#

the font is kinda wack

#

which makes me think its a scam

fresh kayak
#

lmao now i look at is

#

it does

narrow pecan
#

I would never get close to buying that, if we're gonna be honest about the ad. What target audience do you have for them?

rich moon
#

lmao the target is boomers

fresh kayak
#

for the seo, just website owners trying to rocket up their blog
for proofreaders, legit anyone who needs it
for bots, people who are either reluctant or don't have time to code their own chatbot

rich moon
#

cuz they easy to scam

narrow pecan
#

This is the golden rule of basically everything in marketing:

If you try to appeal to everyone, you'll end up appealing to no one

rough sapphire
#

anyone here able help with haskell ?

narrow pecan
fresh kayak
#

i'm confused

#

cos i'm thinking

#

it's bad to write complicated

meager lion
#

@fresh kayak why not create a video it is very hard to interest someone nowadays, with just a poster.

fresh kayak
#

but usually, videos are overlooked

meager lion
#

oh

fresh kayak
#

it's just a general known fact

#

take yt ads

#

everyone skips them

#

unless you have a video based business

#

then you want to use it

narrow pecan
meager lion
#

aye tru

#

damn this man know how to market

narrow pecan
#

This is the difference of target audience, even though they're quite similar for both of these iPhones

meager lion
#

wouldnt hte first photo be more interesting

narrow pecan
#

Not really

meager lion
#

oh

fresh kayak
#

yea

narrow pecan
#

It's marketed toward pros who want to get the most premium and powerful things. It's "the thing"

meager lion
#

OHHH THAT MAKES SNESE

fresh kayak
#

but the 2nd one is for normal folks like u and me

narrow pecan
#

The last one is much more playful, both in colors and presentation

#

Apple is great at branding and marketing, which is part of how they've managed to become the single most valuable company on this planet

#

What I mean in your picture is that you'll have to define your target audience. Who are they? What do their lives look like? Why would they want to buy your product? Do they have any pain points in their day to day lives?

fresh kayak
#

maybe, for the custom discord/legit almost every large sm bot, i'll show a dark background with white text, bolding the text but showing the premiumness(?) of the chatbots

#

because

narrow pecan
#

Is your target audience the premium users who need the high quality and premium feel?

fresh kayak
#

tbf, it's a mix of businesses and individuals

#

businesses want the quality to push their company

#

but individuals don't rlly mind

#

maybe i'll push 2 ads

narrow pecan
#

At least in the beginning, I'd strongly recommend choosing one single target audience and getting a good grip of that market

fresh kayak
#

i'd pick the individuals then

#

so maybe a casual font and a more casual photo of code

narrow pecan
#

Though I don't expect you to do a lot of market research and go through the process of creating a brand, but you should still try to get a somewhat solid grip of who will be buying your product

fresh kayak
#

gonna be real

#

it's primarily freelance

narrow pecan
#

Hmm. Don't quite think about font and photos yet. Try to define who they are?

fresh kayak
#

good idea

#

i'll do a little bit of market research

#

get a good logo for all 3 of my main projects

#

tbf tho

narrow pecan
#

A logo is only as good as your brand and target audience

fresh kayak
#

chatbots are usually used by businesses to speed up their interactions and get further research on their market

#

so for that i'll prolly get a more refined appeal

#

for the seo, very similar

#

and proofreading i'll prolly appeal to the average worker

narrow pecan
#

Hmm

#

Take a look at this site as an example for a software development agency. I don't know anything about them,, but they could serve as an example https://sidebench.com/

#

On the site, they start with providing some feeling with a video and a simple text

#

When you scroll down, you get to previous projects where they've helped actual people solve their goals. Not get software, but solved their goals

#

Then you get clients who you know and trust

fresh kayak
#

trust is dependable

#

but know 100%

narrow pecan
#

And some more about the company

#

Well, at least well known and somewhat reputable companies. "If they use it, why not us"

fresh kayak
#

i'm just a freelancer, so i'll prolly not go that far and deep into it, but i'll certainly use it as a large example

#

cos they've got a clean and classic feel onto their site

#

which i can distill onto my adverts for my page

narrow pecan
#

You don't have to go that deep into it. The point is that you should try to define your target audience and understand part of their needs and wants. When you design the actual ads, I also have 3 things for you to keep in mind

#

These three things are the foundation of rhetorics and some of the most powerful tools available. They're truly fundamental to everywhere you want to influence someone

#

@fresh kayak Here they are:

#
  1. Ethos. They should have a reason to trust you
  2. Logos. Show them why it's the logical choice
  3. Pathos. Provoke emotions. This is one of the most impactful points
fresh kayak
#

-it's trustworthy due to my experience in coding
-it's logical due to the prices compared to competition
-i can provoke want of my services by saying i've got examples of code, which will make them enquire

narrow pecan
#

Didn't expect this to turn into Rhetorics 101, but here we are ahahah

fresh kayak
#

well it's a ton of help regardless

#

thanks for it

narrow pecan
#

Hope it helps :)

#

@plucky ridge I saw you lurking about 👀 Anything to add? maybe not

fresh kayak
#

would this be a good example?

plucky ridge
#

Nah, I lost my train of thought

narrow pecan
#

Hahah alrighty

#

I think it looks much better

#

Give me a minute

high verge
#

think about your audience

#

probably not massively tech savvy

#

probably fairly young

#

probably into gaming

#

take a look at the kind of ads you see on gaming websites for example

#

woops

#

well

#

roughly that

#

but they often aren't very beautifully designed

#

they're intended to look good and persuasive to a specific group of people

narrow pecan
#

@fresh kayak Here is, eh, something

#

I made that now as an example of something. It's not too good, but I just got sucked into randomly creating something like this

fresh kayak
#

it helps a ton

#

thanks

high verge
#

bit too much like a lawyer firm imo ;)

fresh kayak
#

it's for businesses

#

ofc it'll look like that

narrow pecan
#

It depends a lot on the target audience

rough sapphire
#

have YOU been conned by a chatbot? you may be entitled for compensation! :P

narrow pecan
#

Sure

rough sapphire
#

looks nice though c:

high verge
#

i mean what is the target audience

#

what kind of chatbot

narrow pecan
#

Not you 😏

fresh kayak
#

as vester said

rough sapphire
#

awful as every ad should be 👍

fresh kayak
#

ay yo vester

#

what font did u use

#

@narrow pecan

#

using it to find a casual version

narrow pecan
#

I used arial, lato and some font with "condensed" in the name (not totally sure on the name)

high verge
#

how are you implementing these chatbots

#

is it for a website?

#

like are you contracting or is it just a service they sign up for automatically

fresh kayak
#

contracting via fiverr

#

just getting business out and them gonna prolly remove after a few customers

high verge
#

yeah but what are you actually making

#

how are these being used

fresh kayak
#

tldr
i post ad

#

people ask

#

i tell them prices

#

they decide

#

i do work if they say yes

#

i give them work

#

they give review

#

and done

high verge
#

yes but what is the work

#

are you just writing a python script

#

if i bought your service, what would i have

rough sapphire
#

@young shoal wanna play some among us?

fresh kayak
#

prolly gonna move some of the text down

#

and swap the text]

#

fixed it

rough sapphire
#

Fun Fact: Java (the language) is named after an island in Indonesia

young shoal
#

hm

#

not coffee?

#

like in the logo?

rough sapphire
#

python logo are 2 snakes but the name was inspired by the show, no?

young shoal
#

yeah

gilded spindle
#

Why 2 snakes though?

#

Oh I didn't noticed that the original logo was only 1 snake, when python 2 came out I assume they changed the logo with 2 snakes

#

I guess that had to stop at some point though lol

rough sapphire
#

no.

#

more snakes

#

never enough snakes

gilded spindle
#

I might be terribly wrong, but it is too much coincidence!

#

That image is 🔥 though

rough sapphire
#

i just googled 3 snakes. im sure someone somewhere could have ;c now we just have py3 with 2 snek

left jacinth
#

Imagine these 3 snakes being pythons. You would have python3 in that case

eternal wing
#

those sorta look like pythons

#

maybe woma pythons?

rich moon
#

i make python4 by putting together 4 snakes

narrow pecan
#

So, we’re using python 2 atm?

rich moon
#

yup

narrow pecan
mild abyss
#

oh no

#

the world as we know it was a LIE

rough sapphire
#

hi

prime aspen
#

hi

rough sapphire
#

how are you

#

is it okay if i ask a question here

#

probably

scarlet wind
#

Happy Halloween so what are the plans xD?

rough sapphire
#

@lapis wren QUIT HARRAISING ME IM SICK OF IT

#

whats the difference of .py and .py~ i dont really understand the differnece

prime aspen
#

Happy Halloween so what are the plans xD?
@scarlet wind Assignment up my ass and I got ~40 scientific article to grind

hollow shale
#

@prime aspen might just wanna pm

rough sapphire
#

@topaz aurora there he goes again

#

IM SORRY THAT I FORGOT A RULE YALL HAVE PUNISHED ME ENOUGH\

hollow shale
#

not me but someone lol

scarlet wind
#

lol @prime aspen that sucks

rough sapphire
#

JUST STOP HARRASING ME

topaz aurora
#

!silence

royal lakeBOT
#

✅ silenced current channel for 10 minute(s).

topaz aurora
#

For fucks sake.

#

Drop it before all of you get muted.

#

!unsilence

royal lakeBOT
#

✅ unsilenced current channel.

rough sapphire
#

nice

#

Guys.
Any tips on learning python?
I want to look smart. So I can stop being bullied, by my friends as school.
I take a computer class, but all they teach is scratch.
Yep, use to get bullied for learning scratch "Its so simple all you need to know is how to read and how to do legos"
Oh yeah made something in lua. But now im getting bullied for playing roblox because its made in lua

young shoal
#

!resources

royal lakeBOT
#
Resources

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

rough sapphire
#

@rough sapphire hey man if your getting bullied in a school for not knowing a programming language then i suggest you avoid those people

#

lua is a very useful language

#

you can tell them all the other uses for lua

warm sail
#

new Halloween logo

#

nice

gleaming thicket
#

.uwu halloween!

median domeBOT
#

hawwoween!

winter terrace
#

flat earthers are the stupidest but the shit they write is the funniest

#

what the actual fuck 🤣

gleaming thicket
#

Trick or treat!

rough sapphire
#

lolll

winter terrace
#

sorry m8, got no treats, but i do got a trick

rough sapphire
#

spooky skeleton pumpkin candy

winter terrace
#

oh

#

spooky

rough sapphire
#

.uwu rlrlrlrlrlrlrlrlrr

median domeBOT
#

wwwwwwwwwwwwwwwwww

rough sapphire
#

wwww

rough sapphire
median domeBOT
winter terrace
#

there are spooky skeletons in my pumpkin

rough sapphire
#

spooky SKELETON in my pumpkin

winter terrace
#

there is a spooky ghost skeleton in my pumpkin

#

aww

rough sapphire
#

im gonna look at the source to unmask all of them hehehe

#

danger

#

hahaa

#

jack-o-lantern

#

doot

rich moon
#

doot doot

#

💀 🎺

rough sapphire
#

spooky skeleton pumpkin jack-o-lantern danger

#

pumpkin

#

oh

#

so there are 4 in toral

hushed shale
#

can someone send me java 11 windows installer file

rough sapphire
#

no

scarlet wind
#

lol

tribal aurora
#

@lunar shore

edgy crest
#

vim?

#

:)

tribal aurora
#

yes

lunar shore
#

idk , but I don't mind it , since those make the editor look like vim more

tribal aurora
#

@lunar shore I still have that issue

lunar shore
#

That's for your colorscheme

edgy crest
#

what issue

tribal aurora
#

when I turn off termguicolors the line appears

lunar shore
#

Try changing it back to gruvbox

tribal aurora
#

I did

#

With Gruvbox Colorscheme

lunar shore
#

The real gruvbox?

tribal aurora
#

Yes

lunar shore
#

Like the not editted?

tribal aurora
#

Yes

lunar shore
#

Do that bruh

#

What do you think I meant lmao

tribal aurora
#

yea lol

#

so

#

back to my question

lunar shore
#

Change it back to normal , uneditted gruvbox

#

And see if it works

tribal aurora
#

I DID

#

It doesn't

lunar shore
#

You changed it back in your vimrc?

#

Or no?

tribal aurora
#

But with set notermguicolors it works

lunar shore
#

You changed it back in your vimrc?

tribal aurora
#

init.vim ye

lunar shore
#

And you relaunched neovim?

tribal aurora
#

Yes

lunar shore
edgy crest
#

hye how come you hav got a side bar for files

tribal aurora
#

like this

#

or this

lunar shore
#

try changing your terminal

tribal aurora
#

:/

lunar shore
#

It has effects

#

If that didn't work either

tribal aurora
#

I'm saying it's related to termguicolors

lunar shore
#

JUST CHANGE YOUR TERMINAL

tribal aurora
#

NOPE

#

You can't help me

#

But thanks for your helps

lunar shore
#

You can't get help

tribal aurora
#

wasn't helpful

lunar shore
#

stfu

tribal aurora
#

:/

lunar shore
#

You are not getting help with this situation

#

NOPE
@tribal aurora Like why don't you?

#

It's just for tests

#

Not like permanently

edgy crest
#

lol

tribal aurora
#

...

lunar shore
#

I can't help you . You just straightup don't do what we suggest to you and expect it to be helpful

#

And complain that It "wasn't helpful"

edgy crest
#

lol

tribal aurora
#

Bruh, I appreciate that you want to help me , And I love your excitement about helping people, but when you don't know something , You musn't say something that's not even related to the issue, I'm saying it's related to set termguicolors and it has something to do with it, but you're saying change your terminal and I'm like :|

lunar shore
#

I can't know something that's in your computer until I test it

#

And you won't lemme do that

#

And you expect help

tribal aurora
#

And the issue solved

#

by deleting all crap things

lunar shore
#

Do whatever you want to do , I'm out , irdk why are you so stubborn

tribal aurora
#

I just re-installed gruvbox

#

Thanks btw

lunar shore
#

I said "uneditted gruvbox" like 100 centuires ago

tribal aurora
#

And I don't think it's good to call people stubborn

#

or stfu

lunar shore
#

Stubborn is not so "offensive"

#

It's just a negative personality

tribal aurora
#

it gruvbox , parentheses are bad colored

#

any way to change it?

#

in gruvbox*

topaz aurora
#

Gruvbox has nothing to do with parentheses highlighting

tribal aurora
#

I'm also using rainbow

#

^^^

topaz aurora
#

If you have an extension that adds syntax highlighting for various languages, that's probably it

tribal aurora
#

but, colors change when I change the theme/colorschme

topaz aurora
#

The extension handles that

tribal aurora
#

mhm

lunar shore
#

Yup it's based on your colorschemes

tribal aurora
#

?

lunar shore
#

The colors that rainbow chooses I mean

tribal aurora
#

It's the colorschme or rainbow then?

lunar shore
#

Rainbow

tribal aurora
#

oh

#

ok

rough sapphire
#

ho

#

My chip8 emulator is working

lunar shore
#

nice

rough sapphire
#

just need to change somethings, add audio and shit

tribal aurora
#

cool

rough sapphire
#

but the rendering and opcodes are fine

#

It's so cool

lunar shore
#

Good

tribal aurora
#

your pfp....

#

lol

#

wtf is that

rough sapphire
#

It's nice, isn't it?

tribal aurora
#

lol

#

You think so?

rough sapphire
#

I don't know, the first thing that appears when i search uranus in google

#

I like it

tribal aurora
#

lol

#

anyway

edgy crest
#

its some greek titan or god

#

*roman

mild abyss
#

roman copied the greeks jk

edgy crest
#

rome came after greek

winter terrace
#

ah

#

dont you love it when you have to stay till whatever the fuck am doing homework

mild abyss
#

dont you love it when you have to stay till whatever the fuck am doing homework
@winter terrace better finish your homework then grind after

rough sapphire
winter terrace
#

ill finish tommorow

rough sapphire
#

nice

edgy crest
#

what score is that for

inland wolf
#

biological mail

mild abyss
rough sapphire
#

gfx bad

rich rover
#

It's okay, not that bad

rough sapphire
#

is it integrated one?

mild abyss
#

UHD is always an integrated one :((

rich rover
#

It's Good enough @mild abyss

mild abyss
#

yeah but thats just one of the options, my mom hesitated hahaha so i dont think thats the one she will buy for me. xD

rough sapphire
#

I think getting 2gb dedicated gfx is not too much investment

mild abyss
#

okiee

rough sapphire
#

if you get it you can build VM and pass it to the vm

#

|| like hackintosh ||

quick ledge
#

yeah but thats just one of the options, my mom hesitated hahaha so i dont think thats the one she will buy for me. xD
@mild abyss why did she hesitate?
they are OK specs
You can probably do better

quick abyss
#

guys i need help uploading a gif pfp on my discord server. it has two boosts but i cant get it to upload pfp

mild abyss
#

i want an amd laptop

#

xD

quick ledge
#

Get one then xD

edgy crest
#

i want an external keyboard and a wire mouse

quick ledge
#

are they not available in PH?

mild abyss
#

i mean they are available but 3 out of 10 are amd laptops

quick ledge
#

guys i need help uploading a gif pfp on my discord server. it has two boosts but i cant get it to upload pfp
@quick abyss try #ot2-never-nester’s-nightmare

mild abyss
#

just an estimate

quick ledge
#

smh just move to Canada or Europe or something

rough sapphire
#

lol he got shifted from ot0 to ot1

#

now ot1 to ot2

#

xD

mild abyss
#

smh just move to Canada or Europe or something
@quick ledge 😐

#

okay i found one

#

imma convince her now

#

idc if it is low specs it is full AMD

#

xD

edgy crest
#

uh guys i need help

#

my keyboard was on my side and i accidently put my hand on it, now discord is small af

graceful basin
#

Ctrl+0

quick ledge
#

@edgy crest try ctrl + 0

edgy crest
#

i tried to zoom it back, and its smaller

#

oh thanks

#

that worked

ivory ember
#

Has anyone here tried game development with python?

tranquil orchid
#

I mean nothing really serious

#

I've made some small things using arcade like snake

graceful basin
#

Same

ivory ember
#

oh how was the experience

tranquil orchid
#

Pretty good

#

Arcades real nice

#

For small things like that

ivory ember
#

oh ok nice

graceful basin
#

Ye, python is nice overall until you run into performance issues

gilded hatch
#

any python pro available?

graceful basin
#

But that doesn't happen for simple games

gilded hatch
#

i needed help

graceful basin
#

@gilded hatch please do not interrupt existing conversations, go to a help channel, read #❓|how-to-get-help

gilded hatch
#

sorry

tranquil orchid
#

Still working on the snake thing actually

#

Trying to make a machine learning model learn how to play it

#

Proving difficult

graceful basin
#

I can imagine. What information does the model get?

ivory ember
#

oh ok gud luck

graceful basin
#

Oh, that could be fun as an openai gym

tranquil orchid
#

The state is basically the distance to a wall in 8 directions, and whether or not there is an apple in one of those directions

#

Yeah I've spent a fair bit of time making it so others can use it @graceful basin

graceful basin
#

The one game that can actually fit into that inconvenient representation

tranquil orchid
#

Ends up being pretty easy to customise

#

Still got a few features to add but should end up pretty nice

#

Once I finally end up successfully using it

#

I might make a tetris environment as well

rough sapphire
#

is the vscode theme tokyo night?

tranquil orchid
#

Na I made that theme at some point

rough sapphire
#

nice

tranquil orchid
#

@graceful basin And yeah the aim is to eventually make a small collection of openai gym like environments people can use

simple sand
#

jack that's cool

mild abyss
#

i wanna try waterfox browser

#

xD

mild abyss
#

wow firefox dev is now in the official community package. nice.

narrow pecan
#

Why does hemlock have a biological cat?

solid pollen
#

Why not?

cosmic lotus
#

Would you prefer him having a mechanical one?

latent scaffold
#

yes

mild abyss
#

i am a biologist and i can confirm he has a biological mail

narrow pecan
#

I guess that settles it

graceful raptor
#

Not sure where to ask but can anyone help me with github

#

i want that its visible that the project is created by him and me

#

you know what i mean?

rough sapphire
#

only you two? @graceful raptor

graceful raptor
#

I got it. Thanks anyway :)

mild abyss
#

Ah watching shingeki no kyojin aaah so satisfying

edgy crest
#

why

#

thats so bloody

#

and so many deaths lemon_sentimental

mild abyss
#

@edgy crest dude it is the best anime of all time, the plot is a million times better than BNHA

edgy crest
#

:(

#

its not good for my weak heart

mild abyss
#

thats the point though lol

#

the thrill and suspense

#

and the brainfuck!

rough sapphire
#

Hello

#

Does anyone know user accounts' and bot accounts' ratelimits?

low chasm
#

Uhh

#

No

void grove
#

I think bot accounts are ratelimited less

rough sapphire
#

I know that

#

But Id like to know more less exact ratelimits

winter terrace
#

oh COOL i get to go to school on haloween, on a saturday

#

waHOO!

narrow pecan
#

Welp, why?

edgy crest
#

now i am so used to being indoors that i havent been outside from 5 months

#

farthest i went was my balcony

rich rover
#

Yup

#

I did that too

#

I felt like a bat

#

I get repelled easily by sunlight

rough sapphire
#

i think im just going to sit outside from now on bc it now feels weird to be outside

rich rover
#

You mean, being inside?

narrow pecan
#

you mean just four clicks? color select, paint, color select 2, paint
@edgy crest design isn’t about the amount of clicks you do, though. If you look at Google or Facebook’s logos, they would be very simply to make. The amount of effort that goes into the strategy of it is often truly a lot. I don’t think the amount of strategy in this particular logo was that significant though, but I just want to clear that up regarding design

edgy crest
#

ik that 😄

ivory ember
#

farthest i went was my balcony
@edgy crest same here

eternal wing
#

hey, I finished hacktober weeks ago, anyone know when I will get #ot1-hemlock’s-biological-mail

narrow pecan
#

hey, I finished hacktober weeks ago, anyone know when I will get #ot1-hemlock’s-biological-mail
@eternal wing in 5

eternal wing
#

dang it, that is 3 more than I have

next lance
#

hi

narrow pecan
#

@eternal wing I didn’t specify a unit

eternal wing
#

I am all too aware :shame:

narrow pecan
#

Yes haha

left jacinth
#

Okay, so I saw yt comments aggreing each other that VS code is not an IDE. What are they< talking about?

narrow pecan
#

Eeh, it's the entire IDE vs editor debate

#

This is what I said about them a day or two ago:

In its essence, IDEs are Integrated Development Environments (IDEs) and come packed with a lot of the features you may need, without you specifying exactly what you’re looking for. An editor on the other hand is more lightweight and doesn’t have as much preinstalled. You can generally install packages and addons to add functionality

left jacinth
#

ah okay - I would call vim and similar Editors, but imo VScode has enough tools to not count as an editor. But I guess every1 thinks other about this

rough sapphire
#
fib :: Integer -> Integer
fib 0 = 0
fib 1 = 1
fib n = fib (n-1) + fib (n-2)
#

anyone know haskell , is this correct function for fibonacci ?

young shoal
#

test it