#⌨coders-cave
1 messages · Page 64 of 1
Then you either become a doctor or a dentist or a pharmacy dud thingie
Or fail
People who fail basically wasted a year of their lives
Its basically like school
But its all medical shit
That must be heartburning, it's a good thing they are doctors and can operate a burning heart
Where the vets at
It doesnt count as med school
Why
Idk
Strange
I mean
Its a vet
If it requires you to get 234/240 to become a vet
No one would become a vet
Remember scores are based on how many people want to go to the college
And not a lot of people want to become vets
Yea just like here
Actually the min scores here are based on the scores in general
Aight have a good sleep
Bru
Fat mum
Hamza is a c#
do you why i use glasses?
because then i can C#
why is python high level?
because its above C level
insult me more daddy 
Holy shit my school is cool, I'll get so damn much free useful software plus we build our own studying setups in school with so damn powerful hardware plus there's esports classroom

that's so 
my school is shit
it hurts me mentally and physically
without any benefits at all
Well Atlest it's free
Ow that's a pain,I taught the Mental thing is free
Finnish schools are pretty good
They're in Europe on the other side of the country
Here we sometimes associate schools with prisons for the following reasons:
Most schools have these old buildings that have mf bars on the windows
Some schools have a basement which are full with locked doors and enough dust to make a man sneeze just by being there
And out-of-class activities are rare
So it's just you go there sit for 5 hours and leave
Actually more
Sometimes we spend the whole day there
Damn
I remember one time we had a test for IT class
And I decided instead of doing the test to code
Because I thought that the teacher,seeing me code would you know realise I know what I'm doing
Nope
Gave me a C
Or 4 for European people like me
One guy in my class asked me if I can hack
I told him I'm a programmer not a hacker so I cant
And then he asked me what's the mf difference
I know some people may really not know but just by thinking about it you can realise what's the difference
He asked me if I can hack a Instagram account, wasn't surprised a bit
yep
you know how to scare them off
just print random 0 and 1
to the screen
in green text
rapidly
No no no

Give them rust compile time errors in the cmd
They will think I hacked their pc or NASA through their pc
And put it In a powershell while loop

Ok computer science collegeza

I will insult you by being wholesome and telling you that you are definitely going to enter the university you want and.i.hope you the best
Well
Im definitely gonna enter the computer science college
Its just a matter wether i get it for free
Or for money
And i dont mind either
Be angry damnit 

Good 

Good ending
Everyone was angry
Im happy
I have fun school day tomorrow, I gotta take a bus ride to school for 30 minutes of school at the school, eat free school meal, wait 2 hours and come back home and then do 4 hours worth of school work
And all that effort because of the fucking chip shortage
Hey you know what they should add on the world box dinosaurs
That would be super cool
This isn’t the place to suggest things
this suggestion is like
going to a library and suggest some people to add some books
even though they're not the librarian
we should put a topic in this channel
[not place for suggestions]
or a pinned message saying this place is not for suggestions
What do you want to make?
can someone help? I am writing my bot in javascript. I installed Wokcommands, but they are not recognized
I tried to set the path manually, but it didn't help
to find out which one is suitable for you, just find some large and not very large projects written on each of them
Have you tried Wokcommands
No, I'm only writing on js for the second day
its recognized
but you're using ts
meaning your package must have its types
you can install it
if it exists
npm install @types/wokcommands
its usually a
d.ts file
apparently it does not exist(
Yes
same lol
Still no pc meaning it must be fucking broken as all hell
Or the guy is trying to figure out why the GPU doesn't wanna communicate with my monitor but does want with out monitors
sad
Kinda worried about the GPU because it did do some weird stuff
At the start the whole screen was pinkish
And glitchy
Afterwords it became normal
are you sure your monitor just isn't fucked
I mean there is no reason for it to be fucked
my old monitor used to turn pink for no apparent reason
That was his monitor mine just doesn't wanna speak to the GPU at all
No signal
ah
Thats wrong
C# is just way better than C++
The truth sometimes hurts hamza
Tell me one reason why

Performance is not needed anymore in most applications
The features in C# are just way too good
True
That's why its ranked 3
Unlike C++ which is ranked 4
I don't agree with anything else
Cringe
Well I just like writing c++, it's enjoyable language to use Imo
Imo rust is best because it's hard and enjoyable and I like suffering with no global variables and only locals and...
I dont hate C++
Why do I like rust again
Im just trying to annoy haydot
Fair enough
Anyways
C# IS THE BEST
Better thab cpp
Better than rust
Better than your fat mum
=)
You are arrested for insult

I remember when I started learning rust
I had no idea what I'm doing
I still have no idea.what I'm doing but I can talk about it here pretending I know what I'm doing
You can barely program in a high level language
Why'd you go to a low level one like that
Saw this on Reddit, I know this channel isn't for memes but it's fucking amazing
woah my mom too
My pc is here
The weird thing is when I asked him about the monitor not connecting he didn't say anything about it he just gave me a lecture on how windows licenses work
He said he only installed Windows which is Hella sus
Wait....I had a usb on my pc
Couldn't enter bios
ah
but im kinda worried cuz pc works but my 60GB usb is gone
i was gonna use that usb to install ubuntu 
ay so im working on the TMURC and i need ideas. What im looking for are very useless ideas.Give me some if you want or dont idk
good idea will think about it but
it has to have some functinality in real coding
like the to string functions
you can see how they can be useful
but then you realise they are completely pointless
also according to google cpp is harder the rust
pub fn main() {
let events_loop = glutin::EventsLoop::new();
let builder = glutin::WindowBuilder::new()
.with_title("Square Toy".to_string())
.with_dimensions(800, 800)
.with_vsync();
let (window, mut device, mut factory, main_color, mut main_depth) =
gfx_glutin::init::<ColorFormat, DepthFormat>(builder, &events_loop);
let mut encoder: gfx::Encoder<_, _> = factory.create_command_buffer().into();
let mut running = true;
while running {
events_loop.poll_events(|glutin::Event::WindowEvent{window_id: _, event}| {
use glutin::WindowEvent::*;
match event {
KeyboardInput(_, _, Some(glutin::VirtualKeyCode::Escape), _)
| Closed => running = false,
Resized(_, _) => {
gfx_glutin::update_views(&window, &mut main_color, &mut main_depth);
},
_ => (),
}
});
encoder.clear(&main_color, BLACK);
encoder.flush(&mut device);
window.swap_buffers().unwrap();
device.cleanup();
}
}
this is a part of the rust code compare that to cpp and you will realise why that isnt all that true
damn big boy code
oooh
i found it
the ultimate function
string_to_string
it takes a string and returns string
or more percisly, it takes &str and returns String

ah
Pretty readable ngl
Probably cuz u didnt write it
no lol
daddy haydot mean
Pretty much but I went with win32 on C++. Never swapped languages but I did start learning new concepts. Win32 has too many macros and typedefs. No namespaces and it's not compatible at all with OOP. You can do some interesting workarounds with static member functions but it was not fun.
MyClass a = { 0 };
MyClass* ptr = &a; /* You need to use an ampersand (which returns the address of the variable.) (So ptr points to a.) */
std::cout << ptr->b;
/* std::cout << *ptr.b will fail. */
/* You have to use -> when accessing members of a struct, class, or union. You also can't use the * operator because it adds an extra layer of indirection that the compiler complains about. */
sand lol
rust uses ||
this as brackets ofs some sort
idk wtf they mean because the rust documentation is smaller then c#'s speed compared to rust but i kinda use them whenever the compiler complains too much
D. YOUR FAT MAMA
hamza
my mom is fat
we know
you dont have to say it literally everytime

its idempotent
and redundant
Not redundant at all
New people come here everyday
So shut or ill defenestrate you
ok i know i have said this before but
i think i have found the hardest thing i have seen in coding
rust gfx
its like opengl with glfw but its not
and the documentation is really not alot so you dont have a choice from where to learn
and i fucking love it
hamza
you wanna be blocked
or just keep being annoying
and then getting blocked

but i actually love it

defenestrate me daddy hamza
Why am I in #⌨coders-cave?
goooooooood morning vietnam!
makes sense
this is not vietnam
precisely
this is where people do dumb stuff
and vietnam is smarter than this
the same thing
What about a coven?
I mean, a coven could be anywhere.
And it sounds much more intimidating.
Anyways, I just recently realized the use of std::optional.
i code
print("Do me, I'ma do me
I'ma make her mine, I'ma make her mine
I _ the shine, I said ___ the shine
Bitch, I grind, bitch, I grind
Yung Lean swervin' in, see me ___ed up
See me swervin' through, they want me locked up
Been locked up, in my own mind
My thoughts will never be shallow")
Your mum codes too
Epik code block fail. ```
you do know
that raises exception
>>> Print("no u")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'Print' is not defined
>>>
how m,any people are in this discord server
here's a hack on how to know
first of
you go to the server information
and look at the
member counts
are you on pc or mobile
meh
on the banner
ill go on my phone
no worries
dudes on the wrong cave.
Phone keyboard
First letter is always capital too lazy to undo
Lmao mini moddin

no, I'm mega modding
We keep mega modding
Hamza complaining about mods mini modding: 
Mods: 
Nah
lmao
And that is how you do reverse psychology
how to do reverse psychology 101
credit: Cringe#hamza

Hi.
Nub
The latest simulation updates really caused weird effects.

go to your room young man
let mommy teach you some manners

but no though seriously
you're grounded

They wont ban my account
I just have to send a picture of my ID
Then they'll ban you for false reporting


Ew
ÒwÓ
has a nice ring to it
let me show you my masochistic code
oh no
Show me daddy ( ͡° ͜ʖ ͡°)
(。・////・。)
import yourdad
from myself import me
while yourdad.is_loyal():
result = yourdad.punish(me)
if result.me.like_it():
me.request(yourdad.punish)
else:
me.report(yourdad.wife, result.action)
else:
yourdad.torture(me).wait()
no
Yeah
You already specified that its you in the line before it
you're pointing at nobody
well yeah but that's not how it works
if we put
result.like_it()
it means the result itself
not the parties
that did that action
i know

You already specified that its you
No need yo say that its you
Its the result of punishing you

Ipe
calls me.like_it(result)
so like
Wasnt python supposed to be a very simple langauge
its like partial data
yes but people like me make it complicated
Its like most confusing
The problem is
Making it complex
Doesnt make it better
It makes it more unreadable and same performance
like how you
import sys
sys.stdout.write("hello\n")
for some reason its kinda fast
by that i mean
Hm
Ehhh
well python print() is implemented in C++

if its pure python
it'll be a ms faster
that word doesn't exist
no
im gonna make your legs hurt boy

now go to your room
Make a physics engine
Make gta 6 in one day and checkmate rockstar.
make ps6
Make your mum unfat
i wish i can
but i unfat your mom instead
because doing your mom
makes her moves so fast
she lost so much weight

How is this chat getting more nsfw with every passing day
it started
when hamza and haydot have different opinions
and then the great war happen

son
you do know
i can still see that

im confusion if its kane
or yeet
oh its kane

childrens
IM CONFUSION
nope not me

okey 
When Jupe admin step up😄
Imagine minimodding
hamza at it again
lmao
%MEM %CPU CMD
0.1 0.0 /data/data/com.termux/files/usr/bin/bash -l
1.2 2.5 /usr/bin/python3 /usr/bin/pip install uvloop
0.7 1.9 /usr/bin/python3 -u -c import sys, setuptools, tokenize; sys
10.7 98.4 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O
0.1 1.0 ps a -o %mem,%cpu,cmd
0.0 0.0 /data/data/com.termux/files/usr/bin/bash -l
0.1 14.0 proot --bind=/vendor --bind=/system --bind=/data/data/com.te
0.0 0.0 -ash
gcc at it again

98% cpu usage
woo
its faster than expected

jesus turn off your pc or your it might turn into a helicopter and fly away
or explode
or get roasted
i dont know phone parts so i cant make a joke about it turning into something 
its a sad day today
its literally an SOC
it have modules
and a battery
Phone is literally just normal computer but tiny
on hardware level atleast
assembly is different too because of it being smaller
and everything is lower power and more packed
but it's still the same principles
Reis explanation is better if you know what SoC means
but I was too tired to think what SoC means
i just made my first triangle in rust gfx learning after two days of bug fixing les go
phones more like no thanks i would rather use and learn pc
wa
well they use
SOC
so its like the macbook m1
Most of the arm based CPUs are in an SoC
Yeah
Amd is the mainstream
Just like windows
Most apps have windows support
Some apps have linux support
and imagine
having arm architecture
but you can't see
the file is called amd
and its 1gb

and for apparent reason
my alpine repo is like 600mb
somehow more smaller than ubuntu
i should check if python is now on 3.9
oh my
firefox taking 200mb

ive been installing stuff on the wrong npm
and to fix it
i just have to change
$PREFIX
to /usr
I haven't used python 3.9 yet. Just haven't been very intrested because all I use python for is AMP and discord.py only works on python 3.8 atleast at the moment
no
discord works with 3.9 too now
it works from the very beginning
but windows sucks
so you have to use buildtools
like visual studio

im on python 3.9
literally for a few months now
with dpy
fun thing is
you can use typehinting on the object itself
instead of using typing module
from typing import Dict
def foo(...) -> Dict[str, int]:
...
def foo(...) -> dict[str, int]:
...
most library already made for 3.9
also
dpy is gonna be on v2

can't wait
where did you know it only works on 3.8
I just tried to code on 3.9 and nothing worked and made the assumption and was like fuck it, I don't need 3.9
it could be just that amp codebase doesn't work on 3.9
especially if it's that I'm not gonna bother trying to fix few thousand lines of code to work on it
@wet girder
~ $ python
Python 3.9.6 (default, Aug 1 2021, 15:58:14)
[Clang 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489 on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import discord
>>> discord.__version__
'1.7.3'
>>>
hmm nice
what's the dependencies?

like what libraries are you using
Uhh there's 12 libraries and one of them was opencv
ah
that's all I remember ngl
opencv
Haven't touched the code in a while
okay give me a moment
pip install pipreqs
pipreqs /home/project/location
it'll generate requirements.txt
based on what modules/packages
you used

Not me yet. I've been steadily improving but I fear a drop is imminent.
Nah you gotta be typist. Statically typed superior.
It's fun to watch as an outside observer.
Ah yes, the thread killer.
?
remove
show error
print("Quizzler BE")
score = 0
emu = input("Write 'Start' to begin: ")
if emu.lower() == "start":
print("Write full words. Abide by grammar rules.")
answer = input("What is the capital of India?\n")
if answer.lower() == "delhi":
print("Correct!")
score += 5
print("Your score is: " + str(score)) """You have to cast to a string to concat"""
else:
print("Wrong.")
else:
print("Invalid Command")
That may or may not work. Been too long since I've used python.
this should work
It works in pydroid.
wait...python can have compile time errors mid compiling?
oh yea right it reads every line individually
you might wanna know @mental jacinth
when you do
print("Hello", 1)
it will output ```
Hello 1
its better than concatenating the string unless you really have to
in rust doing this is so complex 😔 you have to do this:
println!("Hello {}", 1);
if you dont put the curly brackets there it gives an error
this may not seem complicated but thats only for println
or print in general
that looks evil
its not?
it got dominated
by f-string literals
which is somehow faster
than concat and formatting
a = "there"
"Hey " + a #no
"Hey %s" % (a) #no
format("Hey {0}", a) #no
"Hey {0}".format(a) #no
f"Hey {a}" #yes
i code
i dont know how to code
isn't that a paradox
With FastAPI you get all of Starlette's features (as FastAPI is just Starlette on steroids)
finally
some sense of humor
from python web framework
lol
I am stuck in class about office software
I forgot how basic the first few classes will be
most people dont know how to use office software
even though it can be very useful
i have a spreadsheet i use for a game called albion online to calculate profits
It is very useful but I know how to use it so this course is boring
thankfully I can do most of the stuff without going to class
this is so me irl
reading the documentation is a last resort
id rather spend my whole day trying to make it work iwthout it

im the exact opposite
i wil read the documantation and forget i need to atually code the damn thing
so then i read it again
and then i give up and go do something else
This is a rickroll link
starlette is fast
Isn't it that an elon musk startup or something.
wait it's a different thing.
Elon Musk Is an Investor of this company but not CEO
Yep, as far as I know it could help in one of his companies like neuralink.
Hm not sure, Neuralink is working on it self Mostly how can they Implement this on there patient and Machines
OpenAI is an AI company both of them have different goals ¯_(ツ)_/¯
I mean like they could probably collab and use some of their code to program the neuralink robots that'll do the brain implants.
Neuralink already did that,They already have a machine to Surgically Implement those chips in Monkeys
It's probably possible to scale the machine up so Human can be surgically implemented to
anyone know how to assign an array mid compile time
vectors are giving me way too many errors
in cpp btw
eh
Quick question
If I were to try to reset that harmfull creatures only attacks villagers and not others harmfull creatures how would i do that exactly
Hah! My school is finally teaching coding and I’m in that class. So I’m gonna be with the cool kids 😎
@brisk pike #🚑help-chat is the right place for you 😄 I'm sorry that I'm unable to help

Well it’s all about computers so it might take a while
Execute order 66
correction: a cave people
technically they're cool yes
by cool i mean frozen
How tf did I screw up so bad that when I ran my program the mouse no longer takes input
wtf
had to unplug it and plug it back to work, no idea how glfw with opengl can just make mouses malfunction
you dont have to like it
imagine using only the things that you like in a programming language
I want to make worldbox texture packs, do i need programming knowledge or what.
I can as I do that
@wet girder guess what
i found some asgi framework
but on crack

FastAPI being fast as Node.js and almost as fast as Golang
Gunicorn with Uvicorn workers provides scaling vertically by adding, removing process workers dynamically
Uvicorn workers running with libuv
noice
no shit you suck
thanks
np 
i will make sure to add that to my "tips" notebook
Probably do nothing
i was thinking
torturing hamza
with asgi framework

Asynchronous Server Gateway Interface

doesnt mean i like making servers
Why me ask rei
i wasnt talking to you
Hm
Isn't making a server torture?
no
wanna make a server together 😳
no frick you hamza
yea that was a joke
you said no literally a few seconds ago
you're speaking like your anime body pillow is your life
sucks to be you
indeed
what kane
@wary orchid
harry kane ?
You've made kane to a body pillow?
Should we call the police
idk
Let's just ask codex to hack rei
hei rei
hm?
That code won't work
it wont be faster in any way shape or form, it will just give you like 10 syntax errors
in any language ever
no
yo mama
im finally using uvloop

localhost:/sdcard/gnews# uvicorn main:app --loop uvloop
INFO: Started server process [28809]
INFO: Waiting for application startup.
Loaded articles
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
Logged in

None cares
noice
Not noice
yes
i see you getting more rude with each day 
Єсть хто о із україіни
Does someone want to solve one problem which i was solving for 1 month?
And i haven't solved it yet
Write a program, the input of which is a rectangular matrix in the form of a sequence of lines. After the last row of the matrix, there is a string containing only the string " end " (without quotes, see Sample Input).
The program should output a matrix of the same size, in which each element at position i, j is equal to the sum of the elements of the first matrix at positions (i-1, j), (i+1, j), (i, j-1), (i, j+1). For the extreme symbols, the neighboring element is located on the opposite side of the matrix.
In the case of a single row/column, the element itself is a neighbor in the corresponding direction.
9 5 3
0 7 -1
-5 2 9
end```
```Sample Output 1:
3 21 22
10 6 19
20 16 -1```
really hard for me to understand
( that's Python )
ok solved it
try to solve
sounds pretty easy
idk why it would take someone one month
okay
ima speedrun this
ok starting now 2:56
solved
9 mins
XD
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
@orchid frigate if you solve this
ill admit C++ > C#
AND DONT
look at the code
or bad boy

i dont need to prove nothin to you

i learn opengl not matrixml
for math library or whatever

yoooo getting a really complicated working program that you have been spending alot of time on is such a good feeling
Imagine if it's just hello world.
Assembly and openGL in a nutshell
var starter = "hello world"
console.log(starter)
not to mention he forgot the ;
this isnt python you need dem ;

awww, we're gonna be using C# in school atleast this month
lol




















