#⌨coders-cave

1 messages · Page 91 of 1

hasty bane
#

idk you'd have to google them

#

they're all in russian

#

except for idk

#

maybe corps that are international

#

and have offices in places like usa or w/e

hoary hound
#

damn russians with their russian names

hasty bane
#

okay sveltekit is

#

insanely cool

#

i already love it

barren shale
#

Yeah but you can’t host stuff for free

#

If you are using svelte kit

#

If u use svelte you can build your app and just upload it for free to firebase

hasty bane
#

hmm

hoary hound
#

looking at other offers I think they just misstyped and meant 22k-25k per year

hasty bane
#

I guess i could just

#

know

#

both

#

kinda

#

sort of

barren shale
#

Junior jobs should be around 70-80k

hoary hound
barren shale
hoary hound
#

italy

barren shale
#

Well it depends on the cost of living

#

I can barely find anything above 300$ a month here

#

Which is not too bad for Syria

hasty bane
#

22,000*79; 1738000 / 12 = 145k rubles per month

#

Since the beginning of autumn 2014, the official salary of a deputy in Russia has been 420 thousand rubles.

hoary hound
#

well yes we have lower cost of living here too

hasty bane
#

literally parliament representative

hoary hound
#

just found this

#

"Rent in Italy is, on average, 51.40% lower than in United States."

hasty bane
#

earns as much as

#

like 3 junior devs

#

in italy

#

but eh

#

they embezzle cash like crazy so

main brook
#

im 177cm

#

hi dad

wet girder
#

or well atleast I think so

main brook
#

hooly nuts

hasty bane
#

pedropog im 175cm

main brook
#

i live my last 3 years with back pains

#

because puberty gave me height

barren shale
#

These Asians and their heights angry

hasty bane
#

I live my last 3 years with back pains because i broke it xzibit

next lotus
#

i feel blessed being short now :)

main brook
#

you should be

orchid frigate
#

As someone whose 185 cm

#

I feel short

wet girder
#

I have 3 choices on what to do as my programming side project. Learn some way to make websites efficienctly and shart freelancing to make money and get experience or learn Unity and make a cool game so I'll be good at it in school or by far my favorite learn opengl with c++ and lose my sanity

#

too hard to choose

orchid frigate
#

its extremely difficult to the point every mistake could lead to a avalanche of errors that seem unfixable

next oracle
#

Does anyone know what language this game is written in?

orchid frigate
#

c#

#

faster

next oracle
# orchid frigate c#

Cheers, I’ll probably make some dumb mod then when I’m bored out of my mind

hollow bronze
#

😭

#

another day another braincell

knotty root
#

How to code: /die launches nukes that's all you need to know

knotty root
next lotus
#

remember when unity used js

#

dark times

main brook
#

remember when action script was a thing

#

and it was used in adobe flash

#

to make shit tons of cool games

versed sparrow
#

i shudder recalling trying to learn AS3

#

and the AS2 v AS3 debacle

slim vapor
#

@stone fractal

#

@astral basin

hasty bane
#

the most laggy thing known to man

knotty root
main brook
#

i just crashed

#

thankfully not my hand got hurt

#

i can still code

hollow bronze
hasty bane
#

wbshy oh i know

barren shale
#

They don’t like it

#

They might ban you for it

hasty bane
#

its a random child

fallow yew
#

Im starting to learn JS… its weird af

orchid frigate
#

Js seems awful from what I have experienced

#

But my experience with it isnt more than 5 minutes so

hasty bane
#

web is definitely not my cup of tea

#

it's just weird as hell

barren shale
#

you guys are so not used to event based programming

#

you just like your programs to go one way

hasty bane
#

I'm going to use a lot of events in my bot if that counts wbshy

#

also based assumption

#

i just dont like the languages

#

not js, not ts

main brook
#

first time opening blocked message in a month

#

but i think he meant like

#

asynchronous programming

#

like

#

its not a sequential execution

#

but it does things in events

#

its usually running on a loop

#

one example javascript

#

its natively event based

barren shale
#

event based and asynchronous are not the same thing

errant trail
errant trail
wet girder
#

Not all high level languages have just wacky datatypes and variable declaration as JS

barren shale
#

python 👀

wet girder
#

JS Imo is decent but I don't use it for anything else than web dev

#

or well amp will be js at some point

barren shale
#

dont

#

use ts

#

ts fixes js

wet girder
#

too late

errant trail
#

what if ts + node

wet girder
#

js ain't bad though

errant trail
#

node.ts

barren shale
#

js isnt scalable

#

it becomes very confusing

#

very quickly

wet girder
#

and it has the most up to date discord library

barren shale
#

ts fixes that

#

bruh

#

u can use js libraries in ts

errant trail
wet girder
#

ah

errant trail
#

easy

barren shale
#

ts gets compiled into javascript anyways

errant trail
hasty bane
#

i use async all the time, thats not what he meant

hasty bane
#

the way node, express, sveltekit projects are structured is

#

not really
i do like stuff being clean tho

errant trail
#

show me the code you said isnt clean

hasty bane
#

not coee

#

not code

#

folders etc

#

maybe its just me structuring my projects wrong and i need to git gud

errant trail
#

show me the structure you made i want to see it

hasty bane
#

wbshy the default ones you get thru setting up a new project

#

and the skeletons too kind of

#

just everything that doesn't run in a single file is bad

errant trail
#

index.js
index.html

doesnt look bad

hasty bane
#

2 files > 1 file
therefore bad troll

errant trail
#

also you can put the code in index.js in index.html

#

by just putting the script in the script tags instead of using attributes

errant trail
hasty bane
#

yea ik
im messing around

still though js is weird for me personally

#

1 + '1' = '11' wbshy

errant trail
hasty bane
#

kek

wet girder
hasty bane
#

i can imagine the potential for fuckups

errant trail
hasty bane
#

where you need to add 2 int variables and one is suddenly a string but you used + so it just concats

errant trail
#

and the reason i gave not a real reason

hasty bane
#

eeeh

wet girder
#

JS is like the most weakly written language there is

#

and I am way too used to strongly written languages JS just confuses me lmao

hasty bane
#

why it would concat by default

wet girder
#

okay well I use python quite a bit but atleast I get proper errors in python

hasty bane
#

yea

#

you can like

#

check if exception

errant trail
hasty bane
#

do thing

#

i wonder if we'll ever have like multiple languages

errant trail
hasty bane
#

supported by browsers

hasty bane
errant trail
wet girder
#

Let's make our own browser that supports fuckin LOLCODE

hasty bane
#

Thonk you're right, wasm

errant trail
#

LOLCODE supremacy

wet girder
#

indeed

hasty bane
#

malbolge

main brook
#

me after deleting tons of craps

errant trail
#

i have 64 GB

hasty bane
#

i kind of wonder what the most used language would look like if browsers supported everything

hasty bane
#

magic backwards compatibility orw hatever

main brook
#

probably web assembly

wet girder
main brook
#

since its already a thing

hasty bane
#

maybe

main brook
#

android reserved

hasty bane
#

but maybe someone would just

#

makea new language

main brook
#

70% of your storage

#

ish

#

or lile atleast half

main brook
#

smh

#

but yes

hasty bane
#

always need more!!

main brook
#

yes

#

i love new languages

#

if it fits the goal

hasty bane
#

someone should make

#

a REALLY good language

#

and just call it something stupid

#

like trollang

main brook
#

i like

#

htmlscript

hasty bane
#

errlang

#

oh

#

oh no

main brook
#
<function name>
    <params name type=type default_value=value>
    <output>{name}</output>
</function>

<name rei>
orchid frigate
civic lake
#

The crabzilla’s animations for walking around were really well done

#

I wonder how long it took to code that

barren shale
knotty root
#

this is a peaceful chat

hasty bane
#

oh shit

#

bet you don't have your IO address

barren shale
#

i mean i can just post my ip address and then restart my router

hasty bane
#

well yeah

#

dynamic ip is neat

#

:D

barren shale
#

and what you gonna do then

hasty bane
#

wbshy get it again

barren shale
#

you just have a wide area of where i could be living

#

you couldve just asked me

hasty bane
#

noooo that's not how ip works!

#

if i have your ip address i literally know where you are right now

barren shale
#

not in syria

hasty bane
#

and also:
your heartbeat
your... height idk

#

the numbers on the back of the card

barren shale
#

we dont region our ip address very accurately

barren shale
hasty bane
#

based

#

unironically

hasty bane
#

idek how this works even

barren shale
#

my isp sometimes puts me in russia

#

or iran

hasty bane
#

lmfao

#

nice

barren shale
#

free vpn

hasty bane
#

fr

wet girder
#

my old isp put me in the capital of Finland however far that is from where I live which I won't tell but my current isp puts me either to the closest town or the closest city

#

idk how it decides where I am

hasty bane
#

WAR

orchid frigate
#

@hasty bane i have your ip im gonna steal your fridge now >:)

hasty bane
#

you can find

#

most stuff

#

on places like stackoverflow

#

or docs

#

if its a question aout how x works

orchid frigate
#

If you don't give me 2 dabloons im gonna steal the fridge

#

No

#

Egg man

hasty bane
#

i will rig the fridge with 200 kilograms of c4

orchid frigate
#

Free c4!

hasty bane
#

wired to a detonator

orchid frigate
#

Im gonna raid qn entire rust server with that much

hasty bane
#

An anti-handling device is an attachment to or an integral part of a landmine or other munition such as some fuze types found in general-purpose air-dropped bombs, cluster bombs and sea mines. It is designed to prevent tampering or disabling, or to target bomb disposal personnel. When the protected device is disturbed, it detonates, killing or i...

orchid frigate
#

Yea you gonna blow me up

#

But you wont have a fridge

hasty bane
#

thats fine

#

:D

orchid frigate
#

Its not

hasty bane
#

fridges are cheap

orchid frigate
#

Where you gonna store all the eggs

hasty bane
#

i will eat them

#

instantly

orchid frigate
#

No

hasty bane
#

yea

orchid frigate
#

No

hasty bane
#

EGG

orchid frigate
#

When

hasty bane
#

never.

#

i go

orchid frigate
#

Ok jm coming to steal your fridge

hasty bane
next lotus
#

c++++

hasty bane
#

c-

orchid frigate
#

Ci@

#

Hey thats actually not a bad name of w language

main brook
#

I HAVE

#

a fucken awesome idea

#

omay gad

barren shale
orchid frigate
hasty bane
#

don't

#

hamza is rite

icy mantle
#

Awoooo

hoary hound
#

I'm just curious

barren shale
#

as there's no thoughts

#

as there's no brain

icy mantle
#

I thought it was the world box chat

#

Plus awoooooo is fun to say and I want people to know that am fluffy furry

icy mantle
gritty surge
#

#stoptacobellabuse join the revolution

#

#stoptacobellabuse

#

spam this in discord servers

main brook
midnight echo
#

whos a cool coder

wicked linden
#

what dose this channel do

hasty bane
#

depressing

main brook
#

its place where people suggest stuff

#

for worldbox

#

and ask how to mod

#

and then there's people who came saying random things

#

and the actual coders

#

and then hamzah

#

who keeps talking about C# superiority

#

and your mom jokes

hasty bane
#

hamzer

barren shale
#

even tho its right here

orchid frigate
errant trail
#

message

#

sent

#

wow guys new message in the channel

#
while (true) { console.log("Hacking roblox"); }
``` run this for free robux (in browser console)
hasty bane
#

hamzer

#

hanzoid

#

hamzoid

hasty bane
#

i know, i know

orchid frigate
next lotus
#

name it coding channel

#

then a separate channel for other languages

#

name it "minorities"

#

troll jk

humble wasp
wet girder
#

bre

#

🍞

orchid frigate
turbid junco
#

yes

main brook
#
import fastapi
import aiohttp
import google_auth_oauthlib.flow as gflow
from fastapi.responses import RedirectResponse
from starlette.middleware.sessions import SessionMiddleware
from oauthlib.common import urldecode

app = fastapi.FastAPI()
app.add_middleware(SessionMiddleware, secret_key=b"hi")

states = {}
@app.get("/login")
async def login(request: fastapi.Request):
    flow = gflow.Flow.from_client_secrets_file("file.json", scopes=["https://www.googleapis.com/auth/userinfo.email"])
    flow.redirect_uri = request.url_for("login_callback")
    url, state = flow.authorization_url(access_type="offline", include_granted_scopes="true", prompt="select_account")
    states[state] = flow
    return RedirectResponse(url)

@app.get("/login/callback")
async def login_callback(request: fastapi.Request, state: str, code: str):
    flow = states.pop(state)
    params = flow.oauth2session._client.prepare_request_body(
            code=code,
            body="",
            redirect_uri=flow.redirect_uri,
            client_secret=flow.client_config["client_secret"]
    )
    async with aiohttp.ClientSession() as sess:
        async with sess.post(flow.client_config["token_uri"], data=dict(urldecode(params))) as resp:
            access_token = (await resp.json())["access_token"]
            async with sess.post("https://www.googleapis.com/oauth2/v3/tokeninfo", headers={"Authorization": f"Bearer {access_token}"}) as resp1:
                    request.session["email"] = (await resp1.json())["email"]
    return RedirectResponse("/", 301)

@app.get("/")
async def index(request: fastapi.Request):
    return dict(request.session)
#

i made a "login with google"

#

but async

hasty bane
#

neat

lilac lava
#

how do i start making mods

#

who

hoary hound
#

yes?

#

ok first off you need to store the response texts somewhere, you could store them in a file and read them while the program is running, but if you want to avoid that and make it easier you could store them inside an array.

Then you need a random object to get random numbers (I don't remember what C# uses, but you can just google "c# random numbers").

Using that you get a random number, and you use that as an random index for your array of response texts.

wet girder
#

Just a tip for the future. You'll need to learn to think creatively how to do these because that's the single biggest skill you need in programming. I know how hard it is at the beginning but for a start you should first just sit down take a cup of coffee and think how could this be achieved. After you have enough knowledge of what your programming language can do it becomes easier and easier but there is no shame on asking help either, it helps learn it but it is important to keep in mind to first think yourself

hoary hound
#
// Instantiate random number generator using system-supplied value as seed.
var rand = new Random();
// Print random integer between 0 and 100
Console.WriteLine(rand.Next(0, 101))
hoary hound
#

it takes time, but the more practice, the more you will develop problem solving skills, which are invaluable for programmers

next lotus
# lilac lava how do i start making mods

path 1: works in all games
learn C++
learn assembly
learn the basics of reverse engineering
learn how to rewrite a process' instruction via assembly
congrats you know how to mod
path 2: for unity games
learn c#
download bepinex
write random shit until something happens

knotty root
#

How

#

Yall

#

Codes

main brook
#

we write text

#

on a file

#

and let a program run it for us

hoary hound
#

write characters on screen until it works

next lotus
# knotty root Codes

we open microsoft paint and carefully place pixels to ressemble assembly byte code when saved as png

knotty root
#

I dont have pc

#

Lol

fossil pawn
#

Y’all

#

Any idea how to make a dithering effect for a 2d color array

orchid frigate
#

I like assembly

#

Its so simple and so little things to learn

#

Its syntax is the exact same throughout the entire code

hoary hound
wispy slate
#

i know how to code! /kill [type=@e?/all] see? easy

tidal frost
#

i have the best code

half warrenBOT
#

⚠ Warned 935996403673624627

tropic dagger
# knotty root Codes

Open text editor, spam random keys (e.x. int main(int argc, char** argv) { std::cout << "Error because why not"; } ), then we go to command line and type the name of our compiler, arguments, and the file we just made, scream internally (and externally) when we get 82 errors and 428294 warnings, fix them by adding in one line, repeat, wait for it to crash, fix the other line of code, and then enjoy the four minutes of peace that follows.

#

Oh I forgot about the part where you forgot to link your program correctly.

#

Or you use easier languages.

#

But easy languages are boring and the hard ones have a lot of upsides that make them worth it.

median frigate
#

my brain is melting from all this

errant trail
#

what if someone makes a language that is easy to compile to lower level language so peoples can code in high level (fast) and then continue to code in low level (more control more performance)

#

2 in 1

viral jetty
#

That's Python

barren shale
hasty bane
#

not if he's already learned an easy language wbshy

main brook
barren shale
orchid frigate
#

this guy right here

#

he gets shit

#

he knows whats up

errant trail
orchid frigate
#

I have been thinking about a language thats both low and high level

#

thats basically high level assembly

#

so this might fit the criteria

errant trail
barren shale
orchid frigate
#

Blocking Hamza was the best decision I have made

#

Im sure what he said was stupid and im sure noone asked about it either

wet girder
#

no, he said something smart

orchid frigate
#

Seeing his message, I can see he hasnt worked in a low level language before lol

#

You don't dont just lose motivating just because of the language or what you do

#

And the job, software engineering is one of the best paid jobs out there

#

Especially with c/c++ skills

orchid frigate
#

looks really nice

#

seems like a cool text game

#

interesting

#

but I have a small question

#

does the info get printed out each time you attack an enemy

#

that seems rather counterintuitive

#

maybe just keep the command and tell the user that if they want to look at stats they could

next lotus
#

imagine writing parts of your code to C

#

its popular with the skids ;)

#

python machine learning libraries are written in C++ lol

#

dont even try

orchid frigate
#

Another genius enters the chat

#

understanding that not everything in programming is just high level shit

#

and pre written libraries

main brook
#

dont worry

#

he's like

#

hamza cousin

#

theoretically

hasty bane
#

if i want speed i'll just make a module wbshy

next lotus
hasty bane
#

few hours

next lotus
#

like c'mon man it's not an excuse you dont know how to write C

next lotus
hasty bane
#

depends on what you're making

#

i for example dont care much about memory or cpu because what im doing is pretty simple

orchid frigate
#

Python is good for making small simple scripts that are like addons

hasty bane
#

and if i do have to make something fast that eats little memory i will simply write a module wbshy

#

but i dont think there's gonna be anything like that in my project

#

which is why i went with python

orchid frigate
#

C is good for making huge programs that require alot of low level access (especially pointers god I love pointers) that python cant give

#

I rest my case

hasty bane
#

bot

orchid frigate
#

Rust is amazing

#

It is amazing for both really low high level and high level

barren shale
#

all bad

#

c# good

hasty bane
wet girder
#

data science and machine learning and scripting are the biggest use cases for python

#

you can use it for almost anything but it's not really good at anything else other than what I mentioned

barren shale
#

yeah

#

python might be good for something like a project that will help you

#

if you want to do it quickly

main brook
#

im mentally dead

#

for some reason

#

i lost all ideas

#

after google, linux, and postgresql

#

decided to fuck me up

barren shale
#

i have an idea

#

git gud

main brook
#

google be like "hey rei i know its you, but i won't let you access this place because i do not trust you but i trust you if you're on your phone"

#

linux be like "hey basically so this feature only available for root, and you can't add it unless you do some hacky tacky"

barren shale
main brook
#

postgresql be like "fuck you, i won't let you authenticate even though your credentials are correct and i have no password so you don't put a password too but your password is invalid!"

barren shale
#

sounds like you need to git gud

hasty bane
#

I might replace chunks of its code with Rust modules over time

#

But rn i just need to actually make it

barren shale
#

make what

#

ur mum ?

hoary hound
hasty bane
#

Probably might be unironically too much for python to handle

#

I'll run some time tests later when i have more features added to see if i need to redo anything

barren shale
#

bots for games

#

sounds like its perfect for python

hasty bane
#

it's more like

#

a browser game but not browser

orchid frigate
#

How

hasty bane
#

its not hard

#

You get db

#

You get PIL

hasty bane
#

Then you just

#

Make stuff

#

Using PIL lets you do a lot of shit

gaunt furnace
#

online mod when

knotty root
#

Never

orchid frigate
#

Without the browser

spring ridge
#

I haven't attempted to mod the game yet, so I'm new and confused, but how would I go about viewing the code I need to access in order to make a mod?

main brook
#

aha

orchid frigate
#

Really excited rn

#

I finally managed to build a real working image of...not really an os as it doesn't do anything but

#

A low level program I guess

#

Which you can burn to a usb and boot I think

#

Im like 99% positive it works

knotty root
#

hey guys

#

how many gigabytes of ram should it take to hack the mainframe?

knotty root
#

what is that like a computer thingy

#

anyway

#

is my thing in my laptop okay?

#

its a chunky thing

#

It says hyundai heavy industries on it

covert cipher
#

😳

#

😳 😳

humble wasp
#

hello

hasty bane
#

its similar to a browser game

#

and i mean a browser game not flash

signal mantle
orchid frigate
#

I mean NASA sent people to space with 4kb of ram

#

So 4kb should work to back the mainframe

#

I decided that

#

Gamers are too spoiled

#

So ima play games with 4kb from now on

errant trail
#

they only said "memes about programmers being hackers" so we can technically discuss how to hack worldbox to spread a malware that spreads really quickly outside of just worldbox players which will make us the most powerful peoples on earth and make the developer of this game be our human puppet (not real) (unless...?)

hollow bronze
#

not worldbox related

errant trail
#

yeah but we can make it for 1 single message

#

and now all these message are worldbox related because you pointed it out

#

technically your fault troll

hollow bronze
#

Your logic has as many holes as swiss cheese

errant trail
#

it is as much holes as holess cheese

orchid frigate
#

this conversation broke apart my 1 braincell

next lotus
#

so like instead of line of codes its like

#

machine and people

orchid frigate
#

shhhh

#

People dont think about these things they just like seeing cool stuff 🤫

#

also

#

every since I started using grub as a bootloader I have been making more progress than ever before

#

I implemented printing in like

#

an hour

wet girder
#

I need to list 10 problems for modern sofware for school

#

I have no idea what to write

main brook
#

so i just

#

did something

#

wacky tacky

#

*INHALE*

#

@orchid frigate

#

i have a good idea

#

FOR YOUR

#

EXTRA STORAGE FOR

#

oh wait actually nevermind

#

i forgor is for your root

#

not /home

#

but anyway

#

i found a way to mount image files

#

so i can make it like as a file

#

that i can transfer to someone else

#

with permission all okay

#

i guess a medium is better

#

but i can use it for my vm

#

i have this file in /root/disk.img

#

which has 1 partition

#

dos table with partition 1 as linux filesystem

#

after that i just

#

losetup --show -f -P /root/disk.img

#

and i find the file outputted from that command

#

in this case i have /dev/loop0

#

i also did

#

mkfs.ext4 /dev/loop0p1 after that

#

and then what i do is just

#

mount /dev/loop0p1 /mnt/vdisk

#

i made sure /mnt/vdisk exist

rocky kernelBOT
#

You need to create a character first. Use _start

main brook
#

after that

#

i have the directory

#

wait

#

how the heck is it

#

gpt table

orchid frigate
#

5 weeks ago

main brook
#

nice

#

that's the day where

orchid frigate
#

I just installed kali

main brook
#

i stayed up

#

until like 6am

#

and then sleep until 3pm

main brook
knotty root
#

Just found a 3d python library

#

Called urisina

earnest kiln
#

Cool

#

I should have asked my question here

#

Yeah I had a question for developers

#

Ok so at least human kingdoms have specific orders that repeat

#

First blue

#

Then purple

#

Etc

#

However randomly in these lists

#

They have either mixed colors(pink inside but green borders) or are an obscure color

#

I know in python you would use two lists and one would be printed and the other would pick a random value from it and randomly through a cycle be placed in it

#

But you guys use C# so how would you guys do it

#

Do you also have lists or no?

#

And if not how do you deal with it

#

Just curious

#

In C

#

Yeah that is what I meant

#

Ok

#

So same thing

#

Just pick a random value from list number 2 and place it randomly in a cycle of the first list

#

Is that correct

#

Ok then

#

That’s cool

#

If you find out more info about it can you just @ me

#

Hmm very yesssss

earnest kiln
#

Hello

#

Btw for C# what engine does WorldBox run on? That executes the code

#

I just want to know as I am making my own C# game

#

And also what are some issues if any so I can account for that

#

Running issues execution issues etc

#

Ok

#

Really

#

That is interesting

#

Unity

#

Hmm

#

That is interesting I though it was just Java and Python and regular C

#

Ok

next lotus
#

so like you want to shuffle a list?

hollow bronze
#

Bout a milion different ways to shuffle a group of things

next lotus
#

this is just one line in linq

hollow bronze
next lotus
#

            Random random = new();
            // your list.
            List<string> list = new (){ "one", "two"};
            list = list.OrderBy(x => random.Next()).ToList();```
#

as simple as this

hollow bronze
#

Linq looks more confusing than it is

next lotus
#

what

#

no its not

hollow bronze
#

?

next lotus
#

dont see anything confusing

hollow bronze
#

My first look at linq was that it looked complicated when it wasn't is what I'm saying

#

In my opinion

#

Of course having done lots of linq it's straightforward and compact to me now

next lotus
#

yea

hollow bronze
#

Especially to someone who has done nothing c# prior

next lotus
#

it was confusing at first but you'll get it pretty fast

hollow bronze
#

Yeah

main brook
orchid frigate
#

Lists? Fuck lists all my homies use arrays and store strings in char pointers

hasty bane
#

lists are epic!!!

main brook
#

there's this thing called

#

hashmap

heavy crane
#

//if play worldbox: dont;

errant trail
#

wow a comment

next lotus
errant trail
orchid frigate
knotty root
#

Lol

hidden grove
#
[hello]
#

idk what's that

barren shale
next lotus
#

ah yes slow by 5 nanoseconds

#

noone questions

#

linq xD

barren shale
#

its not about that 5 nanoseconds

#

its about the memory allocation in the heap

next lotus
#

i dont think he will be using value types, and this is just a one line code yeah it does look slow

earnest kiln
limpid bone
#

put mods on android

hasty bane
#

put eyes on channel topic

spring ember
#

gib New Zealand pls

main brook
#

which stores one type

barren shale
#

type }

#

ez fix

hollow bronze
#

obviously

next lotus
#

my favorite stack trace:
[External Code]

barren shale
#

any async functions or multi threading will cause this

#

you still get the line of code which is causing the error

knotty root
#

Hi

hasty bane
#

i like how this channel is like

#

max 10 people

#

actually talking abt code

orchid frigate
#

Damn you are really generous

#

I would say like

#

4-5

#

On a good day

indigo berry
#

{code}

#

make that 6

#

😎

orchid frigate
#

On pretty much every language

#

Or maybe json allows that idk

limber wasp
wet girder
#

Ooh nice, what did you create?

wet girder
#

Did you make it so the button actives it and you have to press again to deactivate?

wet girder
orchid frigate
#

You can use triple `cpp to have syntax in discord

wet girder
#

how's everything wired?

orchid frigate
#

Good enough

wet girder
#

what was your old program?

orchid frigate
#

Does cpp have an "and" operator

#

Isnt it &&

wet girder
#

btw you don't need the delay

#

performance won't be an issue anyway

#

hmm

#

been awhile since I've written code to an Arduino but I really can't notice anything wrong

#

is there any compile errors?

orchid frigate
#

Idk how relevent this is to the convo but

#

I did some IO and

#

Goddamn it sucks

#

No

#

No!

#

I meant like

#

Doing IO

#

Idk about the code I dont know arduino

#

Functions remind me to IO

#

What I meant was that

#

IO looks really hard

#

Alright

#

Cya

tardy tartan
knotty root
#

I'm trying to get into coding, any tips or something to get started?

orchid frigate
#

coding what

#

a game, a robot, an AI

#

pretty important because different things require different knowledge

hasty bane
main brook
#

you can start by looking at fundemental

barren shale
#

Now I can ban haydot

next lotus
#

you should

#

start with the hardest

#

python wont get you anywhere, learn C and you'll pretty much know java, c#, c++

errant trail
#

python will help to learn C because it teaches you the fundamentals before throwing lots of syntax at you

next lotus
#

what

errant trail
#

what

#

wrong things (fixed)

hasty bane
#

python is ez. thats why it's good for starters.

errant trail
#

yeah

#

if they start with C they would just focus on remembering the syntax they learned more than new things

hasty bane
#

probably

next lotus
errant trail
#

and they only need to start with small scripts

next lotus
#

learn C and you'll get about everything you need to know about programming

errant trail
next lotus
#

by C i mean the C family

#

learn C# and you already know how to code java

errant trail
#

we are recomending python because it is faster to learn not because it have alot of things

next lotus
#

but not for the long term

errant trail
next lotus
#

what

errant trail
#

what

#

what is hard to understand

next lotus
#

how is learning python a head start on learning C

#

C is different than python

errant trail
next lotus
#

know the difference between curly brackets and indentations lmao

errant trail
#

"general things that every language have"

next lotus
errant trail
#

because there is less (complex) syntax

errant trail
errant trail
wet girder
# next lotus python wont get you anywhere, learn C and you'll pretty much know java, c#, c++

This is one of the most wrong statements I've ever seen in this channel. Python is one of the most in demand languages on the market right now. Sure C teaches you everything but you'll lose motivation to learning fuckin syntax when you'd need to be focusing on learning the basic fundamentals. Something like C# is the best beginner language because it has all the necessary features while not being too hard to learn

errant trail
#

^^^^

next lotus
wet girder
#

C has all fundamental but it's too low level for beginners

next lotus
#

skill issue

hasty bane
#

^proceeds to make 11 cents a month while we Python Pros do faang data science for 2944927 dollars per minute

hasty bane
#

i think this guy doesn't actually code

#

he just watched hamza talk about c#, absorbed a lot of jargon and is now shitposting

main brook
#

see the thing is bill

#

do you start school at

#

university

#

or kindergarten

#

learning C of course makes you learn almost everything

#

but of course at a price

#

in python you learn about more things faster in fundemental

#

but of course at a price

#

learning C on starter is like

#

trying to make a skyscraper as a just graduate architect

#

imagine if you start growing at puberty

#

or adulthood

#

learning from hard to easy works on assignment

#

so you have the mindset of "the last one after this is gonna be easy"

#

instead of "shit after this its gonna be hard"

#

doesn't work like that on learning new things

#

"shit this is too hard i gave up"

#

"this is easy to understand but a little bit confusing for me"

#

also

#

python can also be used for big script

#

some major company use it as their web server

#

and the currently growing web framework

#

FastAPI

#

gaining shit tons of popularity

#

i think people should stop with the "LEARNING [LANGUAGE HERE] IS GOOD FOR BEGINNER" in a way they ignore other opinions and factors

#

there shit tons of variant you can choose

#

the more comfortable you are with your language

#

the more you will learn faster

#

some people like the non indent and bracket style

#

so they choose js

#

some like indentation and simple style

#

so they use python or ruby

hasty bane
#

fastapi is epic

#

.

main brook
#

its e🅱️ix

hasty bane
#

im waiting for more svelte + fastapi tutorials

main brook
#

i have one

#

not official

#

but works

#

i basically run svelte on another server

#

with

#

the preview (after running build)

#

and then fastapi on another server

#

and i link then using nginx

next lotus
#

imagine being babysitted by a garbage collector

next lotus
next lotus
main brook
#

Yes, Google has been a long-time supporter and user of the Python programming language, which is one of the official server-side languages at the company, in addition to C++, Java, and Go. ... Today dozens of Google engineers use Python, and we're looking for more people with skills in this language

#

:D

next lotus
main brook
#

that's from google

next lotus
#

google's webserver is written in C++

main brook
#

Some of our critical tools are written in Python
microsoft

#

probably not directly in the webserver

#

but its used

#

just because it uses C/C++ doesn't make it more superior

next lotus
main brook
#

it just makes it good in demanding environment

errant trail
#

@next lotus bro you are like recomending a university textbook for a kindergartner

main brook
#

agreed

#

also if C is jack of all trades

#

why the fuck is there shit tons of language

next lotus
next lotus
main brook
#

so?

#

you're like saying

#

skyscraper is built with concrete

errant trail
#

"this kid should learn how to build reusable rockets"
"but he is still a kindergartener so we should give him easier book to read so he will learn faster"
"no this textbook have more things than everything in his bag combined so this is better for him"

main brook
#

so is almost all buildings

next lotus
#

nope

main brook
#

just

#

choose language you're comfortable with

errant trail
#

yeah

main brook
#

if you hate learning in school because its not interesting for you but you still have to

#

you can literally suicide from stress

next lotus
#

ok let me guess, you guys are self taught

errant trail
#

nah

main brook
#

yes

#

just because you're not

#

doesn't make you any better

next lotus
#

it all makes sense now

main brook
#

you're like on of those neighbor kids i hate

#

cause they do extra classes

#

they're entitled that they're smarter than anyone else

#

and their way

#

is the best

#

if we learn by ourselves

#

they would scream at us

#

saying we will be stupid forever

#

i feel like bill is taught to have

#

"C is best language"

#

mindset

#

from their tutor

errant trail
#

yeah

main brook
#

my brother got taught Java in his first day of university

#

my friend got taught Pascal

#

my other friend starts with python

#

it varies

#

but all will end in 1 thing

#

knowing the fundemental

main brook
orchid frigate
#

Bill gates

#

I think im in love

#

Also dangerous opinion: i dont think c# is much different than C or cpp

#

In terms of difficulty

main brook
#

C# is interpreted isn't it?

next lotus
main brook
#

what's IL

orchid frigate
#

But what I stand by is

next lotus
#

alr im sorry the first language taught to us by my university was C

orchid frigate
#

Cpp and C are basically on the exact same level of difficulty

next lotus
#

then from C we worked our to way to python

main brook
#

fair enough

#

lmao that's how uni is

orchid frigate
#

I can back that up by saying

errant trail
main brook
#

yesyes

#

its okie

orchid frigate
#

In the past few months I have been writing basically only cpp or C

main brook
#

wait haydot you're retired?

#

:o

orchid frigate
#

Yea

errant trail
#

he retired from mod to crab

main brook
#

orchid frigate
#

Decided to not be a mod anymore

main brook
#

oh

#

oki then

main brook
#

but your uni is better than my brother

orchid frigate
#

I have done alot of assembly.but not reasently

#

The thing is

main brook
#

he got taught java -> php -> js -> linux -> python

orchid frigate
#

I started using grub as my bootloader

#

So very little assembly needed

#

Only when im doing very low level stuff

main brook
#

nice

hasty bane
#

if arrogance is something they teach in CS uni i am NOT going for a degree

#

...unless the guy is shitposting

#

actually it's not shitposting I shouldn't call it that

#

i should call it hamzaposting

#

anyway was c your first language?

barren shale
hasty bane
errant trail
barren shale
hasty bane
#

oh yeah

barren shale
hasty bane
#

the angle isn't as steep though

barren shale
#

They are different type of programming languages with very different syntax

barren shale
hasty bane
#

is it?

barren shale
#

C is procedural when python is object oriented

hasty bane
#

o rite

barren shale
#

If you are new to programming switching is very hard

hasty bane
#

cpp has objects

barren shale
#

Even if you are not it’s still hard

hasty bane
#

idk

barren shale
#

Also the syntax is completely different

hasty bane
#

it was pretty easy for me to switch tbh

#

not to c tho

errant trail
hasty bane
#

i did rust

barren shale
barren shale
#

Procedural programming isn’t the very popular nowadays

#

It’s mostly pop

#

Oop

errant trail
#

it is slower to learn than python

barren shale
#

It doesn’t make any sense to start with C

#

Just start with any object oriented language

#

Nothing else

hasty bane
#

hmm

barren shale
#

You will confuse yourself more if you don’t

hasty bane
#

@barren shale do you think learning some c is worth it?

barren shale
#

Depends on what you want

hasty bane
main brook
#

i think