#⌨coders-cave
1 messages · Page 22 of 1
Ye
well that looks a bit more fair now
they just have to fix the multiple installs confusion
Imo that's still scummy
They already take so much money if you make money with the game engine
Adding fees based on estimated amount of installs is a scummy thing to add on top of that
they only take license fees
unreal engine takes 5% of revenue
which is way more than the license fees
it was coming
the execution is really bad though
Well per install fee ain't the way
i think they should just do what unreal engine did
Per purchase I could understand but Imo revenue percentage is the most fair
revenue percentage is the same thing as per purchase 
its just a different percentage for different games ig
Well yes but making it a set price for every purchase is not good because it affects cheaper aka indie games more
per purchase wouldnt be good profit because they cant really charge that much for it
per install is just dumb
how are you going to track multiple installs on the same machine
without tracking hardware ids
too much tracking
They aren't tracking much, they just estimate the amount of installs per purchase
They try to get as much data by making the engine call home everytime a game is booted up
that's just dumb
i believe companies have big brain when they see their numbers go down
so we just need to wait until the numbers start to go down
and then they will
Stocks went down by 10% just mere hours after the announcement
And allegedly unity execs sold a lot of their stocks in unity right before the announcement
There are a lot of fraud allegations going on against unity lol
The whole situation Imo is really bad because UE is gonna have a monopoly in the engine market
i would use godot over unreal
for low res games
basically godot would replace unity
Same but a lot are gonna use UE because it's made by a big company
the unreal market is kinda different at this point anyway
its mainly for very high res triple A titles
Yep
It's apparently becoming fuckin amazing for any kind of fps games
Or so I've heard
low res games normally use unity
because its so much easier to use
also ive never seen someone do 2D in unreal so idk if that's even a thing
2.5D is sometimes done in UE but never seen pure 2D
Godot sounds cool tho, it even allows to use 3 different languages for scripting out of the box
2.5D is still 3d rendering so yeah maybe unreal doesnt have good 2D rendering or something
I'm honestly kinda thinking of doing a project in it because I'm missing game development. Last time I did anything related to it was in school and I uses to love it
Yep
yeah but i heard using the GDScript is your best option
the other two are not very supported
i wanted to try godot but im over my game dev days 
@orchid frigate download rust rover so you can actually write decent rust code
if its anything like rider it should tell you where youre using bad code
My bots first actually useful message
I want to rule the world
I'm doing c++ now
Because I'm doing vulkan and vulkano kinda sucks
Bruh I’ve seen you write c++ code like a year ago and you suck ngl
I do yes
I prefer c
Because I don't have to worry about the code being good in c
But idk if it's a good idea to fully do it in c
So I'm just using c++ for one class which is the application one
And that's it
And for exceptions
If I tried using anything else I think any professional c++ programmer will have a stroke reading it
me as a game developer, what you suggest for writing more clean code?
and what to do improve my old code?
What language
What game engine
And the best way to improve old code is to never look at it again unless forced to

Or make one c++ class that contains fucking everything for no reason
And call it system or something
unity c#
okay ,lol
but I think old code gonna give me hard times in the future
thats future you
nobody gives a shit about future you
I asked how to improve my old code cuz it gonna give hard times to me in future. You dont need to give a shit if u not gonna answer it ofc.
.
No I mean
Why did you take that the wrong way bruh
How do I rephrase it
😭
Godot is better than Unity at this point imho
Yeah, it isn't trying to force a new contract and tos without the consent of the people it affects
if you didnt mean it in bad way you dont need to do it. Sorry if I misunderstood.
idk if you are just getting into game dev unity isnt a bad option
you wont be releasing your 200k downloads + 2 million revenue game yet
and unity is very easy to use so learning the concepts will be easier
windows sucks
imagine having a fresh install and the next time you restart
a critical process just died randomly
i swear to god
imagine you just bought apple and it just fades out of reality for no absolute reason
fr i hate ones and zeroes now
imagine everytime you install windows it just corrupts itself
how does a program even corrupts itself
my installation kept doing ```
if(installed) {
int result = corrupt();
if(result == 1) {
corrupt_until_broken();
}
}
windows sucks and im not taking back my words for it
btw have anyone tried surrealdb
looks nice
open source too hot damn
would be complete if they gave a free crappy server with 5 megabytes of storage to use it with
nope
guess im sticking to supabase 😭
just use vercel
works with nextjs and sveltekit and more stuff too
and mongodb for database
atlas free tier is enough for most things
im using it for speciesbox and it works fine
the implications was you should let future you worry about the future and present you worry about the present
to be honest unless the script becomes bigger than like 100-150 lines of code you shouldnt try that hard to make it clean
all you really have to do is follow the calling conventions and make it visibly good looking to you
Same for godot
Yeah it is
There are ways to code on c#, their own python-syntax-based language, or c++, or even combined
Nah, i am working on project rn, using c#
Ooo that’s nice
They received generous donation from microsoft for implementing c#
I guess then yeah godot should be the go to engine now
As they said
Yes, they even don't make people to include license, just somewhere in game put a reference link to the license on their website enough
System of nodes is very similar to unity's gameObjects, but code side is more friendly then unity's by my opinion
This was a fair assumption at some point but I checked it and nowadays C# and GDScript have almost identical capabilities and then C++ is bit more limited but still totally usable and in some cases allows for even more than the other 2 languages
only real difference between C# and GDScript in interpreted vs compiled
GDScript is faster to develop with but C# makes better running games
oh ok thank you
I hate writing docs
Said literally everyone that has ever written docs
And the people that haven't too
And the people in general
Nah, i like to do it, if code is clear, very simple to write docs, also if you have troubles with writing docs for your project it can be a signal that something not clear in your code
The process itself is boring as fuck
And if you have a larger project you have to revert back to code you don't remember how you scrapped together
And if you have a smaller project it's a waste of time
Hexadecimal is used pretty much everywhere in programming
It's the average way to represent numbers
However I don't think it's used as much in the back end simply because it doesn't require as many numbers in general
Hexadecimal is just a number notation meaning it's no different than the normal decimal notation
You can convert them at any website/calculator
There is math to it but those sites do it for you
!rank
If you want hexadecimal in decimal format, you can just google "hexadecimal to decimal converter"
What's with the purple names
Event
0100101110101
Fr
bro did it again fr fr
@humble nimbus use #🤖bot-commands for bot commands
@wet girder what hosting do you use for worldbox amp

And that's why sb2 will never be a thing
What’s the random vps if you don’t mind me asking
I don't remember the server providers name but some cheap vps
Aw ok
Real c programmers don't use free at all and still complain that their programs are slow
Recorded live on twitch, GET IN
https://twitch.tv/ThePrimeagen
Unity Twitter post: https://twitter.com/unity/status/1705270545002983657
Unity blog article: https://blog.unity.com/news/open-letter-on-runtime-fee?utm_source=twitter&utm_medium=social&utm_campaign=company_global_generalpromo_2023-09-22_penguinblogupdate
Author: Marc Whitten | ht...
damn no one saw that coming
The trust is gone, though
not really
Not going to user Unity, like ever now
Really dragged their reputation through the slums with that one
i mean if you wanna blame the whole company for a mistake somone made you do you
but most people will still be using unity
companies that areusing unity will probably not switch
Of course they wouldn‘t
Never said they would
Yet I don‘t trust a company, which tries to implement such a drastic decision, and only slowly paddled it back after backlash. I don‘t think it‘s a reliable practice
every company has a major fuck up
unity's one is done
and it went pretty well i must say
I hope this won‘t a precedence case for Unity
And they will slowly try to bring it out under the radar
Or try to change the course of the company
companies are in it for the money always
there's no company that is not in it for the money because you cant run a company without the money
so they wont do this after all the backlash that happened
because they have determined that this is not good for money 
Well, as you said, most companies will not switch, if they were to sell out, most people would be stuck with it
I wouldn‘t migrate my game, if I were a large corporation
well nobody will migrate already made games
but new games will be made with new engines
that's a huge loss for unity if fcompanies did that
I just think those money hungry CEO‘s stink
They would try everything to make a quick buck
And this case alone shows, they don’t take bigger picture into consideration
An impulsive decision, made to make money, not satisfy the customer, potentially ruining their stance on the market
Alone taking that risk, makes them untrustworthy
in one month everyone will forget
But I will just wait how Unity develops until I actually form a lasting opinion on them again
I personally never forget drama and I think most businesses have a longer memory than the average consumer
companies are in it for the money
making games with unity is very good money
because there are a lot of unity devs
True
I just hope they don‘t drive themselves into the dumpster
As it is a really good tool
you shouldnt expect companies to do everything perfectly
a company that backs off when they see consumer backlash is a good company
They didn’t have much of a choice
they did
Everyone would have backed down
They tried to backpaddel, tune it down, and when nothing worked, they just gave up on it
Anyways, I will head out now
Hopefully it goes smooth, i am lucky i havenot seriously began investing into C# for unity 
Idk what you guys were talking about but Imo the new runtime fee is good
Now Unity only has 2 problems, way too many employees and they're using too many resources to compete with unreal when they should be using resources to be the best Mobile + VR + indie games engine that they currently are
I need advice
How do i safely send a package to someone i know from online without anyone sharing adresses?
💀💀
mail it under a bridge and tell them where the bridge is
Physical mail you can't really
@orchid frigate I finally got around to making my file system, I was doing other projects for a while
python file which makes it
Is this the source code or the image
source code makes image
Why not paste bin it
I forgot pastebin exist
I'm on phone so making it will be annoying
Then paste bin it
oh wait I didnt read the inside
so making your own filesystem requires you to make shit like this
this does no look fun
like at all
is implementing it into the os easier atleast
to make this
and errors were easy to spot by just looking at the output file
alot of the lines in there arent even needed, I just wanted to add some convenience to future me
the lines where it makes the entries into the table are a bit ugly, but they are easy to read and I was just too lazy to make them look good
Dude unity got deleted today thank God I didn't make a game untrustworthy company
There has to be a way to make a phone into windows computer os system when I was in 6th grade I didn't know much but I bought a 30 Doller TLC Phone and Wiped the data off of it and tried to use a USB hard drive to put windows on it big waste of money im much older now and want to try again
shut up bitch (ghandi)
io?
Lua
stdio is the best
Wtf is that thing
imagine developing in C
you have to make your own dynamic arrays
and making your own dynamic arrays is ez
imagine making a mutable array

Fr en ch
Average coding experience
How can I increase the features of any NPC from mobile?
What
I want to kill myself after looking into a project's source code
Looking at the source code of anything sucks
So don't
You've not seen the code I have to deal with at work on a daily basis
I've been working on adding encryption to a part of the project that was implemented 7 years ago and not touched since then other than very minor bug fixes. Literally painful to do
my head hurts so much
depends
how is it written
if your variables are all one letter
yes very painful
does the code does something complicated and still has 0 comments
🤮
that's why i dont stack statements
The code that I have to deal with is method calling a method calling a method calling a method and some more layers

Does anyone have any tips for learning how to make data servers im trying to make a system that saves and stores a players info they input and for some reason I truly cant
Look into APIs
And databases
Because when you start learning SQL you don't know that
And you are probably very new to programming so you you everything is difficult
And it's very easy to make money off of this
You guys have clearly never done any actual SQL work
A toddler could learn the basics but it gets complicated
I did an SQL script at work and it got insta rejected in code review because it was very shitty. Would've caused a deadlock
Had to ask one of the senior devs to help me through it and it took like 1.5 hours
SQL gets really hard really quick
i got 97/100 on my DB class because im a 
but even the other nerds managed to get around 80/100
because you want to try to squish everything you want to do into one SQL request for speed
you can do anything with the basics of SQL but its just gonna be slow
LOL
; pray to the assembly god that it worked
mov rax, 49
mov rbx, 69
; ^ praying to the assembly god```
trait_list:
- id: invincibility
name: Invincibility
description: Renders the entity immune to all damage.
effects:- name: Invulnerability
description: Grants immunity to all forms of damage.
type: damage_immunity
duration: -1
- name: Invulnerability
Question for you guys, is this even a code that could be used in Worldbox for a Invincibility trait?
Is it a code or no?
'K
Stop putting all your life into being toxic
Make sb2 instead
Believe it or not that's the best way to teach people anything
Well... huh... that is correct
Ah yes the assembly god ritual
You do it before testing a function you worked on for 3 hours or more knowing it probably won't work
me trying to read makefile errors
I have zero idea it's from a server with a lot of java mains tho
def java
cuz this looks like intellij
and its java syntax
oh or it could be unity + rider
cuz it has the word Component
K
Lol imma just watch some YouTube videos that's how I started learning
Might
I’m serious
Cool.
I’ll still think might.
I’m gonna do it
‘Ight.
No hamza
Ham
+i code stuff
-in lua
pyton good
I likey c pee pee
Should I start to learn the Rust Programming Language after I got the basics of C# in?
What will you use it for?
learning languages isnt that hard
stop learning a lot of languages it will not benefit you
go deep in a specific language
yeah it's not really beneficial to learn a lot of languages. Just focus on doing actual projects
Python 3.12 is coming out today 😃
anything cool in it?
Some wacky statement and syntax
Yes
The language is difficult af
Far more difficult than c++ in my opinion
And far more difficult than c# if you go deep in it
But it's very rewarding as it's very fun to write in and offers alot of uses from low to high level
While they aren't really specialized for the language and alot of them are just wrappers you can make it work
rust is not really that hard to do most things
you can learn 95% of rust with ez
i'd say going deep in any language is hard
including C#
but its hard in different ways
It's syntax is very full
And very different
When I was learning rust it was like learning programming for the first time
And I'm still learning new shit every time I use it
because you knew shit about programming 
I was making operating systems back then I think
took me a couple of hours to implement the ray marching algorithm and that's my benchmark
os programming doesnt count
I think I was working on hexaos and wanted to migrate to another language
because nobody does it
You are the onlu person on earth who doesn't respect os development
no need to respect people that dont exist 👍
yeah exactly
So to them it's more.like app development
Still they definitely improve stuff like memory design
Heap designs
Even if a little
They spend the time thinking how to make the ultimate heap design
That doesn't have any fragmentation
Unless it's already made
You can dream
You can minimize it
To values that don't matter
And manage it so that it matters even less
well yeah you can do stuff about it
But all low level devs dream of it
It would be beautiful
Fair point
I've coded in C# in .NET (also a little bit of VB but it's basically the same but shittier) 8 hours a day for work for over 1.5 years and I feel like I've only scratched the surface
well C# isnt a lot about the language
Language developers need to chill out
No need for the base language to include everything a syntax could
C# most complicated stuff are spans and marshal utilities and ref structs in general
but since you code things like APIs in C# you need to learn a shit ton about api architecture
and application design
I don't even know what those are lol
you dont need to 
they make your code unnecessarly faster
Meanwhile rust devs promise they will add a few quality of life features
They add them to the nightly version in a very basic way
Then they remove them all together and remove something from the base language with them
Yep, that's about 70% of my work
The language is literally devolving
yeah application design is a fucking headache
im restructuring half the code base of sb 2 everytime i wanna add something
because i learnt something new

I code very little honestly and even when I code I don't write a lot of code usually
I should mention they add the features like 2 years after announcement
They are like Mojang devs but even lazier somehow
jusst like rust devs they are bad
lmao
Mojang makes me mad to think about sometimes
If they tried harder
They could make Minecraft good again
But the most major thing they add per update is a mob that is just a remodel of another existing one
And the reasons they give to not adding shit is insane
Minecraft was made good when notch was lead designer but after the other guy who's name I don't remember became the lead designer the focus of Minecrafts game design shifted a lot
It's Jeb
Who's now called by his real name for some reason
What coding software should I start with as a beginner?
Because jeb is associated with notch and m*jang go agu gaga over that
Unity and c#
It will teach you the basics of programming in a visual way which is better than the traditional
For code editor use visual studio or vs code vscode is lighter but I prefer visual studio for unity
Then do some c++ without visual software to get used to more advanced yet simple programming
Then you will know enough to decide what you wanna do for yourself
Why unity if you are just starting
Just download visual studio and learn C#
Or vscode for other languages
If your a beginner don't use visual studio because you will make a shit ton of bad habits and fall in love with visual studio and ultimately be a bad programmer
why would visual studio be the reason you have bad habits 
It's visual
You see what you code
Making the process of learning a bit easier
Otherwise everything is just numbers and syntax which for a beginner can be tough
Alright, thanks man! I'll keep this in mind and I'll start with one of those sooner or later since I'm a little busy this week.
nah bro unity is confusing af
Heya, this channel is not for worldbox modding, #🔧modding-talk is. Also this is most likely technically too hard for the developers so I'd not expect to have mobile modding soon if ever
Basic unity isnt
You can learn it in a week half a week if you push it
And c# unity doesn't use that many c# features so it's not that difficult to learn either
anyone here coded a discord bot? im kinda new to coding but im coding one with python using a yt tutorial and im curious if anyone has any other sources i should use to help me learn
learn to read docs
then everything becomes easier
Unreal engine😈
Yes
I regret it
But if you want to, I suggest Discord.js
it doesnt really matter which framework you choose
unless you're going with big bots
just use the framework for the language you are most comfortable with
im coding a bot to aid with the annoying parts of hosting a mapwar (economy, purchasing, etc) so i dont think it would fall into that category
God damn I feel stupid I just spent 20 mins trying to figure out how to do the quadratic formula in bot commands and this mf is out making Jarvis
i mean
it's basically a glorified economy bot
it doesn't do any of the maps or stuff
well if its just the basics you can keep going with python
just go to the frameworks website and read the docs
If you have any problems tho you can message here and at least I'll try to help
What happened
Discord.js is objectively the best
Debatable
Personally I prefer Discord.NET
i wouldnt recommend using it for small bots
id say stick to discord.js for small bots
but use typescript please
Python bot
On top
nah dont use python
python is good for learning and for AI
and data science ingeneral
using python for anything else is a pain
This place is somehow very alive
Why is that?
It's fine for me 
anything decently big is a pain in python
or javascript
or anything that is not typed
you just need docs or you will forget
Humans can remember 
me who follows yt tutorials and then reads their code after typing it to figure out how it works and then using that knowledge to make my own stuff
have you seen sb 2 code base
im not remembering that
this is a small sample
as you can tell by the scroll bar this is just a quarter of the files
with half of the folders closed
That will only be the case for someone who has already know some knowledge of the topic
enjoy remembering
i dont tho lol
im almost completely new to coding
Those doesn't look like Python files
What a surprise
Problem with this method is you don't really learn to code you just memorise the already given code
And when you are met with a problem you become clueless
I recommend slowly getting into docs and making your own stuff
But at the same time for very repetitive stuff you don't really need to know you can just copy paste it each time for initialization and stuff
Only learn what you will newd
📸
How do i download powerbox without steam?
Why would you not have steam?
Also #🔧modding-talk for these topics
I don't why but i can't seem to open steam
Sus
Amongus?
I fucking hate python
I am tryna do clean code for AMP the only way I know how so the C# way and python is annoying me so fucking much
DONT DIVORCE PYRHON 😭
I have 1.5 years of professional experience rn writing mostly C#
it's just a nice language to write in
I actually nowadays code even python in VS
that's how much of a .NET developer I am
Can already tell by how you name methods and variables
the better way
dew it
rewrite it
Not vs!!!
But yeah python in vs I wouldn’t do that
I code python in vscode and even use conda in WSL to do it
Python just runs way better on Linux
it works fiiiiine
I use WSL
I just edit code in VS
it's just a glorified text editor with a debugger if I don't use WSL
idk how to make debugger work with WSL
vscodes debugger works in WSL
ngl I am too lazy to set it up
I know
I got it working through qemu in wsl in minutes lol
writing python in vs gotta be illigal
Today I did some research on sorting algorythms because I saw one of those videos of sorting algorythms visualised
did some benchmarking
here are the not finished results
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.
also realized how long it takes to do research like this
ive made a sort visualizer a couple of months ago
what visualizer did you use
like what renderer
I wanna try it out too
its opentk in C#
opentk is C# opengl but has a lot of the shit ready
so its super easy to get started
I will do it in rust but rust has a shit ton of wrappers for the graphics libraries
most of which suck
and are unfinished
but before that I need to finish this benchmarking thing I started because
idk
I wanna see it finished
be proud of myself pat myself on the back
no
im not crazy like you to do ray casting in fucking ascii
I dont really know how raycasting works
so this kinda looks like nothing to me
but I will see it
it uses the ray marching algorithm which is very simple
explain it in like 2 sentences
but can only render specific shapes
you start with a point in origin and a direction, you keep moving the point in the direction according to the amount of distance between the point and the closest object, if the distance between the point and the closest object becomes very small then the point has hit an object if its very big then the point has not hit an object
you can see it in the march function in the march.rs file
is that not just how collision works
its not
but that's how the ray marching algorithm works
and it works
super fast
but only works with specific shapes
like spheres and squares and stuff like that
since you need a signed distance function
In mathematics and its applications, the signed distance function (or oriented distance function) is the orthogonal distance of a given point x to the boundary of a set Ω in a metric space, with the sign determined by whether or not x is in the interior of Ω. The function has positive values at points x inside Ω, it decreases in value as x appro...
a signed distance function takes a point and returns 0 when the point is on the edge of a shape, < 0 if its outside the shape and > 0 if its inside the shape
Im both sorry and proud of the people that had to and still have to deal with graphics
i mean nobody uses ray marching
its only used for fun projects
its just not very useful
yeah 
and people are slowly frying in front of screens
and books
trying to figuere them out
poor souls
they should just do os development
atleast we all know are frauds and just steal code and piece it together to make something thats garbage
waiting for bubble sort to sort 1mil elements is not fun
im gonna have grandkids by the time it has to do that 1000 times
@barren shale About the sorting algorythm bars visualizer things
what do the highlighted bars actually represent
One is the current bar getting sorted
The other is the bar getting checked if it’s the correct bar to switch
Some algorithms can only have one highlighted bar
in quicksort
the pivot and the thing getting checked would be highlighted
right
the element*
yeh
frr
I am practically dieing here trying to read a file in my custom fs
Have parsed the file name to find it's id so that's good
But now I am wishing I made it a table per file instead of entrys in it's folder's table
How do you divide the disk
wdym
Fat divides it into 4 segments
I dont 😭
Reserved fat root and data
its just a range of raw lba sectors
mhm
With all the file locations
yeah its a single folder on the 7'th sector
mhm
Do you have a scheme or something of how the fs works
ye an entire markdown file
Send it I need help here
No I meant like
im not very good at writing them though
the python file is probably easier to make sense of
Big fancy Tree
fr

But with some improvements
Like actually dividing the disk into logical partitions
It has potential
okay what if they are in logical partitions its just very dynamic and only for files
thats what the ranges technicaly are right?!?!!
Yes but finding the ranges seems too hard
all im doing in the bootloader is just looping through the folders entrys and saving the ranges for later
can subtract them and then would probably work flawlessly?
So you keep them in memory?
yesh why wouldnt you
and they are only like 32 bytes, thats with all the blank space at the end of them
Is this in long mode or real mode
long mode cuh
Oh
I load the string into registers and cmp them if you dont understand how lazy I am lol
j
ye
Also how do you read
you read the sectors in the range
Did you make the acpi drivers or jump to real mode
I copy pasted this from osdev does all the work for me
Wow it's that easy I always thought it was super hard and never tried it
also what do you mean https://wiki.osdev.org/ACPI
I might try and make my own fs too idk I have a few designs I wanna try
I always mess up the names
They sound similar
oh lol
Ans i forget which is for which
what are they
Fat but without all the useless shit as a first
fr
And then when I get that working just add my own features on top of it
Seems fun
I also kinda want to try to make a file system completely different from the traditional file systems
Like a completely unique design
But I will get to it when I get to it
what happens if I made a programming language that used the stack as a vector lol
Bad idea but I don't care
What does std mean
sexually transmitted disease
Standard
Which one is it fellas
Sexually transmitted disease
The standard library in a programming language is called the std
Std coming from standard or the standard
You are not fun
You arent either
you arent either
Hello
What’s a programming language
Who else watched Fionna and cake
A friend of mine
But it doesn’t really belong into #⌨coders-cave, now does it?
No out of topic messages in the coders cave channel please
Sorry greg van houten
👽
farts
Who doesn't is the real question
The fuck İS Fionna and cake
Why the fuck are you in this channel if you don't even know that
Respect your elders
Yes I came from his pants

Ayo, dakata is the elder
Skibidi Rizz
In Ohio
I use python 😎
I've been working with a .NET library lately and have had to do a lot of changes to the library to fit our needs and I fucking hate how .NET libraries are written
there's OOP and then there's this shit
there are so many unnecessary methods and classes
at one point the code jumps between 2 classes 4 fucking times in a row
that is excessive
it's literally this
i dont see anything wrong with having 20+ objects in the constructor and jumping 10 classes in one method 
well depending on how you structure your code oop can be really fucked up
that's why a lot of people hate oop
because you can fuck up super easy
but if you write clean code, oop is probably the cleanest way of writing code
its just a double edged sword
especially C#
probably the cleanest oop language
you'll fuck it up easy, but you'll fix it up easy
not really
im talking about structuring
strucuring is really hard
the bigger the project the harder it gets
i think ive rewritten the fighting system for sb 2 like 7 times now
and changed it more than a dozen of times
everytime i learn something new that makes it cleaner
like what the fuck are TaskCompletionSources
that was me a couple of months ago
also the different types of services and how to split them
What is that?
Do you use C#
How do I get around head hurt when coding debuff?
Wat
@orchid frigate help I ran out of space for my bootloader
lol
I was working on reading the kernel from my fs beacsue I finally had time to today
and it stopped working
so, confused, I dumped the memory
and after some debugging found out that I fucking ran out of space
it would be preferable for my bootloader to not be 2 stage
I can give myself two more sectors of space
but thats jsut forestall
fuck this im giving myself 2 more sectors of space
okay , im not out of space just very close
; memory copy.
; rax = from, rbx = to, rcx = how many bytes to transfer. garbage rdx
memcpy:
mov dl, byte [rax]
mov byte [rbx], dl
inc rax
inc rbx
dec rcx
cmp rcx, 0
jnz memcpy
ret``` this is zero'ing everything I think
I moved kernel read to upper memory idk if that will work or not
ive cut down my bootloaders space to 1872 bytes
crisis averted
nothing is wrong with my shitty memcpy I think
was just me being a dumbass with the long mode despite desiging my fs to be somewhat usable from real mode
How do I talk?
print("Your message")
What 😭
By the time you are in long mode memory should have long been a solved problem
No my bootloader is too large
What are other ways to shorten "else if" statements? Because I keep confusing myself and making my scripts take longer and be longer than it should
I know how to ask for a poptart in Italian due to programming
The story is my programming teacher told me that we will be using c and after watching cs50 it will be like getting dropped off in italy only knowing how to say "can I have a poptart"
Only words you'll ever need to know if you go to Italy you'll aways have food
Yeah, .NET Core
Still learning the basics of the language
then you dont need to know what that is 
a way to turn typical event/callback to await/async
sometimes its impossible to start with await/async, so you can start with something simillar to event/callback and then use taskcompletionsources to turn it into await/async
Thanks
Hey I have a quick question, isn't WorldBox made with Unity? What's going to happen to it now?
the whole unity drama was resolved, unity fell back on their original statement
Ah I thought they would charge per install in future Unity versions, so I thought WorldBox would get frozen
You can't get poptarts in italy
The rest of the world
Is smart enough to know poptarts are trash
Shut up I'm a redneck I don't know this shit
fastest and easiest way to save hours
life is too short to code just chatgpt everything
Can't wait until the day when ChatGPT can be lazy for me
???
What
Idk what r u even referring to
Ik the image
What in it
Bro what
He's wearing a pants bruh
Mark where is it
Screenshot and Mark bru
Already doing that
Wild to think Chatgpting is gonna be a verb in 10 years just like googling became one 
probably not chatgpting
maybe ai searching
google was not the first search engine
first doesnt mean best
we just have to wait to see what we get
CHATGPTING 🗣️🗣️🗣️📡📡📡💡
It's already one just not in the dictionary yet
Let me bing that quickly
if (isin(ray(cam, point(i.x,i.y)), i)) {
drawplace(i);
continue;
}
if (isin(ray(cam, point(i.x+i.w,i.y)), i)) {
drawplace(i);
continue;
}
if (isin(ray(cam, point(i.x,i.y+i.h)), i)) {
drawplace(i);
continue;
}
if (isin(ray(cam, point(i.x+i.w,i.y+i.h)), i)) {
drawplace(i);
continue;
}``` I really want to optimize this shit
fit it in one line
3 can be true at any time, so I cant use or
if one is visible then i need to show it, so cant use and
oh
ever heard of turbowarp?
I’m not sure this is the meaning of optimization
Why no else ifs
What language is this 
Is there more code in the for loop?
It's already doing else if's logically because of the continue 💀
yeah but its uglier
I emnat as in prettir 😭
you already have to type if so might aswell add the else to it
but adding a continue on every line is ugly
i wouldnt make this a one line
And there isn't a continue or brackets
maybe to you
I made a second function called "camcast" that made the isin thing way shorter
Shit your a genius
bro gets triple A's in his english classes
I need help buying a laptop. My grandma has been using an old laptop for like 15 years now and really needs a new one and I am planning on buying her one but need recommendations on what I should get
I am thinking ssd because of longevity so she doesn't need to ever worry about getting a new laptop
other than that it just needs to be able to print stuff and watch some live streams and read news
What is the budget
Remove your personal information from the web at http://joindeleteme.com/LinusTechTips and use code LTT for 20% off.
Save 10% and Free Shipping at Ridge by using offer code LINUS at https://www.ridge.com/LINUS
Typically when we buy laptops off AliExpress it is because they are comically bad... but on paper the Chuwi Corebook X is just plain a ...
Maybe this if $500 is within the budget
That laptop looks amazing
Yeah
There is nothing on this planet that hates me more than python
That would be me
Jk
You’re**
Python seems easy
I started learning it today
HTML hates me
That’s probably why then
That is true
Hue
p
Every programming language is easy when you first start learning it
Except rust and assembly
But the more you get into iy
The more you realize you are shit at it
🙏
The basics are easy, the only hard part is combining everything to reach a desired result
But for the most part it’s like learning another language
I personally find python harder language than like C# but that's just because I don't use it how it's intended, I use it like C# lol
Putting a semicolon on every line and having to go back to delete it 😭
fr
Unreal
Java better than c#
Lua is unstable and it’s funny
Lua ITS nice language
Barotrauma Lua plug-in users after making the best mod imaginable (it causes 83 errors Everytime you switch levels)
Lua ITS best for mod game
Yes
whos
Semicolon your mo-
Python on top
fuck python, java, c#, php, js, c++, c and python (again)