#⌨coders-cave

1 messages · Page 19 of 1

barren shale
#

damn you just said the only true thing you will ever say in your life

orchid frigate
#

Damn it already happened

#

İ was hoping it would happen later in life

#

😞

wet girder
barren shale
#

what are you trying to do?

wet girder
#

WorldMod

#

Just tryna figure out how tf commands work in it

cinder surge
#

I go to a school for programming I wouldn't have a passing grade if I didn't know how to code

#

I just don't ever learn anything worth while, just focus on the really basic stuff they give hs

#

I think I got the short straw considering the good programming classes were taught by arguably our worse teacher to have ever taught at the time

#

2 out of I think 72 people who took the certifications test passed when he taught

#

Maybe I don't know how to code

wet girder
#

Thing is you can never learn coding in school. Good teacher doesn't teach you how to write good software because that's something that's always changing so you need to relearn it over and over again. a good progrmming teacher teaches the absolutely basics and then how to learn beyond that point

#

That's what my teachers did in vocational school and all 20 people in my class are good junior level software developers now

#

Granted it's been a month I graduated

#

And you also need to start a project on your free time asap

#

The single best way to learn

orchid frigate
#

Do İ know anything about economics?

#

No İ cheated on 8 of the 10 tests İ took

#

School is not reliable

cinder surge
#

Fair

#

I cheated on all my economics shit

#

Most of it was easily taught by one Google search or common sense

barren shale
#

and you can look at the sb 2 code

#

InteractionHandler.cs

wet girder
#

I'd preferably want both slash and text based commands that just work identically

#

I'll check sb2 code tho thanks

barren shale
#

text based commands are gonna be obsolute soon

wet girder
#

They're technically obsolete already but fuck discord I like them

barren shale
#

i mean they did the right thing

#

text based commands had too many issues

#

the bot had to read every single message and check if it starts with the prefix

wet girder
#

Well yes but when I've fully memorized all the commands it's just faster to use text based

barren shale
#

i guess so

wet girder
#

I use purely text based when moderating this server

wet girder
#

I'm gonna be logging all deletions because moderation bot

#

But adding reads to the mix is not preferable

#

Maybe I'll just use only slash commands lol

barren shale
#

i would definetly start with the slash commands

#

and then see how i can make the text commands fit

#

and you always want the slash commands as backup incase discord comes up with some new shit that makes your text commands not work

#

and then they tell you that they said they were obsolute

wet girder
#

Yeah slash commands are gonna be main way of doing it for sure

#

It's just funny that discord.net setup your first bot tells you to do text based commands and when you go to the page to do so it tells you to not do text based and do slash command instead lmao

barren shale
#

and then you cant find the example code for the interaction handler for the slash commands

wet girder
#

Yep

barren shale
#

because it gives it to you bit by bit and expects you to know how to piece it together

wet girder
#

It's shitty documentation

barren shale
#

so you have to go and dig through the github examples to find it

wet girder
#

My workplace has better documentation for it's apis and the documentation is garbage

barren shale
wet girder
#

Gonna check it out rn

barren shale
#

and add this

        await _services.GetRequiredService<InteractionHandler>()
            .InitializeAsync();
#

in RunAsync in the Program.cs

#

doesnt matter where you add it

#

you can check the RunAsync in sb 2 too i think i added it after the registering the logger

wet girder
#

Oh god I have to figure out what service provider does

barren shale
#

you can add services to it

#

and it will automatically inject them to your modules

next lotus
#

why aer you

#

manually getting the service

#

use constructor wtf

barren shale
#

Because you have to add it to the services either way

#

It’s a bit similar but it’s not the same

rose pawn
#

Hey its the time of the day only based ppl are active

#

Sup

mossy cedar
quartz pumice
#

yosuganosura

static solar
quartz pumice
#

Slash commands have easier arguments.. it's implementation in libraries was horrible but it's better now so

cold garden
#

Add a fill tool

#

You could fill in islands with stuff

#

Or just with soil

next lotus
orchid frigate
#

İt's the only anime i ever finished

#

Which means I'm qualified to say it's peak

barren shale
#

very overrated

toxic plover
orchid frigate
#

Y'all must have been half asleep when watching

next lotus
#

all these mainstream shit coming out are just not it bruh

orchid frigate
#

İs normie supposed to be an insult

#

İ take that as a compliment

cinder surge
#

It was well beyond mid

#

It was great

#

Still an anime though and anime culture hasn't hit the same for a while

#

Don't like it no mo

orchid frigate
#

Damn you didn't get to the best part

#

Season 3 and 4 are the real peak

#

The others are set ups for it

barren shale
#

if you think aot is great you havent watched great anime

orchid frigate
#

İ don't really watch anime

#

The only ones İ have watched is one piece until the fight with kaido

#

When it got boring because the fight was stretched over like 50 episodes

#

Black clover unfinished

#

Tokyo ghoul like 20 episodes

#

And that's it

quartz pumice
#

Ive watched a lot of horror anime

barren shale
#

horror anime is not really scary x)

#

its more of a thriller type of shit

vapid prairie
cinder surge
#

Alot of "peak" anime uses weird things like Lolis and all that

#

From what I know atleast

#

Also I at the least I know anime is Japanese for animation meaning all animation is classified as being anime meaning, once and for all, sponge Bob square pants is peak anime 🤓

next lotus
next lotus
cinder surge
#

I feel like you're acting more like the kind of person you think we are

#

We just have opinions and you're being kind of a jerk for it

next lotus
#

why so defensive

cinder surge
#

I don't think that's defensive tbh

#

You're kinda spouting nonsense

next lotus
#

yeah defensive

hardy field
#

Begins verbally attacking someone "Why are you being so defensive? It's not like I insulted you or anything"

next lotus
#

but the fact that he denies it is funny lol

jolly field
timid field
#

I honestly miss wit studio's animation style on aot

#

The animation was fluid

#

Now mappa just spams cgi

timid field
#

It's 75 percent faster

next lotus
#

tbh if it isnt for the animations no one would know about aot

#

same with demon slayer

barren shale
#

nah

#

demon slayer is dogshit

next lotus
#

id say the same but im just trying not to hurt anyone's feelings rn

cinder surge
#

Usually being defensive involves deflecting, changing the subject, and overall stating you are not wrong or giving a point as to why it's not wrong for you to think that

#

Nevermind you're right I was being defensive

#

Gosh I need to stop going to bed so late

cinder surge
#

I have no real response you're 100% right

barren shale
#

I mean animations are cool

#

But yeah that’s about it

cinder surge
#

Fr

#

Also aot animation is never what I focused on tbh

barren shale
#

I barely managed to watch the first season

cinder surge
#

I don't get where he's coming from

cinder surge
#

I was younger when I watched it

#

Thinking back that really was just it

orchid frigate
#

That's unforgivable

#

She looks like a man now

orchid frigate
#

If anyone actually is butthurt for it it's their problem they take internet people's opinions so seriously

next lotus
#

the comedy is....cringe, like at least on the first season they have some good side comedy but jesus cant bear the 3rd season

timid field
lapis flint
barren shale
# lapis flint

i wanna make a language where this would print Hello World

candid swift
#

part of a program im writing

File file = new File(target);
while (!file.exists()) {
  // just wait ¯\_(ツ)_/¯
}

return target;
barren shale
#

java 🤮

quartz pumice
pallid ridge
#

What's wrong with java?

candid swift
quartz pumice
quartz pumice
barren shale
#

it doesnt matter

#

not all languages need to be very fast

#

not everyone want speed

#

otherwise you'd see everything written in rust

quartz pumice
barren shale
#

Performance in general is not needed to this degree unless at very large scale

knotty root
#

yeah yeah 'java v21 doesn't have this anymore' but really in any actual java codebase the chances of it being java 8 are nearly impossible

barren shale
#

rn java is just C# 2 versions ago

#

but also a bit worse

candid swift
knotty root
#

c# supremacy 💪

knotty root
#

(and boring)

candid swift
candid swift
next lotus
pallid ridge
#

I have no idea what that means

barren shale
#

with your 10 bazillion lines of code for hello world

#

i see you talking with haydot about hte millions of things that are not working out xzibit

next lotus
next lotus
orchid frigate
#

Y'all are the embodiment of skill issue

orchid frigate
next lotus
#

i was being sarcastic

barren shale
#

the 69 bazillion lines of code shall commence?

#

in C# it would be

String someString = "something";
if (someString.StartsWith("Your") && someString.Contains("mum")) {
  Console.WriteLine("Your mum");
}

oh look easy to write and very readable

next lotus
#

now what if it's a collection of strings

#

you can do it with one line


    public IEnumerable<string> ContainsYourMother(IEnumerable<string> strings) =>
        strings.Where(x => x.StartsWith("Your", StringComparison.OrdinalIgnoreCase)
                           && x.Contains("Mother"));
barren shale
#

dont do this

#

ew

#

add curly brackets

#

makes it more clear

orchid frigate
#

In reality the check in c# is probably longer than it would be in assembly because the functions in c# that do this are actually fucking huge

#

And in assembly you make them and all you really have to do is just go through each byte and check if certain combinations are what you are looking for

#

That's like 30-40 lines of code if you filter all the useless things

barren shale
#

if you add all the safety checks needed in assembly it would be big too

#

and its all about practicality and DX

#

the DX of C# is way better than assembly xzibit

rose pawn
#

Is it illegal to nvm you guys would ban me for asking this

#

Jk you wouldn't (just incase)

orchid frigate
#

bro look at you you are comparing c# and assembly

#

you have gone completely insane

#

its like comparing latin to english 💀

#

but not the roman latin but some very old barely known version of latin that was the demo version of the newer latin

barren shale
#

im not the one who started it

obtuse grove
#

E

quartz pumice
#

For the past few days I've been trying to make an env on my grandparents computer to work on my os but it's so fucking slow 2 hours just to clone gcc source

#

Mostly gits fault for over engineering a download but 💀

#

I didn't know a lot of packages existed when I first made the makefile, so I haved to change alot of it because I installed cross compilers manually 😦

next lotus
#

everytime i say c# is better than java

#

some mfker will pop up

#

and say "you cant compare java and c#" like bruh wtf are you saying

#

you can compare anything with everything

#

and in this context, yes, i can compare assembly and c#, why cant i?

orchid frigate
orchid frigate
next lotus
#

:)

orchid frigate
next lotus
orchid frigate
#
  1. I can I started programming with c# unity
#
  1. Your skill issue is you you too much punctuation
rose pawn
#

So anyway i use a shitty assembly code

#

SHITTY ASSEMBLY?

knotty root
#

guys, im not a coder but pls make a bridge mod

#

Like it can be like 3 block big bridges, and ships can go under it

knotty root
#

i know that 1 block tech but that look gay

knotty root
quartz pumice
#

Roses are red,
violets are blue;
Unexpected '{',
At line thirty-two.

quartz pumice
#

I left it overnight and it's still compiling!

#

I don't even know if it will compile right

#

At least everything runs lol

orchid frigate
#

Goddamn how long did you sleep how is it still compiling

#

For me its done in like

#

15 mimutes

barren shale
#

bro has the intel year 69 jesus christ edition

#

its made out of 1 core which is made of wood

quartz pumice
barren shale
#

you guys give windows a lot more shit than it deserves

#

yes it takes 50% of ram when your idle

#

but i've played games that use 90% of ram so windows doesnt really take up your ram when you are actually using it

#

same thing with cpu usage

#

its 10%-20% idle but if i use up all of the threads it will probably allow me to go to 95%-98% usage

#

so yeah it uses more ram and cpu than linux but it is not really that big of a deal

#

unless youre running a underclocked pentium

quartz pumice
barren shale
quartz pumice
#

Lol

#

Yes

barren shale
#

and linux users sugarcoat it so hard

#

it makes new people think linux is a perfect os

#

but when you actually use linux and start running into all the problems and compatability issues you will know

#

and if you critisize linux for the problems it has every linux user starts attacking you

quartz pumice
barren shale
#

python coders be like: 😔

open crypt
#

I made a code to mod the game where you can have triple map size from titanic *

#

Python is 3 years ago lol

quartz pumice
#

Python is soooo 3.11.4 years ago

open crypt
#

On .

next lotus
#

linux is more vulnerable than any windows os right now, it's just not targeted quite often because windows is the most common used os

knotty root
#

@oblique dust

steady flare
#

ello

knotty root
#

oops

#

totally forgot

barren shale
#

dont worry

#

there are a lot of dumb people like you in this server

#

you are not alone

rose pawn
#

What did bro do to you

jaunty sorrel
fading obsidian
#

Why coders cave?

quartz pumice
knotty root
#

Which coding language is the best for total begginers

#

I have python but it won't do the commands and stuff

hardy field
#

Idk, ask your clone

orchid frigate
#

16bit GNU assembly

#

Best for total programming beginners

rough crag
#

Dinosaurs:)

drowsy owl
#

Computing can be very stressful right? Anyone want to read a joke???

knotty root
#

Print, etc

#

do you have python installed

feral bramble
#

oh yeah this channel exists

old mural
#
print("yes") --to show off lua
quartz pumice
old mural
#

sure

#

jus showing off lua

#

also no offense but " shut up you self destructive weeb who cant even hold a conversation"

knotty root
knotty root
knotty root
#

how are you running the commands

#

are you opening a command line or are you using a .py file

wet girder
#

I'm getting flashbacks just hearing that name

orchid frigate
#

Which is illogical

#

Because people usually try to hide their liking for Lua because of how shit it is

barren shale
knotty root
barren shale
#

there's only one hamza

#

and its me

hot owl
#

Да блять

civic finch
civic finch
orchid frigate
#

It's ok

old mural
knotty root
#

it has its uses

#

better than vimscript at least

hushed orchid
#

Lua is pretty similar though

knotty root
hushed orchid
#

And the syntax is kinda similar to Python's

#

Emphasis in the word "similar"

mossy cedar
knotty root
burnt sable
#

🥔

hushed orchid
#

I'm a beginner after all and know little about lua

orchid frigate
# mossy cedar

You must be banned from ever touching both c and c++ ever again

spark schooner
#

cool

hushed orchid
#

I've heard it's a common language for game development

quartz pumice
#

its not as battle tested or as supported as something like Rust or C.. Its also different from alot of languages and a hassle to learn

barren shale
#

Bruh

#

stop spreading misinformation

#

C# is very good if you use it the right way

#

And its way easier to use the right way than things like rust or c

quartz pumice
#

ok

next lotus
quartz pumice
#

so..

#

they very much are half assed

next lotus
queen zodiac
#

The wbnerd chat is offline

knotty root
orchid frigate
#

Oop was a mistake

#

Even the guy who made it admitted it

#

They also keep updating the language with the most random features that will end up being used a total of 5 times total and noone will even learn about them

barren shale
#

i almost use every new feature in C#

#

Most of them are really good

#

Oop is very good if you know how to use it

#

Which is not very hard to do

orchid frigate
#

What's the point of overcomplicating the basics of a language

#

When you can have simple basics

#

And actually build more complex systems from there and personalize them

barren shale
#

Sometimes time is more valuable than performance

#

Sometimes you dont care about speed or clean code because sometimes its more worth it to rewrite your apps than expand them

#

Ill send you a video of someone talking about this when im back home

next lotus
orchid frigate
#

It expands lines

#

Because suddenly what you could do in a single rust structure is a done in a class that has some random type that is somehow different from it's other types when it only has one minor change

#

And it's only readable when you already know oop which wtf is even the point of it then

heavy stratus
#

Hello, ask Maxim to optimize the game. The last update just killed it, not only that culture experience is accrued regardless of whether the game is paused or not, the device itself (in my case, the phone) heats up so much in 10-15 minutes, which then leads to its breakdown. about half an hour of play and the phone needs to be taken in for repair, due to the fact that overheating leads to the fact that the phone constantly thinks that the phone is very hot and does not want to charge.

static solar
next lotus
#

you have inheritance and reuse the same code many times

fading obsidian
#

Who doesn't reuse lines of code

barren shale
#

watch this

orchid frigate
#

I'm not trusting anyone named Theo

#

💀

barren shale
#

well see the difference is you've been programming for 2 years

#

and both theo and theprimeagen have been programming for over a decade

#

so if you dont trust them then yeah idk what to tell you

#

go makek your 5 requests per minute api in rust

orchid frigate
#

Jokes on you i don't even do stuff like that

#

💀🙏🏿

next lotus
#

oh lmao nodejs moment, 5 request per minute api endpoint 💀

mossy cedar
#

the lack of moderation within clyde bot is just astonishing

#

it can say someof the most unhinged shit imaginable thay would otherwise be blocked by chatgpt

knotty root
#

How did worldea make an alt that fast

#

Holy cow

quartz pumice
#

Without the blocker shit it's very very smart

#

Probably modeled your entire personality after seeing a sentence you said

#

And then you trick it and it becomes dumb

slim dirge
#

Anyone who uses Linux, can they help me partition So I can download windows 10

orchid frigate
#

Basically put all the Linux memory to root

#

And put very little memory to home

slim dirge
#

Do I need to use terminal for this?

orchid frigate
#

Generally yes but matters which distro

#

Also do you know how to use a Linux terminal in general

slim dirge
#

no

orchid frigate
#

Because if you don't then I advise you to learn the basics before installing because sometimes things go wrong and you need to know what to do

slim dirge
#

i used an entire youtube tutorial to install windows onto a usb

orchid frigate
#

Oh

slim dirge
#

the usb says i need to make a big enough parition thats nfts or some shit

#

to install

orchid frigate
#

Then why tf are you installing windows

#

Linux

#

Z

slim dirge
#

i want to game

orchid frigate
slim dirge
#

most games dont run on ubuntu for some reason

#

i wanna play cycle frontier and shit with my friends

orchid frigate
#

Ok so you want Ubuntu with windows on one system

slim dirge
#

just windows but if not possible im fine with dual boot

orchid frigate
#

What

slim dirge
#

i only got ubuntu because i fucked up my first hard drive

orchid frigate
#

So you don't want linux

slim dirge
#

and my friends dad gave me this to put on another one

#

yes

orchid frigate
#

Then don't install linux

slim dirge
#

i got ubuntu because it was the only option i had

#

dawg i didnt know it was linux

orchid frigate
#

How do you make this mistake 😭

slim dirge
#

because

orchid frigate
#

Ok so just

slim dirge
#

first hard drive was screwed up

#

buy a new one no operating system

orchid frigate
#

Listen listen

#

Ok so

slim dirge
#

i have gparted and shit

orchid frigate
#

Insert USB with windows

slim dirge
#

already in

orchid frigate
#

Boot from it

#

Follow instructions

#

And when it asks you about partitions

slim dirge
#

the instructions say theres no partition i can use at all

orchid frigate
#

Just install on the entire disk

slim dirge
#

none of them work

orchid frigate
#

Don't manually partition

#

You don't need to

#

Just install on the entire disk

#

It will wipe it out thi

#

Tho*

#

Also you can't really fuck this process up

slim dirge
#

i choose advanced option or no

orchid frigate
#

The worst thing that can happen is to corrupt the installation in which case you just restart

orchid frigate
#

It should have that option

slim dirge
#

ok ok so maybe i have to install windows 10

#

i mean 11

orchid frigate
#

Oh so 11

slim dirge
#

maybe trying to install windows 10 was the problem

orchid frigate
#

No

#

10 is better

#

And runs better

slim dirge
#

mk ill try it now and see what happens

orchid frigate
#

11 is shit

#

Wait

slim dirge
#

?

orchid frigate
#

So this disk is

#

Empty

#

No valuable info

#

No data

slim dirge
#

no valuable info no

orchid frigate
#

No Linux yet

slim dirge
#

that isnt already backed up

#

im using ubuntu right now

#

typing straight from it

orchid frigate
#

Ah well uhhh wait how

#

But you just said you are in windows installation

slim dirge
#

when i was it kept saying no partition worked

#

i had to download windows installation from ubuntu and now i could but

orchid frigate
#

Hold up gimme 1 minute

slim dirge
#

i think i need to manually wipe my disc from ubuntu

#

and then do it

orchid frigate
#

Ok so do you get to a screen

#

Where you see all partitions

#

On your hard drive

#

Including unallocated memory

#

Btw do you have any unallocated memory

slim dirge
#

I don't exactly know

#

Is memory as in ram or storage

orchid frigate
#

Storage

#

This screwn

slim dirge
#

Yes but it's less than gigabytes I'm pretty sure

orchid frigate
#

Or a similar screen

#

Doesn't matter

#

Can you show me all your partitions with the Ubuntu terminal

#

Actually don't i don't care about them

slim dirge
#

Sure

orchid frigate
#

So you are ok with wiping all your hard drive data

slim dirge
#

Yes

orchid frigate
#

Ok

slim dirge
#

All important shit is on onedrive

orchid frigate
#

Do you have a secondary computer in case you need to install the installation media again

slim dirge
#

My sister's yes

orchid frigate
#

Ok

slim dirge
#

Or my brothers 2008 pc

orchid frigate
#

So when you get to this sceeen

#

Delete all partitions that aren't unallocated

#

Because you.dont need them anymore

#

This will wipe all data on them including linux

slim dirge
#

Bet

orchid frigate
#

Select the unallocated memory

#

And install windows on it

#

If you want you could cut it in half

#

In two partitions

#

So a C: and D:

#

But that doesn't matter you can do it any time anyway

slim dirge
#

Yea

orchid frigate
#

That's what you gotta do

#

But after deleting partitions there is no going back to Linux so be careful

slim dirge
#

No matter what?

orchid frigate
#

You will have to reinstall it

slim dirge
#

K

orchid frigate
#

The hard drive is fine it will just be empty

slim dirge
#

Do I use custom install windows only

orchid frigate
#

I have done this process a couple of times btw I even have dual boot rn

orchid frigate
slim dirge
#

Thank you

#

It works

orchid frigate
#

What works

slim dirge
#

It's installing windows

#

I really did just have to delete everything

orchid frigate
#

Wait so you are doing it right now

slim dirge
#

You goated thanks

#

Yea

orchid frigate
#

Ok nice

slim dirge
#

I didn't delete because I was afraid I'd damage or corrupt something

#

Thanks

#

Now I know for next time I'm in this situation

orchid frigate
#

Nah when partitioning the only thing you can lose is data

slim dirge
#

Just gotta figure out where I can buy a windows 10 pro license

orchid frigate
#

I mean do you really need it

slim dirge
#

No but

#

Looks cool cosmetically

orchid frigate
#

So you are gonna buy a 120$ license or however expensive they are

#

For cosmetics

#

Wait how does it even look the license doesn't do shit

quartz pumice
#
#include <efi/efi.h>
#include <efi/efilib.h>

EFI_STATUS EFIAPI efi_main (EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable) {
  InitializeLib(ImageHandle, SystemTable);
  Print(L"Hi");

  UINTN mapSize = 0;
  EFI_MEMORY_DESCRIPTOR* memoryMap = NULL;
  UINTN mapKey;
  UINTN descriptorSize;
  UINT32 descriptorVersion;

  EFI_STATUS status = SystemTable->BootServices->GetMemoryMap(&mapSize, memoryMap, &mapKey, &descriptorSize, &descriptorVersion);
  if (status != EFI_BUFFER_TOO_SMALL) {
    Print(L"uefi start, memory map %r\n", status);
    return status;
  }

  Print(L"test");

  while (1) {}

  return EFI_SUCCESS;
}``` "test" doesnt print 😭
#

like it gets to SystemTable->BootServices->GetMemoryMap and doesnt want to keep going anymore

#

whats the point of having error detection and all that if theres an error it completely freezes

quartz pumice
#

you get nothing for 120$

#

it is not worth it at all bruh

#

I have 2 friends that got it and they dont even want to use their computer anymore since they haved to pay for pro

#

just get windows home

#

your losing nothing

#

getting pro doesnt even sound "pro" like it jsut fucking makes you look dumb

mossy cedar
slim dirge
orchid frigate
#

That's why I stopped using usfi

#

Sometimes

#

It just doesn't work

#

Straight up freezes

#

No explanation

wicked spindle
bold gazelle
#

Ooooh disgusted it stinks in here

quartz pumice
#

you have a skill issue

#

You need a new JS Framework with algorithmic asynchronous smell management

next lotus
#

i believe that's called sharding

orchid frigate
bold gazelle
#

Nobody got my joke

#

😔

orchid frigate
#

What was it

civic finch
#

what is the best
1: python
2:c++
3:html, css , js
4:ruby

orchid frigate
#

2

civic finch
#

I see python is the best

orchid frigate
#

You didn't take my answer into consideration

civic finch
#

for road start in the PROGRAMMING

orchid frigate
#

2

#

It's like boot camp

#

Really tough but gets you well built

#

But for like 2 months

#

You will have no idea wtf you are doing

civic finch
orchid frigate
#

Yes

#

I prefer C tho c++ oop sucks ass

civic finch
orchid frigate
#

I don't know what that emoji means

civic finch
#

why are ask suck ass

orchid frigate
#

What

civic finch
#

sorry for bad english

orchid frigate
#

C++ sucks because it makes C into something it isn't

#

A modern object oriented language

#

C is simpler

#

Less basics so you can build the language on your own

civic finch
#

thanks for information

orchid frigate
#

The only thing c++ has over c is better support and structs that aren't annoying to declare

civic finch
#

I think c is not the best because he's old virseon

orchid frigate
#

If newest was best python wouldn't be popular

#

Trust me I have used them both alot

#

C is better

civic finch
#

yeah python is not popular but python is easy to learner

orchid frigate
#

You misunderstood

civic finch
#

what I can doing by c

orchid frigate
#

Not alot of modern stuff but

#

Basically anything if you are willing to write in a lower level

#

Graphics non os programs

#

Games if you are insane enough

civic finch
#

how many time take learner c language

orchid frigate
#

Do you wanna make games

civic finch
orchid frigate
#

Then learn c#

#

With unity

#

It will take you like 1-2 months to learn the basics if you do it every day

#

Or relatively every day

civic finch
#

I want make games

civic finch
#

I will learn the c language

hardy field
orchid frigate
#

With unity

#

More appropriate for games

orchid frigate
#

It's just more modern but in a bad way

hardy field
#

Most of what I've heard is that C++ is more likely to be used in professional environments

#

I should probably do some research on it on my own though

orchid frigate
#

It's because that's the trend

#

C is old so it must be bad

#

And c++ is oop so it must be good

#

But in reality nowadays if you need something that c++ can do companies choose it's successor rust

#

Rust is superior to both in pretty much every aspect

#

Even the Linux kernel is currently being rewritten in rust

#

But it will take a while because it's absolutely huge

knotty root
#

How to get better at learning OOP?

quartz pumice
#

most of windows is getting rewritten for rust too

#

all we need is now is ibm 1401 rust compiler

orchid frigate
#

Thats how you get better

orchid frigate
#

Damn this emoji looks goofy discord

knotty root
quartz pumice
#

with how much your glowing up rust I gotta try it again now

#

I dont have the space

#

for visual studio

#

I would delete more files but theres no more files to delete

#

installers installers installers installers

#

to build rust I need rust, to get rust I need to build rust

#

@orchid frigate helppp

#

I cant install rustup

#

and the "binarys" is a fucking installer

#

and its a shitty installer too

#

cant choose where to install

orchid frigate
#

Don't tell me you did like me and accidentally put a shit ton of memory to /home only to realize that that folder is fucking useless

orchid frigate
#

Are you downloading via a package manager or manually

quartz pumice
#

also why would you make a paritition specifically for home

quartz pumice
#

I installed rust in the end though

orchid frigate
#

Because I made the mistake to have someone install Linux for me back when I first started using it

orchid frigate
#

Dw I reinstalled Linux like 15 times since then I learned my lesson

quartz pumice
#

thank god

orchid frigate
#

The idiot at the computer shop though home was the important folder of linux💀

quartz pumice
#

lmao

#

its important but like its not static filesize either

orchid frigate
#

I just put everything in the user folder and hope for the best

quartz pumice
#

lmao

#

yeah I put everything in root

orchid frigate
#

What happened to rust

#

Btw rust and vscode suck

#

I mean they are a really good combo

#

But the dependencies are slow af

quartz pumice
#

vscode doesnt manage dependencies wdym

orchid frigate
#

It takes like 10 minutes for the rust dependcy to boot up

#

I mean for like autocorrect

quartz pumice
#

oh the plugin

#

intellisense

orchid frigate
#

It's awful

#

It's really helpful

#

But awful

quartz pumice
#

yeah it allways errored on me when some dumbass plugin installed it for me

#

it doesnt even check if rust is installed or not

orchid frigate
#

It checks if there is a rust project in the workspace

#

That alone takes it a full moon

#

And then it loads up each fucking crate on its own in the background

#

Which takes 10 minutes

quartz pumice
#

bruhh

orchid frigate
#

In the mean time you can't do shit cuz you don't have autocorrect or error correcction

#

Or

#

Nothing

#

Error highlight

#

I meant

quartz pumice
#

the entire thing is called intelisense I think

#

maybe theres some alternative?

orchid frigate
#

Nah for rust it's rust analyser and it's good when it works

#

Really fucking good

#

It's helpful as fuck

#

But not fun to boot

#

Especially if you are using a game engine crate or something of huge size

quartz pumice
#

oof

orchid frigate
#

Oh also in rust you can just have an entire game engine as a crate

quartz pumice
#

sounds fun

orchid frigate
#

Which is pretty cool I currently use one and it's not very fun to use but

quartz pumice
#

which one?

orchid frigate
#

Still cool it's only 4gb

#

Amethyst

quartz pumice
#

im in a server with a ton of rustaceans and they talked about that alot

orchid frigate
#

4gb per project

#

Amethyst?

#

Yea its super popular

quartz pumice
#

pales in comparison to java

#

but ew

orchid frigate
#

It's also kinda weird to write in

#

It has na ECS structure of coding or whatever

#

Which sucks ass

#

i fucking hate it

#

But I'm.forced to use it

quartz pumice
#

I hate when you haved to use something you dont like

#

fucking just never use a library ever again level

orchid frigate
#

Most normal looking ECS function

quartz pumice
#

AAAAAAAAAAAAAAA

orchid frigate
#

It's bad but it gets worse

#

Because if a system requires more components like ten

#

A single iteration would have to include every fucking one

#

So imagine the for function and if it used multiple stacked for functions

#

It's not a good time

#

That's why I hate it but I'm also weirdly addicted to it

quartz pumice
orchid frigate
#

I have said it before rust is an addiction or like a cult

#

Önce you join it

#

You give your life to it

quartz pumice
#

ok

orchid frigate
#

And it makes you write weird syntax all your life

quartz pumice
#

thats the worst

#

Ill just make my own game engine ™️

orchid frigate
#

I used to dream about that too

#

Until I saw how boring and complex graphics is

#

And how drawing a triangle with vulkan too like 600-1000 lines

quartz pumice
#

and thats a fucking static triangle

#

imagine implementing a function to make a triangle out of thin air from just a few coordinates

quartz pumice
#

I remember quitting Rust purely because of the error checking

quartz pumice
#

@orchid frigate rust is using my mingw ld instead of its own

#

so thats why rustup wanted me to install vs.. for gnu.. thats the most pointless shit ive ever seen in my life

#

oh wow and I need rustup to get this specific library

quartz pumice
harsh vine
#

Bhh

quartz pumice
#

am going to try zig now

#

annoying bloat

#

but why?

orchid frigate
#

What happened to rust

#

Go back to rust

#

Or else

quartz pumice
#

and I got mad at it a year ago because of error checking

#

it also allways took a ridiculous ammount of time for me to make simple things

#

and the optimizer would optimize out code randomly

#

like I would have 4 loops to iterate and do some math over a four dimensional array and it would optimize out the last loop and never do the math

#

and that was with the cargo run I cant imagine how much it would optimize out for release

#

zig's error thing is also fucked up but its actually tolerable

barren shale
#

function cannot return an error xzibit

quartz pumice
#

on error, trigger an error

#

stdo.write(bytes) catch unreachable;

#

unreachable creates error

#

no way

#

C ```c
#include <stdio.h>
#include <stdlib.h>

int main() {
char *b = malloc(12);

scanf("%s",b);
printf("%s",b);
}vs Zigconst std = @import("std");

pub fn main() !void {
const stdo = std.io.getStdOut();
const stdi = std.io.getStdIn();
var arena = std.heap.ArenaAllocator.init(std.heap.page_allocator);
defer arena.deinit();

const mem = arena.allocator();

var s:usize = 0;
var bytes:[]u8 = std.mem.Allocator.alloc(mem, u8, 12) catch unreachable;

s = stdi.read(bytes) catch unreachable;

s = stdo.write(bytes) catch unreachable;

return;
}```

#

why is it so overly complicated in zig

barren shale
#

maybe you are not doing it the right way

#

is this docs?

#

i dont see why you need the std input

#

oh you are reading yeah

#

maybe because C has written functions that do the same work xzibit

#

from what i've heard zig is very barebones but very enjoyable to program in

orchid frigate
#

Zig looks fun to make a kernel in

#

I may need to learn it

quartz pumice
#

just found that out

#

and theres no need to build cross compiler

quartz pumice
barren shale
quartz pumice
#

yes

quartz pumice
#

it has scheduling watchamacallit

orchid frigate
#

Scheduling what

#

İn the German language is that word

#

The os dev has a zig bare bones

#

Well now İ gotta learn this language asap

#

You can make a builder in it without using makefiles?!?!

#

İt may rival rust ngl

#

İt looks fucking awful to write in

#

Ngl

quartz pumice
#

It feels like C but has the complexity of C++ and performs like Rust

quartz pumice
quartz pumice
#

it also has pageframe allocation too but thats part of std so idk if it would work with legacy booting or even as a uefi app

wet girder
#

Buyind laptops is hard. I'd buy a framework for the customisibality but they don't ship to finland yet and probably wont shit here for some years

#

These specs for so only 1200€ is a fucking steal

#

no other company allows me to have a lower power cpu, 32gb of ram and 1tb of storage

#

and the best part would be that if I ever wanted more ram I can just buy a second stick and put it in

#

64gb so easily

wet girder
#

today I learned that this face |= is actually a single pipe equal in C# and has actual purpose

barren shale
#

bitwise operation can be used to optimize stuff to the limit

wet girder
#

Yeah learned that today

#

Never had to use it before

barren shale
#

never used it before

wet girder
#

My coworkers use it for bitmasks

#

I just copied how they use it lol

orchid frigate
#

Like it's good and there are some things that are nice

#

And I like the c feel but it feels empty like idk maybe I'm just not used to this style of coding

next lotus
#

man just use c# on everything

civic finch
barren shale
#

i wouldnt use blazor

#

not ready

#

nextjs is too hot too

#

with typescript ofc not javascript

next lotus
#

fuccc youre right

#

they need dom manipulation with blazor

barren shale
#

wasm is just not ready

orchid frigate
#

Funny thing is the os dev wiki actually has a bare bones on c#

#

Also I gave up on zig it's cool but

#

Noone uses it

#

So learning it is a nightmare

#

The docs arent all that helpful either

#

Kinda a shame tbh I was starting to like the language

barren shale
#

from what ive heard

#

zig's docs are one the of the best

#

maybe you just suck

quartz pumice
quartz pumice
#

Alot of the actually useful stuff is hidden in small text and a lot of it isn't even explained at all

#

It also encourages bad practices

barren shale
#

How would you know its a bad practice

#

If the makers of the language are telling you this is how to do things

quartz pumice
#

its also very new like Dakata said, so I dont think even the creators know what the best practices are

#

SHIT WRONG CHANNEL

#

lmao

orchid frigate
#

Everything is hidden in small text

#

And it's explained well but

#

It's a nightmare if you just want to quickly look at something

#

Also the std docs are like hidden or smt

#

I can't find rhem

#

And because noone uses it I can't use my approach of learning while coding because I have no fucking resources

#

The reddit is for some reason private

quartz pumice
quartz pumice
calm sluice
#

is there any way to change the zombie infection to not kill units like it used to in older versions?

next lotus
#

just make your own c# compiler

#

then it will work :)

wet girder
orchid frigate
#

But no low level Deb actually takes c# seriously

barren shale
#

you can only target so much

#

and C# is one of the most diverse languages

#

os development is just isnt popular at all for C# to even consider it

orchid frigate
#

Yes it's not made for it

#

It's not even a compiled language

#

And low level stuff is kinda difficult to do in it

#

I doubt it even has ffi

#

It wouldn't make sense to have it tbh considering it's not compiled

barren shale
#

its going to be compiled soon

#

they are moving from jit compilation to aot compilation

#

which means you dont need to install .net to run C# apps

#

you can already do aot compilation but file sizes are huge and its limited

#

having both jit and aot is a huge advantage though for optimizing your app

#

jit allows for way better profiling

#

also allows for better dx since you can do a lot of tricks that cant be done with aot

next lotus
#

linq

#

holy

#

reflection

#

imagine the capabilities

#

c# reflection is the best in the world

#

maybe even in the galaxy

#

c# reflection in aot?!?!?!?!??!?!?!?!??!??????

barren shale
#

reflection in aot is probably gonna be impossible

#

but they are making some new things that can be used instead of reflection and work with aot

#

i mean you can already avoid using reflection almost always but reflection can make your code look so yummy man 😔

wet girder
#

Guys I need your opinions. I'm deciding between 2 laptops rn both are exactly 2k€

#

It's a hard choice because the first one would look cool, have absolutely banger keyboard for sure and have nice monitor and speakers

#

but the second choice just has more performance for the same money

#

and not like a little bit more

#

the cpu is about 20% better, double the ram and double the ssd space

#

only problem with the ram is that it's slower but shouldn't matter for my purposes

#

the lenovo one also has way better battery life

scenic geyser
# wet girder the lenovo one also has way better battery life

I got a Acer Aspire 7 laptop with all the same specs except it has just 8gb rams
It has a very bad build quality and it's hinges are all loose and I feel really anxious moving it around as it wobbles
After 1.5 years of use, It's a bit choppy and I'm considering expanding the RAM
The battery is 💀, you always need it to be plugged on to the charger and it's won't run for more than 1 hour without the charger

wet girder
#

kinda what I expected lol

#

the price was too good

#

lol

#

thanks for the info

#

I think I am gonna get the lenovo for now and upgrade to a framework when those start shipping to Finland

quartz pumice
#

i5 and 16gb could also run VR and no problem with any games

#

512gb is tiny though I dont think it could fit anything on there

barren shale
#

that lenovo for only 999 sounds like a fucking deal man

wet girder
#

Yeah that's why I'm so tempted by it

wet girder
barren shale
#

could be a bigger battery but not better battery life because more pixels on the screen

#

but its i5 vs i7

#

do you think you need that much performance?

wet girder
#

Not really

barren shale
#

lenovo it is

#

so much better

wet girder
#

Yep

barren shale
#

if its just for work then yeah the lenovo

#

it has less ram and smaller ssd but you wont really have big files if you are just using github

#

you can just delete whatever projects you dont need

#

and more pixels will make it nicer on the eyes and less straining

wet girder
#

I wanna code, maybe have a kali vm to train cyber security because it's cool

barren shale
#

also probably has better brightness for outdoor use

wet girder
#

And then ofc I wanna watch Netflix and shit

#

So the Lenovo seems great for thay

barren shale
#

the acer probably has a matt screen

#

the lenovo one will have a glossy one

#

more clear but also reflective but i think its the cooler option

#

lenovo laptop monitors are god tier

sly schooner
#

Ello

#

Been a while since the last update

#

Early ver for reference:

barren shale
#

is that two sprites on top of each other

#

one for ground and one for grass

#

or is it one sprite that contains both the ground and the grass blade thingies

sly schooner
#

Two sprites

#

One for the ground, another for the slot

#

The slot could be a resource (Trees, flowers and etc) or some building

barren shale
#

you should consider merging

#

two sprites is a huge waste of performance

sly schooner
#

And how would I merge two sprites?

barren shale
#

just make them one sprite

sly schooner
#

That's a little difficult

barren shale
#

put the grass on top of the ground and make it a single sprite and start using that

barren shale
#

just keep the origin point where it should be in the middle of the ground in the sprite

#

and you need to change the logic of your code but that's about it

#

but that's like at least 70% less sprites

#

also please tell me you started using a sprite pool 💀

sly schooner
#

That would mean that I'll have to create every variation possible which is a tedious and time consuming process in addition to changing the flexible system

barren shale
#

are you using a sprite pool?

#

or are you instaniating and deleting

sly schooner
#

By sprite pool you mean the possible sprites for the randomisation or just hiding the sprites?

barren shale
#

i mean taking sprites that are out of the screen and reusing them

#

instead of making new ones

#

if you dont use a sprite pool you would need like an rtx 4090 to run your 2d game man 💀

#

or actually its not even about the gpu its just very cpu intensive

sly schooner
#

And yet it runs on my gtx 1060 i5 8400

barren shale
#

creating new objects is very very expensive in unity

barren shale
sly schooner
#

I know, which is why I'll start optimizing the system when I'll actually have something to optimize

#

Which was added with this update

barren shale
#

well you need to be careful with that

#

its good to write as you are learning

#

but sometimes you will need major rewrites because something is just not gonna work out on the long run

#

just something to keep an eye for