#⌨coders-cave

1 messages · Page 105 of 1

errant trail
#

and my code hates me

orchid frigate
#

ah yes my favourite status

#

200

errant trail
#

200

next lotus
#

is that js

#

and

#

replit

errant trail
#

yes

next lotus
#

sorry we cant help

errant trail
#

my fingers are not capable of typing npm -y

next lotus
#

this channels is only for compiled languages :)))

errant trail
#

no

next lotus
#

sir what you're doing is called

#

scripting sir

#

its uh

#

interpreted

orchid frigate
#

C# isnt compiled either tho

#

Its interpreted

errant trail
next lotus
#

its compiled

#

how dare u

#

its compiled to IL

#

so its compiled

orchid frigate
#

but

#

its compiled to a virtual machine language

#

and then its ran on the interpreter

#

=> its interpreted

#

while C

#

is compiled

#

to normal .o machine language

#

=> compiled

#

imo

#

also so funny story right

#

yesterday I was coding until 4 am

#

and today when I woke up I looked at my code

#

and realised

#

I designed my structures to... act like global const variables

#

so now guess who has to rewrite 100 lines of code treesmile

#

now that I think about it I designed every structure this way

#

well its time to restart

errant trail
#

ok

feral bison
#

I have an idea. So I’m sure we all know that when you get farther into a good game of Wold Box your people become more civilized and build better houses, boats, etc. and there is a limit on how far they can become civilized. So what if (this might be a lot of coding, sorry) y’all made it to where they can become modern day people and not just ancient people. That was probably confusing but I hope y’all understood and I will answer any questions y’all have about this idea.

hollow bronze
#

its the wrong chat, but there is no need to be rude about it

hollow bronze
#

this channel is for programming/coding topics (in general, only excludes worldbox discussion). Worldbox has its own dedicated channel for its programming/modding stuff (the modding-talk channel I just linked)

hollow bronze
#

there is a modern mod somewhere I think as well, but uh #🔧modding-talk should be open to anyone, #🔧mods are for modders to post

main brook
#

use ~vote

worthy smelt
#

A^2 + B^2 = C^2

errant trail
#

wow very smart

hollow bronze
#

suggestions has its own site

barren shale
zealous pivot
#

me, when u are starting to learn coding and being very basic= trying to understand the chat
me also= wait what

orchid frigate
#

This chat

#

Is complex because

#

Always half the people are arguing about languages

#

The other half are trying to fix a simple problem

#

For 5 fucking days

zealous pivot
#

oh lol

orchid frigate
#

Because a message is sent every 8 hours or so

zealous pivot
#

oh ok

#

my brain is smal

orchid frigate
#

What language are you learning

zealous pivot
orchid frigate
#

Whats that

zealous pivot
#

idk i think phyton?

hoary hound
#

#⌨coders-cave cave bingo:

  • Hamza and Panda arguing
  • People trying to convince you the language they know is the best one in the world and the rest is shit
  • People asking for worldbox mods
  • Actual coding discussion??? (impossible)
orchid frigate
#

By ThE WaY GuYs I OnLy KnoW ThIs LaNguAge sO itS EaSeLy ThE bEsT

#

God I fucking hate that

#

Anyway well as always if you have any questions ask them here and you might get an answer @zealous pivot

#

Or maybe not

#

Depends if anyone decides to look at this chat

orchid frigate
#

I might not be the best help for python stuff as I never learned it but I will still try

hoary hound
#

If you need a hand with python feel free to ask

#

Don't expect the best advice as I'm self taught but I'm always happy to help

orchid frigate
#

How could this chat be so welcoming yet so

#

Garbage

#

At the same time

#

That means that probably you are doing projects that either dont interest you as much or

#

Dont challange you

#

I suggest if you wanna work on a project for long

#

You start a project that challanges you

#

Alot

#

Like alot alot

#

Thats how I have been working on the same project for probably an year now

hoary hound
#

it's usually not recommended to start with ambitious projects, as you may never be able to finish them

#

you might be experiencing the "shiny object syndrome", defined as:
"Shiny object syndrome is the situation where people focus all attention on something that is new, current or trendy, yet drop this as soon as something new takes its place."

#

I had to deal with this problem a lot

#

tl;dr you hype yourself over a new project, do like 1/4 or half, get bored and start something new that looks more interesting

#

and the cycle repeats

next lotus
#

forget it, you'll code it for 30mins and leave it anyways

next lotus
#

he knows assembly

safe prawn
#

So I learn a language, well at least the basic stuff, what projects do you usually do with that? Do you just go on and make a website or something?

next lotus
#

either they wanna make a game, website etc.

#

you need a reason to start else youll end up wasting your time

safe prawn
#

makes sense

safe prawn
orchid frigate
#

Unlike you

#

Who cant figure out that each language was made with a certain purpose

next lotus
#

im working on anything

#

atm im playing with machine learning with stylegan2

orchid frigate
crimson geode
#

!level

#

-level

main brook
# crimson geode !level

Sorry! our system detected no sign of intelligence in this user, we thought it was a bot, maybe contact our customer service in #🤖bot-commands!

next lotus
#

i meant im working on anything

#

that means im working on nothing at the same time

orchid frigate
#

What

next lotus
#

understand it

#

:)

orchid frigate
#

Oh

pure void
#

I love coding though, I’ve been doing it for months now and have never gotten tired of it.

night vortex
#

~traitsditor

#

~traiteditor

main brook
# night vortex ~traiteditor

Sorry! our system detected no sign of intelligence in this user, we thought it was a bot, maybe contact our customer service in #🤖bot-commands!

#

reminds me

#

@orchid frigate

#

how hard is rust

night vortex
#

Im not a bot btw

#

Im just stupid

pure void
night vortex
#

Lol

next lotus
#

if not then you can pretty much make money anyways

pale geyser
#

Stop

barren shale
#

just annoying

#

it only allows you to do best practices

#

that's why its fast and secure

#

it doesnt compile if you fuck up

orchid frigate
#

Extremely difficult

#

More difficult than C

#

And any of the C languages

#

Everything is difficult from creating a customised building environment to making simple code

#

But atleast the crate system is good

#

And the language is pretty good in general

#

Its also so much different than any other language

#

Meaning any habits you have from previous languages like keeping global mutable variables are bad

#

You can keep global mutable variables tho its just not advised and really annoying

wet girder
#

Once again I was saved by an indian mans youtube channel

#

#ASP NET #MVC #CodeWithGopi
How to Display Bootstrap Alert Notification in ASP.NET MVC | Show Success Message after submit data

Step by step tutorial on Asp .net MVC to display bootstrap alert notification on data submission.

For better understanding Please watch the video till the end.

Please subscribe to my channel.

Previous Video link(CRU...

▶ Play video
mint magnet
#

Alright

#

I have this school assignment

#

Can someone PLEASE EXPLAIN HOW THIS CODE

#

i DONT HAVE IMAGE PERMS

#

Wait let me try something

#

ok I killed the terminal and it seemed to be fixed

hollow bronze
#

well you can put like a prefix variable on the weapon class itself

#

lots of different ways to set it up though

#

really just whichever system you want

hollow bronze
#

prefix in this context just means "demonic" or whatever that goes before the name of your weapon

#

"demonic" sword

#

if you store it somewhere like on the weapon, and its trying to calc damage you could read its prefix to calc what it needs to do

#

this is one way of doing it anyways

#

so if its a variable attached to the weapon

#

name = weapon.prefix + " " + weapon.type;

there is another probably preferred way to add a space between the two variables, but i cant remember the exact syntax while typing into discord

#

$("{weapon.prefix} {weapon.type}") or whatever i cant remember off the top of my head

#

again lots of different ways, so you can try to solve the problem with your own ways as well (even if they're not the most ideal its about the fun of problem solving)

#

being organized is useful

#

saves you time scrolling and trying to remember and understand what your code is doing

#

also if others try using your code like if you're in a team, its important so that the others can understand what your code is doing as well

#

I've done best by starting out organized and trying to stick to a format and system that way I dont have loads of messy code to shovel through and make look nice once its starts to become bad and haunting to look at

#

so for things like nested if stuff, you probably just want to do what is the least messy for organization sake

#

without spending 18 forevers on it unless you need to, just time management there

main brook
#

i think its better to have like

#

weapon.enchantment

#

and the enchantment itself is a class that doesn't actually override the data of the sword

#

but adds them

#

and to calculate damage they can

#

weapon.damage + weapon.enchantment.damage if weapon.enchantment

#

basically just add the enchantment damage to the weapon

#

this way you can have more enchantments

#

and not lose your original weapon stats

#

unless you wanna make it irreversible

hollow bronze
#

Same principal different words I believe

tidal elbow
#

hate that we have to patch packages cuz of this stupid ecosystem

main brook
#

instead of just checking a string if it has a prefix and parse it

barren shale
#

javacringe

hollow bronze
#

just need it accessible and then add it in

#

all of that comes down to a user's preference in organization and workflow I think

#

the ways I think for myself would be similar to worldbox in a library

#

and info associated with a particular item as a class

#

(this is what worldbox does for its weapons)

#

but something as simple as a string thats set directly on it would work

next lotus
#

java more like handicapped c#

orchid frigate
#

but noone says that

barren shale
#

has way more features than c++ but okay

cloud solar
#

only c#

#

deal with it

#

how to change color of the letters in cmd?

#

nvm it was COLOR 2

orchid frigate
orchid frigate
#

At fucking what

#

Maybe at two things but is it good for graphics APIs? No it's shit and I know because I have tried it

#

Kernels? NO

#

Its interpreted

#

Meaning its hell to set up

#

And it's shit

#

Its like forcing a language to be something it isnt

#

The closest thing we have to a multi purpose language is rust

#

You deal with it

orchid frigate
cloud solar
orchid frigate
#

I don't care a game developer or whatever you made a statement a language is universally the best

#

I break down why you are wrong

#

You know what y'all wont stop until I show you just how fucking annoying it is to be reminded which language is the best

#

So fuck it

#

Rust is the best language

#

Deal with it

uneven jacinth
#

Calling a single language the best is kind of ridiculous…

cloud solar
#

someone wanna stream?

orchid frigate
#

I can do it if you want

#

Im doing some boring stuff rn so

cloud solar
#

here is what i did

#

new robot for the game i am working on

hasty bane
#

i have embraced the f# meme

#

literally c#

#

but has functions

#

its great

#

i love it

uneven jacinth
#

Honestly I love just about any language that supports both functional and OOP

next lotus
orchid frigate
#

I don't even know what that is

main brook
#

a class or an enum

#

if enchantments can have like

#

different stats

#

randomly

#

then go for class

#

if its static just use enums

#

i would subclass a mixin

#

so i can just change their values

#

like the enchantment name

#

or blah blah

main brook
#

i said static

#

are those static

#

and not generated?

#

....

next lotus
#

suppose you a lot of classes that inherits an interface, now on your project's lifetime you create more and more classes that inherits that interface

#

and on the same time you need to initialize all of them, in C# we can create instances of those classes without having to explicitly put them in an collection, so you wont have to update your collection whenever you create a new class that inherits the interface all you have to do is get those via reflection and initialize them on the go

#

not only that we can do a lot of other things as well like getting all functions of a class, put them in a collection, run all of them at the same time, or lets say get all functions whos function name starts contains 'a' idk man its just useful af

knotty root
#

where i am

orchid frigate
#

Whats an interface in c#

next lotus
#

its like abstract, basically a blueprint of a class

#

but

#

WHY TF DOES JAVA string.split() REQUIRE REGEX???????????????????

sudden pawn
#

Does world box copyright their sprites

#

I was gonna develop a kind of fan game based on woorld war 1

#

Also what engine is WorldBox made on

distant wraith
orchid frigate
#

I loved them

hoary hound
uneven jacinth
#

Man I gotta start using c# and cpp

cloud solar
#

c# is cool

#

like really cool

uneven jacinth
#

I just haven’t had an opportunity to use it yet because my coursework is so focused on Java and C

#

And C’s just a bitch to learn so I’m constantly having to use it on the side to make sure I know enough to focus more on class concepts with my assignments as opposed to stopping the seg faults

main brook
#

that's basically

#

just a class

#

empty one

#

actually for abstract you may or may not require to override

#

and throw an exception

#

when trying to call the method

uneven jacinth
#

Assuming they’re essentially the same as Java interfaces, they’re like C header files, but for classes that implement it

orchid frigate
#

Compared to something like c# which has every fucking feature in existence C seems quite simple

uneven jacinth
#

I was started on Java so it was just a bit of an adjustment

cloud solar
#

Unity better than unreal engine

#

For indie game dev

#

Deal with it

barren shale
#

Abstract class is a class that can only be used as a base for another class

next lotus
#

its basically deriving classes

hearty sandal
#

hi

next lotus
#

ngl that question is not smart

#

you can do everything with any language

hollow bronze
next lotus
#

any language can do anything

#

but C# does it the best :)))

hollow bronze
#

I like the neat things people post here, but im gonna have to like block like most of the people here to see those

lapis flint
hoary hound
twilit cliff
#

Кто руский

crimson pelican
#

The language war can end now

next lotus
#

my doing object something = "a string"; object anInt = 45; xDDD

#

fighting over programming languages are what coding channels are for lol

#

i mean, what the hell are we supposed to talk about

#

we all do

#

every next month that abysmal crap of a language will get a new framework

lapis flint
#

Same string and int, just casted to object

next lotus
#

oh..yeah :(

#

but strict is still better than weak

#

yes

#

why just

#

replit can compile like every language know to man

orchid frigate
#

So its main intention was probably kernel development

#

And its kinda build for that too

#

Like its so much better for kernels than anything I have tried because of how simple it is without its std

#

But other than that most really low level libraries and stuff are in C

#

For instance most graphics APIs are in C

#

Like vulkan and opengl

#

And also dynamic memory management is in C and pretty much anything low level you could want

#

Other than the assembly stuff like registers and instructions

#

For those just write assembly and link it to the C file its easier

cloud solar
wet girder
#

:)

next lotus
#

everyone:

#

hail C#

wet girder
#

But to me it seems dumb to call some language better than others. I chance languages to whatever suits my needs at the time most

#

Atm I'm using, JS with jQuery and bootstrap and just pure js, html, asp.net, discord.js, tSQL and probably more that I can't name off the top of my head

cloud solar
#

Deal with it

#

If u agree with me on that one thing, all other things doesnt matter

lapis flint
hasty bane
cloud solar
#

anyone wanna stream?

errant trail
#

i am very early to respond that

#

no need to thank me

zealous pivot
#

sus

uneven jacinth
#

Man stop the JS hate :(

#

For its uses it is a perfectly respectable language

#

Even if you have to go through extra steps to have any sort of semblance of typing

next lotus
hasty bane
#

js bad
kring

#

'1' == 1

uneven jacinth
#

Then just add another = silly goose

next lotus
#

fuc java

#

BOTH NEEDS TO BE CALLED FIRST

#

wtf am i supposed to do now

#

why am i forced to use this crap of a language aaaaaaaaaaaaaaaaaaa

hasty bane
#

you're not supposed to do these things in the first place

#

every normal language has == work properly

#

meanwhile the people who made js were definitely high on something

uneven jacinth
# next lotus fuc java

You only need to call super(); and then you can proceed writing that class’s constructor however you want

orchid frigate
#

Mfs hating on languages because they dont understand em

#

Too used to their cake walk English essay of a language

#

Yes I said that fight me

wet girder
barren shale
#

you dont need both

#

lmao

next lotus
#

basically i have a class that extends another class looks like this

public class1 {
  int[] arr;
  public class1(int[] abc) {
    arr = abc;
  }
  public class1() {
    arr = null;
  }
}

and class 2 looks like this

public class2 extends class1 {
  static int classCount = 0;
  public class2(int[] array)
  {
    super(array); // this calls public class1(int[] abc)
    classCount++;
  }
  public class2()
  {
    // I WANT TO CALL class2(int[] array) CONSTRUCTOR BUT I cant
    super(); // this is calling public class1() 
    this(null); // this is calling class2(int[] array)
  }
}```
#

i cant call super() and this() at the same time because of shitty java design

barren shale
#

you cant call two constructors at the same time

#

doesnt make sense

#

even in C#

next lotus
#

but it kinda should

#

id have no choice but call classCount++; every constructor on class 2

#

if thats the case

barren shale
#

that doesnt make sense

#

construct an object twice

#

wtf

next lotus
#

wtf do you mean twice its just constructing one object once

#

its calling another constructor but the arguments are different

barren shale
#

you're calling a constructor inside a constructor

#

you're only allowed to call a constructor inside a constructor once

#

for a reason

#

i dont know how to explain it

#

but it would be very confusing to call 2 constructors

#

and has 0 usage

next lotus
tidal elbow
#

interfaces

#

etc

#

very useful for work

#

including this horror

#
// Helper to define structure
type IsDate<True, False> = True extends Date ? True : False
type AttributeExpanded<Original extends any, Key extends string> = {
    [k in Key]: AttributeExpandedRoot<Original, Key>;
};

type AttributeExpandedRoot<Original extends any, Key extends string> = {
    // Do an extra IsDate check as Dates are technically objects so must be exceptionally verified
    [k in keyof Original]: Original[k] extends object ? IsDate<Original[k], AttributeExpanded<Original[k], Key>> : Original[k];
};
#

just for this

#
export function expandWithKey<T extends string, F extends Object>(key: T, values: F): AttributeExpandedRoot<F, T> {
    const expanded = {} as AttributeExpandedRoot<F, T>;

    Object.keys(values).map(valueKey => {
        // Thanks typescript
        const checkedKey = valueKey as keyof F; // keyof typeof values;

        // @ts-ignore
        expanded[valueKey] =
            (values[checkedKey] as any).constructor.name === 'Object' ? { [key]: expandWithKey(key, values[checkedKey]) } : values[checkedKey];
    });

    return expanded;
}
#

use it for prisma

#
export interface IArgument {
    type: keyof IArgumentTypes;
    description: string;
    optional?: boolean;
    choices?: {label?: string, value: string}[]
}

export interface IArgumentData {
    [name: string]: IArgument
}

export type IArgumentTypes = {
    BOOLEAN: boolean,
    CHANNEL: GuildChannel,
    NUMBER: number,
    ROLE: Role,
    STRING: string,
    USER: User
}
type GetterType<K extends keyof IArgumentTypes> = (name: string, required?: boolean) => IArgumentTypes[K]
export type IArguments<T extends IArgumentData> = {
    [K in keyof T]?: IArgumentTypes[T[K]["type"]];
};

//....
type CommandCallable<T extends IArgumentData> = (client: CustomClient, interaction: InteractionLike, args: IArguments<T>) => any;
export class Command<T extends IArgumentData> {
    raw: CommandCallable<T>;
// ....

for discord

#

typed slash command args

#

ts is very powerful lol

#

same, and i use it almost always at work

#

i push for python tho

fluid nacelle
#

hello, im very new to c# and i wanted to know in general: what is a null object and what makes an object "not null"? would be very nice if someone could explain

cloud solar
#

anyooooone wanna stream

cloud solar
naive owl
#

but i might be wrong

fluid nacelle
#

ah thank you

next lotus
#

how are you alive

tidal elbow
#

i do python, js, rust and a smol bit of kotlin lmao

#

rust is my new favourite

next lotus
#

js "desktop apps" be like: imagine packaging an entire webbrowser to run "desktop app"

tidal elbow
#

hah, we do that for advertisers running kiosk machines

next lotus
#

havent tried rust, maybe when its more mature

tidal elbow
#

our platform runs on electron

next lotus
#

electron be like

#

XDDDD

tidal elbow
#

it's pretty established

next lotus
#

what like rn?

tidal elbow
#

yes

#

rust is in a very good state

#

ive only done physics simulations on it personally

#

and adapters for rust packages for use in python

next lotus
#

you got sources for that no fukin way rust is in linux kernel

#

alr after some googling i cant find any sources like theres no way

tidal elbow
#

actually maybe not atm, but it is going to happen 100%

tidal elbow
orchid frigate
#

Idk if its the same as in the other languages

#

I mean high level

#

Languages

cloud solar
#

anyonne wanna streaaaaaam

#

@orchid frigate

#

you are legally obligated to watch my stream

hasty bane
#

@next lotus rust is kino
its super weird to write
but as someone said (dont remember who, was it hamza?) it basically forces you to write good code with near c++ levels of performance

#

its nowhere near c++ or c# levels of Having A Lot of Libraries (or crates in rusts case) though

knotty root
#

Coders...

#

I nead hellp!

#

Rn

orchid frigate
#

It has a crate for anything!

#

Literally

#

There are so many crates for os development alone

#

Then we have graphics APIs

#

There are like so many wrappers

knotty root
#

I nead hellp to.

hasty bane
#

one example is:
you'll have a much easier time making a game in cpp / cs compared to Rust

knotty root
#

...

orchid frigate
#

@knotty root we need you to tell us what you need help with to help you :)

knotty root
#

Make that u can get customised flingsalt in the game like on the computer

hasty bane
orchid frigate
#

Other than ue there isn't much that isnt just graphics APIs

hasty bane
#

source engine if you're into that

knotty root
#

Oo im makin a roblox game..

#

..

orchid frigate
hasty bane
#

godot too

hasty bane
#

i tried bevy

#

it wasnt fun

orchid frigate
hasty bane
knotty root
#

🇸🇪

#

🇸🇪 🇸🇪 🇸🇪 🇸🇪 🇸🇪 🇸🇪

#

Nah jk

hasty bane
knotty root
#

I aint a spamer

hasty bane
#

good

orchid frigate
#

Wait

#

Cant you use rust with unity

knotty root
#

...

#

...

orchid frigate
#

Somehow

knotty root
#

Hay

#

Guys

hasty bane
#

No idea

#

lmao

#

Maybe?? ?

orchid frigate
#

I remember unity being compatible with a alot of languages

hasty bane
#

A game written in pure rust on Unity would be the most cursed thing to ever exist

compact vessel
#

Xd

granite canyon
#

Hi

barren shale
#

unity was compatible with js but they removed it

#

cuz js sux

#

rust is not that hard once you get the hang of it

#

it has garbage collection so no need to manage memory

#

it just very strict so you need to get used to what works and what doesnt

lofty pewter
#

Rust Garbage Collection ????????

mossy cedar
#

billgates room

normal roost
#

Yee

coral sparrow
#

Hello

silent mesa
#

where is the executable for for worldbox

orchid frigate
#

In the directory for worldbox

#

Seriously like be more specific why do you want it on what os are you platform

#

How did you get it

winter olive
#

guys

#

please i need a new email

#

cuz i changed my steam account or it got hacked

#

but my new acc have the same emai;

#

but i need a new email to i can get the game again

#

cuz i own it already

orchid frigate
#

Just

#

Make a new email

#

Why do we have to make it

main brook
#

yeah why

#

like

#

we aren't customer service for steam

#

why does majority of people assume coding is literally every technical help

#

like okay bro we'll fix it with a binary search tree

orchid frigate
#

"oh you a coder? That must mean you are able to do anything I tell you to even if you have 0 experience in it what so ever but I don't know that because im too ignorant to realise that coders are only good at typing colorful words on a black screen and dont know how every single piece of technology works"

tidal elbow
#

nah we good at copy paste

#

tbf a surprsiingly little amount of my work is copy paste

#

a large part is from uh

#

tabnine ai autocomplete

tidal elbow
orchid frigate
tidal elbow
#

true

#

safer than pointers tho

orchid frigate
#

Pointers

#

My favourite

#

Man's best friend if you will

knotty root
#

traiteditor

#

:traiteditor

orchid frigate
#

Trait editor doesn't work for people that dont read the fucking channel description

knotty root
#

Dang

knotty root
orchid frigate
#

Just go to #🤖bot-commands

#

The admins

#

Need to bring

#

The bot commands channel up

#

Thats how we will stop rebrs from coming here

knotty root
#

How do I use the commands

orchid frigate
#

Idk I have never used em

#

@wet girder would it be possible to bring the bot commands channel above the coders cave

hoary hound
orchid frigate
#

Then

#

New people wouldn't be able to join

#

Without applying

#

Which as pleasurable as it sounds

#

Wouldnt be good

safe prawn
#

you must answer these code questions to access this channeltroll

barren shale
orchid frigate
#

#1: x16 NASM assembly

next lotus
#

give them a base64 string to decode lmao

hasty bane
#

i do think there should be some way to make people aware of the fact that this is for programming and not worldbox stuff
i just have no idea how to do it

cloud solar
#

Hi

#

Daily reminder that lua is bad

#

Bye

cloud solar
#

@hoary hound my opinion lol

hoary hound
#

it's really just a scripting langauge

cloud solar
#

And c# too

orchid frigate
#

atleast in this chat

#

any opinion is dangerous

#

af

#

can cause world war 3

cloud solar
knotty root
#

hi

next lotus
#

hail C#

cloud solar
#

hail C#

raw heron
fierce perch
#

How do I get ncms on mobile Android no premium

hasty bane
#

if ncms is something about mods - you cant get mods for the android version

#

at all

fierce perch
#

Oh

#

Ok

orchid frigate
#

Hail rust

next lotus
orchid frigate
#

Rust is so cool

#

It takes everything good from low and high level into one language

next lotus
#

havent tried it yet

#

so i dont like it :)

#

i might like it if i try it

rigid beacon
#

This sucks

cloud solar
distant wraith
#

I hate it when I need to do math to make my code work. I spent 2 hours making this using Pillow.

hasty bane
distant wraith
hasty bane
#

that's how it works sometimes

uneven jacinth
#

Fr fr

#

That was basically my experience implementing new system calls in xv6

orchid frigate
#

2 months

#

100 lines of code

#

and now im working on about 200 lines of code

#

for 6 months

#

because

#

documentation on paging is about as good as reading the entire x86-64 processors documentation

cloud solar
#

hi

#

whats the shortcut to disable the monitor?

#

if there is any

#

like so pc could work

#

but monitor wont

naive bridge
#

send reaction to be my worldbox battle royale

half warrenBOT
#

👢 Kicked 🎈Olivia🎈#2512

#

⚠ Warned 810826825261121607

distant wraith
#

A dumb design.

#

I love Pillow.

hasty bane
#

its

#

painful

tidal elbow
#

could be better

#

altho i do like it

#

not as painful as its equivalent in js (JIMP)

hasty bane
#

i remember trying to make a progress bar thingy

#

and it just wouldnt work

distant wraith
hasty bane
#

Aliens eventually i came to something like this but first i tried to paste bits of a progress bar into a picture and it was hell

hasty bane
#

dont ask why i did it that way

distant wraith
#

Also, I've tried to center the text but failed, so I've made the text very smol to avoid it getting out of the image. It turns out to look even worse.

hasty bane
#

kek

#

Doing UI memes in Pillow is kinda masochism

#

But its also pretty much the only way you'd get anything like a ui with python bots

orchid frigate
#

Ok so @hoary hound requested to make a joke about c# here

#

So here it goes

#

C# is the best language because it can do low level stuff

#

LMAOOOOO

orchid frigate
#

Its funny because its not true and if you think its true you have probably been coding for a month or code for money

barren shale
#

you can do low level with python if you want

orchid frigate
#

Yes

#

But who tf would choose

#

Python

#

Over C

barren shale
#

doesnt mean you cant

orchid frigate
#

For making a fucking kernel

#

Also im pretty sure python dont have pointers

barren shale
#

you can have pointers in python with some libraries

orchid frigate
#

How do you compile it

barren shale
#

you dont compile python

orchid frigate
#

To a cross-compiled x86-64 ELF executable

barren shale
#

you said low level

orchid frigate
barren shale
#

you never said cross-compiled x86-64 executable

orchid frigate
#

Pretty important

#

For linking

#

And stuff

barren shale
#

nobody cares

orchid frigate
#

Im just mentioning

#

You need to be more specific

barren shale
#

i need to be more specific xzibit

#

okay

orchid frigate
#

Because you could get a non elf

#

And it wont work

barren shale
#

mhm

orchid frigate
#

Yea

#

I have done that

#

It sucks

#

Took me 1day to figure out

barren shale
#

mhm

#

ofc

#

it did

orchid frigate
#

Tea

#

Yea*

#

It was kinda sad

#

But it worked in the end

#

Which is what matters

barren shale
#

ofc it did

orchid frigate
#

Yea

#

This is the most civil discussion we have had

#

In 6 months

#

Ok well like

#

Now that we arent fighting

#

This has gotten kinda awkward

#

Uhhh

#

@barren shale so any projects you have been working on

barren shale
#

other than your mother there's nothing currently as my laptop isnt functional

orchid frigate
#

Oh well thats sad

#

Hmmm

#

Oh come the fuck on do something

#

Protect c#

barren shale
#

good news is my new laptop is coming soon

orchid frigate
#

Insult me about my low level doing

#

This is awful

barren shale
#

awfully good

orchid frigate
#

No

#

I havent been this bored since that time I had coffee with someone I have nothing in common with

barren shale
#

i dont like coffee

orchid frigate
#

Coffee dont like you either

barren shale
#

good

#

I like water

orchid frigate
#

Hamza what happened to you

#

Insult me

#

Come on

#

Pls

barren shale
#

you are mother

orchid frigate
#

@hoary hound i cannot start an argument

#

I feel ashamed

barren shale
#

yes you can

#

i believe in you

orchid frigate
#

Uhmmmm

barren shale
orchid frigate
#

Ok so I think that rust is better than c#

#

No I believe

barren shale
#

I respect your opinion but i do not agree with it

orchid frigate
#

Am I doing good

orchid frigate
barren shale
#

why do you think rust is better than C#?

orchid frigate
#

Many reasons

#

Its compiled

#

It has a wide range of options for building

#

Meaning its good for when you want to get a certain executable

#

Its both a low level (kernels in it are good I have tried 10/10(good core library)) language and a good high level language

#

Its able to do anything

#

Yea

#

That's it

#

Also

#

It has libraries or crates for kernels

#

Which is insanely good

barren shale
#

good points

orchid frigate
#

Let me hear your point of view

barren shale
#

but C# is compiled too (Just-in-Time compiled) and it has a lot of features that i think makes it better than rust like ASP.Net, A lot of libraries for everything (Huge community), I think it's easier to structure and easier to make your code expandable in C# and most importantly it doesn't has the strictness of rust which could lead to bad code but sometimes it doesnt matter you just want your code to run (quick and dirty), but when you want your code to run fast you can use best practices to make it very fast and memory efficient

orchid frigate
#

Good points

#

However I have to say

#

These civil discussions

#

Are so boring its insane

#

Im now realising why coders fight

#

We need to fight more often

#

@barren shale do you agree

barren shale
#

what is "fight" and why is it necessary?

orchid frigate
#

Who is talking to me

#

This isnt the hamza I know

barren shale
#

this is your mother

orchid frigate
#

Ok this is a part of the hamza I remember

#

but not the full Hamza

hasty bane
#

wtf hamza and haydot actually having a discussion?

orchid frigate
#

IKR!

#

this feels weird

hasty bane
#

based!!

orchid frigate
#

and wrong

#

we need to get old hamza back

#

he is missing his aggression

hoary hound
orchid frigate
#

its not an argument

#

its a civil discussion

#

those are boring

#

we need more passion

#

more warshipping

barren shale
orchid frigate
#

yea yea whatever

#

go get angry

#

somehow

hasty bane
#

warshipping is when you worship and start a war because of it

barren shale
#

shipping is when you ship something (laptop for example) to someone

orchid frigate
#

waring is when you

#

war

hoary hound
#

shipping hamza and panda maximlaugh

tidal elbow
#

and rust is without a doubt quicker and more memory efficient than c#

barren shale
#

much harder too though

tidal elbow
tidal elbow
barren shale
#

C# can be very difficult too

#

as i said C# can give you the option

tidal elbow
#

i will credit c# for its unity compatibility, but nonetheless

#

if i want efficiency, ill pick rust
if i want big data or neural nets, ill pick python (which is mainly just botched c libraries linked into python)
if i want games, ill pick c#
if i want web, ill pick ts

#

each has its benefits

barren shale
#

too much efficiency most of the time is not needed

tidal elbow
#

rust is modern but low level, that's why it's attractive

barren shale
#

or else every production API would be in C

tidal elbow
#

when writing a bit of server software handling over 100 000 messages a day, i picked rust

#

python would be horribly too slow

#

nodejs too

barren shale
#

100000 messages a day

#

python can handle that easily

tidal elbow
#

sorry, ill explain better

#

100 000 messages aday that need to be redistrubted more than 120 times each

#

then the result stored to a database

barren shale
#

depending on how you do it

tidal elbow
#

rust was by far quicker

barren shale
#

nodejs might be able to handle that

tidal elbow
#

python was on one end handling the reception

#

rust was receiving from rabbitmq (queuing software) and redistributing

barren shale
#

nodejs should be able to handle 1000 requests per second

tidal elbow
#

aye but it doesnt mean its good at it

#

it's also memory heavy

#

rust can do the job with minimal memory

#

node's memory just idle is high compared to rust

#

rust is also very good for stuff like k-trees

barren shale
#

well asp.net is pretty good for the memory and someone managed to get 1 million requests per second on that

#

but that's unrealistic because not everyone has a 10000$ cpu

tidal elbow
#

yeah, but you can also get 1 million request per second using python with async, however it's not a good choice tho

barren shale
#

i dont think you can get 1 million requests with python

#

like full requests

#

with responses

#

most used languages for apis are php, js, python, C#, java

tidal elbow
#

ik, i work in the industry

#

php rarely nowawadays. not for building new stuff, only for maintaining old stuff

#

java is becoming a bit rarer too but still ever present

barren shale
#

still used in east asia a lot

#

i only see rust in places that are super huge scale

tidal elbow
#

i mean yeah, cuz rust isnt meant for apis really

orchid frigate
#

As someone that has pretty much only done

#

os stuff

#

rust is good

#

its like im writing high level

#

when in reality im writing literally almost as low level as it goes

#

not including legacy BIOS bootloaders

#

its also got a crate for literally anything

#

including os stuff

#

which is super rare

#

even C doesnt have any popular os libraries

#

only thing is

#

its inline assembly syntax

#

is literally worse than C's inline assembly

#

and thats already way too complicated for what it does

next lotus
#

id rather pick a compiled, type-safe, use less ram, better on performance and doesnt change too fast

#

thats C# :)

next lotus
#

python still has its half assed implementation of async like c'mon you have it on requests why dont you have async on file operations too lmao

#

coming soon on python (java too): an actual working built in reflection library :))))

#

also rust take notes too :)))))

cloud solar
#

Hi, whats inside System folder?

#

Like no System32 but System

barren shale
cloud solar
#

Jerry Jerry Jerry 👍 👍

barren shale
#

you can try

#

i would not recommend deleting anything in a folder named after the os

cloud solar
#

It gives me error message

barren shale
#

use the cmd

#

run it as administrator

cloud solar
#

Nah... to much work

orchid frigate
#

C# is the furthest from compiled

#

I feel like there is a joke im not getting because all of those things are not c#

orchid frigate
#

More random dll files maybe some objects

#

And more resources for the kernel

cloud solar
#

Ik

orchid frigate
#

The actual kernel isnt a file tho

cloud solar
#

Ik

orchid frigate
#

The bootloader is

cloud solar
#

Too hard tho

cloud solar
orchid frigate
#

You can actually see where the bootloader is

#

I'm pretty sure

#

But it may only be possible from linux

#

Its a file that should be named BOOTX64.EFI

#

or something similar

tidal elbow
tidal elbow
tidal elbow
orchid frigate
#

Actually now that J think about it the kernel should be visible too

#

But its definitely pretty hidden

next lotus
#

it gets compiled to IL

#

theres the word compiled

#

so its compiled :)

next lotus
orchid frigate
#

Did it for an year

#

Half a year with unity

#

Half with libraries

#

I tried to make a kernel out of it

#

I have tried it alot

orchid frigate
#

I count compiled for being made into an object file and ran directly on the machines

tidal elbow
tidal elbow
#

And in my industry of work, we use typescript and python heavily

distant wraith
#

Flask.

next lotus
#

python

#

is never good for web development

worn jacinth
#

What app you use to code in mobile?

next lotus
orchid frigate
distant wraith
main brook
#

compiled to interpreter code

#

so

#

technically yes

#

they do need to be easy execution

#

so

#

instead of parsing each line

#

everytime

#

BULK THAT SHIT

#

and done

next lotus
#

but still better than interpreted

#

all the errors are catched before runtime

barren shale
#

dont code on mobile

#

there are laptops that are cheaper than phones

#

if you wanna take programming seriously just buy a cheap laptop/used desktop

#

my university has computers from 2013 they probably cost around 100-150$ and they are doing more than good enough

#

if you must code on mobile get a bluetooth keyboard

#

helps a lot

tidal elbow
#

We use nodejs express backend and react front ed

#

Altho we're moving to remix.run

#

For heavy data manipulation we use python

barren shale
#

enterprise would use a popular and reliable option

#

enterprise: game dev would use C++, frontend is mostly react and angular and flutter, backend: nodejs, asp.net, spring, django (sometimes)

#

they mostly choose based on popularity sometimes speed if needed

#

maybe vuejs too for frontend

#

tbh there's too many frontend frameworks that are good

#

all of them are javascript for now until WASM takes off

hasty bane
barren shale
#

its not too bad

hasty bane
#

yeah im just surprised that its as popular as it is

barren shale
#

because people like to do everything in python

hasty bane
#

kek yeah

#

hamza what do you think about blazor

barren shale
#

not good enough

#

tried to use it

#

a bit buggy

hasty bane
#

hmm

#

alright

barren shale
#

even visual studio has problems with it

#

still new

hasty bane
#

ive got a pdf on web dev with c# but it seems that i will never escape the {thing}script trap

barren shale
#

id give it a couple of years

#

same with any other WASM

#

still too new

orchid frigate
#

Ok ok I know this is off topic but I need some quick answers

#

Which monster do you like best

barren shale
#

Your mother

orchid frigate
#

Fair enough

#

Anyway is wasm literally like assembly like syntax

barren shale
#

maybe

#

i dont know

orchid frigate
#

Because if it is

#

I might consider web development

barren shale
#

wasm is used to compile languages like C# into web apps

orchid frigate
#

Oh

#

So you dont write assembly

#

Damn everything web is so boring not even assembly smh

#

Anyways im going to go read the exact same documentation for the 20th time to try to translate it to rust

#

Cya later detonator

barren shale
#

you can use rust to make a web app though

orchid frigate
#

Not even assembly

#

Also

#

Im not sure what an web app is

barren shale
#

application

#

on web

orchid frigate
#

Yes

#

But

#

What does it mean

#

Why is it different

barren shale
#

its different because its on a website

orchid frigate
#

Im stuck in the 1950s I don't understand the web

barren shale
#

a blog is a website

#

a blog is not a web app

#

and a web app

#

it is interactive

#

it has code that runs after you go in the website

#

a blog just loads

orchid frigate
#

Web is too complicated

#

All those servers and like words

#

I don't speak English

#

I like to talk in hexadecimal values

#

Or even binary

barren shale
#

no

#

you just stooopid