#⌨coders-cave

1 messages · Page 16 of 1

rose pawn
#

Who is the best programmer gere

orchid frigate
#

@fading obsidian btw I wanna remind you you are cringe because you said assembly is bad

#

That by itself is a crime

#

Against humanity

orchid frigate
rose pawn
#

Who is the best programmer?
React with
1 for hamza
2 for dakata
3 for rei
4 for this other guy
5 for microsot bill gates

orchid frigate
#

Y'all don't know shit

barren shale
#

you know the big bang?

#

i coded that shit

orchid frigate
#

Or cap

barren shale
#

💀

orchid frigate
#

Idc

#

Shot samples

#

Or cap

#

At least 100 lines long that defines how quantum gravity works

rose pawn
#

Ayo

await attachment.save(f'map.wbox')

if (os.path.getsize(f'misc/{attachment.filename}') == 0):
    await ctx.message.channel.send("Cannot decode empty file!")

with open('map.wbox', 'rb') as map_file:
    #base_encoded = base64.b64decode(map_file.read())
    map_file2 = zlib.decompress(map_file.read())
    enc = 'utf-8'
    z = map_file2.decode(enc, "ignore")
    map_file.close
with open('cov.txt', 'w') as map_z:
    map_z.write(z)
    map_z.close()
zipfile.ZipFile('cov.zip', mode = 'w').write("cov.txt", compress_type = zipfile.ZIP_DEFLATED)
b = os.path.getsize("cov.zip")
if b > 8388608:
    await ctx.send('**Map too large**')
    return
await ctx.send(file = discord.File('cov.zip', filename = 'cov.zip'))
os.remove('cov.zip')
os.remove('cov.txt')
os.remove('map.wbox')
print(f'decoded by {ctx.author}')

Encode in @bitter sedge

await attachment.save(attachment.filename)

if (os.path.getsize(f'misc/{attachment.filename}') == 0):
    await ctx.message.channel.send("Cannot encode empty file!")

if os.path.exists('cov.zip'):
    with zipfile.ZipFile('cov.zip', 'r') as zipObj:
        zipObj.extractall()
    with open('cov.txt', 'r') as file:
        i = file.read()
        file.close()
    with open('cov.txt', 'wb') as file:
        encoding = 'utf-8'
        r = i.encode(encoding)
        e = zlib.compress(r)
        d = base64.b64encode(e)
        file.write(e)
        file.close()
    b = os.path.getsize("cov.txt")
    if b > 8388608:
        await ctx.send('**Map too large**')
        return
await ctx.send(file = discord.File('cov.txt', filename = 'map.wbox'))
os.remove('cov.txt')
os.remove('cov.zip')
print(f'encoded by {ctx.author}')
#

Whats this

orchid frigate
#

Cringe python shit

rose pawn
#

I agree

barren shale
#
public class Earth : Planet {
  private Population _population;

  public Earth() {
    InitializeHumans();
  }

  private void InitializeHumans() {
    _population = new Population();

    _population.GetHuman("Haydot").SetIQ(-100);
    _population.GetHuman("Hamza").SetIQ(1000);
  }
} 
#

here's a snapshot

#

from the code

#

smh

orchid frigate
#

Nah

#

Show quantum gravity source

barren shale
#

that's classified

orchid frigate
#

Cap

#

All you say is cap

orchid frigate
#

Can't even explain quantum gravity smh

rose pawn
#

X = hamzas iq
|x| =100000

orchid frigate
#

And give a unified theory of everything

rose pawn
#

Hamza ya know math??

orchid frigate
#

Smh

rose pawn
#

X = hamzas iq
|x| =100000

orchid frigate
#

That's an absolute value

rose pawn
#

Want me to explain the thing

orchid frigate
#

So it has two x

#

Possibilities

rose pawn
#

X < 0

orchid frigate
#

Agreed

rose pawn
#

Hahhah hamza epic fail hahaha

orchid frigate
#

X < 0

rose pawn
#

I bet hamza is googling absolute vaulez rn 😂😂😂😂😂

barren shale
#

no

#

im drinking juice

orchid frigate
#

@rose pawn I'm better than him.now right

#

Put me higher on the list

#

Now

rose pawn
#

Nah rei is god

orchid frigate
#

Or else

rose pawn
#

Rei is above yall sorry

orchid frigate
rose pawn
#

Rei helped with my code

barren shale
rose pawn
orchid frigate
#

Including the acpi stuff

rose pawn
#

Rei > dakata > Hamza

orchid frigate
#

Loser

barren shale
orchid frigate
#

Cringest of the cringe

barren shale
#

that will be deployed in a server with over 500k members

#

at least im not reinventing the wheel

#

like a dumb kid

rose pawn
#

I bet you use repl

#

For the bot

#

Do you?

barren shale
#

no

rose pawn
#

Which one do you use then

#

Googling bot service sites

barren shale
#

i host it on a server

#

and i wrote the bot

#

i dont use these auto bot makers

orchid frigate
barren shale
#

jokes on you i use the bot to make money

orchid frigate
rose pawn
#

Yeah man use it for money wth

barren shale
orchid frigate
#

And got disappointed

barren shale
#

jokes on you i live in syria

orchid frigate
#

And decided to leave some money

barren shale
#

so no i dont have a bank account

rose pawn
#

i knew

orchid frigate
rose pawn
#

I am mom

barren shale
#

bro stole his mum credit card

orchid frigate
#

I'm willing to accept my defeat on that

#

It was a godly comeback

rose pawn
#

Ĥâmż'a

#

Why not make money

barren shale
barren shale
#

i have work in one hour actually

#

oh nvm its in two hours

hardy field
#

Now I'm curious

barren shale
tacit frigate
#

Hello

barren shale
#

its just something that couldve been taken out of context

hardy field
#

Correction: it isn't logged

barren shale
#

you just didnt find it

#

😂

#

or maybe this guy got lucky and bot fucked up

hardy field
#

The bot messes up pretty frequently, no deleted messages in this channel from the appropriate time, and too many messages since then for yagpdb to find it

sleek smelt
#

Mee6 just awarded me for saying thank god

#

lmao

hardy field
#

Anyways I usually don't care about deleted messages unless it breaks ToS

rose pawn
#

Okay nice

#

This server just got a lot better

#

Its not only a less crappy version of #🌎general but you can also by pass the logs

rose pawn
#

Roasted

rose pawn
#

Real

jolly field
#

Hamza may have blocked me but he will always be in my heart

main stag
#

I love hamza

cunning summit
main stag
#

I’m a soldier for hamza now

cunning summit
#

damn

fading obsidian
#

Hamza is God (literally)

hardy field
#

But most of the time, if it's something actually serious, mods will be able to use yagpdb before it becomes unviable

tranquil magnet
jolly field
orchid frigate
# tranquil magnet

Something about this picture makes me lol (laugh out loud for anyone wondering what this internet acronym stands for)

barren shale
orchid frigate
#

This pic can be used anywhere

#

And it's perfect

#

@barren shale question about c#

#

What's c#'s equivalent to

#

Option in rust

barren shale
knotty root
#

What are your views on brainfuck

barren shale
knotty root
#

Gonna learn it then

barren shale
#

its a meme language

#

learning it takes 1 minute

#

writing something in it takes 1 year

knotty root
#

Gimme your address

barren shale
#

i live in syria

#

try not to get bombed on the way

knotty root
#

Thanks 👍 gonna visit you soon

orchid frigate
#

Including class instances

barren shale
#

unless you want it to be

orchid frigate
#

Define nullable

barren shale
#

can be null

#

u stoopid or smthing?

orchid frigate
#

So nothing can be null

barren shale
#

unless you make it nullable

orchid frigate
#

But everything can be null if you want it to be

barren shale
#

yeah

#

its an option

orchid frigate
#

How tf does that work

barren shale
#

sec

#
    public async Task<Response<Character>> GetCharacterAsync(ulong id)
    {
        var characterModel = await _characterRepository.GetCharacterAsync(id);

        if(characterModel is null)
        {
            return new Response<Character>()
            {
                IsSuccessful = false,
                Message = "Could not find character"
            };
        }

        var character = await _characterService.GetCharacterAsync(characterModel);

        return new Response<Character>()
        {
            IsSuccessful = true,
            Result = character
        };
    }
#

here

#

characterModel is nullable

#

because _characterRepository.GetCharacterAsync(id) returns a nullable CharacterModel

#

so then i check if its null which means i didnt find the character in the database

#

otherwise i turn the model into a character and then return it

#

easy clap

orchid frigate
#

let mut sm: Option<SomeStruct> = None;

#

How you do that

barren shale
#
SomeStruct? someStruct = Null;
#

? means its nullable

orchid frigate
#

Damn how many c# updates did I miss

#

It's like a whole new language

barren shale
#

You can also do Nullable<SomeStruct>

#

just one

#

.net 5 -> .net 6

#

classes are no longer nullable by default

#

i mean they are but it warns you

orchid frigate
#

Back when I did unity stuff it was like c++

barren shale
#

you can still do Mum mum = Null

orchid frigate
#

With very minor differences

barren shale
#

but it warns you

orchid frigate
#

Or maybe I just used it like c++

#

Idk

barren shale
#

still compiles which is eh

#

but they like to keep things backwards compatiable

orchid frigate
# barren shale

Btw I just tricked you into leaking speciesbox source code

#

Feel bamboozled

#

Pranked even

#

🥹

barren shale
#

i barely leaked something usable

#

without knowledge that would allow you to write the exact same thing

orchid frigate
#

I win is a win

#

I would feel pretty stupid if I was you ngl

barren shale
#

sure bud

rose pawn
#

Smells like nerd in here

fading obsidian
main brook
#

idk it smells like adoption papers

#

due to the amount of screen time we have

solar merlin
#

me who only knows a little bit of Lua wbsuffer

tranquil magnet
tranquil magnet
#

i'm learning c++ and my friend wanted help on a project

#

the project included needing to know lua so i took a few days to learn it

#

its not the best language but it gets the job done

orchid frigate
#

its the worst language

#

ever

#

its better than even brainfuck because atleast brainfuck doesnt take itself seriously

jaunty sorrel
#

I REALLY REALLY NEED TO KNOW HOW

#

SNEKIEJEKDKD

tranquil magnet
#

i know its not the best but people are over exaggerating how bad it is

tranquil magnet
#

theres some really good games made in lua, they run pretty well

#

at least it isnt a fuckin resource hog like java

#

stop over exaggerating and just let people use it for once god damn

#

its not the best but it gets the job done

jaunty sorrel
#

No shit that’s why i need to know how to actually learn it, efficently

tranquil magnet
#

yeah, also some game engines utilize it

jaunty sorrel
#

I know, i want to learn it mostly for roblox studio

orchid frigate
#

its indexes start from 1

#

that by itself is a crime against humanity

#

and why do you care about lua sucking its not like you made it

main brook
#

index starting at 0 make sense

#

0-9 is total of 10

#

and 10 would be similar to 0

#

it starts over

#

until it changes to new digit

fading obsidian
next lotus
rose pawn
#

My friend made smoke come out of an ardunio card L.O.L.

tidal elbow
#

using bevy (ecs) and rust im making my own little worldbox inspired game for personal use

#

using some simple pathfinding and whatnot they try make new colonies

#

just going step by step

#

doing this and my full time software job is tiring tho

#

coding all the time can be eh

knotty root
orchid frigate
#

it would make the most amount of sense if

#

indexes started from -infinity

#

I mean think about it thats the leftest number on the number line

#

so it only makes sense thats the first index

fading obsidian
#

Big brain

main brook
#

of course

#

but index is one way infinite

#

0-infinity

#

it has a definite start

orchid frigate
#

how would that work

#

idk but someone has to figure it out

#

and implement it into every modern language

main brook
#

its called

#

a generator function

#

returns an iterable of unknown length

#

with no index

#

and the only way to get the item is to iterate over each item

#

almost infinity

orchid frigate
#

thats lame cuz no index

#

we need indexes

wet girder
#

If the index is for example int32 it has int32 max size as it's limit

main brook
#

tru

rose pawn
#

Hi rei

barren shale
#

most languages go for int64 max size

#

which is basically impossible to fill

#

as it would require 18 million terrabytes of ram

next lotus
#

no

#

it will crash if 9223372036854775808

barren shale
#

no it wont

#

its unsigned int64

#

use brain pls

crude forum
barren shale
#

someone tell this man

#

there are 20 tb hard drives

crude forum
#

Ok nvm

barren shale
#

they are like $300 each

crude forum
#

But

crude forum
rose pawn
#

PETABYTE?

#

Is there a veganbyte?

wet girder
#

Google has few thousand Petabytes of storage for sure but it's just scattered to whole lot of servers

jolly field
#

I love bones in my pizza

rose pawn
#

Excuse me

#

What happened here?

jolly field
rose pawn
#

It didn't show a bunch of messages

#

I thought they were deleted

wet girder
#

I'm on break

jolly field
orchid frigate
next lotus
#

int64 only requires 8 bytes to store 😎

tranquil magnet
#

got bored so i made a raycaster in a 2d environment

#

and also draw what the raycaster reads

rose pawn
#

How hard would it be to code chatGPT from scratch

orchid frigate
#

Impossible

#

Even if you could somehow code it in it's entirety you would still need the data it was trained on

#

And then you would need the technology and tools to train it

#

And then you would need to have the time and technology to train it

#

And btw the data it was trained on wouldn't fit in your computer anyway so you would need more technology to keep it somewhere

#

So overall impossible

#

You could make something similar on a smaller scale tho

jolly field
#

B

crude forum
crude forum
jolly field
#

E

late basalt
#

Oh hey decafa

#

Do you know what's theai everyone's using for making images

#

I want to see if it can make me a better pfp

hardy field
late basalt
#

Thank you brother

#

I hope they work well

crude forum
jolly field
rose pawn
quartz pumice
quartz pumice
quartz pumice
late basalt
#

I dont mind hands working

#

I need a cooler tank

orchid frigate
#

he said from scratch

#

so no tensorflow

#

and if he wants to make it from scratch ima just assume he also wants to make his own info

rose pawn
#

I would get the data from internet like chatgpt of course but i cant

crude forum
quartz pumice
jolly field
crude forum
jolly field
crude forum
quartz pumice
errant trail
#

imagine if you coded chatGPT in scratch

#

the cat would be the most intelligent cat ever

latent ledge
#

Does anyone have unity tutorials or am I gonna hand write every single piece of syntax in the unity documentation

wet girder
#

Brackeys has the best unity tutorials out there

main stag
#

low rank

#

I am kidding jupe you are best admin

cloud solar
#

Hi

quartz pumice
#

Bye

cloud solar
#

Hi

#

Bye

quartz pumice
#

Bye

fringe aspen
#

Alright, C# or Python or JavaScript?

fading obsidian
#

C#

wet girder
#

all are great languages

orchid frigate
#

It's a c language so it's automatically better

frosty kelp
#

Alot of wbnerds here

frosty kelp
rose pawn
#

Sup guys

#

Look at me flex my admin powers

#

YOU! Yes YOU, you are both now<@&1009870419005821059>! ||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​|| _ _ _ _ _ _ @hexed shard @rose pawn

rose pawn
#

Yall should thank me for constantly intrupting the chat with weird ass messages that these nerds cant discuss their nerd shit

cinder surge
#

I'm not familiar with scratch enough though, and am too basic of a programmer to know if you can do that in normal programs

fading obsidian
#

What is the better loop?:
For Loop ✅
While Loop ❎

quartz pumice
fading obsidian
barren shale
#

doesnt matter which language

#

it depends on the context

errant trail
#

We could even relay the data to a dedicated server (literally my laptop) and process the complex stuff in the server so theoretically you can write the smartest cat on earth with 3 lines (on start, store result + send request, output result)

#

well actually 2 lines if you manually clicked on it to activate it

#

well actually one (output result + send request)

orchid frigate
#

So you can replicate for loops with while loops

#

But it would be difficult to replicate while loops with for loops

#

So while loops win

errant trail
#

for loops is good for:
Iterating through objects
Iterating through arrays
Can do anything while loops can do too

while loops is good for:
doing the same thing until a condition is true
Can do anything for loops can do

errant trail
#

easy to replicate

#

you could also just not use days to get this while loop as the equivalent:

while (!isDead)

#

remember that for loops don't care about what you are putting in them, they only care if it is legal.

wet girder
#

Funny thing at work I am doing rn. Some user from saudi arabia clicked a button and that button is supposed to make a request to do something in the backend. So instead of the button sending 1 request like it's supposed to, it sent 20 thousand

#

Most likely their internet is so shitty the requests got sent properly to the backend but the responses got stuck somewhere

#

so the frontend kept sending request until one of the reponses got through

#

fun stuff

#

fun stuff

rose pawn
#

Lol

orchid frigate
#

than for loops with while loops

#

but the language really matters because different languages have different syntaxes

#

im talking about c/c++ because the example you showed was in that language

#

also the compiler for vm assembly has been expanded to 600 lines and

#

im now realising that I have no idea what im doing anymore

#

I started getting confused at 400 lines but at this point im completely lost

wet girder
#

could explain a lot

rose pawn
#

Turkey is on his way to be like them woohoo yay

wet girder
#

Yes but you'd need to come to office 3 days a week minimum and speak Finnish

barren shale
#

fok

#

no english only?

wet girder
#

It's a small local software consulting company

#

Imo the best type of company

#

And just to add to the goodness, the company has never ended support for software. We still update 25 year old software

#

Rarely but still

barren shale
#

ahh

#

damn

quartz pumice
tulip steeple
#

But I think I prefer while in everything else

fading obsidian
#

In my opinion, while loop is better

distant wraith
#

😳

a = iter(range(10))

while (i := next(a, None)) is not None:
    print(i)
barren shale
#

i wonder is this loop faster than just a normal while looped with a variable incrementing

#

if you of course generate the range before you start timing it

distant wraith
#

Not quite

#

Wtf, those while loops are much faster than for loop

barren shale
#

create the range

#

then time just the loop

distant wraith
barren shale
#

the first one

#

time just the loop part

#

the range should be a constant

#
a = range(10)
# Start timing here
# Loop code
distant wraith
#

Idk about you, but that's how you do timings with this bot

#

The first block is the setup, which doesn't get timed, only the second one does

barren shale
#

oh

#

well then your code is invalid

#

because you have to recreate the iterator

#

unless python has some magic

#

oh wait

#

does it loop over the setup block?

#

oh yeah it probably does

#

i have 3 hours of sleep and my brain is not working

distant wraith
#

There's a reason for it

barren shale
#

yeah but i thought creating the iterator should be timed

#

because it cant be a constant

distant wraith
barren shale
#
r = range(10)
a = iter(r)
# Loop code
#

something like this

#

but i dont think creating the iterator is that expensive

#

so it might not matter

distant wraith
#

Ig 🤷

barren shale
#

python sucks anyway

wet girder
#

python is good for its intented purpose

#

which is scripting

#

You simply cannot write full software in Python without making some big compromises

rose pawn
#

Python is good

orchid frigate
#

Message

wet girder
#

But it has it's limitations

delicate basin
#

Hi guys. I don't know if my question is related to this channel, but I'm in a dead end.
Do anyone here knows an effective method of recovering data from a formatted ssd?

wet girder
#

Have you used the SSD after formatting it?

#

And did you use formating that overwrites the data

green sundial
#

Nice

delicate basin
# wet girder Have you used the SSD after formatting it?

No. I used diskpart delete command thing in cmd prompt (I wanted to tinker other drive but accidentally typed the wrong drive number).
I then realized the whole disk became unallocated.
I activated the drive and saw that everything was wiped out

#

I used Recuva software, it managed to recover like half of it but everything is not usable

astral basin
#

It's like being angry at screwdrivers. They're all just tools for different purposes

barren shale
#

and that was a joke i use python a lot

astral basin
main brook
#

he's biased

wet girder
orchid frigate
#

Certain languages shouldn't have existing rights

#

Like lua

barren shale
#

and assembly

orchid frigate
#

You don't have opinion rights

#

Too

frigid cairn
#

GMS2 ftw

rancid wraith
#

Hi

fleet sierra
#

what assembly is the best language

#

@barren shale D:

rose pawn
#

I forgot that the devs are coders

barren shale
#

no

#

devs used chatgpt to make the game

wet girder
#

Ngl everyone should use chatgpt nowadays, it makes development so much quicker

main brook
#

meanwhile i can consult which choices are relatively efficient from chatgpt

#

made my admin website with shit load of system design, because the employee are uneducated with computer

magic oriole
#

Excuse me, esteemed individuals, I humbly inquire if any of you possess knowledge regarding the availability of a textual document in the format of a .txt file, encompassing a corpus of 500 to 5000 syntactically and semantically well-formed sentences in the English language? Please do pardon my inquiry, as it is being made on behalf of an acquaintance who is in need of such a dataset for programming purposes.

magic oriole
#

My esteemed peers, I am delighted to announce that my quest for a textual document containing a corpus of 500 to 5000 well-formed English sentences has reached a successful conclusion. Through diligence and perseverance, I have located a suitable dataset that meets the criteria for my programming requirements.

barren shale
#

css became the easiest language ever since chatgpt came out

wet girder
#

Tru

lofty rover
#

C# gud?

quartz pumice
lofty rover
#

Ok

orchid frigate
stoic lily
#

Hi

barren shale
#

C# best

orchid frigate
#

No

magic oriole
still matrix
#

Ñ

main brook
#

Hugging what now

distant wraith
#

You

hexed star
#

None

mossy cedar
#

apparently we'll be getting a wolfram plugin along with gpt-4 in the future. I saw the previews and god damn it looks so promising. No more worries about the chatbot hallucinating some answers.

lusty vale
#

None

quartz pumice
#

None

fading obsidian
#

none

jolly field
#

None

errant trail
#

None

main brook
rose pawn
#

None

carmine dock
#

Hi, im a newbie person to programming. Been playing around with java for a few days now and just curious if anyone had any tips or timesavers.😅

rose pawn
#

This isn't java tip its just coding tip

orchid frigate
#

it doesnt matter what you code

#

just write random stuff

#

the more you write the more problems you will end up having to solve

#

so more experience

#

so more skill

#

Thats how I learned pretty much every language I know not counting assembly

carmine dock
#

Damn, that's good advice lol. Thanks

toxic apex
#

Hello

#

I have a question how can I download the endosetrial mod thing

#

?

#

Can I please get some help

carmine dock
#

Is it a mod for world box?

toxic apex
#

Yeh

#

I'm on android

#

Does it work ? On android

#

And if so. how ?

carmine dock
#

So, from what I know modding isn't possible on anything but a PC

#

But I could be wrong, I haven't modded world box much tbh

knotty root
#

how do i make a mod with other stages of buildings after the other ones (i have some modding experience)

quartz pumice
#

thats what I think tho

#

dakata cooler

orchid frigate
#

eh it doesnt really matter what your first language is considering you are certainly not going to be able to use it well anyway

#

with it you are mainly supposed to learn the programing basics and get a programming mindset

#

and develop your problem solving

#

plus java is basically the same as c# in terms of syntax so it will be easy to migrate later on

jaunty sorrel
#

could someone explain to me what this error message actually means?

#

roblox studio

#

by the way

#

i really need to know because i used a free model sound areas which worked really well for a good while

#

however it just.. broke

jaunty sorrel
quartz pumice
#
local settings_ = script:WaitForChild('Pointer').Value
                                                ^^^^^^
local defaultSound = settings_:FindFirstChildOfClass('Sound')
                             ^^^^
jaunty sorrel
quartz pumice
#

idk

jaunty sorrel
#

Well atleast i know more than i originally did

quartz pumice
#
local settings_ = script:WaitForChild('Pointer').Value
local defaultSound = script:WaitForChild('Pointer'):FindFirstChildOfClass('Sound')```
#

bandaid

jaunty sorrel
#

So this will help?

quartz pumice
jaunty sorrel
#

Only one way to find out!

quartz pumice
jaunty sorrel
latent owl
#

None

magic oriole
#

I never knew data scrapers could be so useful

fleet sierra
#

@jaunty sorrel Unfortunately, the only way to understand your problem is a snapshot of the explorer side by side with your code.

#

Otherwise use luau's annotation so we know if the type of

local settings_ : ObjectValue? | Instance? = script:WaitForChild('Pointer').Value :: any?
-- above , Pointer.Value can be any value type, we don't know if its an intvalue, objectvalue, stringvalue, rayvalue, vector3value, etc.
-- annotation is useful when explorer can not be seen
jaunty sorrel
#

here's a screenshot of the explorer on the side i guess

barren shale
#

lua xzibit

jaunty sorrel
#

i believe one of the studio updates might've broken the sound system a little bit

#

that or i messed up something with the client

main brook
#

whats the problem @jaunty sorrel

knotty root
#

None

barren shale
fringe leaf
#

How do I use the return in lua

rose pawn
#

Ngl lua is looking really attractive everytime someone sends an ss

#

Can you make discord bots and web scraping with lua?

cinder surge
#

Oohhhh moderatorrrr

#

I do believe I've caught myself a fishy steam scammer

#

@strange glacier

#

Wait I can't send images here

fringe leaf
#

Hamza how do I use Return In lua

cinder surge
#

@strange glacier I've sent you some dms of the whole thing

main brook
#

but usually its not equipped with networking

#

so you'll need an external package

#

which uses C behind the hood and just uses an interface to Lua

cinder surge
#

Victory has been achieved

distant wraith
#

I BROKE MY 80+ DAYS FANATIC BADGE STEAK wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer wbsuffer

#

Worst day of my internet life

main brook
#

what

#

what's this doe

fleet sierra
#

@jaunty sorrel why do you have several sound scripts of the same code running under the player?

main brook
#

he want to play phonk multiple time to boost morale

distant wraith
main brook
#

L

orchid frigate
#

The more experienced of a programmer you become

#

The more you realize stack overflow sucks and reddit is better

#

Because stack overflow usually requires some overly complex question that looks more like an essay than a question

#

And the answers are even longer and answer the question in the most complicated way possible

#

To the point you end up having even more questions by the time you read it in it's entirety

#

And you get made fun of by some guy that made the first assembler because of how bad of a programmer you are for even asking this question

main brook
#

chatgpt

jaunty sorrel
quartz pumice
#

linus recommends stackoverflow

#

I think

#

I heard that

#

idk

main brook
#

it's just an opinion

next lotus
#

how many times have u guys farted already this day

barren shale
#

stackoverflow is not bad

#

reddit is not bad

#

docs are top tier though

wet girder
#

A public API documentation my client has is the shittiest documentation I've ever seen lmao

#

They asked me to try the public API with no other information than the documentation and return my findings to them. I got like 2 page word document of stuff that needed to be changed

#

The documentation itself is barely that long

barren shale
#

yeah docs can suck

#

but good docs are better than anything else

next lotus
#

elitists

#

at least chatgpt is submissive, abusable and manipulateable and cute

barren shale
#

and fucks up a lot

next lotus
#

i mean

#

chatgpt is very breedable too i forgot to add that

quartz pumice
next lotus
#

look, as long as you have chatgpt api, hell you can make her act lol

jaunty sorrel
#

ok wtf did i just walk on here

quartz pumice
jaunty sorrel
lethal solar
#

Yo guys Whats the langage of the game to create mods

rose pawn
#

Someone answer this man

orchid frigate
# next lotus

What ungodly acts did you commit to make this happen 💀💀💀

#

This has to be a crime against humanity

orchid frigate
#

Also known as c#

orchid frigate
#

You can breed with your ai while it makes you your code

#

The amount of war crimes I have committed on that site alone can put me on a watch list

lethal solar
gloomy wadi
#

R

quartz pumice
#

thats not explicit

quartz pumice
#

its not openai tho 💀

jaunty sorrel
next lotus
next lotus
quartz pumice
orchid frigate
#

I usually torture the ai

#

I once made cthulu my slave

#

Forced doom slayer to go insane and do unspeakable things

#

and made a therapist ask me for therapy

#

from the things I did to him

final vapor
#

what

orchid frigate
#

You heard me

next lotus
left leaf
earnest sparrow
#

Hi

left leaf
#

Hello

umbral turret
#

GREETINGS

cyan socket
#

Hey

jolly field
#

Hey!

nova wedge
#

Hi!

quartz pumice
#
xor rip,rip```
fleet sierra
#

ah yes x86asm

next lotus
#

lets not get too political

ripe harbor
#

Hey

#

Verify me now

#

Or else

remote wraith
#

Should i learn java from yt?

#

I cant take any paid courses sadly

wet girder
#

You can learn coding for free yeah

#

I've never paid a single cent to learn programming

#

and I am work as a software developer at the moment

quartz pumice
#

never paid a single cent either

#

never even used a course

quartz pumice
main brook
#

i never paid a single cent

#

just using my wifi and phone that my parents bought for me

#

i don't even use a computer

remote wraith
remote wraith
main brook
#

that school is shit

remote wraith
#

Nah bro

#

Every school here

#

Its the board

main brook
#

nah bro Java as subject class is shit

remote wraith
#

Well u gotta choose from computer or economics

#

I would take computer

main brook
#

they executed that poorly fr

remote wraith
#

So yeah

main brook
#

i would pick economic

#

you can learn programming online

remote wraith
#

I dontblike economic

main brook
#

fair point

remote wraith
#

Maths shit

#

Extra maths

main brook
#

but

#

Computer uses math

#

more

#

than economy

remote wraith
#

Ik but i have more interest in it

main brook
#

brain explosion

remote wraith
#

Like 0 interest in eco

main brook
#

just don't learn Java as first language

#

learning Java for first language is like

remote wraith
#

Then what language do u suggest

main brook
#

riding a bicycle at 3 years old

#

but there's no safety wheel, and the tire have deflated, and its on fire, and on top of all that everywhere you go is uphill

#

but once you learnt it at least the bicycle gets a bell

remote wraith
main brook
#

i started at 8

main brook
#

its quoted

#

from boris

remote wraith
#

Hm

#

So what language do u suggest

main brook
#

Probably C++

#

its low level and good

#

biased opinion tho

#

JavaScript, Python, Ruby

#

unbiased is C++ and C

barren shale
#

for just math

#

use python

#

never use javascript

#

java🤮

#

🤮script

main brook
#

its entirely for a different reason but ok

#

well for pure math

#

julian

#

for data use python

barren shale
#

for pure math

#

calculator

main brook
#

use your brain hamza

#

finger

#

for number

#

1 + 1 is two finger

remote wraith
#

Not compulsory

knotty root
#

std::cout<<"Hello yall"<<endl;

quartz pumice
#

@orchid frigate my gcc cross-compiler is outputting code larger than 512 bytes, how do I convince it to be below 512 bytes?

#

I want to write a basic fs driver in c, but I only have a sector of room (which I can deal with, but gcc cant for some reason)

#

its literally 9 lines c extern void entry() { // find the file lowkernel in kfs and run it. // bootloader jumps to the first (non elf header) byte here in long mode, this is limited to one sector. unsigned char *vga = (unsigned char *) 0xB8000; while (1) { vga[0] = 'h'; vga[1] = 1; vga[2] = 'i'; vga[3] = 1; } }

#

also I spent like the past 5 hours making my own file system and it was painful but im really happy with it

quartz pumice
#

That isn't working

clever oxide
#

None

magic oriole
#

/RNZEWZN1 Here's a pastebin for an "AI" news generator based on a simple rule system

limpid hedge
#

does anyone want to talk

#

pls

#

pls

orchid frigate
#

I have many questions

orchid frigate
#

Arent you already in protected mode and already switched to kernel sectors

#

Or did you switch and are trying to write the driver inside of the first sector

#

And btw writing a sector worth of C code is a stupid idea regardless

#

The driver will always exceed 512 bytes unless you write it in assembly yourself

orchid frigate
#

You made your own?!?!!

#

Why and how and show code

#

Right now

orchid frigate
#

Also also

#

Please do paging and idt and gdt before adding a fs if you haven't

#

They are the most fundamental things an os should have and give you an idea on what is supposed to happen in the future

#

Fss are kinda a luxury

quartz pumice
quartz pumice
quartz pumice
fading obsidian
quartz pumice
fading obsidian
quartz pumice
fading obsidian
quartz pumice
#

cuz im making an os and I made some very bad design decisions

#

that I dont want to reveres cuz im lazy

fading obsidian
#

if thats the case, then go ahead and use assembly

quartz pumice
quartz pumice
#

is vga in big endian? (Do I even know what big endian is?)

#

this is kinda confusing when it goes from right to left

#

its not blinking when I set 1 though so

#

it doesnt blink if I set the 8'th or the first bit

#

im side tracking tho

fading obsidian
#

i have no idea what tf that means

quartz pumice
#

I have no idea what it looks like in hex

#

the github isnt setup like a github usually is

#

oh its 32 bit nevermind all that

#

assembly time

orchid frigate
#

Instead of having the basic ones

#

You need to setup real structures

#

With all the basic handlers for idt

#

And write paging drivers or whatever they are called so that you can actually use it

orchid frigate
orchid frigate
#

Also don't get used to VGA you will soon need to switch to vesa

#

Rendering VGA drivers useless

orchid frigate
#

There are some very very old C compilers that are made for this

#

But they are very outdated difficult to setup and most of the time it's better to just write assembly

#

Also you know about GPUs and how shit making them work is right

#

Cuz that kinda demotivated me from making an os

quartz pumice
#

I plan to just make it POSIX and unix compliant so Linux drivers work

orchid frigate
#

Also something I found useful is

#

print to the serial port instead to the screen

#

that way you wont lose data because scrolling

quartz pumice
#

Ok

fallow wasp
#

hi friends

#

I don't know where else to ask

#

oh I can't even send images

#

nevermind

tidal elbow
#

What do you need?

orchid frigate
#

anyone here familiar with heap allocator designs by any chance

#

im trying to make one on my own but im kinda struggling

quartz pumice
quartz pumice
#

like both of these are block allcoations.. but

#

I would pre-alloc like 12 or so megabytes for memory then use that to cover blocks. like each byte in the first few megabytes of memory holds process ID's and are statically mapped to blocks in memory (512 bytes, or 1024 to double max mem size).. A large problem with this is that it might not have good compatibility with the mmu

#

another block thing I would do is more closer to an fs, and would literally just be a 32 unsigned int proccessID as a header in any block of memory and would allow infinite memory but might have speed issues (though modern OS's have MASSIVE speed issues with ram so)

#

Yeah I just read through mmu you literally haved to do nothing except set it up and handle errors with the mmu

radiant agate
#

What language should I start on learning? html or Lua??

barren shale
#

html is not a programming language

#

lua sucks

barren shale
#

they probably never existed in the first place

main stag
barren shale
#

who is shieyno?

main stag
#

the lua guy

barren shale
#

oh they banned him

#

nice

main stag
#

shitty reason tho

barren shale
#

doesnt make it less nice

wet girder
#

Just realized the ban has restored this channels integrity

main brook
#

PEACE HAS BEEN RESTORED

#

we shall celebrate

fringe leaf
#

Me when lua

orchid frigate
#

@quartz pumice im talking about heap allocator

#

With dynamic memory management

#

İ already have the other allocator

#

Kinda

#

Also İ figured it out

#

İ just put a table at the end of each heap to hold all the allocations

#

And calculate the best address for the next allocation using it

orchid frigate
#

İ figured the design out

#

But İ can't figure the code out

#

Rust was not made for this shit

barren shale
#

rust was made for ugly people like ur mum

fading obsidian
#

python 💪

rose pawn
#

They banned the python guy 😔

next lotus
#

only c# prevails

barren shale
#

I mean they are very similar

next lotus
#

you know

#

doesnt typescript compile to javascript

orchid frigate
quartz pumice
main brook
#

@orchid frigate

#

@orchid frigate

#

answer me quick

#

WHY THE HECK IS A MEMORY USING 370,482KB AND ONLY HAVING 4KB ALLOCATED

rose pawn
#

Allocation

next lotus
#

yet another massive low level programmer L

tidal elbow
#

me trying to work:
github:

main brook
#

bro

#

even reddit

#

is having troubles

#

whats with the internet today

#

fr its like last year

#

where YouTube, google, Facebook, twitter, Instagram, most major companies are down

#

even WhatsApp

timid field
#

Me uploading 50gb video of a fish swimming:

orchid frigate
main brook
#

i did get the BX error

#

something about BX40 something i forgot

#

im bad at remember error codes

orchid frigate
#

What does bx stand for

main brook
#

i googled it and simplified version is

#

buffer overflow

orchid frigate
#

Wait allocated for what

#

İs the heap that big

#

Or just the allocation

main brook
#

no idea

orchid frigate
#

I'm assuming allocation

main brook
#

what's the difference between a Private memory and Mapped

orchid frigate
#

So you have an allocation 4kb big

orchid frigate
main brook
#

explain

orchid frigate
#

Like they have nothing to do with each other

#

Mapped means a virtual address was mapped to the physical address

main brook
#

cause all i see is

#

oH

orchid frigate
#

Private is defined by the os idk what exactly it means

main brook
#

ye

#

well it explained

orchid frigate
#

A heap is always mapped so you don't have to worry about that

main brook
#

problem is

orchid frigate
#

The allocation is 4kb

#

But you are using more than 4kb for that allocation

#

So don't do that

main brook
#

im debugging another program

#

it kept crashing like crazy

#

i had to use process hacker

#

guess what

#

they dont even use that memory anywhere

#

fr

#

no use whatsoever

orchid frigate
#

So it's literally just ransom at that point

main brook
#

yes

orchid frigate
#

Wait how big is the memory used

#

500k kb?!?!

main brook
#

370k

#

kb

orchid frigate
#

BEO

#

Bro

#

What

main brook
#

its like

#

alot alot

orchid frigate
#

Nvm it's not that much

#

İt's still memory leak worthy

#

But not impossible much

main brook
#

its the reason it crashed tho fr

orchid frigate
#

You have a memory leak

main brook
#

other memories are tamed

orchid frigate
#

Most likely

main brook
#

ye

orchid frigate
#

Wait a single allocation is 370k

#

A SİNGLE ALLOCATİON

#

Not multiple

#

A single is using that much

#

?!

main brook
#

they're releasing like an A/B testing

orchid frigate
#

How is that even possible

main brook
#

so its beta

#

but we don't get to choose

#

fr

orchid frigate
#

Bro that's a major fuck up 💀

main brook
#

we either get the crappy memory leak version

#

or the main version

#

if they're using rust this wouldn't happen

orchid frigate
#

Yes but it would be too safe

#

Now if you will excuse me İ am forced to play Minecraft

main brook
#

alright bye

#

im gonna sleeo

#

its already 1:39am

barren shale
#

Imagine memory leaks

#

Lol

next lotus
#

since uh

#

pandemic

#

and also everyone has at least 100 youtube bots

#

wait no

#

everyone has a lot of bots everywhere

#

maybe im also a bot

#

maybe im just a language model

#

you'll never know

orchid frigate
#

that would be ludicrous

#

you are the real bill gates after all