#⌨coders-cave

1 messages · Page 61 of 1

orchid frigate
#

Pffff unity

#

Who tf uses unity

#

We make our own game engines

hasty bane
#

lul

orchid frigate
#

Plus

#

Have you coded in cpp

#

If you have you should know that vectors work a bit differently

#

Kinda like lists

hasty bane
#

c++?

orchid frigate
#

What

#

Yes

hasty bane
#

bruh

#

no i only tried c#

orchid frigate
#

Ah well they are very similar

#

I like them both

hasty bane
#

sharp is weird

knotty root
#

not guilty

hasty bane
#

see

#

hes not corrupt

orchid frigate
#

The point is vectors in cpp are very useful for storing low ammounts of stuff

#

He will need to prove it to me because he said alot of mean things to me

hasty bane
#

lmao

orchid frigate
hasty bane
#

so i uhh

#

i ended up saving everything in npy again

orchid frigate
#

Use .json

hasty bane
#

json would be several times larger than npy

orchid frigate
#

How big is you file rn

hasty bane
#

though that's because I was using w

#

it's like 30kb in numpy

orchid frigate
#

Eh noone cares about some kb

hasty bane
#

true

#

but speed is good

orchid frigate
#

Still

#

Don't sweat to make you program faster with 1 millisecond

hasty bane
#

true

orchid frigate
#

First get it working then fix everything else

#

What I say is a program that doesn't work but is fast is....not good?????

#

Idk I'm not a poet

hasty bane
#

lol

#

I've been coding for around 10 hours today

orchid frigate
#

I haven't coded in 6 days

#

😔

hasty bane
#

rip

orchid frigate
#

Cuz I'm on a mf vacation

hasty bane
#

nice

orchid frigate
#

Here is a picture

#

Btw anything that looks like an advertisement in the picture is not one

#

Anyway so what are you making that requires an array of chars in a different file

hasty bane
#

trying to make an image that gets changed periodically

main brook
#

what does periodically means

main brook
hasty bane
#

each turn

orchid frigate
#

Strawberry juice

#

Probably made from kompot

main brook
#

nice

orchid frigate
#

But still

main brook
#

i just drank some

orchid frigate
#

Very tasty

main brook
#

strawberry milk tea

main brook
orchid frigate
#

Idk why they gave me two straws when I was one person

main brook
main brook
hasty bane
#

actually I'm not gonna write to the file

main brook
#

but not sure-

main brook
orchid frigate
hasty bane
#

aaa

#

it's complicated

orchid frigate
#

Just use openGL wbsmirk

main brook
#

@hasty bane just a suggestion

#

make a buffer for it if you're making the file persistent

#

so save after X seconds

#

or after X changes

hasty bane
#

the file won't be updated probably ever

main brook
#

then no buffering needed

#

its a reverse cache

main brook
hasty bane
#

bot will read from file, get several dataframes running for each layer and once everything's done it just deletes

orchid frigate
#

I don't really understand what changing a picture meant

#

So I just went with creating a window and slapping a picture on the background

#

wbsmirk 👍

hasty bane
#

mmm

main brook
orchid frigate
#

Why do I feel some reinventing the wheel actions rn

hasty bane
#

2-dimensional labeled data structure with columns of potentially different types

hasty bane
#

will use it for storing x,y coords

main brook
#

ah

hasty bane
#

or IDs, doesn't really matter tbf

main brook
#

okay so like

hasty bane
#

as long as it keeps track of where things are

main brook
#
data = file.read()
data = parse_to_2d(data)
#

something like this?

hasty bane
#

no

main brook
#

THEN EXPLAIN PI_tableslap

#

im pissed off because of my teacher

orchid frigate
#

I feel like there is a simpler way to do whatever is needed

main brook
#

like using a json

hasty bane
#

x = pandas.Dataframe({"something": 100})

main brook
#

Ah

#

panda

hasty bane
#

yes

orchid frigate
#

Is that....oh wait not mr

#

Ok I'm good

main brook
#

you didn't mention what dataframe

#

so i suspect like

hasty bane
#

lmao

#

by bad

main brook
#

you made them

hasty bane
#

my bad*

main brook
#

let me install pandas first

#

oh surprisingly

#

its smaller than numpy

orchid frigate
#

Every time I see that name I get war flashbacks...

main brook
#

the name i see to have a flashback is hannah

hasty bane
#

pandas is cool

main brook
#

time to wait for building dependencies

hasty bane
orchid frigate
#

Sadpandahappy

main brook
#

darn i forgot i haven't installed numpy

hasty bane
#

lol

orchid frigate
#

Python seems like a pain to code in with all that installing

hasty bane
#

not really

main brook
#

wait what the heck

hasty bane
#

it's actually very easy to code in

#

the hard part is figuring out what you need

orchid frigate
#

Thankfully the c languages.come all packaged up and ready to code

main brook
#

i already installed numpy but pandas said i don't have one

hasty bane
#

weird

#

uhh

main brook
#

npm is

#

nodejs

#

or worse

#

Lua

#

you need third party helper

hasty bane
#

Lua wbgreg

orchid frigate
#

Lua I need to learn that language

main brook
#

no

#

dont

orchid frigate
#

I really like it

main brook
#

please i don't wanna lose you haydot

hasty bane
#

why did roblox decide they wanted lua

#

like

main brook
hasty bane
#

they had all the alternatives

orchid frigate
#

But binding of isaac

main brook
orchid frigate
#

Was made in lua

#

So it must be good

hasty bane
#

watch me make battlefield 2042 in Lisp

orchid frigate
#

GTA 10 in SQL 😎

main brook
orchid frigate
#

It's just gonna be one big database

main brook
hasty bane
#

gta but its a roguelike

main brook
orchid frigate
main brook
#

i think im good with graph Database

orchid frigate
#

👀

hasty bane
orchid frigate
#

no no no

hasty bane
#

mmm ascii graphics

main brook
#

you guys should make Roblox but with javascript

#

it'll be easier

orchid frigate
#

openGL is pain to setup in cpp 😔 😔

hasty bane
#

xzibit im literally making a roguelike in discord

main brook
#

the this can reference the game

orchid frigate
main brook
#

depends on context

orchid frigate
#

And when

main brook
#

literally now

#

why pandas takes long time

hasty bane
main brook
orchid frigate
#

No

hasty bane
#

yes

orchid frigate
#

I mean yes

#

I mean

hasty bane
#

you can't stop me now

orchid frigate
#

Idk

hasty bane
#

it's too late

orchid frigate
#

I'm confused

main brook
#

and look at this

hasty bane
#

as soon as i get the image stuff running I'll be UNSTOPPABLE

orchid frigate
hasty bane
#

ah i see

main brook
#

PILLOW lib

#

could have a memory leak

hasty bane
#

glad im using opencv then heh

main brook
#

okay good

orchid frigate
#

Lol

#

pain

main brook
#

oh btw

#

you can run thread as parallel

#

with cython

hasty bane
#

hmm

orchid frigate
#

Cython

main brook
#

its still a thread

#

but just removes the gil

orchid frigate
#

Are we just gonna have python but with different names what is this python devs

main brook
#

there's

#

Jython

hasty bane
#

jython

main brook
#

Java and Python bridge

orchid frigate
#

Zython

main brook
#

there's the

hasty bane
#

Basic x python

main brook
#

PyJs

hasty bane
#

🅱️ython

main brook
#

Chathon

orchid frigate
#

What's next

main brook
#

not sure

orchid frigate
#

Xqcthon

hasty bane
#

next? python x python

#

Pypyththonon

orchid frigate
#

Pypy

main brook
#

That's

#

guess what

#

PIP stands for

orchid frigate
#

No

hasty bane
#

NO

main brook
#

YES

orchid frigate
#

Let's all gather together

#

And delete the python language

hasty bane
#

pip stands for pokemon in python

main brook
#

no

orchid frigate
#

Forever

hasty bane
#

python is pretty good smh why delete

main brook
#

delete Zombie Language instead

#

it sucks

#

and because it uses Java

#

instead of custom build compiler

orchid frigate
#

Lolcode is visibly superior smh

main brook
#

mhm

#

we have weirds name for languages these days

#

there's X

#

X++

orchid frigate
#

F#

hasty bane
#

F###

main brook
#

i know C#

#

wait

#

I know a meme

#

"Forget zodiac sign, do you say CSharp or CHashtag"

hasty bane
#

if there are people that say CHashtag they should be sent to prison

main brook
#

mhm

#

also same with

#

html is a programing language

#

and surprisingly css can calculate

#

calc(1px + 1px)

hasty bane
#

html programmer troll

#

i need to get my hands on them web things

main brook
main brook
#

iirc its

hasty bane
main brook
#
GET [endpoint] HTTP [version]

Header-Key: HeaderValue

Body
#

iirc

hasty bane
#

hmmm

main brook
#

also "Content-Length" is a hero

main brook
#

but also

#

you can hack with html

#

something calles

#

CROSS SITE SCRIPTING

#

iirc

#

uhh

#

i forgot the name

#

but its like

hasty bane
#

css is a <script> thing right

main brook
#

yes

#

its like sql injection

hasty bane
#

ic

main brook
#

this is why i use jinja as template

hasty bane
wet girder
#

I love reading about xss

main brook
#

oh yeah

#

Xss

#

its the same as sql injection

#

instead of query

#

its a script tag

wet girder
#

well

#

kinda

main brook
#

mhm

hasty bane
#

and that's why i reject any user input that's not alphabetical

main brook
#

<script>
alert("ur mom fat");
</script>

main brook
hasty bane
#

too lazy

main brook
#

just use a helper

#

jinja has built in escape

#

so any variable can be parsed as escaped

hasty bane
#

i don't want people registering as xXx_n00br3kt3r_xXx

main brook
#

with the X names

wet girder
#

does it even matter what they name themselves

hasty bane
#

not really

main brook
#

i usually have one condition

#

less than 50 character

#

that's it

wet girder
#

users will always find dumb shit to do with your software

main brook
#

and i always have spare

#

length

main brook
#

in my database

#

50*2

hasty bane
#

impossibl

main brook
#

so if their whole name is escaped

#

it fits

hasty bane
#

unless they try to register with like some invisible character

main brook
#

human curiosity

hasty bane
#

i need to test that

main brook
#

or etc

wet girder
#

The whole job of hackers is to do idiotic stuff on software to break it

main brook
#

and i like how people make bug == glitch

hasty bane
#

I don't think you can break things using just letters

main brook
main brook
#

Buffer Attack

wet girder
main brook
#

yes you can

hasty bane
#

i mean the .csv stuff

main brook
#

it can run something

#

and break

#

things

#

usually in C

#

like on a string

#

usually they make the buffer overflow

main brook
#

still yes

#

they can store arbitrary code

#

to be run

#

or huge bytes

hasty bane
#

with just letters?

wet girder
#

yes

hasty bane
#

no symbols no numbers

main brook
#

yes

#

yes

hasty bane
#

even with a length limit?

main brook
#

yes

hasty bane
#

whew

wet girder
#

it's harder but yes

main brook
#

usually higher level language doesn't have this issue

#

but still possible

#

in C you can breach the max array items

hasty bane
#

pandas dataframe doesn't have a limit i believe

main brook
#

it does

#

but

#

it resizes itself

hasty bane
#

even if it does, you're limited to one registered character per user

main brook
#

unless its like a linked list

hasty bane
#

tied to ID, yes

main brook
#
{
  "user1": "a",
  "user2": "b"
}
hasty bane
#

p much

main brook
#

HOLY COW PANDAS IS STILL INSTALLING BUILD DEPENDENCIES

hasty bane
#

lmfao

main brook
#

@hasty bane can i see an example of your data

#

when the user is playing

hasty bane
#

data?

#

i have none

#

its a bit of a dumb idea to make gameplay stuff before the image thing is done

#

you can write a small script to generate rows of data and then write it to a csv

main brook
#

ahh

hasty bane
#

ye

main brook
#

anybody want to see how my code looks like

#

on a simple game

#

on discord

#

FINALLY

#

pandas finished installing build dependencies

#

NO NO NO NO

#

NO

wet girder
#

atleast it does it automatically

#

wine 6.11 doesn't

#

there's like 30 missing dependancies and I need to install them myself to play roblox

#

it sucks

hasty bane
#

lmfao

#

I don't understand why it takes so long for you to install it

main brook
main brook
#

android build tools sucks

hasty bane
main brook
#

my phone crashed for a moment

#

why pandas TAKES SO MUCH RESOURCES

hasty bane
#

it... doesn't?

main brook
#

it does for building the wheel

#

for me atleast

hasty bane
#

hm

main brook
#

definitely

#

96.4% cpu

hasty bane
#

wew

#

also why android. why are you on mobile downloading libraries. what's wrong with you

main brook
#

i don't have the laptop?

#

i literally code on my phone for 2 years

hasty bane
#

scary

#

but also sounds interesting

#

do i need root for it

main brook
#

no

#

unless you want to

hasty bane
#

probably not

main brook
#

like

#

use the

#

libs that alters the system

hasty bane
#

na

main brook
#

okie you're good then

#

termux is a good place

#

you can install linux distros

#

instead of the default system

#

so you have a sandbox inside a sandbox

hasty bane
#

aight

#

will do as soon as i get a new phone

#

because this one is...

#

it barely runs discord

main brook
#

okay but what's the new phone

#

ANDROID

#

or

#

IOS

hasty bane
#

android obv

main brook
#

and i dont know why i always capitalize them

main brook
hasty bane
#

no clue

main brook
#

if its like 11

hasty bane
main brook
#

well you're kinda at a disadvantage

#

also you can just code small things on your phone

#

pydroid3

#

its only a few mb

#

by few i mean 100

#

it doesn't use much performance too

#

"unless your code demands it"

#

it also runs a fakepy

#

which doesn't require you to save your file

#

but you can run them

#

its also a sandbox

#

but no gnu commands

#

well some exist

#

but mostly gone

hasty bane
#

hm

main brook
#

bad side of this is you can't run in backrgound

#

the terminal literally shutdown if you leave the app

#

its also currently on 3.8

#

don't buy the premium

#

not worth it

#

my my

#

its still building

#

Its calming down

#

YAY IT FINISHED BUILDING

hasty bane
main brook
#

YES YES

#

imagine waiting for like 2 hours

#

to install a library

#

just to test one thing

#

im a person full of dedication and sheer will

#

time to learn greenlet

#

oh heck yeah

#

all i have to do is just

#

reinstall numpy

#

and also greenlet is cool

#

provides some sort of easier async

#

but behaves like threads

hasty bane
main brook
#

and then i found gevent

#

yup im on my way to make more useless stuff

main brook
#

GEVENT IS FUN

barren shale
#

Yo

#

Mama

barren shale
main brook
#

why use tensorflow

barren shale
#

Why wouldnt i

#

Its the best

orchid frigate
#

Hamza

#

Vectors are better then arrays wbsmirk

#

Airod

#

You here

grand otter
#

ye

orchid frigate
#

Ok

#

Do you know any coding language

#

Are you a coder

grand otter
#

I know some basic stuff

orchid frigate
#

Data types?

hoary hound
orchid frigate
#

That's all you will need

grand otter
orchid frigate
#

Good

#

Well uhhhh

#

JSON is basically used to store data types

#

It's very useful because it is also readable through java script

#

It consists of a few main things

#

Actually

#

Do you just want to watch a small video I will show you to learn it from someone better then me?

grand otter
#

sure

knotty root
#

*codes

orchid frigate
hoary hound
main brook
#

json in a nutshell: store anything in a key value pair

knotty root
orchid frigate
#

Very useful

hoary hound
#

hm

orchid frigate
#

I needed to learn JSON so that I can fix some Vs code code

main brook
#

JSON IN JS IS

#

like normal object behaves

hoary hound
#

ye

main brook
#

JSON FILE ON THE OTHER HAND

hoary hound
#

js uses json by default for objects

main brook
#

mhm

#

json is literally just a mapping

#

except it can take any datatype

#

as the value

#

AS LONG AS ITS STRING FRIENDLY

orchid frigate
#

I'm friendly to strings

knotty root
#

i didnt know this was spanish class

orchid frigate
#

I even talked one reasently

#

Went to a cafe

hoary hound
main brook
knotty root
#

teach me the ways

main brook
#

dont learn programming

#

if you dont wanna suffer

knotty root
#

i want to make obama simulator

hoary hound
#

that's the spirit

main brook
knotty root
#

but

#

i have a life tho

main brook
#

ouch

#

you killed all our soul

#

except Haydot

#

he haven't coded in 6 days

orchid frigate
#

Don't worry

#

I lost mine too

hoary hound
#

haydot come back to the cave

orchid frigate
#

wbsmirk 😔

main brook
fallen burrow
#

How to install maps@on IOS guys?

knotty root
#

im leaving the cave

main brook
#

not the place to ask but

knotty root
#

im going to fight for the motherland

bitter sedgeBOT
main brook
orchid frigate
#

This.tranform.position

#

I don't miss unity's simplicity

main brook
main brook
#

it was fun

#

now im always anxious about my code

main brook
#

actually

#

Vectors are crap

#

Haydot: angry

#

although its fast on mutating it

#

but searching for items

barren shale
#

Why would you use vectors

main brook
#

unlimited length

barren shale
#

If ur not gonna use verctors math

main brook
barren shale
main brook
#

Linked list?

barren shale
#

Whatever you wanna call it

main brook
#

well in python

#

they use array

#

but resized

barren shale
#

Wot

#

Why would you use an array

#

For a list

main brook
#

i never said that

#

hamza you seem high

#

did you consume any illegal substances

barren shale
hasty bane
#

csharp counts as one

main brook
#

i meant like python list

#

they use array

barren shale
#

Yea

#

Why would they do that

#

They are completely different on how they work

main brook
#

because frick your opinion hamza

hasty bane
barren shale
#

Resizing an array is so much slower

#

Than just making a list

#

Thats a fact

main brook
#

yeah but

#

accessing it is

#

O(n)

barren shale
#

Not an opinion

main brook
#

plus

#

list is the same as any other object

#

and linked list

#

are object based

#

so yeah-

barren shale
#

Lists are pretty well optimized in C#

main brook
#

and also garbage collecting

barren shale
#

Almost no difference than an array

hasty bane
#

I'm probably gonna pause the bot thing for a while

barren shale
#

And its not always O(n)

main brook
hasty bane
#

nah

main brook
#

everyone will say

#

"lets take a break"

barren shale
#

I think they use a hashmap

hasty bane
#

I'll come back to it in august most likely

main brook
#

and the project ended up in dump

main brook
hasty bane
#

well

#

i usually abandon a project for a few weeks max

#

and then i come back to it

main brook
#

i have my async project on halt

#

socket are hard especially for windows

hasty bane
orchid frigate
#

I don't need to be able to find locations of items

#

In a vector

#

I just need to store something somewhere

main brook
#

but why

#

oh wait

#

its good for queues

orchid frigate
#

Because opengl

main brook
#

popleft and append

#

and since you dont need random access

orchid frigate
#

And because I hate arrays

main brook
#

me too

orchid frigate
#

I really hate arrays

main brook
#

although

#

string are array of chars

orchid frigate
#

Thus I don't use string

#

👍 😎

main brook
#

but you're using them right now

#

this message

#

your name

#

your phone

#

your pc

orchid frigate
#

Shhhh

#

We don't speak about that

main brook
#

you're like a flat earther

#

and reminds myself that im flat

orchid frigate
#

I'm a donut earther

#

😎

main brook
#

the universe is a donut

orchid frigate
#

Does that mean the earth is a donut Thonk

#

A universe

main brook
#

no

#

gravitational force

#

is one point

#

so by nature

#

its round

#

since in all 360°

#

there's gravity

#

and 360° is a complete circle

#

make that in a 3 dimensional world

#

and we have

#

a 3d circle

orchid frigate
#

Thonk Stick earth

#

Earth is a big stick

#

This would explain why it's brown in some parts

main brook
#

what

#

im absurdly cringing

#

i even said "what"

#

instead of "wha-"

barren shale
main brook
#

hashmaps aren't ordered

barren shale
#

The performance is very close to an array

main brook
#

ITS NOT ORDERED

#

although we have alternative

#

called OrderedDict

barren shale
#

Idk how they did it

orchid frigate
#

I'm making this a theory

barren shale
#

It had something to do with hashmaps

orchid frigate
#

The stick up theory

barren shale
#

Thats the only thing i know

main brook
#

me too honestly

#

but then it have to be ordered

#

meaning if an item got moved

#

it'll have to change the whole

#

thing

#

on the right side

#

atleast

#

so still O(n)

#

also fun fact though

#

python hash() returns number as themselves

#

hash(1) returns 1

barren shale
#

Its a 100ms difference

#

For 6 million iteration

#

In C# that is

main brook
#

appending to a list is faster

#

than inserting to the end

#

not sure why

barren shale
#

Its the same in C# to add to the start or the end

#

Only when its the middle

#

If its a normal list its not very fadt

#

Linked lists are faster

main brook
#

duh

#

its just linking elements

barren shale
#

But they use a lot of ram

main brook
#

memory*

#

Hamza: Korone_Gun

barren shale
#

Aight

#

Im out

main brook
barren shale
#

Gotta study some math

main brook
#

Ha who learns math

#

i get like 30 on my test

barren shale
#

Need to go to computer science college

#

So i gotta get that 600/600

main brook
#

my brother apparently did that

#

without math

#

and the teaching sucks

barren shale
#

Your brother apparently doesn't live in Syria

main brook
#

of course

#

and also the college sucks

barren shale
#

K bye

main brook
#

goodluck

#

love you daddy Sui_Wink

barren shale
main brook
#

im just kidding

#

i love everyone

orchid frigate
#

I got 77.5/100 on the maths test so I'm basically a ready to design the next space ship

main brook
#

i got 30/100

#

and school literally just assume im dumb

#

jokes on them i know how to program just not interested in your type of math

orchid frigate
#

Thats the altitude I wish I had

#

I got that score out.of pure luck

main brook
#

difference in skill

orchid frigate
#

On my graduation from my last school

#

The principal was giving me the certificate or smth

main brook
#

what certificate

orchid frigate
#

And was like have more confidence

#

Idk how she knew I'm a programmer

main brook
#

woah

orchid frigate
main brook
#

i also have one nepxd

#

im starting over

#

so i will have 2 certificate

wet girder
#

I have like 4 certificates that are all in my resume because they look good there

main brook
#

holy moly cow mother of justice

orchid frigate
#

I have...idk how many

#

I probably lost em all

#

😎

main brook
wet girder
#

well 20 of them I don't need anymore

#

but everything else

orchid frigate
#

I can't lose mins either..well I shouldn't lose them is better said

#

But oh well I'm sure I they aren't that important

hoary hound
#

hmmm certificates

#

I have 1 CISCO certificate

#

andd... that's it

wet girder
#

I have 2 from school, one from introduction to work life thing and one from summer job

orchid frigate
#

How do you make a 3 dimensional array

knotty root
#

Tell me what is the 360 divided by the xbox esp divided by the quantum flactuation of divided of infinity and so on euth the big chungus regulairty of @($’dnxmzmcn 6 dimensional quantum dissonance with the flow of temporal paradox think

orchid frigate
#

Not coding related hagrid

knotty root
hasty bane
orchid frigate
#

But

#

I understand 2d

#

Because it has a vertical side

#

And a horizontal side

#

But how will it have depth

barren shale
#

Break time boyyyyyyyy

barren shale
#

So you have array one which is x y 0

#

Then array two which is x y 1

#

Which is a completely different array than array one

orchid frigate
#

But how is that a single array

hasty bane
#

4d array xddddd

barren shale
keen shell
#

Meattractive

#

I've been wanting to make a color splash plugin for paint.net, to create a quick map maker for worldbox

barren shale
#

Made up of smaller cubes

#

Like a Legos and shit

#

The cube is the array

#

And each small cube is an item

hasty bane
#

the array tesseract

hoary hound
#

Trying to generate code with novel ai be like

barren shale
orchid frigate
#

Yes

#

I understand that

#

Wait...

#

I just realised what all programmers needed without knowing it

#

3d IDEs!!!!

#

@grand otter I mean matters

grand otter
#

hm

orchid frigate
#

2d arrays can be used to create rooms for rouge-likes if you are very desperate

#

Like litterally draw the room with them

grand otter
#

mhm

orchid frigate
#

But to actually draw the things you will need to use nested for loops (one for each direction) and a foreach to go through the array

#

But this is only used if don't wanna do math I think

#

Not the nested for loops part that is very useful anywhere

#

Drawing the map with arrays is very desperate

main brook
#

@orchid frigate

#

3d arrays are just

#
[
    [
        [x,x,x],
        [x,x,x],
        [x,x,x]
    ],
    [
        [x,x,x],
        [x,x,x],
        [x,x,x]
    ],
    [
        [x,x,x],
        [x,x,x],
        [x,x,x]
    ]
]
#

if i remember-

#

its like

#

zxy format thingy

#

so uh

#
arr[z, x, y]
#

i like to imagine it as

#

the outer array as a layer

#

the inside as the 2d normal array

#

so z is a layer

#

layer 0 or 1 or 2

#

and we have depth

#

also my frequently used emoji got purged

#

i have no idea why

main brook
#

holy jebus christ

#

opecv is lile

#

83mb in package file

#

im not gonna ever use it

main brook
#

i should make an async file wrapper

main brook
#

okay what the heck

#

i was searching for

#

"metatable in lua"

#

and google was giving me roblox crap

brittle wind
main brook
#

i know

#

Roblox has their own

#

Luau

#

i meant like

#

i was searching for vanilla lua

hoary hound
#

This is impressive and absolutely scary at the same time

https://youtu.be/0zaGYLPj4Kk

❤️ Check out Fully Connected by Weights & Biases: https://wandb.me/papers

📝 The paper "Alias-Free GAN" is available here:
https://nvlabs.github.io/alias-free-gan/

📝 Our material synthesis paper is available here: https://users.cg.tuwien.ac.at/zsolnai/gfx/gaussian-material-synthesis/

🙏 We would like to thank our generous Patreon supporters wh...

▶ Play video
main brook
#

that came to my recommendation

keen shell
#

Yes that's pretty pog

main brook
#

but i didn't watch it

hoary hound
#

It's worth watching

#

Really scary how far face generation has come to

main brook
#

can they make your momma face

hoary hound
#

Not only generation but also animation and movement

keen shell
#

I've also watched the previous one(s), I basically watch each of his videos and it's cool to see the progression made

main brook
barren shale
#

ML is really good at these type of things

orchid frigate
#

Vectors are better then arrays

main brook
#

i did it boys

#

i made a sleep function in C for Lua

#

now since i can't yet use LuaSocket

#

so sleeping the thread works than iterating indefinitely

barren shale
#

Rei after doing a 1 + 1 calculator:
WE DID IT BOYS XDXDXDX EOGEBWI wbsmirk wbsmirk 👍 👍 👍 Jerry Jerry Jerry maximanimpog maximanimpog

main brook
#

it actually took some timex nepxd

#

the code is

#
#ifdef _WIN32
#include <Windows.h>
#else
// #include <unistd.h>
#include <time.h>
int nanosleep(const struct timespec *req, struct timespec *rem);
#endif

#include <lua.h>
#include <lauxlib.h>

static int l_sleep(lua_State* L) {
        double duration = luaL_checknumber(L, 1);
        #ifdef _WIN32
        Sleep(duration);
        #else
        if (duration == (int)duration) {
                struct timespec ts;
                ts.tv_sec = duration;
                ts.tv_nsec = 0;
                nanosleep(&ts, NULL);
        } else {
                struct timespec ts;
                ts.tv_sec = 0;
                ts.tv_nsec = duration*1000000000;
                nanosleep(&ts, NULL);
        };
        #endif
        return 0;
};

int luaopen_libhalt(lua_State* L) {
        static const struct luaL_Reg haltlib [] = {
                {"sleep", l_sleep},
                {NULL, NULL}
        };
        luaL_newlib(L, haltlib);
        return 1;
};
#

i made this on vim btw

bold rover
#

Nonetheless it's not only great With Animations it's generation quality greatly increased

wet girder
#

only works on windows WTF

bold rover
#

It sounds right

supple garnet
#

Hi

main brook
mossy cedar
#

print("Hello guys.") ```
worthy bridge
#

java players be like
system.out.println("Hello guys.");

barren shale
#

Trying to imitate haydot or smthing

#

And you could probably do it natively in lua

orchid frigate
#

Idc if my program runs 200ms slower then usual

barren shale
#

Useless code doesnt make ur program slower

#

Its just ugly

fringe vapor
orchid frigate
#

i care about working code

orchid frigate
#

asked a question on stack overflow

#

hope i dont get downvoted to hell again :)

#

first downvote, not looking good

wet girder
#

Wtf is this bullshit https://youtu.be/4qtCEflr2sk
Apple has never cared for user privacy and never will

Craig Federighi is Apple's Senior Vice President of Software Engineering. Craig oversees the development of iOS, iPadOS, macOS and reports directly to Tim Cook, CEO of Apple. It was my pleasure to interview Craig Federighi over a quick FaceTime chat!
FOLLOW -
TIKTOK: http://www.tiktok.com/@ellyawesometech
INSTAGRAM: http://www.instagram.com/elly...

▶ Play video
#

the whole YouTube page is licking apples boots (finnish saying but I made it a bit more appropriate)

#

and if they do care, holy shit they're bad at it

barren shale
#

Could always ask here

#

As we are more patient to bad haydot code

orchid frigate
#

but basically glfw fails to initilize

#

or it may fail

#

the problem is it doesnt fail but it also does lemme explain
so I have the following code which used to work:

#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <iostream>
using namespace std;
class Display_Manager
{public:
    GLFWwindow* window;
    int ammount_of_errors = 0;
     
    int Create_Window(int width, int height, const char* title) {
        if (!glfwInit()) {
            ammount_of_errors++;
            cout << "Failed to initilize glfw, aborting early" << endl;
            glfwTerminate();
            return -1;
        }
        else {
            cout << "Glfw initilized successfully!" << endl;
        }
        glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
        glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
        glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
        glfwWindowHint(GLFW_RESIZABLE, GL_TRUE);
        glfwWindowHint(GLFW_FOCUSED, GL_TRUE);
        window = glfwCreateWindow(width, height, title, NULL, NULL);
        if (window == NULL) {
            ammount_of_errors++;
            cout << "Something went wrong while creating the window, aborting early" << endl;
            glfwTerminate();
            return -1;
        }
        glfwMakeContextCurrent(window);

not full btw. When i build it no errors are given, but as soon as I run it gives me an error when creating a window.
It gives me the same error as if i didnt init glfw. In the console, it says glfw initilized successfully

#

wow thats bigger then expected

#

window hints work btw i tried to remove them but that doesnt help

main brook
#

there's os.execute("sleep 1")

#

but its not native

wet girder
#

it's actually really annoying that lua doesn't have it natively

main brook
#

it have a third party module though

#

LuaSocket

#

it have the sleep function

#

but since i can't compile it

#

because apparently my lua header doesn't work

#

i have to make it myself

wet girder
wet girder
orchid frigate
#

"exception thrown: write access violation. this was 0x50"

wet girder
#

it's probably quite cool to do something like that tho

main brook
#

you're cooler

main brook
orchid frigate
#

pretty much

main brook
#

violating write access

wet girder
#

holy shit, that's not a lot of information

main brook
#

its quite a few information

wet girder
#

do you see in he debugger what's in 0x50?

orchid frigate
#

cpp sucks at exceptions

main brook
#

true

#

but atleast better than not having exception

orchid frigate
wet girder
#

I thought debuggers show the memory addresses

orchid frigate
#

nothing has this value

wet girder
#

that being said I don't use them quite often

#

wait no maybe it's error code

orchid frigate
#

hmmm this has something wrong with it

#

like the this this

#

both window and ammount_of_errors cant read memory

main brook
#

wait

#

is 0x50 a mem addr

orchid frigate
#

ye pretty sure

main brook
#

but is it a pointer

wet girder
#

doesn't seem like it

#

because the debugger doesn't show a value in that address

orchid frigate
#

window is a pointer