#ot0-no-stealth-portals-please

3246 messages ยท Page 9 of 4

tidal widget
#

rest in peace

mystic mauve
#

but I uh, crashed the avionics/efb plugin by being dumb

#

so dumb apparently that the staff on their discord decided rather than answering my question of what I was doing wrong, they told me to enter a call with them next time and they'll show me how to do it properly instead

#

๐Ÿ™ƒ

upper turret
#

lol

oak hemlock
#

well. I think I've done something good

#

Basically... MovementSystem procs every 20 ticks, RenderSystem procs every tick

upper turret
#

ECS?

oak hemlock
#

Yeah

#

This seems good so far, right \๐Ÿค”

upper turret
#

idk

#

bruh is azure down?

hearty prawn
#

is this react?

#

hey cy

oak hemlock
#

howdy

hearty prawn
#

how's the wife?

#

i started playing genshin again

sick olive
sick olive
hearty prawn
#

i just knew from the return and the useState

hearty prawn
sick olive
#

Cyph's wife?

hearty prawn
#

ye

oak hemlock
hearty prawn
#

i am ur wife :)

#

anyone here know java?

oak hemlock
#

hm. how to say this

#

no.

sick olive
hearty prawn
#

not me making a compiled language

hearty prawn
#

basically what my parser does is

#

converts the string to an array list

#

wait no only a list?

sick olive
#

I'm also playing rocket league

hearty prawn
#

and my compiler needs a ArrayList

#

i need help converting a List to an ArrayList

solid prawn
#

ArrayList is an implementation of the List interface

#

why is your compiler expecting an ArrayList

#

it should expect List

hearty prawn
#

i made it so

#

also something just fucked up wait

#

okay i think i fixed it

#

what i need now is a way to convert my input to a List

#

for example, I am bob becomes [I , am , bob]

#

@solid prawn helpppp

#
public class Parser {
    static HashMap<String, String> tokens = new HashMap<String, String>();
    //static HashMap<String, String> tokensFound = new HashMap<String, String>();
    static List<String> tokensFound = new ArrayList<String>();
    public static void parseInit() {
        tokens.put("PRINT" , "print");
        tokens.put("LBRACKET" , "(");
        tokens.put("RBRACKET" , ")");
    }
    public static List<String> parse(String parseInput) {
        //System.out.println("lol k");
        String[] input = parseInput.split(" ");
        for (int i = 0; i != input.length; i++) {
            if(tokens.containsValue(input[i])) {
                //tokensFound.put(input[i] , Integer.toString(i));
                tokensFound.add(String.format("%b" , input[i]));
            }
            else {
                //tokensFound.put("Error" , String.format("Wrong Token : %s" , input[i]));
                tokensFound.add(String.format("Error Wrong token %s" , input[i]));
            }
        }
        //System.out.println(tokens);
        // System.out.println(tokensFound);
        return tokensFound;
    }

}
``` epik parser
sick olive
#

what about the string "4+4"

#

there is no space in that

misty sparrow
#

Which nft tag should i buy

sick olive
#

but its valid c code

hearty prawn
#

that's a feature :)

sick olive
#

i guess its fine to simplify things

hearty prawn
#

i noticed this a while back but i'll fix it later lmfao lemme get a myp working

sick olive
#

or else you might go crazy

hearty prawn
#

i did print() like in python and it errored out lmfao

#

anyways

#

i need a way to convert an input of words into an array list of words which i can feed to my compiler

#

so it does shit

#

making an actual compiled language is hard

#

my other language just prints everything after PRINT

#

DragoLang flaskbacks

sick olive
#

Disregarding efficiency and other approaches this could be done easily with a loop over the string of code.

#

you might be able to read a file character by character and while doing so convert it into a list of words or tokens

hearty prawn
#

yeah but i don't wanna do thast

#

i wanna make it fasty boi

sick olive
#

i think the fastest way would be to construct the tree or intermediate representation as your reading character by character instead of reading the file into one big list then feeding it to your compiler

hearty prawn
#

hmm

#

yeah making a tree would be faster

solid prawn
oak hemlock
#

I think I'm oddly proud of my crappy ECS

sick olive
#

this will basically do the loop for you

hearty prawn
#

yeah i got it

#

aight my parser is fucking broken

oak hemlock
#

love when that happens

sick olive
sick olive
hearty prawn
#

i found the problem

#

i was never putting the tokens

oak hemlock
#

sad. there's a single millisecond of lag

hearty prawn
#

just the actuall thing i basically made a duplicate of thing

#

EJHW HUF????/

#

@sick olive help

#

@solid prawn you too help

#

ok so

#
        for (int i = 0; i != input.length; i++) {
            if(tokens.containsValue(input[i])) {
                //tokensFound.put(input[i] , Integer.toString(i));
                System.out.println(input[i]);
                tokensFound.add(String.format("%b" , input[i]));
            }
            else {
                //tokensFound.put("Error" , String.format("Wrong Token : %s" , input[i]));
                tokensFound.add(String.format("Error Wrong token %s" , input[i]));
            }
        }
``` i did this right
#
print
(
)
``` it printed this out as `input[i]`
#

bUT when the forloop ends

#

and i print the list System.out.println(tokensFound + " what ");

#

IT'S [true, true, true] what ???/

#

WHY TRUE TRUE TRUE

sick olive
#

print

hearty prawn
#

AND NOT [print , ( , )]

sick olive
#

and () are three token

hearty prawn
#

?

sick olive
#

oh

hearty prawn
#

yeahh

sick olive
#

"%b"

#

this means format it as a boolean

hearty prawn
#

FUCK

#

it works

sick olive
#

lucky i got that becuase im terrible with lang dev stuff

hearty prawn
#

i changed it to %s

#

don't you love when a functions just calls itself

sick olive
#

glad i could help

hearty prawn
#

:))

#

okay im so close to being done

oak hemlock
#

Well

#

I guess tomorrow I form my ECS into a module and try making a TUI game with it

hearty prawn
#

UGH this won't work

plain osprey
#

Use f-strings

hearty prawn
#

wait something worked

plain osprey
#

There's very little reason to use .format() over f-strings

hearty prawn
#

do you know java?

plain osprey
#

nop

hearty prawn
#

this is java not python.

plain osprey
#

oh

hearty prawn
#

yeah

plain osprey
#

that looked like python at a glance lol

hearty prawn
#

haha

#

deignfeugbnhutrbgutng'

#

@oak hemlock

#

BRO I DID IT

#

IT WORK

pliant canyon
#

damn

oak hemlock
#

what did

hearty prawn
#

OKAY SO

oak hemlock
#

huh

hearty prawn
#

MY PARSER WORKS

pliant canyon
#

for shitlang?

#

wait what was it called

hearty prawn
#

no for klurklang new language

#

i finished drago lang lmfao

pliant canyon
#

the one with the super hard to type keywords?

#

oh damn

hearty prawn
#

yeah

pliant canyon
#

nice

hearty prawn
#

OK SO I'M MAKING A COMPILED LANGUAGE

#

AND GUESS WHAT

elfin jolt
#

caps bro

hearty prawn
#

THIS CAN BE CORRECTLY PARSED AND E3BFUHRB

#

AND COMPILED

#

aND IT CAN

#

HANDLE ERRORS

#

never been more happy in life

#

now i need to rework the entire parser to make the print statement like this

#

print -> [whatever]

#

ez

#

it's a simple api to add new functions ngl

sick olive
#

Anyone know of a visual studio code extension to show the assembly of my program?

hearty prawn
#

no sorry

#

why though?

oak hemlock
sick olive
#

ill look for it

#

yeah its -S

#

im going to try and make an operating system

hearty prawn
#

pogg

sick olive
#

and ill need to know what my compiler produces.

hearty prawn
#

it's fun to make one

sick olive
#

have you made one?

hearty prawn
#

yeah a few

sick olive
#

wow cool

hearty prawn
#

yeee

sick olive
#

did you use c?

hearty prawn
#

yeah i used C

#

i could give you some code that just chonks you into using C

#

but reminder, it's not fun if you just start from C

#

i don't mind giving it lol

sick olive
#

i dont know where to begin

#

maybe making my own implementation of string and other data strucutres

oak hemlock
#

Abandon all hope and switch to LFS

sick olive
#

then maybe make emulators

oak hemlock
#

Who needs to make their own OS when they can make their own Linux distribution

hearty prawn
#

lemme get you a starting point?

#

also guys. i lost all of my programming data

#

everything in my RAW folder is gone.

sick olive
#

github has free private repos now

#

how did you do that

oak hemlock
#

Hasn't it for a long while

hearty prawn
#

iDK

oak hemlock
#

all my repos have been private

#

since at least 2 years ago

hearty prawn
#

thank fully my OS code is online but

#

all of my other code is GONE

sick olive
#

yeah that happend to me after i bricked my system

#

shut it off while updating

#

tried fixing it but even grub was broken

hearty prawn
#

well dang

#

lemme check my drive

oak hemlock
#

meow

#

I go sleep now

hearty prawn
#

gn

quasi cape
#

english be like

oak hemlock
#

lol

hearty prawn
#

lol

solid prawn
#

bruh

still pike
#

Seems like everyone is asleep

#

Fun vid

fathom yew
#

Today, I realized that I was no more a beginner...
my total number of lines exceeded 100...

cursive agate
#

also ;) more job opportunities for js devs

#

more vulnerabilities

low marsh
#

@sick olive You know way too much to not know how dynamic arrays work ๐Ÿ˜†

sick olive
abstract peak
#

css is kinda boring

#

but I have to learn it

sick olive
#

lol

#

Why is this channel named something different than what it was last night?

neat glen
#

0:00 utc

#

!ot

obtuse swallowBOT
sick olive
#

Ahh got it

#

Thank you

#

I'm sorry for asking such stupid questions, I just joined last night so I didn't know

abstract peak
#

english is weird

#

why discord red underlines english

sullen elm
#

It might want it capitalised

abstract peak
#

yeah

#

btw how do you customize ubuntu's desktop?

cursive agate
#

seems i can run sway now, now that nvidia supports GBM

fathom yew
abstract peak
#

yeah doing that rn

#

gnome I see

low marsh
#

Lots of people on this server that can do that

thick widget
#

hello

thick widget
#

any programmer

#

can do that

sick olive
hearty prawn
#

pov : i stood up for myself

sick olive
sick olive
#

Also do people still use gay as an insult? Really?

#

^

#

But why get "insulted" of someone called you gay tho?

hearty prawn
#

i'm not

#

he uses gay as an insult

thick widget
#

bruh

hearty prawn
#

i

thick widget
sick olive
low marsh
summer robin
#

Why know what you're doing when there is google.

sick olive
#

Is googling what most programmers do if they don't know something? Do they not try and figure it out themselves first?

ruby trellis
#

C moment

lofty cypress
#

isnt googling part of trying to figure it out yourself?

ruby trellis
#

you will be hard pressed to find any programmer who does not google stuff from time to time.

sick olive
#

I mean doing sort of hands on work yourself

lofty cypress
#

if not, why not? Explain your position in 500 words.

summer robin
#

if you don't know something that's already past the trying to figure it out part.

polar rose
#

does this sprite look like a top down motor boat lol

#

i suck at pixel art so bad

#

strike that, i suck at art so bad

sick olive
#

I get that googling it is very useful, but isn't part of the fun of solving whatever problem you have trying to solve it yourself?

lofty cypress
#

why isnt googling part of that

sick olive
lofty cypress
#

are you getting someone else to come over to your place and fix it for you?

fathom yew
lofty cypress
#

are you contracting someone to fix your issue?

polar rose
#

aNyone?

ruby trellis
sick olive
#

That's true

#

I guess it just depends on why you're programming in the first place

ruby trellis
#

more just why you are coding something in particular.

lofty cypress
#

this sounds like youre trying to put someone's efforts down because they used google

summer robin
#

I know functions that I use somewhat frequently from the top of my head, but for less used functions I definetly google the docs entry etc.

lofty cypress
#

youre not any better just cause you can remember some obscure function names

ruby trellis
#

i try to think through most of my problems first, but if i am just doing something because i need to do because it makes something i am doing easier, then i will happily copy paste something from the internet.

#

i can figure it out later, after all.

polar rose
#

soMeone check my sprite please

sick olive
ruby trellis
#

it can, but it assumes that somebody found the problem fun in the first place.

solid prawn
lofty cypress
#

google is part of the fun, its a reference, how are you supposed to solve problems without referring to anything

summer robin
solid prawn
#

/s

polar rose
ruby trellis
#

me and the boys aimlessly filling our project with dependencies because we want to be using Node.js

polar rose
#

but just tell me does it look like a boat?

sick olive
#

I'm sorry if I made it look like I was putting people down if they google stuff, I just started so I can't judge haha

lofty cypress
#

no

summer robin
#

It does somewhat, but I find it hard to tell for such small images.

polar rose
#

my sister and someone else told me the sprite i made earlier looked like a mailbox...

ruby trellis
#

some people just Google shit because it helps get it done quicker. i do not find every programming problem i come across fun.

summer robin
#

Fun fact: Sprite used to have anti depressants in it.

polar rose
#

what

ruby trellis
#

i still enjoy it, but programming is still a mix of a tool and hobby to me.

summer robin
#

Just like Cola used to have actual coke in it.

polar rose
#

what

lofty cypress
#

why do you think its called coke

ruby trellis
#

why not

sick olive
#

Well it's not called coce

ruby trellis
#

i think they used to give kids heroin.

summer robin
#

It's one of the best painkillers.

sick olive
#

That used to be ok and be the norm, but things change

ruby trellis
#

for mental pain AND physical pain! =D

lofty cypress
#

it sure kills something

ruby trellis
#

crack is wack. just like C.

#

but unlike crack, you should do C.

lofty cypress
#

career goals is getting into investment banking and doing lines on a skyscraper somewhere maybe

summer robin
#

That seems like harmful advice.

lofty cypress
ruby trellis
#

the only thing that this can harm is Python's market share.

static trout
ruby trellis
#

you cannot lose what you do not have. ๐Ÿคช

static trout
#

good point

solid prawn
#

I WAS TYPING THE EXACT SAME THING

ruby trellis
lofty cypress
#

it just proves how youre all instances of the same bot

solid prawn
#

hmm

summer robin
#

It's the kind of thing where you find out you still a a tiny bit of sanity left and then lose that ๐Ÿ˜ฆ

ruby trellis
#

we are running on different shards.

lofty cypress
#

aboo is the puppet master

solid prawn
#

D:

sick olive
mortal hull
#

banned for botting

ruby trellis
#

join the underbelly of programming.

#

the spooky scary C programmers.

static trout
lofty cypress
#

evil aboo be like

Bye D:

ruby trellis
#

oh i should remind all of you:

#

yesterday was Vim's birthday.

#

๐Ÿพ

static trout
#

whenever that may be

thick widget
ruby trellis
#

lalalaalalalalal i cannot hear you over the clattering of my home row

#

tap tap tap

ruby trellis
#

i can hear my keyboard though.

thick widget
#

les gooo another joke ruined

ruby trellis
#

๐Ÿชค

#

why the fuck is this an emoji?

#

that is so random

thick widget
#

you never know when you may need it

solid prawn
#

there's worse emojis

ruby trellis
#

write me a 3 page essay on the quality of Discord's emojis and then submit it to the drop box by 4:32 AM yesterday night.

sick olive
#

Yesterday night?

ruby trellis
#

AH YES

#

SQUARE

solid prawn
#

doesnt render for me either lol

sick olive
lofty cypress
#

excuse me thats a rectangle

ruby trellis
#

pregnant man
thonkfast

mortal hull
midnight forge
ruby trellis
#

A pregnant man holding his round stomach. Sometimes used in jest to represent feeling too full after overeating, as in a "food baby."
oh lmao

ruby trellis
mortal hull
#

arstneio

ruby trellis
sick olive
#

Ok...

ruby trellis
#

arstneio

is that some Harry Potter spell?

#

or some obscure Python library i am unaware of?

#

your silence speaks volumes.

chrome zinc
ruby trellis
#

TRUE

magic tendon
ruby trellis
#

^

static trout
solid prawn
static trout
#

yes exactly that

magic tendon
#

This one isn't that bad

#

You can't even recognize wumpus

ruby trellis
#

big wungus

magic tendon
#

Or whatever it is supposed to be

solid prawn
#

@wintry copper you're needed

static trout
solid prawn
#

bring forth the wungi

magic tendon
#

No no, you can't recognize wumpus

#

Because, like, wungus is wumpus

static trout
#

wungus disagrees

pliant canyon
#

wtf

pliant canyon
#

thats a curse and a half

hearty prawn
#

hot

sick olive
#

What exactly is that supposed to be?

static trout
#

god

hearty prawn
#

yes god

hearty prawn
#

i love wungus

#

wungus is love, wungus is life

summer robin
#

Lol someone made an image of a human wungus

hearty prawn
#

big ed

royal jetty
#

no, no and no

ruby trellis
#

A

pliant canyon
hearty prawn
#

uwu ed

ruby trellis
#

yes, yes, and yes.

hearty prawn
#

we stan big ed

royal jetty
sick olive
#

I'm so sorry for so many questions, but who's wumpus?

royal jetty
#

writing ๐Ÿ’ฏ

static trout
static trout
viscid flume
#

wumpus is discord mascot

sick olive
#

I assume chungus was that meme a while ago

hearty prawn
#

girl of my dreams

static trout
pliant canyon
hearty prawn
sick olive
pliant canyon
hearty prawn
sick olive
#

Ok thank you!

pliant canyon
#

ye

hearty prawn
#

oh my tyrading bot is back on

#

thank you heroku lords

royal jetty
#

what?

hearty prawn
#

and we somehow trippled our networth

hearty prawn
sick olive
#

3 x 0 is still 0

royal jetty
#

it does trade real money?

hearty prawn
#

this one

viscid flume
#

you put a stonk bot on heroku?!

pliant canyon
hearty prawn
#

it trades stocks

royal jetty
hearty prawn
#

with defineitly real money, trust me on this one

#

it trades actuall stocks on my paper account

#

we started with 200k

royal jetty
#

so not actual money

hearty prawn
#

now at 426 k

#

no not actuall money

viscid flume
#

ok ok i thought it did use real money would be interesting on heroku

pliant canyon
royal jetty
#

gib invite

pliant canyon
#

๐Ÿ‘

hearty prawn
#

too lazy

pliant canyon
#

brh

hearty prawn
#

i send the invite

#

lemme see what stocks we own

viscid flume
pliant canyon
pliant canyon
hearty prawn
#

right we sold everything

summer robin
#

To wump or not to wump.

viscid flume
#

oh i thought you meant like a comma instead of the decimal point lol

sick olive
#

That sounds so wrong on so many levels haha

hearty prawn
#

only stocks we own

pliant canyon
#

petition to add this emote

hearty prawn
#

istg someONE bought snowneo

lofty cypress
#

Krillin is unbased

#

We only accept yamcha memes here

#

That is krillin right, i cant tell on account of there only being like 4 pixels there

summer robin
#

Kuririn

hearty prawn
#

not me buying 1 dollar of bitcoin and checking it every 4 seconds

royal jetty
hearty prawn
#

aLSO I MADE GOOD MONEY OF ETH yest

pliant canyon
#

undoubtedly

hearty prawn
#

eth for up 2 percent and when i woke up it was like 6

viscid flume
#

seems like scams

#

and thats just now but itโ€™s really just 32 eth so when it undoubtably goes up by then it will cost more

hearty prawn
#

ahaha

wintry copper
solid prawn
#

thank you

wintry copper
#

Welcome

pliant canyon
#

bruh u have stickers for everything

wintry copper
fallen tangle
#

how do i stop font hopping ๐Ÿ˜”

#

i switched from ibm plex mono to fira code to meslo lg to fira code to jetbrains mono to sf mono all in 3 days

onyx ice
#

Easy, I started to use Fira Code and never changed it again

fallen tangle
#

i like fira code, but other fonts entice me too ๐Ÿ˜”

pliant canyon
#

combine them all

#

and make all of them look shit

fallen tangle
#

o wow

pliant canyon
#

so u will search for other fonts

fallen tangle
#

yes

#

im always looking for TheIdealFontโ„ข๏ธ

rigid cliff
lofty cypress
#

comic sans mono is actually very nice

summer robin
static trout
#

#TechnicallyTrue

fallen tangle
#

bruh

summer robin
#

Great font

quasi cape
#

i didnt realize its all ๐Ÿค”

summer robin
#

That's what makes it great.

abstract peak
#

apple themed firefox looks so cool!

thick widget
pliant canyon
lofty cypress
#

Who

serene dagger
thick widget
lofty cypress
#

Know what

#

Is this some weeb shit im too well adjusted to understand

ocean walrus
#

Hi :D

serene dagger
#

bye D:

mystic urchin
ocean walrus
ocean walrus
abstract peak
#

I use fira code even in browsers

ocean walrus
#

Lmao

#

I use hack pro for my browser mono space font

abstract peak
#

lemme see how that looks

mystic urchin
abstract peak
ocean walrus
abstract peak
#

@ocean walrus ๐Ÿคทโ€โ™‚๏ธ

mystic urchin
ocean walrus
abstract peak
#

sad

ocean walrus
#

Oop

mystic urchin
#

I'm too bored with Monokai in sublime, and I cannot decide among other themes...

onyx ice
#

Its about quality over quantity

serene dagger
abstract peak
#

lmao

flat gull
#

anyone here that uses vscode for python... do yall know how to fix this?

onyx ice
abstract peak
ocean walrus
#

One dark superiority

summer robin
abstract peak
#

select interpreter from there

ocean walrus
abstract peak
mystic urchin
ocean walrus
#

Best color scheme

ocean walrus
onyx ice
abstract peak
solid prawn
#

D:

ocean walrus
onyx ice
mystic urchin
upper turret
ocean walrus
#

I'm flattered

#

See hsp

abstract peak
onyx ice
thick widget
serene dagger
thick widget
ocean walrus
serene dagger
#

yes

ocean walrus
#

Ok

mystic urchin
thick widget
#

ye

mystic urchin
ocean walrus
pseudo pivot
#

Guys like if once in ur life u got to choose 2 languages for ur carrier, which 2 languages will you continue learning or will choose in between all of the present rn?

#

I want to become a programmer but I don't know which languages do I need to learn as my primary and as my secondary

ocean walrus
#

Why restrict yourself to two

#

Learn as many as you want

pseudo pivot
#

I mean just for starting

#

Not for the whole life

ocean walrus
#

Focus on one

#

If your just starting

pseudo pivot
#

As I said primary and secondary so ofc I will focus first on primary

ocean walrus
#

Python is a great start

short oyster
#

I wouldn't force yourself to choose a primary and secondary until you have an idea about what kind of programming your personally enjoy

mystic urchin
pseudo pivot
#

Web dev and app dev

ocean walrus
#

Python is also fully oop

lofty cypress
#

JS

modest flint
#

anything web related = JavaScript at this point

ocean walrus
#

Yeah

short oyster
#

What you want to do and what you enjoy to code will likely inform which languages are best suited for you

modest flint
#

It's not my favorite language, but it's more or less indispensible for web

mystic urchin
ocean walrus
#

JS is pretty much necessary in the web

ocean walrus
abstract peak
ocean walrus
#

And once you've learned it, you can always ditch it for typescript

abstract peak
#

JS makes me sad

lofty cypress
#

java isnt more oop just cause it forces you to put everything in a class

mystic urchin
lofty cypress
#

JS is perfect for a first lang

abstract peak
#

โญ TS

ocean walrus
#

How is it stricter

short oyster
pseudo pivot
#

I don't know what 2 languages shall I choose as my primary and secondary language

ocean walrus
#

Js would be a fine first language

lofty cypress
#

JS and literally any other lang

ocean walrus
#

Python is good too

#

It has a slew of tools for web development

lofty cypress
#

JS/python works, JS/C# works, just pick one

sick olive
#

Would HTML count as a language (I think that's the one you use for web development)

ocean walrus
#

And you don't necessarily need to restrict yourself to two

#

Don't keep a second language in mind yet

#

Focus on your first one

lofty cypress
#

HTML and css are included in JS imho

mystic urchin
onyx ice
#

I know python, and hello world in rust and C++

lofty cypress
summer robin
lofty cypress
#

its not weird at all if you understand what type coercion is and how JS does it

ocean walrus
ocean walrus
short oyster
proper anvil
short oyster
#

JS has some issues and "quirks", but that doesn't make it unusable

summer robin
#

It's in the name, markup language

ocean walrus
#

Html + css Turing complete ๐Ÿ‘€

clear root
#

modern JS is really nice

ocean walrus
#

And once you've learned js , you can always learn ts

mystic urchin
lofty cypress
#

the JS "1" + 1 = "11" issue is literally the same as if <iterable>:

short oyster
sick olive
#

I'm sorry I don't really know a lot about programming. I don't even know what HTML stands for, my apologies.

ocean walrus
short oyster
#

My biggest gripe with JS is that it fails silently and that drives me nuts

ocean walrus
pseudo pivot
#

Dont know why but I have a list of 7 Lang's but don't know what to use as my primary

short oyster
#

"did that actually work or is js lying to me"

ocean walrus
clear root
#

"use strict"; makes JS fail a lot louder

ocean walrus
#

Always use strict

mystic urchin
ocean walrus
#

Function is not a function :P

clear root
ocean walrus
onyx ice
#

.wtf python

pseudo pivot
#

And wha best language combinations u guys can think of?

#

Just curious

ocean walrus
#

Hm, for web dev?

onyx ice
#

CSS and HTML

clear root
#

there isn't a reasonably sized set of languages that are universal enough to be called best

ocean walrus
#

Amateurs, who needs css, my web pages are pretty by default

onyx ice
#

Python and JS

clear root
#

I know quite a few languages and still there are a lot of things that I would have to learn more languages to do effectively

short oyster
# onyx ice `.wtf python`

oh yeah, that reminds me. I wanted to open an issue for that. I think it would be neat if you do .wtf with no query, it links you to the repo directly

ocean walrus
#

.wtf python

median swallowBOT
clear root
#

between C++, python, ARM and x86 assembly, prolog, haskell and TypeScript you cover the majority of possible problems you can solve as a programmer

#

but that is a lot of things to know

upper turret
#

Oh what is proloy for

clear root
#

and still there are a lot of things where a different language would be significantly better

lofty cypress
#

prolog is for bigbrains

ocean walrus
#

Lmao

clear root
#

if you run into a problem like the social golfer problem, prolog is often the only reasonably fast way to solve it IRL

#

I know of someone who had to figure out how to send surveys to employees in a sensible way

#

and prolog was the only viable way to do it

#

in reasonable time

upper turret
#

Damn

clear root
#

actually, add Coq into the list, you probably want a proof assistant of sorts

upper turret
#

What about Haskell

proper anvil
#

haskell was in there lol

clear root
#

Haskell can give you type safety in ways few other languages can, and unlike those few other languages, it is actually useful

pseudo pivot
onyx ice
#

Take it with a massive grain of salt

clear root
#

for webdev, you should probably just stick with JS

#

node.js is great

proper anvil
#

i have a math background so i've always wanted to get into working with theorem provers and stuff

pseudo pivot
#

Ok if I don't want to go for web dev then what?

clear root
#

well, then what do you want to do?

mystic urchin
proper anvil
#

python and C maybe depending on what you want to do

mystic urchin
clear root
#

if you want to make GUI apps, JS, C++, C# are great options.
If you want to write scientific stuffs, python, C++, fortran, julia

#

if you want to contribute to the linux kernel, C

mystic urchin
#

Cybersec:-, ruby, js, python, go, c

pseudo pivot
#

@mystic urchin I don't think learning kotlin and Java makes any sense

#

Cause learning any one of them will be fine

mystic urchin
stone gyro
#

it'd be hard to not pick up any java by doing kotlin

mystic urchin
upper turret
#

Kinda funny that no one mentioned rust

clear root
#

there isn't an area where rust can do everything you want from that area

mystic urchin
clear root
#

or well, webdev, but is rust really better than node.js?

upper turret
#

fair

stone gyro
#

i had to write a small amount of JS lately and I think I have a newfound appreciation for just about every other language

mystic urchin
stone gyro
#

imagine having iterators, with map and filter and nice things ๐Ÿ˜”

upper turret
#

Do I start web dev with TS or F#

pseudo pivot
#

I am just a student till now so guys can you suggest me 2 Lang's that I should learn first. I want to become a programmer. I will continue with more Lang's after I complete my first two. (Plz exclude python)

stone gyro
#

C# wouldn't be bad, I guess

upper turret
#

I mean the obvious answer would be TS but I like f# a lot

burnt tinsel
ocean walrus
upper turret
#

๐Ÿ™

burnt tinsel
upper turret
#

Isn't that against discord tos

burnt tinsel
#

I made it in the terminal

#

The input and output

#

Not the actual lol

upper turret
#

Hm idk

burnt tinsel
#

You can check it

mystic urchin
burnt tinsel
#

That's y I added it to GitHub

short oyster
burnt tinsel
#

It isn't that scuffed tbh

flat gull
burnt tinsel
upper turret
#

Nope

upper turret
#

Just the description looked sus

sonic glacier
#

@clear root have you used Lean? I've been considering learning it

burnt tinsel
#

It's definitely not breaking tos

short oyster
clear root
#

no, I am avoiding proof assistants for now

upper turret
#

Okay sorry

short oyster
burnt tinsel
flat gull
mystic urchin
clear root
#

I have heard good things about lean though

burnt tinsel
sonic glacier
#

i've heard it has a warning for implicitly assuming the axiom of choice, which I found incredibly funny

mystic urchin
mystic urchin
pseudo pivot
#

@clear root ok Even more than 2 is ok I just want to know which languages do I need to learn to solve almost every programming problems

burnt tinsel
#

And u can try c++

burnt tinsel
#

400 lmfao

pseudo pivot
#

To be a proper programmer I need to learn many Lang's so it is ok

clear root
#

no programmer can do all of programming

ocean walrus
#

you don't need to know many to be a proper programmer

clear root
#

people just know the section they find interesting

#

sometimes the section is wide

#

r

ocean walrus
#

You said you like web dev, right?

pseudo pivot
#

I am just asking for some of the main Lang's to solve most of the probs

burnt tinsel
#

Imagine brainfuck

ocean walrus
#

Learn JS

clear root
#

yeah, JS is probably your best bet

ocean walrus
#

you want to do web dev, right?

burnt tinsel
clear root
#

even for backend JS is excellent

ocean walrus
burnt tinsel
#

Node.js?

clear root
#

ye

ocean walrus
#

Sure, JS is good for backend

burnt tinsel
#

Ahh...

sonic glacier
pseudo pivot
ocean walrus
#

Is JS not a main language

summer robin
#

JS is also Great for comedy.

pseudo pivot
#

To solve most of the programming problems

ocean walrus
#

theres not language that can solve all programming problems well

pseudo pivot
#

Not all cause that's not possible

burnt tinsel
#

react.js is my best bet for front end

ocean walrus
#

Svelte supremacy

clear root
#

to amend my list: C++, python, ARM and x86 assembly, prolog, haskell, Coq, HLSL, VHDL and TypeScript will handle quite a bit, but not everything.

ocean walrus
#

JS + Python would work

burnt tinsel
clear root
#

which you stand no chance of learning in a lifetime

ocean walrus
#

whats wrong with those two

clear root
#

learn python+JS, see what you like and specialise

ocean walrus
#

amateurs, imagine not knowing every language in existence

summer robin
#

PythonScript when.

ocean walrus
#

theres brython :P

#

python can compile to wasm, yes? So a WASM framework for python would be nice to see

ocean walrus
#

lmao

burnt tinsel
jade wedge
#

Yes finally my microbit is here. I can code with python on it but the board does not have pip so let me load all lib by myself lol

ocean walrus
#

malbolge is higher level than binary :p

summer robin
#

Dutch

burnt tinsel
sonic glacier
#

i'd rather code in binary though

ocean walrus
#

amateurs, I program in russian

#

who needs english

onyx ice
# burnt tinsel Malbolge.

Malbolge is a public domain esoteric programming language invented by Ben Olmstead in 1998, named after the eighth circle of hell in Dante's Inferno

ocean walrus
#

oop gtg

burnt tinsel
#

Cya

mystic urchin
sonic glacier
onyx ice
#

I'll stay away from it

burnt tinsel
#

I will try to learn it ๐Ÿ˜…

#

That is if there are any tuts for it lol

pseudo pivot
#

I am trying to find some Lang's that can help me solve almost 50%-70% programming problems but don't know that what to choose. I don't know why but yes I want to become a programmer and need some help from u guys cause as much as I have seen most of u guys have a job and have experience that could be a bit helpful for a student like me ๐Ÿ™

burnt tinsel
#

Python + JS

rigid cliff
#

hardest part is learning the fundamental concepts

pseudo pivot
#

I see

modest flint
sonic glacier
flat gull
burnt tinsel
onyx ice
summer robin
#

Triangle in top right corner

burnt tinsel
onyx ice
#

With some transparency

burnt tinsel
#

I used it alot back then

#

Vibrancy extension looks cool

mystic urchin
onyx ice
#

Bigger photo

burnt tinsel
#

that's so pog

#

How did u add that background

onyx ice
#

Its my desktop

mystic urchin
burnt tinsel
#

Vibrancy?

onyx ice
#

just transparency (GlassIt Extension)

burnt tinsel
#

That's Andromeda?

burnt tinsel
onyx ice
burnt tinsel
#

Imma install it

onyx ice
flat gull
burnt tinsel
#

Ty @onyx ice

proven sand
#

two random questions about these very channels

pseudo pivot
#

@mystic urchin can you suggest me some statically typed languages

proven sand
#
  • are the names randomly generated?
  • how often do they change?
thick widget
#

ayo why is my program slowing down after a minute or two?

mystic urchin
onyx ice
#

The ot names are added by mods to a big list (1500 ish I think) and they rotate at 0 UTC every day

proven sand
#

wrong message :p

mystic urchin
thick widget
burnt tinsel
#

Lmao

thick widget
#

glory to the ccp!

proven sand
mystic urchin
thick widget
pseudo pivot
#

@mystic urchin ?

summer robin
mystic urchin
onyx ice
#

!otn s brad

proven sand
thick widget
#

btw when did this ot-name thing start?

burnt tinsel
short oyster
#

The off topic name thing has been a thing for awhiiiile

#

( #ot2-egg-is-gluten-free is us all having to turn zig up to 200% during staff meetings because his mic is very soft)

thick widget
#

lol

burnt tinsel
#

Ahh... I see

#

Lmao

summer robin
#

When he gets a proper mic we'll all be getting hearing damage.

thick widget
#

anyways ill brb and always remember, glory to the ccp!

burnt tinsel
#

Lol

mystic urchin
wintry copper
#

We added OT names in Apr 2019 ๐Ÿ˜„

#

So almost 3 years ago

onyx ice
#

Whats the list length now?

summer robin
#

Glory to the cpp!

wintry copper
thick widget
short oyster
#

oh damn, the names remaining are getting short

mystic urchin
thick widget
sick olive
#

Learning about regular expressions , why would epsilon be included here ? I thought it has start with a or b

mystic urchin
onyx ice
#

1,400 over three years is about 1.2 names added per day

summer robin
thick widget
sonic glacier
wintry copper
#

lol, GitHub said 3 years ago, and I was like what

sick olive
mystic urchin
#

@summer robin btw, your about me is very motivational..

sick olive
#

Null set symbolโ€ฆ I think

sick olive
ocean walrus
#

!otn s

#

do non staff have perms to search otns?

wintry copper
#

nope, helpers don't either

#

it spoils the fun

short oyster
onyx ice
ocean walrus
#

ah ok

ocean walrus
sick olive
mystic urchin
#

!otn r

short oyster
ocean walrus
#

hah

onyx ice
#

!otn s brad

mystic urchin
onyx ice
#

I think I have 1 ot name

sick olive
ocean walrus
#

I also have one otn

sick olive
sick olive
#

so if there is a plus then it has to start with that character or chracters ?

summer robin
sick olive
#

Hmm, in what sense? If you want a string to start (and end) a specific way, you can use anchors instead; plus signs and asterisks are less about that and more about repetition of characters/groups

thick widget
wintry copper
thick widget
#

man the platform code i wrote is so trash

sick olive
summer robin
#

This is just so creepy, the flavor text, the art

thick widget
#

whats better: != True or == False?

summer robin
#

is False

thick widget
#

ok lol

summer robin
#

not var

thick widget
#

hm

#

so none of the ones i mentioned?

plain osprey
#

depends on the context

ocean walrus
plain osprey
#

go for the one that is more understandable/readable based on what you're coding

onyx ice
#

if this_var is False:

thick widget
#

that actually sounds like english

onyx ice
#

Pretty readable then

plain osprey
#

it's satisfying when that happens

thick widget
#

im gonna use is False from now

plain osprey
ocean walrus
plain osprey
#

hmmm

ocean walrus
#

is compares the identity of two objects, == compares equality

plain osprey
#

identity in what sense?

ocean walrus
#

id(object)

#

!e ```py
x = "foo"
print(id(x))

obtuse swallowBOT
#

@ocean walrus :white_check_mark: Your eval job has completed with return code 0.

139697729627632
plain osprey
#

so like what sort of object the thing is?

summer robin
#

is will check if it's actually False, not just a falsy object

thick widget
#

cant believe i had 6 lines for something to do trash when i could use 1 line for it to do a wayyyyy better job

modest flint
#

There is only one instance ever of False, True, None in a Python program, so it's fastest to compare identity for those things

#

and also more accurate in many respects

#

you can have something that evaluates to True without being True itself, and that can create subtle bugs if you ignore that behavior

ocean walrus
#

an example would be non empty strings

#

any non empty string evaluates to True, since its truthy, but it isn't actually true

modest flint
#

if mystring: evals to False if mystring = ''

sonic glacier
ocean walrus
modest flint
plain osprey
#

not yet quite grasping it; prolly will read up on it at one point but i'll keep in mind to use is over == in boolean cases

thick widget
#

yeaaaa

summer robin
#

When you use is, only the actual boolean will pass the if, when you use == a lot of other things can also pass.

thick widget
#

i love when kids use logic to pronounce words based on their spelling but get destroyed by english's rules

summer robin
#

As if that's based on rules.

ocean walrus
summer robin
#

not x follows the same logic as the ==/!= with the conversions

thick widget
#

so its easier to read

#

how could i

#

im a disappointment to meself

pseudo pivot
#

Guys any reason why ruby is like dieing rn?

summer robin
#

Because the remake is releasing soon

pseudo pivot
#

Wdym?

ocean walrus
pseudo pivot
#

Ruby remake?

#

Sounds like bruh

summer robin
#

Oh, Omega Ruby released in 2014

thick widget
pseudo pivot
#

Pokemon?

summer robin
#

Yes

ocean walrus
#

lmao

plain osprey
#

i thought you peeps were referring to the language ruby lol

pseudo pivot
#

I mean by ruby language