#⌨coders-cave

1 messages · Page 59 of 1

main brook
#

why not delete the folder

mental jacinth
#

Wut

main brook
#

since you already have the folder zipped

mental jacinth
#

Why delete the folder when we have a mystery

main brook
#

we already have the zipped version

mental jacinth
#

Solve the mystery delete the folder

main brook
#

okay fine-

#

try checking the files permissions

bold rover
#

Actually don't delete the original folder

main brook
#

use root explorer

#

check the file perms

mental jacinth
#

Ok I will not

main brook
#

or use termux for terminal interface

bold rover
#

Imma check the zip file later when My Colab Die

orchid frigate
#

Wait tlwhere did they go

main brook
#

ono

orchid frigate
#

They aren't in my folder I extract ed them in

main brook
mental jacinth
#

Ahh

#

Oh god

orchid frigate
#

I will extract them again then angry

bold rover
#

Imma sort the Folder and Filter the images, Video, Text and sound files

mental jacinth
#

There video files in dat ?

bold rover
#

Later

orchid frigate
#

Ok found em

mental jacinth
#

What is in this

bold rover
orchid frigate
#

Tbh this kinda seems like malware

#

Really really random files

bold rover
#

True

mental jacinth
#

But antivirus doesn't catch this

orchid frigate
#

With even more random names

mental jacinth
#

Boris

orchid frigate
#

Who is boris

mental jacinth
#

Who is boris

orchid frigate
#

Boris is the man

mental jacinth
#

I know who boris is

orchid frigate
#

Chad man

#

Who is boris

mental jacinth
#

I think this boris

#

He knows java

#

But why he would have to do something with Xiaomi

bold rover
#

Russian hackers?

#

Hehe😄

mental jacinth
#

No

orchid frigate
#

He looks funny

mental jacinth
#

He is funny

#

But you can't tell that who is behind the mask

orchid frigate
bold rover
#

Also what happened to the small spider image when you reverse search it?

mental jacinth
#

This has nothing to do with this

#

This is what appeared in front the f me

bold rover
#

What happened when you try to QR scan it?

#

Actually no

orchid frigate
#

I'm not scared

#

I will try

bold rover
#

Probably there's nothing tho

orchid frigate
#

Actually those are pretty random codes

mental jacinth
#

I can't find the image

orchid frigate
#

Different from each other

mental jacinth
#

?

bold rover
orchid frigate
#

Wow?

mental jacinth
#

Wolframalpha then

orchid frigate
#

I'm confused

mental jacinth
#

We all are confused

orchid frigate
#

Wait if there is a system 32 and a syswow64 folder which makes a 64 operating system, wouldn't adding a systemWOW128 folder make the operating system 128 bit 😳 😳 🥶 🥶

mental jacinth
#

????

#

I don't understand

#

Syswow ?

orchid frigate
#

SysWOW

#

You have it on your pc

#

If you are on windows

#

Folders you shouldn't delete

mental jacinth
#

No my pc is ded

orchid frigate
#

F

mental jacinth
#

I mean it died from a lightning strike

#

And I didn't buy a new PC

#

my phone is only thing I use

orchid frigate
#

Am I dumb or is reborn.zip a website

mental jacinth
#

But think a folder named reborn ?
Boris.class ? All this part of an OS ?

bold rover
orchid frigate
#

Boris.class is my favourite class

orchid frigate
#

Website can't be reached

bold rover
#

Ow

mental jacinth
#

Ow

bold rover
#

Hmm🤔

mental jacinth
#

I also tried

orchid frigate
#

Boris.class pog

mental jacinth
#

What if you mix all this

orchid frigate
mental jacinth
#

I mean they are app components right ?

#

They can mixed to an app

#

I think

#

That makes sense ????

orchid frigate
#

Wait now that I have them on my phone will I also have creepy music randomly

#

😔 hagrid

mental jacinth
#

They stopped playing on 30/3/2021

orchid frigate
#

Pog

mental jacinth
#

They don't play automatically anymore

bold rover
#

Ow that's facinating

mental jacinth
#

I was scared so I deleted something randomly

#

And it stopped playing

#

And I forgot

#

But mystery called me back

orchid frigate
#

The internet doesn't say anything about this folder

mental jacinth
#

?

orchid frigate
#

Stupid internet is stupid

mental jacinth
#

Something tells me that that could work

bold rover
mental jacinth
#

Yes

bold rover
#

You just deleted one thing?

mental jacinth
#

My luck was on my side so I got rid of continuous playing of creepy music

#

Yes

#

Only one thing

bold rover
#

My pure guesses it probably has some internal Clock And played that random music when it's on time

mental jacinth
#

What is internal cock

orchid frigate
#

Wait

#

What did you delete

#

What extension

#

You may have broken the program

#

I think I understand what the .class files are

mental jacinth
#

Wait a second this one never played automatically

orchid frigate
#

Did you delete a .class

mental jacinth
#

I don't remember

orchid frigate
#

Basically

#

Let me explain

#

I think the .class files are classes from javascript

mental jacinth
#

Java script

orchid frigate
#

If they are inheriting eachother in any way

#

Or if they use eachother

#

They need eachother

#

Meaning deleting one would make the program miss essential files

mental jacinth
#

Actually what I deleted was an image I think

orchid frigate
#

So it can no longer run

bold rover
orchid frigate
#

Ok now I'm confused

mental jacinth
#

I deleted an image with unsettling things written on it

orchid frigate
#

How tf would an image affect the program

bold rover
mental jacinth
#

Because I didn't want to see that thing again

orchid frigate
#

The only way It can is if the program has a path to it which it needs

mental jacinth
#

When I deleted the image the folder was renamed automatically to reborn

orchid frigate
#

No path to the image == crash

orchid frigate
#

I believe it is the second one

mental jacinth
#

I believe it is the first one

orchid frigate
#

Obviously

bold rover
mental jacinth
#

If it was a malware it didn't have images with information

bold rover
mental jacinth
#

?

bold rover
#

What's the actual last thing you remember when you deleted the file?

#

Is it a Image file or?

orchid frigate
#

If this is malware it's very well done malware jeeze

#

Encoded code

mental jacinth
#

Image with a name

orchid frigate
#

Upon apps missing the folder changes name

bold rover
#

Hm

orchid frigate
mental jacinth
#

There was text written on it

#

Saber Entertainment

#

????

orchid frigate
#

Alright solved the mystery

#

Have you downloaded any games

mental jacinth
#

No

orchid frigate
#

From saber entertainment

mental jacinth
#

I googled them

#

They make PS4 and pc titles

#

I don't have a pc or PS4 or any game console

#

And I only play strategy games

#

Then how

orchid frigate
#

Well clearly they have something to do with the files

mental jacinth
#

There is something with saber and xiomi

orchid frigate
#

Boris wbsmirk

mental jacinth
#

Yes

#

But can you put the files together to see what happens

orchid frigate
#

I want to try to compile the .js thing

#

But it's all encoded

mental jacinth
#

Encoded means ?

orchid frigate
#

Its all symbols

mental jacinth
#

What symbols

#

My phone can encode stuff

orchid frigate
#

Random symbols put together to hide the code

#

Try to open

#

It in a code editor

#

The .js

bold rover
#

Just random symbols

mental jacinth
#

What they have to hide

#

Xiaomi is a tech giant

orchid frigate
#

Companies do that

#

Most code is actually encoded

mental jacinth
#

But saber Entertainment

orchid frigate
#

Glfw is encoded

#

For some reason

#

I want to modify it but angry

mental jacinth
#

Glfw what is ?

orchid frigate
#

A library which is used to work in opengl

#

I use it all the time

mental jacinth
#

Hmm

orchid frigate
#

I still need to fix the initializing issue

mental jacinth
#

Door

#

est

orchid frigate
#

Boris

mental jacinth
#

That's it EST

#

Boris lives in Estonia

#

Which is also called est

orchid frigate
#

Boris the hacker man wbsmirk

#

Hacked xiomi for some reason

mental jacinth
orchid frigate
#

I think we should actually watch his channel to actually understand what is happening 🥶 👍

mental jacinth
#

There is zoo in here

#

Who is zoo

orchid frigate
#

Alright well I'm currently on a break from coding so I will be back kater

bold rover
#

Seeya

mental jacinth
#

Boris has a cat named artyom

orchid frigate
#

I won't be able to code for a week

bold rover
#

Burnout?

mental jacinth
#

😱😱😱

bold rover
#

You should take a rest definitely

mental jacinth
#

Yes you should

orchid frigate
#

From everything

mental jacinth
#

Seea

bold rover
#

Nice,You deserve it to be honest

orchid frigate
#

I have been coding alot reasently but not alot of progress

#

C++ openGL is very very hard

#

Hardest thing I have done to date

mental jacinth
#

Listen to this. I always listen to this when I'm tired.

#

C+++ is very hard

bold rover
#

Hehe😄 Just rest for a while and take your time for the moment

mental jacinth
#

One day I tried to learn c++

orchid frigate
#

openGL is

#

Very very hard

mental jacinth
#

Oopa GLwbsmirk wbsmirk wbsmirk

#

Borisman

orchid frigate
mental jacinth
orchid frigate
mental jacinth
#

Oh wrong one

orchid frigate
#

If I heard this at 3am I would throw everything I have out the window

mental jacinth
orchid frigate
#

Very mysterious

#

Kinda stramge

mental jacinth
#

Yes

orchid frigate
#

Not as bad tho

mental jacinth
#

Who makes this type of music

#

Finnaly m1

orchid frigate
#

It's very familiar to me

mental jacinth
#

?

#

Who

orchid frigate
#

Not as bad

mental jacinth
#

Oh ok

#

Greg ?

orchid frigate
#

Idk the start of M3 was very familiar to me

mental jacinth
#

?

#

Greg is suswbgreg

orchid frigate
#

Is Greg the hackerman

#

😳 😳 🥶 🥶

mental jacinth
#

I found somthing

#

There is lvl 1 and lvl 2

orchid frigate
#

So it is a game

mental jacinth
#

I think

#

I hope

#

This is not going to eat me

orchid frigate
#

I can't open any of those 😔

#

All encoded

mental jacinth
#

Well seems so boris

wbsmirk wbsmirk wbsmirk wbsmirk wbsmirk wbsmirk

orchid frigate
#

Boris the hacker man

mental jacinth
#

That guy littrely uses VPN everytime

orchid frigate
#

Boris is such a hackerman wbsmirk wbsmirk 🥶 🥶

mental jacinth
orchid frigate
mental jacinth
#

I don't use vpn

orchid frigate
#

But Vpns don't have anything to do with encoding

#

Sadly

mental jacinth
#

VPN dub

#

What symbols are like

orchid frigate
#

Very strange

#

I will send an image

mental jacinth
#

Ok

orchid frigate
#

Ok learned something

#

They are indeed using eachother

#

Meaning this is a program

#

No way

mental jacinth
#

How to decode this

#

I have an idea wbsmirk

#

Can you make a program to decode this wbsmirk

#

Borisman defeated by haydot wbsmirk

bold rover
# mental jacinth

This is kinda strange,You did say There's a Game company name in the files right?

bold rover
mental jacinth
#

Yes

orchid frigate
#

.

#

No way

#

I don't know what the symbols are

#

Plus

#

This code editor doesnt use the proper symbols

#

The purple squares should be symbols

bold rover
#

That's really a pain

#

Do we need reddit for this?

mental jacinth
#

Catch ya later gotta work

bold rover
mental jacinth
#

I hope

barren shale
#

you call it bad code

#

i call it haydot's code

#

😎

main brook
#

you call it haydot code

#

i call it garbage

thorny estuary
#

you call it garbage
I call it trash

wet girder
#

installing POP!_OS is nice. It's so damn easy even though I need to do dual boot and had to mess with disk partitions

#

welp problem 1. how do I boot back to windows because there's no grub

thorny estuary
#

Here is burgers from general burger

bold rover
#

Morning jupe👋

wet girder
#

Aaand I don't have network adapters for my WLAN adapters on Linux

#

Good morning

barren shale
#

just install it on windows

#

then copy it to the linux partition

#

boot linux and run it

wet girder
#

well it was faster the way I did it

#

I love POP!_OS way too much, this is actually enjoyable to use unlike windows

#

and just so fucking good

#

after I just get bootloader working my biggest problems will be all gone

#

aaand I still don't know how to boot into windows

mental jacinth
#

Hello

wet girder
#

Heya

bold rover
#

@mental jacinth I found Things

mental jacinth
#

What things

#

?

bold rover
mental jacinth
#

What

#

What

#

WHAT

bold rover
#

MIDlet-Name: Chutulo_DW1

mental jacinth
#

What the f is chuthlu

bold rover
#

Sun Microsystem Inc.

mental jacinth
#

?

bold rover
#

That's why most folders is in Java

mental jacinth
#

What is meaning of this

#

What it has to do with xiomi

bold rover
#

Probably nothing

#

It's probably a Random file

mental jacinth
#

And Boris ?

bold rover
#

A random file name

mental jacinth
#

Random ?

#

But how

#

Bu..t

bold rover
#

There's so many random file name in the File

mental jacinth
#

No. This has to be something that can be put together

bold rover
#

Purely random

mental jacinth
#

It's in sub ordient

#

In subordinate

bold rover
#

They probably have a function Or something But other than that it's nothing

mental jacinth
#

In my folder it has everything in a line

bold rover
#

Also the 4 Audio files you send is nothing creepy

#

They're probably Musical plays

mental jacinth
#

I am sure it is going to run when you put this together

bold rover
#

It probably has a function other than that it's nothing

wet girder
#

I think I accidentally corrupted or deleted my windowsn installation wbconfused

mental jacinth
#

Yes

#

I think I should reveal the truth now

wet girder
bold rover
mental jacinth
#

My Knights,
It is not other than a game. I played it. But one day I wanted to see what is in it. So I extracted it. And those random but much needed to run the game. So I tried to ARG everyone. (I should have deleted the meta thing)
Here is your prize. You may play it.

#

You need j2me emulator to play this

bold rover
#

As Expected

mental jacinth
#

YOU WIN

#

PRIZE IS YOURS

bold rover
#

I already Known this is An ARG from yesterday

mental jacinth
#

HAY DOT LOST

#

take the file and play it. Why not use your prize

bold rover
#

I don't have a PC to run

mental jacinth
#

It is short and fairly creepy

#

It's not a pc game

bold rover
#

Ow

#

I can look into it I guess

mental jacinth
#

Remember : you need a j2me emulator to play this

bold rover
#

Well nvm I don't have a Emulator

#

I'm just gonna wait for IHaydot

mental jacinth
#

Well what OS do you have

bold rover
#

Well...

barren shale
#

umumOS

bold rover
#

I do wish you a great day and morning, Lovely Mini ARG nonetheless

#

Wish you stay safe and warm

mental jacinth
#

Warm

barren shale
#

yo mama

main brook
#

Warm

#

anybody wanna stay warm with my hugs?

wet girder
#

now my only OS on my pc is Linux even tho I was gonna just dual boot ablobgrimace

main brook
#

i have Ubuntu and Alpine

wet girder
#

I need to find a way to play apex on POP!_OS

barren shale
#

impossible

#

cuz easy anti cheat

wet girder
#

ProtonDB can do it

barren shale
#

idk

#

1 year ago i tried to install fortnite

#

everyone said that its impossible due to easy anti cheat

wet girder
#

ProtonDB didn't exist a year ago

barren shale
#

i mean you can try

#

you have fast internet

#

fortnite took days to download

#

then didnt work

#

sad life

wet girder
#

wait no it's not possible, shit

#

no more apex for me on pc then

#

because I am not gonna change back to windows

main brook
#

ha

#

i don't play games

#

wait

wet girder
#

only games I want to have always are apex, Minecraft, roblox and solitaire

main brook
#

im bad at apex

#

got toxic people that mocks me

#

i have a traumatizing flashback when playing Minecraft

#

i still play roblox but occasionally

#

sometimes i get bored

#

and solitaire

#

is hell for me

wet girder
#

it's fun when you have something shitty you need to watch or listen

main brook
#

mhm

#

i listen to song

#

and i watch videos

#

most are related to code

barren shale
#

made my own Neural Network

#

no optimizations

#

super slow

#

super bad

main brook
#

oh you mean

#

every code that has ever existed

barren shale
#

thats wrong

#

tensorflow's neural networks are really good

#

hardware accelerated

#

nvidia started making tensor cores in their gpus

#

made for machine learning

mental jacinth
#

Song ?

#

You must hear this Music

#

I have a bet with another guy that you will not be able to listen to this in the highest volume

wet girder
#

I might've gotten apex to work with Lutris

#

only might've

hoary hound
#

Looking forward to trying this, seems pretty cool

https://youtu.be/4duqI8WyfqE

Learn the basics of GitHub Copilot - an AI-powered tool for writing code faster. It is built on top of OpenAI’s GPT-3 model and uses training data from public places like StackOverflow to suggest and write code automatically.

#ai #code #firstlook

🔗 Resources

Copilot https://copilot.github.com/
OpenAI https://openai.com/blog/gpt-3-apps/
GPT3...

▶ Play video
#

Forgot I had already signed up for this, now we wait...

#

the more I look at it the more I want to get my hands on it wbhyperbear

wet girder
#

I don't like it a lot

#

it takes data from private repos and uses that code in it

#

I don't like that

#

at all

hoary hound
#

pretty sure it doesn't

wet girder
#

it'll also just make bad programmers not learn anything because they don't even need to find the info they just get it

wet girder
#

the faq seems that they pretty clearly use private code

hoary hound
#

If it used private repos I think it would have caused a lot of trouble

#

Even though I'm not sure if how intellectual property works on github

#

yeah would definitely have caused a lot of legal problems

main brook
#

like

#

stealing my cookies

#

i like my chocolate chips cookies

#

and i mean my Cookie class

hoary hound
main brook
#

except stack overflow is more verbose

#

which newbies usually dont like

#

they usually stuck in any code they see

hoary hound
#

that's true but yeah, if people don't care about learning then why are they programming in the first place?

main brook
#

"to hack fb/ig"

hoary hound
#

yeah sure use the ai do everything, but then don't call yourself a programmer

hoary hound
#

classic

main brook
#

mhm

#

my friend did that to me

hoary hound
#

they hacked your fb or asked to hack someone else's?

main brook
#

i mean

#

they asked me

#

when i just show them a snippet of my class

#

"rei hack my fb"

hoary hound
#

lol

#

imagine showing someone a css snippet and they call you an hacker

main brook
#

atleast better than saying html is a programming language

hoary hound
#

Professional HTML Programmer Tophat

main brook
#

also they call themselves hacker for using things from github and running them without knowing what they're actually doing

main brook
#

i feel like im bad at styling

#

even though iam

#

i should make coffee and take my 100th css course

wet girder
hoary hound
wet girder
#

no, the faq seems to be redone. I don't think they actually use it but it was rather suspicious

hoary hound
#

The only problem I can see here is telemetry uploading code that contains stuff like API keys (although you should never put API keys in plaintext in the code file).

#

besides that, the ai obviously needs to read the code you write to give you suggestions

wet girder
#

ye

hoary hound
#

It's really just a preview for now, we'll see how it goes

#

how did I manage to write code that only works while being debugged

#

roblox studio is a nightmare

#

maybe using a function that 90% of the developers discourage using could be at fault here maximevilthink

#

just because I'm lazy

hoary hound
#

bruh my fix made it work even less

wet girder
#

lmao

#

Some Finn I met today through wolvesville asked me to make roblox game with them

#

now that I use only Linux, it might be a bit harder

hoary hound
# wet girder now that I use only Linux, it might be a bit harder
wet girder
#

yes I saw that

#

that's fuckin awesome

hoary hound
#

does it work?

#

that's great

wet girder
#

Haven't tried it yet

#

I used 8 hours today getting most of the OS ready for me

hoary hound
#

I never tried linux, everyone says it's great, might try it on vm before messing with dual boot

wet girder
#

I love it. Requires bit of tinkering for almost anything but that only adds to my enjoyment

hoary hound
#

sounds great. The project I'm currently working on is kinda constraining me into working only on that. Once I'm done with it I have a lot of other stuff to do before summer ends, like finishing the translation thing, maybe start modding again and also try linux :)

wet girder
#

You're lucky, I have no idea what to do. I might just start going through ethical hacking course in udemy I got for free as I set my self up hacking machine on my raspi yesterday

hoary hound
#

I'm just trying to enjoy the free time I have left. If everything goes according to plans, I'll start university around september/october, and I have NO IDEA how hard it'll be and how much free time I will have, so I make the best out of what I have left now

wet girder
#

I'm gonna start it school AND high school 4.8

#

plus 2 hours bus rides total to school daily

#

bye bye free time

hoary hound
#

yeah...

#

I'm also moving out, I mean I'm renting an appartment with 2 friends, and... idk I feel like I'm about to leave everything that makes me feel safe

#

Maybe I'm just being childish, but yeah change scares me

wet girder
#

I'd love to move out already

hoary hound
#

I'm both excited and terrified at the same time

#

On one hand it's a new, different experience

#

On the other hand everything is up to you and the experience depends on how independent you are

wet girder
#

true

#

I'm reading 3 chats atm

#

and somehow keeping up

hoary hound
#

lol

#

parkour

wet girder
#

But I'm definitely gonna move out when it's possible. I need more space to try to reach the potential on continuing on my career and it's gonna gonna happen while I livr with my parents and siblings. Too much noise, too much distraction, no space

hoary hound
#

You seem to have the confidence of a leader

#

something I clearly lack

#

but I'm ok with it

#

not everyone is the same

wet girder
hoary hound
#

well someone that is able to take matters into their own hands when nobody else can/wants to do it, someone that can guide other people, getting them to follow him. It's easy to be passive and wait for someone else to do it. To me, being a leader is being that "someone".

#

From what I saw you have great ambitions, and aiming at the stars, because maybe you are confident in yourself. Some people lack that confidence

wet girder
#

Thank you first of all but yeah I guess I could fit in that. I always when possible take the leader position, it just happens naturally for me

hoary hound
#

source?

barren shale
#

this guy explains the faq really well

hoary hound
#

Interesting, I agree with most the points of this dude, still I want to try at least the free version, since I'm not working on bit projects with Visual Code right now, I don't care what's sent to Github.
Also found this comment, apparently Github has all the rights to do what it is doing, and we all accepted when we made our account. Talking about reading TOS...

orchid frigate
wet girder
#

coding in a nutshell

hoary hound
#

The video above can be summarized as:

"It's like stack overflow, but worse" xzibit

#

Still gonna try it

barren shale
#

its very bad for thing that are a bit complicated

#

so it can only write easy functions

#

AI is generally good at really technical things

#

but it sucks at other things

#

that's why everytime i train an AI to play snake

barren shale
#

it does the corners stratgey

#

its a good strategy but its slow

wet girder
#

LMAO, i found the best win11 reaction
https://youtu.be/aYlfkUt6x_8

A longtime Linux user who hasn't run Windows since the XP era reacts to the video trailer that Microsoft published introducing Windows 11. Will this be the version of Windows that makes him give Windows another try?

VIDEO REFERENCED:
https://www.youtube.com/watch?v=Uh9643c2P6k - Introducing Windows 11

WANT TO SUPPORT THE CHANNEL?
💰 Patreon...

▶ Play video
covert summit
#

Hello

mental jacinth
#

Hell

#

O

orchid frigate
#

Fun fact: all Linux users are.programmers or hackers

barren shale
orchid frigate
#

Don't hagrid me you hagrid

#

Is true

barren shale
#

Fun fact: all Haydots are bad at coding

orchid frigate
#

I'm like boris

#

From life of boris

#

I do coding but I don't like to take it too seriously because then my vodka staff will be gone (I think I need clarify that this is a joke I'm just making a reference)

main brook
#

i like the duet of

#

boris and his father

hoary hound
#

the only real reason to use it xzibit

main brook
#

WOAH

#

i should request

#

it'll make my database easier to make

hoary hound
#

the waitlist seems to be quite long

#

it probably depends what type of github user you are

#

they probably choose very active people first

barren shale
barren shale
#

does this actually work

#

and where did the AI get it from

#

who is the chad that pushed this to github

hoary hound
#

And that's why you test the stuff the ai suggests you

#

Instead of blindly accepting it

barren shale
#

yeah

#

its really like stackoverflow

hoary hound
#

Yep, except this time you have no one to complain to if the code doesn't work xzibit

main brook
#

simply blame the AI

main brook
#

so i-

#

i compiled

#

YouCompleteMe

#

and my phone was slow

#

as heck

solar horizon
#

Same, everyone dead

main brook
#

i learned scss

hoary hound
#

Damn my search history is just github copilot

#

maybe I should think about something else

#

Pretty sure the hype will die out once I try it for some time, I just need to try it

wet girder
#

more reasons to not like github copilot but also to like it lol

#

My opinion is very split on it

knotty root
#

i dont know how to code but i like my fish

wet girder
#

Noice

#

there's good points but it's still biased towards linux because there's good things to windows too

keen shell
wet girder
#

Ooh, that's quite intresting

barren shale
#

its gonna be one of these things

#

like GPT-3

#

its interesting at first

#

but then its meh

#

GPT-3 can code

#

but none is using it to code

#

same thing will happen with copilot

bold rover
#

Honestly true-ish

#

Copilot is built for coding

#

GPT-3 is probably not

barren shale
#

GPT-3 is much bigger

#

and it can learn from input

#

and it wrote some good code

#

but both are owned by microsoft

#

so idk

#

but its gonna be paid too which is eeh

bold rover
#

Copilot is small because It was only Trained in a Programming dataset

#

That doesn't mean it's bad

#

It was built for programming

#

But yeah both software is still paid so that sucks

orchid frigate
#

It's basically search kompot

#

70% is "how to" coding questions

#

10% is YouTube videos that are even more random

#

5% is stack overflow questions that are 1 year year old in terms of me searching them

main brook
#

mine is weirder

orchid frigate
#

And the rest is....I don't even know

main brook
orchid frigate
#

Oh yea forgot to mention

#

Inside of that 70% of the questions around 50% at random numbers and letter

#

Because CPP errors are stupid and make 0 sense

orchid frigate
tranquil leaf
#

I need help with LUA scripting

barren shale
#

uhmm

#

maybe ask jupe

hoary hound
#

I can help you with that

barren shale
#

or rei

hoary hound
#

What's the problem

barren shale
#

or cloud xzibit

hoary hound
tranquil leaf
#

I have team script already, but I need help with permissions

Team Changer Script:

local Player = game.Players.LocalPlayer
local Char = Player.Character

local Frame = script.Parent.Frame
local RedTeam = Frame.RedButton
local BlueTeam = Frame.BlueButton

local debounce = false

RedTeam.MouseButton1Click:Connect(function()
    if not debounce then
    debounce = true
    Player.TeamColor = BrickColor.new("Bright red")
    Char.Humanoid.Health = 0
    wait(1)
    debounce = false
    end
end)

BlueTeam.MouseButton1Click:Connect(function()
    if not debounce then
    debounce = true
    Player.TeamColor = BrickColor.new("Bright blue")
    Char.Humanoid.Health = 0
    wait(1)
    debounce = false
    end
end)
#

Sorry for bad english.

hoary hound
#

What kind of permission?

#

So you want a list of specific people who can join the red team?

tranquil leaf
#

Example:

Permission = {"gamer123", "gamer123"}

main brook
#

fun fact

#

you made a loop hole

#

if not denounce

#

meaning if its False

#

oh wait

#

also quick question@tranquil leaf

#

what script is this

#

Local or Script

tranquil leaf
#

Local

main brook
#

okay

#

what's the issue again?

#

the team wont change?

orchid frigate
#

I should learn lue

tranquil leaf
#

Everyone can change team right now

orchid frigate
#

Lua

#

Looks fun to write

main brook
#

ah

tranquil leaf
#

But I want permission to change team

main brook
#

you'll need some sort of predicate

#

like havePermission(user)

orchid frigate
#

Is the syntax of lua java/CPP like?

#

Atleast a bit

main brook
barren shale
orchid frigate
main brook
#

also dont learn lua please

barren shale
main brook
#

you'll find issues like

#

referencing

orchid frigate
#

Cool

main brook
#

variables

hoary hound
#

Alright, for safety purposes you obviously need to keep the list on the server, since this seems to be a localscript, you will need to use Remote Events/Remote Functions.

In this case you should use a Remote Function, since you can call it from the client, run the function on the server and return a value to the client once it finishes.

Local script

Team Changer Script:

local Player = game.Players.LocalPlayer
local Char = Player.Character

local Frame = script.Parent.Frame
local RedTeam = Frame.RedButton
local BlueTeam = Frame.BlueButton

local checkPermission = game.ReplicatedStorage:WaitForChild("RemoteFunction")

local debounce = false

RedTeam.MouseButton1Click:Connect(function()
    local hasPermission = checkPermission:InvokeServer()
    if not debounce and hasPermission then
    debounce = true
    Player.TeamColor = BrickColor.new("Bright red")
    Char.Humanoid.Health = 0
    wait(1)
    debounce = false
    end
end)

BlueTeam.MouseButton1Click:Connect(function()
    if not debounce then
    debounce = true
    Player.TeamColor = BrickColor.new("Bright blue")
    Char.Humanoid.Health = 0
    wait(1)
    debounce = false
    end
end)

Server script


local Permission = {"gamerTest", "coolPerson"}
local checkPermission = game.ReplicatedStorage:WaitForChild("RemoteFunction")

local function checkPermissionForPlayer(player)
    for _,user in pairs(Permission) do
        if (user == player.Name) then
            return true
        end
    end

    return false
end

checkPermission.OnServerInvoke = checkPermissionForPlayer
#

Untested code

#

could not work

main brook
#

try it

#

also you should consider using ipairs

#

its faster since its cached

hoary hound
#

You will also need to create a remote function in ReplicatedStorage

hoary hound
main brook
#

ipairs returns index, value

#

similar but different in luau

orchid frigate
#

I created a server and made its lifetime 10000 hours I also can no longer access it I'm guessing thats not great

hoary hound
#

can I loop a dictionary with ipairs then?

main brook
#

also isn't OnServerInvoke supposed to be an event

orchid frigate
#

I dont even know what server it is.lol

main brook
hoary hound
main brook
#

ah okie

hoary hound
#

Yeah at first it was very confusing lol

main brook
#

also i suggest

#

using ids

#

instead of .Name

hoary hound
#

indeed

#

I just copied his example

main brook
#

since .UserId is static

hoary hound
#

It would also be good to keep the list in a separate ModuleScript

#

If it gets too long

#

Makes the code look cleaner

main brook
#

its sad that lua doesn't have good OOP

hoary hound
#

ehhh

main brook
hoary hound
#

you can kinda do oop but it's not the best experience

main brook
#

indeed

#

tables suck

#

especially metatable

tranquil leaf
#

Im just animator / builder.

orchid frigate
#

It's a shame that the game rust wasn'made in rust

hoary hound
#

And I need to hurry

tranquil leaf
#

That was joke I know you are busy. 😅

hoary hound
#

I'm starting to lose motivation again

orchid frigate
#

Rust is a great language

#

Really fucking hard but still great language

hoary hound
#

Making games is like a race against myself

main brook
#

dont hire 5 scripters

#

they'll waste time criticizing each others code

hoary hound
#

If I lose too much time on a feature I lose interest in the entire project

#

WHy am I like this ;-;

tranquil leaf
#

I have 1 scripter, but im not sure is he inside my project.

main brook
#

oh also

hoary hound
#

I'm trying to learn a roblox framework, so far it's good and it keeps code organized, but I'm already slowing down because one particular service is not easy to script

main brook
#

you're gonna have like

#

a bit of race condition

#

in your code

#

since InvokeServer() will block

#

until value is returned

#

the event can run twice

hoary hound
#

I'm pretty sure InvokeServer starts a new thread for every player that calls it

orchid frigate
main brook
#

and it'll switch control

#

to other things

hoary hound
#

yes the bad thing about remote functions is that they yeld the client too

#

until a result is returned

main brook
main brook
#

and this is why i make my own event loop

hoary hound
#

I just use Knit framework that handles all the remote stuff and saves some time mrtophat

main brook
#

i haven't used roblox in a while

#

by a while i mean 4 month

barren shale
#

everytime i look at this

#

my mind gets broken

#

this looks like something that isnt C#

hoary hound
barren shale
#

it looks so weird for a C# code

hoary hound
#

why is there an underscore

barren shale
#

underscore is default

#

or if you dont want something you can just put _

#

like _ = GetChild();

hoary hound
#

I did some C# like 2 years ago, still remember the basics but not really advanced stuff Thonk

#

Well it's the language that got me into OOP

#

damn the first time I discovered classes and objects I was blown

barren shale
#

i only use C#

#

good enough for almost everything

main brook
#

i have no idea why i watched this

barren shale
#

xd

wet girder
#

HELL YEAH. I managed to make version of WorldBox that skips all CPU checks because my PC doesn't get through those checks

#

I got so tired of reading hex already lmao

main brook
#

goodjob jupe

#

you deserve a hug

orchid frigate
main brook
#

i hate functions

orchid frigate
#

Why

#

They are the best

#

Along with classes

#

I don't like structures tho and enums

#

They seem useless af

wet girder
#

OOP lover

orchid frigate
#

Average OOP fan be like

main brook
#

i hate that i can't return

#

string or int

#

just one type

#

ONE

#

THAT WILL CAUSE LITERALLY

#

MILLIONS OF DOLLARS ON SCALE

wet girder
#

what language are you using

main brook
#

C++

wet girder
#

But can't you return any type confusedcat

#

oh wait now I see what you mean

#

why would you want to return different data types

main brook
#

because yes

#

okay okay

#

because i want to tell them that this thing doesn't exist

#

return string if the item requested exist else -1

barren shale
#

structers are the best thing

#

they make your code much more faster

barren shale
#

if it doesnt

main brook
#

the issue is

#

user can store ""

#

they can store empty string

barren shale
#

use std::tuple

#

std::tuple<bool, string>

#

the bool is for exists or not

#

and the string is for the value

#

you can pass a pointer value to a boolean

#

and make it true if it exists

#

and then check the value after you call the function

#

a lot of solutions

#

or a reference doesnt have to be a pointer

main brook
#

so like

#

ah im confused

barren shale
#

nub

#

git gud

main brook
#

was that supposed to mean

#

"git is gud"

#

or "get good"

barren shale
orchid frigate
#

You return what is needed

#

For instance: in an int function, you return int

#

In chat function, you return char

wet girder
#

No Roblox for me because I am too lazy to fix dependency errors on development build of wine

hoary hound
#

:(

orchid frigate
#

:(

fallow tulip
#

:(

barren shale
wet girder
#

I promised to make a Roblox script for a guy I barely know for his rp Roblox game

#

I'm probably gonna regret this aren't I

orchid frigate
#

What language does Roblox use for scripting

barren shale
#

lua

#

but a bit different version of lua

#

its called luau

orchid frigate
barren shale
#

lua

#

isnt like anything

orchid frigate
#

No I mean

#

Like

barren shale
#

oh

#

idk

orchid frigate
#

A modified version of the language

barren shale
#

C# isnt modified in unity

orchid frigate
barren shale
#

you cant modify C#

orchid frigate
#

You know what I meant

barren shale
#

it isn't open source

orchid frigate
#

Ok lemme phrase it better

#

A added to version of it

barren shale
#

idk

orchid frigate
#

An*

#

Kinda like

#

C# expanded and enhanced

barren shale
#
Luau
Luau (lowercase u, /ˈlu.aʊ/) is a fast, small, safe, gradually typed embeddable scripting language derived from Lua. It is used by Roblox game developers to write game code, as well as by Roblox engineers to implement large parts of the user-facing application code as well as portions of the editor (Roblox Studio) as plugins.
orchid frigate
#

When I was pretty young

#

I tried the Roblox game engine

#

It was before I used unity so I was awful lol

#

Couldn't do anything

#

Didn't even know you can script stuff until now

wet girder
#

Luau is like C# and Python smuhed together creating awful mess

orchid frigate
#

Well combining c# and python sounds pretty great

#

If you take everything good from both languages and combine it you could create a super language.Thonk 🤔

wet girder
#

no it's more like everything bad from both languages

#

well based on my small experience with it

#

I just don't like it at all

orchid frigate
#

Interesting I will look at some code

#

I looked at some code of it

#

I understand why you don't like it

#

It doesn't look fun to write in

wet girder
#

lmao, true kinda

solar horizon
#

Um better not getting here

main brook
main brook
#

its syntax are like Ruby

#

with a slight touch of C#

barren shale
#

just like yo mama

main brook
#

my mom caught covid

#

because yo mama is so fat she infected my mom by not distancing enough

hoary hound
#

not sure how C# fits well in Luau
considering that Luau doesn't have native support for OOP oink

#

just a hacky way to do it

#

with ✨metatables

main brook
#

yes

#

i like it simplicity though

#

but also

#

referencing variables

#

is wack

#

with the local keyword

#

and the unreferenced one before declared

#

so you can't have a metatable that requires circular reference

#

unless you make a proxy

hoary hound
#

something that is too easy to do is run a new thread with spawn(). It's a cool function but like, all developers tell you not to use it because reasons I don't remember, but they made sense.
I remember trying to do the same in C# and it took a while before figuring out how to start a separate thread

#

all you have to do in Luau is literally spawn(callback)

#

too easy FryThink

#

or you go the boring way and use coroutines xzibit

main brook
#

spawn is a thread

#

coroutines are async

#

think of it like normal thread

#

you can cancel coroutine

#

but control a thread using spawn

#

it have a yield

#

which is fun

main brook
#

also it runs in the next iteration

#

instead of current one

#

since there's a Task Scheduler

#

in Luau

#

you can see how the scheduler works

#

just use sleep(0)

#

and you'll switch to another task

#

or sleep(1)

#

like

hoary hound
#

you mean wait()?

main brook
#
local function func()
    print(1)
    wait(2)
end
local coro1 = coroutine.new(func)
local coro2 = coroutine.new(func)

coro1.resume()
coro2.resume()
main brook
#

i haven't used luau since so long

hoary hound
#

you seem to know a lot of stuff about it though

main brook
#

well its easier to learn

#

since i went from python to javascript to lua to luau

#

its also my dream as a kid to script in roblox

#

when i was like 2nd grade

#

i always try to write code

#

but never actually made it work

wet girder
#

I'm streaming setting up roblox studio in vc one atm