#⌨coders-cave

1 messages · Page 42 of 1

wet girder
#

lmao

knotty root
#

Free bobux

hot anvil
#

ye

#

free robux good

astral basin
#

wow, this is the first time i see this gif in this channel!

hot anvil
#

same!

magic comet
#

code

knotty root
#

whoosh

trail ocean
#

Codding

#

codding!

#

<?xml version="1.0"?>

-<data>

<!-- DO NOT MODIFY THIS FILE DIRECTLY, imported by JutsuXmlImporter -->

<!-- source: K0gW-g -->

-<incident texten="DRIVERLESS CAR" id="c_autonomous_car" properties="callLevel=3;">

-<scene texten="CAR ACCIDENT" id="callerscene" properties="isCallerScene=true; maximumOpinionEffect=2;" actionOnIgnore="callerscene.opinionOnSuccess+=2; callerscene.opinionOnIgnore+=-2;" actionOnEnd="callerscene.opinionOnSuccess+=2; callerscene.opinionOnIgnore+=2;" background="CarBackground">

<suspect texten="Victim" id="caller" properties="personBuilder.sex=MALE; personBuilder.age=ADULT; spawnArea=leftof; reprimandWork=200; isCitizen=true;" actionOnEnd="SpawnScene(carrun); "/>

</scene>

<scene texten="SEARCHING FOR AUTONOMOUS CAR" id="carrun" properties="searchWork=120; searchArea=2; delayedSpawn=true; Location = Near ($callerscene.Location); searchSceneId=autonomouscar; timeToReact=1000;" actionOnIgnore="carrun.opinionOnSuccess+=2; carrun.opinionOnIgnore+=-4; callerscene.AAR+=perpetrator; perpetrator.isActive=0;" actionOnEnd="carrun.opinionOnSuccess+=2; carrun.opinionOnIgnore+=-2;"> </scene>

-<scene texten="ESCAPING CAR" id="autonomouscar" properties="delayedSpawn=true; onMove=1; spawnArea=engine; avoidPolice=1;" background="CarBackground">

<policeWork texten="AUTONOMOUS CAR" id="autonomous" properties="workAmount=600;" actionOnIgnore="autonomouscar.opinionOnSuccess+=2; autonomouscar.opinionOnIgnore+=-2; callerscene.AAR+=perpetrator;" actionOnEnd="autonomouscar.opinionOnSuccess+=2; autonomouscar.opinionOnIgnore+=2; callerscene.AAR+=investigate;"/>

#

</scene>

-<dialog>

<dialogOption texten="112, what's your emergency?" id="1" properties="possibilityToUse911=true;" default="2" operator="Operator:"/>

<dialogOption texten="[[0.55]]Hello,[[1]] [[1.2]]there was an accident." id="2" properties="options+=serious;" actionOnEnd="callerscene.AAR+=story;" default="who" operator="Caller:" option3="what" option2="where" emotions="confused"/>

<dialogOption texten="{WHO'S RESPONSIBLE?} Who is responsible?" id="who" default="who2" operator="Operator:"/>

<dialogOption texten="[[0.3]]Well.[[0.6]] [[1]]I'm not.[[1.8]] [[3]]My car was hit. But[[4.2]]... [[5.5]]there was no one in the other car. " id="who2" default="serious" operator="Caller:" option3="back" option2="whatdoyou"/>

<dialogOption texten="{WHERE DID IT HAPPEN?} Where did it happen?" id="where" default="address" operator="Operator:"/>

<dialogOption texten="eeem[[0.7]]... [[1.3]]near [[ADDRESS]]." id="address" actionOnEnd="Action(SetLocation);" default="back" operator="Caller:"/>

<dialogOption texten="{WHAT HAPPENED?} What happened?" id="what" default="what2" operator="Operator:"/>

<dialogOption texten="My car was hit." id="what2" default="howdidit" operator="Caller:" option2="back"/>

<dialogOption texten="{ANYONE HURT?} Is anybody hurt?" id="serious" default="mycar" operator="Operator:"/>

<dialogOption texten="Well.[[0.4]] [[0.9]]No one died. My car is scratched[[3.2]]... [[4]]and he's not here anymore. It was just slowly[[6.4]]... [[7.1]]it... it drove away." id="mycar" properties="options+=howdidit;" actionOnEnd="SpawnScene(carrun); callerscene.AAR+=notserious;

#

what.isActive=false;" default="didhe" operator="Caller:" option3="back" option2="slowly"/>

<dialogOption texten="{WHAT DO YOU MEAN?} What do you mean?" id="whatdoyou" default="therewasno" operator="Operator:"/>

<dialogOption texten="...[[0.6]]There was no driver.[[1.9]] [[2.1]]Literally." id="therewasno" default="joking" operator="Caller:" option3="back" option2="drunk"/>

<dialogOption texten="{HOW DID IT HAPPEN?} What exactly happened?" id="howdidit" default="iwas" operator="Operator:"/>

<dialogOption texten="...[[1.3]]I was turing... I mean turning left and it didn't stop.[[5.1]] [[5.8]]Although it didn't have right of way." id="iwas" default="anywitnesses" operator="Caller:" option2="back" emotions="intended mistake"/>

<dialogOption texten="{ARE THERE WITNESSES?} Are there any witnesses?" id="anywitnesses" default="idk" operator="Operator:"/>

<dialogOption texten="I don't know, there's... no one here now. " id="idk" default="loud" operator="Caller:" option2="back"/>

<dialogOption texten="{DID HE RUN AWAY?} Did he run?" id="didhe" default="therewas" operator="Operator:"/>

<dialogOption texten="There was no one in the car![[1.3]] [[2]]So I don't really... know if it counts as running?" id="therewas" default="joking" operator="Caller:" option3="illsend" option2="drunk"/>

#

<dialogOption texten="There was no one in the car![[1.3]] [[2]]So I don't really... know if it counts as running?" id="therewas" default="joking" operator="Caller:" option3="illsend" option2="drunk"/>

<dialogOption texten="{SLOWLY DROVE AWAY?} Slowly drove away?" id="slowly" default="wellitdidnt" operator="Operator:"/>

<dialogOption texten="Well, it wasn't like he didn't even notice he bumped into me.[[3.4]] [[3.8]]Just[[4]]...[[4.7]] kept rollin'." id="wellitdidnt" default="illsend" operator="Caller:" option2="back"/>

<dialogOption texten="{IS THIS A JOKE?} Is this some kind of a joke?" id="joking" default="iknowits" operator="Operator:"/>

<dialogOption texten="I know it's ridiculous, but I think it was one of these... autonomous... cybercars " id="iknowits" default="canyoudrive" operator="Caller:" option3="thinkhard" option2="whatdoyouwant"/>

<dialogOption texten="{ARE YOU DRUNK?} Are you drunk?" id="drunk" default="hellno" operator="Operator:"/>

<dialogOption texten="Hell no,[[0.7]] [[1.4]]I'm not the type[[2.3]]...[[2.8]]to do that.I'm... I'm... I don't... I don't drink and drive. " id="hellno" default="canyoudrive" operator="Caller:" option2="whatdoyouwant"/>

#

<dialogOption texten="{DO YOU FEEL YOU CAN DRIVE?} Do you feel you can drive safely?" id="canyoudrive" default="iguess" operator="Operator:"/>

<dialogOption texten="I guess[[0.7]]... [[1.3]]Yeah." id="iguess" default="gohome" operator="Caller:" option3="illsend" option2="send"/>

<dialogOption texten="{WHAT DO YOU WANT ME TO DO?} What do you want me to do then?" id="whatdoyouwant" default="help" operator="Operator:"/>

<dialogOption texten="...[[0.4]]I want you to help!" id="help" default="gohome" operator="Caller:" option3="illsend" option2="send"/>

<dialogOption texten="{I'LL SEND SOMEONE} I'll send someone,[[0.9]] [[1]]wait at the place of the accident." id="illsend" default="okaydothat" operator="Operator:"/>

<dialogOption texten="Okay, you do that.[[1]] [[1.3]]Bye." id="okaydothat" actionOnEnd="callerscene.AAR+=sendingyes; Action(HangUp);" operator="Caller:"/>

<dialogOption texten="{TRY TO REMIND} Think hard, try to remember. " id="thinkhard" default="idkconfused" operator="Operator:"/>

<dialogOption texten="I don't know! I'm confused![[2]] [[2.5]]I've never dealt with this... kind of[[4.3]] [[5.2]]sci-fi... bullshit!" id="idkconfused" default="okok" operator="Caller:" option3="back" option2="illsend"/>

<dialogOption texten="{SOMEONE COULD HEAR IT} It must've been loud,[[1]] [[1.3]]someone could've heard it?" id="loud" default="itjusta" operator="Operator:"/>

<dialogOption texten="[[0.3]]You want me to knock on the doors of surrounding houses to ask whether they seen a driverless car hitting me and disappearing?" id="itjusta" default="whynot" operator="Caller:" option3="driverless" option2="whatdoyouwant"/>

#

:')

hot anvil
#

do not modify this file

hot anvil
#

:o a new gif

wet girder
#

You shouldn't post useless jokes of coding here

#

this channel is starting to get flooded with that

#

this is for actual coding/programming

tame socket
#

add this to pins @wet girder

wet girder
#

This channel is for coding/programming. Not memes about programmers being hackers etc. Please talk here if you want to talk with developers but don't just send random memes

granite pecan
#

First one after pin

hot anvil
#

second after pin

tame socket
#

Third After pin

wet girder
keen shell
#

Coding is nothing like those gifs

wet girder
#

yeah

trail ocean
#

Coding is like this

<?xml version="1.0"?>

<!-- DO NOT MODIFY THIS FILE DIRECTLY, imported by JutsuXmlImporter -->

<!-- source: OnAqbs -->

-<incidentTypes id="builtin_incidents">


-<incident id="rep_bigfire" properties="type=bigfire; popularity=0; ">

<scene id="bigfire" properties="scripted=1; ignorable=0; delayedSpawn=1;"> </scene>

</incident>


-<incident id="rep_concert" properties="popularity=0; visibility=0; isScenario=1">

<scene id="main" properties="timeToReact=900; ignorable=false; scripted=1;" background="ConcertBackground"> </scene>

</incident>


-<incident id="rep_nuclearewaste" properties="popularity=0; visibility=0; isScenario=1">


-<scene id="main" properties="timeToReact=900; ignorable=false; scripted=1;" background="NuclearewasteEventBackground">

<techWork id="tech" properties="workAmount=1000; spawnArea=biohazard;"/>

<techWork id="tech" properties="workAmount=1000; spawnArea=radioactive;"/>

</scene>```
tame socket
#

what language is that? Im dum

wet girder
#

xml

#

it says that in the top

fierce epoch
#

Extensible Markup Language

wet girder
#

I am just listening to lofi and coding amp modmail

#

best way to code

trail ocean
#

Yea that's awesome ngl

wet girder
trail ocean
#

lol pog

#

well actually, I'm not an codder.
I'm just translator though :')

#

I just digged some Codding section while I'm translating

trail ocean
knotty root
#

What

trail ocean
#

What.

knotty root
#

I tottaly understand this

wet girder
#

that is actually really simple to understand

#

that is just normal dictionary

soft flame
#

aight sorry, forgot to read pins

hot anvil
#

it's true but

#

not for this channel

wet girder
#

sometimes debugging is like that true lol

#

atm everything is going smootly for me

hot anvil
#

:o

#

i love it when everything goes smoothly

wet girder
#

but I know it'll get bad at some point today lol

#

yep

hot anvil
#

it doesn't last long but oh well

woven snow
#

Code cave

knotty root
#

Bruh

woven snow
#

Has all kinds of coding

hot anvil
#

yes

#

we are code

wet girder
#

yes lol

soft flame
#

Hey Jupe what language you use?

wet girder
#

Python

#

I am trying to master it

soft flame
#

oh cool

hot anvil
#

python best

wet girder
#

not gonna change language until I've mastered Python

soft flame
#

I have tried to use Lua

hot anvil
#

lua

wet girder
#

Lua is pretty cool

hot anvil
#

i've never really used lua tbh

#

sounds cool

hoary hound
#

ohh lua is cool, not hard to learn at all

wet girder
#

I like it as it's pretty close to C# but interpreted and easier

keen brook
#

Code

hoary hound
#

lua?

wet girder
#

it is suprisingly close

hoary hound
#

lua doesn't have official oop support so kinda far from c#

#

or at least it's a bit trickier

#

than c#

#

I mean there is support for oop

#

but it's not the main focus, unlike c#

fierce epoch
#

fck

hoary hound
fierce epoch
#

shhh

#

wrong chat

wet girder
#

yeah but I mean like from that isn't that hard to change to C type languages

knotty root
#

What is this channel?

#

🤔

hoary hound
#

read pin treesmile

knotty root
#

Okay

#

Oh okay lmao

#

Thanks you 😀

hoary hound
#

np

wet girder
#

How is everything just working in my code

#

wtf

hot anvil
#

^ this is programming

soft flame
#

if it works it works

knotty root
hot anvil
#

it's either "why isn't it working" or "why is it working"

hoary hound
wet girder
#

there is no other cases than one for this lol

#

it does everytime the same thing

hoary hound
#

let's hope our users won't actually find other cases then

hot anvil
#

hehe

soft flame
#

wait you talking about AMP's code?

wet girder
#

oh wait now it broke

hot anvil
#

amp is best bot

hot anvil
wet girder
soft flame
#

huh, from the way you were talking about it i'm guessing it's a little messy

wet girder
#

I need to know how tf I can do something if for loop returns nothing

hoary hound
#

for loop returns nothing?

#

wdym

wet girder
#

I send code in dms

hoary hound
#

ok

wet girder
soft flame
wet girder
#

Python

#

Nice been coding last 1.5 hours

manic rain
#

What is the best coding language to start out coding with, I want to get into it a little more

hoary hound
#

python is easy to get started with

#

you can install python and use Visual Studio Code as IDE

#

fairly easy to setup

hot anvil
#

pycharm maybe later

#

a bit more complex

#

as an IDE i mean

manic rain
#

Ok, thank you for the suggestions, I appreciate it

granite pecan
knotty root
#

Well it's partially for school/maybe future money hopefully

#

don't tell the secrets

#

I got like kinda blocked on stackoverflow, because the three only questions I've ever asked didn't get a lot of upvotes

granite pecan
#

Then don't talk in the channel.

hot anvil
#

woah

#

i didn't even realise it was possible to get banned on stack

keen shell
#

Why would you get banned for not getting upvotesxzibit

crisp tiger
#

Hmm

knotty root
#

but it's still stupid

#

all because one senior member thought my question was the same as another question, which I knew it wasn't and he flagged my question and boom. Question was closed, couldn't reopen it and couldn't ask new question, knowing it was a very urgent problem

knotty root
#

Okay I got mad at the SQL code, so I bought myself a lordship title to show of my superiority

hot anvil
#

oop

knotty root
#

I'm officially a lord now

hot anvil
#

well

#

you

#

well done?

knotty root
#

yeah

#

bend the knee peasant; I own one square foot of land in Scotland!

olive adder
#

Os zonibus

#

passou

hot anvil
#

do you actually

knotty root
#

yes

hot anvil
#

hAHA

#

ok

#

i kneel

olive adder
#

Alguem me manda um Dc de conv

hot anvil
#

english?

olive adder
#

ss

#

Um sv Ingles

knotty root
hot anvil
#

that is a count

#

not a lord

#

it is not lord dooku, it is count dooko

knotty root
#

shhh

olive adder
#

Olha Um avião

hot anvil
#

it is however, lord sidious

knotty root
#

It don't matter

#

it's the look that matters

hot anvil
#

yep

#

i see the ifunny watermark

knotty root
#

no you can't read commoner

hot anvil
#

oh right

#

yes i can't read

knotty root
#

Good

olive adder
#

;-;

#

mas que cornura

#

não pode enviar Gif

keen shell
hot anvil
#

you can't send gifs because you need to get to level 10

#

i'm guessing thats what they said

keen shell
#

Yup

#

Doesn't really make sense to me

hot anvil
#

HAHA

#

something tells me he made up his own language

keen shell
#

Google tells me it's portuguese

knotty root
#

what app is that pensiveFast

keen shell
#

Gboard keyboard

knotty root
#

ok thanks

keen shell
#

No problem it has a lot of nice features

knotty root
#

I didn't know it can translate, I'm using my phone's stock keyboard

keen shell
#

Woah it has 1 billion downloads

knotty root
#

well it's from googleJerry

keen shell
#

Hahaha

knotty root
#

hmm my parents started fighting with me because I didn't agree with them saying you can't find everything from programming on the internet, they said you need books 🤔

wet girder
#

You can find everything from the internet tho. Only book about coding I've read was e-book and other stuff I just learn from documentations

hoary hound
wet girder
#

lmao

#

best queto ever

hoary hound
#

it gets better Tom

wet girder
#

That just makes no sense lol

hoary hound
#

lmfao this killed me

knotty root
#

Documentations, stackoverflow, Indian youtubers and the google inspect feature

hot anvil
#

Inspirobot best

knotty root
knotty root
#

There is no greater feeling in the world than closing off your computer, knowing you tackled all the biggest problems of your project and that you leave no errors behind

hot anvil
#

Idk maybe when you finish that project

raven hearth
#

How to start learning?

knotty root
primal orchid
raven hearth
wet girder
#

Just start

#

nothing helps more than just starting

#

google how to do this and that and learn

half citrus
#

Very inspiring

hoary hound
#

Hey he's right, in general the hardest step is starting something. If you are interested just google and start watching tutorials. If you need to learn a new language quickly, I recommend https://www.w3schools.com/

hot anvil
#

W3schools is very good

astral basin
#

stackoverflow is usually the #1 source

#

it's how i learned golang for example

hot anvil
#

Oh

#

Hm

#

Stack is indeed better

hoary hound
#

of course you shouldn't just read that

#

w3school gives you quick tutorial on the basics, at the cost of being less accurate

#

and it's more appealing than having to read the documentation Jerry

hot anvil
#

fari

hoary hound
#

s

hoary hound
#

whoa whoa what's this

astral basin
#

if you use instead of / // to divide it treats them as int

hoary hound
#

I swear python has some features that only 10 or so people know about in the whole world

#

always discovering new stuff with it

astral basin
#

True * 8 == 8 ha

hoary hound
#

True = 1?

astral basin
#

just read it

#

it's really good

hoary hound
#

so anything that is not 0 is true

#

got it

wraith dome
#

Hello

hoary hound
#

bruhhh

astral basin
#

that's why i like this format

#

you keep browsing and just stumble across more and more golden nuggets

#

finding such stuff in a documentation format would be really hard

hoary hound
#

thanks for sharing this

#

it's amazing

#

I want to see if jupe knows some of this stuff PeepoEvil

knotty root
hoary hound
astral basin
knotty root
#

yep, and it's all the same error

astral basin
#

ah that's good then

knotty root
#

yeah but it also means I need to change every single var name both in the aspx.cs file and the aspx file

#

this is hateful

#

wait actually

#

I think the ids in the aspx file are fine

#

I hope so

#

please be fine

tame socket
hot anvil
#

can't you just do the find and replace thing

knotty root
#

Maybe, let me see

#

aight my dude, you're a legend, thanks

hot anvil
#

me?

knotty root
#

yes

hot anvil
#

o

#

yw then

keen shell
#

I have an application of 163 kb right here when it's built framework dependent
I need to publish it as a self contained exe now because not many users will have .net core installed on their devices
The application becomes 80mb+ when it's self contained bruhh lmao

hot anvil
#

163kb -> 80mb

#

love it

#

amazing

keen shell
#

nice I managed to get it to 79,5 mb

hot anvil
#

.5mb smaller

#

very nice

trail ocean
#

working with Steam game dev...
kinda hard though

#

yea, that's just a small code. but I had to use cauclater for it :')

knotty root
#

I need help desperatly

keen shell
#

With what?

long beacon
#

Heyo can someone with a Python3 IDE tell me if this code i wrote is good or not? I know it works but I just want some feedback on it. The way it works is you input a name of something or someone and when you write “No more” or “no more” or “No More” it stops taking names and does a number generator and picks a name based on the number it draws.

hot anvil
#

It's a very good program

#

For what it is

long beacon
#

Thank you

#

I used to have a much larger program for the same purpose but it was so over complicated and so convoluted because I used the most unnecessary process, that I had to remake it. My original line of code was 337 lines for five names. I did 99 lines for 5 names with this one before removing the exit() statements from it. I made it very simple now

wet girder
#

Little hard to read and all the if statements could be made better but it's still really good

#

good job!

long beacon
#

Thank you!

long beacon
#

Sure

knotty root
#

let me patch up the code to do it first before I say

long beacon
#

Okay

tropic dagger
#

I actually kinda need 'help' with python.
I know a decent amount. (Variables, functions, function arguments, if statements, while loops, lists, dictionaries, I have an understanding of lambda but haven't used it. I need help with decorators and some other, more advanced concepts.)

And then of course, there's C++. (I know functions, variables, function arguments, while and for loops, arrays, a little bit of classes. I need getters and setters and basically everything else.

long beacon
#

I know lists are a pretty simple thing but i somehow am failing ti use and grasp the idea of lists

tropic dagger
#

Best way I can explain it.

long beacon
#

I only really know python and a little bit of swift

tropic dagger
#

I don't know any Swift.

long beacon
#

I just started learning

#

Also

#

Idk if it’s possible or even a thing

#

But

knotty root
#

ok I've completely rewritten your entire thing at this rate

#

instead of doing an if for every name and having a ton of code

#

you can use loops to make your names

#

so it works various sizes of name lists

#

you can still say "no more" and quit the list if you have less than you needed

#

as for the no more code I noticed you had for variants, but the way we deal with those is by making them .lower() so they're always lowercase

long beacon
#

In python can you jump to a different line of code? Like say I have an If statement that I want to have jump to a later line of code so i dont have to rewrite the code multiple times if i want branching paths?

knotty root
#

so if x.lower() == "no more" will work regardless if its NO MoRe or No MORe

long beacon
#

Okay

#

Thank you

#

Lemme look at it quickly

knotty root
#

so basically you'd just call it whenever you're doing something

long beacon
#

Thank you

#

I have another program for something else where i can prob get rid of over 150-200 lines of code or more

knotty root
#

oh and you can remove the last for

#

it only needs to run once anyways, I just forgot to remove it when I sent

long beacon
#

Okay

knotty root
#

functions, methods whatever the python equiv is called

#

but as you can see a little looping and listing can reduce your script by a lot

tropic dagger
#

|| @long beacon ||

# Example of how I would do what you want to do, 
# may not be be optimized though
def function(arg):
   pass

if x == y:
   function(z)
knotty root
#

functions are very useful if you've got blobs of code that you constantly rewrite

#

will heavily reduce the garbage you have to sift through

long beacon
#

Thank you

knotty root
#

getting used to those lists/loops are also rad so you dont have to write a bunch of elifs and elses and ifs

#

they can be very performance bad if you're not careful though

tropic dagger
# long beacon Thank you

You also don't have to include arguments in a function if you don't want to.
It's not necessary.

#

But they are useful.

knotty root
#

likely to pass arguments

tropic dagger
#

And learning lists/tuples/dictionaries/the other one I can't remember the name of is also extremely useful too.

#

And decorators.

#

But I don't understand decorators yet.

#

So I can't help anyone there.

long beacon
#

I definitely need to get better at python. I have a ~700 line program that is basically a text rpg. It can probably be shortened to like ~ 400 lines possibly at its current state.

tropic dagger
#

Doesn't have all the features I want though.

long beacon
#

Yea mine still needs a lot of work

#

And a lot of shortening

#

Imma work on it over the weekend probably and after school today

#

Its been aboot a year since i started it

tropic dagger
#

I started mine a few months ago.

knotty root
#

code doesn't have to look super pretty, but sometimes for your own sanity making clean code is needed

tropic dagger
#

And I had to project on hold.

long beacon
#

I got bored in like march or april so i learned a bit of python and started to work on a game so that I wouldn’t go crazy. I put it on hold for five months and am finally getting back to coding

tropic dagger
#

I started my first ever game in 6th grade.

#

It sucked.

#

And broke past the first action.

long beacon
#

Mine often gave me headaches bc of how convoluted i made it and how if one thing was off in the beginning it might break the entire code which meant i needed ti rework it

#

The longest part to figure out was having a random number generator in the background to call up every time i needed some randomness

#

And I also used the time.sleep() statement to excess amounts

tropic dagger
tropic dagger
knotty root
#

isn't that function kind of silly

tropic dagger
#
x = random.randrange(y, z)
knotty root
#

x= random.randrange(min, max)

#

congrats you're done

tropic dagger
long beacon
#

I used something like this:

import random
import time
from threading import Thread
import sys
rando = random.randint(1, 70)

def func1():
global rando
while True:
rando = random.randint(1, 70)
time.sleep(6)

def func2():
print("Welcome to Underlying")

while True:
if name == 'main':
Thread(target=func1).start()
Thread(target=func2).start()

tropic dagger
#

The reason why I did a separate function is C++.

#

|| @knotty root ||

#include <iostream>

using namespace std;
int rng(int min, int max)
{
   static bool first = true;
   if (first)
   {
      stand(time(NULL));
      first = false;
   }
   return min + rand() % ((max + 1) - min);
}
/* I know this produces a warning and isn't perfect, but it works for my purposes */
long beacon
#

I’ll probably be popping in and out of this channel over the weekend and this afternoon to ask questions aboot things that are probably common sense but that i fail to know/grasp.

#

Thanks yall.

tropic dagger
#

Ight.

#

I may or not be able to help.

long beacon
#

I foresee a good bit of stack exchange in my future

tropic dagger
#

w3schools is helpful.

long beacon
#

Okay

#

Thank you

tropic dagger
#

For learning the basics.

knotty root
wet girder
#

First step to learning is asking the right questions

#

What exactly are you trying to do now

#

ask that

#

not help with everything

#

no one can't provide you all the info

#

I need help is statement not question. So ask more like how do I get started with this or how do I do that

knotty root
#

This was meant as a joke, I don't need a lecture about asking question. If you really want to know I'm trying to get a WHERE statement to work in a query for a mariadb server in a C# ASP.NET project. I'm also trying to get a button to work which will replace images shown on the server with the images saved in the next set of 9 records while also showing all the category names from the images on the screen on the top of the screen, but I can't properly explain that so quickly

wet girder
#

I just tried to help

knotty root
#

sorry, I'm a bit on edge lately

knotty root
#

Hi what is about This room

wet girder
#

Read pinned messages

#

I hate that I haven't had time to code today

knotty root
knotty root
#

Aight, 2400 lines of code succesfully coded

solar bone
#

When was this added

keen shell
knotty root
verbal crane
#

How to hak

#

Ples tel me how to hak

#

Ples

real cave
#

i want free robux hack now yes

unkempt shell
#

@real cave you as wellTom

hasty bane
#

working with python classes is fun

#

it's not

eager yacht
#

I’m good at Minecraft commandssadcat

knotty root
knotty root
north dune
#

ghost eggs laying eggs that finally hatch into creature

definitely a feature, not a bug

keen shell
#

Isn't there a word for that

#

There should be, I can't find it unfortunately.

Beauture
Featurg

Lmao Idk

#

"Bug: Any development issue that makes a game unenjoyable, unstable, or unplayable in its current state."

"Feature: Any aspect of a game that creates its value and purpose. Mechanics, story, and level design are all considered features."

It's a bit in between their imo so a name for it would be nice to have

hexed plaza
#

Here in this chat I write the suggestion?

hoary hound
hexed plaza
#

oh... ok

#

and do you know where it is?

keen shell
lyric wraith
#

hackerman

granite pecan
magic lion
#

a

olive raven
#

Alt f4

feral spire
north dune
#

simple gui: bepinex

#

can apply traits to people, plus it adds some traits

#

if igniz zombie mod is up to date it works well with my traits too

knotty root
#

It was once a bug, and then its become a feature and then its become the Icon

clever pewter
#

<html>
</html>

#

My work here is done

keen shell
#

Awesome code

#

A lot going on there

#

Give me ideas for a worldbox related machine learning project

knotty root
#

learning aiYEEEEE

dull stump
#

Hmm

#

What’s machine learning

#

Like the AI starts learning?

#

how to do stuff

#

?

keen shell
dull stump
#

._.

knotty root
#

okaywhatstheteaspillit

dull stump
#

or what’s machine learning

keen shell
dull stump
#

But like

#

uhh

keen shell
#

For example: I made a program that eats a picture of any of my cats and it outputs the name of that cat

dull stump
#

Hmm

knotty root
#

that example just confused me more

dull stump
#

same

#

lol

keen shell
#

Oh lmao

dull stump
#

just like make

#

the creatures be better

knotty root
#

so the creatures can actually detect what they're interacting with?

keen shell
#

Maybe better example:
you have a lot of pictures of a sunflower and you have a lot of pictures of a rose
You learn the machine what a rose is and what a sunflower is by letting it look and analyze the picture to find similarities.
Now when I input a new picture of a sunflower the machine has never seen before it will detects some properties of that sunflower and output that the flower is a sunflower

tiny silo
#

wat is this FryThink

#

uw i see

keen shell
#

I don't know about adding machine learning to the game tho, it demands .net framework 4.7.2 so might not work

#

I'm thinking about something that detects if a map is generated automatically or by a user but it sounds boring tbh

knotty root
#

to check map creations?

keen shell
#

Lmao exactly

knotty root
#

that seems pretty cool

keen shell
#

There's no point

knotty root
#

lol

keen shell
knotty root
#

how about make a bridge mod

north dune
#

youd want to identify which maps are hand made

#

itll be easier to share maps at some point

knotty root
#

yeah that's what I thought

keen shell
keen shell
hoary hound
#

I've always wanted to get into machine learning but never found the time, or maybe it's just an excuse because I'm lazyJerry

#

I also applied for GPT-3 waiting list

#

Maybe in the future™ I'll be accepted sadcat

#

Mastef already got accepted pepangry

north dune
#

the examples we saw in modder bay were awesome

keen shell
north dune
hoary hound
#

Can't wait to generate awesome code like this attractive

keen shell
#

Bruh where's BehHorseEatPoop

north dune
#

eat target: stable

hoary hound
#

Lmao that was hilarious

north dune
#

wait for it PauseChamp

hoary hound
#

The building eating horse

north dune
#

eat stable again

keen shell
hoary hound
#

The thing is

#

Machine learning consists most of math

#

Not easy math

north dune
#

fuck math

dull stump
#

Fuck me

hoary hound
#

Loll

dull stump
hoary hound
north dune
#

bonk

hoary hound
dusk spoke
stone fractal
#

tabs vs spaces?

knotty root
#

@stone fractal explain?

#

im kinda disappointed, i planned on starting to learn how to code this year but I kinda gotta wait another

stone fractal
#

why wait?

knotty root
#

@stone fractal ive never really found a good online course to teach me, im a terrible self teacher, and i gotta do one class in my first year of high school before i can do a programming class

#

if i could find a good online course i would take it, but so far no luck

stone fractal
#

did you already try some? @knotty root

knotty root
#

yeah, for some reason it was really hard to retain the info they gave me, and because of that, it kinda didn't work out

#

I still look every once and awhile, but for now, I’m just waiting

vocal briar
drifting sonnet
#

Vat

honest rampart
#

man

#

i cant upload here darn

#

damn i cant post there either

#

oof

north dune
half citrus
knotty root
honest rampart
real flame
#

hey coders, is this sprite ok for visual novels?

#

also, can I ask something. what coding language is better to use for beginners

keen shell
hollow zephyr
#

ctrl + C and ctrl + V

woven snow
#

Cave

keen shell
tropic dagger
# real flame also, can I ask something. what coding language is better to use for beginners

Python is really easy to learn due to it's human-readable nature, it just gets annoying with it's obsessive nature. It's slow, but there's no need for a compiler; it's an interpreted language.
JavaScript is also pretty useful and easy if you have the time to learn it, HTML and CSS. No need for a compiler either, it's interpreted by your browser.
If you want speed, then get a compiler for C and learn that. C is really and has about 32 keywords.
Java is kinda easy once you learn a decent amount, and you don't have to install any compilers as Java can do it for you.
Stay away from C++. It's very complex and hard to learn, even if it's just an extension of C.

patent crow
#

I love this discord.

real flame
#

var game = this.getGame();
if (game) {
game.pause();
game.getModel().setScene("Main");

}

#

used this thing for preset

honest rampart
#

lua is fun

knotty root
#

If you go to the home page, you can choose the type of coding

knotty root
#

@knotty root thanks for the website, but the one thing is that I want to learn c#, and they don't have that

keen shell
# knotty root <@456226577798135808> thanks for the website, but the one thing is that I want t...

I followed this course
To learn it I copied his code over to my Visual Studio to edit and test how the code can work in a different way
https://youtu.be/GhQdlIFylQ8

This course will give you a full introduction into all of the core concepts in C# (aka C Sharp). Follow along with the course and you'll be a C# programmer in no time!

⭐️ Contents ⭐️
⌨️ (0:00:00) Introduction
⌨️ (0:01:18) Installation & Setup
⌨️ (0:05:03) Drawing a Shape
⌨️ (0:17:23) Variables
⌨️ (0:30:06) Data Types
⌨️ (0:37:17) Working With S...

▶ Play video
#

Also if you want to learn c# for worldbox modding you can look how other modders make their mods by looking in the dll using dnSpy

sleek compass
#

Are y’all still trying to find rats in here?

rare hinge
#

im gay

#

im sorry

keen shell
#

Okay

#

Why are you sorrywat

rare hinge
#

because im not gay

keen shell
#

Don't say it then and why would you say it here lmao

vocal briar
#

Lol

rare hinge
#

i dont know

#

im sad

wooden current
hot anvil
#

I’m confused what

rare hinge
#

im also confused

#

what

tropic dagger
#

Home --> More --> Learn Programming --> C#

#

It's right below C++.

untold prairie
#

this is cool channel.

unkempt shell
#

Ok

hot anvil
#

pog channel

keen shell
#

it's working pretty good

#

I think differences between standard and cool or normal map uploads is much better

hoary hound
knotty root
#

Does that mean we now have some sort of rating system

empty jacinth
#

O.o

#

Interesting

frail valve
keen shell
#

Machine Learning learned the difference between 3 types of worldbox maps@frail valve

jade chasm
#

Any timeline or updates on more thorough modding support? Harmony or anything?

keen shell
#

recent update added experimental mode, for modders to test the in-game modloader

jade chasm
#

oh sweet

marsh tartan
#

Yall are fkin wizard

north dune
#

not sure if anyone has tested whether the ingame mod loader will support it as a reference

wind hearth
#

How work world bot?

wet girder
#

other stuff is pretty basic

wind hearth
#

I do not have super knowledge of coderism,can you describe how to use it, and what numbers are responsible for what?

#

I use a translator, sorry for possible errors in the text

wet girder
#

do you mean the map generator?

wind hearth
#

Yea

fierce epoch
#

i have something stupid to ask

#
if a > 4 :
  print("thing")
elif a > 58 :
  print("other thing")
#

if a = 5 it will only print "thing"

#

right ?

#

cuz elif is Else If

wet girder
#

@wind hearth do ~gmhelp

#

it explains everything

#

yeah only 5 but if it's 59 it'll pring thing other thing

fierce epoch
#

i think even if it's 9583 it will only print 4

wet girder
#

wait no

fierce epoch
#

because 4 is before and it takes the priority

#

because it's reading from top to bottom

#

i think

wet girder
#

yeah just realized

fierce epoch
#

and i'm not sure

keen shell
#

it's not right

fierce epoch
#

that's why i'm asking

#

oh ye modders are now purple

keen shell
#

there's no way it'll come to the else if right?

fierce epoch
#

ye

keen shell
#

I mean

#

Because it has already reached above 4

fierce epoch
#

if a = 843 it will only print "thing"

wet girder
#

yeah

fierce epoch
#

and not "other thing"

keen shell
#

then 59doesn't matter

fierce epoch
#

ok

#

i wasn't sure tho

west locust
#

Hello

ember knot
#

pog

keen shell
tropic dagger
tropic dagger
tropic dagger
#

That's pretty strange.

#

And although a tech limitation, it's still not like python, which tries to be human-readable and easy to pick up.
That's pretty weird.

#

If you want it to execute as expected, try:

a = 5
if a < 58:
   print('thing')
elif x < 4:
   # Uh... Gonna assume nothing is supposed to    
   # happen if 'x' is below 4.
   pass
else:
   print('other thing')
wet girder
#

There are easier ways you van just for example do:

if x > 4 and x <= 58:
    print("thing")
elif x > 58:
    print ("other thing")
#

this is way more readable and pleasant yo write

astral basin
#

there doesn't seem to be anything weird about it - just an impossible elif condition

astral basin
astral basin
fierce epoch
#

i just wanted to make sure if a returned true it will not check the following conditions

#

except if they are ifs too

real flame
#

oh my visual novel is working

#

javathing is easy

keen shell
#

Nice! attractive

abstract zodiac
#

hello

#

who know, how to make swb mod?

#

on what basis of the language to do this?

keen shell
tropic dagger
#

I tested the code with x not a

real flame
#

I have problem with my backround music themes

#

can I use any music from spotify or youtube with copyrights? as long as my game is free?

#

so like, can I use Rory Theme-Apostle of war in my own game without permission as long as I won't sell the game?

tropic dagger
real flame
#

oh

#

so if I put a music without lyrics in my game, I won't be infringed?

tropic dagger
#

You should limit the amount of time you're using.

#

Like 10 seconds is fine.

real flame
#

I see

tropic dagger
#

Lyrics will tip any bots or corporate assholes off.

#

And they'll hit you with a copyright claim.

real flame
#

what if I put a backround theme, without lyrics?

#

like only beats and instruments of that music?

tropic dagger
#

As long as it isn't too long, you're fine.

#

That way it falls under fair use.

real flame
#

ohhh

#

what is the limit?

#

only 1 minute?

#

10secs?

tropic dagger
#

It depends on the length of the song in question.

real flame
#

I see

tropic dagger
#

I forget the hard numbers but try to use less than half of the song

#

A quarter at the most.

real flame
#

hmmmmm

tropic dagger
#

That way you're safe.

real flame
#

so if I use for example, Beginner's town theme of Sword Art Online, and loop it, I'm safe?

tropic dagger
real flame
#

oh

#

aha

#

I'll make a cover of that song or music, am I safe that way?

tropic dagger
#

Yeah.

#

Just change something like tempo.

#

Or scale.

real flame
#

I see, thanks

keen shell
#

don't know for sure if it's all free

#

lmao copyright

real flame
#

oh

#

what if I put credits inside the game

tropic dagger
#

That's even better

real flame
#

like for example

Silhoute-Kana Boom

#

while playing it

tropic dagger
#

But you shouldn't use the whole song.

real flame
#

or in the game credits

#

I see

tropic dagger
#

That's even better than just limiting use time.

#

Forgot about that.

astral basin
#

The elif condition is unreachable

#

Try using ``` around your code when posting it here. Then it will be nicely indented etc

real flame
#

why is the loading screen not appearing here?

#

oh

astral basin
#

Or wait apostrophes

real flame
#

ohhhhh, so that's whyy

#

thanks

astral basin
#
Code
real flame
#

oh

#

like this

astral basin
#
Your code
#

Then you get syntax highlighting too

real flame
#
GameModel.prototype.isPaused = function() {
    return this.paused;
  }

  GameModel.prototype.pause = function() {
    if (! this.paused) {
      this.paused = true;
      this.trigger("paused");
    }
  }

  GameModel.prototype.resume = function() {
    if (this.paused) {
      this.paused = false;
      this.trigger("resumed");

      for(var i=0; i < this.queue.length; i++)
        this.queue[i].call(this);

      if (! this.queue.length) {
        if (! this.scene)
          this.nextScene();
        else if (!this.action || this.action.isFinished())
          this.nextAction();
      }

      this.queue.length = 0;
    }
  }

  GameModel.prototype.start = function() {
    this.setFinished(false);
    this.scene = this.action = null;
    this.resume();
  }

  GameModel.prototype.getState = function() {
    var data = {
      scene: null,
      index: -1
    };

    if (this.scene) {
      data.scene = this.scene.serialize();
      data.index = this.scene.indexOf(this.action);
    }

    return data;
  }

  GameModel.prototype.loadState = function(state) {
    var scene = this.getScene(state.scene.name);
    if (scene) {
      var data = $.extend(true, {}, scene.data, state.scene);
      scene.load(data);
      this.setScene(scene, state.index, false);
      return true;
    }

    return false;
  }

  belle.GameModel = GameModel;

}(belle)); ```
astral basin
#

Did you add console.log into the start of every function to see what gets called?

real flame
#

oh

#

nope

astral basin
#

And i feel like some code from the start is missing. There is code before isPaused right?

real flame
#

yes, 300 lines

#

but I suppose the load menu is not appearing because of unknown errors in this lines. I can't seem to find the problem

astral basin
#

It is not enough info to help you debug

#

Like i can't see if you are setting this.paused = true initially or how it is called etc

#

I'm looking at a broken fridge from the outside

real flame
#

oh

tropic dagger
#

It doesn't auto indent on mobile.

astral basin
real flame
#

yeah

#

thanks, I'll just look at my code again and again

#

so i can find the problem

astral basin
#

So you can track which code is actually executed - if any

real flame
astral basin
#

In the start of every method

real flame
#

ohhhhh okkkkk

#

thanks

#

so back to the bgm, I'll just put credits in game, so I can use the music but not really in full right?

real flame
#

thanks

tropic dagger
#

I use C++, python and C# so I don't have access to those a console.log but I can see why it would be useful.

real flame
#

ohh

#

okkkk

strong rock
#

What is this chat about

keen shell
#

About coding

strong rock
#

coding what

keen shell
#

Anything you can imagine

hot anvil
#

i want to code a delete button for covid pls help

keen shell
hot anvil
#

python

keen shell
#

oh sorry I can't help with that

hot anvil
#

sad

keen shell
knotty root
hoary hound
#

if only we knew how to make a button in python maximpensive

keen shell
#

I can vaguely remember doing python, most of the things I made were simple text based quiz games and about a month ago quitting a TensorFlow tutorial

#
-- params : ...
-- function num : 0 , upvalues : 
local l_0_0 = .setmetatable
local l_0_1 = {}
l_0_1.__index = ._G
local l_0_2 = (.module)(...)
l_0_0(l_0_2, l_0_1)
local l_0_3 = (.require)("Vector2")
local l_0_4 = (.require)("Vector3")
local l_0_5 = {}
l_0_5.Prefab = "BaseSimpleSceneryTriggerable"
local l_0_6 = {}
local l_0_7 = {}
local l_0_8 = {}
-- DECOMPILER ERROR at PC23: No list found for R8 , SetList fails

local l_0_9 = {}
l_0_9.Default = <1, 0.5450981, 0.3882353 >
l_0_9 = {Default = 150}
l_0_9 = {Default = <0, 0.8, 0 >}
l_0_9 = {Default = 15}
l_0_8 = {Colour = l_0_9, Intensity = l_0_9, Position = l_0_9, RadiusInMetres = l_0_9}
l_0_9 = {SequenceTriggerTargetPath = ".."}
l_0_9 = {}
l_0_9 = {}
l_0_8 = {SequenceTriggerTargetLocator = l_0_9, Transform = l_0_9, TriggerTargetLight = l_0_9}
l_0_7 = {Prefab = "PointLightOn", Properties = l_0_8, Components = l_0_8}
l_0_9 = {ParticleName = "CPT_VN_Flame_Large"}
l_0_9 = {SequenceTriggerTargetPath = ".."}
l_0_9 = {}
l_0_9 = {}
l_0_8 = {Particle = l_0_9, SequenceTriggerTargetLocator = l_0_9, Transform = l_0_9, TriggerTargetParticle = l_0_9}
l_0_7 = {Components = l_0_8}
l_0_5.Children, l_0_6 = l_0_6, {Light = l_0_7, VFX_Fire_Large = l_0_7}
.Root = l_0_5
l_0_5 = .Root
.Root = nil
l_0_6 = function()
  -- function num : 0_0 , upvalues : l_0_5
  return l_0_5
end

.GetRoot = l_0_6

This lua code wat wat wat

hoary hound
#

damn this looks like decompiled code

#

hard to read

hot anvil
#

idek

tropic dagger
hot anvil
#

Omg thank you

astral basin
strong marten
#

And after much time of trying to get something to work, I finally got it to work

#

Yesss

astral basin
#

The best feeling

summer pivot
simple nimbus
#

fish

#

I'm learning c#

#

I'm not good at it

#

but eh

keen shell
astral basin
#

It looks like reverse compiled from opcode

#

So that is why it is hard to read

keen shell
#

There are also fdb files inside, I never expected them to open. The contents are absolutely amazing

#

I'm using SQLiteStudio to look into them and there's a lot of game mechanic values I can change in there.

hoary hound
#

YEEES FINALLYrgbricardo

#

it's been what, 4-5 months

#

since I applied for GPT-3

keen shell
#

Idk if I've already applied

#

Probably not but I should do that soon

astral basin
#

Nice

elder shore
#

What's this for

#

This channel

knotty root
keen shell
#

Planet Coaster

tropic dagger
#

Ah.

serene bolt
#

I like code 10100100101100101100

#

I have no clue if I said some I just put random binary

#

01101000 01101001 00100000 01101000 01101111 01110111 00100000 01101001 01110011 00100000 01111001 01101111 01110101 01110010 00100000 01100100 01100001 01111001

keen shell
late marsh
# hot anvil python

I threw together a quick program in tkinter for your noble cause

import tkinter as tk

root = tk.Tk()
delete_covid = tk.Button(master=root, text="Delete Covid-19")
delete_covid.pack()

root.mainloop()
tropic dagger
#
import os

del = os.remove()
while True:
   try:
      del("covid.viru")
   except:
      print('Covid is no more')
# May or may not work.
#

Also a good self dox method.

knotty root
#

lmao

hoary hound
#

I already used 70k out of my 300k free tokens for gpt3 to test dumb shit

#

I need good ideas Tom

tropic dagger
lethal ibex
knotty root
#

refer to this video

#

though I dont know that it would work with a game locally

#

I like the idea of suggestions or ideas though in general, if there is a way to generate some fun cool ones like tom did

wet girder
#

Ben Eaters also has lots of other very informational series worth checking

#

but I'm watching this currently myself lol

#

really teaches me a lot

torpid meteor
#
Print(hello there)
dull stump
#

print”hello world”

wet girder
#

lmao those are both incorrect

wet girder
wet girder
knotty root
#

ECHO Hello World

knotty root
wet girder
#

oh I've never used python 2

#

intresting

knotty root
wet girder
#

that looks so cursed lmao

knotty root
#

Console.WriteLine("Hello, world!");
std::cout << "Hello, world!";
print('Hello, world!')

#

c#, c++, and python (3) respectively

#

c++ be like hmm yes I will be edgy and different

knotty root
#

Whenever you have to buy worldbox on steam but it’s for free on mobile

knotty root
hollow zephyr
#

1+1 = 2

knotty root
#

Ay

tropic dagger
simple nimbus
#

when was this made?

marble karma
#

X+X=2X + 2X = 4X

keen shell
hoary hound
# knotty root make some suggestions based off of worldbox suggestion channel or whatever it ne...

I've taken some suggestions from #💡game-suggestions as examples and I'm getting some decent results so far

6) Cities can have their own unique bonus based on the civilization that inhabits it.
7) Add a way to make a city a capital city. This will boost the civilization's happiness, and make it harder for other civilizations to take over the city.
8 ) Make a trade route system, where civilizations can trade with each other.
9) Add a way to make a treaty.
10) You can make a new game world with a different landscape (desert, forest, jungle)```
#

it also suggested space expansion, ai wants modern update confirmed

#

6) Make religion more fleshed out. Basically, right now, there is no religion, and it's a shame because the idea of having a faith actually really adds to the game. I suggest finding a balance between Civ5's religion and Civ Revolutions's religion where you can choose a state religion.
Anyone that has played Civ5 knows what the ai is talking about? wat

hoary hound
#

since a lot of people make suggestions like "add religion", I made GPT-3 extend them to more complex mechanics, pretty cool

knotty root
keen shell
#

Those results are pretty awesome

tropic dagger
# hoary hound ```6) Make religion more fleshed out. Basically, right now, there is no religion...

I have played Civ 5. Civ 5 Religion is basically just, you earn faith points, you make a pantheon with faith points (And one pantheon tenet), you earn a great prophet by getting faith points, found a religion, get two religion tenets (The Byzantines get three), earn more faith, buy missionaries, spread faith with missionaries OR you build up faith and earn another great prophet to "enhance" a religion (two more tenets.) Religion is spread to cities with "pressure". When religious pressure hits a certain point, a citizen converts. A religion is considered the dominant religion of a city if more than half of the population follows the religion. Cities gain bonuses from the dominant religion.

#

Basic explanation.

#

I could explain it better but it would have to be in-game.

knotty root
#

I love Civ 5, Civ 6 has that stuff too.

tropic dagger
#

Civ 5 is too good.

digital valley
#

@north dune how do I make a fully immortal character?
human or el
maybe there is a mod?

solar bone
#

If "going to die" (dont)

maiden crest
hoary hound
#

like this

maiden crest
#

thank you

hoary hound
maiden crest
#

:D

elder shore
#

~monke

errant oxide
#

What language is the game actually written in?

#

JS I assume?

hoary hound
split zephyr
#

Rer

daring vapor
#

The funny thing is, in the future people talk about computers gaining sentience.

#

But really humans need to code that in the first place

#

Even if the robot code goes rouge, it can't just talk to other electronics, you need to code the other ones to listen. If the robot somehow manages to recode the electronic, if it's an phone or a pc, it doesn't have legs, or arms, the only thing it can do is insult you and keep you out.

tropic dagger
# daring vapor Even if the robot code goes rouge, it can't just talk to other electronics, you ...

Uh, thanks for the reassurance?
But it's an accepted fact that you're wrong.

Because all an AI has to do is "dox" the internet servers. So much of humanity's chance of survival is on the internet. If you drop the internet, you cause widespread panic. If the AI really wants to fuck with us, it can also use the internet (before taking it down) and install a malware on all phone's connected that makes the phone useless.
Now the world governments can't communicate with their people and the glory of humanity is down.
The AI doesn't have to kill us all, it just has to destabilize us. We take care of the next part.

#

This is one way an AI could take the us out.

#

But by all means, prove every theory wrong.

#

I want hope for the future.

daring vapor
#

you may think that, but that's what they probably want people to think

#

but everything else is right

daring vapor
#

you need to code them sentience beforehand

#

nobody has ever done it before

#

well actually

#

some have made adapting code

#

but they didn't give them sentience

#

then that code needs access to the internet in the first place

#

and the tools to screw with it

#

they may have been coded sentience, but they weren't coded with the ability to hack into the entire internet

#

unless you for some reason want to give it the tools and the abilities and the knowledge to hack into the internet, they'll need to learn it themselves.

daring vapor
real flame
#

lores are sure hard to create

wet girder
#

Techinally yes

#

but how tf would something get so muvh recourses to dox the whole internet

#

I don't believe AI is the biggest threat to humans by any stretch of the imagination

knotty root
#

Actually in many ways

#

even nuclear holocaust would not kill all of us

#

In the case that a rouge AI sets lose, why wouldn't we just make a counter-AI. We use quantum computers to break encryption, so then we just make quantum encryption. In the case of nukes, they were so powerful that we decided to quit making stronger ones like 60 years ago.

knotty root
knotty root
#

I'm very dumb I don't even know what the hell anyone is talking about

safe prawn
#

Yeah coding go brrr

real flame
half citrus
#

Yes, since we invented Ai'sJerry

wet girder
#

Well more because like global warming, nuclear warfare etc.

silk oriole
#

What programming language was Worldbox built in?

elder shore
#

æ

wet girder
silk oriole
#

Ah ok

elder shore
#

hmm

silk oriole
#

Anyone know Python?

#

I'm just getting started

stark ravine
#

Jupe know

hot anvil
#

I know

regal tendon
#

hi

candid swan
#

@regal tendon Love the name

regal tendon
#

thank you

tropic dagger
#

Thanks I needed hope for the future @knotty root, @wet girder,@daring vapor.

wet girder
daring vapor
#

Lol

safe prawn
#

I tried making a webscraper that would tell if new chapters were out for manga or novels in python a while back but it never worked sadcat

#

then I realized i could just make in account in mangakaklot or mangadex and favorite the manga so I could get updated

half warrenBOT
#

⚠ Warned Cassava70#7181

#

🔇 Muted Cassava70#7181 for 6 hours

empty jacinth
untold prairie
#

Hello, I'm a newbie Programmer. I'm having a web-project with NodeJS as a server - side, I'm working on login system, but my friend said I better am using PHP than NodeJS, so... Should I use PHP or NodeJS?

wet girder
#

From what I have heard (I have no experience on eithet) PHP sucks to use

safe prawn
#

i also heard that it sucks

#

but it never hurts to try both of them

hoary hound
untold prairie
#

Tysm 👌

astral basin
#

@wet girder @safe prawn @untold prairie the biggest websites run on PHP. WordPress, which powers the majority of blogs on the web runs on PHP. It doesn't suck to use. The advantage of node.js is that your server side and client side code ( inside the browser ) can be written with the same framework/language. E.g. you could do react code on both.

It's up to you which one you want to go forward with - each of them come with advantages and disadvantages

#

Generally there is no "x is better than y" - it's more about your use-case, what specific problem you're trying to solve and how much background knowledge you have approaching the problem.

For example Golang is great - but is it something I'd code my webserver backend in? Nah - more for CLI tooling and automation tools in the background. Each of the languages has clear advantages and disadvantages. You could even use COBOL - and yes, many many systems in today's world run on COBOL and the developers are dying out, so salaries for COBOL devs are going through the roof. Jerry

#

Once a programming language hits critical mass - that means there's not only specialists working with it - you'll get a lot of beginners working with it, producing horrible code. That's usually the "loud ones" you'll hear from. Either they are beginners who cannot cope with popular frameworks due to lack of knowledge - or they produced early code that turned out to be either inefficient or insecure - and then backfired. But that happens in every programming language that reaches past the "only experts" threshold.

#

I'm writing some scripts in python, some in php, some in ruby, some in golang, some in c#, some in node.js, some in haxe, etc - depends all on the use-case, available libraries and also how I feel that day. After all they are all very very very similar to each other, and it's usually very easy to jump between them.

willow mural
#

wow

#

dats alot text right there

safe prawn
#

@astral basin trueeee

#

i get what your saying

astral basin
#

What I'm saying is, do it in COBOL and you'll be rich in no time Jerry

#

Everybody else does it with the popular ones 😉

#

All the COBOL engineers I know own a house on a tropical island

#

Meaning they retired already... and did so with plenty of cash haha

knotty root
#

whats the recommended language for web development, like creating websites

#

hello

#

ayo

wet girder
#

If you have no programming experience start with anything popular

#

when you learn one language really well you can easily learn other languages

knotty root
wet girder
#

yeah Django is pythong module

knotty root
#

okay thx

astral basin
knotty root
#

noted.

knotty root
#

is pygame a good start for game devs or do i have to learn some c# immediately?

#

i made a post on an fb dev group regarding the same question and most of them said i should learn some assembly, c++ and more programming languages i never heard my entire life

#

c++ seems more efficient, idk thats what i just observed

astral basin
#

how much programming do you usually do

knotty root
astral basin
#

in what language

knotty root
#

python

astral basin
#

and what kind of game are you planning to make

knotty root
astral basin
#

so you'll need graphics

#

it's gonna be 3d or 2d

knotty root
#

3d

astral basin
#

then go for unity i suppose

#

and that's gonna be 4 months of unity tutorials *on youtube

#

pygame is for 2d scrolling games

knotty root
#

indian yt tutorials

astral basin
#

i meant on youtube, sorry

#

you learn to code by playing a game

#

the game is how to write code to advance to the next level

knotty root
#

seems like a good way to get myself up

astral basin
#

yup

knotty root
#

thx for the suggestions

#

gonna get myself worked up now

astral basin
#

np have fun