#⌨coders-cave

1 messages · Page 54 of 1

wet girder
#
    @commands.command()
    @commands.cooldown(1, 15, commands.BucketType.user)
    async def love(self, ctx, user:discord.User=None):
        if user == ctx.author :
            embed = discord.Embed(title="An Error Occured", description="You maybe need some love, but you can't send love to yourself", color=0x00ffff)
            msg = await ctx.send(embed=embed)
            time.sleep(5)
            await ctx.message.delete()
            await msg.delete()
            ctx.command.reset_cooldown()
        if user == None:
            embed = discord.Embed(title="An Error Occured", description="You need to define user!", color=0x00ffff)
            msg = await ctx.send(embed=embed)
            time.sleep(5)
            await ctx.message.delete()
            await msg.delete()
            ctx.command.reset_cooldown()
        
        else:
            embed = discord.Embed(title="You've been sent love!", description=f"{ctx.author} sent you love \nSpread love by doing: ``~love userid/ping``", color=0x00ffff)
            api_response = api_instance.gifs_random_get(api_key, tag=tag, rating=rating, fmt=fmt)
            embed.set_image(url=api_response.data.image_url)
            await user.send(embed=embed)
            msg = await ctx.send(f"Love sent to {user}")
            time.sleep(5)
            await ctx.message.delete()
            await msg.delete()

I have this code I can send from amp. It's the love command but I am just deleting it from amp

barren shale
#

Now you do

main brook
#

ah okay

random oxide
#

And I would never want to use anyone

main brook
#

@wet girder i can see that pep8 will scream

#

also time.sleep is blocking

wet girder
#

I know

#

I learned that a month after writing that

main brook
#

fair

wet girder
#

I should've used asyncio.sleep

main brook
#

and did you know send() have delete_after

barren shale
#

Xd

#

I guess he didnt

wet girder
main brook
#

and dats cool code

barren shale
#

Code looks clean

main brook
#

yes

barren shale
#

I would return instead of else

main brook
#

although pep8 will scream at you

barren shale
#

But i guess thats a preference

main brook
#

true

random oxide
#

😃 🙂

main brook
#

i used a condition before knowing i can return from a function

wet girder
main brook
#

it does yes

#

basically attach a delete message after X second in the background

random oxide
#

So friends?

main brook
#

sure i guess

wet girder
#

Should've read this before Ig lol

main brook
#

yes

#
    (no)
    async def (no)(self, ctx: commands.Context, who: Union[discord.Member, discord.User, None]=None):
        who = who or ctx.author
        size = random.randint(0,100)
        (no)
        embed = discord.Embed(
            (no)
            description=size,
            color=who.color
        )
        await ctx.send(embed=embed) 
untold prairie
#

i think python look cools

main brook
#

yes

barren shale
main brook
#

well preference

#

although python sucks at networking

barren shale
#

That might be a bit nsfw

main brook
#

oh right

wet girder
#

light nsfw tru so don't send stuff like that anymore

barren shale
#

Same thing

wet girder
#

ye but just ctx looks cleaner

#

idk

barren shale
#

Some people like to define stuff

main brook
#

typehinting for my text editor

#

so i dont have to look the docs

wet girder
#

makes sense

untold prairie
#

cool

main brook
#

it does

#

that's why ive been on crazy with typehinting on dynamic language

#

not like i ever used static typed language

#

other than typescript

untold prairie
#

you do typescript?

main brook
#

sometimes

#

if i want

#

dont fuck up the parameters type

#

better than asserting

untold prairie
#

oh okay

#

I also sometimes use typescript

#

for making a Discord bot

main brook
#

i make discord bot in python

#

one pros: a good command framework

#

cons: heavy shit on network part

#

like when you use Javascript for it

#

just a simple this and that

#

in a 2 second

#

your bot online

#

for me in python it took like 5s

#

(this is the runtime not the coding part)

cursive cedar
#

Does anyone have recommendations for modding worldbox for mobile as I really want to try coding a few things

north dune
#

my recommendation is to buy a pc and mod worldbox there

main brook
#

worldbox doesn't support mobile modding

#

but if you mean code on your phone

#

there's idk

#

i use vim

#

in a terminal emulator

bold rover
#

You Can Try Changing the code in the main game itself on mobile (But lol No)

tropic dagger
# cursive cedar Does anyone have recommendations for modding worldbox for mobile as I really wan...

Alright, so you'll want this IDE you can get it for free (there is, of course, a premium version, but all it allows is customization). It's called Windows. It's very useful and has these plugins that will make your life so much easier when it comes to modding. You can get a version of WorldBox made specifically for this IDE on the plugin called "Google Chrome" or the Windows version that comes shipped with it "Microsoft Edge". Then you can use that same plugin to download Visual Studio Code. After setting up the Visual Studio Code plugin and purchasing WorldBox on that Windows IDE, you can start doing things with the source code, but it may be even easier to use that Google Chrome plugin to find modding tools.
You'll also want to learn C# and Unity.

#

Mobile doesn't really agree with doing that stuff. Google doesn't (officially) like you modding things on their OS (but there some good apps on the play store that will let you code). If you're on iOS, then you have no hope for programming whatsoever, let alone modding something.
Maybe it's possible on Android but it's gonna end up being 3rd party tools and stuff you can't get on the play store + WorldBox mobile doesn't have modding support. It's just gonna be easier (and safer) to do it on PC.

#

Also if you read those big blocks you're a true gamer Chad.

main brook
#

or just be like me

#

code on mobile

#

and run on pc

#

for something like bare C# i can run it on my phone

bold rover
#

Wait coding C# on phone?

#

Awesome

main brook
#

yes

orchid frigate
#

it took me 2 hours to write 50 lines of rust code on phone

#

i have been scared of my phone ever since

untold prairie
#

im just using repl.it when i coding on my phone

main brook
#

i use pydroid3 for javascript and python

#

cxxdroid for C and C++

#

and i use vim for everything else

tropic dagger
main brook
#

no

#

but it have Javascript syntax highlights

#

i run code on termux not the editor xzibit

hoary hound
#

finally decided to get into machine learning, I lack a lot of theory but I can study it later xzibit

#

because math

hoary hound
#

I know I can follow a bunch of online tutorial

barren shale
#

Unless youre making your neural networks from scratch

hoary hound
#

but understanding the underlining math can help

barren shale
#

Yea

#

But calculus isnt for everyone

#

I made an AI that learns how to play snake

#

I dont have a GPU tho

hoary hound
#

At university one of my first exams will be Calculus 1 so xzibit

barren shale
#

I mean some of it isn't that hard

#

In syria we get calculus in 12th grade

#

Like the whole thing

#

Limits derivatives and integration

#

Its probably not the whole thing

#

But most of the things

#

Do you have a good GPU

#

You will need one

hoary hound
#

do you really need a good gpu to run ml algorithms?

#

or is it just for training

orchid frigate
#

for anyone that knows c++, is the following code a type of constructor?

class TestClass{
    public:
        TestClass(int something);
        ~TestClass();
};

barren shale
#

Unless you have a huge neural network

#

But it makes it so much faster

#

I want to send you my snake deep q reinforcement learning

#

But i dont have my pc

#

It took like 1 day for it to play meeh

#

Because i didnt have a GPU

hoary hound
#

I'm not doing deep reinforcement learning tho

knotty root
#

for training its ideal that your gpu has tensor cores

#

for running the algos its better to have cuda cores

tropic dagger
tropic dagger
#

I don't have premium though if that makes any difference.

main brook
#

@tropic dagger

#

well you do need the file to be .js extension

tropic dagger
#

Ah ok.

#

Makes sense.

tribal idol
#

👀

#

🏃‍♂️ 💨

left portal
#

👀

main brook
#

what?

left portal
#

Sorry im not speak english

#

😎👌

barren shale
#

It takes time

#

But you see the progress in real-time

bold rover
#

It's helpful for some AI applications to, (Probably more irl use cases)

barren shale
#

Nah

#

Reinforcement learning is good for playing games

#

Because it learns based on mistakes

#

Some irl use cases cant relay on something that makes mistakes

#

Like driving a car

#

I dont want my car to jump of a cliff to learn that it shouldnt so that

barren shale
#

For real life things

#

People use supervised learning

bold rover
#

I mean RL and DL like both things

#

Nonetheless gn! I want my bed closed to me today

main brook
#

you know you're hardcore

#

when you start building logic gates in minecraft

#

and made a whole program

#

in minecraft

wet girder
#

lmao

bold rover
#

Really simple but it's working(Not Totally simple lol)

fierce epoch
#

@north dune i do it here cuz

#

yah

north dune
#

okay

#

and if its not c# im less likely to know but can still look

fierce epoch
#
stuff = ["i", "have", "kids", "in", "my", "cave"]
list = ["i", "love", "cupcakes"]
for thing in stuff:
  if thing in list:
    #do nothing
  else:
    stuff.remove(thing)
#

thus should be good

#

lol

hoary hound
#

Damn python looks like pseudocode lol

fierce epoch
#

I mean

#

yeha

#

it's very easy

#

just sometimes

#

for no reasons

north dune
#

for thing in stuff:

#

for thing in list

#

not stuff

#

probably

fierce epoch
#

no

#

wait

#

let me

#

edit

north dune
#

its not being used

fierce epoch
#

ok

#

edirted

north dune
#

okay

fierce epoch
#

Only "i" should be remaining ?

#

right ?

hoary hound
#

Just reverse the condition

north dune
#

or foreach

#

in c# foreach loops cannot modify the list during the run

hoary hound
#

Looks like a foreach

fierce epoch
#

no

north dune
#

for loops can though and theyre set up a little differently

fierce epoch
#

it can

#

edit

hoary hound
#

It can mess up the loop

#

I think

#

If you remove stuff while looping

north dune
#

if its not that then yeah im not sure

hoary hound
#

Probably will make it end sooner

north dune
#

it looks like it would work

fierce epoch
#

I mean it never did an endless loop

#

just

#

some elements get deleted from the list and some other not

north dune
#

not really about being endless or not

hoary hound
#

Not endless, it will probably end sooner

#

Because you are deleting stuff while you are looping through it

fierce epoch
#

yeah

#

while iterate think

hoary hound
fierce epoch
#

i think my brain is just jammed by what's happening around me

north dune
#

you need to remake the list basically

#

with its new elements

fierce epoch
hoary hound
#

Yeep

north dune
#

not just remove from an exisiting one

#

this is a lot different from how list works in c#

hoary hound
#

Doesn't the same happen in c#?

north dune
#

no you can use list.Remove in c#

hoary hound
#

And it doesn't mess up the loop?

north dune
#

you cant remove from lists in the middle of a foreach though

hoary hound
#

Oh

north dune
#

you have to use for loop instead

#

and then it can work

north dune
#

i should clarify

fierce epoch
#

i mean

#

cloud can

#

you come in

#

amp server

#

2 secs

hoary hound
#

Ok

tropic dagger
#

I'm doing a sting operation and need kids.

orchid frigate
fierce epoch
orchid frigate
#

I think it doesn't because the for loop always has an object is it, as it loops through all the objects and breaks, I'm learning about loops too from this

#

Anyway so it has been 4 weeks now

#

Ever since I first tried rendering sprites in opengl

wet girder
wet girder
orchid frigate
#

Does it loop once without an item once or something?

wet girder
#

I don't really know but I know the code works for sure

main brook
#

breh

#

could just do

#
stuff = ...
stuff = [i for i in stuff if i in list]
#

also naming a variable list is unacceptable

#

since list is a global variable for list class

wet girder
#

tru lol

orchid frigate
main brook
#

that's list comprehension i guess

tropic dagger
main brook
#

in short

#

stuff will just be "i"

#

also

#

forgot to mention

#

we can't change the iteration size when iterating ig

#

it gives me weird results

#

like this ```py
a = list(range(10))
for i in a:
a.remove(i)
print(i)
print(a)

0
2
4
6
8
[1, 3, 5, 7, 9]

#

same applies to generator type that relies on iterable like list

#

like enumerate

#

and such

barren shale
#

Thats why its giving weird results

main brook
#

and my head hurts

#

reading that

barren shale
#

You need to copy the list

main brook
#

i just woke up

barren shale
main brook
#

imagine getting error code 429 trying to open your assignment

barren shale
#

Sorry teacher i got the 429

main brook
barren shale
#

Imagine waking up at 3:30 am to revise math

#

Cuz ur exam is on 8 am

main brook
#

can't imagine because i hate math ripbre

#

and goodluck with that exam lol

barren shale
#

Thanks

north dune
#

or am i missing something lol

main brook
#

yes

#

latter one

north dune
#

cool

lofty spade
#

i don't know how to code, but i entered this cave

main brook
#

welcome

#

we have bunch of easy stuff

#

like variables, condition, loop, function

#

and datatype

#

if you go deeper you'll be fighting about networking, ui, os, compiling, etc

#

if you're outside you'll just see a bunch of cavemen doin something crazy but after you go inside it all make sense

lofty spade
main brook
#

its like

#

in human form

#

its value of something (variable)

lofty spade
#

ok

main brook
#

eat if we have food otherwise starve (condition)

#

do this while im still here (loop)

lofty spade
#

i see

main brook
#

a command to ask your little brother to do a task simpler than saying "do this and that" just "go clean house" and he will go wash dishes, sweep, mop, etc (function)

#

this is a computer and this is a monitor (datatype)

#

and that's it

lofty spade
#

wow i now know more about computers than i did 3 minuits ago

main brook
#

yes

#

another good example of function is

#

instead of saying "im gonna grab the food with the utensils and put it in my mouth and chew it and swallow it" just say "im gonna eat"

knotty root
#

ok

wet girder
untold prairie
#

w h a t

#

why there's so many stars and forks

wet girder
#

and the amount of contributions is the weirdest

main brook
#

bois we did it

#

now developer weebs can have a developer waifu

bold rover
#

Wait is there a Waifu dataset Text 🤔

#

I'll regret thinking that later

mossy cedar
#

devs just dont spend most of their google time on stackoverflowwbsmirk

#

if you know what i mean

#

which pretty much sums me up

stone veldt
#

console.log("hello all");

wet girder
#

Just coded 6 hours straight and made 36€ Cool

bold rover
#

Noice but ah?

#

🤔

main brook
#

that's 49€

#

and it was from 8am to 12pm

wet girder
#

lol

main brook
#

also what did you code

#

I WANNA SEE

bold rover
#

Ow

main brook
#

4 hours

#

we were kicked out

#

so its only 4 hours

#

damn you security

bold rover
#

Ow I was shock to -

#

Um

#

Well that's actually shocking

main brook
#

yes

wet girder
#

best thing about my summer job is that it is meant that I learn from it and that the company behind it doesn't make profit

#

I can probably push the code to Github but it is very simple

main brook
#

ooo nice

forest rampart
wet girder
#

I've created love hate relationship with JavaScript after about 10 hours of using it

dim pendant
#

I know like 10 different scripts Sorts or smth
Yet i only know 2 scripts thingy of one script

wet girder
#

Keep it sfw please

main brook
#

woops

wet girder
#

Apparently half of the internet has been down and I haven't even noticed while I've been working lmao

main brook
#

lmao

hoary hound
#

Bruhh they've already updated the wikipedia page, those guys have no chill

wet girder
#

What thing even stopped working?

hoary hound
#

Fastly CDN (Content Delivery Network)

#

Apparently if was used by a lot of big companies

#

Like reddit, Amazon, etc

#

and also the uk government lol

wet girder
#

My boss sent this in the company Discord server I have summer job in and then some people started talking about half of the internet being down and I was like

bold rover
wet girder
#

Well discord and google weren't down so I didn't even notice anything because those were the 2 things I was using apart from computer applications like Visual Studio Code

bold rover
#

I barely check Reddit and Twitter today So I didn't noticed anything to

#

(Surprisingly YouTube Isn't down)

main brook
#

i was on gogoanime

#

the whole day

#

also i dont have reddit nor twitter

bold rover
#

Well probably most of us didn't noticed it 🤔

main brook
#

everyone in twitter busy with research about their next argument

#

and reddit trying to find bunch of stupid stuff to be posted

#

yes

astral basin
wet girder
#

lmao

knotty root
#

I Understand

wraith dune
#

C++ based

main brook
#

fuck C++

  • this post is made by the high level gang
knotty root
#

i dont now about code and i cant help UWU

tropic dagger
#
  • this post was made by the C++ gang
#

More from the C++ gang:
We actually can be classified as high-level as well but we have features that are low level.

#

So we're weird.

main brook
#

yes

#

although imo

#

C++ is better than java

#

its harder than assembly :flosh:

#

but i love binary better Tophat

rain beacon
#

:0

#

C family gud :0

wet girder
#

Indeed

rain beacon
#

Yepz

#

I code few languages, so I'm non binary sometimes.-.

wet girder
#

I code with Python, JS and C++ mostly

#

atm I am at work coding with JS and React which is JS libraby but a huge one

bold rover
#

Guys EleutherAI GPT-J 6B (The J is the name of framework) is announced

#

Link

#

Have fun :)

#

Also when It doesn't spew out outputs it's probably server traffic is high

barren shale
#

This is what i got for Hi

bold rover
#

Ye

#

Language model go brrrr

#

Also GPT-neo has no association with gpt-3 or OpenAI

barren shale
#

But gpt-3 is still better

bold rover
#

Also over time GPT-3 or gpt-neo can be topple by future language model

barren shale
#

GPT-H 😳

orchid frigate
main brook
#

Ha jokes on you

#

i dont use openGL

#

...

#

:cri:

orchid frigate
#

Haha jokes on you

#

That's a good point

knotty root
tropic dagger
tropic dagger
#

Don't know how good or bad it is yet.

untold prairie
#

discord.js v13 when

main brook
#

never

#

im waiting until i can find a way to send socket actually asynchronous

broken dagger
#

Any world box coders i have a question pls dm

knotty root
barren shale
#

You can ask here

#

Someone might know the answer

hasty bane
#

so i tried c#

#

sadcat it hurts

#

a lot

keen shell
#

c# was for me the easiest language to get started with

barren shale
#

Depends on what language you learned first

knotty root
#

The first one for me was lua so I can learn python easier

trail ocean
#

sad noisy from guy who use XML only

main brook
#

xml is not a programming language :flush:

main brook
#

do you know how metatable works

knotty root
#

Lemme take a look

barren shale
main brook
#

true :flush:

#

if it can be run with the os then its a programming language

#

😳

hasty bane
# keen shell why

because I'm learning it for rimworld modding and there's some complicated shit that i don't yet understand hagrid

orchid frigate
#

I mean I still can without knowing it but there are some parts that I don't understand and i don't even know If I translated it right half the time

wet girder
#

I hate making clickHandlers for website buttons

#

they never work like they're supposed to

#

It is supposed to add a letter to this and not null ree

barren shale
#

U just big nub

#

Git gud nub

#

Imagine making more money in 6 hours than the average syrian in a month

#

And ur a nub

wet girder
#

Lmao

#

The problem is that for some reason if you put <img> in button it for some reason changes data-symbol to null

#

and I have no idea how tf to fix that

#

fuck, I just had to change:

const char = event.target.getAttribute("data-symbol")```
to
```js
const char = event.currentTarget.getAttribute("data-symbol")```
#

I feel dumb ngl

orchid frigate
#

Probably the best thing I have done on phone because goddamnit isn't coding on phone annoying

bold rover
#

Nice wow

barren shale
#

What is this

#

Ive made rotating donut

orchid heart
#

.

sleek nebula
#

.

barren shale
#

.

orchid frigate
#

.

orchid frigate
orchid frigate
tropic dagger
#

.

barren shale
broken dagger
#

Hasbullah nurmagedov

#

Abdu Rozik

#

Khabib Nurmagedov

rain beacon
wet girder
#

Holy shit

#

that's a lot of languages

#

I've been 4 years and I know only 3 languages well and you code with 7 languages

dreamy lava
main brook
wet girder
#

Why does roblox use Lua anyway

knotty root
main brook
#

although luau was also made with C# too i think

bold rover
#

I mean C# isn't easy?

#

🤔

wet girder
#

It's kinda easy. Not the easiest but definetly not hard

main brook
#

its hell and heaven had a baby

wet girder
#

I did 6 hours of work today at work on work laptop and forgot to push any of it to GitHub

#

I have to redo everything

#

Good I had kinda unproductive day today though

hoary hound
#

are the changes you made still on the laptop local repo?

main brook
#

today i used bootstrap

#

and it drives me insane

#

as much like the raw css

wet girder
#

I like bootstrap

tame shell
#

``trait editor machine (C++ visual studio)
#include <iostream>
using namespace std;
class bannou {
public:
void NumberofTraits();
int HP_wor = 0;
int attP_wor = 0;
int defP_wor = 0;
int speed_wor = 0;
int critical_wor = 0;
int attspeed_wor = 0;
void multiplication();
void calculate();
private:

};

void bannou::NumberofTraits() {
int i = 1;

if (i == 1) {
    cout << "ステータスを自由に入力してください" << endl;
    //hp
    cout << "Hp:"; cin >> HP_wor; cout << endl;
    //attack point
    cout << "attackdamage:"; cin >> attP_wor; cout << endl;
    //defence point
    cout << "defencepoint:"; cin >> defP_wor; cout << endl;
    //speed
    cout << "speed:"; cin >> speed_wor; cout << endl;
    //critical
    cout << "critical:"; cin >> critical_wor; cout << endl;
    //attackspeed
    cout << "attack speed:"; cin >> attspeed_wor; cout << endl;
};

int h = HP_wor / 10;
for (h >= 0; h--;) {
    cout << "immortal, ";
}''
int a = attP_wor / 3;
for (a >= 0; a--;) {
    cout << "strong, ";
}
int d = defP_wor / 2;
for (d >= 0; d--;) {
    cout << "tough, ";
}
int s = speed_wor / 10;
for (s >= 0; s--;) {
    cout << "fast, ";
}
int c = critical_wor / 30;
for (c >= 0; c--;) {
    cout << "lucky, ";
}
int as = attspeed_wor / 30;
for (as >= 0; as--;) {
    cout << "agile, ";
}

};

void bannou::calculate() {

}

void bannou::multiplication() {
int mul_cin[2];

cout << "数字を二回入力して下さい." << endl;
cout << "○ × ○" << endl;
cin >> mul_cin[0]; cin >> mul_cin[1];

cout << "結果はこのようになります:" << endl;
cout << mul_cin[0] * mul_cin[1] << endl;

}``

#

``int main() {
int ans = 0;
cout << "なにをしますか?" << endl << " 1: worldbox trait 計算 2: 掛け算 " << endl;
cin >> ans;

if (ans == 1) {
    bannou worldboxtraitconversion;
    worldboxtraitconversion.NumberofTraits();
}
if (ans == 2) {
    bannou kakezan;
    kakezan.multiplication();
}

}``

main brook
#

ooooo

#

im raspberry pi

#

i cost $35

#

But no shit it cost like $140 here

#

twice the actual price

bold rover
#

Wha

bold rover
#

Why

main brook
#

ooo you're still a kid dont waste money

#

says the mom that bought me 2 clothes with extra $10 added than my raspberry pi

#

mom having good wisdom that doesn't turn my hope into despair

#

and i was being sarcastic about that last one

main brook
#

wooo

#

im finally getting my own raspberry pi

#

i can now host my server on a non phone platform

main brook
#

so 1TB sdcard cost

#

$14

#

in my own country

#

but when i buy it from overseas

#

it cost like

#

$2.8

barren shale
#

TaX

#

And this is too much

#

Theres probably a monopoly going around

knotty root
main brook
#

but my mom used promo

#

so its 0

barren shale
#

No

#

I mean import tax

main brook
#

ah yes

#

import tax are shit

#

raspberry pi are just $35

#

but guess what

#

its like $45 here

#

even some are very pricy it cost $80

#

also the one i bought is from overseas

#

das why is cheap

#

also flash discount flush

#

its supposed to be like $20

bold rover
#

Why are you planning to host a server?

#

Ow im dumb WowPika

main brook
#

because reasons flush

#

also because my phone can't afford to open port 443 or 80

#

unless rooted

#

which are impossible for blackberry phone

#

with low software mantainer

bold rover
#

True true

valid oar
#

*afk

orchid frigate
#

When Hamza comes on ask him about Minecraft 2D 😳 for me

serene bronze
#

what is this place ment to be

hoary hound
orchid frigate
#

Can someone come online I wanna talk about coding 😔

wet girder
#

I was watching E3

#

I'm here now :)

orchid frigate
#

Wait that's todayhagrid

#

Oh well I guess I will watch it next time

hardy plover
#

dunno how to code but hey, seems like a fun channel

main brook
#

today my raspberry pi will arrive

#

but the sdcard is not arriving today

serene bronze
main brook
#

my raspberry pi just came angery

main brook
#

THERE IT IS

#

the amount of happiness of this is out of my bound that i have to allocate them to a different process called "my mom"

wet girder
#

I bought this kit from canakit about a year ago and used to host amp on it. Nowadays it's mainly my ethical hacking testing machine

#

Like, if I happen to break it's os while testing stuff I can just flash new os in like 5 minutes.

#

If that'd happen on my pc I'd lose all my important stuff and getting windows back working takes hours for me usually

hoary hound
#

orr you could use a virtual machine Thonk

#

since it's sandboxed you shouldn't be able to damage your hosting os

orchid frigate
#

Ahhh too many long terminology words

#

All I know is nested loops and if statements

hoary hound
#

I need to know everything about virtualization for my final exam wbsmirk

#

that is probably in 3 or 4 days Tom

#

I'm dying inside

orchid frigate
#

I have a Bulgarian exam in 3 days

#

And then a maths exam in 5

hoary hound
#

this is like my last exam, I have to know everything we did this year for all subjects, my last week has been like this:
wake up
breakfast
study
lunch
sleep a bit
study
dinner
study
sleep

#

yeah I'm totally fine aye

wet girder
hoary hound
wet girder
#

It's a bit harder and requires totally different knowledge than using hardware

orchid frigate
#

For everything I do I use software because 1. I'm not patient with enough to wait for hardware to arrive and 2. I can't work with hardware for shit

wet girder
#

I'm quite comfrotable working with hardware

#

more comfrotable than with software

#

I know nothing about software still

hoary hound
#

I'm on the opposite side lol

#

I can't do shit with hardware

orchid frigate
#

If you asked me what a CPU is I would probably answer a robot I'm that bad with hardware

#

But with software....I'm still bad lol

#

Just a bit less

orchid frigate
#

Look I know this will sound ridiculous

#

But I think I have changed the dimension and style of my project completely for a...5th time?

#

If I change it again I think I will have ran out of game types

tropic dagger
#

Come on you gotta at least know lambda.

wet girder
#

I don't even know lambda and I've been coding for 4 years

tropic dagger
#

Damn.

wet girder
#

never understood them nor saw them useful lol

tropic dagger
#

I've truly started this year and I'm moving into lambda and stuff so I can buff my knowledge of general programming.

orchid frigate
#

I can make some simple stuff

#

And maybe more complex

barren shale
#

Lambdas are pretty easy and useful

main brook
#

oh no i forgot to buy the cooling essential

#

is my pi gonna be ok without em

#

i have a fan

#

i can use

#

big fan

#

a general use fan

eager ore
#

I will put a human in a giant cup

main brook
#

why

eager ore
#

Why not

main brook
#

idk

barren shale
#

Its gonna run hot

#

But its ok

main brook
#

great

#

also my adapter doesn't work

#

i checked the input is AC 100-240V

#

and my port is like

#

max 250V

#

but it won't turn

barren shale
#

Doesnt matter the volt

#

Its probably the amps

barren shale
main brook
#

fair

#

no

barren shale
#

Or are you using a phone charger

main brook
#

the phone charger work

#

but the ac dc adapter not

barren shale
#

What adapter

main brook
#

ac dc

barren shale
#

What do u use it for

#

To run it ?

main brook
#

yes

#

this thing

#

i take this from google*

barren shale
#

Outputs 1 amps

main brook
#

this one im using

#

is

#

5V-3A

barren shale
#

What raspberry pi you have

main brook
#

3B+

#

also the charger i used that work has 5V-1A

#

output

barren shale
#

Idk

#

Seems enough

barren shale
main brook
#

what

barren shale
#

Depends on what phone ur using it on

#

The output vhanges

#

On a phone charger

main brook
#

fair

#

well how come a charger with output 5V-1A works

#

but not 5V-3A

barren shale
#

You sure it doesnt have more than 5V-1A

main brook
#

also

#

my brother have a 4A output charger

#

lemme try it

#

it works

#

huh weird

barren shale
#

Chargers are not recommended

#

Maybe just get the official power supply

#

Chargers have unstable voltages

barren shale
main brook
#

crap

#

i better complain

wet girder
#

I used charger but it didn't provide enough power

main brook
#

good thing the shopping website have a free refund within 2 days after package is sent

barren shale
#

Just get the official power supply

wet girder
#

The official power supply is 12V-5A if I remember correctly and raspberry pi wants that much power usually

barren shale
#

Using a phones charger can corrupt the sd card

barren shale
wet girder
#

Oh hmm

barren shale
#

With the USBs

#

Without them a 1.5A is enough

main brook
barren shale
#

Hope you dont lose ur sd card

#

Atleast use an original phone charger

#

With an original cable

#

And not a cheap knock off

#

Cuz these have the best quality

#

So the voltage isn't as unstable

wet girder
#

It's really worth it bying good grade power supply

#

you really don't want to kill useful hardware because you cheaped out on power supply

main brook
#

my budget is like $69

#

and things that is official from overseas

#

cost twice the actual price

barren shale
#

The offical one is liek 15$

main brook
#

and guess what

barren shale
#

So 30$

main brook
#

exactly

barren shale
#

Still in your budget

main brook
#

right right not including my pi?

#

which cost like

#

42

barren shale
#

Well its ur choice

main brook
#

yes

wet girder
#

I'm thinking of buying a monitor for programming with like 100€ budget but idk what monitor to buy

#

I also could buy blue yeti nani for 60€ but idk if i want to pay that much for mic

#

even though it's 50% of the original price

#

but I really want to buy it ngl

clever pewter
#

E=mc^2

astral gust
#

How do I code

gusty cobalt
#

You do stuff

bold rover
main brook
#

search

#

"How to learn binary"

#

and you can speak fluently

#

with computers

#

and have easy time learning the bridge to connect human language with binary language

#

aka programming language

wet girder
#

lol

bold rover
#

This to

orchid frigate
bold rover
#

I know :0

orchid frigate
#

You can learn some complex language like c++ or rust and you will probably have a better understanding of coding then if you just blindly follow tutorials

wet girder
#

I've wrote like 200 lines of JS code today and I hate it and love it

orchid frigate
#

It looks similar to c# so I understand how you feel about it

wet girder
#

JavaScript is pain but I still like it

#

React is even more pain

#

and yet the same thing

knotty root
#

hey guys not trying to flex but im the best coder here

#

wont to see some?

#

/give@s64diamondblocks

#

ik calm down its insane

wet girder
#

that wouldn't even work

#

it'd be /give @s minecraft:diamond_block 64

barren shale
#

JavaScript isnt really that hard

#

One time i used it to write a script that plays chess automatically on lichess

#

Ran it overnight

#

Woke up to the account reaching 2700 elo then getting banned xzibit

wet girder
#

lmao

main brook
#

for some reason

#

the sdcard out of stock

#

now im getting the 128GB

wet girder
#

That's way too big but poggers

barren shale
#

You never know

#

You might want to run something that needs a lot of ram and you dont have enough

#

So you can use the extra space as slow ram

wet girder
#

swap

main brook
#

i wannna turn my

#

32GB of storage

#

into VRAM

#

since my raspberry pi only have 1gb

#

also you're right

#

128gb is too much

#

what should i fill it with

orchid frigate
#

real coders code in minecraft command block

barren shale
#

Oof only 1 gb ram

#

When im gonna get mine ill get at least 4gb

main brook
#

i mean 32gb of 128gb

#

is gonna be a vram

#

let me do math

#

128-32 = 96

#

96gb left

#

for storage

#

i wonder what i will fill it with

wet girder
#

atleast os takes some

main brook
#

probably less than 10gb?

#

because if raspbian takes like more than 10gb

#

boy im dead

barren shale
#

The os should take around 5 gbs

#

Depending on what os

#

It doesnt take that much

main brook
#

fair

main brook
#

apparently

#

someone want to play a game

#

but their network sucks

#

so they weren't able to login to the the server

#

and they kept asking how to fix it

#

and then when someone came with a conclusion

#

that their network has issues

#

they said

#

fix my network

#

its similar to how newbies are in programming server

#

"fix code pls"

#

"how to do this help pls"

barren shale
#

Not similar but ok

main brook
#

oh right context

#

i forgot to give them

#

nah i think its fine

wet girder
cedar plinth
#

i can't script c# but do you know where to find the sprite images for the houses

#

in the files

#

i'd like to experiment

barren shale
#

Y o u c a n t

cedar plinth
#

awe man

#

that's unfortunate

barren shale
#

They are encrypted

cedar plinth
#

ohh

#

i see

#

damn

wet girder
#

You can actually I think

keen shell
barren shale
#

Yea

#

I wanted to tell him to ask cody

#

But i was too lazy

wet girder
tranquil magnet
#

Helo I am a begginer programmer

knotty root
tranquil magnet
#

C#

#

And a few others

knotty root
#

tahts cool

#

why learn so many at once?

#

@tranquil magnet

tranquil magnet
#

Not at once

#

Like I'm doing it one after another

knotty root
#

oh alr

#

are u planning on making a gam?

#

game

#

@tranquil magnet

tranquil magnet
#

Ye

#

Kinda

#

I just learn it for fun

#

I've already learned JavaScript css and html but I meant I a was a begginer programmer for c#

knotty root
#

oh

tranquil magnet
#

I just wanna learn it so I can do stuff on my free time

knotty root
#

ok thats cool

#

very

vapid hatch
#

-vote Hurricanes

main brook
#

so this is the DC adaptor

#

which doesn't work

#

for my raspberry pi

#

this is the AC charger that works

#

all i see the difference is that the DC have 3 color

#

silver, copper, gold colour

#

and the ac has gold colour

#

but how does the ac works but not the dc

wet girder
#

Also the difference in current. Raspberry pi uses DC current for it's components, it doesn't have PSU on the board so you need to give the board DC power

main brook
#

ah

#

BUT THE DC WONT WORK

#

only AC

barren shale
hoary hound
#

Oh look someone else with GPT-3 accessripbre

#

I've almost run out of free tokens

#

I've used it to generate Lua code and run it in a Roblox game, something like "make the player explode" and it would actually work.
The only problem is 60% of the time it would error because of small mistakes, and the tokens required were near the max so I spent a lot of them just for testing

#

I had the idea to make GPT-3 use predetermined functions that I would write in the game, and the ai would just generate the sequence of functions to be used, that would minimize the tokens required, but gives less freedom. Still cool to play around with.

barren shale
#

Wait theres tokens hagrid

hoary hound
#

I suggest you check out the billing pagexzibit

barren shale
#

I thought the playground doesnt have a token limit

#

Only for making applications

hoary hound
#

I wish it was like that lol

barren shale
#

Why is it not like that

#

The playground is such a small use case

#

That cant be used to generate profit

#

It should be free

hoary hound
#

Because people would come up with tricks to integrate the playground in their applications, therefore free gpt3 in your app think

barren shale
#

But that can be fixed

#

By removing their access

hoary hound
#

Ye but it still costs a lot to run the model so they charge you for every single query Tom

#

Except for the first 3 months they give you 300k free tokens

barren shale
#

Yea

hoary hound
#

Then you need to pay (help I've only got 60k tokens left)

barren shale
#

Tbh its not that expensive

#

6$ per 100k tokens

hoary hound
#

I mean it's not a huge expense for small projects, 300k of davinci tokens are just 18 afaik

#

Yeah

#

If you pick smaller models it's even cheaper

barren shale
#

You can get 1m for 6 tokens

#

With Curie

#

2 billion tokens with Ada maximanimpog

hoary hound
#

Lol

#

I've never tried Ada, I guess it works good only in specific fields

#

Davinci works almost everywhere lol

bold rover
#

But eh

barren shale
#

Windows 11 leaked

bold rover
barren shale
#

Ofc they do

#

Its not like they released it

#

Its just a leak so it wouldnt be ready

main brook
#

does normal array like from C have O(1) for addition, remove, accessing

#

considering i know the indexes of the thingy

#

im starting to forget

#

since im just using hashed things

#

for literally everything

#

like a hashmap and a hashlist

bold rover
#

Changes are nice for the moment

wet girder
#

I got accepted to IT vocational school today poggers

#

I'll be starting there 4.8 so in 1.5 months poggers

wet girder
#

Thank you Maxim blobheart

opal rock
#

Maxim actually responding to people

#

What type of sorcery is this

bold rover
#

Sounds lovely nonetheless

knotty root
#

I don't code but if you do your cool

#

🏃‍♂️💨

wet girder
wet girder
#

Indeed

#

I can code all day in school lmao

main brook
#

lmao nice

#

i wish i can do that

#

without some kids saying

#

"hey hack my fb and insta"

#

"hey he's hacking"

#

"teach me hacking"

wet girder
#

All my classmates from the school I used to go knew me and my friend were huge nerds who could code and do simple hacking so I never heard the end for those

#

But I got used to it

#

I have 2 hours of my summer job left and it feels weird because I didn't think I'd work on a project I'd need to be silent about before getting long term job after schools

#

I am not allowed to tell anything about this project before the company we made it for publishes it

#

which will take a long time

#

because we just made a prototype

main brook
#

ooo

bold rover
#

That's interesting

mossy cedar
zinc cedar
#

@astral basin are u guys ok with a fan game

bold rover
#

Don't ping

stuck marsh
#

Who else here working on a game engine?

orchid frigate
#

Me

mossy cedar
#

Im also interested in creating one but i only know pythonPensiveClown

bold rover
#

Wait no im dum

mossy cedar
#

bru

bold rover
#

Im dumb WowPika

orchid frigate
#

Unity has python in it for some reason

#

I mean I'm not complaining but I'm interested in how its like to code unity code in python

mossy cedar
#

interesting

#

wish i got more time to learn some other language

bold rover
#

Programmers meets game development

#

I wish I know ML/DL so I can make smart agents in Worldbox sadcat

mossy cedar
#

too preoccupied with electrical engineering stuff

bold rover
mossy cedar
#

maybe boot up unreal, get some premade assets and import worldbox stuff theretf

bold rover
#

God no 😄

#

I meant unity at first

#

I just forgot unity is a word WowPika

mossy cedar
#

ye but it would be funny if you made worldbox in unreal

#

but it'll be a problem as premade assets are most behind a paywall and it takes very long to do it from scratch

bold rover
#

True true

barren shale
wet girder
#

I was gonna do game engine but summer job hit and now I'm learning full stack web dev and my little brother wants help with Unity and C#

orchid frigate
orchid frigate
#

Which will happen at the end of june